@charset "utf-8";

@media screen and (max-width:768px){
    body {
        margin: 0;
        padding: 0;
    }
    body:before{
        background:none;
    }
    body:after{
        background:none;
    }
    header{
        width:100%;
        height:8vh;
        background-color:#3D4264;
    }
    .header-text-sp{
        display: block;
        color:white;
        width:100%;
        text-align: right;
        margin: auto 1em auto 0;
        font-family:serif;
        font-weight: bold;
    }
    main{
        width:100%;
        height:92vh;
        background-image: url(../img/bg-sp.png);
        background-repeat: no-repeat;
        background-size: contain;
        background-position:center;
    }
    .wrapper{
        transform: none;
        position:inherit;
        top:0;
        left:0;
        
/*        margin:0;*/
        width:100%;
/*        height:100%;*/
    }
    .main-box-pen{
        background:none;
        width:100%;
        height:100%;
    }
    header nav{
        display: none;
    }
    /*スライドメニュー*/
    .header-sp{
        display: block;
    }
    #nav-wrapper {
        display: block;
        position: absolute;
/*        width: 100%;*/
        height: 100%;
        overflow: hidden;
/*        position: fixed;*/
        z-index: 8;
    }
    #nav-wrapper ul{
        padding:0 0 0 1em;
    }
    #nav-wrapper li{
        list-style-type: none;
        font-size:12px;
        font-weight: bold;
        letter-spacing:-0.5px;
        border-bottom:dashed 1px;
    }
/*

label {
  cursor: pointer;
}
label:focus {
  outline: none;
}
*/

.menu {
    position: fixed;
    top: 0;
    left: 0;
    background: #fff;
    width: 240px;
    height: 100%;
    transform: translate3d(-240px, 0, 0);
    transition: transform 0.35s;
    border-right: solid 3px #3D4264;
}
.menu label.menu-toggle {
  position: fixed;
/*  position: absolute;*/
  right: -60px;
  width: 60px;
  height: 60px;
  line-height: 0px;
  display: block;
  padding: 0;
  text-indent: -9999px;
  background: url(../img/icon-nav2.png) 0% 0%/55px 55px no-repeat;
}

.menu ul li > label {
  background: url(../img/page-right.png) 95% 50%/16px 16px no-repeat;

}
.menu ul li a, .menu ul li label {
  display: block;
  text-align: left;
/*  padding: 0 20px;*/
  line-height: 60px;
  text-decoration: none;
}

/* hide inputs */
.menu-checkbox {
  display: none;
}

/* hide navigation icon for sublabels */
.menu .menu label.menu-toggle {
  background: none;
}

