/* ============================================================
   mo-min LP — swipe style (mobile-first)
============================================================ */

:root {
  --teal:        #0BBDCA;
  --teal-dark:   #0099A8;
  --teal-light:  #7DDCE6;
  --teal-pale:   #E4F9FB;
  --bg:          #FFFFFF;
  --text:        #0B1E26;
  --text-mid:    #4A6470;
  --border:      #D0E8EC;

  --font-ja: 'Noto Sans JP', sans-serif;
  --font-en: 'Poppins', sans-serif;

  --ease: cubic-bezier(.4,0,.2,1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  height: 100%;
  font-size: 16px;
}

body {
  height: 100%;
  overflow: hidden;
  font-family: var(--font-ja);
  color: var(--text);
  background: #000;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior: none;
}

img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ============================================================
   APP STAGE  (responsive frame)
   縦長デザインを全幅に引き伸ばさず、中央のステージとして配置。
   container-type でタイポグラフィを「画面幅」ではなく「ステージ幅」に追従させる。
============================================================ */
.app-stage {
  position: relative;
  width: 100%;
  height: 100svh;
  overflow: hidden;
  container-type: inline-size;
}

/* ============================================================
   FIXED UI OVERLAYS  (anchored to .app-stage)
============================================================ */

/* ロゴ */
.site-logo {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 200;
}
.site-logo img {
  height: 26px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: filter 0.35s var(--ease);
}
.site-logo.logo--dark img {
  filter: none;
}

/* スライドカウンター */
.slide-counter {
  position: absolute;
  bottom: 28px;
  left: 24px;
  z-index: 200;
  font-family: var(--font-en);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .14em;
  color: rgba(255,255,255,.45);
  transition: color 0.35s var(--ease);
}
.slide-counter.counter--dark {
  color: var(--text-mid);
}

/* 進捗ドット */
.progress-dots {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.3);
  transition: all 0.3s var(--ease);
  padding: 0;
}
.dot--active {
  background: #fff;
  transform: scale(1.6);
}
.progress-dots.dots--dark .dot {
  background: rgba(0,0,0,.18);
}
.progress-dots.dots--dark .dot--active {
  background: var(--teal);
}

/* ============================================================
   SLIDES TRACK
============================================================ */
.slides-track {
  display: flex;
  flex-direction: column;
  will-change: transform;
  transition: transform 0.65s cubic-bezier(.77,0,.18,1);
}

/* ============================================================
   INDIVIDUAL SLIDE
============================================================ */
.slide {
  height: 100svh;
  width: 100%;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

/* Slide backgrounds */
.slide__bg {
  position: absolute;
  inset: 0;
}
.slide__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.slide__overlay {
  position: absolute;
  inset: 0;
}
.slide__overlay--hero {
  background: linear-gradient(
    to top,
    rgba(5,18,26,.92) 0%,
    rgba(5,18,26,.55) 38%,
    rgba(5,18,26,.0) 62%
  );
}
.slide__overlay--bottom {
  background: linear-gradient(
    to top,
    rgba(5,18,26,.95) 0%,
    rgba(5,18,26,.6) 45%,
    rgba(5,18,26,.0) 100%
  );
}
.slide__overlay--dark {
  background: rgba(5,18,26,.62);
}
.slide__overlay--teal {
  background: linear-gradient(160deg, rgba(5,20,28,.88) 0%, rgba(0,100,110,.80) 100%);
}

/* Slide body layout */
.slide__body {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px 28px 52px;
}
.slide__body--center {
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 60px;
}
.slide__body--bottom {
  justify-content: flex-end;
  padding-bottom: 60px;
}

/* ============================================================
   SWIPE HINT
============================================================ */
.swipe-hint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}
.swipe-hint span {
  font-family: var(--font-en);
  font-size: .55rem;
  letter-spacing: .2em;
  color: rgba(255,255,255,.38);
  text-transform: uppercase;
}
.swipe-hint__line {
  width: 1px;
  height: 28px;
  background: linear-gradient(to bottom, rgba(255,255,255,.5), transparent);
  animation: swipePulse 1.8s ease-in-out infinite;
}
@keyframes swipePulse {
  0%,100% { opacity: .25; transform: scaleY(.5); }
  50%      { opacity: 1;   transform: scaleY(1); }
}

