/* ==========================================================================
   About Page Styles - 会社概要ページスタイル
   ========================================================================== */

/* Page Hero Section */
.page-hero {
    padding: 20px 0 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.85) 0%, rgba(255, 255, 255, 0.85) 100%);
    z-index: 1;
}

.page-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.page-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #CC211B;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.page-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: #351e15;
    margin: 0;
    line-height: 1.2;
}

/* Company Introduction Section */
.company-intro {
    padding: 100px 0;
    background: #ffffff;
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.intro-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 38px;
    font-weight: 700;
    color: #351e15;
    margin-bottom: 20px;
    line-height: 1.4;
}

.intro-subtitle {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 40px;
}

/* Typewriter Animation and Blue Gradient */
.typewriter-text {
    background: linear-gradient(135deg, #667EEA 0%, #764BA2 50%, #4ECDC4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    border-right: 3px solid #667EEA;
    animation: typing 4s steps(20, end), blink-caret 1s step-end infinite;
    max-width: fit-content;
    margin: 0 auto 40px auto;
}

/* Typing Animation */
@keyframes typing {
    from { 
        width: 0; 
        max-width: 0;
    }
    to { 
        width: 100%; 
        max-width: 100%;
    }
}

/* Blinking Cursor */
@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: #667EEA; }
}

/* Remove cursor after animation completes */
.typewriter-text.animation-complete {
    border-right: none;
}

/* Responsive adjustments for typewriter */
@media (max-width: 768px) {
    .typewriter-text {
        font-size: 20px;
        animation: typing 3s steps(15, end), blink-caret 1s step-end infinite;
    }
}

@media (max-width: 480px) {
    .typewriter-text {
        font-size: 18px;
        white-space: normal;
        animation: none;
        border-right: none;
        width: 100%;
        max-width: 100%;
    }
}

.intro-text {
    font-size: 17px;
    line-height: 2;
    color: #5e443a;
    font-weight: 500;
    margin-bottom: 50px;
}

.intro-content::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #CC211B 0%, #ffbf52 100%);
    margin: 50px auto 0;
}

/* Representative Greeting Section */
.representative-greeting {
    padding: 100px 0;
    background: #faf4f1;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #CC211B;
    margin-bottom: 15px;
}

.section-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 38px;
    font-weight: 700;
    color: #351e15;
    margin: 0;
}

.greeting-content {
    max-width: 900px;
    margin: 0 auto;
}

.greeting-quote {
    background: #ffffff;
    padding: 40px;
    border-left: 4px solid #CC211B;
    margin-bottom: 40px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border-radius: 4px;
}

.greeting-quote p {
    font-size: 18px;
    line-height: 1.8;
    color: #5e443a;
    font-weight: 500;
    margin-bottom: 20px;
}

.greeting-quote cite {
    display: block;
    text-align: right;
    font-size: 16px;
    color: #8d7b74;
    font-style: normal;
    font-weight: 400;
}

.greeting-message {
    margin-bottom: 40px;
}

.greeting-message p {
    font-size: 16px;
    line-height: 1.8;
    color: #351e15;
    font-weight: 600;
    margin-bottom: 20px;
}

