@charset "UTF-8";

/*================================================================
  リセット & 共通設定
================================================================*/
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
}

body {
  background: #e50011 url(../img/bg_pc-full.svg) top center repeat;
  background-size: 3500px;
}

ul,
ol {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  height: auto;
  line-height: 0;
  vertical-align: top;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid #111;
  outline-offset: 4px;
}

video {
  outline: none;
  border: none;
}

@media screen and (min-width: 768px) {
  .wrapper #content {
    zoom: 0.77;
  }
}

/* --- スクロールアニメーションの初期状態 --- */
.js-scroll {
  opacity: 0;
  visibility: hidden;
}

.js-scroll.is-active {
  opacity: 1;
  visibility: visible;
}


.wrapper #content .cont.is-active,
.btn-back.is-active,
#sec-event .inner-block.is-active,
#sec-store .inner-block.is-active {
  animation: fade-in_content .7s ease-in-out both;
}



/* --- 実行設定 --- */

.statement-text.js-scroll {
  opacity: 0;
  visibility: hidden;
}

.statement-text.is-active {
  visibility: visible;
  animation: statementPop 1.0s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 0.3s;
}

@keyframes statementPop {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ステートメント見出し */
#sec-statement h2.js-scroll.is-active .ttl {
  animation: ttl_zoom 1.2s ease both;
}

#sec-statement h2.js-scroll .ttl {
  opacity: 0;
  visibility: hidden;
}


.pc {
  display: inline-block;
}

.sp {
  display: none;
}

.wrapper #content h2,
.wrapper #content h3,
.wrapper #content .cont {
  width: 650px;
  margin: 0 auto;
}

.wrapper #content .btn-back {
  width: 650px;
  margin: 0 auto 70px;
}

.wrapper #content h2 img,
.wrapper #content h3 img,
.wrapper #content .cont img {
  width: 100%;
  height: auto
}

#header {
  top: 0;
  position: absolute;
  width: 100%;
  z-index: 10000;
  background: #fff;
  animation: fade-in_content .5s ease-in-out .5s both;
}

#header .inner-block {
  margin: 0 auto;
  padding: 11px 24px;
}

#header .inner-block ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#header .inner-block ul li.logo {
  flex: 0 0 117.5px;
}

#header .inner-block ul li.logo_gt {
  flex: 0 0 105.5px;
}

#header .inner-block ul li.logo_pt {
  flex: 0 0 122.5px;
}

#header .inner-block ul li.logo_sp {
  flex: 0 0 140.5px;
}

#header .inner-block ul li img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  #header .inner-block ul li img:hover {
    transform: scale(1.3);
  }
}

.wrapper {
  width: 100%;
}

.wrapper #content {
  width: 750px;
  height: auto;
  margin: 0 auto;
  text-align: center;
  position: relative;
  background: #fff url(../img/bg_content-full.svg) top center repeat-y;
  background-size: 750px;
}

/* --- レイアウト基本設定 --- */
#sec-kv {
  width: 750px;
  height: 1470px;
  margin: 0 auto;
  padding-top: 75px;
  overflow: hidden;
  background: #ffe100;
}

#sec-kv img {
  display: block;
  max-width: 100%;
  height: auto;
  opacity: 0;
  transform: translateY(30px);
}


/* キャラクターなどのフェードイン */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.9);
  }

  70% {
    transform: translateY(-5px) scale(1.02);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* タイトルの飛び出し（強化版） */
@keyframes titlePop {
  0% {
    opacity: 0;
    /* 最初のひねりと下げを強めに */
    transform: scale(0.2) translateY(60px) rotate(-20deg);
  }

  40% {
    /* ここまで一気に加速して勢いよく飛び出す（1.4倍まで大きく） */
    opacity: 1;
    transform: scale(1.4) translateY(-30px) rotate(10deg);
  }

  60% {
    /* 1回目のボヨン（少し小さく戻る） */
    transform: scale(0.85) translateY(10px) rotate(-5deg);
  }

  75% {
    /* 2回目のボヨン（少しだけオーバーに） */
    transform: scale(1.1) translateY(-5px) rotate(3deg);
  }

  96% {
    /* 3回目の微細な震え */
    transform: scale(0.97) translateY(0) rotate(-1deg);
  }

  100% {
    opacity: 1;
    transform: scale(1) translateY(0) rotate(0deg);
  }
}

/* --- 各要素の実行設定 --- */
.is-animated .character-a {
  animation: fadeInUp 0.6s ease-out forwards;
  animation-delay: 0.2s;
}

.is-animated .character-b {
  animation: fadeInUp 0.6s ease-out forwards;
  animation-delay: 0.4s;
}

/* タイトル：より弾むイージングに変更 */
.is-animated .ttl {
  opacity: 0;
  visibility: hidden;
}

.is-animated .data {
  animation: fadeInUp 0.5s ease-out forwards;
  animation-delay: 1.0s;
}

.is-animated .character-c {
  animation: fadeInUp 0.6s ease-out forwards;
  animation-delay: 1.2s;
}

.is-animated .character-d {
  animation: fadeInUp 0.6s ease-out forwards;
  animation-delay: 1.4s;
}


#sec-statement {
  width: 750px;
  height: 1280px;
  margin: 0 auto 0;
  padding-top: 100px;
  overflow: hidden;
}