/* ============================================================
   SLIDE 1: HERO
============================================================ */
.slide--hero .slide__body {
  justify-content: flex-end;
  padding-bottom: 88px;
}

/* HERO背景は縦長画像。横長のPC画面では上下が切られ、上部にある顔が
   消えてしまうため、表示基準を上寄せ（顔の位置）にして見切れを防ぐ。 */
.slide--hero .slide__bg img {
  object-position: 50% 22%;
}
@media (min-width: 768px) {
  .slide--hero .slide__bg img {
    object-position: 50% 18%;
  }
}

.hero-badge {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #11d2e0 0%, var(--teal) 55%, var(--teal-dark) 100%);
  border: 1px solid rgba(255,255,255,.45);
  color: #fff;
  padding: 10px 18px;
  border-radius: 50px;
  font-size: .82rem;
  font-weight: 700;
  margin-bottom: 16px;
  box-shadow: 0 10px 26px rgba(11,189,202,.5), inset 0 1px 0 rgba(255,255,255,.4);
}
.hero-badge span:first-child { font-size: 1.1em; }
.hero-badge strong {
  color: #fff;
  font-weight: 800;
  background: rgba(255,255,255,.22);
  padding: 1px 7px;
  border-radius: 6px;
}

@media (prefers-reduced-motion: no-preference) {
  .slide--hero[data-deck-active] .hero-badge,
  .hero-badge,
  .download-badge {
    animation: badgeGlow 2.4s var(--ease) infinite;
  }
}
@keyframes badgeGlow {
  0%, 100% { box-shadow: 0 10px 26px rgba(11,189,202,.45), 0 0 0 0 rgba(17,210,224,.5), inset 0 1px 0 rgba(255,255,255,.4); }
  50%      { box-shadow: 0 12px 30px rgba(11,189,202,.55), 0 0 0 10px rgba(17,210,224,0), inset 0 1px 0 rgba(255,255,255,.4); }
}

