@import url('https://fonts.googleapis.com/css2?family=Kosugi+Maru&display=swap');

html { scroll-behavior: smooth; }

.section-wrapper {
  position: relative;
}

p{margin-top: 0.2em;}
ul { list-style: none; }

.ec-footerRole {margin-top: 0;}

/** 各セクションの範囲 **/
.section-body {
  position: relative;
  width: 100%;
  height: auto;
  display: grid;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2em 0;
  z-index: 1;
}

/** 固定背景画像の設定 **/
.bg-image-clip {
  position: absolute;
  width: 100%;
  height: 100%;
  clip-path: inset(0); /* 切り抜き */
  z-index: 0;
}

.bg-image-fixed {
  position: fixed; /* 背景を固定 */
  top: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center top;
  z-index: 0;
}

#section1 {
  .bg-image-fixed {
    background-blend-mode: hard-light;
    background-image: linear-gradient(#19b3c7, #19c78d),url(/html/user_data/assets/img/bonus/al/other/al_bg01.webp);
  }
}
#section2 {
  .bg-image-fixed {
    background-blend-mode: hard-light;
    background-image: linear-gradient(#19b3c7, #6b6b6b),url(/html/user_data/assets/img/bonus/al/other/al_bg01.webp);
  }
}
#section3 {
  .bg-image-fixed {
    background-blend-mode: hard-light;
    background-image: linear-gradient(#840e94, #c71919),url(/html/user_data/assets/img/bonus/al/other/al_bg01.webp);
  }
}
#section4 {
  .bg-image-fixed {
    background-blend-mode: hard-light;
    background-image: linear-gradient(#4703b4, #175ef8),url(/html/user_data/assets/img/bonus/al/other/al_bg01.webp);
  }
}
#section5 {
  .bg-image-fixed {
    background-blend-mode: hard-light;
    background-image: linear-gradient(#0e2d94, #19b3c7),url(/html/user_data/assets/img/bonus/al/other/al_bg01.webp);
  }
}

/*** 画像クリックでモーダル表示・切り替え  ***/
.character {
  cursor: pointer;
  width: 550px;
  height: 760px;
  border-radius: 8px;
  overflow: hidden;
  border-radius:16px;
  transition:
  filter .35s ease,
  box-shadow .35s ease,
  background-color .35s ease;
}

.character img {
  width: auto; height: 100%; object-fit: contain; object-position: center;
}

.two_item .character:hover, .three_item .character:hover, .four_item .character:hover { 
  filter: brightness(1.05);
  background-color: #ffffff3a;
  box-shadow:
     0 0 22px rgba(255, 255, 255, 0.8);
}

/*** モーダル ***/
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 4;
}

.modal-box {
  position: relative;
  background: #ffffffcc;
  padding: 16px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  max-width: 100vw;
  max-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transform: translateY(20px);
  opacity: 0;
  transition: opacity .4s ease, transform .4s ease;
}

.modal-overlay.active .modal-box {
  opacity: 1;
  transform: translateY(0);
}

/*** 画像フェードアニメーション ***/
.modal-image {
  max-width: 90vw;
  max-height: 90vh;
  cursor: pointer;
  border-radius: 6px;
  object-fit: cover;
  opacity: 1;
  transition: opacity .4s ease;
}

.modal-image.fade-out {
  opacity: 0;
}

.modal-close {
  position: absolute;
  top: 1em;
  right: 1em;
  cursor: pointer;
  font-size: 20px;
  font-weight: bold;
  color: #555;
}

.modal-close:hover { color: #b9b9b9; }

.modal-caption {
  font-size: 14px;
  color: #555;
}

.lightbox-target {
  cursor: pointer;
  transition: filter .3s ease, opacity .3s ease, box-shadow .3s ease;
}

.lightbox-target:hover { 
  filter: brightness(1.2);
  opacity: 0.9;
  box-shadow: 0 0 12px rgba(255,255,255,0.8);
}

/* ナビゲーション */
.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 48px;
  color: #666;
  cursor: pointer;
  user-select: none;
  padding: 20px;
  z-index: 3;
}

