@charset "utf-8";

/* ==================================================================

    index.css

=================================================================== */

/* --------------------------------
■共通
-------------------------------- */
.contents,
main{
    overflow: hidden;
}

/* ◇ box
-------------------------------- */	
.contents main > section + section{
    margin-top:0;
}
.contents main > section p.more{
    margin-top: 40px;
    margin-bottom: 0;
}

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

    .contents main > section p.more{
        margin-top: 30px;
    }
    .contents main > section p.more a{
        width: 100%;
        text-align: center;
    }
}

/* --------------------------------
■feature
-------------------------------- */ 

#feature{
    padding: 76px 0 0;
}
#feature > section{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0 24px;
}
    #feature > section::before{
        content: "";
        position: absolute;
        bottom: -42px;
        left: 50%;
        background: url("../../images/index/feature_line.svg") 0 0 no-repeat;
        background-size: 100% auto;
        width: 91px;
        height: 60px;
    }

    #feature > section.odd::before{
        left: revert;
        right: 48%;
        transform: scale(-1, 1);
    }

    #feature > section:last-child::before{
        display: none;
    }

#feature > section + section{
    margin-top: 30px;
}

#feature > section .explain{
    position:relative;
    max-width: 484px;
}
    #feature > section .explain::after {
        position: absolute;
        content: "";
        top: -27px;
        left: -80%;
        width: 100vw;
        height: calc(100% + (27px * 2));
        background:#F6F6F6 url("../../images/index/background1.jpg") 0 0 no-repeat;
        background-size: cover;
        z-index: -1;
    }

    #feature > section .explain .title{
        font-size: 2.8rem;
        line-height: 1.65;
    }
    #feature > section .explain .title + *{
        margin-top: 24px;
    }
    #feature > section .explain .title em{
        font-size: 3.2rem;
        color: #B72B2F;
    }

    #feature > section .explain .text{
        margin-bottom: 0;
        line-height: 2;
    }

#feature > section.even{
    flex-direction: row-reverse;
}

    #feature > section.even .explain::after {
        left: revert;
        right: -70%;
    }

#feature > section figure{
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    max-width: 50%;
}
#feature > section figure img{
    max-width: 100%;
    height: auto;
}

@media (max-width: 1000px) and (min-width: 768px) {
    #feature > section{
        min-height: 300px;
    }
    
    #feature > section .explain::after {
        top: -12px;
        left: -100%;
        width: 100vw;
        height: calc(100% + (12px * 2));
    }
    
    #feature > section.even .explain::after {
        left: revert;
        right: -100%;
    }
    
    #feature > section .explain .title{
        font-size: 2.5rem;
        line-height: 1.25;
    }
}

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

    #feature{
        padding: 48px 0 45px;
    }
    #feature > section{
        display: block;
    }
        #feature > section::before{
            display: none;
        }

    #feature > section + section{
        margin-top: 40px;
    }

    #feature > section .explain{
        position:relative;
    }
        #feature > section .explain::after {
            display: none;
        }

        #feature > section .explain .title{
            font-size: 2.0rem;
        }
        #feature > section .explain .title + *{
            margin-top: 20px;
        }
        #feature > section .explain .title em{
            font-size: 2.4rem;
        }

        #feature > section .explain .text{
            font-size: 1.5rem;
        }

    #feature > section figure{
        max-width: revert;
        text-align: center;
        margin-bottom: 23px;
    }
    #feature > section figure img{
        max-width: 100%;
        height: auto;
    }
}


/* --------------------------------
■price
-------------------------------- */ 

#price {
    position: relative;
    margin-top: 85px;
    padding: 0 0 88px;
}
    #price::before {
        position: absolute;
        content: "";
        top: 103px;
        left: 0;
        width: 100vw;
        height: calc(100% - 103px);
        background: url("../../images/common/background.jpg") 0 0 no-repeat;
        background-size: cover;
        z-index: -1;
    }

#price .titleArea{
    position: relative;
    width: fit-content;
    margin-inline:auto;
}
    #price .titleArea::before,
    #price .titleArea::after{
        position: absolute;
        content: "";
        background: 0 0 no-repeat;
        background-size: auto 100%;
    }
    #price .titleArea::before{
        top:-40px;
        left: -370px;
        background-image: url("../../images/index/price_decoration1.png");
        width: 332px;
        height: 306px;
    }
    #price .titleArea::after{
        top:-3px;
        right: -317px;
        background-image: url("../../images/index/price_decoration2.png");
        width: 281px;
        height: 266px;
    }

#price .leadText{
    text-align: center;
    margin-top: 31px;
    margin-bottom: 41px;
    line-height: 2;
}

#price .select_box{
    position: relative;
    background: url("../../images/index/price_background.png") 50% 0 no-repeat;
    padding: 67px 120px 63px 120px;
    transition: .4s;
}