.hero-title {
  font-size: clamp(2rem, 7.5cqw, 3.6rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.18;
  letter-spacing: -.04em;
  margin-bottom: 14px;
}
.hero-title em {
  font-style: normal;
  color: var(--teal-light);
  display: block;
  margin-top: 4px;
  font-size: .9em;
}
.hero-zero { color: var(--teal-light); }

.hero-sub {
  font-size: .875rem;
  color: rgba(255,255,255,.72);
  line-height: 1.75;
  margin-bottom: 26px;
}

/* App buttons */
.app-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.app-btns--stack {
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.app-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  background: rgba(255,255,255,.10);
  color: #fff;
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 13px;
  min-width: 148px;
  transition: all .22s var(--ease);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.app-btn:active { transform: scale(.97); }
.app-btn svg { width: 22px; height: 22px; flex-shrink: 0; }
.app-btn__text { display: flex; flex-direction: column; line-height: 1.2; }
.app-btn__small { font-size: .53rem; opacity: .72; font-family: var(--font-en); }
.app-btn__large { font-size: .84rem; font-weight: 700; font-family: var(--font-en); }

.app-btn--lg {
  padding: 13px 22px;
  min-width: 240px;
  width: 100%;
  max-width: 280px;
  justify-content: center;
  border-radius: 15px;
}
.app-btn--lg svg { width: 25px; height: 25px; }
.app-btn--lg .app-btn__large { font-size: .98rem; }

/* ============================================================
   SLIDE 2: CAMPAIGN
============================================================ */
.slide--campaign {
  background: linear-gradient(145deg, #0dcad8 0%, var(--teal-dark) 55%, #00606e 100%);
}

.campaign-icon {
  font-size: 2.8rem;
  margin-bottom: 8px;
}

.tag-label {
  font-family: var(--font-en);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .16em;
  color: rgba(255,255,255,.65);
  margin-bottom: 10px;
  text-transform: uppercase;
}
.tag-label--teal { color: var(--teal) !important; }

.campaign-title {
  font-size: clamp(1.6rem, 6.5cqw, 2.6rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.25;
  letter-spacing: -.03em;
  margin-bottom: 8px;
}
.campaign-title span {
  border-bottom: 3px solid rgba(255,255,255,.4);
}

.campaign-sub {
  font-size: .78rem;
  color: rgba(255,255,255,.72);
  margin-bottom: 16px;
}

.campaign-urgency {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .74rem;
  color: rgba(255,255,255,.82);
  margin-bottom: 14px;
}
.urgency-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff6b6b;
  flex-shrink: 0;
  animation: urgentPulse 1.2s ease-in-out infinite;
}
@keyframes urgentPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(255,107,107,.4); }
  50%      { box-shadow: 0 0 0 7px rgba(255,107,107,.0); }
}

.campaign-timer {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(0,0,0,.2);
  border-radius: 14px;
  padding: 10px 16px;
  margin-bottom: 22px;
}
.timer-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 50px;
}
.timer-unit span {
  font-family: var(--font-en);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
  color: #fff;
}
.timer-unit small {
  font-size: .58rem;
  color: rgba(255,255,255,.6);
  margin-top: 2px;
}
.timer-sep {
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(255,255,255,.45);
  margin-bottom: 14px;
  padding: 0 1px;
}
.timer-expired {
  font-size: .82rem;
  color: rgba(255,255,255,.75);
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 36px;
  background: #fff;
  color: var(--teal-dark);
  border-radius: 50px;
  font-weight: 800;
  font-size: .95rem;
  letter-spacing: .02em;
  box-shadow: 0 8px 32px rgba(0,0,0,.2);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.cta-btn:active { transform: scale(.97); }

/* ============================================================
   SLIDE 3–5: FEATURES
============================================================ */
.feature-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.feature-num {
  font-family: var(--font-en);
  font-size: 3.2rem;
  font-weight: 700;
  color: rgba(255,255,255,.2);
  line-height: 1;
  letter-spacing: -.05em;
}
.feature-icon {
  font-size: 2.2rem;
}
.feature-title {
  font-size: clamp(2rem, 8cqw, 3.2rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.18;
  letter-spacing: -.04em;
  margin-bottom: 12px;
}
.feature-desc {
  font-size: .88rem;
  color: rgba(255,255,255,.78);
  line-height: 1.82;
  max-width: 300px;
}

/* ============================================================
   SLIDE 6: HOW TO
============================================================ */
.slide--howto {
  background: var(--bg);
}

.section-title {
  font-size: clamp(1.65rem, 6cqw, 2.4rem);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -.035em;
  margin-bottom: 26px;
  color: var(--text);
}

.steps {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  text-align: left;
}
.step {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  background: #F2FBFC;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 6px 22px rgba(11,150,165,.08);
}
.step-num {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-light), var(--teal));
  color: #fff;
  font-family: var(--font-en);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 6px 16px rgba(11,189,202,.35);
}
.step-content h3 {
  font-size: .95rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 3px;
}
.step-content p {
  font-size: .78rem;
  color: var(--text-mid);
  line-height: 1.55;
}
.step-arrow {
  width: 100%;
  text-align: center;
  font-size: 1.1rem;
  color: var(--teal);
  line-height: 1;
  padding: 8px 0;
}

