@media screen and (max-width:540px) {
    .header {
        position: relative;
        background: linear-gradient(135deg, rgba(5, 5, 5, 0.5), rgba(5, 5, 5, 0.5) ),url(../img/access.jpg) center/cover;
        /* width: 100%;
        min-width: 1000px;
        height: 100%;
        min-height: 520px;
        z-index: 0; */
        /* width: auto; */
        width: 100%;
        /* min-width: auto; */
        /* min-width: 1000px; */
        height: 100%;
        min-height: 520px;
        z-index: 0;
    }
    .header ul{
        -ms-writing-mode: tb-rl;
        /* writing-mode: vertical-rl; */
        width: 100%;
    }
    .flex {
        display: flex;
    }
    .hogehoge {
        margin: 10px 20px 25px 20px;
        flex-flow: column;
        align-content: space-around;
        row-gap: 30px
    }
    .access-map {
        margin-top: -1.8%;
    }
    .access-map a {
        text-decoration: underline;
    }
    .logo{
        position: absolute;
        left: 3%;
    }
    .logo img{
        width: 22%;
    }
    .menu{
        /* position: fixed;
        right: 50%;
        top: 2%;
        z-index: 2; */
        position: absolute;
        right: 2%;
        top: 1%;
        z-index: 2;
    }
    .menu ul li{
        font-size: 18px;
        /* font-size: 20px; */
        padding: 4px 2px;
        text-align: right;
        /* padding: 10px 5px; */
    }
    /* .menu{
        position: absolute;
        right: 3.85%;
        top: 2.5%;
        z-index: 2;
    }
    .menu ul li{
        font-size: 20px;
        padding: 10px 5px;
    } */
    .main-txt{
        -ms-writing-mode: tb-rl;
        /* writing-mode: vertical-rl; */
        letter-spacing: 8px;
        line-height: 1.6;
        font-size: 32px;
        position: absolute;
        top: 0;
        bottom: 0;
        right: 0;
        left: 100px;
        margin: auto;
        width: 250px;
        height: 100px;
    }
    .lang-opt{
        font-size: 15px;
        position: absolute;
        left: 2%;
        bottom: 2%;
    }
    .lang-opt p{
        padding: 0 10px;
    }
    .JP{
        border-right: solid 1px white;
    }
    .EN{
        border-right: solid 1px white;
    }

    .home-content{
        width: auto;
        /* width: 1000px; */
        margin:60px auto;
    }
    .info-ttl{
        padding-left: 20px;
        font-weight: bold;
        font-size: 28px;
    }
    .store-info dl:nth-child(1){
        border-top: solid 2px white;
    }
    .store-info dt{
        width: 110px;
        flex-flow: column;
        align-content: space-around;
        row-gap: 30px;
    }
    .info-adress {
        margin-right: 15px;
    }
    .store-info dd{
        font-size: 15px;
    }
    .info-child{
        border-bottom: solid 1px white;
        padding: 19px 0;
        margin:0;
    }
    .info img{
        width: 335px;
        /* margin-left: 60px; */
        margin-top: 15px;
        /*    border: solid 4px white; */
    }
    footer{
        background: #c0c0c0;
        text-align: center;
        padding: 20px 20px  10px;
    }
    footer img{
        width: 50px;
    }
    footer p{
        color: black;
        font-size: 14px;
    }
}