/* fade in checked menu */
.menu-checkbox:checked + .menu {
  transform: translate3d(0, 0, 0);
}
    /*スライドメニューここまで*/
    .main-left{
        width:90vw;
        
/*        width:50vh;*/
        margin:0;
        
        height:auto;
    }
    .main-left-top{
        margin-right:3vh;
    }
    .title-box{
        margin:0 auto;
    }
    .title-box img{
        width:30vh;
    }
    .main-menu-box{
        margin:5vh auto;
        width:75vw;
    }
    .main-menu-box ul{
        display: flex;
        flex-flow: row wrap;
        justify-content: space-around;
        padding:0;
    }
    .main-menu-box li{
        font-size:0px;
    }
    .top-news{
        font-size:13px;
        margin:1em;
    }
    .main-menu-box li:hover{
        background:#3D4264;
        opacity: 0.8;
}
    .about-sp{
        background-image: url(../img/icon-niiya-sp.png);
    }
    .room-sp{
        background-image: url(../img/icon-room-sp.png);
    }
    .rsv-sp{
        background-image: url(../img/icon-rsv-sp.png);
    }
    .access-sp{
        background-image: url(../img/icon-access-sp.png);
    }
    .nb-sp{
        background-image: url(../img/icon-nb-sp.png);
    }
    .about-sp, .room-sp, .nb-sp, .rsv-sp, .access-sp{
        width:22vw;
        height:22vw;
        margin:1vw;
        background-repeat: no-repeat;
        background-size: contain;
    }
    .main-right{
        display: none;
    }
    .copyrights{
        margin:0;
    }
    /*ニイヤについて*/
    .main-sp{
        background:none;
        height:100%;
    }
    .main-box{
        width:100%;
        height:100%;
        margin-top:1em;
        display: flex;
        flex-flow: column;
    }
    .about-title-box{
        letter-spacing: -0.5px;
    }
    .about-photo-main img{
        width:100%;
        height:100%;
    }
    .main-right-sp{
        display: block;
    }
    .main-right{
        width:90vw;
    }
    .about-photo-top img{
        width:100%;
        height:100%;
    }
    .about-photo-bottom img{
        width:100%;
        height:100%;
        margin-top:1em;
    }
    .greenzone a{
        white-space: pre;
    }
    /*お部屋*/
    .room-stamp-box img{
        margin:2vw;
    }
    .room-photo img{
        width:100%;
    }
    .page-box{
        width:100%;
        z-index: -1;
        position: static;
        margin-bottom:2em;
    }
    .text-box-left img{
        width:80%;
    }
    .text-box-right{
        font-size:85%;
    }
    .matsu-text-box, .sakura-text-box, .hinoki-text-box, .ume-text-box{
/*        width:100%;*/
        height:100%;
        background-image:none;
        padding:1em 0;
        margin-bottom:2em;
        color:white;
        font-weight:100;
        border: double 5px;
    }
    .toilet-text-box, .bathroom-text-box{
        height:100%;
        background-image:none;
        padding:1em 0;
        margin-bottom:2em;
    }
    .matsu-text-box{
        background-color:#3D4264;
    }
    .sakura-text-box{
        background-color:#9a6e86;
    }
    .hinoki-text-box{
        color:#3D4264;
        background-color:#d2c59e;
        border-color:white;
    }
    .ume-text-box{
        background-color:#70917e;
    }
    /*ご予約*/
    .rsv-box{
/*        background-color:#3D4264;*/
        width:90%;
        height:100%;
        padding:2em 1em 1em 1em;
    }
    .booking, .expedia, .airbnb, .rakuten, .jalan{
        width:80%;
        margin:0 auto 1.5em auto;
    }
    .booking p, .expedia p, .airbnb p, .rakuten p, .jalan p{
        width:100%;
        margin:0 auto;
/*        border:dashed 1px white;*/
    }
    .rsv-text{
/*        color:white;*/
/*        font-weight: 100;*/
        border-top:dashed 2px white;
        padding-top:1.5em;
        line-height: 1.2em;
    }
    .goto-alert{
        margin-top:3em;
        text-align: center;
    }
    .goto-sp{
        display: block;
    }
    .goto-sp .top-news{
        padding:0.5em;
    }
    .goto-box{
        margin-bottom:2em;
    }
    .goto{
/*        background:#a1652f;*/
        width:100%;
        padding:2em 0;
        margin:0;
    }
    .goto-link{
        width:90%;
        margin:0 auto;
    }
    .goto-link-text{
        background:#c1b9a2;
        border-radius: 3px;
        margin:0 auto 1.5em auto;
        padding:1.2em 0;
        text-align: center;
        font-size:1.2em;
        border:dashed 1px white;
    }
    .rsv-text-left{
/*        color:white;*/
/*        font-weight: 100;*/
        line-height: 1.2em;
        border-top:dashed 2px white;
        padding:1.5em 1em;
        line-height: 1.2em;
    }
    /*アクセス*/
    .access-photo{
        width:100%;
    }
    .main-right-sp iframe{
        width:100%;
        height:400px;
    }
    .gmap{
        margin:0;
    }
    .access-order0{
        order:0;
    }
    .access-order1{
        order:1;
    }
    .access-text-box{
/*        order:2;*/
    }
    /*周辺施設*/
    .around-img-box{
        display: flex;
        flex-flow: column nowrap;
        width:100%;
        margin-top:1em;
    }
    .around-img-cont{
        margin:0 0 3em 0;
        padding-bottom:0.5em;
        width:100%;
        border-bottom:dashed;
    }
    .around-img-cont2{
        width:100%;
        margin:1em 0;
        padding-bottom:1em;
        border-bottom:dashed;
    }
    .nb-menu-box{
        display: flex;
        justify-content: center;
        width:70vw;
        margin: auto;
    }
    .nb-menu-box img{
        width:100%;
    }
    .nb-menu-cont{
        margin:0.3em 0;
    }
    .text-nb-access, .nb-i{
        font-size:1.3em;
        padding-top:0.3em;
    }
    .around-title-box{
        margin:0 auto;
    }
    .around-photo1{
        width:100%;
        margin:1em auto;
    }
    .around-photo2{
        display: none;
/*
        width:80%;
        height:100%;
        margin:0 auto;
*/
    }
    .around-box{
        display: flex;
        flex-flow: column nowrap;
        width:100%;
        margin:0;
    }
    .around-text-box{
        display: flex;
        flex-flow: column nowrap;
        justify-content: center;
        width:100%;
        margin:0 auto 2em auto;
        border-bottom:dashed;
        text-align: center;
    }
    .around-right{
        width:90vw;
        height:100%;
    }
    .around-add-sp{
        text-align: left;
        border:double;
        padding:1em;
    }
    .fa-camera {
        font-size: 2em;
    }
    /*フォトブック*/
    .photo-text{
        width:100%;
        margin-top:1em;
    }
    .photo1 img{
        width:100%;
    }
    .photo2{
        display: flex;
        flex-flow:row nowrap;
        width:100%;
        margin:auto;
    }
    .photo2 img{
        width:100%;
    }
    /*SP用フッター*/
    .footer-sp{
        display: block;
        width:100%;
        height:50vh;
        background:#3D4264;
        margin-top:2em;
        padding-top:1em;
    }
    .footer-sp p{
        color:white;
        font-size:80%;
        text-align: center;
        margin-bottom:0;
    }
    .footer-title{
        width:50%;
        margin:0 auto;
    }
    .footer-title img{
        width:100%;
        margin:1em auto 0 auto;
    }
/*
    .footer-menu{
        width:90%;
        margin:0 auto;
    }
    .footer-menu p{
        display: block;
        color:#3D4264;
        background-color:white;
        margin:1em;
        padding:0.5em;
        font-weight: bold;
    }
*/
    .footer-address{
        font-family: "Sawarabi Mincho";
        line-height: 1.3em;
    }
    .footer-sp small{
        display: block;
        color:white;
        text-align: center;
        margin-top:1em;
    }
    /*準備中ページ*/
    .pre-text{
        width:100%;
        margin:50%;
    }
}
@media screen and (max-width: 768px) and (min-width: 480px){
    .main-menu-box{
/*        width:350px;*/
        
    }
    .about-sp, .room-sp, .rsv-sp, .access-sp, .nb-sp{
        width:10vh;
        height:10vh;
    }
}