html{
    margin: 0;
}
body{
    margin: 0;
    background: #FCFAEE;
}
img{
    width: 100%;
}
main{
    overflow-x: hidden;
}





/* 共通パーツ */
._btn-green,._btn-yellow{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 330px;
    height: 64px;
    border-radius: 40px;
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
    text-decoration: none;
}
._btn-green p,._btn-yellow p{
    color: #F1F7EF;
    text-align: center;
    -webkit-text-stroke-width: 0.3px;
    -webkit-text-stroke-color: #F1F7EF;
    font-family: "Hiragino Maru Gothic ProN";
    font-size: clamp(1rem, 0.879rem + 0.52vw, 1.5rem);
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0.72px;
}
._btn-green{
    background: #587401;
}
._btn-yellow{
    background: #F59D32;
}

._title{
    margin-bottom: 40px;
}
._title h2{
    color: #523116;
    text-align: center;
    /* H2 */
    font-family: "Hiragino Maru Gothic ProN";
    font-size: 28px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0.84px;
}

p{
    color: #523116;
    /* P */
    font-family: "Hiragino Maru Gothic ProN";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0.48px;
}

._inner{
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
}


/* ヘッダーナビゲーション スタイル */

.site-header {
    background-color:  #D2E1AA;
    position: fixed;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    height: 108px;
    z-index: 1000;
}
.header-logo{
    width: 30%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
}
.header-logo-img{
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40%;
    max-width: 160px;
    aspect-ratio: 1/1;
    border-radius: 0 0 16px 0;
    background: #D2E1AA;
}
.header-logo-img img{
    width: 80%;
}
.header-logo-text{
    padding-left: 160px;
}
.header-logo-text p{
    color: #587401;
    -webkit-text-stroke-width: 0.3px;
    -webkit-text-stroke-color: #587401;
    font-family: "Hiragino Maru Gothic ProN";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0.66px;
    white-space: nowrap;
}
.header-logo a {
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    color: #333;
}

.main-navigation {
    position: relative;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    z-index: 1001;
}

.menu-toggle-line {
    width: 100%;
    height: 2px;
    background-color: #587401;
    border-radius: 16px;
    transition: all 0.3s ease;
    transform-origin: center;
    position: absolute;
}

.menu-toggle {
    position: relative;
}

.menu-toggle-line:nth-child(1) {
    top: 0;
}

.menu-toggle-line:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.menu-toggle-line:nth-child(3) {
    bottom: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0 40px 0 0;
}

