
/* about */
#about{
    padding: 100px 0 0;
}
#about ._inner{
    padding-bottom: 120px;
    position: relative;
}
#about p{
    text-align: center;
}
#about::after{
    content: '';
    display: block;
    width: 100%;
    aspect-ratio: 2215/170;
    background: #D2E1AA;
    border-radius: 100% 100% 0 0;
    transform: translateY(1px);
}
.about-dec-left{
    width: 30%;
    position: absolute;
    bottom: -20%;
    left: 0;
    transform: translateX(-80%);
}
.about-dec-right{
    width: 30%;
    position: absolute;
    bottom: -20%;
    right: 0;
    transform: translateX(80%);
}
@media screen and (max-width: 768px) {
    .about-dec-left{
        display: none;
    }   
    .about-dec-right{
        display: none;
    }
}

/* お悩み */
#issue{
    background:linear-gradient(to bottom, #D2E1AA, #FCFAEE);
}
.issue-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 28px;
    justify-items: center;
    align-items: start;
    margin-bottom: 80px;
}
.issue-grid-item{
    width: 100%;
    border-radius: 7px;
    background: #F1F1F1;
    padding: 0 8px 24px 8px;
    box-sizing: border-box;
}
.issue-grid-dec{
    position: relative;
    width: fit-content;
    padding:0 16px;
    height: 30px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    background: #587401;
    border-radius: 50px;
}
.issue-grid-dec p{
    color: #F1F7EF;
}

.issue-grid-item > p{
    text-align: center;
    margin-bottom: 16px;
}
.issue-grid-item img{
    width: 80%;
    max-width: 160px;
    margin: 0 auto;
    display: block;
}
.issue-cta ._title{
    margin-bottom: 24px;
}
.issue-cta > p{
    text-align: center;
    margin-bottom: 40px;
}
.issue-cta-button{
    display: flex;
    gap: 24px;
    justify-content: center;
}
@media screen and (max-width: 768px) {
    .issue-cta-button{
        flex-direction: column;
    }
}
/* case */
#case{
    padding: 64px 0;

}
.case-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 56px;
    justify-items: center;
    align-items: stretch;
}
.case-grid-item{
    width: 100%;
    border-radius: 24px;
    background: #FFF;
    padding: 10px 32px 40px;
    box-sizing: border-box;
}
.case-grid-item-img{
    width: 100%;
    max-width: 400px;
    margin-bottom: 20px;
}
.case-cta ._btn-green{
    margin: 56px auto 0;
}
.case-gallery{
    width: 100vw;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    justify-items: center;
    align-items: start;
    padding: 0 2%;
    box-sizing: border-box;
    margin: 100px 0 80px;
}
.case-gallery-item{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media screen and (max-width: 768px) {
    .case-gallery{
        display: none;
    }
}
/* menu */
#menu{
    padding: 64px 0;
}

.menu-item{
    margin-bottom: 24px;
}

.menu-name{
    position: relative;
    cursor: pointer;
    user-select: none;
    transition: opacity 0.3s ease;
    padding: 24px 32px;
    box-sizing: border-box;
}
.menu-name::after{
    content: '';
    display: block;
    width: 32px;
    height: 14px;
    aspect-ratio: 16/7;
    background-image: url(../img/top/menu-arrow.webp);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    top: 50%;
    right: 24px;
    transform: translateY(-50%);
}
.menu-item:has(.active) .menu-name::after{
    transform: translateY(-50%) rotate(180deg);
}
.menu1 .menu-name{
    background: #587401;
}
.menu2 .menu-name{
    background: #6C8C0C;
}
.menu3 .menu-name{
    background: #80A317;
}
.menu-name-flex{
    display: flex;
    align-items: center;
    gap: 16px;
}
.menu-name-flex h3{
    color: #F1F7EF;
    /* H3 */
    -webkit-text-stroke-width: 0.3px;
    -webkit-text-stroke-color: #F1F7EF;
    font-family: "Hiragino Maru Gothic ProN";
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0.6px;
}

