
@media screen and (max-width:1380px){
    #logo-50th {
        width: 200px;
        bottom: 50px;
    }
}

@media screen and (max-width:1200px){
    #logo-50th {
        width: 200px;
        bottom: 30px;
    }
    #logo-normal{
        width: 100px;
        bottom: 60px;
    }
}


@media screen and (max-width:640px){

    #logo-50th {
        width: 200px;
        bottom: 40px;
    }
    html{
        font-size:80%;
    }

    body{

        min-width: 350px;
    }

    h1{
        margin:0px 0px 0px 0px;
        font-size: 1.5rem;
    }
    #logo-normal{
        width: 100px;
        bottom: 60px;
    }

    
    .headers{
        height:100px;
        display: block;
        float:center;
        position: relative;
        background-image: url('img/asahi.jpg');
        background-position: right bottom;
        background-size: cover;
        background-repeat: no-repeat;
        border-bottom:3px solid rgb(134, 134, 134);

    }
    .headers img{
        width: 80px;
        left:15px;
        top:14px;
    }

    #cc{
        top:12px;
        left:106px;
    }

    #title-s{
        left:106px;
        top:36px;
        font-size:2.3rem;
        
    }
    #company-info{
        top:54px;
        right:10px;
        font-family: 'Kosugi Maru', sans-serif;
        line-height:1.6rem;
        color:#FFF;
        text-shadow: 3px 3px 3px #333F50;
        font-size:0;
    }
    #company-info span{
        font-size:1.4rem;
        z-index: 50;
    }
    #company-info span:before{
        content:"お問い合わせはこちら→　";
        font-size:1.1rem;
    }

    .wrap{
        min-height: 100%;
        margin-bottom: -160px;
        position: relative;
    }
    .push{
        height:162px;
    }

    .footers{
        height:160px;
    }
    
    .footers span{
        font-size:1.3rem;
        line-height: 1.3rem;
    }
    #fa{
        font-size:1rem;
        display: block;
        position: static;
        margin-top:10px;
        left:25%;
        text-align: center;
        line-height: 1.1rem;
        
    }
    #fb{
        margin-top:10px;
        font-size:1rem;
        display: block;
        position: static;
        text-align: center;
        line-height: 1.1rem;
    }
    #fc{
        text-align: center;
        display: block;
        position: absolute;
        width:100%;
        left:auto;
        right:auto;
        bottom:1px;
        font-size:0.8rem;
    }
    

    #fd{
        text-align: center;
        display: block;
        position: absolute;
        width:100%;
        left:auto;
        right:auto;
        bottom:15px;
        font-size:1rem;
    }

    .menu_dummy{
        width:0px;
    }


    .menu{
        height:100vh;
        top:0;
        overflow-y: auto;
        position: fixed;
        left: 100vw;
        z-index:50;
        background-color: rgba(255, 255, 255, 0.884);
    }

    .menu:before{
        font-family: 'Kosugi Maru', sans-serif;
        line-height:60px;
        font-size:1.4rem;
        text-align: center;
        content:"ＭＥＮＵ";
        display: block;
        height:60px;
        width:200px;
        background-color: rgb(255, 255, 255);
        border-bottom: 2px solid rgb(134, 134, 134);;
        text-shadow:white 2px 0px 4px,
        white 2px 2px 4px,
        white 0px 2px 4px,
        white 0px -2px 4px,
        white -2px -2px 4px,
        white -2px 0px 4px,
        white -2px 2px 4px,
        white 2px -2px 4px,
        white 3px 0px 4px,
        white 3px 3px 4px,
        white 0px 3px 4px,
        white 0px -3px 4px,
        white -3px -3px 4px,
        white -3px 0px 4px,
        white -3px 3px 4px,
        white 3px -3px 4px,
        white 4px 0px 4px,
        white 4px 4px 4px,
        white 0px 4px 4px,
        white 0px -4px 4px,
        white -4px -4px 4px,
        white -4px 0px 4px,
        white -4px 4px 4px,
        white 4px -4px 4px,
        white 3px 0px 6px,
        white 3px 3px 6px,
        white 0px 3px 6px,
        white 0px -3px 6px,
        white -3px -3px 6px,
        white -3px 0px 6px,
        white -3px 3px 6px,
        white 3px -3px 6px;
    }

    .menu li a:hover:before{
        left: -200px;
    }

    .menu li a:hover:not(.active)  {
        background-color: rgba(93, 255, 255, 0.555);
    }

    .l-drawer__icon {
        right: 0px;
        z-index: 80;
        top:3px;
        background-color:#82f0ffb7;
        border: solid 2px #00000050;
        border-right: none;
        cursor: pointer;
        display: block;
        width: 40px;
        height: 40px;
        position: fixed;
        border-radius:10px 0px 0px 10px;
    }
    
    

    .l-drawer__checkbox:checked ~ .l-drawer__icon .l-drawer__icon-parts1 {
        left:100px;
    }
    .l-drawer__checkbox:checked ~ .l-drawer__icon .l-drawer__icon-parts2{
        -webkit-transform: rotate(-225deg);
        transform: rotate(-225deg);
        top: 0;
        width: 32px;
        background-color: rgb(70, 70, 70);
        border-color:  rgb(70, 70, 70);
    }
    .l-drawer__checkbox:checked ~ .l-drawer__icon .l-drawer__icon-parts3 {
        -webkit-transform: rotate(225deg);
        transform: rotate(225deg);
        top: 0;
        width: 32px;
        background-color: rgb(70, 70, 70);
        border-color:   rgb(70, 70, 70);
    }


    .l-drawer__checkbox:checked ~.l-drawer__icon {
        top: 3px;
    }
    

    .l-drawer__icon-parts1,.l-drawer__icon-parts2,.l-drawer__icon-parts3 {
        background-color: #000;
        border: solid 1px #000;
        border-radius: 2px;
        display: block;
        width: 23px;
        height: 2px;
        position: absolute;
        right: 0;
        left: 0px;
        bottom: 0;
        margin: auto;
    }

    .l-drawer__icon-parts1 {
        top: 0px;
    }
    .l-drawer__icon-parts2 {
        top: -18px;
    }
    .l-drawer__icon-parts3 {
        top: 18px;
    }




    .l-drawer__overlay {
        background: rgb(0, 0, 0);
        opacity: 0;
        pointer-events: none;
        width: 100%;
        height: 100%;
        position: fixed;
        top: 0;
        right: 0;
        z-index: 20;
    }
    
    .l-drawer__checkbox:checked ~ .l-drawer__overlay {
        opacity: 0.5;
        pointer-events: auto;
    }
    
    .l-drawer__checkbox:checked ~ .menu {
        left: calc(100vw - 200px);
    }
    
    .l-drawer__checkbox:checked ~ .l-drawer__menu {
        right: 0;
    }
    
    .l-drawer__icon,.l-drawer__icon-parts1, .l-drawer__icon-parts2,.l-drawer__icon-parts3, .l-drawer__overlay, .menu {
        -webkit-transition: all 0.5s;
        transition: all 0.5s;
    }
      




    .slide1{
        width:200%;
        height:100%;
    }
    
    .slide2{
        width:100%;
        height:300%;
    }
    
    .slide3{
        width:200%;
        height:100%;
    }

    .ss1, .ss3, .ss5, .ss7 {
        bottom: 40px;
        right: 20px;
    }
    .ss2, .ss4, .ss6, .ss8 {
        top: 30px;
        left: 20px;
    }