#sec-statement img {
  width: 750px;
  margin: 0 auto;
}

#sec-wrapper {
  width: 750px;
  margin: 0 auto;
  padding: 0;
  position: relative;
  overflow: hidden;
}

.animation-4koma {
  text-align: center;
  padding: 20px 0;
}

.animation-4koma img {
  max-width: 100%;
  height: auto;
}

#koma-container.js-scroll {
  opacity: 1;
  visibility: visible;
}

/* ティッカーを囲むラッパー */
.ticker-wrapper {
  width: 750px;
  overflow: hidden;
}

/* 境目のティッカー（高さ56px、上下-28pxで中央配置、最前面） */
.boundary-ticker {
  height: 56px;
  margin-top: -28px;
  margin-bottom: -28px;
  position: relative;
  z-index: 10;
}

/* CMセクションの背景ティッカー（背面配置） */
.bg-ticker {
  position: absolute;
  top: 200px;
  left: 0;
  z-index: 0;
}

/* sec-event途中のティッカー用 */
.mid-ticker {
  height: 56px;
  position: relative;
  z-index: 5;
}

.ticker {
  display: flex;
}

.ticker img {
  height: auto;
}

.ticker-s {
  width: 23400px;
}

.ticker-s img {
  width: 11700px;
  height: 56px;
}

.ticker-l {
  width: 21200px;
}

.ticker-l img {
  width: 10600px;
}

.ticker-ltr {
  animation: scroll-ltr 180s linear infinite;
}


@keyframes scroll-ltr {
  0% {
    transform: translateX(-50%);
  }

  100% {
    transform: translateX(0);
  }
}

.ticker-rtl {
  animation: scroll-rtl 120s linear infinite;
}

@keyframes scroll-rtl {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

#sec-movie {
  z-index: 10;
  width: 100%;
  min-height: 620px;
  margin: 0 auto;
  background: #ffe100;
}

#sec-movie .inner-block {
  z-index: 9;
  width: 100%;
  padding-top: 105px;
  height: 640px;
  margin: 0 auto;
  position: relative;
}

#sec-movie .inner-block #movie-area {
  width: 100%;
  max-width: 750px;
  margin: 0 auto;
  position: relative;
  z-index: 100;
}

#sec-movie .inner-block #movie-area video {
  width: 560px;
  display: inline-block;
  border: none;
}

#sec-movie .inner-block #movie-area .play_icon {
  height: auto;
  margin: 30px auto 0;
  transition: transform 0.2s ease;
}

#sec-movie .inner-block #movie-area .play_icon button {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  appearance: none;
  outline: none;
  transition: transform 0.2s ease;
}

#sec-movie .inner-block #movie-area .play_icon button img {
  width: 460px;
  height: auto;
  vertical-align: top;
}

@media (hover: hover) and (pointer: fine) {
  #sec-movie .inner-block #movie-area .play_icon button:hover {
    transform: scale(1.4);
  }
}

#sec-event .event-block-wrap {
  position: relative;
}

.wrap-character {
  width: 750px;
  position: absolute;
  left: 0;
}

.wrap-character.is-active {
  animation: fade-in .7s ease-in-out both;
}

.wrap-character.top-front {
  top: -112px;
  z-index: 30;
}

.wrap-character.top-back {
  top: -112px;
  z-index: 10;
}

.wrap-character.top-front-shoplink {
  top: 44px;
  z-index: 30;
}

