@charset "UTF-8";

/* 装飾関連
 * ---------------------------------------- */
.clear{
    clear:both !important;
}
.clearfix:after{
    content: '' !important;
    display: block !important;
    clear:both !important;
}
.inline-block{
    display: inline-block;
}


#boxAreaInner {
    display: flex;
    flex-wrap: wrap;
}


    .boxAreaInner2 {  /*  education暫定  詳細有り差し替え時に削除  */
        display: flex;
        flex-wrap: wrap;
    }



/* PC
* ---------------------------------------- */

@media screen and (min-width: 823px) {
    .education .education_ttl {
        margin-top:1.5rem;
    }
    #boxAreaInner{
        width: 100% ;
        margin: 2.5rem auto 0;
        justify-content: space-between;
        align-items: center;
    }
    #boxAreaInner .box-thumnail{
        width: 30%;
        margin-bottom: 2rem;
        cursor: pointer;
        text-align: center;
        position: relative;
    }
    #boxAreaInner .box-ml-none{
        margin-left: 0px;
    }

        .boxAreaInner2{  /*  education暫定  詳細有り差し替え時に削除  */
            width: 100% ;
            margin: 2.5rem auto 0;
            justify-content: space-between;
        }
       .boxAreaInner2 .bussiness_imgarea2{  /*  education暫定  詳細有り差し替え時に削除  */
            width: 30%;
            margin-bottom: 2rem;
            text-align: center;
            position: relative;
            margin-right: 0;
            align-items: flex-start;
        }


    .box-thumnail-inner{
        position: relative;
        /*height: 187px;
        max-width: 280px;*/
        margin: 0;
    }
    .box-thumnail-inner:hover{
        opacity: 0.7;
    }
    .box-thumnail-inner p{
        position: absolute;
        top: 50%;
        left: 0;
        width: 100%;
        padding: 15px;
        text-align: center;
        font-size: 15px;
        line-height: 1.5;
        letter-spacing: -0.5px;
        color:#fff;
        transform: translateY(-50%);
        z-index: 11;
    }
    .box-thumnail-inner img{
        height: 100%;
    }
    .sankaku{
        display: none;
        position: absolute;
        bottom: -52px;
        left: 45%;
        width: 50px;
        margin-left: -10px;
        z-index: 1000;
    }
    .box-thumnail.open .sankaku{
        display: block;
    }
    .box-contents-area{
        width: 99.9%;
    }
    .box-contents{
        display: none;
        padding: 0 0 25px;
        overflow: hidden;
    }
    .box-contents-inner{
        padding: 25px 20px;
        background: #f0f0f0;
    }
    .box-contents-inner .box-inner_box{
        background: #fff;
        padding: 20px;
        max-height: 560px;
        overflow-y: scroll;
    }

    .box-thumnail-inner::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 10;
        background: rgba(0, 0, 0, .55);
    }
    .box-thumnail.open .box-thumnail-inner::before {
        display: none;
    }
    .box-thumnail.open .box-thumnail-inner p{
        display: none;
    }
    .toggle-text {
        color: #fff;
        font-size: 12px;
        font-weight: bold;
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 11;
    }
    .toggle-text::before {
        content: '';
        display: inline-block;
        width: .7em;
        height: .7em;
        border-left: 2px #fff solid;
        border-bottom: 2px #fff solid;
        margin: 0 .5em 0;
        transform: rotate(-45deg) translateY(-.25em);
    }
    .toggle-text::after {
        content: '詳しく見る';
    }
    .box-thumnail.open .toggle-text {
        background: rgba(0, 0, 0, .55);
    }
    .box-thumnail.open .toggle-text::before {
        margin: 0 .9em 0 0;
        transform: rotate(135deg) translateY(-.25em);
    }
    .box-thumnail.open .toggle-text::after {
        content: '閉じる';
    }
}

@media screen and (min-width: 821px) {
    .lower_con .lower_sec {
        padding: 90px 82px 0;
    }
    .box-thumnail-inner p{
        color:#fff!important;
    }
    .lower_con .lower_sec {
        padding: 90px 82px 0;
    }
}
@media screen and (max-width: 822px) {

    #boxAreaInner {
        justify-content: center;
        margin-left: -2.35%;
        margin-right: -2.35%;
    }
    .boxAreaInner2 {/*  .boxAreaInner2 -- education暫定  詳細有り差し替え時に削除  */
        justify-content: space-between;
    }
    .bussiness_imgarea2 {  /*  .bussiness_imgarea2-- education暫定  詳細有り差し替え時に削除  */
        position: relative;
        width: 48%;
        margin: 1em 0 7px;
    }
    .box-thumnail{
        position: relative;
        width: 50%;
        margin: 1em 0 7px;
        padding-left: 2.35%;
        padding-right: 2.35%;
    }
    .box-thumnail.open .box-thumnail-inner:before{
        position: absolute;
        background: rgba(0, 0, 0, .55);
        content: '× 閉じる';
        color:#fff;
        padding:42% 0;
        text-align: center;
        width: 90.6%;
        height: 100%;
    }

    .sankaku{
        display: none;
        position: absolute;
        bottom: -30px;
        left: 50%;
        width: 40px;
        margin-left: -10px;
        z-index: 1000;
    }
    .box-thumnail.open .sankaku{
        display: block;
    }
    .bussiness_imgarea_txt01{
        font-size: 13px;
        line-height: 18px;
    }
    .box-contents{
        display: none;
        padding: 15px;
        background: #f0f0f0;
    }
    .box-contents .box-contents-inner{
        background: #fff;
        padding: 20px;
        height: 350px;
        overflow-y: scroll;
    }

    .lower_con .lower_andersec .lower_sec h3.mg01 {
        margin-top: 86px;
        margin-bottom: 7px;
    }
    .box-thumnail img {
        padding-bottom: 8px;
    }
}


/* 装飾関連
 * ---------------------------------------- */
@media screen and (min-width: 823px) {
    .pc_none{
        display: none !important;
    }
}
@media screen and (max-width: 822px) {
    .sp_none{
        display: none !important;
    }
}
/*
pc_width .pc_f_left{
    float: left !important;
}
.pc_width .pc_f_right{
    float: right !important;
}
*/

