@charset "UTF-8";
/* 共通設定 ---------------------------------- */
section{
    scroll-margin-top: 170px;
}

/* page-title ------------------------------ */
.about #page-title::after{
    background-image: url(../img/about/title.webp);
}

/* overview -------------------------------- */
#overview{
    width: 100%;
    padding: 0 5%;
    margin-bottom: 40px;
}

#overview .card-wrap{
    width: 100%;
    max-width: 1280px;
    display: flex;
    gap: 5%;
    padding: 45px;
    margin: 0 auto;
}
#overview .card-wrap .info-wrap{
    width: 35%;
}
#overview .card-wrap .info-wrap h2{
    margin-bottom: 30px;
}

#overview .card-wrap .overview-list{
    width: 60%;
    border: 1px solid #D2B07B;
    padding: 20px 30px;
}
#overview .card-wrap .overview-list .item-wrap{
    width: 100%;
    min-height: 60px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #D2B07B;
}
#overview .card-wrap .overview-list .item-wrap:last-of-type{
    border-bottom: 0;
}
#overview .card-wrap .overview-list .item-wrap dt{
    width: 130px;
    font-size: 15px;
    padding-left: 60px;
    position: relative;
}
#overview .card-wrap .overview-list .item-wrap dt::before{
    content: "";
    width: 35px;
    height: 35px;
    background-size: contain;
    background-position: center;
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
}
#overview .card-wrap .overview-list .item-wrap:nth-of-type(1) dt::before{
    background-image: url(../img/about/overview-icon1.webp);
}
#overview .card-wrap .overview-list .item-wrap:nth-of-type(2) dt::before{
    background-image: url(../img/about/overview-icon2.webp);
}
#overview .card-wrap .overview-list .item-wrap:nth-of-type(3) dt::before{
    background-image: url(../img/about/overview-icon3.webp);
}
#overview .card-wrap .overview-list .item-wrap:nth-of-type(4) dt::before{
    background-image: url(../img/about/overview-icon4.webp);
}
#overview .card-wrap .overview-list .item-wrap:nth-of-type(5) dt::before{
    background-image: url(../img/about/overview-icon5.webp);
}
#overview .card-wrap .overview-list .item-wrap dd{
    width: calc(100% - 130px);
    border-left: 1px solid #D2B07B;
    padding-left: 10px;
}

/* function -------------------------------- */
#function{
    width: 100%;
    padding: 0 5%;
    margin-bottom: 40px;
}

#function .card-wrap{
    width: 100%;
    max-width: 1280px;
    display: flex;
    gap: 3%;
    padding: 45px;
    margin: 0 auto;
}

#function .card-wrap .img-wrap{
    width: 350px;
    height: 427px;
}
#function .card-wrap .img-wrap img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

#function .card-wrap .text-wrap{
    width: calc(100% - 350px - 3%);
}
#function .card-wrap .text-wrap > h2{
    margin-bottom: 30px;
}
#function .card-wrap .text-wrap > .main-info{
    width: 70%;
    margin-bottom: 50px;
}
#function .card-wrap .text-wrap > ul{
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 40px;
}
#function .card-wrap .text-wrap > ul li{
    width: calc((100% - 80px) / 3);
}
#function .card-wrap .text-wrap > ul li .icon-wrap{
    width: 70px;
    aspect-ratio: 1 / 1;
    margin: 0 auto 15px auto;
}
#function .card-wrap .text-wrap > ul li .icon-wrap img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}
#function .card-wrap .text-wrap > ul li > h3{
    font-size: 18px;
    text-align: center;
    margin-bottom: 15px;
}
#function .card-wrap .text-wrap > ul li > .description{
    font-size: 15px;
}

/* philosophy ------------------------------ */
#philosophy{
    width: 100%;
    padding: 0 5%;
    margin-bottom: 40px;
}

#philosophy .card-wrap{
    width: 100%;
    max-width: 1280px;
    padding: 45px;
    margin: 0 auto;
}

#philosophy .card-wrap .main-wrap{
    width: 100%;
    display: flex;
    margin-bottom: 30px;
}
#philosophy .card-wrap .main-wrap > h2{
    width: fit-content;
    margin-right: 40px;
}

#philosophy .card-wrap > ul{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
#philosophy .card-wrap > ul li{
    width: 100%;
    border-right: 1px solid #D2B07B;
    padding: 0 20px;
}
#philosophy .card-wrap > ul li:first-of-type{
    padding-left: 0;
}
#philosophy .card-wrap > ul li:last-of-type{
    border-right: 0;
    padding-right: 0;
}
#philosophy .card-wrap > ul li > .icon-wrap{
    width: 90px;
    aspect-ratio: 1 / 1;
    margin: 0 auto 10px auto
}
#philosophy .card-wrap > ul li > .icon-wrap img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}
#philosophy .card-wrap > ul li > h3{
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
}
#philosophy .card-wrap > ul li > .description{
    width: 100%;
}

/* theme ----------------------------------- */
#theme{
    width: 100%;
    padding: 0 5%;
    margin-bottom: 70px;
}

#theme .card-wrap{
    width: 100%;
    max-width: 1280px;
    display: flex;
    padding: 45px;
    margin: 0 auto;
}

#theme .card-wrap .text-wrap{
    width: 260px;
    margin-right: 3%;
}
#theme .card-wrap .text-wrap > h2{
    margin-bottom: 30px;
}

#theme .card-wrap > ul{
    width: calc(100% - 260px - 3%);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
