/* mobile */

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

html, body{
        position: relative;
        overflow-x: hidden !important;
    }
    .sponly{
        display: inherit;
        }
    .pconly{
        display:none;
        }

header {
    width: 100%;
    max-width:640px;
    height: 80px;
    }
    .drawer-nav{
        background-color: transparent!important;
    }
    .drawer-menu {border: 3px solid #f3a500;
    background-color: rgba(255, 255, 255, 0.97);}
   ul.drawer-menu  {margin-left: 14px;}
    nav ul li{
        background-image: none;
            width: 100%;
        margin-left: 0;
        text-align: left;
        border-bottom: dotted 1px #f3a500;
    }
    nav ul li img {
    vertical-align: middle;
        margin-right: 4px;
        width: 32px;
        display: inline-block;}
    nav ul li img.navlast{
        width: 200px;
    }

nav ul {
    width: 90%;}

    header h1 img{
        width: 80%;
        vertical-align: top;
    }
    header h1 a{
        display: block;
    }

#wrap {
    max-width: 640px;
    min-width: 320px;
    width: 96%;
    margin: 0 auto;
    display: block;
}

.main_slide {
    width: 100%;
    height: auto;
    }

.swiper-container .swiper-slide img {
    max-width: 102%;}
.swiper-button-next, .swiper-button-prev {
    top: 54% !important;
    width: 7.8% !important;
    height: 15.6% !important;
}
.swiper-button-prev {

    background-size: contain !important;
    background-image: url(../images/ar_spleft.svg)  !important;
    background-position: left !important;
    margin-left:-5%;
}
.swiper-button-next {
    background-size: contain !important;
    background-image: url(../images/ar_spright.svg)  !important;
    background-position: right !important;
    margin-right: -5%;
}

    .main_title {
        font-size: 22px;
    }
.c_box {
    padding-top: 17%;
    width: 100%;
    max-width: 640px;
    display: block;
    background-image: url(../images/bg_sp_top.svg);
    background-position:top center;
    background-size: 150%;
    background-repeat: no-repeat;
    }

    .left_box,.right_box{
        display: none;
    }
    .center_box{text-align: left;}
    .btn_link {
        display: none;
    }
.title_box {
    width: 100%;
    display: block;
    }
    .txt_box {
        width: 100%;
    float: none;
    height: auto;}


    h3 {
    font-size: 18px;
}
    h3 span {
    font-size: 14px;
}
    h4{
        font-size: 14px;
    }
p {
    font-size: 12px;
}

    .contents p{
        text-align: left;
        padding: 0 5%;
    }
    .contents img{
        max-width: 100%;
        height: auto;
        margin: 0 auto;
    }

    .box_mini_in {
        width: 100%;
    display: block;}


    .box_mini_in .mini_txt {
    font-size:13px;
    padding: 0% 8% 4% 10%;
    }
.box_mini_in .link {
    bottom: 5%;
    font-size: 12px;
    right: 7%;
}


    .hoiku {
        padding: 48px 0 20px;
    }
    img.w70 {
        width: 70%;
    }

    section.class {
        width: 90%;
        padding-top: 40px;
    margin: 0 auto;}
    section.class table{
        margin-bottom: 10px;
    }
    section.class th{
        font-size: 14px;
    }
        section.class td{
        font-size: 12px;
    }

    .box_mini {
    margin: 10px auto 10px;
    width: 100%;
}
   .modin{
        width: 100%;
       float: right;
       margin: 3% 0 3% 3%;

    }
    .modin img{ width: 48%;}
.mo_box img {
    width: 90%;
    margin-top: 0px;
}
    .comm {
        background-size: cover;}

    .comm h4{
        font-size: 30px;
    }
    .comm .box_mini_in {
    width: 90%;
    padding: 1.5% 5%;
        display: block;}


  .calender a {
      padding: 16px 30%;}

    .modaal-content-container {
    padding: 3% !important;
}


    .mo_boxs {
    display: block;
    margin-bottom: 24px;
    }
    .mo_boxs.yotei {
        display: inline-flex !important;
    }

    .yotei .mo_box{
        font-size: 8px!important;
    }

    table.mod2 td, table.mod th {
        font-size: 9px;}
    table.mod2 td:nth-child(1){
        font-size: 8px;
        padding: 0.5%;
    }



    .line_gr,.line_or,  .line_bl{
        background-image: none;
    }



    /****/
    .hd_tel_box {
        display: none;
    }
    #wrap_page h2 img{
        width: 100%;
        height: auto;
    }


    /***facility
    *****************************************/

    .facility  .box_mini{
        width: 90%;
    }

    .facility h3{
        margin-left: 5%;
    }


    dl.faq dt{
        font-size: 13px;
        font-weight: bold;
        margin-bottom: 4px;
    }
    dl.faq dd{
        font-size: 12px;
            margin-bottom: 16px;
            padding-left: 0;
        line-height: 1.5;
    }


    .facility{
    width: 100%;
    margin:24px auto;
}
.box_mini_in.map {
    width: 100%;
}
    .box3 {
        width: 94%;
    padding:3%;}
    .facility .box_mini td{
        display: block;
        padding: 1.2% ;
        font-size: 14px;}

/* about */

    .box {
        width: 90%;
        margin: 32px auto;
    }

    .box ul.att{
        padding-left: 4%;
    }


.step{
    width: 77%;
    height: 140px;
    display: block;
    vertical-align: top;
    background-repeat: no-repeat;
    background-size: contain;
    padding-left: 3%;
    padding-right: 3%;
    padding-top: 36%;
    margin-right:auto;
    margin-left: auto;
    padding-bottom: 4px
}
.step:last-child{
    margin-right: auto;
}
.step p{
    font-size: 13px;
}
.s01{
    background-image: url(../images/bg_step1_sp.svg);
}
.s02{
    background-image: url(../images/bg_step2_sp.svg);
}
.s03{
    background-image: url(../images/bg_step3_sp.svg);
}
.s04{
    background-image: url(../images/bg_step4_sp.svg);
}

    .box_0{
        width: 79%;
    }
    ul.att li{
        margin-left: 0;
    }

    .box3:nth-child(2) {
    margin: 0;
    }

    .box3 h4 {
        font-size: 16px;
        font-weight: bold;
    }

/*table*/
    table{
        width:100%;
        font-size: 11px;
    }
    td, th {
        padding: 1%;}

#totop {
    position: absolute;
    right: 1%;
    bottom: -10px;
}
    #totop img{
        width: 80px;
        height: auto;
    }

    .ft_left{
        width: 96%;
        float: none;
        margin: 0 auto;
    }
    .ft_left sponly{padding-left: 2%;}
.ft_left span {
    font-size: 12px;
    display: inherit;}
    footer {
    padding-top: 100px;
        background-image: url(../images/bg_sp_iluline.svg);
    background-size: contain;}
    footer nav {
    width: 100%;
    float: none;
}
    footer nav ul {
        width: 96%;
    margin: 8px auto 0;}

    footer nav ul li {
    display: block;
    margin-left: 8px;
    font-size: 12px;
    padding: 0;
    width: auto;
    background: none;
    text-align: left;
    padding-left: 2%;
        border-bottom: none;
}
    footer nav ul li img {
    margin-right: 3%;
}
    .copy{
        text-align: center;
    }

}

@media screen and (max-width:640px){
    .step {
        width: 81%;
        padding-left: 2%;
    padding-right: 2%;}

    .step p {
    font-size: 12px;
}


}
