@charset "utf-8";
*{
  margin: 0;
  padding: 0;
}
/* header */
.header{
  background-image: url(../img/heater.jpg);
  height: 100vh;
  background-size: cover;
  background-position: bottom;
}
.header-logo-nav{
  display: flex;
  justify-content: space-between;
  position: relative;
}
.normal-nav ul{
  display: flex;
  justify-content: space-between;
  list-style: none;
  position: relative;
  top: 20px;
}
.normal-nav ul li{
  margin: 0 3rem;
  font-size: 1.2rem;
}
.normal-nav a{
  text-decoration: none;
  color: white;
}
.normal-nav ul li:nth-child(4){
  margin-right: 10vw;
}
.logo img{
  width: 100px;
  height: auto;
  position: relative;
  left: 20px;
  top: 20px;
}
header h1{
  position: absolute;
  top: 40vh;
  left: 40px;
  color: white;
  text-shadow: 5px 5px 3px rgb(190, 98, 167);
}
.main-position{
  text-align: center;
  line-height: 0;
}
.main-logo{
position: relative;
top: 75px;
width: 350px;
height: auto;
filter: drop-shadow(5px 5px 10px white);
z-index: 1;
}
/* nav-btn */
#g-nav{
  position: fixed;
  top: 0;
  z-index: -1;
  opacity: 0;
  width: 100%;
  height: 100vh;
  background-image: url(../img/cosmic.jpg);
  background-size: cover;
  background-position: center;
  transition: all 0.3s;
}
#g-nav.panelactive{
  opacity: 1;
  z-index:999;
}
#g-nav.panelactive #g-nav-list{
  position: fixed;
  z-index: 999; 
  width: 100%;
  height: 100vh;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
#g-nav ul {
  display: none;
  position: absolute;
  z-index: 999;
  top:50%;
  left:50%;
  transform: translate(-50%,-50%);
}
#g-nav.panelactive ul {
  display: block;
}
#g-nav li{
  list-style: none;
    text-align: center; 
}
#g-nav li a{
  color: #333;
  text-decoration: none;
  padding: 0.75em;
  font-size: 1.5rem;
  font-family: Noto sans jp;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: bold;
}
#g-nav li a:hover{
  color: rgb(71, 86, 202);
  text-shadow:0 0 25px rgb(34, 40, 88);
}
.openbtn{
  position:fixed;
    z-index: 9999;
    top:0;
    right: 0;
    cursor: pointer;
    width: 80px;
    height:80px;
    clip-path: circle(80px at 100% 0);
    background-color: white;
    box-sizing: border-box;
  }
  .openbtn::after{
    content: "Menu";
    position: absolute;
    right: 10px;
    top: 20px;
    font-size: 1rem;
    font-family: Fredoka One;
  }
  .openbtn.active::after{
    content: "Close";
    position: absolute;
    right: 10px;
    top: 20px;
    font-size: 1rem;
    font-family: Fredoka One;
  }
@media screen and (max-width:1025px){
  .header{
    background-position: 70% 100%;
  }
  header h1{
    font-size: 3rem;
  }
  .normal-nav ul li{
    margin: 0 2rem;
    font-size: 2rem;
  }
  }
@media screen and (max-width:914px){
    header h1{
      font-size: 2rem;
    }
  }
