html {
    scroll-behavior: smooth;

}

body {
    width: 100vw;
    background-color: #EDC058;
    padding-top: 20px;
}

@media screen and (max-width: 1440px) {
    body {
        padding-top: 1.389vw;
    }
}

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

.sp {
    display: none;
}

@media screen and (max-width: 500px) {
    .sp {
        display: block;
    }
}

/* 下層ページの FV */
.sub-hero {
    width: 100%;
}

.sub-hero__container {
    width: 1400px;
    margin: 0 auto;
    background-color: white;
    padding: 91px 0 40px;
}

.sub-hero__bg {
    width: 1360px;
    height: 308px;
    margin: 0 auto;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url('../images/common/sub-hero-bg.png');
    padding-top: 103px;
    padding-left: 118px;
}

.sub-hero__title {
    color: #997e3a;
    text-align: left;
    font-family: "M Plus 1p", sans-serif;
    font-weight: bold;
    font-size: 100px;
    line-height: 100%;
    letter-spacing: 0.01em;   
}

.sub-hero__text {
    color: #997e3a;
    text-align: left;
    font-family: "M Plus 1p", sans-serif;
    font-weight: bold;
    font-size: 40px;
    line-height: 100%;
    letter-spacing: 0.04em;
    margin-top: 10px;
}

@media screen and (max-width: 1440px) {
    .sub-hero {
        width: 100%;
    }
    
    .sub-hero__container {
        width: 97.222vw;
        margin: 0 auto;
        background-color: white;
        padding: 6.319vw 0 2.778vw;
    }
    
    .sub-hero__bg {
        width: 94.444vw;
        height: 21.389vw;
        margin: 0 auto;
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        background-image: url('../images/common/sub-hero-bg.png');
        padding-top: 7.153vw;
        padding-left: 8.194vw;
    }
    
    .sub-hero__title {
        color: #997e3a;
        text-align: left;
        font-size: 6.944vw;
        line-height: 100%;
        letter-spacing: 0.01em;
    }
    
    .sub-hero__text {
        color: #997e3a;
        text-align: left;
        font-size: 2.778vw;
        line-height: 100%;
        letter-spacing: 0.04em;
        margin-top: 0.694vw;
    }
}

@media screen and (max-width: 500px) {
    .sub-hero {
        width: 100%;
    }
    
    .sub-hero__container {
        width: 100vw;
        margin: 0 auto;
        background-color: white;
        padding: 10vw 0 8vw;
    }
    
    .sub-hero__bg {
        width: 362.667vw;
        height: 82.133vw;
        width: 93.333vw;
        height: 21.137vw;
        margin: 0 auto;
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        background-image: url('../images/common/sub-hero-bg.png');
        padding-top: 6.667vw;
        padding-left: 2.667vw;
    }
    
    .sub-hero__title {
        color: #997e3a;
        text-align: left;
        font-size: 3.733vw;
        line-height: 100%;
        letter-spacing: 0.01em;
    }

    .sub-hero__text {
        color: #997e3a;
        text-align: left;
        font-size: 4.8vw;
        line-height: 100%;
        letter-spacing: 0.04em;
        margin-top: 2.667vw;
    }
}

.header {
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    background-color: transparent;
}

.header__main {
    width: 100%;
    max-width: 1440px;
    height: 80px;
    margin: 0 auto;
    background-color: rgba(255,255,255,0);
    transition: background-color 0.3s ease-in-out;
}

.header.scroll .header__main {
    max-width: 100vw;
    background-color: rgba(255,255,255,1);
}

.header__main-center {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    position: relative;
}