/*


    #pict{
        min-width: 480px;
        height:260px;
        width:100%;
        left:0px;
        font-size:2rem;
    }
    

    #pict span{
        bottom:6px;
    }

*/

.slider{
    top:103px;
    min-width: 350px;
    height:240px;
    width:100%;
    left:0px;
    font-size:1.5rem;
}
.slider-dummy{
    min-width: 350px;
    height:240px;
    width:100%;
    left:0px;
}


.bgv{
    top:103px;
    min-width: 480px;
    height:260px;
    width:100%;
    left:0px;
    font-size:2rem;

}

.bgv1{
    min-width: 100%;
    height:260px;
    width:100%;
    left:0px;

}







#comment{
    bottom:6px;
}




    .contents, .contents-t{
        min-width: 350px;
        width:calc(100% - 22px);
        left:0px;
    
    }

    .contents-nm{
        min-width: 460px;
        width:calc(100% - 20px);
        left:0px;
        margin-left:0px;
    }
    

    #top-contents{
        width:90%;
        height:460px;
    }


    #cont-1,#cont-2,#cont-3,#cont-4{
        height:105px;
    }
    #cont-1{
        top:0px;
    }
    
    #cont-2{
        top:120px;
    }    
    
    #cont-3{
        top:240px;
    }    
    #cont-4{
        top:360px;
    }   

    .gradation{
        background:linear-gradient(270deg,rgba(255, 255, 255, 0) 25%,rgb(255, 255, 255) 35%,rgb(255, 255, 255)60%);
    }
    
    .gradation-text{
        font-size: 1.2rem;
        width:95%;
        top:10px;
        left:5%;
        line-height: 1.8rem;
    }
    .gradation-text b{
        font-size: 1.5rem;
        line-height: 2.5rem;
    }
    

    #greet{
        width:calc(95% - 54px);
    }
    

    #compa{
        width:95%;
    }

    #access{
        margin-left:0;
        margin-right:0;
        width: calc(95% - 30px);
        min-width:30px;
        padding:10px 15px 10px 15px;
        line-height: 1.3rem;
        font-size: 1.2rem;
        height:20px;
        margin-left:2%;
        }

    #googlemap{
        width: 95%;
        min-width:300px;
        margin-left:0;
        margin-right:0;
        height:300px;
        margin-left:2%;
    }
    
    #detail img{
        position: absolute;
        right:20px;
        margin-top:-160px;
        display: block;
        margin-right:10px;
        object-fit: contain;
        height:130px;
        border:2px solid #aaa;
    }



    .catalog,.catalog2,.catalog3{
        min-width:420px;
        width:95%;
    }

    .catalogue{
        width:96%;
        left:2%;
    }
    
    .catalogue2{
        width:96%;
        left:2%;
    }
    

    .term{
        position: relative;
        width:calc(50% - 20px);
        padding:0px;
        margin:0px 8px 16px 8px;
        border:2px solid #aaa;
    /*     background:linear-gradient(180deg,
        rgb(250, 226, 118) 42px,
        rgb(255, 252, 239) 45px,
        rgb(255, 252, 239)); */
        background-color: rgb(255, 252, 239);
        float: left;
        border-radius: 15px 15px 15px 15px;
    }
    
    .vert{
        float:left;
        width:90%;
        margin-left:5%;
    }
    
    .item-img4 span{
        float:left;
        display: block;
        text-align:center;
        width: 200px;
        margin-left: 3%;
        margin-right: 3%;
    }



}

@media screen and (max-width:480px){
    #cc{
        top:16px;
        left:94px;
        font-size:1.3rem;
    }

    #title-s{
        left:94px;
        top:40px;
        font-size:2.1rem;
    }

    .headers img{
        width: 76px;
        left:12px;
        top: 17px;
    }

}


@media screen and (max-width:360px){

    html{
        font-size:70%;
    }

    body{
        min-width: 300px;
    }

    #cc{
        top:12px;
        left:94px;
    }

    #title-s{
        left:94px;
        top:36px;
        font-size:2.1rem;
    }

    .contents, .contents-t{
        min-width: 300px;
        width:calc(100% - 22px);
        left:0px;
    
    }

    .headers img{
        width: 72px;
        left:12px;
        top: 15px;
    }

    .gradation{
        background:linear-gradient(270deg,rgba(255, 255, 255, 0) 30%,rgb(255, 255, 255) 40%,rgb(255, 255, 255)60%);
    }    
    .wrap{
        min-height: 100%;
        margin-bottom: -140px;
        position: relative;
    }
    .push{
        height:142px;
    }

    .footers{
        height:140px;
    }
}
