@charset "UTF-8";

/* ========================
common
========================= */
* {
    margin: 0;
    padding: 0;
}

html {
    font-size: 62.5%;
}

body {
    font-family:
        'noto sans JP',
        'Zen Kaku Gothic New',
        sans-serif;
    font-style: normal;
    color: #3f3f3f;
    background-color: #f5f5f5;
    line-height: 1.5;
    font-weight: 400;
}

main {
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    overflow: hidden;
}

.title {
    text-align: center;
    font-family: 'Playball';
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1;
    color: #4E9C6F;
    letter-spacing: 0.05em;
}

.title--ja {
    font-size: 2rem;
    font-family: 'Noto Sans JP';
    font-weight: 700;
    letter-spacing: 0.03em;
}

.section {
    position: relative;
}

/* .section::before {
    content: '';
    width: -webkit-fill-available;
    height: 9px;
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(180deg, rgba(78, 156, 111, 1) 0%, rgba(78, 156, 111, 1) 11%, rgba(245, 245, 245, 1) 11%, rgba(245, 245, 245, 1) 22%, rgba(78, 156, 111, 1) 22%, rgba(78, 156, 111, 1) 33%, rgba(245, 245, 245, 1) 33%, rgba(245, 245, 245, 1) 44%, rgba(78, 156, 111, 1) 44%, rgba(78, 156, 111, 1) 55%, rgba(245, 245, 245, 1) 55%, rgba(245, 245, 245, 1) 66%, rgba(78, 156, 111, 1) 66%, rgba(78, 156, 111, 1) 77%, rgba(245, 245, 245, 1) 77%, rgba(245, 245, 245, 1) 88%, rgba(78, 156, 111, 1) 88%, rgba(78, 156, 111, 1) 99%, rgba(245, 245, 245, 1) 99%);
    z-index: -1;
} */


.btn {
    max-width: 240px;
    font-size: 1.8rem;
    font-weight: 700;
    background-color: #4E9C6F;
    box-shadow: 4px 4px 4px 0 rgba(0, 0, 0, 0.25);
    padding: 10px 50px;
    margin: 56px auto 0;
    display: block;
    color: #3e3e3e;
    transition: 0.4s;
    cursor: pointer;
}

.btn img {
    width: 20px;
    margin-top: 1px;
}

.btn:hover {
    opacity: 0.5;
}

/* common pc */
@media screen and (min-width:1024px) {
    .title {
        font-size: 3.2rem;
    }

    .btn {
        margin: 120px auto 0;
    }
}

/* =======================
header
========================= */
.header {
    padding: 8px 4.2% 0;
    display: flex;
    justify-content: space-between;
    background-color: #4E9C6F;
    position: relative;
    align-items: center;
}

.header::after {
    content: '';
    background-image: url(../img/cp-header-sp.svg);
    background-repeat: no-repeat;
    background-size: contain;
    width: 102%;
    height: 112px;
    position: absolute;
    top: 98%;
    left: -1%;
    z-index: 10;
}

.header__topic,
.nav__topic {
    text-align: center;
    font-family: 'Wittgenstein';
    font-size: 2rem;
    font-weight: 700;
    color: #f5f5f5;
    letter-spacing: 0.03em;
}



.humburger__menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 30px;
    cursor: pointer;
    margin-bottom: 1px;
}

.humburger__menu span {
    display: block;
    width: 20px;
    height: 1px;
    background-color: #f5f5f5;
}

.humburger__menu span:nth-of-type(2) {
    display: block;
    margin-top: 6px;
    width: 20px;
    height: 1px;
    background-color: #f5f5f5;
}
.humburger__menu span:nth-of-type(3) {
    display: block;
    margin-top: 6px;
    width: 20px;
    height: 1px;
    background-color: #f5f5f5;
}

/* nav */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 100;
    transform: translateX(-100%);
    transition: 0.4s;
}

.nav.active {
    transform: translateX(0);
}

.nav__header {
    background-color: #4E9C6F;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 4.2%;
}

.nav__topic,
.close {
    color: #f5f5f5;
}

.nav__btn {
    position: relative;
}