#price .select_box .flex_box{
    position: relative;
    justify-content: space-between;
}

#price .select_box .flex_box::before{
    content: "";
    position: absolute;
    top: 0;
    width: 1px;
    height: 100%;
    left: 50%;
    border-left: 2px dotted #DBDAD8;
}
#price .select_box .flex_box > li{
    width: 50%;
    max-width: 420px;
}

    #price .select_box .flex_box > li img{
        max-width: 100%;
        height: auto;
    }

    #price .select_box .flex_box > li > dl > dt{
        color: #B72B2F;
        font-size: 3.0rem;
        font-weight: 700;
        text-align: center;
    }
    #price .select_box .flex_box > li > dl > dd{
        margin-top: 16px;
    }
    #price .select_box .flex_box > li > dl > dd p.text{
        line-height: 1.75;
        text-align: center;
    }
    #price .select_box .flex_box > li > dl > dd figure{
        display: flex;
        align-items: center;
        justify-content: center;
        height: 211px;
    }
    #price .select_box .flex_box > li > dl > dd figure img{
        max-height: 100%;
        max-width: 72%;
        height: auto;
    }
    #price .select_box .flex_box > li > dl > dd p.buttonStyle{
        margin: 30px 0 0 0;
    }

#price .select_box + p.buttonStyle{
    margin-top: 56px;
}

@media (max-width: 1200px) and
(min-width: 768px) {

    #price .select_box{
        padding-left: 60px;
        padding-right: 60px;
    }
    
}

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

    #price {
        position: relative;
        margin-top: 64px;
        padding: 0 0 64px;
    }
        #price::before {
            left: -2vw;
        }
        #price .titleArea::before,
        #price .titleArea::after{
            pointer-events: none;
            background-size: 100% auto;
        }
        #price .titleArea::before{
            top:8vw;
            left: -22vw;
            width: 30vw;
            height: 206px;
        }
        #price .titleArea::after{
            top:9vw;
            right: -22vw;
            width: 27vw;
            height: 166px;
        }

    #price .leadText{
        text-align: left;
        margin-top: 31px;
        margin-bottom: 41px;
    }

    #price .select_box{
        background: url("../../images/index/price_background_sp.png") 50% 0 no-repeat;
        background-size: 100% auto;
        padding: 8vw 4vw 12vw;
    }

    #price .select_box .flex_box{
        position: relative;
        justify-content: space-between;
    }

    #price .select_box .flex_box::before{
        display: none;
    }
    #price .select_box .flex_box > li{
        width: auto;
        max-width: revert;
        padding-bottom: 24px;
        border-bottom: 2px dashed #DBDAD8;
    }
    #price .select_box .flex_box > li:last-child{
        padding-bottom: 0;
        border-bottom: 0;
    }
    #price .select_box .flex_box > li + li{
        margin-top: 24px;
    }

        #price .select_box .flex_box > li img{
            max-width: 100%;
            height: auto;
        }

        #price .select_box .flex_box > li > dl > dt{
            font-size: 2.2rem;
        }
        #price .select_box .flex_box > li > dl > dd{
            margin-top: 13px;
        }
        #price .select_box .flex_box > li > dl > dd p.text{
            font-size: 1.4rem;
            margin-bottom: 20px;
        }
        #price .select_box .flex_box > li > dl > dd figure{
            height: auto;
        }
        #price .select_box .flex_box > li > dl > dd figure img{
            max-height: 100%;
            max-width: 80%;
            height: auto;
        }
        #price .select_box .flex_box > li > dl > dd p.buttonStyle{
            margin: 30px 0 0 0;
        }

    #price .select_box + p.buttonStyle{
        margin-top: 56px;
    }
}

/* --------------------------------
■training
-------------------------------- */ 