.menu-name-flex p{
    display: flex;
    align-items: center;
    gap: 8px;
}
.menu-name-flex p::before{
    content: '';
    display: block;
    width: 18px;
    height: 18px;
    background-image: url(../img/top/menu-time.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.menu-name p{
    color: #F1F7EF;
}

.menu-name:hover{
    opacity: 0.8;
}

.menu-content{
    display: none;
    padding: 16px;
    animation: fadeIn 0.3s ease;
    border-radius: 5px;
    background: #FFF;
    margin-top: 24px;
}

.menu-content.active{
    display: block;
}
.menu-content-flex{
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}
.menu-content-flex img{
    width: 100%;
    max-width: 140px;
    aspect-ratio: 1/1;
    object-fit: cover;
}
.menu-content-text{
    width: 100%;
}
.menu-content-text h4{
    color:  #587401;
    /* H3 */
    -webkit-text-stroke-width: 0.3px;
    -webkit-text-stroke-color: #587401;
    font-family: "Hiragino Maru Gothic ProN";
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0.6px;
}
.menu-content-text p{
    margin-top: 8px;
}
.menu-content-text-title{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.menu-content-text-title p{
    color: #587401;
    text-align: right;
    /* H3 */
    -webkit-text-stroke-width: 0.3px;
    -webkit-text-stroke-color:#587401;
    font-family: "Hiragino Maru Gothic ProN";
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0.6px;
    margin: 0;
}
.menu-content ._btn-yellow{
    width: 100%;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media screen and (max-width: 768px) {
    .menu-content-flex{
        flex-direction: column;
        align-items: left;
        gap: 16px;
    }
    .menu-content-flex-img{
        display: flex;
        align-items: center;
        gap: 16px;
    }
    .menu-content-flex-img-text{
        display: flex;
        flex-direction: column;
        align-items: left;
        gap: 16px;
    }
    .menu-name-flex .pc-only{
        display: none;
    }
    .menu-name-flex h3{
        font-size: 16px;
    }
    .menu-content-flex-img-text p:first-child{
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .menu-content-flex-img-text p:first-child::before{
        content: '';
        display: block;
        width: 18px;
        height: 18px;
        background-image: url(../img/menu-time-sp.svg);
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }
    .menu-content-flex-img-text p{
        color: #587401;
    }
    .menu-content-text{
        width: 100%;
    }
    .menu-content-text-title{
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}


/* flow */
#flow{
    padding: 64px 0;
    background: #D2E1AA;
}
.flow-grid{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    justify-items: center;
    align-items: start;
    margin-bottom: 40px;
}
.flow-grid-item{
    width: 100%;
}
.flow-grid-item h3{
    margin: 16px 0 8px;
    color:#587401;
    text-align: center;
    /* H3 */
    font-family: "Hiragino Maru Gothic ProN";
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0.6px;
}
.flow-grid-item p{
    color: #587401;
    text-align: center;
    /* P */
    font-family: "Hiragino Maru Gothic ProN";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0.48px;
}
.flow-button{
    display: flex;
    gap: 24px;
    justify-content: center;
}
@media screen and (max-width: 768px) {
    .flow-grid{
        grid-template-columns: repeat(1, 1fr);
        gap: 24px;
    }
    .flow-grid-item img{
        width: 50%;
        margin: 0 auto 24px;
        display: block;
    }
    .flow-grid-item h3{
        text-align: center;
        margin-bottom: 16px;
    }
    .flow-grid-item p{
        text-align: center;
    }
    .flow-button{
        flex-direction: column;
        gap: 16px;
    }
}


/* staff */
#staff{
    padding: 64px 0;
    position: relative;
}
#staff ._inner{
    max-width: 1080px;
}
#staff::after{
    content: '';
    display: block;
    width: 15%;
    aspect-ratio: 326/262;
    background-image: url(../img/top/staff-dec1.webp);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    transform: translate(-15%,-10%);
}
#staff::before{
    content: '';
    display: block;
    width: 15%;
    aspect-ratio: 326/262;
    background-image: url(../img/top/staff-dec2.webp);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    bottom: 0;
    right: 0;
    transform: translateX(15%);
}
.staff-flex{
    display: flex;
    align-items: center;
    gap: 40px;
}
.staff-flex-img{
    width: 30%;
}
.staff-flex-img img{
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    margin-bottom: 16px;
}
.staff-flex-img p{
    margin-bottom: 16px;
    text-align: center;
}
.staff-flex-img h3{
    margin-bottom: 16px;
    text-align: center;
    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;
}
.staff-flex-img h3 span{
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0.48px;
}
.staff-flex-text{
    width: 70%;
}
.staff-flex-text p{
    margin-bottom: 24px;
}
@media screen and (max-width: 768px) {
    #staff::after{
        display: none;
    }
    #staff::before{
        display: none;
    }
    .staff-flex{
        flex-direction: column;
        align-items: left;
        gap: 24px;
    }
    .staff-flex-img{
        width: 100%;
    }
    .staff-flex-img img{
        width: 50%;
        margin: 0 auto 16px;
        display: block;
    }
    .staff-flex-text{
        width: 100%;
    }
    .staff-flex-text p{
        text-align: left;
        margin-bottom: 16px;
    }
    .staff-flex-text h3{
        text-align: center;
        margin-bottom: 16px;
    }
    .staff-flex-text h3 span{
        font-size: 14px;
    }
}
/* faq */
#faq{
    padding: 64px 0;
}

