#wrapper{
  position: relative;
  width: 100%;
  overflow: hidden;
}
#hero_area{
  position: relative;
  width: 100%;
  height: auto;
  padding-bottom: 120px;
  background: url("../img/top_bg.jpg") no-repeat center top;
  background-size: cover;
}
#hero_area:before{
  content:"";
  position: absolute;
  left: 50%;
  top: 50%;
  background: url("../img/logo_bg.webp") no-repeat center top;
  background-size: auto 100%;
  width: 100%;
  height: 95%;
  transform: translate(-50%,-50%);
}
#sub_logo{
  position: absolute;
  right: 15px;
  top: 15px;
  width: 85px;
  z-index: 1;
}
#rotation_wrap{
  position:absolute;
  left: 0;
  top: 0;
  width: 100%;
}
#rotation_set{
  position: relative;
  transform-origin: center center;
  transform: translateY(200px) rotate(-5deg);
}
#top_rotation{
  display: flex;
  width:5760px;
  animation: rotation_play 60s linear infinite;
}
@keyframes rotation_play{
  0% {margin-left:-1920px}
  100% {margin-left:0}
}

#top_rotation li{
  width: 320px;
  margin: 0 20px;
  list-style: none;
}
h1{
  position: absolute;
  left: 60px;
  top:40px;
  width: 800px;
  z-index: 1;
}
#hero_area h2{
  position:absolute;
  width: 500px;
  right: 60px;
  bottom: 0;
}
#title_str{
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: 1200px;
  height: 680px;
}
.start_btn{
  position: relative;
  width: 528px;
  margin: 40px auto 0;
  cursor: pointer;
  transition: 0.3s;
}
.start_btn:hover{
  opacity: 0.9;
}
#limit_day{
  position: relative;
  width: 100%;
  padding: 20px 0;
  font-size: 28px;
  line-height: 38px;
  color: #FFF;
  background: #452f0c;
  text-align: center;
  font-weight: 600;
}
#limit_day span{
  display: inline-block;
  background: #ff5087;
  color: #FFF;
  font-size: 22px;
  padding: 0 10px;
  margin-right:15px;
}
.section{
  padding: 120px 60px;
}
#exstr p{
  font-size: 22px;
  line-height: 44px;
  text-align: center;
}
#exstr p span{
  font-weight: 600;
  font-size: 28px;
}
#exstr h2{
  position: relative;
  font-size: 32px;
  font-weight: 800;
  text-align: center;
  margin-bottom: -10px;
}
#exstr h2 span{
  font-weight: 800;
}


#result_patern{
  position: relative;
  display: flex;
  justify-content: space-between;
  max-width: 1000px;
  margin: 60px auto;
  flex-wrap: wrap;
}
#result_patern li{
  list-style: none;
  width: 31%;
  margin-bottom: 4%;
}
#result_patern li:nth-child(4),
#result_patern li:nth-child(5),
#result_patern li:nth-child(6){
  margin-bottom: 0;
}






@media screen and (max-width: 999px){
  h1{
    left: 30px;
    width: 700px;
  }
  #hero_area h2{
    width: 440px;
    right: 30px;
  }
  #rotation_set{
    transform: translateY(188px) rotate(-5deg);
  }
  #title_str {
    height: 640px;
  }
  #sub_logo{
    right: 15px;
    top: 15px;
    width: 80px;
  }
  
  #exstr p{
    text-align: justify;
    font-size: 20px;
  }
  #exstr p span {
    font-size: 26px;
  }
  #exstr p br{
    display: none;
  }
  #exstr h2 {
    font-size: 28px;
  }
  #benefit_img {
    margin-right: 20px;
  }
  #exstr p span {
    font-size: 24px;
  }
}




@media screen and (max-width: 768px){
  .spbr{
    display: block;
  }
  h1{
    left:0;
    width: calc(100% - 20px);
    margin: 0 10px;
    top: 0;
    margin-top: 18%;
  }
  #hero_area h2{
    width: 82%;
    margin: 0 0 0 15%;
    right:auto;
    
  }  
  #title_str {
    height: 0;
    padding-top: 128%;
  }  
  #rotation_set {
    margin-top: 50%;
    transform: translateY(0) rotate(-5deg);
  }
  #top_rotation{
    display: flex;
    width: 900%;
    animation: rotation_play_sp 30s linear infinite;
  }
  #top_rotation li{
    width: 49.6%;
    margin: 0 0.2%;
    list-style: none;
  }
  .start_btn {
    width: auto;
    margin: calc(6.25% * 1.2) 15px 0;
  }
  #sub_logo {
    right:0;
    width: 18%;
    margin-top:3%;
    margin-right: 3%;
    top:0;
  }
  #hero_area {
    height: auto;
    padding-bottom: 18%;
  }
  #hero_area:before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    background: url(../img/logo_bg.webp) no-repeat center top;
    background-size: auto 100%;
    width: 100%;
    height: 96%;
    transform: translate(-50%, -50%);
  }
  
  .section{
    padding: 40px 20px 18%;
  }
  #exstr p {
    font-size: 18px;
    line-height: 32px;
  }
  #exstr .start_btn{
    width: calc(100% + 10px);
    margin-left: -5px;
    margin-top: 15px;
  }
  #exstr p span {
    font-size: 20px;
  }
  #result_patern {
    margin: 20px auto;
  }
  #result_patern li {
    width: 48%;
    margin-bottom: 4%;
  }

  #limit_day span {
    display: block;
    font-size: 4vw;
    padding: 0;
    margin: 0 auto 8px;
    width: 20%;
    font-weight: 600;
  }
  #limit_day {
    position: relative;
    font-size: 5vw;
    line-height: 5vw;
    padding: 15px 0;
    font-weight: 800;
  }
  
}
@keyframes rotation_play_sp{
  0% {margin-left:-300%}
  100% {margin-left:0}
}

