@media screen and (max-width:540px) {
.home-content{
    /* position: relative; */
    /* width: auto; */
    /* width: 100%; */
    /* height: auto; */
    /* height: 100%; */
    /* min-width: 350px; */
    /* min-width: 1000px; */
    /* min-height: 620px; */
    position: relative;
    width: 100%;
    height: 100dvh;
    /* min-width: 100px; */
    /* min-height: 620px; */
}
.header ul{
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    width: 100%;
    height: 100%;
}
.logo{
    position: absolute;
    left: 3%;
    z-index: 2;
}
.logo img{
    width: 22%;
}
.menu{
    /* position: fixed;
    right: 50%;
    top: 2%;
    z-index: 2; */
    position: absolute;
    right: 3%;
    top: 1%;
    z-index: 2;
}
.menu ul li{
    font-size: 18px;
    /* font-size: 20px; */
    padding: 10px 2px;
    /* padding: 10px 5px; */
}
.main-txt{
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    letter-spacing: 8px;
    line-height: 1.6;
    /* font-size: 20px; */
    font-size: 28px;
    position: absolute;
    z-index: 1;
    top: 5%;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    /* margin: auto; */
    width: 90px;
    height: 325px;
    z-index: 2;
    opacity: 0.5;
}
.form-button {
    background: #2b2b2b;
    font-size: 18px;
    padding: 10px 35px;
    position: absolute;
    bottom: 0;
    top: 85%;
    left: 0;
    right: 0;
    z-index: 2;
    width: 200px;
    height: 45px;
    margin: auto;
    color: white;
    text-align: center;
}
/* .main-txt::before{
    content: "";
    position: absolute;
    width: 150px;
    width: 200px;
    height: 1px;
    background: white;
    transform: rotate(30deg);
    top: -10%;
    left: -20%;
}
.main-txt::after{
content: "";
    position: absolute;
    width: 150px;
    width: 200px;
    height: 1px;
    background: white;
    transform: rotate(-30deg);
    top: -10%;
    right: -30%;
} */
.flex{
    display: flex;
}

.thumbnail{
    position: absolute;
    width: 45%;
    right: 2%;
    bottom: 2%;
    z-index: 2;
}

.thumbnail-img{
    position: absolute;
    width: 100%;
    right: 0%;
    bottom: 2%;
    z-index: 2;
}

.lang-opt{
    font-size: 15px;
    position: absolute;
    left: 2%;
    bottom: 2%;
    z-index: 2;
}
.lang-opt p{
    padding: 0 10px;
}
.JP{
    border-right: solid 1px white;
}
.EN{
    border-right: solid 1px white;
}

/*.header{
    background: linear-gradient(135deg, rgba(5, 5, 5, 0.5), rgba(5, 5, 5, 0.5) ), url(../img/top.jpg) center/cover;
}*/
/*.video-box{
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}*/
/*video {
    height: 100%;
    width: 100%;
    z-index: 1;
    position: absolute;
    transform: translate(0%, -7%);
}
*/
/* * {
    margin: 0;
    padding: 0;
    border: 0;
    overflow: hidden;
} */
/* iframe {
    border:none;
    width:100%;
    height:100%;
} */

/* .video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%;

} */
/* html{
    height: 100%;
}
body{
    height: 100%;
    margin: 0;
} */

/* iframe {
    position: fixed;
    top: -100px;
    left: 0px;
    width: 370px;
    height: 1000px;
} */

#iframe-block{
    height: 100%;
}

.carousel-item img {
    height: 100dvh;
    margin: auto;
    max-height: 100%;
    max-width: 100%;
    object-fit: cover;
    width: 100%;
  }

/* パソコンで見たときは"pc"のclassがついた画像が表示される */
.display-pc { display: block !important; }
.display-sp { display: none !important; }
 
/* スマートフォンで見たときは"sp"のclassがついた画像が表示される */
@media only screen and (max-width: 750px) {
    .display-pc { display: none !important; }
    .display-sp { display: block !important; }
}