.representative-signature {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.signature-image {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.representative-name {
    font-size: 18px;
    font-weight: 600;
    color: #351e15;
    margin: 0;
}

/* Company Profile Section */
.company-profile {
    padding: 100px 0;
    background: #ffffff;
}

.profile-table {
    max-width: 900px;
    margin: 0 auto;
    background: #f0fffe;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.profile-row {
    display: flex;
    border-bottom: 1px solid rgba(141, 123, 116, 0.3);
}

.profile-row:last-child {
    border-bottom: none;
}

.profile-label {
    width: 200px;
    padding: 25px 30px;
    background: #faf4f1;
    font-size: 16px;
    font-weight: 600;
    color: #555555;
    border-right: 1px solid rgba(250,244,241,0.5);
}

.profile-value {
    flex: 1;
    padding: 25px 30px;
    font-size: 16px;
    color: #222222;
    line-height: 1.6;
    background: #ffffff;
}

/* Company Philosophy Section */
.company-philosophy {
    padding: 100px 0;
    background: linear-gradient(180deg, #faf4f1 0%, #ffffff 100%);
}

.philosophy-icons {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-bottom: 80px;
    flex-wrap: wrap;
}

.yuu-icon {
    width: 110px;
    height: 110px;
    position: relative;
}

.yuu-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.philosophy-details {
    max-width: 900px;
    margin: 0 auto;
}

.philosophy-item {
    background: #ffffff;
    padding: 40px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.philosophy-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.philosophy-title {
    font-size: 20px;
    font-weight: 700;
    color: #351e15;
    margin-bottom: 15px;
}

.philosophy-desc {
    font-size: 15px;
    line-height: 1.8;
    color: #8d7b74;
    margin: 0;
}

/* Access Section */
.access-section {
    padding: 100px 0;
    background: #ffffff;
}

.access-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 60px;
}

.access-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: #faf4f1;
    border-radius: 8px;
}

.info-icon {
    width: 24px;
    height: 24px;
    color: #CC211B;
    flex-shrink: 0;
}

.info-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.info-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: #351e15;
    margin: 0 0 10px 0;
}

.info-content p {
    font-size: 15px;
    line-height: 1.6;
    color: #8d7b74;
    margin: 0;
}

.access-map {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.access-map iframe {
    display: block;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .access-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .philosophy-icons {
        gap: 26px;
        margin-bottom: 60px;
    }
    
    .page-title {
        font-size: 36px;
    }
    
    .intro-title,
    .section-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 20px 0 20px 0;
    }
    
    .company-intro,
    .representative-greeting,
    .company-profile,
    .access-section {
        padding: 60px 0;
    }
    
    .company-philosophy {
        padding: 60px 0 0 0;
    }
    
    .page-title {
        font-size: 32px;
    }
    
    .intro-title,
    .section-title {
        font-size: 28px;
    }
    
    .intro-subtitle {
        font-size: 22px;
    }
    
    .intro-text {
        font-size: 18px;
        line-height: 1.8;
    }
    
    .greeting-quote p {
        font-size: 19px;
        line-height: 1.7;
    }
    
    .greeting-message p {
        font-size: 18px;
        line-height: 1.8;
    }
    
    .representative-name {
        font-size: 19px;
    }
    
    .profile-row {
        flex-direction: column;
    }
    
    .profile-label {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(141, 123, 116, 0.3);
        padding: 18px 20px;
        font-size: 17px;
    }
    
    .profile-value {
        padding: 18px 20px;
        font-size: 17px;
    }
    
    .philosophy-icons {
        gap: 22px;
        margin-bottom: 50px;
    }
    
    .yuu-icon {
        width: 80px;
        height: 80px;
    }
    
    .philosophy-item {
        padding: 25px;
    }
    
    .philosophy-title {
        font-size: 21px;
    }
    
    .philosophy-desc {
        font-size: 17px;
        line-height: 1.8;
    }
    
    .greeting-quote {
        padding: 25px;
    }
    
    .info-item {
        padding: 20px;
    }
    
    .info-content h4 {
        font-size: 17px;
    }
    
    .info-content p {
        font-size: 16px;
        line-height: 1.7;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 28px;
    }
    
    .intro-title,
    .section-title {
        font-size: 26px;
    }
    
    .intro-subtitle {
        font-size: 20px;
    }
    
    .intro-text {
        font-size: 19px;
        line-height: 1.8;
    }
    
    .greeting-quote p {
        font-size: 20px;
        line-height: 1.7;
    }
    
    .greeting-message p {
        font-size: 19px;
        line-height: 1.8;
    }
    
    .representative-name {
        font-size: 20px;
    }
    
    .profile-label {
        font-size: 18px;
        padding: 20px;
    }
    
    .profile-value {
        font-size: 18px;
        padding: 20px;
    }
    
    .philosophy-title {
        font-size: 22px;
    }
    
    .philosophy-desc {
        font-size: 18px;
        line-height: 1.8;
    }
    
    .philosophy-icons {
        gap: 12px;
        margin-bottom: 35px;
    }
    
    .yuu-icon {
        width: 66px;
        height: 66px;
    }
    
    .info-content h4 {
        font-size: 18px;
    }
    
    .info-content p {
        font-size: 17px;
        line-height: 1.7;
    }
    
    .representative-signature {
        flex-direction: column;
        text-align: center;
    }
    
    .company-philosophy {
        padding: 60px 0 0 0;
    }
}