@charset "UTF-8";

@media(max-width: 820px){
    /*メインメニュー*/
    .main-display{
        display: flex;
        flex-direction: column;
    }
    aside{
        width: 100%;
        height: 130px;
    }
    main{
        width: 100%;
    }
    .sticky{
        /*position: relative;*/
        position: sticky;
        display: flex;
        flex-wrap: wrap;
        z-index: 9999;
        top: 0;
    }
    .logo2{
        width: auto;
        margin-left: 20px;
    }

    /*SP版メニュー*/
    #g-nav{
        /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
        position:fixed;
        z-index: 999;
        /*ナビのスタート位置と形状*/
        top:0;
        right: -120%;
        width:100%;
        height: 100vh;/*ナビの高さ*/
        background:rgb(0, 0, 0,0.8);
        /*動き*/
        transition: all 0.6s;
    }
    
    /*アクティブクラスがついたら位置を0に*/
    #g-nav.panelactive{
        right: 0;
    }
    
    /*ナビゲーションの縦スクロール*/
    #g-nav.panelactive{
        /*ナビの数が増えた場合縦スクロール*/
        position: absolute;
        z-index: 999; 
        width: 80%;
        height: 100vh;/*表示する高さ*/
        overflow: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    /*ナビゲーション*/
    #g-nav ul {
        /*ナビゲーション天地中央揃え*/
        position: absolute;
        z-index: 999;
        top:50%;
        left:50%;
        transform: translate(-50%,-50%);
        width: 100%;
    }
    
    /*リストのレイアウト設定*/
    
    #g-nav li{
        list-style: none;
        text-align: left;
        border-top: 2px solid #fff;
    }
    
    #g-nav li a{
        color: rgb(255, 255, 255);
        text-decoration: none;
        padding:0 10px;
        display: block;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        font-weight: bold;
    }
    
    /*========= ボタンのためのCSS ===============*/
    .openbtn{
        position:absolute;
        z-index: 9999;/*ボタンを最前面に*/
        top: 30%;
        left: 75%;
        cursor: pointer;
        width: 50px;
        height:50px;
        background-color: #4C5938;
        border-radius: 2px;
    }
        
    /*×に変化*/	
    .openbtn span{
        display: inline-block;
        transition: all .4s;
        position: absolute;
        left: 14px;
        height: 3px;
        border-radius: 2px;
        background-color: rgb(255, 255, 255);
        width: 45%;
    }
    
    .openbtn span:nth-of-type(1) {
        top:15px;	
    }
    
    .openbtn span:nth-of-type(2) {
        top:23px;
    }
    
    .openbtn span:nth-of-type(3) {
        top:31px;
    }
    
    .openbtn.active span:nth-of-type(1) {
        top: 18px;
        left: 18px;
        transform: translateY(6px) rotate(-45deg);
        width: 30%;
    }
    
    .openbtn.active span:nth-of-type(2) {
        opacity: 0;
    }
    
    .openbtn.active span:nth-of-type(3){
        top: 30px;
        left: 18px;
        transform: translateY(-6px) rotate(45deg);
        width: 30%;
    }
    /*予約ボタン*/
    .booking-1{
        margin: 0;
    }

    /*index.html-------------------*/
    /*メインロゴ*/
    .logo1{
    /*display: none;*/
    left: 15%;
    }
    /*SP版テキスト左右余白*/
    .sp_padding{
        padding: 0 15px;
    }
    /*sp版セクションタイトル*/
    .sec_text{
        text-align: left;
    }
    /*about*/
    .about_item{
        display: flex;
        flex-direction: column-reverse;
        width: auto;
    }
    .about_item p{
        padding: 30px;
        width: auto;
        height: auto;
    }
    .about_item img{
        width: auto;
    }
    
    /*stay*/
    .stay_flex{
        display: flex;
        flex-wrap: wrap;
    }
    .stay_item_price{
        width: 100%;
    }
    .stay_item_option{
        width: 100%;
        margin-top: 20px;
    }
    /*フッター---------------*/
    .footer_items{
        display: flex;
        flex-direction: column;
    }
    .footer_items li{
        width: auto;
        position: relative;
    }
    .footer_item_text{
        left: 40%;
    }
    /*about.html--------------*/
    .about_contents{
        display: flex;
        flex-direction: column;
        width: auto;
        height: auto;
    }
    .about_contents_img1{
        width: auto;
        height: auto;
        position: static;
    }
    .about_text1{
        width: auto;
        position: static;
        padding: 30px;
    }
    .about_contents_img2{
        width: auto;
        height: auto;
        position: static;
    }
    .about_text2{
        width: auto;
        position: static;
        padding: 30px;
    }
    /*about future*/
    .about-features_block{
        display: flex;
        flex-direction: column;
    }
    .about-features_ttl{
        width: auto;
    }
    .about-features_items{
        display: flex;
        flex-direction: column;
        width: auto;
        gap: 0;
    }
    .about-features_item{
        width: auto;
        margin-top: 40px;
    }
    .about-features_item img{
        height: auto;
    }
    /*price.html----------------------------------------*/
    .amenity_sec{
        width: auto;
    }
    .amenity_img{
        width: auto;
    }
    .price_amenity_icon li{
        width: 30%;
    }
    /*gallery.html---------------------------------------*/
    .gallery{
        padding: 0;
    }
    /*faq.html-----------------*/
    .qa_inner{
        width: auto;
    }
    .qa-label{
        padding: 20px 80px 20px 20px;
    }
    /*Contact.html-----------------------------------------*/
    .form-inn{
        width: auto;
    }

    /*option.html--------------------*/
    .option_text{
        max-width: none;
    }

}