.video-wrapper iframe {
    box-sizing: border-box;
    height: 56.25vw; /* 16:9 の高さなので 56.25% (= 9 ÷ 16) */
    left: 50%;
    min-height: 100%;
    min-width: 100%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 177.777778vh; /* 16:9 の幅なので 177.77% (= 16 ÷ 9) */
}
.movie-pc {
    display: none;
}


#container {
    position: absolute;
    top: -100px;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
}

#background_video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

#video_cover {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('images/video_cover.jpg') no-repeat;
    background-position: center;
    background-size: cover;
}

#video_controls {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
}

#play img {
    width: 100px;
}
#pause img {
    width: 90px;
}
#pause {
    display: none;
}



@media (min-width: 768px) {
    #video_controls {
        display: none;
    }
}
}

@media screen and (min-width:541px) and (max-width:1024px) {
.home-content{
    position: relative;
    width: 100%;
    height: 100%;
    /* min-width: 1000px; */
    /* min-height: 620px; */
}
.header ul{
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    width: 100%;
}
.logo{
    position: absolute;
    left: 3%;
    z-index: 2;
}
.logo img{
    width: 22%;
}
.menu{
    position: absolute;
    right: 4%;
    top: 1.3%;
    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:28px; 
    position: absolute;
    z-index: 1;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    width: 90px;
    height: 325px;
    z-index: 2;
    opacity: 0.5;
}
.form-button {
    background: #2b2b2b;
    font-size: 18px;
    padding: 10px 35px;
    position: absolute;
    bottom: 0;
    top: 85%;
    left: 0;
    right: 0;
    z-index: 2;
    width: 200px;
    height: 45px;
    margin: auto;
    color: white;
    text-align: center;
}
.main-txt::before{
    content: "";
    position: absolute;
    width: 200px;
    height: 1px;
    background: white;
    transform: rotate(30deg);
    top: -10%;
    left: -20%;
}
.main-txt::after{
content: "";
    position: absolute;
    width: 200px;
    height: 1px;
    background: white;
    transform: rotate(-30deg);
    top: -10%;
    right: -30%;
}
.flex{
    display: flex;
}

.thumbnail{
    position: absolute;
    right: 2%;
    bottom: 6%;
    z-index: 2;
}

.lang-opt{
    font-size: 15px;
    position: absolute;
    left: 2%;
    bottom: 2%;
    z-index: 2;
}
.lang-opt p{
    padding: 0 10px;
}
.JP{
    border-right: solid 1px white;
}
.EN{
    border-right: solid 1px white;
}
/*.header{
    background: linear-gradient(135deg, rgba(5, 5, 5, 0.5), rgba(5, 5, 5, 0.5) ), url(../img/top.jpg) center/cover;
}*/
/*.video-box{
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}*/
/*video {
    height: 100%;
    width: 100%;
    z-index: 1;
    position: absolute;
    transform: translate(0%, -7%);
}
*/
/* * {
    margin: 0;
    padding: 0;
    border: 0;
    overflow: hidden;
} */
/* iframe {
    border:none;
    width:100%;
    height:100%;
} */

.carousel-item img {
    height: 100dvh;
    margin: auto;
    max-height: 100%;
    max-width: 100%;
    object-fit: cover;
    width: 100%;
  }

/* パソコンで見たときは"pc"のclassがついた画像が表示される */
.display-pc { display: block !important; }
.display-sp { display: none !important; }
 
/* スマートフォンで見たときは"sp"のclassがついた画像が表示される */
@media only screen and (max-width: 750px) {
    .display-pc { display: none !important; }
    .display-sp { display: block !important; }
}  


.video-wrapper iframe {
    box-sizing: border-box;
    height: 56.25vw; /* 16:9 の高さなので 56.25% (= 9 ÷ 16) */
    left: 50%;
    min-height: 100%;
    min-width: 100%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 177.777778vh; /* 16:9 の幅なので 177.77% (= 16 ÷ 9) */
}
.movie-smt {
    display: none;
}

/* .video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%;

}
iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
} */

#container {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
}

#background_video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

#video_cover {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('images/video_cover.jpg') no-repeat;
    background-position: center;
    background-size: cover;
}

#video_controls {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
}

#play img {
    width: 100px;
}
#pause img {
    width: 90px;
}
#pause {
    display: none;
}



