


@media (min-width:1110px) {

    .tab_menu{
        display: none;
    }

}

@media (max-width:1110px) {



nav{
    display: none;
}

.open,.close{
    display: block;
}

.open{
    position: fixed;
    z-index: 2;
    background: #333333;
    right: 40px;
    top:25px;
    text-align: center;
    font: bold;
    font-size: 18px;
    color:#fff;
    padding: 8px 12px ;
}

.close{
margin: 10px 10px 10px 220px;
}

#nav ul {
    margin-bottom: 45px;
}

#nav ul li {
    padding: 10px;
    margin: 0 20px;
    border-bottom: 0.3px #c5c5c5 solid;
}

.asideTB{
    width:20%;
    min-width:250px;
    display: flex;
    flex-direction: column;
    position: fixed;
    z-index: 2;
    top: 120px;
    right: -300px;
    transition: all 0.2s;
    background: #fff;
}
/*
input[type="checkbox"]{
    position: absolute;
    left: -50vw;
}
*/
input[type="checkbox"]:checked ~ .asideTB{
    right: 40px;
}

input[type="checkbox"]:checked ~ .back{
    position: absolute;
    width: 0;
    height:100%;
}

}



@media (min-width:480px) {

    .dayPhoto_SP{
        display: none;
    }

    .sp_menu{
        display: none;
    }

    .logoSP{
        display: none;
    }

.br-sp{
display: none;
}

.SPONLY{
display: none;
}

.schedule.am::before{
    display: none;
}

}

/*スマホサイズ(480px以下の時の表示指定)*/
@media (max-width:480px) {

    .dayPhoto_SP{
        width: 100%;
        height: 160px;
        background-image:url(../images/nagare_sp.jpg);
        background-repeat:  no-repeat; 
        background-size:contain;   
    }

    .dayPhoto{
        display: none;
    }

    .closeSP{
        margin: 10px 10px 10px 170px;
        }
        
        #navSP ul {
            margin-bottom: 40px;
        }
        
        #navSP ul li {
            padding: 8px 10px;
            margin: 0 20px;
            border-bottom: 0.3px #c5c5c5 solid;
        }
        
        .asideSP{
            width: 10%;
            min-width: 200px;
            display: flex;
            flex-direction: column;
            position:absolute;
            top: 120px;
            right:-300px;
            transition: all 0.2s;
            background: #fff;
        }
        /*
        input[type="checkbox"]{
            position: absolute;
            left: -50vw;
        }
        */
        input[type="checkbox"]:checked ~ .asideSP{
            right: 20px;
        }
        
        input[type="checkbox"]:checked ~ .backSP{
            position: absolute;
            width: 0;
            height:100%;
            background: rgba(0, 0, 0,0.8)!important;
        }



    .openSP{
        position: fixed;
        z-index: 2;
        background: #333333;
        right: 5%;
        top:25px;
        text-align: center;
        font: bold;
        font-size: 18px;
        color:#fff;
        padding: 8px 12px ;
        transform: rotate(90deg);
    }

    

    .logoPC{
        display: none;
    }

    .logoSP {
        width: 280px;
        position: fixed;
        top: 14px;
        left: 5%;
        /* float: left; */
    }


    .tab_menu{
        display: none;
    }

html{
font-size: 10px;
}

body{
background-color:#fff;
min-width: 200px;
}

h2{
font-size: 1.3rem;
}

img{
object-fit: cover;
width: 100%;
}

.ok-academy-navi {
display: none;
}

.ok-academy-hd {
background: url(../images/20201002-2.png) no-repeat 50% 150%/ cover;
min-height: 340px;
width:100%;
background-size: 100% auto;
height: auto !important;
background-position: top 90px center;
}


.ok-academy-title-main {
font: 700 13rem/1 'Lato';
}

.ok-academy-title-sub {
font-size: 5rem;
}

.message-name {
display: none;
}

.sp-greeting{
    width: 100%;
}

.massage-name-sp{
background: rgba(122, 97, 157);
color: #fff;
font: 700 3rem/1 'Lato';
text-align: center;
padding: 50px 0 0;
height: 160px;
width: 390px;
position: absolute;
right: 0;
top: 150px;
}


.message-name span {
font: 300 5rem/1 'Lato';
display: block;
margin: 0 0 20px;
}

.ok-academy-title {
height: auto;
}

.home_head .logo_gnav_info {
    padding: 1em 1em 1em;
    height: 90px;
}

.ok-academy-main-2 {
/*
background: url(../images/main2.png) no-repeat 50% 0;
height: 513px;
margin: -150px 0 50px;
position: relative;
background-size: 100% auto;*/
display: none;
}

.content {
width: 100%;
background-color:rgb(255, 255, 255);
}

.ok-academy-part {
padding: 0 0 70px;
width: 100%;
}

.ok-academy-wrap {
width: 100%;
}

.ok-academy-title-main {
font: 700 3.2rem/1 'Lato';
}

.ok-academy-title-sub {
font-size: 2rem;
}

.ok-academy-inner {
padding: 0 30px;
text-align: left;
}