.faq-list{
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2%;
}

.faq-list-item{
    margin-bottom: 16px;
}

.faq-question{
    cursor: pointer;
    user-select: none;
    transition: opacity 0.3s ease;
    padding: 24px 32px;
    background: #fff;
    border-radius: 5px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.faq-question::after{
    content: '';
    display: block;
    width: 24px;
    height: 24px;
    position: absolute;
    top: 50%;
    right: 24px;
    transform: translateY(-50%) rotate(0deg);
    background-image: url(../img/top/faq-arrow.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.active .faq-question::after{
    transform: translateY(-50%) rotate(180deg);
}
.faq-question:hover{
    opacity: 0.8;
}

.faq-question h3{
    color: #523116;
    font-family: "Hiragino Maru Gothic ProN";
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0.6px;
    padding-right: 40px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.faq-question h3::before{
    content: '';
    display: block;
    width: 30px;
    height: 30px;
    background-image: url(../img/top/faq-question.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.faq-answer{
    display: none;
    padding:0 24px 32px;
    background: #FFF;
    border-radius: 0 0 5px 5px;
    animation: fadeIn 0.3s ease;
}
.faq-answer::before{
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    margin: 0 auto 32px;
    background: #C9C9C9;
}

.faq-answer.active{
    display: block;
}

.faq-answer p{
    color: #523116;
    font-family: "Hiragino Maru Gothic ProN";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0.48px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.faq-answer p::before{
    content: '';
    display: block;
    width: 30px;
    height: 30px;
    background-image: url(../img/top/faq-answer.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

@media screen and (max-width: 768px) {
    .faq-list{
        padding: 0 2%;
    }
    .faq-question{
        padding: 16px 24px;
    }
    .faq-question h3{
        font-size: 16px;
    }
    .faq-answer{
        padding: 0 24px 24px;
    }
    .faq-answer p{
        font-size: 14px;
        width: 90%;
    }
    .faq-question h3{
        padding-left: 32px;
    }
    .faq-question h3::before{
        width: 20px;
        height: 20px;
        position: absolute;
        top: 50%;
        left: 16px;
        transform: translateY(-50%);
    }
    .faq-answer{
        position: relative;
    }
    .faq-answer p{
        padding-left: 32px;
    }
    .faq-answer p::before{
        position: absolute;
        top: 50%;
        left: 16px;
        transform: translateY(-50%);
        width: 20px;
        height: 20px;
    }
}