@media screen and (min-width:541px) and (max-width:1024px) {
    .header {
        position: relative;
        background: linear-gradient(135deg, rgba(5, 5, 5, 0.5), rgba(5, 5, 5, 0.5) ),url(../img/access.jpg) center/cover;
        /* width: auto; */
        width: 100%;
        /* min-width: auto; */
        /* min-width: 1000px; */
        height: 100%;
        min-height: 520px;
        z-index: 0;
    }
    .header ul{
        -ms-writing-mode: tb-rl;
        /* writing-mode: vertical-rl; */
        width: 100%;
    }
    .flex {
        display: flex;
    }
    .info {
        width: auto;
    }
    .logo{
        position: absolute;
        left: 3%;
    }
    .logo img{
        width: 22%;
    }
    .menu{
        position: absolute;
        right: 3.85%;
        top: 2.5%;
        z-index: 2;
    }
    .menu ul li{
        font-size: 20px;
        padding: 4px 5px;
    }
    .main-txt{
        -ms-writing-mode: tb-rl;
        /* writing-mode: vertical-rl; */
        letter-spacing: 8px;
        line-height: 1.6;
        font-size: 32px;
        position: absolute;
        top: 0;
        bottom: 0;
        right: 0;
        left: 0;
        margin: auto;
        width: 50px;
        height: 200px;
    }
    .lang-opt{
        font-size: 15px;
        position: absolute;
        left: 2%;
        bottom: 2%;
    }
    .lang-opt p{
        padding: 0 10px;
    }
    .JP{
        border-right: solid 1px white;
    }
    .EN{
        border-right: solid 1px white;
    }

    .home-content{
        width: auto;
        /* width: 1000px; */
        margin:90px auto;
    }
    .info-ttl{
        padding-left: 60px;
        font-weight: bold;
        font-size: 28px;
    }
    .hogehoge {
        margin: 10px 60px 25px 60px;
        flex-flow: column;
        align-content: space-around;
        row-gap: 30px
    }
    .access-map {
        /* margin-top: 5%; */
        margin-top: -1.8%;
        /* flex-flow: column;
        align-content: space-around;
        row-gap: 30px */
        margin-right: 30%;
    }
    .access-map a {
        text-decoration: underline;
    }
    .store-info dl:nth-child(1){
        border-top: solid 2px white;
    }
    .store-info dt{
        /* width: 40px; */
        width: 110px;
    }
    .store-info dd{
        font-size: 15px;
    }
    .info-child{
        border-bottom: solid 1px white;
        padding: 19px 0;
        margin:0;
    }
    .info img{
        width: 640px;
        /* width: 470px; */
        /* margin-left: 30px; */
        /* margin-left: 60px; */
        margin-top: 15px;
        /*    border: solid 4px white; */
    }
    footer{
        background: #c0c0c0;
        text-align: center;
        padding: 20px 20px  10px;
    }
    footer img{
        width: 50px;
    }
    footer p{
        color: black;
        font-size: 15px;
    }
}

@media screen and (min-width:1025px) {
    .header {
        position: relative;
        background: linear-gradient(135deg, rgba(5, 5, 5, 0.5), rgba(5, 5, 5, 0.5) ),url(../img/access.jpg) center/cover;
        width: 100%;
        min-width: 1000px;
        height: 100%;
        min-height: 520px;
        z-index: 0;
    }
    .header ul{
        -ms-writing-mode: tb-rl;
        /* writing-mode: vertical-rl; */
    }
    .flex {
        display: flex;
    }
    .hogehoge {
        margin-top: 10px;
    }
    .access-map {
        margin-top: -1.8%;
    }
    .access-map a {
        /*margin: 13%;*/
        margin-left: 12%;
        text-decoration: underline;
    }
    .logo{
        position: absolute;
        left: 3%;
    }
    .logo img{
        width: 22%;
    }
    .menu{
        position: absolute;
        right: 2%;
        top: 2.5%;
        z-index: 2;
    }
    .menu ul li{
        font-size: 20px;
        padding: 5px 5px;
        text-align: right;
    }
    .main-txt{
        -ms-writing-mode: tb-rl;
        /* writing-mode: vertical-rl; */
        letter-spacing: 8px;
        line-height: 1.6;
        font-size: 32px;
        position: absolute;
        top: 0;
        bottom: 0;
        right: 0;
        left: 100px;
        margin: auto;
        width: 300px;
        height: 200px;
    }
    .lang-opt{
        font-size: 15px;
        position: absolute;
        left: 2%;
        bottom: 2%;
    }
    .lang-opt p{
        padding: 0 10px;
    }
    .JP{
        border-right: solid 1px white;
    }
    .EN{
        border-right: solid 1px white;
    }

    .home-content{
        width: 1000px;
        margin:90px auto;
    }
    .info-ttl{
        font-weight: bold;
        font-size: 28px;
    }
    .store-info dl:nth-child(1){
        border-top: solid 2px white;
    }
    .store-info dt{
        width: 110px;
    }
    .store-info dd{
        font-size: 15px;
    }
    .info-child{
        border-bottom: solid 1px white;
        padding: 19px 0;
        margin:0;
    }
    .info img{
        width: 470px;
        margin-left: 12%;
        margin-top: 15px;
        /*    border: solid 4px white; */
    }
    footer{
        background: #c0c0c0;
        text-align: center;
        padding: 20px 20px  10px;
    }
    footer img{
        width: 50px;
    }
    footer p{
        color: black;
        font-size: 15px;
    }
    .text-left {
        margin-left: 4%;
    }
}