@charset "utf-8";
/*------------------------------------------------------------
    graduation css
------------------------------------------------------------*/

#grad-Wrap{
    width:100%;
    overflow:hidden;
}

.grad-Visual{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width:100%;
    height:650px;
    gap:36px;
    color:#fff;
    text-align: center;
    margin-bottom:70px;
    overflow:hidden;
    position:relative;
    box-sizing:border-box;
    background:url(/img/graduation/fv_pc.jpg) no-repeat 50% 50%;
    background-size:cover;
}

.grad-Visual__ttl{
    font-weight: bold;
    line-height: .9;
    font-size: 64px;
}

.grad-Visual__en{
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    line-height: .9;
    letter-spacing: .1em;
}

.section{ padding-top:100px;}

.sectionHd{
    color:#333;
    font-size:21px;
    font-weight:bold;
    text-align:center;
    position:relative;
}

.sectionHd:after{
    display:block;
    content:"";
    width:260px;
    height:1px;
    background:#333;
    margin:15px auto 0;
}

.sectionHd:before{
    display:block;
    content:"";
    width:12px;
    height:12px;
    background:#fff;
    border-right:1px solid #333;
    border-bottom:1px solid #333;
    position:absolute;
    left:50%;
    bottom:-7px;
    transform:rotate(45deg) translate3d(-50%, 5px, 0);
}

.sectionTxt{
    text-align:center;
    line-height:1.7;
    font-size:12px;
    color:#333;
    letter-spacing: .2em;
    margin:20px 0 50px;
}

.grad-txt{
    text-align: center;
    font-size: 20px;
    letter-spacing: .05em;
    font-weight: bold;
    line-height: 1.75;
}

/*------------------------------------------------------------
    商品カテゴリ
------------------------------------------------------------*/

.grad-cateList{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width:100%;
    gap:20px;
}

.grad-cateList li{
    display: flex;
    width:calc(25% - 15px);
}

.grad-cateList a{
    display: flex;
    flex-direction: column;
    width: 100%;
}

.grad-cateList__img{
    width:100%;
    position: relative;
}

.grad-cateList__img img{
    border-radius:6px 6px 0 6px;
}

.grad-cateList__img::before{
    content:"";
    width:calc(35/270*100%);
    aspect-ratio: 1;
    background: url(/img/graduation/icon-cate.svg) no-repeat 50%;
    background-size: cover;
    border-radius:6px 0 0 0;
    position: absolute;
    right:-1px;
    bottom:-1px;
}

.grad-cateList__ttl{
    font-size: 18px;
    line-height: 1.2;
    font-weight: bold;
    margin-top: 18px;
    color:#333;
}

.grad-cateList__txt{
    font-size: 12px;
    line-height: 1.75;
    padding-top: 10px;
    color:#666666;
}


/*------------------------------------------------------------
    CATEGORY DETAIL
------------------------------------------------------------*/

.grad-cateWrapper{
    display: flex;
    flex-direction: column;
    gap:140px;
    margin-top: 80px;
}

.grad-cate{
    display: flex;
    gap:60px;
}