@media (min-width: 768px) {
    #video_controls {
        display: none;
    }
}
}

@media screen and (min-width:1025px) and (max-width:1200px) {
.home-content{
	position: relative;
	width: 100%;
    height: 100%;
    min-width: 1000px;
    min-height: 620px;
}
.header ul{
	-ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
}
.logo{
	position: absolute;
	left: 3%;
    z-index: 2;
}
.logo img{
    width: 22%;
}
.menu{
	/* position: absolute;
	right: 3%;
    top: 2%;
    z-index: 2; */
    position: absolute;
    right: 15.85%;
    /* top: 2.5%; */
    top: 1.3%;
    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:28px; 
    position: absolute;
    z-index: 1;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    width: 90px;
    height: 325px;
    z-index: 2;
    opacity: 0.5;
}
.form-button {
    background: #2b2b2b;
    font-size: 18px;
    padding: 10px 35px;
    position: absolute;
    bottom: 0;
    top: 85%;
    left: 0;
    right: 0;
    z-index: 2;
    width: 200px;
    height: 45px;
    margin: auto;
    color: white;
    text-align: center;
}
.main-txt::before{
    content: "";
    position: absolute;
    width: 200px;
    height: 1px;
    background: white;
    transform: rotate(30deg);
    top: -10%;
    left: -20%;
}
.main-txt::after{
content: "";
    position: absolute;
    width: 200px;
    height: 1px;
    background: white;
    transform: rotate(-30deg);
    top: -10%;
    right: -30%;
}
.flex{
    display: flex;
}

.thumbnail{
    position: absolute;
    right: 2%;
    bottom: 2%;
    z-index: 2;
}

.lang-opt{
    font-size: 15px;
    position: absolute;
    left: 2%;
    bottom: 2%;
    z-index: 2;
}
.lang-opt p{
    padding: 0 10px;
}
.JP{
    border-right: solid 1px white;
}
.EN{
    border-right: solid 1px white;
}
/*.header{
    background: linear-gradient(135deg, rgba(5, 5, 5, 0.5), rgba(5, 5, 5, 0.5) ), url(../img/top.jpg) center/cover;
}*/
/*.video-box{
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}*/
/*video {
  height: 100%;
  width: 100%;
  z-index: 1;
  position: absolute;
  transform: translate(0%, -7%);
}
*/
/* * {
    margin: 0;
    padding: 0;
    border: 0;
    overflow: hidden;
} */
/* iframe {
    border:none;
    width:100%;
    height:100%;
} */

.scarousel-item img {
    height: 100dvh;
    margin: auto;
    max-height: 100%;
    max-width: 100%;
    object-fit: cover;
    width: 100%;
  }

/* パソコンで見たときは"pc"のclassがついた画像が表示される */
.display-pc { display: block !important; }
.display-sp { display: none !important; }
 
/* スマートフォンで見たときは"sp"のclassがついた画像が表示される */
@media only screen and (max-width: 750px) {
    .display-pc { display: none !important; }
    .display-sp { display: block !important; }
}  


.video-wrapper iframe {
    box-sizing: border-box;
    height: 56.25vw; /* 16:9 の高さなので 56.25% (= 9 ÷ 16) */
    left: 50%;
    min-height: 100%;
    min-width: 100%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 177.777778vh; /* 16:9 の幅なので 177.77% (= 16 ÷ 9) */
}
.movie-smt {
    display: none;
}

/* .video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%;

}
iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
} */

#container {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
}

#background_video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

#video_cover {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('images/video_cover.jpg') no-repeat;
    background-position: center;
    background-size: cover;
}

#video_controls {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
}

#play img {
    width: 100px;
}
#pause img {
    width: 90px;
}
#pause {
    display: none;
}



@media (min-width: 768px) {
    #video_controls {
        display: none;
    }
}
}