.nav__btn span{
    display: block;
    width: 20px;
    height: 2px;
    transform: rotate(45deg);
    background-color: #f5f5f5;
    position: absolute;
    top: 0;
    right: 4.2%;
}

.nav__btn span:last-of-type{
    display: block;
    transform: rotate(-45deg);
    background-color: #f5f5f5;
}

.nav__list {
    background-color: #4E9C6F;
    padding: 40px 10%;
}

.nav__item {
    display: flex;
    height: 40px;
    margin: 16px auto 0;
    justify-content: space-between;
    align-items: center;
    color: #f5f5f5;
    font-size: 1.8rem;
    font-weight: 700;
    transition: 0.4s;
    cursor: pointer;
}

.nav__item:hover {
    background-color: #E0EBE2;
    color: #4E9C6F;
}

.navItem__content {
    width: 600px;
    height: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
}

.navItem__content span {
    margin-left: 8px;
}

.navItem__content img {
    margin-right: 8px;
}

.nav__item:first-of-type {
    margin-top: 0;
}

.page {
    margin-top: 56px;
    color: #3f3f3f;
    text-align: center;
    font-size: 1.6rem;

}

/* header&nav tablet 600px~ */
@media screen and (min-width: 600px) {
    .header {
        padding: 16px 9.7% 0;
        align-items: center;
    }

    .nav__item {
        max-width: 600px;
    }

    .header__topic,
    .nav__topic {
        font-size: 2.4rem;
    }
/* 
    .humburger__menu span,
    .humburger__menu span:nth-of-type(2),
    .humburger__menu span:nth-of-type(3) {
        height: 2px;
    } */

    .nav__header {
        padding: 24px 9.7% 12px;
    }

    .nav__btn span {
        right: 9.7%;
    }
}
/* header&nav 600px~ */

/* header pc */
@media screen and (min-width:1024px) {
    .header {
        padding: 16px 9.7% 0;
        align-items: baseline;
    }

    .header::after {
        background-image: url(../img/cp-header-pc.svg);
    }

    .header__topic {
        padding: 3px 0;
        font-family: 'Wittgenstein';
        font-size: 2.8rem;
        font-weight: 800;
    }

    .humburger__menu {
        display: none;
    }

    .nav {
        transform: translateX(0);
        z-index: 100;
        position: static;
        background: transparent;
        width: auto;
        height: auto;
    }

    .nav__header {
        display: none;
    }

    .nav__list {
        display: flex;
        background-color: transparent;
        padding: 5px 0;
        gap: 24px;
        justify-content: center;
    }

    .navItem__content {
        width: auto;
    }

    .navItem__content img {
        display: none;
    }

    .nav__item {
        margin: 0;
        padding: 0;
        background-color: transparent;
        font-size: 1.8rem;
        font-weight: 400;
        align-items: center;
    }

    .nav__item:hover {
        background-color: transparent;
    }

    .navItem__content span:hover {
        color: #E0EBE2;
    }

    .navItem__content {
        width: auto;
    }

    .navItem__content span {
        color: #f5f5f5;
        font-size: 1.6rem;
        margin-left: 0;
    }

    .page {
        margin-top: 120px;
    }
}
/* header pc 1440px~*/
@media screen and (min-width:1440px) {
    .nav__list {
        gap: 32px;
    }
}

/* =========================
footer
============================= */
.footer {
    position: relative;
    background-color: #4E9C6F;
    z-index: 10;
}

.footer::before {
    content: '';
    background-image: url(../img/cp-footer-sp2.svg);
    background-size: contain;
    width: 102%;
    height: 100%;
    background-repeat: no-repeat;
    position: absolute;
    top: -24px;
    left: -1%;
    z-index: -10;
}

.footer__group {
    padding: 48px 4.2% 16px;
}

.footer__topic {
    color: #f5f5f5;
    font-family: 'Wittgenstein';
    font-size: 2.8rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    height: fit-content;
}

.footer__topic:hover {
    opacity: 50%;
}

