/*theme name:*/

@media screen and (max-width:896px){

    .sp-br3{
        display: block;
    }
    

    /*メニュー*/

    nav ul li.child::before{
        top: 25px;
        left: 5px;
    }

    nav ul{
        max-width: 700px;
    }

    nav ul li a{
        padding: 20px 20px;
        font-size: 12px;
    }

    nav li.child ul{
        top: 57px;
        width: 100%;
    }

    .header-text h1 a{/*追加*/
        font-size: 20px;
    }

    .header-text p{
        font-size: 12px;
    }

    /*ここまでヘッダーメニュー*/

    .content1 h2{
        font-size: 30px;
    }

    .content1-main img{
        width: 90%;
        max-width: 700px;
    }

    .customer-voice{
        max-width: 700px;
        padding: 2%;
        margin-top: 6%;
    }


    .customer-voice p{
        width: 60%;
        padding: 3%;
        padding-bottom: 10%;

    }

    .cus-voice-img{
        width: 30%;
    }

    .cus-voice-img img{
        max-width: 200px;

    }

    .cus-voice-img h3{
        font-size: 12px;
    }

    .container h2{
        font-size: 26px;
        max-width: 700px;
    }

    


    

    /*お問い合わせ　LINE*/
    
    .contact h2{
        font-size: 26px;
    }


    /*footer*/

    th span{
        font-size: 12px;
    }

    th, td{
        font-size: 18px;
    }


    .footer-left h2{
        font-size: 20px;
    }

    .footer-left p{
        font-size: 14px;
    }

    .footer-left h3{
        font-size: 30px;
    }

    .time th,.time td{
        font-size: 12px;
    }

    .access-btn,.inquiry-btn{
        padding: 10px;
    } 

    .access-btn a,.inquiry-btn a{
        font-size: 14px;
    }

    .arrow-time::before{
        top: 18px;
        width: 7px;
        height: 7px;

    }

    


}

@media screen and (max-width:650px){
     /* ハンバーガーメニューのCSS */
     nav{
		padding: 0;
        background-color: white;
	}
	
	nav ul{
		display: block;
	}
	
	nav li.child ul,
	nav li.child ul ul{
  	position: relative;
	left:0;
	top:0;
	width:100%;
	visibility:visible;
	opacity:1;
	display: none;
	transition:none;
    padding: 0;
    background-color: white;
    }
        
    nav ul li a{
        border-bottom:1px solid #ccc;
    }

    /*矢印*/

    nav ul li.child::before{
        left:20px;
        top: 18px;
        border-color: #f9ae06;	
    }

    nav ul ul li.child::before{
        transform: rotate(135deg);
        left:20px;
        top: 18px;
        border-color: #f9ae06;	
    }
        
    nav ul li.child.active::before{
        transform: rotate(-45deg);
        border-color: #f9ae06;	
    }

    .menu-btn {
        position: fixed;
        top: 0; 
        right: 0; 
        display: flex; 
        height: 55px; 
        width: 55px; 
        justify-content: center;
        align-items: center; 
        z-index: 90; 
        background-color: #f9ae06; 
    }


    .menu-btn span{
        display: inline-block;
        transition: all .4s;
        position: absolute;
        left: 14px;
        height: 2px;
        border-radius: 5px;
        background: white;
        width: 45%;
    }

    .menu-btn span:nth-of-type(1) {
        top:13px;	
    }
    
    .menu-btn span:nth-of-type(2) {
        top:19px;
    }
    
    .menu-btn span:nth-of-type(3) {
        top:25px;
    }
    
    .menu-btn span:nth-of-type(3)::after {
        content:"Menu";
        position: absolute;
        top:5px;
        left:-2px;
        color: #fff;
        font-size: 0.6rem;
        text-transform: uppercase;
    }
    
    
    
    .menu-btn.active span:nth-of-type(1) {
        top: 14px;
        left: 18px;
        transform: translateY(6px) rotate(-45deg);
        width: 30%;

    }
    
    .menu-btn.active span:nth-of-type(2) {
        opacity: 0;
    }
    
    .menu-btn.active span:nth-of-type(3){
        top: 26px;
        left: 18px;
        transform: translateY(-6px) rotate(45deg);
        width: 30%;

    }
    
    .menu-btn.active span:nth-of-type(3)::after {
        content:"Close";
        transform: translateY(0) rotate(-45deg);
        top:5px;
        left:4px;
    }

    #menu-btn-check {
        display: none;
    }

    

    /*表示されるメニュー*/

    .menu-content {
        width: 100%; 
        height: 100%;
        position: fixed;
        top: 0;
        left: 100%;
        z-index: 80;
        background-color: white;
        transition: all .4s;
    }

    .menu-content ul {
        padding: 70px 10px 0; 
    }

    .menu-content ul li {
        list-style: none;
    }

    .menu-content ul li a { 
        display: block;
        width: 100%;
        font-size: 15px;
        box-sizing: border-box;
        color:#f9ae06;
        text-decoration: none;
        padding: 9px 15px 10px 0;
        position: relative;
    }

    .menu-content ul li a:hover{
        opacity: 0.7;
        color: white;
    }

    #menu-btn-check:checked ~ .menu-content {
        left: 0;
    }

    .bar{
        z-index: 80;
        height: 55px;
        position: fixed;
    }

 
    .header-text{
        width: 100%;
        display: flex;/*追加*/
        flex-direction: column-reverse;   /*追加*/ 
    }
    
    h1{
        margin-left: 2%;/*追加*/
    }
 
    .header-text p{
        margin-left: 2%;/*追加*/
    }
 
    .header-tell{/*追加*/
       display: none;
    }
    .header-top{
        padding-top: 13%;
    }

    

}


