@charset "utf-8";

/*
* タブレット画面
*/
@media screen and (max-width:960px){
    /*
    * 共通
    */
    .contets-child,
    .contact .contets-child,
    .page_midashi,.page_contents-child,
    .single_midashi,.single_contents-child{
        max-width: 85%;
    }

	section{
		margin: 30px auto;
        padding: 30px 0;
	}

    /*
    * index.php
    */

    /* header部 */
    .header_nav{
        position: inherit;
    }

    .header_nav-left{
        padding: 25px 0;
        width: 35%;
        margin: 0 auto 0 20px;
    }

    .header_nav-right{
        display: none;
    }

    .sp_nav{
        display: block;
        position: fixed;
        top: 15px;
        right: 15px;
        z-index: 99;
    }

    .sp_logo img{
        width: 60%;
    }

    .telephone{
        display: block;
        position: fixed;
        top: 15px;
        right: 75px;
        z-index: 95;
        background-color: #D3EB7F;
        width: 50px;
        height: 50px;
        border-radius: 5px;
    }

    .telephone a{
        cursor: default;
    }

    .telephone img{
        padding: 2px;
    }

    #sp_g-nav{
        display: block;
        position: fixed;
        top: 0;
        right: -120%;
        width: 100%;
        height: 100vh;
        background-color: #1A824F;
        transition: all 0.5s;
        z-index: 98;
        overflow: scroll;
    }

    .sp_g-nav-list{
        position: absolute;
        z-index: 98;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        font-family: '游明朝','iraginoSans-W4',sans-serif;
        width: 100%;
        text-align: center;
        font-size: 150%;
        padding: 150px 0;
    }

    .sp_g-nav-list ul li{
        padding-right: 0;
        margin: 60px;
        position: relative;
    }

    .sp_g-nav-list ul li::after{
        content: "";
        position: absolute;
        width: 25px;
        height: 22px;
        background-image: url("../image/sp_nav-circle.svg");
        background-repeat: no-repeat;
        background-size: auto;
        bottom: -160%;
        left: 50%;
        transform: translateX(-50%);
    }

    .sp_g-nav-list a{
        display: inline-block;
        color: #fff;
        width: 100%;
    }
    #sp_g-nav.panelactive{
        right: 0;
    }
    
    /* メインイメージ */
    .slick-slide img{
        height: auto;
        width: 100%;
        object-fit: unset;
    }
    

    /* TOPページのコンテンツ */
    .facility .contets-child .flex,
    .access .contets-child .flex{
        display: block;
    }

    .facility .facility-left,
    .facility .facility-right,
    .access .contets-child .access-left,
    .access .contets-child .access-right{
        width: 100%;
    }

    .facility .facility-right,
    .access .contets-child .access-right{
        padding-left: 0;
        margin-top: 30px;
    }

    .contact{
        padding-top: 30px;
        margin-top: 0;
    }

    .access .contets-child .access-right dt,
    .access .contets-child .access-right dd{
        width: 100%;
        font-size: 110%;
    }

    .access .contets-child .access-right dd br{
        display: none;
    }

    .access .access-right h4{
        margin-top: 20px;
    }

    .footer_nav{
        display: block;
    }

    .footer_nav-right{
        margin-top: 30px;
        text-align: right;
    }


    /* page.php */
    .containar{
        padding-top: 50px;
    }

    .privacy-policy .contact-text span{
        display: none;
    }
    /*@media (min-width: 1px) and (max-width: 1050px) {
        a:hover {
          opacity: 1;
        }
      }*/
}

