/* =========================
	メディアクエリ
========================= */
@media screen and (max-width: 1680px) {
    .icon_down{
    top:-100px;
    }
}
@media screen and (max-width: 1440px) {
    .onsen_box .onsen_01 video {
    width: auto;
    }
    .viewer img {
        width: auto;
    }
}
@media screen and (max-width: 1199px) {
    .bg_l7_and_r3 .bg_img video,
    .bg_7_and_3 .bg_img video{
        width: auto;
        height: 100%;
    }
    .plan_rss ul,
    .cuisine_nav ul{
    width: 29%;
    overflow: hidden;
    margin: 0px 2% 0px;
    }
    .room_info .room_01 video,
    #onsen .onsen_info video {
    width: auto;
    min-height: 100%;
    }
    .box .slideup .c_title{
    font-size: 11px;
    }
    header,footer,
    section{
        max-width:1199px; 
    }
}

@media screen and (max-width: 1024px) {
/* 1024pxまでの幅の場合に適応される */
    header,footer,
    section{
        max-width:1024px; 
    }

    .main_bn ul li:first-child{
        min-height: 54px;
    }
    .main_bn ul li:first-child{
        background:url(../img/mb_t_01.png)no-repeat;
        background-size: 80%;
        background-position: center;
    }

    .main_bn ul.bn_02 li:first-child{
        background:url(../img/mb_t_02.png)no-repeat;
        background-size: 80%;
        background-position: center;
    }
    .main_bn ul.bn_03 li:first-child{
        background:url(../img/mb_t_03.png)no-repeat;
        background-size: 80%;
        background-position: center;
    }
    .onsen_box_areamain{
    width:100%;
    padding-right: 100px;
        }
    .bg_7_and_3 .onsen_box_areamain{
    padding-right: 20px;
        }
    .onsen_box_areamain,
    .bg_in_title{
    width:100%;
    }
    .bg_in_title img{
     max-width: 292px;   
    }
    /**access***/
    .root ul.root_text{
    float: none;
    width: 100%;
    padding: 0 0px 0 0;
    }
    .root p.img{
    width: 100%;
    }
    .facilities_03 h3.in_title {
    width: 100%;
    }
    .bg_l7_and_r3 .bg_in_title, .bg_7_and_3 .bg_in_title {
    max-width: 180px;
    }
    .bg_l7_and_r3 .bg_in_title img,
    .bg_7_and_3 .bg_in_title img{
        width: 100%;
    }

}

@media screen and (max-width: 799px) {
/* 799pxまでの幅の場合に適応される */
    footer nav ul{
        max-width:480px;
    }
    footer nav li{
        max-width:33.3%;
    }
    .cloud_01{
    display: none;
    }
    .cloud_02{
    position: absolute;
    top: 0px;
    left: 0;
    height: 300px;
    width: 600px;
    z-index: -1;
    background: url(../img/bg_cloud_01.jpg)no-repeat;
    background-size: 40%;
    background-position: left 0;
    text-indent: -9999px;
    }
    #pets .botton{
    text-align: center;
    }
    #pet_04 .text,
    #pet_04 .ph{
        width: 100%;
        padding: 0 0px;
        float: none;
    }
    .greeting{
    background: none;
    }
    .greeting h2{
    margin-bottom: 0px;
    width: 100%;
    }
    .greeting p br{
        display: none;
    }
    .side_banner{
    position: absolute;
    display: table;
    margin: 0 auto;
    top:1px;
    }
    #index .side_banner{
    top:0;
    }


}