.nav-menu li a{
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 12px;
    position: relative;
}
.nav-menu li:last-child a{
    margin-left: 40px;
}
.nav-menu li:last-child a::before{
    display: none;
}
.nav-menu li:last-child a p{
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav-menu li:last-child a p::after{
    content: '';
    display: block;
    background-image: url(../img/arrow-up-box-icon.webp);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 16px;
    height: 16px;
}
.nav-menu li a::before{
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: block;
    width: 1px;
    height: 70%;
    background-color: #222720;
}

.nav-menu a {
    color: #222720;
    font-family: "Hiragino Maru Gothic ProN";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0.48px;
    text-decoration: none;
    white-space: nowrap;
}
.nav-menu .nav-menu-icon{
    width: 20px;
    aspect-ratio: 1/1;
}
.nav-menu a:hover {
    color: #587401;
}

.nav-menu .nav-menu-button{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    width: 217px;
    background: #587401;
    color: #fff;
    font-family: "Hiragino Maru Gothic ProN";
    font-size: clamp(1rem, 0.879rem + 0.52vw, 1.5rem);
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    border-radius: 40px;
    letter-spacing: 0.48px;
    text-decoration: none;
    border: none;
}

/* タブレットサイズ以下 */
@media screen and (max-width: 1500px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: #fff;
        flex-direction: column;
        padding: 5rem 2rem 0;
        box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        gap: 0;
        overflow-y: auto;
    }
    .menu-toggle{
        margin-right: 40px;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li a {
        padding: 16px 0;
    }
    .nav-menu li:last-child a{
        padding-left: 0;
        margin-left: 0;
    }
    .nav-menu li:last-child a p{
        margin-bottom: 80px;
    }
    .nav-menu li a::before{
        height: 1px;
        width: 100%;
        top: auto;
        bottom: 0;
        left: 0;
        transform: translateY(0);
    }
    .nav-menu li a.nav-menu-button::before{
        display: none;
        margin-left: auto;
        margin-right: auto;
    }

    .nav-menu a {
        padding: 1rem 0;
        font-size: 1.1rem;
    }
    .nav-menu .nav-menu-button{
        width: 100%;
        margin: 40px auto 0;
        padding: 0;
    }

    /* ハンバーガーメニューが開いた時のアイコンアニメーション（×ボタン） */
    .menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(1) {
        background-color: #fff;
        top: 50%;
        transform: translateY(-50%) rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(2) {
        opacity: 0;
        transform: translateY(-50%) scaleX(0);
    }

    .menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(3) {
        bottom: auto;
        top: 50%;
        background-color: #fff;
        transform: translateY(-50%) rotate(-45deg);
    }
}


/* mv */
.mv{
    width: 100%;
    height: 100svh;
    background: #D2E1AA;
    padding: 40px;
    box-sizing: border-box;
}
.mv-bg{
    width: 100%;
    height: 100%;
    background-image: url(../img/mv-bg.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-sizing: border-box;
    position: relative;
}
.mv-text{
    position: absolute;
    left: 40px;
    bottom: 40px;
    width: 100%;
    border-radius: 0 0 16px 16px;
    padding: 0 4%;
}
.mv-text h1{
    color: #587401;
    -webkit-text-stroke-width: 2.5px;
    -webkit-text-stroke-color: #587401;
    font-family: "Hiragino Maru Gothic ProN";
    font-size: clamp(2rem, 1.515rem + 2.07vw, 4rem);
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    /* letter-spacing: ; */
    margin-bottom: 40px;
}
.mv-text h1 span{
    font-size: clamp(1.5rem, 1.379rem + 0.52vw, 2rem);
}
.mv-text-button{
    display: flex;
    gap: 20px;
}



footer{
    background: #587401;
    padding: 80px 0 32px;
}
footer .nav-menu {
    justify-content: center;
}
footer .nav-menu li{
    padding: 0 2%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}
/* footer .nav-menu li:last-child{
    padding: 0 2%;
} */
footer .nav-menu li a{
    color: #F1F7EF;
}
footer .nav-menu li:last-child a{
    margin-left: 0;
}
.footer-flex{
    width: 90%;
    margin: 0 auto 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-flex-text{
    width: 50%;
}
.footer-flex-text h3{
    color: #F1F7EF;
    font-size: 24px;
    font-family: "Hiragino Maru Gothic ProN";
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 24px;
}
.footer-flex-text p{
    color: #F1F7EF;
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 16px;
}
.footer-flex-map{
    width: 50%;
    aspect-ratio: 16/9;
    border-radius: 16px;
    overflow: hidden;
}
.footer-flex-map iframe{
    width: 100%;
    height: 100%;
}
footer .nav-menu li{
    position: relative;
}
footer .nav-menu li::before{
    background: #F1F7EF;
    height: 48px;
    width: 1px; 
    top: 0;
    left: 0;
    transform: translateY(0);
    position: absolute;
    content: '';
    z-index: 1;
    display: block;
}
footer .nav-menu li:last-child::after{
    background: #F1F7EF;
    height: 48px;
    width: 1px; 
    top: 0;
    right: 0;
    transform: translateY(0);
    position: absolute;
    content: '';
    z-index: 1;
    display: block;
}
footer .nav-menu li a::before{
    display: none;
}

.footer-copyright p{
    text-align: center;
    color: #F1F7EF;
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0.42px;
    margin-top: 24px;
}
.sp-only{
    display: none;
}
/* モバイルサイズ */
@media screen and (max-width: 768px) {
    .sp-only{
        display: block;
    }
    .pc-only{
        display: none;
    }
    ._inner{
        width: 90%;
    }
    ._btn-green, ._btn-yellow{
        width: 100%;
    }
    .header-container {
        padding: 1rem;
        height: 60px;
    }

    .header-logo a {
        font-size: 1.2rem;
    }

    .nav-menu {
        width: 50%;
        background: rgba(135, 159, 69, 0.95);
    }
    .nav-menu a{
        color: #F1F7EF;
        padding: 0;
    }
    .header-logo-img{
        width: 30%;
    }
    .nav-menu li::before{
        background: #F1F7EF;
        width: 50%;
        left:50%;
        transform: translateX(-50%);
    }
    .header-logo-text{
        padding-left: 30vw;
    }
    .header-logo-text p{
        font-size: 14px;
    }
    .menu-toggle{
        margin-right: 24px;
    }
    .nav-menu .nav-menu-button{
        background: #F1F7EF;
        color: #587401;
    }
    .nav-menu li:last-child p{
        color: #F1F7EF;
        font-size: 14px;
    }
    .nav-menu li:last-child p::after{
        width: 14px;
    }

    ._btn-green p, ._btn-yellow p{
        font-size: 24px;
    }
    .mv{
        margin-top: 40px;
        padding:16px;
        max-height: 800px;
        height: 100svh;
    }
    .mv-text{
        left: 0;
        bottom: 0;
        padding: 16px;
        box-sizing: border-box;
    }
    .mv-bg{
        background-position: 70% 20%;
        background-image: url(../img/mv-bg-sp.webp);
    }
    .mv-text h1{
        font-size: clamp(1.875rem, 1.279rem + 2.54vw, 2.5rem);
        -webkit-text-stroke-width: 1.5px;
    }
    .mv-text h1 span{
        font-size: 18px;
    }
    .mv-text-button{
        flex-direction: column;
    }

    footer{
        padding: 40px 0 24px;
    }
    .footer-flex{
        flex-direction: column;
        gap: 24px;
    }
    .footer-flex-text{
        width: 100%;
    }
    .footer-flex-map{
        width: 100%;
    }
    .footer-flex-map iframe{
        width: 100%;
    }
    footer .nav-menu li:last-child{
        margin-bottom: 40px;
    }
    footer .nav-menu li:last-child p{
        font-size: 12px;
    }
    footer .nav-menu li:last-child p::after{
        width: 12px;
    }
}

@media screen and (max-width: 480px) {
    /* .header-logo-text{
        padding-left: 25vw;
    } */
}

