/* =========================================
   CBA PROFILE
   Profile Page
   ========================================= */


/* -----------------------------------------
   Page Base
----------------------------------------- */

.profile-page {
    background: #ffffff;
    color: #30485d;

    font-family:
        "Noto Sans JP",
        sans-serif;
}



/* -----------------------------------------
   Profile Introduction
----------------------------------------- */

.profile-intro {
    padding: 105px 0 95px;
    background: #ffffff;
}

.profile-intro-inner {
    width: min(900px, 88%);
    margin: 0 auto;
}

.profile-label {
    margin: 0 0 48px;

    font-family:
        "Montserrat",
        sans-serif;

    font-size: 11px;
    font-weight: 400;

    letter-spacing: 0.28em;

    color: #607b91;
}


.profile-intro h1 {
    margin: 0 0 55px;

    font-family:
        "Noto Serif JP",
        serif;

    font-size: clamp(30px, 4vw, 48px);

    font-weight: 400;

    line-height: 1.6;

    letter-spacing: 0.08em;

    color: #304f68;
}


.profile-intro h1 span {
    font-size: 0.72em;
}


.profile-intro-text {
    max-width: 720px;

    font-size: 15px;

    line-height: 2.4;

    letter-spacing: 0.08em;

    color: #5d6d78;
}


.profile-intro-text p {
    margin: 0 0 28px;
}


.profile-intro-lead {
    font-family:
        "Noto Serif JP",
        serif;

    font-size: 18px;

    line-height: 2.1;

    color: #304f68;
}



/* -----------------------------------------
   Six Profile Cards
----------------------------------------- */

.profile-stories {
    padding: 95px 0 105px;

    background: #f7f9fa;
}


.profile-stories-inner {
    width: min(1080px, 88%);
    margin: 0 auto;
}


.profile-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    column-gap: 75px;
    row-gap: 95px;
}


.profile-card {
    position: relative;

    padding: 0 5px 15px;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}


.profile-number {
    margin: 0 0 22px;

    font-family:
        "Montserrat",
        sans-serif;

    font-size: 11px;

    letter-spacing: 0.2em;

    color: #8aa0b1;
}


.profile-card h2 {
    margin: 0 0 25px;

    font-family:
        "Noto Serif JP",
        serif;

    font-size: 22px;

    font-weight: 400;

    line-height: 1.7;

    letter-spacing: 0.06em;

    color: #304f68;
}


.profile-line {
    width: 42px;
    height: 1px;

    margin-bottom: 25px;

    background: #8caabd;

    transition:
        width 0.35s ease;
}


.profile-card p:not(.profile-number):not(.profile-final-en):not(.profile-final-jp) {
    margin: 0 0 18px;

    font-size: 13px;

    line-height: 2.15;

    letter-spacing: 0.05em;

    color: #64727b;
}



/* -----------------------------------------
   Subtle Hover
----------------------------------------- */

@media (hover: hover) and (pointer: fine) {

    .profile-card:hover {
        transform: translateY(-4px);
    }

    .profile-card:hover .profile-line {
        width: 75px;
    }

}



/* -----------------------------------------
   Final Card
----------------------------------------- */

.profile-card-final {
    padding-bottom: 0;
}


.profile-final-en {
    margin: 30px 0 8px;

    font-family:
        "Montserrat",
        sans-serif;

    font-size: 14px;

    font-weight: 300;

    letter-spacing: 0.12em;

    color: #607f96;
}


.profile-final-jp {
    margin: 0;

    font-family:
        "Noto Serif JP",
        serif;

    font-size: 21px;

    letter-spacing: 0.08em;

    color: #304f68;
}



/* -----------------------------------------
   Next Page Link
----------------------------------------- */

.profile-next {
    padding: 100px 20px 110px;

    text-align: center;

    background: #ffffff;

    border-top: 1px solid #dce5ea;
}


.profile-next p {
    margin: 0 0 22px;

    font-size: 13px;

    letter-spacing: 0.12em;

    color: #7a8790;
}


.profile-next a {
    display: inline-flex;

    align-items: center;

    gap: 18px;

    padding-bottom: 8px;

    border-bottom: 1px solid #6d8ca3;

    font-family:
        "Montserrat",
        sans-serif;

    font-size: 13px;

    letter-spacing: 0.16em;

    text-decoration: none;

    color: #304f68;

    transition:
        letter-spacing 0.3s ease,
        border-color 0.3s ease;
}


.profile-next a span {
    font-size: 17px;
}


.profile-next a:hover {
    letter-spacing: 0.21em;
}



/* -----------------------------------------
   Mobile
----------------------------------------- */

@media (max-width: 768px) {

    .profile-intro {
        padding: 70px 0 65px;
    }


    .profile-intro-inner {
        width: 86%;
    }


    .profile-label {
        margin-bottom: 35px;
    }


    .profile-intro h1 {
        margin-bottom: 38px;

        font-size: 28px;

        line-height: 1.65;
    }


    .profile-intro-text {
        font-size: 13px;

        line-height: 2.15;

        letter-spacing: 0.04em;
    }


    .profile-intro-lead {
        font-size: 16px;
    }


    .profile-stories {
        padding: 65px 0 70px;
    }


    .profile-stories-inner {
        width: 86%;
    }


    .profile-grid {
        grid-template-columns: 1fr;

        row-gap: 65px;
    }


    .profile-card h2 {
        font-size: 20px;
    }


    .profile-card p:not(.profile-number):not(.profile-final-en):not(.profile-final-jp) {
        font-size: 12px;

        line-height: 2.05;
    }


    .profile-next {
        padding: 70px 20px 75px;
    }

}
/* =========================================
   PROFILE INTRO
   Photo + Text Layout
   ========================================= */

.profile-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.profile-intro-content {
    min-width: 0;
}

.profile-intro-photo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-intro-photo img {
    display: block;
    width: 50%;
    max-width: 240px;
    height: auto;
}


/* =========================================
   PROFILE CARD
   Blue Line
   ========================================= */

.profile-line {
    width: 100%;
}


/* =========================================
   PROFILE FOOTER
   Center Alignment
   ========================================= */

.profile-page .footer-content {
    text-align: center;
}

.profile-page .footer-brand,
.profile-page .footer-since {
    text-align: center;
}


/* =========================================
   PROFILE INTRO
   Smartphone
   ========================================= */

@media (max-width: 640px) {

    .profile-intro-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .profile-intro-photo {
        justify-content: center;
    }

    .profile-intro-photo img {
        width: 50%;
        max-width: 220px;
    }

}
/* =========================================
   PROFILE
   Hide Column Numbers
   ========================================= */

.profile-number {
    display: none;
}

.profile-card-number {
    display: none;
}
/* =========================================
   PROFILE FOOTER
   Copyright Center
   ========================================= */

.footer-copy {
    text-align: center;
}