.header__main-corner {
    width: 256.5px;
    height: 119.5px;
    position: absolute;
    top: 0;
    right: 19px;
    opacity: 1;
    background-image: url('../images/common/header-corner.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    transition: opacity 0.3s ease-in-out;
}

.header.scroll .header__main-corner {
   opacity: 0;
}

.header__logo {
    position: absolute;
    top: 20px;
    left: 130px;
    width: 302.62px;
    height: 90px;
    background-image: url('../images/common/header-logo.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;

    transition: top 0.3s ease-in-out, left 0.3s ease-in-out, width 0.3s ease-in-out, height 0.3s ease-in-out;
}

.header.scroll .header__logo {
    position: absolute;
    top: 8px;
    left: 130px;
    width: 228.478px;
    height: 64.57px;
}

.header__inner {
    width: 1440px;
    margin: 0 auto;
}

.header.scroll .header__inner {
    width: 100vw;
}

.header__top-yellow {
    width: 100%;
    height: 20px;
    background-color: #edc058;
}

.header__menu-wrap {
    position: absolute;
    top: 16px;
    left: 684px;
    height: 50px;
    width: 748px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__menu {
    display: flex;
    flex-direction: row;
    list-style: none;
    height: 40px;
    width: 520px;
}

.header__menu-item {
    width: 118px;
    border-right: 1px solid #030303;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 12px;
    font-size: 16px;
    font-weight: bold;
    color: #030303;
    height: 40px;
}

.header__menu-item:first-child {
    width: 172px;
}

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

.header__menu-item:last-child {
    border-right: none;
}

.header__contact-btn {
    background-color: transparent;
    color: white;
    width: 200px;
    height: 50px;
    display: flex;
    align-items: center;
    text-decoration: none;
    padding-left: 28px;
    font-size: 20px;
    font-weight: bold;
    font-family: "M Plus 1p", sans-serif;
    line-height: 1.5;
    letter-spacing: 0;
    position: relative;
}

.header__contact-btn::after {
    position: absolute;
    content: "";
    width: 24px;
    height: 25px;;
    top: 13px;
    right: 16px;
    background-image: url('../images/common/header-contact-arrow.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.header.scroll .header__contact-btn {
    background-color: #EDC058;
}


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

    .header__main {
        width: 100%;
        max-width: 100vw;
        height: 5.556vw;
        margin: 0 auto;
        background-color: rgba(255,255,255,0);
        transition: background-color 0.3s ease-in-out;
    }

    .header__main-center {
        width: 100%;
        max-width: 100vw;
        margin: 0 auto;
        position: relative;
    }

    .header__main-corner {
        width: 17.813vw;
        height: 8.299vw;
        position: absolute;
        top: 0;
        right: 1.319vw;
        opacity: 1;
        background-image: url('../images/common/header-corner.png');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        transition: opacity 0.3s ease-in-out;
    }
    
    .header.scroll .header__main-corner {
       opacity: 0;
    }
    
    .header__logo {
        position: absolute;
        top: 1.388vw;
        left: 9.028vw;
        width: 21.015vw;
        height: 6.25vw;
    
        transition: top 0.3s ease-in-out, left 0.3s ease-in-out, width 0.3s ease-in-out, height 0.3s ease-in-out;
    }
    
    .header.scroll .header__logo {
        position: absolute;
        top: 0.556vw;
        left: 9.028vw;
        width: 15.867vw;
        height: 4.484vw;
    }
    .header__inner {
        width: 100vw;
        margin: 0 auto;
    }
    
    .header__top-yellow {
        width: 100%;
        height: 1.389vw;
        background-color: #edc058;
    }
    
    .header__menu-wrap {
        position: absolute;
        top: 1.111vw;
        left: 47.5vw;
        height: 3.472vw;
        width: 51.944vw;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .header__menu {
        display: flex;
        flex-direction: row;
        list-style: none;
        height: 2.778vw;
        width: 36.111vw;
    }
    
    .header__menu-item {
        width: 8.194vw;
        border-right: 1px solid #030303;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0 0.833vw;
        font-size: 1.111vw;
        font-weight: bold;
        color: #030303;
        height: 2.778vw;
    }
    
    .header__menu-item:first-child {
        width: 11.944vw;
    }
    
    .header__menu-item a {
        text-decoration: none;
        color: #030303;
    }
    
    .header__menu-item:last-child {
        border-right: none;
    }
    
    .header__contact-btn {
        background-color: transparent;
        color: white;
        width: 13.889vw;
        height: 3.472vw;
        display: flex;
        align-items: center;
        text-decoration: none;
        padding-left: 1.944vw;
        font-size: 1.389vw;
        line-height: 1.5;
        letter-spacing: 0;
        position: relative;
    }
    
    .header__contact-btn::after {
        position: absolute;
        content: "";
        width: 1.667vw;
        height: 1.736vw;;
        top: 0.903vw;
        right: 1.111vw;
        background-image: url('../images/common/header-contact-arrow.png');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
    }
    
    .header.scroll .header__contact-btn {
        background-color: #EDC058;
    }
}

@media screen and (max-width: 500px) {
    .header {
        width: 100vw;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 100;
        background-color: transparent;
    }

    .header__main {
        width: 100%;
        max-width: 100vw;
        height: 13.333vw;
    }
    
    .header.scroll .header__main {
        background-color: rgba(255,255,255,1);
    }
    
    .header__main-corner {
        display: none;
    }
    
    .header__logo {
        position: absolute;
        top: 3vw;
        left: 3vw;
        width: 27vw;
        height: 8.03vw;
        transition: none;
    }
    
    .header.scroll .header__logo {
        position: absolute;
        top: 3vw;
        left: 3vw;
        width: 27vw;
        height: 8.03vw;
    }

    .header__inner {
        width: 100vw;
        margin: 0 auto;
    }
    
    .header__top-yellow {
        width: 100%;
        height: 1vw;
        background-color: #edc058;
    }
    
    .header__menu-wrap {
        position: absolute;
        top: 4.267vw;
        left: 182.4vw;
        height: 13.333vw;
        width: 199.467vw;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .header__menu {
        display: none;
    }
}

.hamburger-btn {
    display: none;
}

@media screen and (max-width: 500px) {
    .hamburger-btn {
        position: fixed;
        top: 4vw;
        right: 3.733vw;
        width: 20px;
        height: 16px;
        z-index: 200;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        row-gap: 2px;
        transition: transform .3s ease-in-out;
    }
}

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

.hamburger-btn.active .hamburger-btn__line:first-child {
    transform: rotate(45deg) translate(4px, 5.6px);
}

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

.hamburger-btn.active .hamburger-btn__line:last-child {
    transform: rotate(-45deg) translate(4px, -5.6px);

}

.main {
    width: 1400px;
    background-color: white;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
}

.breadcrumbs {
    color: #333333;
    font-family: "M Plus 1p", sans-serif;
    font-weight: bold;
    font-size: 16px;
    line-height: 1.45;
    letter-spacing: 0.08em;
    margin-bottom: 75px;
}

.content {
    width: 1440px;
    margin: 0 auto;
    background-color: white;
    padding: 0 0 80px;
}

.container {
    width: 1120px;
    margin: 0 auto;
}

.breadcrumbs a {
    color: #1E4B9E;
}

@media screen and (max-width: 1440px) {
    .main {
        width: 97.222vw;
        background-color: white;
        margin: 0 auto;
        border-radius: 1.389vw;
        overflow: hidden;
    }
    
    .content {
        width: 100%;
        margin: 0 auto;
        background-color: white;
        padding: 0 0 5.556vw;
    }
    
    .container {
        width: 77.778vw;
        margin: 0 auto;
    }


    .breadcrumbs {
        font-size: 16px;
        margin-bottom: 30px;
    }

    
    .breadcrumbs a {
        color: #1E4B9E;
    }
}

@media screen and (max-width: 500px) {
    .container {
        width: 85vw;
        margin: 0 auto;
    }
}


.footer {
    width: 100vw;
    background-color: #EDC058;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 56px 0 0;
}

.footer__wrap {
    padding: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 1120px;
}

.footer__left {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    justify-content: flex-start;
    flex-shrink: 0;
    width: 320px;
    position: relative;
}

.ssl {
margin-right: 20px;
}
#DigiCertClickID_QXqce89wSeal img {
width: 12vw;
}

.footer__logo {
    flex-shrink: 0;
    width: 257px;
    height: 40px;
    position: relative;
    object-fit: cover;
}

.footer__text-wrap {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-60, 12px);
    align-items: flex-start;
    justify-content: flex-start;
    align-self: stretch;
    flex-shrink: 0;
    position: relative;
}

.footer__address {
    padding: 10px 12px 10px 12px;
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: flex-start;
    justify-content: flex-start;
    align-self: stretch;
    flex-shrink: 0;
    position: relative;
}

.footer__text {
    color: #ffffff;
    text-align: left;
    font-family: "M Plus 1p", sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    position: relative;
    flex: 1;
}

.footer__menu {
    display: flex;
    flex-direction: row;
    gap: 0;
    align-items: flex-end;
    justify-content: flex-start;
    flex-shrink: 0;
    position: relative;
}

.footer__menu-item {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 16px;   
    height: 40px;
    position: relative;
}

.footer__menu-item:not(:first-child) {
    border-left: 1px solid white;
}

.footer__menu-text{
    color: #ffffff;
    text-align: center;
    font-family: "M Plus 1p", sans-serif;
    font-weight: bold;
    font-size: 16px;
    line-height: var(--font-line-height-body-xs, 18px);
    position: relative;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    text-decoration: none;
}

.footer__copy {
    background: #ffffff;
    width: 100vw;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top :54px;
}

.footer__copy-text {
    color: #edc058;
    font-family: "M Plus 1p", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0.04em;
}

@media screen and (max-width: 1440px) {
    .footer {
        width: 100vw;
        background-color: #EDC058;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 3.889vw 0 0;
    }

    .footer__wrap {
        padding: 0;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 77.778vw;
    }

    .footer__left {
        display: flex;
        flex-direction: column;
        gap: 0.833vw;
        align-items: flex-start;
        justify-content: flex-start;
        flex-shrink: 0;
        width: 24.583vw;
        position: relative;
    }

    .footer__logo {
        flex-shrink: 0;
        width: 17.847vw;
        height: 2.778vw;
        position: relative;
        object-fit: cover;
    }

    .footer__text-wrap {
        display: flex;
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
        justify-content: flex-start;
        align-self: stretch;
        flex-shrink: 0;
        position: relative;
    }

    .footer__address {
        padding: 0.694vw 0.833vw 0.694vw 0.833vw;
        display: flex;
        flex-direction: row;
        gap: 0.694vw;
        align-items: flex-start;
        justify-content: flex-start;
        align-self: stretch;
        flex-shrink: 0;
        position: relative;
    }

    .footer__text {
        color: #ffffff;
        text-align: left;
        font-size: 1.111vw;
        line-height: 1.667vw;
        position: relative;
        flex: 1;
    }

    .footer__menu {
        display: flex;
        flex-direction: row;
        gap: 0;
        align-items: flex-end;
        justify-content: flex-start;
        flex-shrink: 0;
        position: relative;
    }

    .footer__menu-item {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0 1.111vw;   
        height: 2.778vw;
        position: relative;
    }

    .footer__menu-item:not(:first-child) {
        border-left: 1px solid white;
    }

    .footer__menu-text{
        color: #ffffff;
        text-align: center;
        font-size: 1.111vw;
        line-height: 18px;
        position: relative;
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
        text-decoration: none;
    }

    .footer__copy {
        background: #ffffff;
        width: 100vw;
        height: 3.75vw;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top :3.75vw;
    }

    .footer__copy-text {
        color: #edc058;
        font-size: 0.972vw;
        line-height: 100%;
        letter-spacing: 0.04em;
    }

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

        .footer {
            width: 100vw;
            background-color: #EDC058;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding: 8vw 0 0;
        }

        .footer__wrap {
            padding: 0;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            justify-content: space-between;
            width: 93.333vw;
            row-gap: 5.333vw;
        }

        .footer__left {
            display: flex;
            flex-direction: column;
            gap: 3.2vw;
            align-items: flex-start;
            justify-content: flex-start;
            flex-shrink: 0;
            width: 93.333vw;
            position: relative;
        }
.ssl {
margin: 0 auto;
}
        .footer__logo {
            flex-shrink: 0;
            width: 68.533vw;
            height: 10.667vw;
            position: relative;
            object-fit: cover;
        }

        .footer__text-wrap {
            display: flex;
            flex-direction: column;
            gap: 3.2vw;
            align-items: flex-start;
            justify-content: flex-start;
            align-self: stretch;
            flex-shrink: 0;
            position: relative;
        }

        .footer__address {
            padding: 2.667vw 3.2vw 2.667vw 0;
            display: flex;
            flex-direction: row;
            gap: 2.667vw;
            align-items: flex-start;
            justify-content: flex-start;
            align-self: stretch;
            flex-shrink: 0;
            position: relative;
        }

        .footer__text {
            color: #ffffff;
            text-align: left;
            font-size: 4.267vw;
            line-height: 6.4vw;
            position: relative;
            flex: 1;
        }

        .footer__menu {
            display: flex;
            flex-direction: column;
            gap: 4.267vw;
            align-items: flex-start;
            justify-content: flex-start;
            flex-shrink: 0;
            position: relative;
        }

        .footer__menu-item {
            display: flex;
            justify-content: flex-start;
            align-items: flex-start;
            padding: 0;
            height: unset;
            position: relative;
        }

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

        .footer__menu-text{
            color: #ffffff;
            text-align: left;
            font-size: 4.267vw;
            line-height: 4.8vw;
            text-decoration: none;
        }

        .footer__copy {
            background: #ffffff;
            width: 100vw;
            height: 14.4vw;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-top : 8vw;
        }

        .footer__copy-text {
            color: #edc058;
            font-size: 3.2vw;
            line-height: 100%;
            letter-spacing: 0.04em;
        }
    }
}

.sp-menu {
    display: none;
}

@media screen and (max-width: 500px) {
    .sp-menu {
        display: none;
        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);
    }

    .sp-menu.active {
        display: flex;
    }

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

    .sp-menu__text {
        color: #030303;
        font-size: 18px;
        font-family: "M Plus 1p", sans-serif;
        font-weight: bold;
        text-align: center;
    }

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

    .sp-menu__btn {
        background-color: #EDC058;
        color: white;
        width: 100%;
        height: 50px;
        display: flex;
        justify-content: center;
        align-items: center;
        text-decoration: none;
        font-size: 20px;
        font-family: "M Plus 1p", sans-serif;
        font-weight: bold;
    }
}