@media screen and (max-width:480px){

    .sp-br{
        display: block;
    }

    .sp-br2{
        display: none;
    }

    .banner{
        display: flex;
        max-width: 480px;
        width: 100%;
        position: fixed;
        z-index: 1000;
        bottom: 0;
        right: 0;
        left: 0;
        background-color: white;
    }

    .banner img{
        display: block;
        width: 100%;
        height: auto;


    }

    .banner a:hover{
        opacity: 0.7;
    }


    /* ハンバーガーメニューのCSS */
    nav{
		padding: 0;
        background-color: white;
	}
	
	nav ul{
		display: block;
	}
	
	nav li.child ul,
	nav li.child ul ul{
  	position: relative;
	left:0;
	top:0;
	width:100%;
	visibility:visible;
	opacity:1;
	display: none;
	transition:none;
    padding: 0;
    background-color: white;
    }
        
    nav ul li a{
        border-bottom:1px solid #ccc;
    }

    /*矢印*/

    nav ul li.child::before{
        left:20px;
        top: 18px;
        border-color: #f9ae06;	
    }

    nav ul ul li.child::before{
        transform: rotate(135deg);
        left:20px;
        top: 18px;
        border-color: #f9ae06;	
    }
        
    nav ul li.child.active::before{
        transform: rotate(-45deg);
        border-color: #f9ae06;	
    }

    .menu-btn {
        position: fixed;
        top: 0; 
        right: 0; 
        display: flex; 
        height: 55px; 
        width: 55px; 
        justify-content: center;
        align-items: center; 
        z-index: 90; 
        background-color: #f9ae06; 
    }


    .menu-btn span{
        display: inline-block;
        transition: all .4s;
        position: absolute;
        left: 14px;
        height: 2px;
        border-radius: 5px;
        background: white;
        width: 45%;
    }

    .menu-btn span:nth-of-type(1) {
        top:13px;	
    }
    
    .menu-btn span:nth-of-type(2) {
        top:19px;
    }
    
    .menu-btn span:nth-of-type(3) {
        top:25px;
    }
    
    .menu-btn span:nth-of-type(3)::after {
        content:"Menu";
        position: absolute;
        top:5px;
        left:-2px;
        color: #fff;
        font-size: 0.6rem;
        text-transform: uppercase;
    }
    
    
    
    .menu-btn.active span:nth-of-type(1) {
        top: 14px;
        left: 18px;
        transform: translateY(6px) rotate(-45deg);
        width: 30%;

    }
    
    .menu-btn.active span:nth-of-type(2) {
        opacity: 0;
    }
    
    .menu-btn.active span:nth-of-type(3){
        top: 26px;
        left: 18px;
        transform: translateY(-6px) rotate(45deg);
        width: 30%;

    }
    
    .menu-btn.active span:nth-of-type(3)::after {
        content:"Close";
        transform: translateY(0) rotate(-45deg);
        top:5px;
        left:4px;
    }

    #menu-btn-check {
        display: none;
    }

    

    /*表示されるメニュー*/

    .menu-content {
        width: 100%; 
        height: 100%;
        position: fixed;
        top: 0;
        left: 100%;
        z-index: 80;
        background-color: white;
        transition: all .4s;
    }

    .menu-content ul {
        padding: 70px 10px 0; 
    }

    .menu-content ul li {
        list-style: none;
    }

    .menu-content ul li a { 
        display: block;
        width: 100%;
        font-size: 15px;
        box-sizing: border-box;
        color:#f9ae06;
        text-decoration: none;
        padding: 9px 15px 10px 0;
        position: relative;
    }

    .menu-content ul li a:hover{
        opacity: 0.7;
        color: white;
    }

    #menu-btn-check:checked ~ .menu-content {
        left: 0;
    }

    .bar{
        z-index: 80;
        height: 55px;
        position: fixed;
    }

    .bar p{/*追加*/
        margin-left: 5%;
    }

    .header-top{
        padding-top: 70px;
        flex-direction: column;
    }

    .header-text{
        width: 100%;
    }


    /*パンくず*/
    .breadcrumb{
        display: none;
    }

    
    

    .content1 h2{
        font-size: 20px;
        padding: 3% 0;
    }

    .content1-main img{
        max-width: 300px;
    }

    .container h2{
        font-size: 20px;
        max-width: 300px;
    }

    .container h2::before{
        bottom: -39px;
        left: 7%;
        margin-left: -16px;
        border: 20px solid transparent;
        border-top: 20px solid white;
    }

    .container h2::after{
        bottom: -44px;
        left: 7%;
        margin-left: -17px;
        border: 21px solid transparent;
        border-top:21px solid #f9ae06;;
    }

    .customer-voice{
        flex-direction: column;
        max-width: 300px;
        margin-bottom: 15%;
    }

    .customer-voice p{
        width: 95%;
    }

    .customer-voice p span{
        position: unset;
    }

    .cus-voice-img{
        width: 50%;
    }



    /*LINE*/
    .contact h2{
        font-size: 18px;
    }
    

    /*footer*/
    
    .content12 a{
        width: 100%;
    }

    .content12{
        width: 95%;
        max-width: 350px;
    }

    .content12 img{
        width: 100%;
    }

    .content13{
        width: 95%;
        max-width: 350px;

    }

    .content13 img{
        width: 49%;
        margin: 0 0 1% 0;
    }


    .footer-main{
        flex-direction: column;
    }

    .footer-left{
        width: 100%;
    }

    .map-right{
        width: 100%;
    }

    .map{
        padding-top: 73.25%;
    }

    .footer-end p{
        padding: 6% 0;
    }

    .footer-end{
        margin-bottom: 22%;
    }


    

    


}