@media screen and (max-width: 784px) {
/* 767pxまでの幅の場合に適応される */
/*各phが高さ300pxになる*/

    .main_bn ul{
        float: none;
        width: 100%;
        padding-right: 0px;
        margin-bottom: 15px;
    }
    .main_bn ul li:first-child{
        background:none;
        text-indent: 0px;
    }
    .main_bn ul.bn_02 li:first-child{
        background:none;
    }
    .main_bn ul.bn_03 li:first-child{
       background:none;
    }
    .title_hane{
        margin: 30px auto 10px;
    }
    .bg_l7_and_r3 .bg_in_title, .bg_7_and_3 .bg_in_title {
    max-width: 257px;
    }
    .mb_t_none{
        margin-top: 0;
    }
    .bg_l7_and_r3 .bg_img video,
    .bg_7_and_3 .bg_img video{
        width: 100%;
        height: auto;
    }
    .bg_7_and_3 .viewer img,
    .bg_l7_and_r3 .viewer img{
        min-height: 300px;
    }
    .viewer img {
        width: 100% !important;
        min-height: 300px;
    }
    .col_four ul{
    float: none;
    width: 100%;
    padding: 0 5px;
    margin-bottom:70px; 
    }


    .col_four ul:last-child{
        margin-bottom:0; 
    }
    .col_three ul{
    float: none;
    width: 100%;
    padding: 0 ;
    margin-bottom: 30px;
    }
    .col_three ul li:first-child {
    height: auto;
    }

    .movie.col_three ul li:nth-child(2) {
    height: auto;
    max-width: 640px;
    max-height: 360px;
    overflow: visible;
    margin: 0 auto 5px; 
    }
    .room_info .room_01 video.kiyomori_m {
    max-width: 640px;
    max-height: 360px;
    }
    .appear_784{
        display: block;
    }
    .none_784{
        display: none;
    }

    /**onsen*********************************/
    .room_info .room_01 video,
    #onsen .onsen_info video {
    width: 100%;
    height:auto;
    }

    .onsen_nav li a{
    height: 40px;
    background-size: 100%;
    background-position: center;
    }
    .onsen_nav li:nth-child(1):hover a,
    .onsen_nav li:nth-child(1) a{
    background-size: 100%;
    background-position: center;
    }
    .onsen_nav li:nth-child(2):hover a,
    .onsen_nav li:nth-child(2) a{
    background-size: 100%;
        background-position: center;
    }
    .onsen_nav li:nth-child(3):hover a,
    .onsen_nav li:nth-child(3) a{
    background-size: 100%;
    }
    .onsen_nav li:nth-child(4):hover a,
    .onsen_nav li:nth-child(4) a{
    background-size: 100%;
    }

    .onsen_box{
     width: 100%;
     position: relative;
    }

    .onsen_icon{
     position: absolute;
     width: 70px;
     margin: 0 auto;
     left: 0;
     right: 0;
     top: 265px;
    }
    .room_01 .bg_img,
    .onsen_box .bg_img{
    width: 100%;
    height: 300px;
    float: none;
    }


    .onsen_box_tx{
        text-align: center;
    }

    .onsen_box .bg_l7_and_r3 .bg_img,
    .onsen_box .bg_7_and_3 .bg_img{
    width: 100%;
    height: 450px;
    float: none;
    }
    .bg_l7_and_r3 .onsen_box_r,
    .bg_7_and_3 .onsen_box_r,
    .onsen_box_r {
        float: none;
        width: 100%;
    }
    .bg_l7_and_r3 .onsen_box_areamain,
    .bg_7_and_3 .onsen_box_areamain,
    .onsen_box_areamain {
        position: relative;
        width: 100%;
        margin: 70px auto 70px;
        padding: 0 15px;        
        left: 0px;
    }
    .bg_l7_and_r3 .bg_in_title ,
    .bg_7_and_3 .bg_in_title ,
    .bg_in_title{
    max-width: 300px;
    margin: 0 auto;
    }
    .bg_l7_and_r3 .bg_in_title ,
    .bg_7_and_3 .bg_in_title {
        width: 200px;
    }

    .detail{
    padding: 70px 15px;
    margin:0 auto; 
    }
    .bg_l7_and_r3 .bg_img video,
    .room_info .room_01 video,
    .onsen_box .onsen_01 video {
        width: 100%;
        height: auto;
    }

    /**room*********************************/
    .room_nav li a{
    height: 40px;
    background-size: 100%;
    background-position: center;
    }
    .room_nav li:nth-child(1):hover a,
    .room_nav li:nth-child(1) a{
    background-size: 100%;
    background-position: center;
    }
    .room_nav li:nth-child(2):hover a,
    .room_nav li:nth-child(2) a{
    background-size: 100%;
        background-position: center;
    }
    .room_nav li:nth-child(3):hover a,
    .room_nav li:nth-child(3) a{
    background-size: 100%;
    }
    .room_nav li:nth-child(4):hover a,
    .room_nav li:nth-child(4) a{
    background-size: 100%;
    }

    .icon_movie{
        width: 60px;
        height: auto;
        margin-left: 5%;
        padding: 0;
    }
    /*.room_info .bg_l7_and_r3 .bg_img,
    .room_info .bg_7_and_3 .bg_img
    {
    width: 100%;
    max-height: 100%;
    height: 100%;
    float: none;
    }*/


    /**cuisine*********************************/
    .cuisine_nav ul{
        float: none;
        margin: 0px 0px 30px;
        width: 100%;
    }
    .box .slideup .c_title{
    font-size: 0.85rem;
    }
    .box:hover > .slideup {
    top:60%;
    }
    /**researvation*********************************/
    .plan_rss{
    margin: 70px auto 0px;
    }
    .plan_rss ul{
    float: none;
    margin: 0px 0px 70px;
    width: 100%;
    max-width: 340px;
    }
    .cuisine_nav ul:nth-child(3),
    .plan_rss ul:nth-child(3){
        margin-bottom:0; 
    }
    /**access*********************************/
    .root p.img{
        display: none;
    }
    /**facilities*********************************/
    .facilities_03 ul.float li{
    padding: 15px ;
    width: 50%;
    }
    .facilities_03 ul.float li:first-child{
    padding: 15px ;
    width: 100%;
    text-align: center;
    }
    .facilities_03 h3.in_title {
        width: 300px;
        }
    /**sightseeing*********************************/
    #sightseeing .fl_three {
    min-height: 6rem;
    }
    /**pets*********************************/
    .pets_nav{
        display: none;
    }
    .pets_nav li:nth-child(1):hover a,
    .pets_nav li:nth-child(1) a{
    background-size: 100%;
    background-position: center;
    background-size: contain;
    }
    .pets_nav li:nth-child(2):hover a,
    .pets_nav li:nth-child(2) a{
    background-size: 100%;
    background-position: center;
    background-size: contain;
    }
    .pets_nav li:nth-child(3):hover a,
    .pets_nav li:nth-child(3) a{
    background-size: 100%;
    background-position: center;
    background-size: contain;
    }
    .pets_nav li:nth-child(4):hover a,
    .pets_nav li:nth-child(4) a{
    background-size: 100%;
    background-position: center;
    background-size: contain;
    }
    #pets .detail{
    padding: 30px 15px;
    }

}