.wrap-character.top-back-shoplink {
  top: 44px;
  z-index: 10;
}

.wrap-character.btm-nanaco {
  bottom: -10px;
  z-index: 30;
}

.wrap-character.btm-paypay {
  bottom: 18px;
  z-index: 30;
}

.wrap-character.btm-shoplink {
  bottom: 95px;
  z-index: 30;
}

#sec-event .inner-block {
  position: relative;
  z-index: 20;
  background-size: 640px;
  padding-top: 118px;
}

#sec-event .inner-block.nanaco {
  background: url(../img/bg_wrap-nanaco.svg) no-repeat top center;
  background-size: 640px;
  margin-top: 180px;
  height: 1292px;
}

#sec-event .inner-block.paypay {
  background: url(../img/bg_wrap-paypay.svg) no-repeat top center;
  background-size: 640px;
  margin-top: 140px;
  height: 1420px;
}

.nanaco h2,
.nanaco h3,
.paypay h2,
.paypay h3 {
  opacity: 0;
  visibility: hidden;
}

#sec-store {
  width: 100%;
  margin: 0 auto;
  padding: 230px 0 120px 0;
  position: relative;
  background: #ffe100;
}

#sec-store .inner-block {
  width: 640px;
  height: 2648px;
  margin: 0 auto;
  padding-top: 40px;
  background: #fff url(../img/img_content_shoplink.svg) no-repeat top center;
  background-size: 650px;
  opacity: 0;
  position: relative;
  visibility: hidden;
  z-index: 20;
}

#sec-store .inner-block.is-active {
  animation: fade-in_content .7s ease-in-out forwards;
}

/* --- 3. ショップリスト（ボタン）の設定 --- */
#sec-store .inner-block .sec-shoplist_area ul {
  margin: 115px auto 0;
  padding-top: 30px;
  max-width: 650px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 60px;
  row-gap: 40px;
  list-style: none;
}

#sec-store .inner-block .sec-shoplist_area ul li {
  width: 140px;
  opacity: 0;
  visibility: hidden;
}

#sec-store .inner-block .sec-shoplist_area ul li.break {
  display: none;
}

#sec-store .inner-block .sec-shoplist_area ul.is-ready li {
  transition: transform 0.2s ease;
}

#sec-store .inner-block .sec-shoplist_area ul li img {
  width: 140px;
  height: auto;
  vertical-align: top;
}

@media (hover: hover) and (pointer: fine) {
  #sec-store .inner-block .sec-shoplist_area ul li:hover {
    transform: scale(1.25);
    z-index: 10;
  }
}

#sec-store .inner-block .sec-shoplist_area ul.list02,
#sec-store .inner-block .sec-shoplist_area ul.list03,
#sec-store .inner-block .sec-shoplist_area ul.list04 {
  padding-top: 50px;
}

/* =======================================
   動画モーダル全体の共通設定
======================================= */
#video_modal_wrap {
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99999;
  background: #ffe100;
}

/* --- 閉じるボタンの枠 --- */
#video_modal_wrap #video_modal_close_wrap {
  position: absolute;
  top: 3%;
  right: 3%;
  width: 8%;
  height: 8%;
  z-index: 100000;
}

/* --- 閉じるボタン本体 --- */
#video_modal_wrap #video_modal_close_wrap #video_modal_close {
  display: block;
  width: 100%;
  height: 100%;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  outline: none;
  transition: transform 0.2s ease;
}

/* ホバーで少し大きくなるアクション（おまけ） */
@media (hover: hover) and (pointer: fine) {
  #video_modal_wrap #video_modal_close_wrap #video_modal_close:hover {
    transform: scale(1.15);
  }
}

/* --- 閉じるボタンの画像（SVG） --- */
#video_modal_wrap #video_modal_close_wrap #video_modal_close img {
  width: 100%;
  height: 100%;
  /* auto だとSVGが消えることがあるため 100% に */
  object-fit: contain;
  /* 画像の比率を保つ */
  display: block;
}

/* --- 動画エリア --- */
#video_modal_wrap #video_modal_inner_wrap {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#video_modal_wrap #video_modal_inner_wrap .modal-video-inner {
  position: relative;
}

#video_modal_wrap #video_modal_inner_wrap div #modal_video_player {
  display: block;
  width: auto;
  height: 100%;
}

