.wrap {
  overflow: hidden;
}
@media only screen and (min-width: 768px) {
  .wrap {
    min-width: 1120px;
  }
}
.loading {
  display: flex;
  flex-flow: column wrap;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99999;
  background: #231814;
}

.loading__wrap {
  width: 100%;
}

.loading .logo {
  width: 200px;
  margin: 0 auto 20px;
}

.loading .progress-bar {
  width: 100%;
  height: 4px;
  background: #FFF;
}

.loading .progress-bar .bar {
  display: block;
  width: 0%;
  height: 4px;
  background: #ddc700;
}

.main-bg {
  background-position: 50% 50%;
  background-size: cover;
  position: relative;
}

@media only screen and (min-width: 768px) {
  .main-bg {
    padding-bottom: 30px;
    padding-top: 30px;
    background-image: url(../img/main-bg.png);
    background-repeat: no-repeat;
  }
}

@media only screen and (max-width: 767px) {
  .main-bg {
    background-image: url(../img/sp_main-bg.png);
    background-size: 21px;
    /* padding-bottom: 30px; */
  }
}

@media only screen and (min-width: 768px) {
  .section:not(.section-hero) {
    padding-top: 30px;
    padding-bottom: 30px;
  }
}

@media only screen and (min-width: 768px) {
  #feature,
  #flow,
  #lt,
  #notice,
  #direction,
  #spec,
  #spec396 {
    padding-top: 150px;
    margin-top: -150px;
  }
}

@media only screen and (max-width: 767px) {
  #feature,
  #flow,
  #lt,
  #notice,
  #direction,
  #spec,
  #spec396 {
    margin-left: -15px;
    margin-right: -15px;
    padding-top: 50px;
    margin-top: -50px;
  }
}

.headline__title {
  text-align: center;
}

.headline__title .jp {
  font-size: 2rem;
  font-weight: bold;
}

.headline__title .en {
  font-family: "Poppins", sans-serif;
  font-size: 3.6rem;
  font-weight: bold;
}

.headline__title + .lead {
  text-align: center;
  font-size: 1.8rem;
  padding: 20px 0 40px;
}

.second__title .jp {
  font-size: 2.4rem;
  font-weight: bold;
}

.second__title .en {
  font-family: "Poppins", sans-serif;
  font-size: 1.6rem;
  font-weight: bold;
}

.btn a {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  align-items: center;
  transition: 400ms;
  width: 100%;
  max-width: 260px;
  min-height: 60px;
  background: #000;
  color: #fff;
  padding: 10px 40px;
  font-size: 1.8rem;
  font-weight: bold;
  margin-left: auto;
  margin-right: auto;
  border: #000 1px solid;
  border-radius: 10px;
}

@media only screen and (min-width: 768px) {
  .btn a:hover {
    background: #fff;
    color: #000;
  }
}

.btn a::after {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url("https://via.placeholder.com/700x500/CCC/FFFFFF/?text=aaaaa");
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: 20px;
  margin-left: 20px;
}