.prev { left: -19px; }
.next { right: -19px; }

/* ホバー時（PC） */
.nav:hover {
  color: #fff;
}


/*** Section1 各予約特典紹介 ***/
/*** グリッドレイアウト ***/
#section1 .section-body{
  display: grid;
  place-content: center;
}
.onebox {
  display: grid;
  grid-template-columns: 600px 20px repeat(3, 180px);
  grid-template-rows: 220px 500px;
  grid-template-areas:
  " catch . chara01 chara02 chara03 "
  " text . chara01 chara02 chara03 ";
  gap: 3px;
  justify-content: center;
	align-content: center;
}
.onebox_item { height: 100%; }

/* レイヤーを作成して描画を安定化 */
.onebox_item:nth-child(4),
.onebox_item:nth-child(5),
.onebox_item:nth-child(6) {
  backface-visibility: hidden;
  transform: translateZ(0);
}

/* 見出し */
.onebox_item:nth-child(1),.onebox_item:nth-child(2) { grid-area: catch; }
.onebox_item:nth-child(1) h2,.onebox_item:nth-child(2) h2 {
  font-size: 4rem;
  text-align: center;
  font-family: 'Kosugi Maru', sans-serif;
  font-weight: bold;
  line-height: 4.5rem;
  display: inline-block;
}
/* 白縁用 */
.onebox_item:nth-child(1) h2 {
  color: transparent;
  -webkit-text-stroke: 6px #fff;
}
/* 文字グラデーション */
.onebox_item:nth-child(2) h2 {
  color: transparent;
  background: linear-gradient(0deg, #29f19c 20%, #02a1f9 100%);
  background: -webkit-linear-gradient(90deg, #29f19c 20%, #02a1f9 100%);
  background-clip: text;
  -webkit-background-clip: text;
}

.onebox_item:nth-child(3) {
  grid-area: text;
  background-size: cover;
  background-position: center top;
  background-image: url(/html/user_data/assets/img/bonus/al/section1/bg04.webp);
  background-color: rgba(255,255,255,0.7);
  background-blend-mode:screen;
}
.onebox_item:nth-child(3) p {
  color: #313131;
  font-size: 1.2rem;
  line-height: 1.6rem;
  padding: 1.5em 1.8em 0.5em 1.8em;
  text-shadow: 1px 1px 2px #d1d1d1;
  font-family: 'Kosugi Maru', sans-serif;
  font-weight: bold;
}
.onebox_item:nth-child(4) { grid-area: chara01; outline: 3px solid #000; border-radius: 6px; position: relative; }
.onebox_item:nth-child(5) { grid-area: chara02; outline: 3px solid #000; border-radius: 6px; position: relative; }
.onebox_item:nth-child(6) { grid-area: chara03; outline: 3px solid #000; border-radius: 6px; position: relative; }

.onebox_item:nth-child(7) { grid-area: chara01; pointer-events: none; position: relative; }
.onebox_item:nth-child(8) { grid-area: chara02; pointer-events: none; position: relative; }
.onebox_item:nth-child(9) { grid-area: chara03; pointer-events: none; position: relative; }

.onebox_item img {
  width: 100%; height: 100%; object-fit: none; object-position: center top;
}

/* 背景アニメーション */
.onebox_item:nth-child(4):hover, .onebox_item:nth-child(5):hover, .onebox_item:nth-child(6):hover {
  filter: brightness(1.3);
  transition: .4s;
  cursor: pointer;
}
/* 境界線アニメーション（キャラ画像の上に出る） */
.onebox_item:nth-child(7)::after, .onebox_item:nth-child(8)::after, .onebox_item:nth-child(9)::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  border-radius: 6px;
  background: linear-gradient(90deg, #00f, #0ff) border-box;
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  transition: .4s;
  opacity: 0;
  pointer-events: none;
}
/* ホバーは背景画像に対して */
.onebox_item:nth-child(4):hover ~ .onebox_item:nth-child(7)::after,
.onebox_item:nth-child(5):hover ~ .onebox_item:nth-child(8)::after,
.onebox_item:nth-child(6):hover ~ .onebox_item:nth-child(9)::after {
  opacity: 1;
}

/*** Section1 各予約特典紹介 ***/
/*** レスポンシブ対応 ***/
@media (max-width: 1100px) {
  .onebox {
    grid-template-columns: 500px 10px repeat(3, 150px);
    grid-template-rows: 150px 450px;
  }
  .onebox_item:nth-child(1) h2, .onebox_item:nth-child(2) h2 { 
    font-size: 3rem;
    line-height: 3.6rem;
    transform: translateY(-10%);
  }
  .onebox_item:nth-child(3) p {
    line-height: 1.2em;
    padding: 1.4em 1.2em 0.3em 1.2em;
  }
}
@media (max-width: 1000px) {
  .onebox {
    grid-template-columns: 300px 10px repeat(3, 90px);
    grid-template-rows: 110px 250px;
    gap: 2px;
  }
  .onebox_item:nth-child(1) h2, .onebox_item:nth-child(2) h2 { font-size: 2rem; line-height: 2.6rem; }
  .onebox_item:nth-child(3) p {
    font-size: 0.7rem;
    line-height: 1.2em;
    padding: 1em 1em 0.3em 1em;
  }
  .onebox_item:nth-child(4) ,.onebox_item:nth-child(5) ,.onebox_item:nth-child(6) {
    outline: 2px solid #000;
  } 
}
@media (max-width: 740px) {
  .onebox {
    grid-template-columns: repeat(3, 100px);
    grid-template-rows: 110px 370px 10px 250px;
    grid-template-areas:
    " catch catch catch "
    " chara01 chara02 chara03 "
    " . . . "
    " text text text ";
  }
}


/*** セクション2 早期予約特典 ***/
/*** グリッドレイアウト ***/
.two-box {
    display: grid;
    grid-template-columns: 550px 260px 260px;
    grid-template-rows: 200px 260px 300px ;
    grid-template-areas:
    "chara logo logo"
    "chara item01 item02"
    "chara catch catch";
    row-gap: 0.5em;
    justify-content: center;
    align-content: center;
}

.two_item:nth-child(1) { grid-area: chara; }
.two_item:nth-child(2) { grid-area: logo; }
.two_item:nth-child(3) { grid-area: item01; }
.two_item:nth-child(4) { grid-area: item02; }
.two_item:nth-child(5) { grid-area: catch; }


.two_item img { width: auto; height: 100%; object-fit: contain; object-position: center;}

/*** セクション2 早期予約特典 ***/
/*** レスポンシブ対応 ***/

@media (max-width: 1100px) {
  .two-box {
    grid-template-columns: 400px 190px 150px;
    grid-template-rows: 160px 190px 250px;
  }
  .two_item .character { width: 400px; height: 600px; }
}

@media (max-width: 819px) {
  .two-box {
    grid-template-columns: repeat(2, 250px);
    grid-template-rows: repeat(3, 250px);
    grid-template-areas:
    "logo chara"
    "item01 item02"
    "catch catch";
  }
  .two_item .character { width: 250px; height: 250px; }
  .two_item:nth-child(2) img { width: 100%; height: auto;}
}

@media (max-width: 539px) {
  .two-box {
    grid-template-columns: repeat(2, 160px);
    grid-template-rows: repeat(3, 160px);
  }
  .two_item .character { width: 160px; height: 160px; }
}


/*** セクション3 オリジナル予約特典 ***/
/*** グリッドレイアウト ***/
.three-box {
    display: grid;
    grid-template-columns: 550px repeat(4, 180px);
    grid-template-rows: repeat(5, 200px) ;
    grid-template-areas:
    "logo item01 item02 item03 item04"
    "chara item05 item06 item07 item08"
    "chara item09 item10 item11 item12"
    "chara item13 item14 item15 item16"
    "chara item17 . . .";
    gap: 0.3em;
    justify-content: center;
    align-content: center;
}

.three_item:nth-child(1) { grid-area: chara; }
.three_item:nth-child(2) { grid-area: logo; }

.three_item:nth-child(3) { grid-area: item01; }
.three_item:nth-child(4) { grid-area: item02; }
.three_item:nth-child(5) { grid-area: item03; }
.three_item:nth-child(6) { grid-area: item04; }

.three_item:nth-child(7) { grid-area: item05; }
.three_item:nth-child(8) { grid-area: item06; }
.three_item:nth-child(9) { grid-area: item07; }
.three_item:nth-child(10) { grid-area: item08; }

.three_item:nth-child(11) { grid-area: item09; }
.three_item:nth-child(12) { grid-area: item10; }
.three_item:nth-child(13) { grid-area: item11; }
.three_item:nth-child(14) { grid-area: item12; }

.three_item:nth-child(15) { grid-area: item13; }
.three_item:nth-child(16) { grid-area: item14; }
.three_item:nth-child(17) { grid-area: item15; }
.three_item:nth-child(18) { grid-area: item16; }

.three_item:nth-child(19) { grid-area: item17; }

.three_item img { width: auto; height: 100%; object-fit: contain; object-position: center;}

/*** セクション3 オリジナル予約特典 ***/
/*** レスポンシブ対応 ***/

@media (max-width: 1399px) {
  .three-box {
    grid-template-columns: 400px repeat(4, 150px);
    grid-template-rows: repeat(5, 170px);
  }
  .three_item .character { width: 400px; height: 680px; }
}

@media (max-width: 1100px) {
  .three-box {
    grid-template-columns: 350px repeat(4, 135px);
    grid-template-rows: repeat(5, 150px);
    gap: 0.2em 0.1em;
  }
  .three_item .character { width: 350px; height: 600px; }
}

@media (max-width: 911px) {
  .three-box {
    grid-template-columns: repeat(3, 180px);
    grid-template-rows: 180px repeat(6, 200px);
    grid-template-areas:
    "logo logo chara"
    "item01 item02 item03"
    "item04 item05 item06"
    "item07 item08 item09"
    "item10 item11 item12"
    "item13 item14 item15"
    "item16 item17 .";
    gap:0.15em;
  }
  .three_item .character { width: 180px; height: 180px; }
}

@media (max-width: 540px) {
  .three-box {
    grid-template-columns: repeat(3, 120px);
    grid-template-rows: 120px repeat(6, 135px);
  }
  .three_item .character { width: 120px; height: 120px; }
}


/*** セクション4 全店共通予約特典 ***/
/*** グリッドレイアウト ***/
.four-box {
    display: grid;
    grid-template-columns: 550px repeat(4, 180px);
    grid-template-rows: 210px repeat(4, 180px) ;
    grid-template-areas:
    ". logo logo logo logo"
    "chara item01 item02 item03 item04"
    "chara item05 item06 item07 item08"
    "chara item09 item10 item11 item12"
    "chara item13 item14 . .";
    row-gap: 0.5em;
    justify-content: center;
    align-content: center;
}

.four_item:nth-child(1) { grid-area: chara; }
.four_item:nth-child(2) { grid-area: logo; }

.four_item:nth-child(3) { grid-area: item01; }
.four_item:nth-child(4) { grid-area: item02; }
.four_item:nth-child(5) { grid-area: item03; }
.four_item:nth-child(6) { grid-area: item04; }

.four_item:nth-child(7) { grid-area: item05; }
.four_item:nth-child(8) { grid-area: item06; }
.four_item:nth-child(9) { grid-area: item07; }
.four_item:nth-child(10) { grid-area: item08; }

.four_item:nth-child(11) { grid-area: item09; }
.four_item:nth-child(12) { grid-area: item10; }
.four_item:nth-child(13) { grid-area: item11; }
.four_item:nth-child(14) { grid-area: item12; }

.four_item:nth-child(15) { grid-area: item13; }
.four_item:nth-child(16) { grid-area: item14; }

.four_item img { width: auto; height: 100%; object-fit: contain; object-position: center;}

/*** セクション4 全店共通予約特典 ***/
/*** レスポンシブ対応 ***/

@media (max-width: 1399px) {
  .four-box {
    grid-template-columns: 400px repeat(4, 150px);
    grid-template-rows: repeat(5, 170px);
  }
  .four_item .character { width: 400px; height: 680px; }
}

@media (max-width: 1100px) {
  .four-box {
    grid-template-columns: 350px repeat(4, 135px);
    grid-template-rows: repeat(5, 150px);
    gap: 0.2em 0.1em;
  }
  .four_item .character { width: 350px; height: 600px; }
}

@media (max-width: 911px) {
  .four-box {
    grid-template-columns: repeat(3, 180px);
    grid-template-rows: 180px repeat(5, 200px);
    grid-template-areas:
    "logo logo chara"
    "item01 item02 item03"
    "item04 item05 item06"
    "item07 item08 item09"
    "item10 item11 item12"
    "item13 item14 .";
    gap:0.15em;
  }
  .four_item .character { width: 180px; height: 180px; }
  .four_item:nth-child(2) img { width: 100%; height: auto;}
}

@media (max-width: 540px) {
  .four-box {
    grid-template-columns: repeat(3, 120px);
    grid-template-rows: 120px repeat(5, 135px);
  }
  .four_item .character { width: 120px; height: 120px; }
}


/* セクション 5 */
/* デモムービー */
.movie_one {
  position: relative;
  text-align: center;
  margin: 5px;
  z-index: 1;
}

.movie_one video {
  position: relative;
  width: 90%; /* 動画をレスポンシブ化 */
  max-width: 960px; /* 動画の最大幅 */
  border-radius: 12px;
  border: 3px solid #fff;
  -webkit-box-shadow: 0 0 7px rgb(0 0 0 / 40%);
  box-shadow: 0 0 7px rgb(0 0 0 / 40%);
  margin-bottom: 3em;
  z-index: 1;
}

.movie_flex {
  display:flex;
  flex-wrap:nowrap;
  justify-content:space-around;
  margin: 5px;
}
.movie_flex img {
  width: 400px;
  border-radius: 12px;
  border: 3px solid #fff;
  -webkit-box-shadow: 0 0 7px rgb(0 0 0 / 40%);
  box-shadow: 0 0 7px rgb(0 0 0 / 40%);
}
@media screen and (max-width:1199px) {
  .movie_flex {
    max-width: 90%;
    margin: 0 auto;
    display: block;
  }
  .movie_flex img {
    width: 100%;
  }
}
/* セクション */
/* ヘッダー */
h1 {
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight:bold;
    text-align: center;
    font-family: "Hiragino Kaku Gothic ProN",sans-serif;
    font-size: 38pt;
}
.heading {
	position: relative;
	text-align: center;
  color: #fff;
	font-size: 48px;
}
.heading::before {
	content: attr(data-number);
	position: absolute;
	top: -30px;
  left: 50%;
  transform: translateX(-50%);
	color: #fff;
  opacity: 0.3;
	font-size: 64px;
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  font-style: normal;
}
/* セクション */
/* アニメーション */
.js-scroll-anime.is-animated .js-video-button-a {
  animation:section1_show1 ease 1.5s 1 both;
  animation-delay:0.5s;
}
.js-scroll-anime.is-animated .js-video-button-b {
  animation:section1_show1 ease 1.5s 1 both;
  animation-delay:1.0s;
}
.js-scroll-anime.is-animated .js-video-button-c {
  animation:section1_show1 ease 1.5s 1 both;
  animation-delay:1.5s;
}