.grad-cate__main{
    width:410px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.grad-cate__txtfield{
    width:100%;
    padding:90px 74px 54px 0;
    box-sizing: border-box;
    position: relative;
    z-index: 10;
}

.grad-cate__bg{
    width:calc(100% + (50vw - 570px));
    min-width: 672px;
    height: 100%;
    position: absolute;
    right:0;
    top:0;
    z-index: -1;
}

.grad-cate__bg img{
    width:100%;
    height: 100%;
    object-fit: cover;
}

.grad-cate__head{
    display: flex;
    flex-direction: column;
    gap:24px;
    color:#333;
}

.grad-cate__head-subttl{
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
    font-size: 36px;
    line-height: .9;
}

.grad-cate__head-ttl{
    font-size: 18px;
    font-weight: bold;
    line-height: 1.2;
}

.grad-cate__txt{
    color:#666;
    font-weight: 500;
    line-height: 1.7;
    margin-top: 26px;
}

.grad-cate__btn{
    margin-top: 36px;
}

.grad-cate__btn a{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding:.1em 18px 0;
    width:100%;
    height: 40px;
    color:#3e3a39;
    font-size: 16px;
    border-radius:20px;
    box-sizing: border-box;
    border:1px solid #231815;
    transition: background .2s ease-out, color .2s ease-out;
}

.grad-cate__btn a:hover{
    color:#fff;
    background-color: #231815;
}

.grad-cate__items{
    width:calc(100% - 470px);
    padding-top: 36px;
}


/*------------------------------------------------------------
    SWIPER
------------------------------------------------------------*/

.swiper-container{
    position: relative;
}

.swiper-prev{
    width:42px;
    aspect-ratio: 1;
}

.swiper-next,
.swiper-prev{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    aspect-ratio: 1;
    position: absolute;
    top:50%;
    translate: 0 -50%;
    cursor: pointer;
    border:1px solid #999;
    background-color: #fff;
    box-sizing: border-box;
    border-radius: 50%;
    transition: all .2s ease-out;
    z-index: 100;
}

.swiper-next{ right: -76px;}
.swiper-prev{ left: -76px;}

.swiper-next:hover,
.swiper-prev:hover{
    background-color: #333;
    border-color: #333;
}

.swiper-next .cls-1,
.swiper-prev .cls-1{
    fill:none;
    stroke:#333;
    stroke-miterlimit:10;
    stroke-width:2px;
}

.swiper-next:hover .cls-1,
.swiper-prev:hover .cls-1{ stroke: #fff;}

.swiper-prev.swiper-button-disabled,
.swiper-next.swiper-button-disabled{
    background-color: #F7F7F7;
    border-color:#ccc;
}

.swiper-prev.swiper-button-disabled .cls-1,
.swiper-next.swiper-button-disabled .cls-1{ stroke: #999;}

.swiper-pager.swiper-pagination-lock,
.swiper-prev.swiper-button-lock,
.swiper-next.swiper-button-lock{ display: none;}

.swiper-pager{
    width:100%;
    gap:20px;
    margin-top: 48px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    font-size: 12px;
    font-weight: 500;
}

.swiper-pager span{
    font-size: 14px;
}


/*------------------------------------------------------------
    FAQ
------------------------------------------------------------*/

.grad-faq{
    display: flex;
    flex-direction: column;
    gap:90px;
    margin-top: 70px;
}

.grad-faq__title{
    font-size: 18px;
    font-weight: bold;
    line-height: 1.3;
    padding-left: 40px;
    margin-bottom:20px;
}

.p-cat-faq{
    width:100%;
    padding:40px;
    background-color: #F8F8F8;
    border-radius:8px;
    box-sizing: border-box;
}

.p-cat-faq__item + .p-cat-faq__item{
    margin-top:24px;
    padding-top: 24px;
    border-top:1px solid #eee;
}

.p-cat-faq__item dt a{
    display: block;
    width:100%;
    color:#333;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.25;
    padding-inline: 60px;
    box-sizing: border-box;
    position: relative;
}

.p-cat-faq__item dt a::before{
    display:block;
    content:"";
    width:16px;
    height:2px;
    background:#333;
    position:absolute;
    right:0;
    top:13px;
}

.p-cat-faq__item dt a:not(.selected)::after{
    display:block;
    content:"";
    width:2px;
    height:16px;
    background:#333;
    position:absolute;
    right:7px;
    top:6px;
}

.p-cat-faq__item dt span{
    color:#333;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: .2em;
    font-family: "Poppins", sans-serif;;
    line-height: .9;
    position: absolute;
    left: 0;
    top:0;
}

.p-cat-faq__item dd{
    display:none;
    width:auto;
    color:#666;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.25;
    padding:24px 40px 24px 76px;
    background:#fff;
    margin:16px 60px 0;
    position:relative;
    box-sizing: border-box;
}

.p-cat-faq__item dd span{
    color:#999;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: .2em;
    font-family: "Poppins", sans-serif;;
    line-height: .9;
    position: absolute;
    left: 30px;
    top:16px;
}

.p-cat-faq__item dd p a{
    color:#666;
    text-decoration: underline;
}

.p-cat-faq__item dd p a[href^="tel:"] {
    text-decoration: none;
}

/*------------------------------------------------------------
    MediaQuery
------------------------------------------------------------*/


/* TABLET */

@media screen and (min-width: 789px){

    .section + .section{ padding-top:120px;}

    .grad-cate__txtfield::before{
        content:"";
        width:calc(100% + 60px);
        height: 100%;
        position: absolute;
        top:0;
        right:0;
        background-color: #fff;
        z-index: -1;
    }

    .grad-cate:nth-child(even){
        flex-direction: row-reverse;
    }

    .grad-cate:nth-child(even) .grad-cate__bg{
        right:auto;
        left: 0;
    }

    .grad-cate:nth-child(even) .grad-cate__txtfield{
        padding:90px 26px 54px 48px;
    }

    .grad-cate:nth-child(even) .grad-cate__txtfield::before{
        right:auto;
        left: 0;
    }

}


@media screen and (max-width: 788px){

    .grad-txt{
        font-size: 16px;
    }

    .grad-Visual{
        height:492px;
        margin-bottom:50px;
    }

    .grad-Visual__ttl{
        font-size: calc(64px*.8);
    }

    .grad-Visual__en{
        font-size: calc(24px*.8);
    }

    .section{ padding-top:80px;}

    .sectionHd{ font-size:18px;}
    .sectionHd:after{ width:220px;}
    .sectionTxt{ margin-bottom:40px;}

    /* CATEGORY */
    .grad-cateList{
        gap:12px;
    }

    .grad-cateList li{
        width:calc(25% - 9px);
    }

    .grad-cateList__ttl{
        font-size: 14px;
        margin-top: 14px;
    }

    .grad-cateList__txt{
        font-size: 11px;
        padding-top: 8px;
    }


    /* CTEGORY DETAIL */
    .grad-cate{
        align-items: flex-start;
        flex-direction: column;
        gap:40px;
    }

    .grad-cate__main{
        width:100%;
        padding:190px 5px 0;
        box-sizing: border-box;
    }

    .grad-cate__txtfield{
        width:100%;
        padding:28px 20px 0;
        background-color: #fff;
        box-sizing: border-box;
    }

    .grad-cate__bg{
        width:calc(100% + 30px);
        min-width: auto;
        height: calc(100% - 20px);
        right:-15px;
    }

    .grad-cate__items{
        width:100%;
        padding-top: 0;
    }

    .grad-cate__items .swiper{
        margin-inline:-15px;
        padding-inline: 20px;
        margin-right: -60px;
        padding-right: 60px;
    }

    .grad-cate__btn{
        width:100%;
        max-width: 240px;
        display: flex;
        justify-content: center;
        margin: 0 auto;
    }

    .grad-cate__btn a{
        font-size: 14px;
        font-weight: bold;
        height: 36px;
    }

    .grad-cateWrapper{
        gap:100px;
        margin-top: 60px;
    }

    /* SWIPER */
    .swiper-footer{
        width:100%;
        display: flex;
        align-items: center;
        justify-content: center;
        gap:24px;
    }

    .swiper-next,
    .swiper-prev{
        margin-top: 32px;
        position: static;
        translate:0;
    }

    .swiper-next svg,
    .swiper-prev svg{
        width:6px;
        height: auto;
    }

    .swiper-pager{
        width:auto;
        margin-top: 32px;
    }

    .swiper-pager.swiper-pagination-lock{
        display: none;
    }


    /* FAQ */
    .grad-faq{
        gap:60px;
        margin-top: 50px;
    }

    .grad-faq__title{
        font-size: 16px;
        line-height: 1.5;
        padding-left: 10px;
    }

    .p-cat-faq{
        width:auto;
        padding: 30px 15px;
        margin-inline:-15px;
        border-radius:0;
    }

    .p-cat-faq__item dt a,
    .p-cat-faq__item dd{
        font-size: 14px;
    }

    .p-cat-faq__item dt span{
        left: 10px;
    }

    .p-cat-faq__item dd{
        margin-inline:0;
        padding-left: 60px;
    }

    .p-cat-faq__item dd span{
        left: 10px;
    }
}

/* SP */
@media screen and (max-width: 560px){

    .grad-Visual{
        height:calc(100vw * (380 / 375));
        gap:calc(100vw * (18 / 375));
        margin-bottom:40px;
        background-image: url(/img/graduation/fv_sp.jpg);
    }

    .grad-Visual__ttl{
        font-size: calc(100vw * (33.21 / 375));
    }

    .grad-Visual__en{
        font-size: calc(100vw * (12.45 / 375));
    }

    .section{ padding-top:60px;}

    .sectionHd{
        font-size:134%;
        letter-spacing:.1em;
        line-height: 1.4;
    }

    .sectionHd:before{
        width:8px;
        height:8px;
        bottom:-4px;
    }

    .sectionHd:after{
        width:150px;
        margin-top:10px;
    }

    .sectionTxt{
        margin:12px 0 30px;
    }


    /* CATEGORY */
    .grad-cateList{
        gap:20px;
        flex-wrap: wrap;
    }

    .grad-cateList li{
        width:calc(50% - 10px);
    }

    .grad-cateList__ttl{
        font-size: 12px;
        margin-top: 14px;
    }

    .grad-cateList__txt{
        font-size: 10px;
        padding-top: 8px;
        line-height: 1.4;
    }

    .grad-cateList__img::before{
        width:calc(24/160*100%);
    }

    .grad-cateWrapper{
        gap:60px;
        margin-top: 40px;
    }

    /* CATEGORY DETAIL */
    .grad-cate__head{
        gap:14px;
    }

    .grad-cate__head-subttl{
        font-size: 28px;
    }

    .grad-cate__head-ttl{
        font-size: 16px;
    }

    .grad-cate__txt{
        font-size: 12px;
        line-height: 1.66;
        margin-top: 16px;
    }


    /* FAQ */
    .grad-faq{
        gap:40px;
        margin-top: 46px;
    }

    .grad-faq__title{
        padding-left: 5px;
        margin-bottom:16px;
    }

    .p-cat-faq{
        padding-block: 48px;
        margin-inline:-10px;
        padding-inline:10px;
    }

    .p-cat-faq__item + .p-cat-faq__item{
        margin-top: 20px;
    }

    .p-cat-faq__item dt a{
        padding-inline:40px;
    }

    .p-cat-faq__item dt a,
    .p-cat-faq__item dd p{
        font-size: 14px;
        line-height: 1.4;
    }

    .p-cat-faq__item dt span,
    .p-cat-faq__item dd span{
        left: 8px;
    }

    .p-cat-faq__item dd{
        padding: 16px 40px;
        margin-top: 20px;
    }

    .p-cat-faq__item dt a::before{
        right:5px;
    }

    .p-cat-faq__item dt a:not(.selected)::after{
        right:12px;
    }

    .p-cat-faq__item dd p a[href^="tel:"] {
        text-decoration: underline;
    }
}