.sns {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

.sns a {
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    width: fit-content;
    height: 24px;
    color: #f5f5f5;
}

.sns a:hover {
    opacity: 50%;
}

.facebook__logo {
    width: 18px;
}

.link__logo {
    margin-left: 4px;
    width: 16px;
}

.youtube__logo {
    width: 24px;
}

.footer__nav {
    display: block;
}

.footerNav__content {
    display: flex;
    margin-top: 28px;
    justify-content: space-between;
}

.footerNav__item {
    margin-top: 16px;
    color: #f5f5f5;
    font-size: 1.6rem;
    line-height: 1;
    letter-spacing: 0.03em;
}

.footerNav__item:first-of-type {
    margin-top: 0;
}

.footerNav__item a:hover {
    opacity: 50%;
}

.online__btn,
.faq__btn {
    color: #4E9C6F;
    font-size: 1.6rem;
    font-weight: 700;
    background-color: #E0EBE2;
    padding: 8px 16px;
    display: block;
    width: 100%;
    text-align: center;
    border-radius: 12px;
    letter-spacing: 0.03em;
    transition: 0.4s;
    cursor: pointer;
}

.footer__btn {
    margin-top: 2px;
}

.faq__btn {
    margin-top: 16px;
}

.online__btn:hover,
.faq__btn:hover {
    background-color: #f5f5f5;
}

.copy {
    color: #f5f5f5;
    font-size: 1.4rem;
    text-align: center;
    margin-top: 40px;
}


/* footer tablet 425px~ */
@media screen and (min-width: 425px) {
    .footer::before {
        top: -32px;
    }
}

/* footer tablet 600px~ */
@media screen and (min-width: 600px) {
    .footer__group {
        padding: 80px 9.7% 32px;
    }
}

/* footer tablet 768px~ */
@media screen and (min-width: 768px) {
    .footer::before {
        top: -40px;
    }
}

/* footer pc 1024px */
@media screen and (min-width: 1024px) {
    .footer::before {
        background-image: url(../img/cp-footer-pc.svg);
        top: -28%;
    }

    .footer__group {
        padding: 72px 9.7% 64px;
    }
    
    .footer__topicNav {
        display: flex;
        justify-content: space-between;
    } 

    .footer__topic {
        line-height: 1;
        letter-spacing: 0.05em;
        font-size: 3.2rem;
    }

    .sns {
        gap: 16px;
        justify-content: end;
    }

    .sns a {
        font-size: 1.6rem;
        line-height: 1;
    }

    .facebook__logo {
        width: 20px;
    }

    .link__logo {
        width: 18px;
    }

    .youtube__logo {
        width: 29px;
    }

    .footer__nav {
        margin-top: 32px;
    }

    .footerNav__content {
        display: block;
    }

    .footerNav__list {
        display: flex;
        margin-top: 32px;
    }

    .footerNav__item {
        margin-top: 0;
    }

    .footerNav__item::after {
        content: '|';
        margin-left: 8px;
        margin-right: 8px;
    }

    .footerNav__item:last-of-type::after {
        display: none;
    }

    .footer__btn {
        display: flex;
        margin-top: 32px;
        gap: 16px;
    }

    .faq__btn {
        margin-top: 0;
    }

    .copy {
        margin-top: -16px;
        text-align: left;
    }

}

/* footer pc 1200px */
@media screen and (min-width: 1200px) {
    .footer::before {
        top: -40%;
    }
}

/* footer pc 1800px */
@media screen and (min-width: 1800px) {
    .footer::before {
        height: 120%;
        top: -56%;
    }
}


/* scrollTop */
.topBtn {
    display: block;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: #4E9C6F;
    box-shadow: 4px 4px 4px 0 rgba(0, 0, 0, 0.3);
    position: fixed;
    bottom: 1.4%;
    right: 1.4%;
    transition: 0.4s;
    cursor: pointer;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
}

.topBtn div {
    position: relative;
}

.topBtn svg {
    fill: #f5f5f5;
    display: block;
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    transition: 0.4s;
    cursor: pointer;
}

.topBtn p {
    color: #f5f5f5;
    font-size: 1.8rem;
    font-weight: 700;
    position: absolute;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    transition: 0.4s;
    cursor: pointer;
}

.topBtn.active {
    opacity: 1;
    visibility: visible;
}

.topBtn:hover {
    opacity: 0.5;
}
