/* ===================== */
/* base */
/* ===================== */

html {
    font-size: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    width: 100%;
}

body {
    color: var(--colorBlack);
    font-family: var(--familyNotoSans);
    font-size: var(--16px);
    font-weight: 400;
    line-height: 1.5;
    width: 100%;
}

h1,
h2 {
    line-height: 1;
}

h3,
h4,
h5,
h6,
p {
    line-height: 1.5;
}

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

    body,
    p {
        line-height: 1.8;
    }
}

a {
    color: inherit;
    display: block;
}

a:hover,
a:focus {
    opacity: 0.7;
}

/* iPhone画面下対応 */
html,
body {
    height: 100%;
}

.mainvisual {
    height: 100vh;
}

.section {
    padding: 100px 0;
}

.font-en {
    font-family: var(----familyRoboto);
}

summary {
    list-style: none;
    cursor: pointer;
}

/* safari用 */
summary::-webkit-details-marker {
    display: none;
}

.heading {
    margin-bottom: 70px;
    text-align: center;
}

.heding__title {
    font-size: var(--fontMax62Min32);
}

.heding__subtitle {
    font-size: var(--fontMax18Min16);
}

@media screen and (max-width: 767px) {
    .section {
        padding: 50px 0;
    }

    .heading {
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 430px) {
    .heding__title {
        font-size: var(--32px);
    }

    .heding__subtitle {
        font-size: var(--16px);
    }
}

/* ===================== */
/* コンテンツ幅 */
/* ===================== */
.container {
    margin: 0 auto;
    max-width: 1080px;
}

.container1440 {
    margin: 0 auto;
    max-width: 1440px;
}

.container1120 {
    margin: 0 auto;
    max-width: 1120px;
}

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

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

    .container,
    .container1120,
    .container900 {
        padding: 0 20px;
    }
}

/* ===================== */
/* ヘッダー */
/* ===================== */
.header {
    background-color: var(--colorWhite);
    height: 80px;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.header__inner {
    align-items: center;
    display: flex;
    height: inherit;
    justify-content: space-between;
    padding: 0 30px;
}

.headerLogo {
    max-width: 200px;
    position: relative;
    z-index: 1001;
}

.headerNav {
    align-items: center;
    display: flex;
    gap: 10px;
}

.headerNav__list {
    align-items: center;
    display: flex;
    /* gap: 10px; */
}

.nav__item a {
    display: block;
    font-size: 14px;
    padding: 15.5px 15px;
}

.headerToggle {
    background-color: var(--colorWhite);
    border: none;
    cursor: pointer;
    display: none;
    height: 44px;
    position: relative;
    width: 44px;
    z-index: 1001;
}

.headerToggle span {
    background-color: var(--colorBlack);
    display: inline-block;
    height: 2px;
    position: absolute;
    transition: transform 0.2s;
    width: 30px;
}

.headerToggle span:first-of-type {
    left: 7px;
    top: 18px;
}

.headerToggle span:nth-of-type(2) {
    left: 7px;
    top: 26px;
}

.headerToggle.is-open span:first-of-type {
    top: 25.31px;
    transform: rotate(45deg);
}

.headerToggle.is-open span:nth-of-type(2) {
    top: 25.31px;
    transform: rotate(-45deg);
}






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

    .headerNav__list {
        display: none;
    }
}

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

    .headerNav__login,
    .headerNavButton__wrapper {
        display: none;
    }
}

.toggleMenu {
    background-color: var(--colorWhite);
    height: 100vh;
    left: 0;
    opacity: 0;
    overflow-y: scroll;
    padding-top: 80px;
    position: fixed;
    top: 0;
    transform: translateX(105%);
    transition: all 0.6s;
    width: 100%;
    z-index: 999;
}

.toggleMenu.is-open {
    opacity: 1;
    transform: translateX(0);
    /* border-radius: 0; */
}

body.is-open {
    overflow: hidden;
}

.toggleMenu__inner {
    padding: 0 20px;
}

.toggleMenu__list {
    padding: 20px;
    text-align: center;
}

.toggleMenu__item a {
    padding: 12px;
    width: 100%;
}

.toggleMenu__item:hover,
.toggleMenu__item:focus {
    background-color: var(--color-bgGray);
}


.toggleMenu__button+.toggleMenu__button {
    margin-top: 20px;
}

/* ===================== */
/* フッター */
/* ===================== */
.footer {
    padding: 30px 0;
    background-color: var(--colorBlack);
    color: #fff;
}
.footer__inner {
    max-width: 1340px;
    margin: 0 auto;
    padding: 16px;
}
.footer__contents {
    display: flex;
    justify-content: space-between;

}
.footerNav {
    flex: 1;
    /* display: flex; */

}
.footerNav__list {
    display: flex;
    gap: 10px;
}
.footerNav__login {
    position: relative;
}
.footerNav__login::before {
    content: "";
    background-color:#fff;
    width: 1px;
    height: 20px;
    position: absolute;
    left: 0%;
    top: 50%;
    transform: translate(-50%, -50%);
}
.footerLogo {
    flex: 0 1  12.836%;
}
.footerLogo img {
    max-width: 172px;
    width: 100%;
}
.copyright {margin-top: 10px;}

@media screen and (max-width: 767px) {
    .footer__contents {
        display: block;
    }
    .footerNav__list {
        justify-content: center;
        gap: 0;
        flex-wrap: wrap;
    }
    .footerNav__list + .footerNav__list {
        margin-top: 20px;
    }
    .footerNav__list .nav__item a {
        padding: 0 15px;
    }
    .footerLogo {
        display: none;
    }
    .copyright {margin-top: 20px;}

}