/*
* スマホ画面
*/
@media screen and (max-width:624px){
    /*
    * 共通
    */
    .contets-child,
    .contact .contets-child,
    .page .page_midashi,.page .page_contents-child,
    .archive .page_midashi,.archive .page_contents-child,
    .single .single_midashi,.single .single_contents-child{
        max-width: 95%;
        padding: 15px;
    }
    
    .page .page_midashi .g-font1,
    .archive .page_midashi .g-font1,
    .single .single_midashi .g-font1,
    .page .page_midashi .page_midashi-img,
    .archive .page_midashi .page_midashi-img,
    .single .single_midashi .page_midashi-img{
        width: 100%;
    }

    section{
        margin: 20px 0;
    }

    .scroll{
        white-space: nowrap;
        overflow-x: scroll;
    }

    .scroll table{
        width: 100%;
    }

    .scroll::-webkit-scrollbar{
        height: 5px;
    }

    .scroll::-webkit-scrollbar-track{
        background: #F1F1F1;
    }

    .scroll::-webkit-scrollbar-thumb {
        background: #BCBCBC;
    }

    /* index.php */ 

    .header_nav{
        padding-left: 30px;
    }

    .header_nav-left{
        padding: 25px 0;
        width: 50%;
        margin: 0 auto 0 0;
    }

    .sp_g-nav-list{
        position: absolute;
        z-index: 98;
        top: 45%;
        left: 50%;
        transform: translate(-50%,-50%);
        font-family: '游明朝','iraginoSans-W4',sans-serif;
        width: 100%;
        text-align: center;
        font-size: 150%;
    }

    .home h2{
        font-size: 32px;
    }

    .facility .facility-right h3{
        font-size: 28px;
    }

    .contact{
        padding-top: 0;
        margin-top: 0;
    }

    .contact dl{
        display: block;
    }

    .contact dt,
    .contact dd{
        width: 100%;
    }

    .contact dt,
    .contact dt:last-of-type{
        text-align: left;
        margin-bottom: 0;
        border-bottom: unset;
        line-height: 1;
    }

    .contact dd{
        margin-bottom: 30px;
    }

    .contact .submit_btn input[type="submit"]{
        padding: 10px 45px;
        margin-top: 40px;
    }

    .access{
        margin: 50px auto 30px;
    }

    .access iframe{
        height: 300px;
    }

    .access .contets-child .access-right dt{
        margin-top: 30px;
    }

    .footer_nav,
    .footer_nav-left ul{
        display: block;
    }

    .footer_nav-left ul{
        display: none;
    }

    .footer_nav-right{
        width: 60%;
        margin: 0 auto;
    }

    .footer_nav-right ul{
        text-align: center;
    }

    .footer_nav-right a{
        background: #1A824F;
        color: #fff;border-radius: 5px;
        padding: 10px 20px;
    }
    
    .grecaptcha-badge {
        margin-bottom: 85px;
    }

    .copyright p{
        margin-top: 50px;
    }

    @media (hover:hover){
        .footer_nav-right a:hover{
            border: 1px solid #185626;
            background-color: #fff;
            color: #185626;
            opacity: 1;
        }
    }

    /* page.php */
    .containar{
        padding-top: 30px;
    }

    .containar h2{
        font-size: 32px;
        margin-bottom: 10px;
    }

    .page .page_midashi .flex,
    .archive .page_midashi .flex,
    .single .single_midashi .flex{
        display: block;
    }

    .page .page_midashi .flex h1{
        margin-bottom: 15px;
    }

    .page .page_midashi .flex h1,
    .page .page_midashi .flex .page_midashi-img
    .archive .page_midashi .flex h1,
    .archive .page_midashi .flex .page_midashi-img,
    .single .single_midashi .flex h1,
    .single .single_midashi .flex .page_midashi-img{
        width: 100%;
    }
    
    .page #limit-text,
    .archive #limit-text,
    .single #limit-text{
        margin-top: 10px;
    }

    .single_contents-child p{
        word-break: break-word;
    }

    .single .single_contents-child .scroll table{
        table-layout: fixed;
        min-width: 210%;
    }

    .ryoukinhyou_div .price a{
        font-size: 16px;
    }

    .facility_gallery{
        display: block;
    }
    
    .facility_gallery-item{
        width: 100%;
    }

}