/* ==================================================
   CBA HISTORY
   CBA by O.SHIMURA
================================================== */


/* ==============================
   HISTORY INTRO
================================== */

.history-intro {
    width: 100%;
    padding: 95px 0 110px;
    background: #ffffff;
}

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

.history-label {
    margin: 0 0 25px;
    font-family: "Montserrat", "Noto Sans JP", sans-serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: .20em;
    color: #6f91aa;
}

.history-intro h1 {
    margin: 0 0 65px;
    font-family: "Noto Serif JP", "Yu Mincho",
                 "Hiragino Mincho ProN", "MS PMincho", serif;
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 400;
    letter-spacing: .08em;
    line-height: 1.5;
    color: #263640;
}

.history-intro-text {
    max-width: 760px;
}

.history-intro-text p {
    margin: 0 0 28px;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 15px;
    font-weight: 300;
    letter-spacing: .06em;
    line-height: 2.25;
    color: #4c5961;
}

.history-quote {
    margin: 45px 0 !important;
    padding-left: 30px;
    border-left: 1px solid #6f91aa;
    color: #425764 !important;
}

.history-foundation {
    margin-top: 50px !important;
    margin-bottom: 8px !important;
    font-family: "Noto Serif JP", "Yu Mincho",
                 "Hiragino Mincho ProN", "MS PMincho", serif !important;
    font-size: 24px !important;
    font-weight: 400 !important;
    letter-spacing: .12em !important;
    color: #263640 !important;
}

.history-foundation-sub {
    margin-bottom: 45px !important;
    font-family: "Noto Serif JP", "Yu Mincho",
                 "Hiragino Mincho ProN", "MS PMincho", serif !important;
    font-size: 18px !important;
    color: #374952 !important;
}

.history-stay {
    margin-top: 42px !important;
    margin-bottom: 35px !important;
    font-family: "Montserrat", sans-serif !important;
    font-size: 22px !important;
    font-weight: 400 !important;
    letter-spacing: .14em !important;
    color: #344c5b !important;
}

.history-closing-en {
    margin-top: 45px !important;
    margin-bottom: 10px !important;
    font-family: "Montserrat", sans-serif !important;
    font-size: 19px !important;
    font-weight: 300 !important;
    letter-spacing: .10em !important;
    color: #344c5b !important;
}

.history-closing-jp {
    margin-bottom: 0 !important;
    font-family: "Noto Serif JP", "Yu Mincho",
                 "Hiragino Mincho ProN", "MS PMincho", serif !important;
    font-size: 22px !important;
    font-weight: 400 !important;
    letter-spacing: .12em !important;
    color: #263640 !important;
}



/* ==============================
   HISTORY TIMELINE
================================== */

.history-timeline {
    width: 100%;
    padding: 100px 0 110px;
    background: #f7f8f9;
}

.history-timeline-inner {
    width: min(1000px, 86%);
    margin: 0 auto;
}

.history-section-label {
    margin: 0 0 20px;
    font-family: "Montserrat", "Noto Sans JP", sans-serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: .20em;
    color: #6f91aa;
}

.history-timeline h2 {
    margin: 0 0 65px;
    font-family: "Noto Serif JP", "Yu Mincho",
                 "Hiragino Mincho ProN", "MS PMincho", serif;
    font-size: 30px;
    font-weight: 400;
    letter-spacing: .10em;
    color: #263640;
}


/* Timeline */

.timeline-list {
    position: relative;
    margin-left: 70px;
    border-left: 1px solid #9aafbd;
}

.timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 45px;
    padding: 0 0 55px 45px;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -4px;
    top: 7px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #6f91aa;
}

.timeline-year {
    font-family: "Montserrat", sans-serif;
    font-size: 19px;
    font-weight: 400;
    letter-spacing: .08em;
    line-height: 1.5;
    color: #405866;
}

.timeline-content {
    max-width: 620px;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 14px;
    font-weight: 300;
    letter-spacing: .06em;
    line-height: 2.1;
    color: #4c5961;
}

.timeline-content strong {
    font-weight: 400;
    color: #344c5b;
}

.timeline-item-final {
    padding-bottom: 0;
}



/* ==============================
   EPILOGUE
================================== */

.history-epilogue {
    width: 100%;
    padding: 120px 0 125px;
    background: #ffffff;
}

.history-epilogue-inner {
    width: min(820px, 84%);
    margin: 0 auto;
    text-align: center;
}

.history-epilogue .history-section-label {
    margin-bottom: 30px;
}