#theme .card-wrap > ul li{
    width: 100%;
    padding: 0 15px;
    border-left: 1px solid #D2B07B;
}
#theme .card-wrap > ul li .img-wrap{
    width: 100%;
    max-width: 190px;
    height: 110px;
    margin: 0 auto 20px auto;
}
#theme .card-wrap > ul li .img-wrap img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#theme .card-wrap > ul li > h3{
    width: 100%;
    font-size: 16px;
    text-align: center;
    margin-bottom: 15px;
}
#theme .card-wrap > ul li .description{
    font-size: 15px;
}


/*-------------------------------------------
メインメニュー調整用
-------------------------------------------*/
@media screen and (max-width: 1277px) {

    /* 共通設定 ---------------------------------- */
    section{
        scroll-margin-top: calc(90px + 40px);
    }

}


/*-------------------------------------------
タブレット
-------------------------------------------*/
@media screen and (max-width: 960px) {

    /* overview -------------------------------- */
    #overview .card-wrap{
        flex-direction: column;
    }
    #overview .card-wrap .info-wrap{
        width: 80%;
        margin: 0 auto 40px auto;
    }
    #overview .card-wrap .info-wrap h2{
        text-align: center;
    }

    #overview .card-wrap .overview-list{
        width: 100%;
        padding: 10px 30px;
    }

    /* function -------------------------------- */
    #function .card-wrap{
        flex-direction: column;
        align-items: center;
    }

    #function .card-wrap .img-wrap{
        margin-bottom: 30px;
    }

    #function .card-wrap .text-wrap{
        width: 100%;
    }
    #function .card-wrap .text-wrap > h2{
        text-align: center;
    }
    #function .card-wrap .text-wrap > .main-info{
        width: 100%;
    }

    /* philosophy ------------------------------ */
    #philosophy .card-wrap .main-wrap{
        flex-direction: column;
    }
    #philosophy .card-wrap .main-wrap > h2{
        width: 100%;
        text-align: center;
        margin-bottom: 30px;
    }
    #philosophy .card-wrap .main-wrap > .main-info{
        width: 100%;
    }
    #philosophy .card-wrap .main-wrap > .main-info > br{
        display: none;
    }

    #philosophy .card-wrap > ul{
        grid-template-columns: repeat(2, 1fr);
    }
    #philosophy .card-wrap > ul li{
        margin: 15px 0;
    }
    #philosophy .card-wrap > ul li:nth-of-type(odd){
        padding-left: 0;
        border-right: 1px solid #D2B07B;
    }
    #philosophy .card-wrap > ul li:nth-child(even){
        border-right: 0;
        padding-right: 0;
    }

    /* theme ----------------------------------- */
    #theme .card-wrap{
        flex-direction: column;
    }

    #theme .card-wrap .text-wrap{
        width: 100%;
        margin-right: 0;
        margin-bottom: 55px;
    }
    #theme .card-wrap .text-wrap > h2{
        text-align: center;
    }

    #theme .card-wrap > ul{
        width: 100%;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 0;
    }
    #theme .card-wrap > ul li{
        padding: 0 25px;
    }

}

/*-------------------------------------------
スマホ
-------------------------------------------*/
@media screen and (max-width: 767px) {

    /* 共通設定 ---------------------------------- */
    section{
        scroll-margin-top: calc(60px + 40px);
    }

    /* page-title ------------------------------ */
    .about #page-title{
        height: 400px;
    }
    .about #page-title::after{
        background-image: url(../img/about/titleSP.webp);
    }

    /* overview -------------------------------- */
    #overview .card-wrap{
        align-items: center;
        padding: 45px 5vw;
    }
    #overview .card-wrap .info-wrap{
        width: 100%;
    }

    #overview .card-wrap .overview-list{
        padding: 0;
        border: 0;
    }
    #overview .card-wrap .overview-list .item-wrap{
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding: 20px 0;
    }
    #overview .card-wrap .overview-list .item-wrap:first-of-type{
        border-top: 1px solid #D2B07B;
    }
    #overview .card-wrap .overview-list .item-wrap:last-of-type{
        border-bottom: 1px solid #D2B07B;
    }
    #overview .card-wrap .overview-list .item-wrap dt{
        width: 100%;
        color: #AC8241;
        padding-left: 40px;
        margin-bottom: 20px;
    }
    #overview .card-wrap .overview-list .item-wrap dt::before{
        width: 30px;
        height: 30px;
        left: 0;
    }
    #overview .card-wrap .overview-list .item-wrap dd{
        width: 100%;
        border-left: 0;
        padding-left: 0;
    }

    /* function -------------------------------- */
    #function .card-wrap{
        padding: 30px 5vw;
    }

    #function .card-wrap .img-wrap{
        width: 100%;
        height: auto;
    }

    #function .card-wrap .text-wrap > ul{
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    #function .card-wrap .text-wrap > ul li{
        width: 100%;
    }

    #function .card-wrap .text-wrap > ul li > .description{
        width: 80%;
        margin: 0 auto;
    }

    /* philosophy ------------------------------ */
    #philosophy .card-wrap{
        padding: 45px 5vw;
    }

    #philosophy .card-wrap > ul{
        grid-template-columns: repeat(1, 1fr);
    }
    #philosophy .card-wrap > ul li{
        margin: 15px 0;
    }
    #philosophy .card-wrap > ul li:nth-of-type(odd){
        border-right: 0;
        padding-left: 20px;
    }
    #philosophy .card-wrap > ul li:nth-child(even){
        padding-right: 20px;
    }

    /* theme ----------------------------------- */
    #theme .card-wrap{
        padding: 45px 5vw;
    }

    #theme .card-wrap > ul{
        grid-template-columns: repeat(1, 1fr);
        gap: 40px 0;
    }
    #theme .card-wrap > ul li{
        width: 80%;
        padding: 0;
        border-left: 0;
        margin: 0 auto;
    }


}