.btn-b a {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: center;
  transition: 400ms;
  width: 100%;
  max-width: 260px;
  min-height: 60px;
  background: linear-gradient(to right, #46A3FF, #00E2FB);
  color: #fff;
  padding: 10px 40px;
  font-size: 2.4rem;
  font-weight: bold;
  margin-left: auto;
  margin-right: auto;
  border-radius: 50px;
  padding-right: 10px;
}

@media only screen and (min-width: 768px) {
  .btn-b a:hover {
    background: linear-gradient(to right, #46A3FF, #00E2FB);
    color: #fff;
    opacity: 0.7;
  }
}

.btn-b a::after {
  content: "";
  display: inline-block;
  width: 40px;
  height: 40px;
  background-image: url("https://static.thenounproject.com/png/1480285-200.png");
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: 30px;
  margin-left: 20px;
}

input,
select,
textarea {
  outline: none;
}

input,
textarea {
  margin: 0;
  font-size: 100%;
}

input,
select {
  vertical-align: middle;
}

button {
  -webkit-appearance: none;
  appearance: none;
  padding: 0;
  border: none;
  outline: none;
  background: transparent;
  border-radius: 0;
}

@media only screen and (min-width: 768px) {
  .store-search {
    margin: 17px auto 0;
    width: 900px;
    height: 80px;
    color: #FFF;
    background: url("../img/search_bg.png") no-repeat center center;
    background-size: 900px auto;
    box-shadow: 2px 2px 0 #000;
    position: absolute;
    bottom: 1.7%;
    left: 50%;
    -webkit-transform: translate(-50%, 0%);
            transform: translate(-50%, 0%);
    z-index: 90;
  }
}

@media only screen and (max-width: 767px) {
  .store-search {
    background-image: url(../img/sp_form_bg.png);
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: 100% 100%;
    text-align: center;
    position: absolute;
    bottom: 0.5%;
    left: 50%;
    -webkit-transform: translate(-50%, 0%);
            transform: translate(-50%, 0%);
    width: 88%;
    z-index: 998;
    padding: 3.5% 6.5% 5.6% 2.5%;
    margin-left: 1%;
  }
}

.store-search .boxSearch {
  position: relative;
  width: 100%;
  height: 100%;
}

@media only screen and (min-width: 768px) {
  .store-search .boxSearch {
    background: url("../img/search_bdr_pc.png") no-repeat center center;
    background-size: 889px auto;
  }
}

@media only screen and (min-width: 768px) {
  .store-search .boxSearch form {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.store-search .boxSearch select {
  max-width: 100%;
  font-weight: 600;
  background: #FFF;
  cursor: pointer;
}

@media only screen and (min-width: 768px) {
  .store-search .boxSearch select {
    height: 28px;
    border: solid 2px #CCC;
    border-radius: 4px;
  }
}

@media only screen and (max-width: 767px) {
  .store-search .boxSearch select {
    width: 100%;
    font-size: 3.8vw;
    padding: 0 5px;
    height: 7.5vw;
    border: none;
  }
}

@media only screen and (min-width: 768px) {
  .store-search .boxSearch select.kisyu {
    min-width: 315px;
    font-size: 1.6rem;
    margin-right: 10px;
  }
}

.store-search .searchTitle {
  margin-right: 10px;
  font-size: 2.2rem;
  font-weight: 600;
}

@media only screen and (max-width: 767px) {
  .store-search .searchTitle {
    width: 47%;
    margin: 0 auto 4.7%;
    line-height: 1;
    padding-left: 16px;
  }
}

@media only screen and (min-width: 768px) {
  .store-search dl {
    display: flex;
    align-items: center;
  }
}

@media only screen and (max-width: 767px) {
  .store-search dl {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: center;
  }
}

@media only screen and (max-width: 767px) {
  .store-search dl:not(:last-of-type) {
    margin-bottom: 3%;
  }
}

.store-search dl dt {
  margin-right: 5px;
  font-weight: 600;
}

@media only screen and (max-width: 767px) {
  .store-search dl dt {
    color: #fff;
    width: 19%;
    text-align: left;
    font-size: 3.4vw;
  }
}

@media only screen and (max-width: 767px) {
  .store-search dl dd {
    width: calc(81% - 5px);
  }
}

@media only screen and (min-width: 768px) {
  .store-search dl .store-search .boxSearch dd {
    display: flex;
    align-items: center;
  }
}

@media only screen and (min-width: 768px) {
  .store-search button {
    margin-left: 15px;
    width: 74px;
    height: 34px;
    font-size: 1.8rem;
    font-weight: 600;
    color: #FFF;
    background: #E84F66;
    border: solid 2px #FFF;
    border-radius: 17px;
    box-shadow: 2px 2px 0 #000;
    cursor: pointer;
  }
}

@media only screen and (max-width: 767px) {
  .store-search button {
    width: 77%;
    margin: 3.6% auto 0;
    padding-left: 5px;
  }
}

.page--top .section-hero {
  position: relative;
}

.page--top .section-hero::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 9;
  pointer-events: none;
  background-repeat: no-repeat;
  background-position: 50% 100%;
  background-size: 100%;
}

@media only screen and (max-width: 767px) {
  .page--top .section-hero::after {
    background-image: url(../img/fire_sp.png);
  }
} 

@media only screen and (min-width: 768px) {
  .page--top .section-hero::before {
    content: "";
    display: block;
    width: 100%;
    height: 1vw;
    background-image: url(../img/bar.png);
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: cover;
    position: absolute;
    bottom: 0;
    -webkit-transform: translateY(50%);
            transform: translateY(50%);
    z-index: 99;
  }
}

.page--top .section-hero .content {
  position: relative;
  overflow: hidden;
}

@media only screen and (max-width: 767px) {
  .page--top .section-hero .content {
    padding-bottom: 10vw;
  }
}

@media only screen and (max-width: 767px) {
  .page--top .section-hero .content {
    padding-top: 0%;
  }
}
.lightning-effect {
  overflow: hidden;
}




/* .hero-chara {
  perspective: 800px;
} */

.hero-bg{
  display:block;
  transform-origin:center;
  opacity:0;
  /* 1.5 s かけて「ぐーっ」と拡大 → 小さくバウンドして静止 */
  animation: pop-in-slow 1.5s cubic-bezier(.25,.85,.4,1) 1.6s forwards;
}

/* 0%   : 0.8 倍・透明
   70%  : 1.8 倍（ゆっくり到達）
   85%  : 0.95 倍（パンッと押し戻し）
   100% : 1   倍（静止）
*/
@keyframes pop-in-slow{
  0%   {transform: scale(.8)  translateZ(-200px); opacity:0;}
  70%  {transform: scale(1.8) translateZ(0);      opacity:1;}
  85%  {transform: scale(.95) translateZ(0);      opacity:1;}
  100% {transform: scale(1)   translateZ(0);      opacity:1;}
}

.hero-bg2 {
  position: absolute;
  top: 0;
  z-index: 8;
  mix-blend-mode: color-dodge;
}
.hero-bg3 {
  position: absolute;
  top: 0;
  z-index: 10;
    mix-blend-mode: lighten;
}


.hero-bg2,
.hero-bg3 {
  perspective: 800px;
}

.hero-bg2 img,
.hero-bg3 img {
  display: block;
  transform-origin: center;
  opacity: 0;
  animation: pop-away 0.2s ease-in-out 2.2s forwards;
}
@keyframes pop-away {
  0% {
    transform: scale(0.6) translateZ(0);
    opacity: 1;
  }
  100% {
    transform: scale(1) translateZ(-200px);
    opacity: 1;
  }
}

.page--top .section-hero .content .ver396.inview {
  /* 既存の faderight アニメを残しつつ、float を 1s 遅延で無限ループ */
  animation: 
    faderight 1s ease-out forwards,    /* 初回フェードイン */
    float     3s ease-in-out 1s infinite; /* フワフワ：3秒かけて1秒遅延、無限ループ */
}
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}



.page--top .section-hero .content .main-logo {
  position: absolute;
  top: 47%;
  right: 10%;
  width: 42%;
  z-index: 20;
  opacity: 0;
/*   -webkit-transform: translate(-50%, -25%) scale(1) rotate(0deg);
  transform: translate(-50%, -25%) scale(1) rotate(0deg); */
}

@media only screen and (max-width: 767px) {
  .page--top .section-hero .content .main-logo {
    width: 63.5%;
    top: 43%;
    right: 1%;
    opacity: 0;
  }
}

.page--top .section-hero .content .main-logo span {
  display: none;
}

.page--top .section-hero .content .cam {
  position: absolute;
  z-index: 10;
}
@media only screen and (min-width: 768px) {
  .page--top .section-hero .content .cam {
    bottom: 11.8%;
    right: 13%;
    width: 20%;
  }
}
@media only screen and (max-width: 767px) {
  .page--top .section-hero .content .cam {
    bottom: 24.5%;
    top: auto;
    left: auto;
    right: 7.5%;
    width: 49%;
  }
}

.page--top .section-hero .content .lt {
  position: absolute;
  z-index: 10;
}
@media only screen and (min-width: 768px) {
  .page--top .section-hero .content .lt {
      top: 12.8%;
      left: 17%;
      width: 13%;
  }
}
@media only screen and (max-width: 767px) {
  .page--top .section-hero .content .lt {
    bottom: auto;
    top: 7.5%;
    left: 3%;
    width: 24%;
  }
}

.page--top .section-hero .content .starto {
  position: absolute;
  z-index: 10;
}
@media only screen and (min-width: 768px) {
  .page--top .section-hero .content .starto {
    top: 23.8%;
    left: 17%;
    width: 15%;
  }
}
@media only screen and (max-width: 767px) {
  .page--top .section-hero .content .starto {
    bottom: auto;
    top: 14.5%;
    left: 2%;
    width: 28%;
  }
}

.page--top .section-hero .content .ver396 {
  position: absolute;
  z-index: 10;
  opacity: 1;
}
@media only screen and (min-width: 768px) {
  .page--top .section-hero .content .ver396 {
    top: 12%;
    right: 13%;
    width: 25%;
  }
}
@media only screen and (max-width: 767px) {
  .page--top .section-hero .content .ver396 {
    bottom: auto;
    top: 6.5%;
    right: 2%;
    width: 32%;
  }
}


.page--top .section-hero .content .movie {
  position: absolute;
  z-index: 10;
}
@media only screen and (min-width: 768px) {
  .page--top .section-hero .content .movie {
    bottom: 10%;
    left: 15.5%;
    width: 32%;
  }
}
@media only screen and (max-width: 767px) {
  .page--top .section-hero .content .movie {
    bottom: 62.4vw;
    right: 4%;
    padding: 0 2.1vw;
    width: 54%;
  }
}

.page--top .section-hero .content .chara {
  position: absolute;
}

.page--top .section-hero .content .chara_txt {
  z-index: 10;
}

@media only screen and (min-width: 768px) {
  .page--top .section-hero .content .chara_txt {
    bottom: 40.2%;
    right: 35.8%;
    width: 10.703%;
  }
}

@media only screen and (max-width: 767px) {
  .page--top .section-hero .content .chara_txt {
    width: 20.603%;
    top: 5.7%;
    right: 19.7%;
  }
}



.page--top .section-hero .content .chara_ryomou {
  z-index: 2;
}

@media only screen and (min-width: 768px) {
  .page--top .section-hero .content .chara_ryomou {
    bottom: 0%;
    left: 9%;
    width: 37.6%;
  }
}

@media only screen and (max-width: 767px) {
  .page--top .section-hero .content .chara_ryomou {
    width: 65.3%;
    top: 24.6%;
    left: -12.1%;
  }
}

.lightning-effect {
  position: relative;
  /* 必要であれば display:block; や幅指定を追加 */
  overflow: hidden;
}
.lightning-effect::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  opacity: 0;
  pointer-events: none;
  animation: lightning-flash 1.2s ease-out forwards;
}

@keyframes lightning-flash {
  0%   { opacity: 0; }
  5%   { opacity: 1; }   /* 一瞬白100% */
  100% { opacity: 0; }   /* 徐々に透明に */
}



