body{
  font-family: 'Raleway', sans-serif;
  color: #000;
  font-size: 0.85rem;
  background: #fff;
  position: relative;
}
header{
  height: 100px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
header.wrapper{
  padding-left: 50px;

}
header .logoBox{
  width: 100px;
}
header .logoBox img{
  width: 100%;
}
header .toggle_btn{
  width: 100px;
  height: 100px;
  background: red;
  position: relative;
  text-align: center;
  z-index: 20;
}
header .toggle_btn span:nth-child(1){
  position: absolute;
  display: block;
  width: 50%;
  height: 2px;
  top: 35%;
  background: #fff;
  left: 50%;
  transform: translateX(-50%);
}
header .toggle_btn span:nth-child(2){
  position: absolute;
  display: block;
  width: 50%;
  height: 2px;
  top: 50%;
  background: #fff;
  left: 50%;
  transform: translateX(-50%);
}
header .toggle_btn span:nth-child(3){
  position: absolute;
  display: block;
  width: 50%;
  height: 2px;
  top: 65%;
  background: #fff;
  left: 50%;
  transform: translateX(-50%);
}
header.open .nav{
  opacity: 1;
}
.nav{
  background: red;
  color: #fff;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  display: block;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  opacity: 0;
  z-index: 10;
}
header.open .toggle_btn span:nth-child(2){
  display: none;
}
header.open .toggle_btn span:nth-child(1){
  top: 50%;
  transform: translateX(-50%) rotate(45deg);
}
header.open .toggle_btn span:nth-child(3){
  top: 50%;
  transform: translateX(-50%) rotate(-45deg);
}
.nav .logoBox{
  position: absolute;
  top: 40px;
  left: 50px;
}
.nav .menulist{
  margin-top: 80px;
}
.nav .menulist li{
  width: 100%;
  text-align: center;
  font-size: 17px;
  font-weight: bold;
  margin-bottom: 30px;
  color: #fff;
  position: relative;
}
.nav .menulist li:nth-of-type(3){
  margin-bottom: 60px;
}
.nav a{
  display: block;
  width: 260px;
  text-align: center;
  font-size: 17px;
  font-weight: bold;
  margin-bottom: 30px;
  color: #fff;
  position: relative;
  margin: 0 auto;
  border: #fff solid 1px;
  padding: 15px 50px;
}
.nav a::before{
  display: block;
  content: "";
  width: 100%;
  height: 100%;
  position:absolute;
  border-bottom: 1px #fff solid;
  border-right: 1px #fff solid;
  background: transparent;
  top: 5px;
  left: 5px;
}
@media screen and (max-width: 900px){
  .nav .menulist{
    margin-top:120px;
  }
}
/* wrap */
#mainvisual{
  position: relative;
  width: 100%;
  height: 720px;
}
#mainvisual .fade li{
  width: 75%;
  position: absolute;
  top: 0;
  right: 0;
  /* 最初は3枚の画像を非表示にしておく */
  opacity: 0;
    /*
  アニメーションを実行
  fade：下で定義している「@keyframes fade」を実行
  15s：「@keyframes fade」の処理を15秒かけて実行
  infinite：アニメーションの処理を無限に繰り返す
  */
  animation: fade 15s infinite;
}
/*
1枚目の画像のアニメーション実行タイミングを設定
「animation-delay: 0s;」ですぐに実行
*/
#mainvisual .fade li:nth-child(1) {
  animation-delay: 0s;
}
/*
2枚目の画像のアニメーション実行タイミングを設定
「animation-delay: 5s;」で5秒後に実行
*/
#mainvisual .fade li:nth-child(2) {
  animation-delay: 5s;
}
/*
3枚目の画像のアニメーション実行タイミングを設定
「animation-delay: 10s;」で10秒後に実行
*/
#mainvisual .fade li:nth-child(3) {
  animation-delay: 10s;
}
#mainvisual .fade li img{
  width: 100%;
  height: 720px;
  object-fit: cover;
}
#mainvisual .fade li::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  box-shadow: inset 0px 0px 20px 20px #fff;
}
/*
アニメーション処理
上の「animation」で15sを指定しているので下記の処理を15秒かけて実行
0%が0秒を表し、100%が15秒後を表す。

0%の「opacity: 0;」で非表示の状態からスタートし、
15%になるまでの間に少しづつ画像を表示（フェードイン）させる。
そこから30%の時点までは画像を表示させたままの状態を維持し、
45%の時点に向けて画像を非表示（フェードアウト）する。
そこから100%まで非表示の状態を維持する。
*/
@keyframes fade {
  0% {
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  30% {
    opacity: 1;
  }
  45% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

#mainvisual .messageBox{
  position: absolute;
  top: 45%;
  left: 150px;
}
.messageBox .title{
  font-size: 50px;
  font-weight: bold;
  margin-bottom: 30px;
}
.btn{
  background: red;
  border-radius: 10px;
  border:none;
  height: 80px;
  color: #fff;
}
.messageBox button{
  width: 100%;
  font-size: 30px;
  position: relative;
  border-bottom: 6px solid #9a0413;
}
.messageBox button::before{
  display: block;
  content: "";
  width: 15px;
  height: 15px;
  position: absolute;
  right: 30px;
  border-top: 2px #fff solid;
  border-right: 2px #fff solid;
  top: 50%;
  transform: rotate(45deg) translateY(-50%);

}
@media screen and (max-width: 900px){
  #mainvisual{
    padding: 20px 5px 0 5px;
  }
  #mainvisual .img{
    width: 100%;
    position: relative;
    display: block;
    height: 300px;
    margin-bottom: 10px;
  }
  #mainvisual .img img{
    width: 100%;
    height: 100%;
  }
  #mainvisual .messageBox{
    position: relative;
    display: block;
    top: 0;
    left: 0;
  }
  .messageBox .title{
    font-size: 25px;
    margin-bottom: 10px;
  }
  #mainvisual .fade li{
    width: 100%;
    height: 100%;
  }
  #mainvisual .fade li img{
    height: 100%;
  }
}
/* section reason */
#reasone .title{
  position: relative;
  margin-bottom: 60px;
}
#reasone .title p{
  text-align: center;
  font-size: 40px;
}
#reasone .title::after{
  display: block;
  content: "";
  position: absolute;
  width: 95px;
  height: 3px;
  background: #000;
  left: 0;
  right: 0;
  margin: 0 auto;
  margin-top: 30px;
}
.resasonBox{
  background: red;
  position: relative;
  padding: 60px 0 60px 0;
}
.resasonBox .reasonInnerBox{
  background: #fff;
  display: flex;
  width: 50%;
  padding: 5%;
}
.resasonBox .reasonInnerBox:nth-of-type(1){
  margin-bottom: 60px;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}
.resasonBox .reasonInnerBox:nth-of-type(2){
  margin-left: calc(100% - 50%);
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}
#reasone{
  width: 100%;
}
.reasonInnerBox .text{
  font-size: 20px;
}
.reasonInnerBox .text span{
  font-size: 30px;
  color: red;
}
.reasonInnerBox .img{
  height: 60px;
  width: 80px;
}
.reasonInnerBox .img img{
  width: 100%;
}
.reasonInnerBox .img{
  margin-right: 30px;
}
@media screen and (max-width: 900px){
  .resasonBox .reasonInnerBox{
    width: 90%;
  } 
}