@charset "UTF-8";
/* CSS Document */

/* ----------cont_after–---------- */
.cont_after{
}
/* ----------main---------- */
.cont_after .main{
    display:flex;
    justify-content:space-between;
    margin-bottom:100px;
}
.cont_after .main .image{
    width:50%;
    overflow:hidden;
}
.cont_after .main .image img{
    object-fit:cover;
    height:100%;
    width:100%
}
.cont_after .main .detail{
    width:45%;
}
.cont_after .main .detail h2{
    font-size:1.5rem;
    margin:2em 0;
}

/* ----------959px–---------- */
@media screen and (max-width: 959px) {
    .cont_after .main{
        display:block;
        justify-content:unset;
    }
    .cont_after .main .image{
        width:100%;
        overflow:hidden;
    }
    .cont_after .main .detail{
        width:96%;
        max-width:700px;
        margin:auto;
    }
}
/* ----------768px–---------- */
@media screen and (max-width: 768px) {
    .cont_after .main .detail h2{
        font-size:1.3rem;
    }
    .cont_after .main .image{
        aspect-ratio:1 / 1;
    }
}

/* ----------service–---------- */
.service{
    width:100%;
    background:#f1f1ee;
    padding:5%;
    box-sizing:border-box;
    margin-bottom:100px;
    border-radius:10px;
}
.service .sub_inner{
    display:flex;
    justify-content:space-between;
    padding:50px 0;
    border-bottom:1px dotted #929268;
}
.service .sub_inner:first-of-type{
    padding:0 0 50px;
}
.service .sub_inner:last-of-type{
    border-bottom:none;
    padding:50px 0 0;
}
.service .sub_inner .image{
    width:300px;
    overflow:hidden;
}
.service .sub_inner .image img{
    object-fit:cover;
    height:100%;
    width:100%;
}
.service .sub_inner .detail{
    width:calc(100% - 350px);
    align-items:center;
    display:flex;
}
.service .sub_inner .detail h2{
    font-size:1.3rem;
    margin-bottom:1.5em;
}
/* ----------768px–---------- */
@media screen and (max-width: 768px) {
    .service .sub_inner{
        display:block;
        justify-content:unset;
        padding:3% 0;
    }
    .service .sub_inner .image{
        width:100%;
        overflow:hidden;
        margin-bottom:20px;
    }
    .service .sub_inner .detail{
        width:100%;
        align-items:unset;
        display:unset;
    }
    .service .sub_inner .detail h2{
        font-size:1.2rem;
    }
    .service .sub_inner{
        padding:50px 0;
    }
    .service .sub_inner:last-of-type{
        padding:50px 0 50px;
    }
}

/* ----------end–---------- */
.end{
    padding:200px 0;
    background:url("../../../../../img/after/members/after_members_end_image_bg.webp")center / cover;
    position:relative;
    border-radius:10px;
    overflow:hidden;
}
.end:after{
    content:"";
    display:block;
    height:100%;
    width:100%;
    position:absolute;
    top:0;
    left:0;
    background:#000;
    opacity:0.5;
}
.end .detail{
    width:90%;
    max-width:500px;
    margin:auto;
    color:#fff;
    z-index:1;
    position:relative;
}
.end .detail h2{
    font-size:1.5rem;
    margin-bottom:1em;
}
.end .detail .btn{
    margin:20px 0 0 0;
    text-align:center;
}
.end .detail .btn a{
    display:block;
    height:100%;
    width:100%;
    background:#fff;
    padding:10px;
    border-radius:50px;
    box-sizing:border-box;
}

/* ----------1099px–---------- */
@media screen and (max-width: 1099px) {
    .end .image{
        width:300px;
        margin-bottom:20px;
    }
    .end .detail{
        width:calc(100% - 350px);
    }
}
/* ----------768px–---------- */
@media screen and (max-width: 768px) {
    .end{
        padding:7vh 0;
    }
    .end .detail{
        width:90%;
    }
    .end .detail h2{
        font-size:1.3rem;
    }
    .end .detail h2 span{
        display:block;
    }
}
    