/* ============================================================
   SLIDE 7: AREA
============================================================ */
.area-title {
  font-size: clamp(1.9rem, 7.5cqw, 3rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.18;
  letter-spacing: -.04em;
  margin-bottom: 12px;
}
.area-desc {
  font-size: .875rem;
  color: rgba(255,255,255,.72);
  line-height: 1.82;
  margin-bottom: 18px;
}
.area-desc strong { color: #fff; }
.area-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 18px;
}
.area-tag--on {
  padding: 8px 18px;
  border-radius: 50px;
  background: var(--teal);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
}
.area-tag--soon {
  padding: 8px 16px;
  border-radius: 50px;
  background: rgba(255,255,255,.14);
  color: rgba(255,255,255,.65);
  font-size: .8rem;
}
.area-live {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 700;
  color: #fff;
}
.area-dot {
  width: 9px;
  height: 9px;
  background: var(--teal);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(11,189,202,.3);
  animation: pulseDot 1.8s ease-in-out infinite;
}
@keyframes pulseDot {
  0%,100% { box-shadow: 0 0 0 3px rgba(11,189,202,.25); }
  50%      { box-shadow: 0 0 0 8px rgba(11,189,202,.06); }
}

/* ============================================================
   SLIDE 8: DOWNLOAD
============================================================ */
.download-badge {
  display: inline-block;
  background: linear-gradient(135deg, #11d2e0 0%, var(--teal) 55%, var(--teal-dark) 100%);
  border: 1px solid rgba(255,255,255,.45);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
  box-shadow: 0 10px 26px rgba(11,189,202,.5), inset 0 1px 0 rgba(255,255,255,.4);
}
.download-title {
  font-size: clamp(1.5rem, 6cqw, 2.5rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.25;
  letter-spacing: -.04em;
  margin-bottom: 10px;
}
.download-title span { color: var(--teal-light); }
.download-sub {
  font-size: .78rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 22px;
}
.download-note {
  font-size: .7rem;
  color: rgba(255,255,255,.38);
  margin-top: 10px;
  margin-bottom: 16px;
}
.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: .68rem;
  color: rgba(255,255,255,.3);
}
.footer-links a {
  color: rgba(255,255,255,.38);
  transition: color .2s;
}
.footer-links a:active { color: rgba(255,255,255,.7); }

.slide--download .app-btn {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.26);
}

/* ============================================================
   TABLET / PC  — 中央ステージ + アンビエント背景
   全幅に引き伸ばさず、縦長デザインを中央に最適幅で配置することで
   間延び・余白過多を解消する。
============================================================ */
@media (min-width: 760px) {
  body {
    display: flex;
    justify-content: center;
    align-items: center;
    background:
      radial-gradient(120% 85% at 50% 0%,
        #12414c 0%, #07191f 52%, #03090c 100%);
  }
  /* 同じヒーロー画像をぼかしてアンビエント背景に。content と色がなじむ */
  body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: url("../images/model2.png.png") center 16% / cover no-repeat;
    filter: blur(60px) brightness(.42) saturate(1.15);
    transform: scale(1.2);
    z-index: 0;
    pointer-events: none;
  }

  .app-stage {
    z-index: 1;
    width: min(980px, 92vw);
    height: 100svh;
    box-shadow:
      0 0 0 1px rgba(255,255,255,.07),
      0 50px 130px rgba(0,0,0,.6);
  }
}

/* コンテンツの読みやすさを保つため、幅広ステージでは
   テキストブロックに上限を設けて中央に収める */
@media (min-width: 760px) {
  .slide__body {
    padding-left: 56px;
    padding-right: 56px;
  }
  .slide--hero .hero-badge,
  .slide--hero .hero-sub,
  .slide--hero .app-btns {
    max-width: 560px;
  }
  .slide--hero .hero-badge {
    font-size: .98rem;
    padding: 13px 24px;
    margin-bottom: 20px;
  }
  .slide--hero .hero-title { max-width: 760px; }
  .feature-desc { max-width: 420px; }
  .campaign-title,
  .campaign-sub,
  .download-title,
  .download-sub,
  .area-desc,
  .section-title { max-width: 620px; }
}

/* ============================================================
   HOW TO (PC) — 見出し・ステップを大きく、見やすく
============================================================ */
@media (min-width: 760px) {
  .slide--howto .tag-label {
    font-size: .8rem;
    letter-spacing: .22em;
    margin-bottom: 12px;
  }
  .slide--howto .section-title {
    font-size: 2.5rem;
    margin-bottom: 26px;
  }
  .steps { max-width: 560px; }
  .step {
    gap: 20px;
    padding: 18px 24px;
    border-radius: 20px;
  }
  .step-num {
    width: 56px;
    height: 56px;
    font-size: 1.3rem;
  }
  .step-content h3 {
    font-size: 1.22rem;
    margin-bottom: 5px;
  }
  .step-content p { font-size: .95rem; line-height: 1.55; }
  .step-arrow {
    font-size: 1.35rem;
    padding: 10px 0;
  }
}

/* ダウンロードスライドのキャンペーンバッジも PC で一回り大きく */
@media (min-width: 760px) {
  .download-badge {
    font-size: .92rem;
    padding: 12px 24px;
    margin-bottom: 22px;
  }
}