.content p, .mbp {
margin: 1.8em 0 1.8em;
letter-spacing: 1px;
font-size: 1.8rem;
line-height: 1.5;
}

.ok-academy-inner > span{
font-size:1.8rem  !important;
font-weight:700;
margin: 120px 0px;
}

.message-title {
font-size: 2.3rem;
font-style: italic;
letter-spacing: 0.1em;
padding: 20px 0 0px;
line-height: 1.4em;
text-align: left;
}

.message-sign {
width: 80%;
}

.flex{
display: flex;
flex-direction: column;
align-items: center;
}

.margintop_120{
margin-top: 0px;
}

.margintop_100 {
margin-top: 0px !important;
}

.row_default01 .col_img {
width: 100%;
}

.row_default01 .col_text {
width: 100%;
padding: 30px 30px;
}

.reason.row_default01 .title02 .num {
font-size: 4em;
}

.title02 .sub {
flex: 1 1 auto;
font-size: 2.3rem;
line-height: 1.5;
font-weight: 600;
letter-spacing: 0em;
}

.inner {
width: 100vw;
}

.slider {
width: 100%;
}

.people-prof {
background: #fff;
border: 1px solid;
line-height: 1;
margin: 50px 30px;
padding: 50px 30px 15px;
width: 90%;
position: relative;
text-align: center;
}

.people-title {
background: url(images/ok-academy_title_bg.png) no-repeat 0 0 / contain;
font-size: 2.2rem;
font-weight: 700;
margin: 0px;
padding: 30px 0 0px 0px;
}

.tab-box {
border: 0px solid;
padding: 0px 30px;
font-size: 1.5rem;
}

.schedule::before {
display: none;
}

#ok-academy-4 > .ok-academy-wrap-2{
width: 100%;
}

#ok-academy-5 > .ok-academy-wrap-2{
width: 100%;
}

#ok-academy-6 > .ok-academy-wrap-2{
width: 100%;
}

.ok-academy-table th{
padding: 15px 0px 15px 0px;
}

.ok-academy-table td{
padding: 15px 0px 15px 30px;
}

/*問合せフォーム*/

.fs14 {
font-size: 1.5rem;
width: 90%;
padding-left: 20px;
line-height: 2.4rem;
}

.disc > li {
list-style-type: disc;
margin-left: 1.5em;
margin-bottom: 1em;
}

.form-table {
border-collapse: separate;
border-spacing: 1px;
background: #ccc;
margin: 30px 0;
font-size: 1.5rem;
}

.w25p {
width: 40%;
}

/*フロー*/

.w15p {
width: 40%;
}

/*

.ok-academy-table {
border-collapse: collapse;
border-spacing: 0;
width: 90%;
margin: 0 auto;
}

#tab-1 {
border: 0px solid;
padding: 40px 0px;
}


.form-table th, .form-table td {
background: #fff;
padding: 20px 10px 50px 10px;
vertical-align: middle;
}

*/

.schedule th {
padding: 10px 33px 10px 40px;
}

.form-table th{
    line-height: 2rem;
}

#kibousyubetu_td{
    line-height: 4rem;
}

.form-table th::after {
    background: #eee;
    content: "任意";
    font-size: 12px;
    line-height: 1;
    margin-top: 0px;
    padding: 4px 6px;
    position: absolute;
    right: 20px;
}

/*問合せボタン編集中
input[type="submit"], button[type="submit"] {
    padding: 20px 40px !important;
    min-width: 60% !important;
}
*/

/*問合せボタン編集中
input[type="submit"], button[type="submit"] {
    background-color: #333333 !important;
    border-width: 0 !important;
    color: #fff !important;
    cursor: pointer !important;
    font-size: 16px !important;
    line-height: 1.4 !important;
    text-align: center !important;
    margin: 0 10px !important;
    padding: 10px 40px !important;
    position: relative !important;
    transition: all .2s ease-out !important;
}
*/

.PCONLY{
    display: none;
}

#ok-academy-7{
    padding: 0 0 30px;
}


}


@media (max-width:480px) {

    .ok-academy-title-sub {
        font-size: 1.4rem;
        margin-bottom: 30px;
    }

    .tel-ok-academy {
        font-size: 1.25em!important;
    }    

    .fs14 {
        width: 96%;
        padding-left:0px;
        line-height: 1.5rem;
        text-align: center;
        margin: 0 auto;
    }

    .ok-academy-title-main {
        font: 700 4rem/1 'arial';
        padding: 40px 0 10px;
    }

    .form-table {
        margin: 30px auto;
        width: 90%;
    }

    .form-table th, .form-table td {
display: block;
    }

    .form-table th {
        line-height: 2rem;
        background: #efefef;
        font-weight: bold;
        padding: 15px 15px !important;
        font-size: 1.1em;
    }

    .form-table th::after {
        content:none;
    }

    .form-table td {
        line-height: 2.3em !important;
    }

    .rei {
        line-height: 1.2em;
    }

    input#address2 {
        margin-bottom: 5px;
    }

    #textarea{
        margin-top: 5px;
    }

    input#postcode {
        width: 200px!important;
    }













}
