html {
    scroll-behavior: smooth;
    scroll-padding-top: 107.8px;
    width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}

html.fixed {
    overflow-y: hidden;
}

@media screen and (max-width: 1440px) {
    html {
        scroll-padding-top: 7.486vw;
    }
}

@media screen and (max-width: 760px) {
    html {
        scroll-padding-top: 30vw;
    }
}

body {
    font-family: "BIZ UDGothic", sans-serif;
    width: 100%;
    background-color: white;
}

img {
    width: 100%;
    height: 100%;
}

.pc {
    display: block;
}

.sp {
    display: none;
}

.pc-inline {
    display: inline;
}

@media screen and (max-width: 760px) {
    .pc {
        display: none;
    }

    .sp {
        display: block;
    }

    .pc-inline {
        display: none;
    }
}

/* 下層ページの FV */
.sub-hero {
    width: 100%;
    position: relative;
    background-image: url('../images/common/sub-hero-bg.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.sub-hero__container {
    width: 1440px;
    height: 340px;
    margin: 0 auto;
    padding-top: 119px;
    padding-left: 160px;
}

.sub-hero__title {
    color: #2559AE;
    font-family: "Montserrat", sans-serif;
    font-weight: bold;
    font-size: 72px;
    line-height: 1;
    letter-spacing: 0.04em;
}

.sub-hero__text {
    color: black;
    font-weight: bold;
    font-size: 20px;
    line-height: 1;
    letter-spacing: 0.04em;
    margin-top: 10px;
}

@media screen and (max-width: 1440px) {
    .sub-hero {
        width: 100%;
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        position: relative;
    }
    
    .sub-hero__container {
        width: 100vw;
        height: 23.611vw;
        margin: 0 auto;
        padding-top: 8.264vw;
        padding-left: 11.111vw;
    }
    
    .sub-hero__title {
        font-size: 5vw;
    }
    
    .sub-hero__text {       
        font-size: 1.38vw;
        margin-top: 0.694vw;
    }
   
}

@media screen and (max-width: 760px) {
    .sub-hero {
        width: 100%;
    }
    
    .sub-hero__container {
        width: 100%;
        height: 40vw;
        margin: 0 auto;
        padding-top: 10vw;
        padding-left: 5.333vw;
    }
    
    .sub-hero__title {
        font-size: 46px;
    }
    
    .sub-hero__text {
        font-size: 20px;
        margin-top: 10px;
    }
}

.header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    background-color: white;
    transition: background-color 0.3s ease-in-out;
    padding: 0;
}

.header.scroll {
    background-color: white;
}

.header__main {
    width: 1440px;
    height: 97.5px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding-top: 7.5px;
    padding-left: 50px;
    padding-right: 60px;
    position: relative;
}


.header__logo-wrap {
    width: fit-content;
    display: flex;
    align-items: center;
}

.header__logo {
    width: 478px;
    height: 56px;
}