#training {
    position: relative;
    background: #B6A18A;
    color: #fff;
    padding: 97px 0 0;
}
#training::before {
    content: "";
    position: absolute;
    background: #fff;
    width: 100%;
    height: 226px;
    left: 0;
    bottom: 0;
}
    #training .lead_box .text{
        margin: 0;
    }

    #training .lead_box + *{
        margin-top: 62px;
    }

    #training .menu{
        overflow: hidden;
        gap:0 1px;
        background: #fff;
        border-radius: 8px;
    }
    #training .menu li{
        overflow: hidden;
        position: relative;
    }

    #training .menu li::before {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 218px;
        background: linear-gradient(0deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 100%);
        z-index: 1;
        pointer-events: none;
    }

    #training .menu li a{
        position: relative;
        height: 100%;
        color: #fff;
    }
    #training .menu li a::after{
        content: "";
        display: block;
        padding-top: 100%;
    }
    #training .menu li a::before{
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        background:#ddd 0 0 no-repeat;
        background-size: cover;
        transition: .5s;
    }
    #training .menu li a:hover::before{
        transform: scale(1.1);
    }

    #training .menu li.senior a::before{
        background-image: url("../../images/index/training1.jpg");
    }
    #training .menu li.paper a::before{
        background-image: url("../../images/index/training2.jpg");
    }
    #training .menu li.business a::before{
        background-image: url("../../images/index/training3.jpg");
    }

    #training .menu li dl{
        position: absolute;
        left: 0;
        bottom: 44px;
        z-index: 1;
        margin: 0;
        width: 100%;
    }
    #training .menu li .name{
        font-size: 2.9rem;
        text-align: center;
        font-weight: bold;
    }
    #training .menu li .text{
        position: relative;
        width: fit-content;
        padding-left: 26px;
        margin-top: 26px;
        margin-inline:auto;
        font-size: 1.4rem;
        text-align: center;
    }
        #training .menu li .text::before {
            content: "";
            position: absolute;
            top: 50%;
            left: 0px;
            transform: translateY(-50%);
            display: inline-block;
            width: 22px;
            height: 22px;
            border-radius: 50%;
            background: #B72B2F;
            transition: all 300ms 0s ease;
        }
            #training .menu li a:hover .text::before {
                transform: translateY(-50%) scale(1.1);
            }
        #training .menu li .text::after {
            content: "";
            position: absolute;
            top: 50%;
            left: 7px;
            width: 4px;
            height: 4px;
            margin-top: -2px;
            border-top: 2px solid #fff;
            border-right: 2px solid #fff;
            -webkit-transform: rotate(45deg);
            transform: rotate(45deg);
            z-index: 1;
            transition: all 300ms 0s ease;
        }
        #training .menu li a:hover .text::after{
            left:10px;
        }


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

    #training {
        padding: 61px 0 0;
        background: #fff;
    }
    #training::before {
        content: "";
        position: absolute;
        background: #B6A18A;
        width: 100vw;
        height: 110vw;
        left: -2vw;
        top: 0;
        bottom: revert;
    }
        #training .lead_box .title{
            position: relative;
        }
        #training .lead_box .text{
            position: relative;
            margin-top: 26px;
        }

        #training .lead_box + *{
            margin-top: 26px;
        }

        #training .menu{
            gap:1px 0;
            border-radius: 0;
        }

        #training .menu li::before {
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 100%);
        }

        #training .menu li a{
            display: block;
            height: 48vw;
        }
        #training .menu li a::after{
            content: "";
            display: block;
        }
        #training .menu li a::before{
            background-position:0 50%;
        }
        #training .menu li a:hover::before{
        }

        #training .menu li dl{
            bottom: 50%;
            transform: translateY(50%);
            margin: 0;
            width: 100%;
        }
        #training .menu li .name{
            font-size: 2.2rem;
            text-align: left;
            padding-left: 40px;
        }
        #training .menu li .text{
            margin-top: 18px;
            margin-inline:revert;
            font-size: 1.4rem;
            text-align: left;
        }
}

/* --------------------------------
■access
-------------------------------- */ 

#access {
    position: relative;
    padding: 93px 0 0px;
}

#access .container > *{
    flex-shrink: 0;
}

    #access .container > .explain{
        flex-shrink: 0;
        flex-grow: 1;
    }
    #access .container > .explain > div{
        width: fit-content;
        margin: 0 auto;
    }
    #access .container > .explain p{
        margin-bottom: 0;
        font-size: 1.5rem;
        line-height: 2;
    }
    #access .container > .explain p.tel{
        margin: 30px 0 4px 0;
        font-size: 2.8rem;
        line-height: 1.2;
    }
    #access .container > .explain p.tel a{
        color: #B72B2F;
    }
    #access .container > .explain p.tel a::before {
        content: "";
        display: inline-block;
        width: 22px;
        height: 22px;
        margin-right: 5px;
        margin-bottom: -3px;
        background: url(../../images/common/icon/tel_r.svg) no-repeat left center;
        background-size: contain;
    }
    #access .container > .explain p.hours{
        font-size: 1.3rem;
        line-height: 1.2;
    }

    #access .container > .explain .navigation{
        margin-top: 28px;
        font-size: 1.4rem;
        gap:0 24px;
    }

    #access .container > .explain .navigation li a{
        padding-top: 3px;
    }

    #access .container > .map{
        max-width: 55%;
    }
    #access .container > .map iframe{
        max-width: 100%;
    }


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

    #access {
        position: relative;
        padding:67px 0 0px;
        margin-left: 0;
        margin-right: 0;
    }
    #access .container{
        margin-left: 0;
        margin-right: 0;
    }

    #access .container > .map{
        max-width: revert;
        width: 100%;
        margin-top: 37px;
    }
    #access .container > .map iframe{
        max-width: 100%;
        aspect-ratio: 1 / 1;
    }
    
    * + #contactSec {
        margin-top: 0px;
    }
}

