@charset "utf-8";

*{
  margin: 0;
  padding: 0;
}
body{
  line-height: 1;
  font-family: sans-serif;
}
ul{
  list-style: none;  
}
a{
  display: block;
  color: inherit;
  text-decoration: none;
}

.spnav, .btn{
  display: none;
} 

header{
  padding-inline: auto;
  max-width: 1000px;
  height: 100vh;
  height: 100dvh;
  text-align: center;
  color: #fff;
  position: absolute;
  margin: auto;
  left: 0;
  right: 0;
  z-index: 999;
}

.wrap{
  padding: 50px 10px 150px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;    
}
h1{
  width: 45%;
  font-size: 1.7em;
  font-weight: bold;
  text-align: left;
}
.pcnav{
  width: 40%;
}

.pcnav ul{
  display: flex;
  justify-content: space-between;
}
.pcnav li{
  width: 18%;
  font-size: 2vh;
}
.pcnav a{
  line-height: 20px;
  transition: 200ms;
}
.pcnav a:hover{
  color: rgb(228, 177, 35);
}

header p:first-of-type{
  font-size: 4em;
  font-family: 'Raleway', sans-serif;
  letter-spacing: 0.1em;
}
header span{
  color: #f90;
  font-size: 1.3em;
}
header p:last-of-type{
  max-width: 750px;
  margin-inline: auto;
  margin-top: 50px;
  padding: 1em;
  background: rgba(0, 0, 0, 0.264);
  text-align: left;
  line-height: 1.7;
  font-size: 1.2em;
}

header i{
  display: block;
  font-size: 2em;
  width: 1em;
  position: absolute;
  margin: auto;
  left: 0;
  right: 0;
  bottom: 50px;
  cursor: pointer;  
}

video{
  width: 100%;
  height: 100vh;
  height: 100dvh;
  object-fit: cover;
  vertical-align: bottom;
}
.overlay{
  width: 100%;
  height: 100vh;
  height: 100dvh;

  position: absolute;
  background: rgba(139, 0, 0, 0.665);
  mix-blend-mode: overlay;
}

@media screen and (max-width:743px){

  .overlay, video, .pcnav{
    display: none;
  }
  .wrap{
    padding-bottom: 60px;
  }
  header{
    background: url(../img/comroi.jpg) 
      no-repeat center/cover;
  }
  h1{
    width: 100%;
    text-align: center;
    line-height: 1.8;
    font-size: 1.9em; 
  }
  header span{
    color: #f00;
    text-shadow:
     0 0 4px #fff,
     0 0 4px #fff,
     0 0 4px #fff,
     0 0 4px #fff,
     0 0 4px #fff,
     0 0 4px #fff;
  }
  header p:first-of-type{
    font-size: 3em;
  }
  header p:last-of-type{
    max-width: 90%;
    margin-top: 30px; 
    font-size: 1em;
  }
  header i{
    bottom: 20px;
  }
  
  /*ハンバーガーメニュー*/
  .btn{
   display: block;
   width: 50px;
   height: 50px;
   position: absolute;
   top: 10px;
   right: 10px; 
  }
  .btn span::before,
  .btn span::after{
    content: "";
  }
  .btn span,
  .btn span::before,
  .btn span::after{
    display: block;
    width: 35px;
    height: 5px;
    background: #fff;
    border-radius: 5px;
    position: absolute;
    margin: auto;
    inset: 0;  
    z-index: 999; 
    transition: 300ms;
  }
  .btn span::before{
    translate: 0 -10px;
  }
  .btn span::after{
    translate: 0 10px;
  }
  .spin span{
    background: transparent;
  }
  .spin span::before{
    rotate: 225deg;
    translate: 0;
  }
  .spin span::after{
    rotate: -225deg;
    translate: 0;
  }

  /*スマホ用ナビゲーション*/
  .spnav{
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: rgba(0, 0, 0, 0.598);
    position: absolute;
    top: 0;
    box-sizing: border-box;
    padding-top: 100px;
    z-index: 100;
  }

  .spnav li{
    line-height: 70px;
    text-align: center;
    font-size: 1.2em;
  }
  
}