.header__menu-wrap {
    width: 721px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__menu {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    width: 480px;
}

.header__menu-item {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 0;
    color: black;
    width: 64px;
    padding: 0;
}

.header__menu-item a {
    text-decoration: none;
    color: black;
}

.header__contact-btn {
    color: white;
    width: 192px;
    height: 51px;
    display: flex;
    align-items: center;
    text-decoration: none;
    padding-left: 64.5px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0;
    position: relative;
    background-color: #2559AE;
}

.header__contact-btn::after {
    position: absolute;
    content: "";
    width: 22.5px;
    height: 15px;
    top: 17px;
    left: 31.5px;
    background-image: url('../images/common/contact-mail.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

@media screen and (max-width: 1440px) {
    .header {
        padding: 0;
    }
    
    .header__main {
        width: 100%;
        height: 6.771vw;
        margin: 0 auto;
        display: flex;
        padding-top: 0.521vw;
        padding-left: 3.472vw;
        padding-right: 4.167vw;
        position: relative;
    }

    .header__logo {
        width: 33.194vw;
        height: 3.89vw;
    }

    .header__menu-wrap {
        width: 50.07vw;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .header__menu {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 33.33vw;
    }

    .header__menu-item {
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 1.111vw;
        width: 4.444vw;
    }

    .header__contact-btn {
        width: 13.333vw;
        height: 3.542vw;
        display: flex;
        align-items: center;
        padding-left: 4.479vw;
        font-size: 1.111vw;
        position: relative;
    }

    .header__contact-btn::after {
        position: absolute;
        content: "";
        width: 1.5625vw;
        height: 1.042vw;
        top: 1.181vw;
        left: 2.1875vw;
    }
}

@media screen and (max-width: 760px) {
    
    .header {
        background-color: rgba(255,255,255, 1);
    }

    .header.scroll {
        background-color: rgba(255,255,255, 1);
    }

    .header__main {
        width: 100%;
        height: 86px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        padding-top: 0;
        padding-left: 20px;
        padding-right: 20px;
        position: relative;
    }

    .header__logo {
        width: 280px;
        height: 32.8px;
    }

    .header__menu-wrap {
        display: none;
    }
}



.hamburger-btn {
    display: none;
}

@media screen and (max-width: 760px) {
    .hamburger-btn {
        position: fixed;
        top: 30px;
        right: 30px;
        width: 32px;
        height: 28px;
        z-index: 200;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        row-gap: 2px;
        transition: transform .3s ease-in-out;
        cursor: pointer;
    }
}

.hamburger-btn__line {
    width: 32px;
    height: 2px;
    background-color: #003571;
    transition: transform .3s ease-in-out;
}

.hamburger-btn.active .hamburger-btn__line:first-child {
    background-color:  #003571;
    transform: rotate(45deg) translate(7px, 11px);
}

.hamburger-btn.active .hamburger-btn__line:nth-child(2) {
    opacity: 0;
    background-color:  #003571;
} 

.hamburger-btn.active .hamburger-btn__line:last-child {
    background-color: #003571;
    transform: rotate(-45deg) translate(7px, -11px);
}

.main {
    width: 100%;
    background-color: white;
    overflow: hidden;
}

.main--subpage {
    padding-top: 106px;
}

.breadcrumbs {
    color: #4c4c4c;
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.4;
    letter-spacing: 0.04em;
}



.content {
    width: 100vw;
    background-color: white;
}

.container {
    width: 77.78%;
    max-width: 1120px;
    min-width: 350px;
    margin: 0 auto;
    padding: 40px 0 100px;
    display: flex;
    flex-direction: column;
    gap: 100px;
}

@media screen and (max-width: 1440px) {
    .main--subpage {
        padding-top: 7.361vw;
    }
}


@media screen and (max-width: 760px) {

    .main--subpage {
        padding-top: 86px;
    }

    .container {
        padding: 6vw 0 12vw;
        gap: 40px;
    }
}

.breadcrumbs a {
    font-weight: bold;
    color: #25539E;
    text-decoration: underline;
}

.footer {
    width: 100vw;
    background-color: #2559AE;
}

.footer__main {
    padding: 52px 0;
}

.footer__container {
    width: 1120px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.footer__content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    justify-content: flex-start;
    flex-shrink: 0;
    width: 354px;
    position: relative;
}

.footer__logo {
   width: 400px;
   height: 47px;
}

.footer__address {
    color: white;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0;
}

.footer__menu {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: fit-content;
    list-style: none;
}

.footer__menu-item {
    width: fit-content;
    padding: 11px 16px;
    border-left: 1px solid white;
}

.footer__menu-item:first-child {
    border-left: none;
}

.footer__menu-text{
    color: white;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    line-height: 1.125;
    letter-spacing: 0;
    text-decoration: none;
}

.footer__copyright {
    width: 100%;
    margin: 0 auto;
    padding: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #333;
}

.footer__copyright-text {
    color: white;
    font-weight: 400;
    font-size: 14px;
    line-height: 1;
    letter-spacing: 0.04em;
}

@media screen and (max-width: 1440px) {
    
    .footer__main {
        padding: 2.708vw 0;
    }
    
    .footer__container {
        width: 77.78vw;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
    }
    
    .footer__content {
        display: flex;
        flex-direction: column;
        gap: 1.1111vw;
        align-items: flex-start;
        justify-content: flex-start;
        flex-shrink: 0;
        width: 24.583vw;
        position: relative;
    }

    .footer__logo {
        width: 27.778vw;
        height: 3.264vw;
    }
    
    .footer__address {
        font-size: 1.111vw;
    }

    .footer__menu {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        width: fit-content;
        list-style: none;
    }
    
    .footer__menu-item {
        width: fit-content;
        padding: 0.764vw 1.111vw;
    }
    
    .footer__menu-text{
        font-size: 1.111vw;
    }
    
    .footer__copyright {
        width: 100%;
        margin: 0 auto;
        padding: 1.389vw 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .footer__copyright-text {
        font-size: 0.972vw;
    }

}

@media screen and (max-width: 760px) {
    .footer__main {
        padding: 40px 0;
    }
    
    .footer__container {
        width: 88vw;
        height: unset;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: flex-start;
        row-gap: 5.333vw;
    }
    
    .footer__content {
        display: flex;
        flex-direction: column;
        gap: 3.2vw;
        align-items: flex-start;
        justify-content: flex-start;
        flex-shrink: 0;
        width: 93.333vw;
        position: relative;
    }

    .footer__logo {
        width: 318.5px;
        height: 32.524px;

        width: 320px;
        height: 37.6px;
    }
    
    .footer__address {
        font-size: 4.267vw;
        position: relative;
    }

    .footer__menu {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        flex-wrap: wrap;
        width: 70vw;
        list-style: none;
        row-gap: 2.667vw;
    }

    .footer__menu-item {
        width: 50%;
        border-left: none;
    }
    
    .footer__menu-text{
        font-size: 4.267vw;
    }

    .footer__copyright {
        width: 100%;
        margin: 0 auto;
        padding: 20px 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .footer__copyright-text {
        font-size: 12px;
    }
}


.sp-menu {
    display: none;
}

@media screen and (max-width: 760px) {
    .sp-menu {
        display: flex;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 0;
        right: 0;
        width: 60vw;
        height: 100vh;
        z-index: 100;
        background-color: rgba(255,255,255, .9);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s ease-in-out;
    }

    .sp-menu.active {
        pointer-events: auto;
        opacity: 1;
    }

    .sp-menu__wrap {
        width: 75%;
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .sp-menu__text {
        color: #030303;
        font-size: 26px;
        font-family: "BIZ UDPGothic", sans-serif;
        font-weight: bold;
        text-align: center;
    }

    .sp-menu__text a {
        text-decoration: none;
        color: unset;
    }

    .sp-menu__btn {
        background: linear-gradient(to right, #0E42C4, #2C92FF);
        color: white;
        width: 100%;
        height: 50px;
        display: flex;
        justify-content: center;
        align-items: center;
        text-decoration: none;
        font-size: 20px;
        font-family: "BIZ UDPGothic", sans-serif;
        font-weight: bold;
    }
}

.content__title {
    width: 100%;
    height: 60px;
    padding: 0 0 0 28px;
    position: relative;
    background-color: #D0DBED;
    color: #2559AE;
    font-weight: bold;
    font-size: 28px;
    line-height: 1;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    border-bottom: 4px solid #2559AE;
}

.content__title::after {
    content: '';
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 15px solid white;

    transform: rotate(-45deg);
    position: absolute;
    top: -15px;
    right: -15px;
}

.content__title span {
    font-size: 22px;
}

.content__subtitle {
    color: #0250EB;
    font-weight: bold;
    font-size: 24px;
    line-height: 1.3;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    padding-left: 14px;
    position: relative;
}

.content__subtitle::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 31px;
    background-color: #0250EB;
}

@media screen and (max-width: 1440px) {
    .content__title {
        width: 100%;
        height: 4.167vw;
        padding: 0 0 0 1.94vw;
        font-size: 1.944vw;
    }

    .content__title span {
        font-size: 1.528vw;
    }
    
    .content__subtitle {
        font-size: 1.667vw;
        padding-left: 0.972vw;
        position: relative;
    }
    
    .content__subtitle::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 0.347vw;
        height: 2.153vw;
    }
    
}

@media screen and (max-width: 760px) {
    .content__title {
        width: 100%;
        height: 60px;
        height: unset;
        padding: 0 0 0 28px;
        padding: 20px 10px 20px 28px;
        font-size: 20px;
        line-height: 1.2;

        display: block;
    }

    .content__title span {
        display: inline;
        font-size: 16px;
    }
    
    .content__subtitle {
        font-size: 24px;
        display: flex;
        align-items: center;
        padding-left: 29px;
        position: relative;
    }
    
    .content__subtitle::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 5px;
        height: 31px;
    }
    
}

.tel__link {
    color: unset;
    text-decoration: none;
    pointer-events: none;
}

@media screen and (max-width: 760px) {

    .tel__link {
        pointer-events: auto;
    }
}

.external-link {
    width: fit-content;
    border: 1px solid #224540;
    padding: 16px 52px 16px 24px;
    background-color: white;
    font-size: 18px;
    font-family: "BIZ UDPGothic", sans-serif;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0;
    color: #224540;
    text-decoration: none;
    position: relative;
}

.external-link::after {
    content: "";
    width: 18px;
    height: 18.5px;
    position: absolute;
    top: 15px;
    right: 24px;
    background-image: url('../images/common/external-icon.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}