@charset "UTF-8";
/* ------------------
    共通設定
------------------ */
:root {
    /* コンテンツ幅 */
    --content-width: 1000px;
    /* 色 */
    --color-white: #F4F4F4;
    --color-black: #101010;
    --color-green: #24806E;
    --color-yellow: #FFD27A;
    /* 文字サイズ */
    --sp-midashi-font-size: 24px;
    --sp-sub-midashi-font-size: 20px;
    --sp-text-font-size: 14px;
    --pc-midashi-font-size: 32px;
    --pc-sub-midashi-font-size: 24px;
    --pc-text-font-size: 16px;
}

body {
    font-family: "Zen Kaku Gothic New", "Lato", sans-serif;
    font-size: var(--sp-text-font-size);
    letter-spacing: 0.1em;
    /* line-height: 1.8; */
    color: var(--color-black);
    background:var(--color-white);
}
@media (min-width: 768px) {
    body {
        font-size: var(--pc-text-font-size);
    }
}

/* ------------------
    共通パーツ
------------------ */
/* コンテンツ幅 */
.container {
    padding-left: 20px;
    padding-right: 20px;
    max-width: calc(var(--content-width) + 20px * 2);
}
@media (min-width: 768px) {
    .container {
        margin-left: auto;
        margin-right: auto;
    }
}


/* ロゴ */
.logo {
    width: fit-content;
}
.logo__img {
    height: 50px;
    width: 75px;

    img {
        height: 100%;
        object-fit: cover;
    }
}
@media (min-width: 768px) {
    .logo__img {
        height: 60px;
        width: 90px;
    }
}


/* 見出し */
.midashi {
    margin-bottom: 40px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}
.midashi__main {
    background:  linear-gradient(180deg, transparent 0%, transparent 55%, var(--color-yellow) 55%, var(--color-yellow) 100%);
    padding-left: 1em;
    padding-right: 1em;
    margin-bottom: 4px;
}
.midashi__main-text {
    display: inline-block;
    font-size: 24px;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--color-green);
    text-align: center;
}
.midashi__sub-text {
    font-size: 14px;
    color: var(--color-green);
    text-align: center;
}
@media (min-width: 768px) {
    .midashi {
        margin-bottom: 60px;
        margin-left: 0;
    }
    .midashi__main {
        margin-bottom: 8px;
    }
    .midashi__main-text {
        font-size: 28px;
    }
    .midashi__sub-text {
        font-size: 16px;
    }
}


/* ------------------
    ヘッダー
------------------ */
.header {
    padding-top: 10px;
    padding-bottom: 10px;
    width: 100%;
    height: 70px;

    display: flex;
    align-items: center;

    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
}
.header__container {
    padding-left: 20px;
    padding-right: 20px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* メニューボタン */
.header__menu-btn {
    width: 60px;
    height: 60px;
    border-radius: 9999px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    position: absolute;
    top: 0;
    right: 0;
}
.header__menu-btn-line {
    width: 40px;
    height: 2px;
    background-color: var(--color-green);
    border-radius: 10px;
    position: relative;
    transition: .5s ease;
}
.header__menu-btn-line::before,
.header__menu-btn-line::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background-color: var(--color-green);
    border-radius: 10px;
    transition: .5s ease;
}
.header__menu-btn-line::before {
    position: absolute;
    top: -14px;
    left: 0;
}
.header__menu-btn-line::after {
    position: absolute;
    top: 14px;
    left: 0;
}

/* ナビ */
.header__nav {
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    background:var(--color-green);
    color: var(--color-white);
    width: 100%;
    height: 100%;
    transform: translateX(100vw);
    transition: all 0.5s;

    position: fixed;
    z-index: -1;
    top: 0;
    left: 0;

    /* display: flex;
    align-items: center;
    justify-content: center; */
    border-bottom-left-radius: 30px ;
    text-align: center;
}
.header__nav-list {
    padding-top: 130px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.header__nav-item {
    width: 150px;
}
.header__nav-link {
    padding-top: 10px;
    padding-bottom: 10px;
    display: block;
    transition: all 0.5s;
}

/* メニューを開いたとき */
.open {
    overflow: hidden;
}
.open .header__menu-btn-line {
    background-color: transparent;
}
.open .header__menu-btn-line::before {
    top: 0;
    background: var(--color-white);
    transform: rotate(28deg);
}
.open .header__menu-btn-line::after {
    top: 0;
    background: var(--color-white);
    transform: rotate(-28deg);
}
.open .header__nav {
    transform: translateX(0);
}


@media (min-width: 768px) {
    .header__menu-btn {
        display: none;
    }
    .header {
        height: 90px;
    }
    .header__nav {
        position: static;
        transform: unset;
        background: unset;
    }
    .header__nav-list {
        padding-top: 0;
        flex-direction: row;
        justify-content: end;
        gap: 10px;
    }
    .header__nav-item {
        width: auto;
        color: var(--color-green);
    }
    .header__nav-link {
        padding: 4px 10px;
    }
    .header__nav-link:hover {
        text-decoration: underline;
    }
}


/* ------------------
    フッター
------------------ */
.footer {
    color: var(--color-white);
    background: var(--color-green);
    padding-top: 20px;
    padding-bottom: 20px;
    width: 100%;
}
.footer__content {
    display: flex;
    align-items: start;
    justify-content: space-between;
}
.footer__nav {
}
.footer__nav-list {
    display: flex;
    flex-direction: column;
    align-items: end;
    font-size: 16px;
    gap: 4px;
}
.footer__nav-link {
    padding-top: 8px;
    padding-bottom: 8px;
    display: block;
    color: var(--color-white);
    font-weight: bold;
    text-transform: uppercase;
}
.footer__copyright {
    margin-top: 40px;
    font-size: 12px;
    text-align: center;
    
    p {
        text-transform: uppercase;
    }
}
@media (min-width: 768px) {
    
    .footer {
        padding-top: 40px;
        padding-bottom: 40px;
        width: 100%;
    }
    .footer__nav-list {
        flex-direction: row;
        justify-content: end;
        align-items: center;
        font-size: 20px;
        gap: 20px;
    }
    .footer__nav-link {
        padding-top: 0;
        padding-bottom: 0;
        padding-left: 10px;
        padding-right: 10px;
    }
    .footer__copyright {
        margin-top: 40px;
        font-size: 14px;
    }
}