@media screen and (min-width:1201px) {
    .home-content{
        position: relative;
        width: 100%;
        height: 100%;
        min-width: 1000px;
        min-height: 620px;
    }
    .header ul{
        -ms-writing-mode: tb-rl;
        writing-mode: vertical-rl;
    }
    .logo{
        position: absolute;
        left: 3%;
        z-index: 2;
    }
    .logo img{
        width: 22%;
    }
    .menu{
        /* position: absolute;
        right: 3%;
        top: 2%;
        z-index: 2; */
        position: absolute;
        right: 3.85%;
        /* top: 2.5%; */
        top: 1.3%;
        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:28px; 
        position: absolute;
        z-index: 1;
        top: 0;
        bottom: 0;
        right: 0;
        left: 0;
        margin: auto;
        width: 90px;
        height: 325px;
        z-index: 2;
        opacity: 0.5;
    }
    .form-button {
        background: #2b2b2b;
        font-size: 18px;
        padding: 10px 35px;
        position: absolute;
        bottom: 0;
        top: 85%;
        left: 0;
        right: 0;
        z-index: 2;
        width: 200px;
        height: 45px;
        margin: auto;
        color: white;
        text-align: center;
    }
    .main-txt::before{
        content: "";
        position: absolute;
        width: 200px;
        height: 1px;
        background: white;
        transform: rotate(30deg);
        top: -10%;
        left: -20%;
    }
    .main-txt::after{
    content: "";
        position: absolute;
        width: 200px;
        height: 1px;
        background: white;
        transform: rotate(-30deg);
        top: -10%;
        right: -30%;
    }
    .flex{
        display: flex;
    }

    .thumbnail{
        position: absolute;
        right: 2%;
        bottom: 2%;
        z-index: 2;
    }
    
    .lang-opt{
        font-size: 15px;
        position: absolute;
        left: 2%;
        bottom: 2%;
        z-index: 2;
    }
    .lang-opt p{
        padding: 0 10px;
    }
    .JP{
        border-right: solid 1px white;
    }
    .EN{
        border-right: solid 1px white;
    }
    /*.header{
        background: linear-gradient(135deg, rgba(5, 5, 5, 0.5), rgba(5, 5, 5, 0.5) ), url(../img/top.jpg) center/cover;
    }*/
    /*.video-box{
        position: absolute;
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
    }*/
    /*video {
      height: 100%;
      width: 100%;
      z-index: 1;
      position: absolute;
      transform: translate(0%, -7%);
    }
    */
    /* * {
        margin: 0;
        padding: 0;
        border: 0;
        overflow: hidden;
    } */
    /* iframe {
        border:none;
        width:100%;
        height:100%;
    } */
    
    .carousel-item img {
        height: 100dvh;
        margin: auto;
        max-height: 100%;
        max-width: 100%;
        object-fit: cover;
        width: 100%;
      }

    /* パソコンで見たときは"pc"のclassがついた画像が表示される */
.display-pc { display: block !important; }
.display-sp { display: none !important; }
 
/* スマートフォンで見たときは"sp"のclassがついた画像が表示される */
@media only screen and (max-width: 750px) {
    .display-pc { display: none !important; }
    .display-sp { display: block !important; }
}  


    .video-wrapper iframe {
        box-sizing: border-box;
        height: 56.25vw; /* 16:9 の高さなので 56.25% (= 9 ÷ 16) */
        left: 50%;
        min-height: 100%;
        min-width: 100%;
        position: absolute;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 177.777778vh; /* 16:9 の幅なので 177.77% (= 16 ÷ 9) */
    }
    .movie-smt {
        display: none;
    }
    
    /* .video-wrapper {
        position: relative;
        width: 100%;
        padding-top: 56.25%;
    
    }
    iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    } */
    
    #container {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        overflow: hidden;
    }
    
    #background_video {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 100%;
        height: 100%;
        transform: translate(-50%, -50%);
        object-fit: cover;
    }
    
    #video_cover {
        position: absolute;
        width: 100%;
        height: 100%;
        background: url('images/video_cover.jpg') no-repeat;
        background-position: center;
        background-size: cover;
    }
    
    #video_controls {
        position: absolute;
        left: 50%;
        transform: translate(-50%, 0);
    }
    
    #play img {
        width: 100px;
    }
    #pause img {
        width: 90px;
    }
    #pause {
        display: none;
    }


    
    @media (min-width: 768px) {
        #video_controls {
            display: none;
        }
    }
    }