@media screen and (max-width:750px){
  .normal-nav ul li{
    margin: 0 2rem;
    font-size: 1.2rem;
  }
  .logo img{
    width: 70px;
    height: auto;
    left: 20px;
    top: 20px;
  }
}
@media screen and (max-width:541px){
  header h1{
    font-size: 1.5rem;
  }
}
@media screen and (max-width:415px){
.normal-nav ul li{
  margin: 0 1rem;
  font-size: 1rem;
  }
    header h1{
    display: none;
  }
}
@media screen and (max-width:376px){
  .normal-nav ul li{
    margin: 0 0.5rem;
    font-size: 1rem;
  }
  .header{
    background-position: 70% 0%;
  }
  .main-logo{
    top:70px;
    width: 250px;
  }
}
@media screen and (max-width:281px){
  .logo img{
    width: 50px;
    left: 10px;
    top: 10px;
  }
  .normal-nav ul li{
    margin: 0 0.5rem;
    font-size: 0.8rem;
  }
}
/* news */
#news{
  background-color: rgb(223,245,251);
  padding: 6rem auto;
  height: 320px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 40px;
}
.news{
  width: 520px;
  margin: auto;
  background-color: white;
  border: solid 2px black;
  border-radius: 10px;
}
.news-header{
  background-color: rgb(252, 239, 62);
  width: 90px;
  border-radius: 10px;
  text-align: center;
  position: relative;
  top: -15px;
  right: -15px;
}
.news-header-inner{
  line-height: 2rem;
}
.news-header h2{
  position: relative;
  top: 2px;
  font-family: Kaisei Tokumin;
}
.news-content{
  margin: 0 1.5rem;
  line-height: 1.5rem;
}
.news-content dd{
  padding-bottom: 0.5rem;
  border-bottom: dotted 1px black;
  
}
.news-content dt{
  padding-top: 0.5rem;
  font-family: Noto sans jp;
}
.news-other{
  margin-bottom: 2rem;
}
.news-other{
  padding-top: 0.5rem;
}
.news-content a{
  text-decoration: none;
  color: black;
}
.news-content a:hover{
  border-bottom: solid 1px black;
}
@media screen and (max-width:1024px){
  .news-header{
    font-size: 1.5rem;
    width: 135px;
  }
  .news-content dd,.news-content dt{
    font-size: 1.2rem;
    padding-bottom: 0.6rem;
  }
  .wrap{
    overflow: hidden;
  }
}
@media screen and (max-width:650px){
.news{
  width: 350px;
}
}
@media screen and (max-width:415px){
  .news{
    width: 250px;
  }
  #news{
    height: 450px;
    padding-bottom: 20px;
  }
  .news-content dd{
    font-size: 1.1rem;
    padding-bottom: 0.3rem;
  }
}
@media screen and (max-width:281px){
  .news{
    width: 200px;
  }
  #news{
    padding-bottom: 20px;
  }
  .news-header{
    width: 90px;
  }
  .news-header h2{
    font-size: 1rem;
    width: 90px;
  }
  .news-content dt{
    padding-top: 0.3rem;
    font-size: 0.9rem;
  }
  .news-content dd{
    font-size: 0.8rem;
    padding-bottom: 0.2rem;
  }
}
/* about */
#about{
  background-image: url(../img/about.jpg);
  background-size: cover;
  height: 100vh;
  color: white;
  display: flex;
  justify-content: center;
}
.about-inner{
  display: flex;
  flex-direction: column;
  width: 520px;
  width: 100%;
  padding: 0 40px;
}
#about h2{
  text-align: center;
  margin-top: 6vh;
  font-size: 3rem;
  font-family: Basic;
  text-shadow: 2px 2px black;
}
.about-title{
  text-align: center;
  margin-top: 3vh;
  font-size: 2rem;
  text-shadow: 2px 2px black;
  font-family: Noto sans jp;
}
.about-text{
  text-align: center;
  margin: 3vh auto;
  text-shadow: 2px 2px black;
  font-family: Noto serif jp;
  font-size: 1.2rem;
  width: 520px;
}
.movie{
  margin-top: 6vh;
  margin-bottom: 6vh;
  width: 520px;
  height: auto;
}
.movie-div{
  text-align: center;
}
@media screen and (max-width:650px){
  .about-inner{
    width: 350px;
  }
  .about-title{
    font-size: 1.4rem;
    margin-top: 6vh;
  }
  .about-text{
    width: 350px;
    font-size: 1rem;
  }
  .movie{
    width: 350px;
  }
  .wrap{
    overflow:hidden;
  }
}
@media screen and (max-width:415px){
  .about-inner{
    width: 250px;
  }
  .about-title{
    font-size: 1.5rem;
    margin-top: 6vh;
  }
  .about-text{
    width: 250px;
    font-size: 1rem;
  }
  .movie{
    width: 250px;
  }
}
@media screen and (max-width:281px){
  .about-inner{
    width: 200px;
  }
  .about-title{
    font-size: 1.3rem;
    margin-top: 6vh;
  }
  .about-text{
    width: 200px;
    font-size: 0.8rem;
  }
  .movie{
    width: 200px;
  }
}
/* world */
.world-explanation{
  background-color: black;
  background-position: top;
  height: 50vh;
  color: white;
  display: flex;
  justify-content: center;
  padding-bottom: 10vh;
}
.world-explanation h2{
  text-align: center;
  padding-top: 10vh;
  font-size: 3rem;
  font-family: Basic;
  text-shadow: 2px 2px black;
}
.world-explanation p{
  margin-top: 3vh;
  font-family: Noto serif jp;
  font-size: 1.2rem;
  line-height: 2rem;
}
.world-explanation-inner{
  display: flex;
  flex-direction: column;
  max-width: 520px;
  width: 100%;
  padding: 0 40px;
}
.world01{
  background-image: url(../img/world01.jpg);
}
.world02{
  background-image: url(../img/world02.jpg);
}
.world03{
  background-image: url(../img/world03.jpg);
}
.world04{
  background-image: url(../img/world04.png);
  transform: scale(-1,1)
}
.world05{
  background-image: url(../img/world05.jpg);
}
.world{
  background-size: cover;
  height: 100vh;
}
.box {
  position: sticky;
  top: 0;
}
#box1{
  z-index: 1;
}
#box2{
  z-index: 2;
}
#box3{
  z-index: 3;
}
#box4{
  z-index: 4;
}
#box5{
  z-index: 5;
}
.world-bg{
  width: 40vw;
  height: 100vh;
  position: absolute;
  top: 0;
  z-index: 1;
  background-color: black;
  opacity: 0.5;
}
.world01-bg ,.world03-bg ,.world05-bg{
  right: 0;
}
.world02-bg ,.world04-bg {
  left: 0;
}
.world-inner {
  margin: 20vh 10vw;
}
.world-ex{
  width: 40vw;
  height: 100vh;
  position: absolute;
  top: 0;
  z-index: 2;
  opacity: 1;
  color: white;
}
.world01-ex ,.world03-ex ,.world05-ex{
  right: 0;
}
.world02-ex,.world04-ex{
  left: 0;
}
.box h3{
  font-family: Noto sans;
  font-size: 1.5rem;
  text-align: center;
}
.box p{
  padding-top: 3rem;
  font-family: Noto serif;
}
@media screen and (max-width:1281px){
  .box {
    position: relative;
  }
  .world-bg{
    position: absolute;
    top: 0;
    width: 100%;
    height: 40vh;
    top: 60vh;
  }
  .world-ex{
    width: 100%;
    height: 40vh;
    text-align: left;
    top: 50vh;
  }
  .world-inner {
    margin: 15vh 10vw
  }
  .box h3{
    font-size: 2rem;
  }
  .box p{
    font-size: 1.2rem;
  }
}
@media screen and (max-width:650px){
  .world-explanation p{
    font-size: 1rem;
  }
  .box h3{
    font-size: 1.5rem;
  }
  .box p{
    padding-top: 2rem;
    font-size: 1rem;
  }
}
@media screen and (max-width:415px){
  .world-explanation-inner{
    width: 250px;
  }
  .world-explanation{
    height: 65vh;
  }
  .box h3{
    font-size: 1.2rem;
  }
  .box p{
    font-size: 0.8rem;
  }
  .world04{
    background-position: 20% 70%;
  }
}
@media screen and (max-width:281px){
  .world-explanation-inner{
    width: 200px;
  }
  .world-explanation p{
    font-size: 0.8rem;
  }
  .world03{
    background-position: 14% 100%;
  }
}
/* pagetop */
.pagetop{
  width: 30px;
  height: 30px;
  border-radius: 50%;
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
}
.pagetop{
  color: black;
  text-decoration: none;
}
.pagetop:hover{
  color: white;
  background-color:rgb(34, 40, 88);
  filter: drop-shadow(0px 0px 10px white);
}
@media screen and (max-width:1281px){
.pagetop{
  bottom: -3.4rem;
}
}
/* footer */
.footer{
  color: white;
  background-color: black;
}
.footer::before{
  content: "";
  display: block;
  height: 2px;
  background: linear-gradient(to right, yellow 0%, white 25%,yellow 100% );
}
.footer-inner{
  padding-top: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.footer-inner img{
  width: 120px;
  height: auto;
}
.footer-text{
  padding: 30px auto;
  line-height: 1.5rem;
  padding-left: 2rem;
}
.footer-text th{
  text-align: left;
  color: white;
}
.footer-text td{
  padding: 0 2rem;
  color: white;
}
.copy{
  text-align: center;
  padding-top: 3rem;
  padding-bottom: 3rem;
}
@media screen and (max-width:415px){
  .footer-inner img{
    width: 60px;
    position: relative;
    right: -15px;
  }
  .footer-text th{
    font-size: 0.8rem;
  }
  .footer-text td{
    padding: 0 0.8rem;
    font-size: 0.8rem;
  }
}