#footer {
  width: 100%;
  background: #fafafa;
  color: #222222;
  margin: 0 auto;
  padding: 45px 0;
  font-family: 'Noto Sans JP', sans-serif;
  -webkit-font-smoothing: auto;
}

#footer .copyright {
  font-size: 15px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  letter-spacing: 0.65px;
  text-align: center;
}

@media screen and (min-width: 768px) {
  .pc-ticker-area {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
  }

  .ticker-row {
    width: 100%;
    height: 200px;
    margin: 10px 0 55px;
    background-image: url("../img/img_ticker_bg-pc-tri.webp");
    background-repeat: repeat-x;
    /* 高さを200pxに固定し、横幅はアスペクト比を維持 */
    background-size: auto 200px;
  }

  /* --- 速度とスタート位置の設定（前回と同じ） --- */
  .row-1 {
    animation: tickerLoopRight 300s linear infinite;
    animation-delay: -20s;
  }

  .row-2 {
    animation: tickerLoopLeft 310s linear infinite;
    animation-delay: -40s;
  }

  .row-3 {
    animation: tickerLoopRight 320s linear infinite;
    animation-delay: -150s;
  }

  .row-4 {
    animation: tickerLoopLeft 290s linear infinite;
    animation-delay: -190s;
  }

  .row-5 {
    animation: tickerLoopRight 280s linear infinite;
    animation-delay: -80s;
  }

  .row-6 {
    animation: tickerLoopLeft 330s linear infinite;
    animation-delay: -110s;
  }

  .row-7 {
    animation: tickerLoopRight 310s linear infinite;
    animation-delay: -220s;
  }

  @keyframes tickerLoopLeft {
    from {
      background-position-x: 0;
    }

    to {
      background-position-x: -9396px;
    }
  }

  @keyframes tickerLoopRight {
    from {
      background-position-x: 0;
    }

    to {
      background-position-x: 9396px;
    }
  }

  .wrapper {
    position: relative;
    z-index: 1;
  }
}