.history-epilogue h2 {
    margin: 0 0 65px;
    font-family: "Noto Serif JP", "Yu Mincho",
                 "Hiragino Mincho ProN", "MS PMincho", serif;
    font-size: clamp(30px, 4vw, 43px);
    font-weight: 400;
    letter-spacing: .10em;
    line-height: 1.7;
    color: #263640;
}

.epilogue-text {
    max-width: 650px;
    margin: 0 auto;
}

.epilogue-text p {
    margin: 0 0 25px;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 15px;
    font-weight: 300;
    letter-spacing: .06em;
    line-height: 2.2;
    color: #4c5961;
}

.epilogue-brand {
    margin: 45px 0 30px !important;
    font-family: "Montserrat", "Noto Sans JP", sans-serif !important;
    font-size: 21px !important;
    font-weight: 400 !important;
    letter-spacing: .10em !important;
    color: #344c5b !important;
}

.epilogue-closing {
    margin-top: 70px;
}

.epilogue-en {
    margin: 0 0 12px;
    font-family: "Montserrat", sans-serif;
    font-size: 19px;
    font-weight: 300;
    letter-spacing: .10em;
    color: #344c5b;
}

.epilogue-jp {
    margin: 0;
    font-family: "Noto Serif JP", "Yu Mincho",
                 "Hiragino Mincho ProN", "MS PMincho", serif;
    font-size: 23px;
    font-weight: 400;
    letter-spacing: .12em;
    color: #263640;
}



/* ==============================
   NEXT PAGE
================================== */

.history-next {
    width: 100%;
    padding: 75px 20px 85px;
    text-align: center;
    background: #f7f8f9;
}

.history-next p {
    margin: 0 0 18px;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 13px;
    font-weight: 300;
    letter-spacing: .08em;
    color: #66747c;
}

.history-next a {
    display: inline-block;
    position: relative;
    padding-bottom: 9px;
    font-family: "Montserrat", "Noto Sans JP", sans-serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: .12em;
    color: #405d70;
    text-decoration: none;
}

.history-next a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 42px;
    height: 1px;
    background: #6f91aa;
    transition: width .35s ease;
}

.history-next a:hover::after {
    width: 100%;
}

.history-next a span {
    margin-left: 8px;
}



/* ==============================
   MOBILE
================================== */

@media (max-width: 768px) {

    .history-intro {
        padding: 70px 0 80px;
    }

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

    .history-intro h1 {
        margin-bottom: 45px;
        font-size: 30px;
    }

    .history-intro-text p {
        font-size: 14px;
        line-height: 2.1;
        letter-spacing: .04em;
    }

    .history-quote {
        padding-left: 20px;
        margin: 35px 0 !important;
    }

    .history-foundation {
        font-size: 21px !important;
    }

    .history-foundation-sub {
        font-size: 16px !important;
    }

    .history-closing-en {
        font-size: 16px !important;
    }

    .history-closing-jp {
        font-size: 20px !important;
    }


    .history-timeline {
        padding: 75px 0 80px;
    }

    .history-timeline-inner {
        width: 86%;
    }

    .history-timeline h2 {
        margin-bottom: 50px;
        font-size: 27px;
    }

    .timeline-list {
        margin-left: 20px;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 0 0 42px 30px;
    }

    .timeline-year {
        font-size: 18px;
    }

    .timeline-content {
        font-size: 14px;
        line-height: 2;
    }


    .history-epilogue {
        padding: 85px 0 90px;
    }

    .history-epilogue h2 {
        margin-bottom: 50px;
        font-size: 29px;
    }

    .epilogue-text p {
        font-size: 14px;
        line-height: 2.1;
    }

    .epilogue-brand {
        font-size: 18px !important;
    }

    .epilogue-closing {
        margin-top: 55px;
    }

    .epilogue-en {
        font-size: 16px;
    }

    .epilogue-jp {
        font-size: 20px;
    }


    .history-next {
        padding: 60px 20px 70px;
    }

}



/* ==============================
   SMALL MOBILE
================================== */

@media (max-width: 480px) {

    .history-intro-inner,
    .history-timeline-inner,
    .history-epilogue-inner {
        width: 88%;
    }

    .history-intro h1 {
        font-size: 27px;
    }

    .timeline-list {
        margin-left: 10px;
    }

    .timeline-item {
        padding-left: 25px;
    }

    .history-epilogue h2 {
        font-size: 27px;
    }

}
/* ==============================
   HISTORY FOOTER ALIGNMENT
================================== */

.history-page .site-footer {
    text-align: center;
}

.history-page .footer-brand,
.history-page .footer-since,
.history-page .footer-copy {
    text-align: center;
}
/* ==============================
   HISTORY FOOTER TOP SPACING
================================== */

.history-page .site-footer {
    padding-top: 55px;
}