@media screen and (max-width: 480px) {
/* 480pxまでの幅の場合に適応される */
    .greeting{
    padding-top: 0;
    }
    .icon_down{
    top:-30px;
    }
    .icon_down img{
    width: 2rem;
    }
    .main_bn ul li:first-child{
        min-height: 67px;
        background-size: 80%;
    }
    .main_bn ul{
        float: none;
        width: 100%;
        padding-right: 0px;
    }
    #index .side_banner {
        position: relative;
        display: table;
        margin: 0 auto;
    }

    .room_info .room_01 video,
    #onsen .onsen_info video {
    width: auto;
    height:100%;
    }
    .onsen_box_areamain .ph_auto img {
    width: 100%;
    }

    p{
        padding-right:15px;
        padding-left: 15px;
    }

    .cloud_01{
    background:none;
    }


    .title_hane img{
        max-width: 100%;
    }

    div#mini {
    float: none;
    max-width:360px;
    /*max-width:33%;*/
    padding:0;
    margin-left: auto;
    margin-right: auto; 
    }
    div#mini:last-child {
    margin-right: auto;
    }
    .plan #minileft{
        padding: 0 15px;
    }
    /*
    .side_banner img{
        width: 70%;
        height: auto;
        right: -26px;
        position: relative;
    }
    .side_banner{
    top: 0px;
    }*/
    .room_01 .viewer img,
    .bg_7_and_3 .viewer img,
    .bg_l7_and_r3 .viewer img{
        max-height: 300px;
       min-height: 300px;
    }
    .viewer img {
        width: auto !important;
       min-height: 300px;
    }

    footer nav ul{
        max-width:320px;
    }
    footer nav li{
        max-width:50%;
    }
    .copy address{
    min-width: 0px;
    text-align: center;
    font-size: 10px;
    letter-spacing: 1px;
    padding: 5px;
    }
    .copy .copyright{
        font-size: 10px;
    }
    .news_part ul{
    display: table;
    margin-left: auto;
    margin-right: auto;
    }
    .news_part ul li{
        padding: 0 0 10px 15px;
    }
    .news_part ul li:first-child{
    float: none;
    margin-right: 0px;
    }

    .news_part ul li:nth-child(2){
        margin-left: 0px;
        line-height: 2;
    }

    .bg_7_and_3 .bg_img{
        height: auto;
    }

    .onsen_box .bg_l7_and_r3 .bg_img,
    .onsen_box .bg_7_and_3 .bg_img{
    width: 100%;
    height: 300px;
    float: none;
    }

    .room_01 .bg_img video,
    .onsen_box .onsen_01 .bg_img video{
    width: auto;
    height: 300px;
    }

    /**onsen*********************************/
    .bg_in_title{
    max-width: 300px;
    }
    #onsen_04 .onsen_box .bg_7_and_3 .bg_img{
    background-size: contain;
    height: 300px;
    overflow: hidden;
    }
    /**cuisine*********************************/
    .cuisine_nav ul li:nth-child(2){
        width: 100%;
        height: auto;
    }
    .cuisine_nav {
    margin: 0px auto 70px;
    }
    .box:hover > .slideup {
    top:50%;
    }
    .box .slideup .c_title{
    font-size: 11px;
    }
    /**researvation*********************************/
    .plan_rss ul{
    max-width: 100%;
    padding: 0 15px;
    }
    .plan_rss ul li:nth-child(1) {
    width: 100%;
    height: auto;
    }
    #sightseeing .fl_three {
    min-height: 3rem;
    }
    .access_01 address{
        font-size: 12px;
    }
    .rate table td {
    padding: 10px 5px;
    letter-spacing: 0em;
    font-size: 12px;
    }
    /**pets*********************************/
    #pet_02 ul li{
        text-align: left;
    }
    #pet_04 h3{
        font-size: 0.85em;
    }
    footer #bn_pet {
    margin: 30px auto 0;
    }

}

@media screen and (max-width: 320px) {
/* 320pxまでの幅の場合に適応される */

    footer nav ul{
        max-width:320px;
    }
    footer nav li{
        max-width:50%;
    }
    
    .ph_auto img {
    width: 100%;
    }
    .copyright img{
        width: auto;
    }
        /**/
    .news_part ul li{
        padding: 0 0 10px 15px;
    }
    .news_part ul li:first-child{
    float: none;
    margin-right: 0px;
    }

    .news_part ul li:nth-child(2){
        margin-left: 0px;
        line-height: 2;
    }
    /**onsen*********************************/
    .bg_7_and_3 .bg_in_title{
    max-width: 100%;
    }

    .in_title{
    max-width: 100%;
    }
    .rate table th,
    .rate table td{
    letter-spacing: 0em;
    font-size: 0.75em;
    }

    .side_banner a{
        display: block;
        margin:0;
        float: left;
        width: 50%;
    }
    .side_banner a img{
        width: 100%;
        padding: 0 1px;
    }


}