@media screen and (max-width: 768px) {

  .pc {
    display: none !important;
  }

  .sp {
    display: inline-block !important;
  }

  .wrapper #content {
    width: 100vw;
  }

  .wrapper #content h2,
  .wrapper #content h3,
  .wrapper #content .cont {
    width: 86.6667vw;
    margin: 0 auto;
  }

  .wrapper #content .btn-back {
    width: 86.6667vw;
    margin: 0 auto 9vw;
  }

  .wrapper #content .illust {
    width: 100vw;
    left: 0;
    top: 4vw;
  }

  #sec-kv {
    width: 100vw;
    height: 196vw;
    padding-top: 10vw;
  }

  #header .inner-block {
    max-width: 100vw;
    padding: 1.5vw 4vw;
  }

  #header .inner-block ul {
    gap: 3vw;
  }

  #header .inner-block ul li.logo {
    flex: 0 0 15.66vw;
  }

  #header .inner-block ul li.logo_gt {
    flex: 0 0 14.06vw;
  }

  #header .inner-block ul li.logo_pt {
    flex: 0 0 16.33vw;
  }

  #header .inner-block ul li.logo_sp {
    flex: 0 0 18.73vw;
  }

  #sec-wrapper {
    width: 100vw;
    background-size: 100vw;
  }

  #sec-statement {
    width: 100vw;
    height: 170.67vw;
    padding-top: 13.33vw;
  }

  .animation-4koma {
    padding: 2.6666666667vw 0;
  }

  .ticker-wrapper {
    width: 100vw;
  }

  .boundary-ticker {
    height: 7.4666666667vw;
    margin-top: -3.7333333333vw;
    margin-bottom: -3.7333333333vw;
  }

  .bg-ticker {
    top: 26.6666666667vw;
  }

  .mid-ticker {
    height: 7.4666666667vw;
  }

  .ticker-s {
    width: 3120vw;
  }

  .ticker-s img {
    width: 1560vw;
    height: 7.4666666667vw;
  }

  .ticker-l {
    width: 2826.6666666667vw;
  }

  .ticker-l img {
    width: 1413.3333333333vw;
  }

  #sec-statement img {
    width: 100vw;
  }

  #sec-movie {
    min-height: 82.67vw;
  }

  #sec-movie .inner-block {
    padding-top: 14vw;
    height: 85.33vw;
  }

  #sec-movie .inner-block #movie-area {
    max-width: 100vw;
  }

  #sec-movie .inner-block #movie-area video {
    width: 74.67vw;
  }

  #sec-movie .inner-block #movie-area .play_icon {
    margin: 4vw auto 0;
  }

  /* こちらも a img から button img に変更 */
  #sec-movie .inner-block #movie-area .play_icon button img {
    width: 61.33vw;
  }

  .wrap-character {
    width: 100vw;
  }

  .wrap-character.top-front {
    top: -14.93vw;
  }

  .wrap-character.top-back {
    top: -14.93vw;
  }

  .wrap-character.top-front-shoplink {
    top: 5.87vw;
  }

  .wrap-character.top-back-shoplink {
    top: 5.87vw;
  }

  .wrap-character.btm-nanaco {
    bottom: -1.33vw;
  }

  .wrap-character.btm-paypay {
    bottom: 2.4vw;
  }

  .wrap-character.btm-shoplink {
    bottom: 14.9vw;
  }

  #sec-event .inner-block {
    background-size: 85.33vw;
    padding-top: 15.73vw;
  }

  #sec-event .inner-block.nanaco {
    background-size: 85.33vw;
    margin-top: 24vw;
    height: 172.27vw;
  }

  #sec-event .inner-block.paypay {
    background-size: 85.33vw;
    margin-top: 18.67vw;
    height: 189.33vw;
  }

  #sec-store {
    padding: 30.67vw 0 16vw 0;
  }

  #sec-store .inner-block {
    width: 85.33vw;
    height: 353.07vw;
    padding-top: 5.33vw;
    background-size: 86.67vw;
  }

  #sec-store .inner-block .sec-shoplist_area ul {
    margin: 15.33vw auto 0;
    padding-top: 4vw;
    max-width: 86.67vw;
    column-gap: 8vw;
    row-gap: 5.33vw;
  }

  #sec-store .inner-block .sec-shoplist_area ul li {
    width: 18.67vw;
  }

  #sec-store .inner-block .sec-shoplist_area ul li img {
    width: 18.67vw;
  }

  #sec-store .inner-block .sec-shoplist_area ul.list02,
  #sec-store .inner-block .sec-shoplist_area ul.list03,
  #sec-store .inner-block .sec-shoplist_area ul.list04 {
    padding-top: 6.67vw;
  }

  /* モーダルのスマホ設定 */
  #video_modal_wrap {
    width: 100vw;
    height: 100vh;
  }

  #video_modal_wrap #video_modal_close_wrap {
    top: 8vw;
    right: 8vw;
    width: 20vw;
    height: 20vw;
  }

  #footer {
    width: 100vw;
    padding: 7vw 0;
  }

  #footer .copyright {
    font-size: 2.5vw;
    letter-spacing: 0.2vw;
  }

}


/*------------------------------------
topに戻るボタン
------------------------------------*/
#page_top {
  z-index: 10000;
  position: fixed;
  right: 20px;
  bottom: 3%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* 画像ベース */
#page_top img {
  display: block;
  width: 110px;
  height: auto;
  transform-origin: center center;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* PCホバー */
@media (hover: hover) and (pointer: fine) {
  #page_top img:hover {
    transform: scale(1.1);
  }
}

/* 「_on.」付き画像がある場合だけ効く（通常は何も起きない） */
#page_top img[src*="_on."] {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  #page_top:hover img[src*="_on."] {
    opacity: 1;
  }
}

/*------------------------------------
SP（768px以下）
------------------------------------*/
@media screen and (max-width: 768px) {
  #page_top {
    right: 3vw;
    bottom: -20vw;
  }

  #page_top img {
    width: 16vw;
  }
}

/*------------------------------------
アニメーション
------------------------------------*/
@keyframes fade-in {
  from {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}


@keyframes ttl_zoom {
  from {
    transform: scale(0);
    filter: blur(10px);
  }

  25% {
    transform: scale(1.6);
    filter: blur(0px);
  }

  50% {
    transform: scale(0.90);
  }

  70% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1.00);
  }
}

@keyframes content_zoom {
  from {
    transform: scale(0);
    filter: blur(10px);
  }

  30% {
    transform: scale(1.1);
    filter: blur(0px);
  }

  60% {
    transform: scale(0.90);
  }

  100% {
    transform: scale(1.00);
  }
}


@keyframes fade-in_content {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}