@charset "utf-8";
/* ═══════════════════════════════════════════════════
   X105 ログイン / トップ LP 専用スタイル
   使用テンプレート: a/login/index.tpl (a/_include/header_lp.tpl)
   ※他ページ(style_02.css / jqMini.css)とは併用しない独立スタイル
═══════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════
   DESIGN TOKENS
═══════════════════════════════════════════════════ */
:root {
  --ink:       #111122;
  --void:      #0d0d20;
  --surface:   #181830;
  --lift:      #20203c;
  --red:       #e60033;
  --red-hi:    #ff1744;
  --red-dim:   rgba(230,0,51,.15);
  --red-glow:  rgba(230,0,51,.25);
  --gold:      #c8973a;
  --white:     #f0f0f8;
  --gray:      #a0a0c8;
  --line:      rgba(255,255,255,.10);
  --r:         12px;
  --font-jp:   'Noto Sans JP', sans-serif;
  --font-disp: 'Bebas Neue', sans-serif;
}

/* ═══════════════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-jp);
  background: var(--void);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.65;
}
/* グレインテクスチャ */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none;
  opacity: .028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
}
/* height:auto は必須。img に width/height 属性（CLS対策）を付けているため、
   これが無いと height 属性が表示ヒントとして効いて縦に伸びる */
img { display: block; max-width: 100%; height: auto; }
section, nav, footer, div { position: relative; z-index: 1; }

/* ═══════════════════════════════════════════════════
   SCROLLBAR
═══════════════════════════════════════════════════ */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 2px; }

/* ═══════════════════════════════════════════════════
   BUTTON
═══════════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--red);
  color: #fff; text-decoration: none;
  font-family: var(--font-jp); font-weight: 900;
  border-radius: 4px;
  box-shadow: 0 0 0 0 var(--red-glow);
  transition: transform .18s, box-shadow .18s, background .18s;
  white-space: nowrap; letter-spacing: .02em;
}
.btn::after {
  content: ''; position: absolute; inset: 0; border-radius: 4px;
  background: linear-gradient(135deg, rgba(255,255,255,.12) 0%, transparent 60%);
  pointer-events: none;
}
.btn:hover  { transform: translateY(-3px); box-shadow: 0 12px 40px var(--red-glow); background: var(--red-hi); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .55; cursor: default; transform: none; box-shadow: none; }
.btn-sm { font-size: 13px; padding: 10px 22px; }
.btn-lg { font-size: 17px; padding: 17px 48px; letter-spacing: .06em; }
.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,.24);
  box-shadow: none;
}
.btn-ghost:hover { border-color: rgba(230,0,51,.7); background: rgba(230,0,51,.12); }

/* ═══════════════════════════════════════════════════
   NAV
═══════════════════════════════════════════════════ */
nav {
  position: sticky; top: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 24px;
  background: rgba(5,5,10,.88);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--line);
}
nav::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, var(--red) 0%, transparent 60%);
}
/* flex-shrink:0 が無いと右側のボタンに押されてロゴが横に潰れる */
.nav-logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.nav-logo img { height: 36px; width: auto; mix-blend-mode: screen; }
/* ロゴは固定幅。狭い画面ではボタン側を詰めて収める */
.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 1; min-width: 0; }
@media (max-width: 440px) {
  nav { padding: 10px 14px; }
  .nav-actions { gap: 6px; }
  .btn-sm { font-size: 12px; padding: 9px 12px; }
}
@media (max-width: 360px) {
  .nav-logo img { height: 30px; }
  .btn-sm { font-size: 11px; padding: 9px 10px; }
}

/* ═══════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════ */
.hero {
  overflow: hidden;
  padding: 72px 24px 80px;
  background: var(--ink);
}
/* 斜めの赤ライン装飾 */
.hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -80px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(230,0,51,.22) 0%, transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
}
/* 右上の装飾ライン */
.hero-deco {
  position: absolute; top: 0; right: 0;
  width: 3px; height: 45%;
  background: linear-gradient(180deg, var(--red) 0%, transparent 100%);
  pointer-events: none;
}
.hero-inner {
  display: flex; flex-direction: column; align-items: center;
  gap: 52px; max-width: 1080px; margin: 0 auto;
}
.hero-text { text-align: center; }
.hero-visual {
  width: calc(100% + 48px);
  margin-left: -24px; margin-right: -24px;
}
.hero-visual img {
  width: 100%; max-width: 100%; margin: 0;
  filter: drop-shadow(0 40px 80px rgba(230,0,51,.4));
}
@media (min-width: 720px) {
  .hero-inner   { flex-direction: row; align-items: center; gap: 48px; }
  .hero-text    { flex: 1; text-align: center; }
  .hero-visual  { flex: 0 0 55%; max-width: 580px; width: 55%; margin: 0; }
  .hero-visual img { max-width: 100%; width: 100%; }
}
.hero-logo {
  display: block; height: 56px; width: auto;
  mix-blend-mode: screen; margin: 0 auto 20px;
}
@media (min-width: 720px) { .hero-logo { height: 70px; } }

.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid rgba(230,0,51,.4);
  color: #ff6680; padding: 5px 14px; border-radius: 2px;
  font-size: 11px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; margin-bottom: 22px;
  background: rgba(230,0,51,.08);
}
.hero h1 {
  font-size: clamp(30px, 5vw, 48px); font-weight: 900;
  line-height: 1.12; letter-spacing: -.03em; margin-bottom: 20px;
}
.hero h1 em {
  font-style: normal; display: block;
  color: var(--red);
  text-shadow: 0 0 40px rgba(230,0,51,.4);
}
.hero p {
  font-size: clamp(14px, 3vw, 16px); color: var(--gray);
  max-width: 420px; line-height: 1.9; margin: 0 auto 36px;
}
.hero-note { font-size: 12px; color: var(--gray); margin-top: 16px; }
.hero-note strong { color: #ff6680; }

/* SNSシェア／利用ガイド（現行ログイン画面から移植） */
.hero-share {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 10px; margin-top: 22px; list-style: none;
}
.share-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 16px; border-radius: 6px;
  font-size: 13px; font-weight: 700; letter-spacing: .02em;
  white-space: nowrap; text-decoration: none;
  border: 1px solid transparent;
  transition: background .2s, border-color .2s, transform .18s;
}
.share-btn:hover { transform: translateY(-2px); }
.share-line { background: #06c755; color: #fff; }
.share-line:hover { background: #05b34c; }
.share-x, .share-guide {
  background: var(--lift); color: var(--white);
  border-color: rgba(255,255,255,.18);
}
.share-x:hover, .share-guide:hover { background: #2a2a4a; border-color: rgba(255,255,255,.32); }
/* 3つを1行に収めるため、狭い画面では文字と余白を詰める。
   タブレット幅はヒーローが2カラムになりテキスト側が狭くなるため同様に詰める */
@media (max-width: 430px) {
  .hero-share { gap: 6px; }
  .share-btn { padding: 10px 10px; font-size: 12px; }
}
/* タブレット幅はヒーローが2カラムになりテキスト側が狭くなるため、
   画像側を少し譲ったうえでボタンをさらに詰める */
@media (min-width: 720px) and (max-width: 950px) {
  .hero-visual { flex-basis: 46%; width: 46%; }
  .hero-share { gap: 5px; }
  .share-btn { padding: 10px 8px; font-size: 12px; }
}
@media (max-width: 360px) {
  .hero-share { gap: 5px; }
  .share-btn { padding: 9px 7px; font-size: 11px; }
}

/* ═══════════════════════════════════════════════════
   LOGIN
═══════════════════════════════════════════════════ */
.login-section {
  padding: 56px 24px 68px;
  background: linear-gradient(180deg, var(--void) 0%, var(--ink) 100%);
  border-bottom: 1px solid var(--line);
}
.login-panel {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 24px;
  align-items: center;
}
@media (min-width: 760px) {
  .login-panel { grid-template-columns: minmax(0, 1fr) 390px; gap: 36px; }
}
.login-copy .section-label { margin-bottom: 10px; }
.login-copy h2 {
  font-size: clamp(24px, 5vw, 36px);
  line-height: 1.28;
  letter-spacing: 0;
  margin-bottom: 14px;
}
.login-copy h2 em { color: var(--red); font-style: normal; }
.login-copy p { color: var(--gray); font-size: 14px; line-height: 1.9; }
.login-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 22px 60px rgba(0,0,0,.24);
}
.login-form-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}
.login-form-title b { font-size: 16px; }
.login-form-title a { color: #ff6680; font-size: 12px; text-decoration: none; }
.login-fields { display: grid; gap: 10px; }
.login-fields input[type="email"],
.login-fields input[type="password"],
.login-fields input[type="text"] {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 4px;
  background: rgba(5,5,10,.64);
  color: var(--white);
  padding: 0 14px;
  /* iOS Safari は font-size が16px未満の入力欄にフォーカスすると自動でズームし、
     以降ページ全体がずれて見えるため 16px を下回らせない */
  font: 700 16px var(--font-jp);
  outline: none;
}
.login-fields input:focus { border-color: rgba(230,0,51,.72); box-shadow: 0 0 0 3px rgba(230,0,51,.12); }
/* ブラウザ自動補完でも暗い配色を維持する */
.login-fields input:-webkit-autofill,
.login-fields input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--white);
  -webkit-box-shadow: 0 0 0 1000px #14142a inset;
  caret-color: var(--white);
}
/* パスワード表示トグル */
.login-pass { position: relative; }
.login-pass input { padding-right: 92px; }
.login-pass-toggle {
  position: absolute; top: 50%; right: 8px; transform: translateY(-50%);
  border: none; background: transparent; cursor: pointer;
  color: var(--gray); font: 700 11px var(--font-jp);
  padding: 8px 6px; letter-spacing: .04em;
}
.login-pass-toggle:hover { color: #ff6680; }

.login-options {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin: 12px 0 16px;
  font-size: 12px;
  color: var(--gray);
}
/* 自動ログインのチェックボックス廃止で3項目になったため、
   1行目=アリバイモード、2行目=補足リンク2つ（元デザインと同じ左右並び）にする */
.login-options label { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; flex: 0 0 100%; }
.login-options input { accent-color: var(--red); width: 16px; height: 16px; }
.login-help { color: var(--gray); text-decoration: none; }
.login-help:hover { color: #ff6680; }
.login-option-help { color: #ff6680; text-decoration: none; }
.login-submit { width: 100%; border: none; cursor: pointer; min-height: 50px; position: relative; }
/* 送信中はラベルを隠してボタン内にスピナーを出す（iOS風）。
   スピナー自体が状態を示すので :disabled の減光は打ち消して発色を保つ */
.login-submit.is-loading { color: transparent; pointer-events: none; opacity: 1; }
.login-submit.is-loading::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 20px; height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid rgba(255,255,255,.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: lp-spin .7s linear infinite;
}
/* エラー表示枠。入力チェックもサーバー側の認証エラーも同じ枠・同じ位置（送信ボタン直上）に出す。
   サーバー描画時は Smarty が is-visible を付け、Ajax時は JS が textContent を差し込む */
.login-error { display: none; }
.login-error.is-visible {
  display: block;
  margin: 0 0 12px;
  padding: 10px 12px;
  border: 1px solid rgba(230,0,51,.4);
  border-radius: 4px;
  background: rgba(230,0,51,.10);
  color: #ff8fa1;
  font-size: 12px;
  line-height: 1.7;
  /* JS が入れる改行(\n)を反映する */
  white-space: pre-line;
}
/* 端末別ブロック: JS が html[data-device] を付与して切り替える */
.device-block { display: none; }
[data-device="mobile"] .device-block[data-device-block="mobile"],
[data-device="desktop"] .device-block[data-device-block="desktop"] { display: block; }
/* JS未実行時はフォームを既定表示にする */
html:not([data-device]) .device-block[data-device-block="mobile"] { display: block; }
.device-notice {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 22px 60px rgba(0,0,0,.24);
}
.device-notice b {
  display: block;
  font-size: 16px;
  margin-bottom: 10px;
}
.device-notice p {
  color: var(--gray);
  font-size: 13px;
  line-height: 1.85;
  margin-bottom: 14px;
}
.device-url {
  display: block;
  color: #ff6680;
  font-weight: 900;
  text-decoration: none;
  overflow-wrap: anywhere;
}
/* カメラで読み取れるよう十分な表示サイズを確保する
   （25モジュール角のため、200px で 1モジュール約7px） */
.device-qr {
  width: min(200px, 100%);
  margin: 4px 0 14px;
  padding: 10px;
  background: #fff;
  border-radius: 8px;
}
.device-qr img { width: 100%; height: auto; }

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0,0,0,.68);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.modal-overlay.is-visible { display: flex; }
.login-modal {
  width: min(380px, 100%);
  background: var(--surface);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 26px 80px rgba(0,0,0,.48);
}
.login-modal b {
  display: block;
  font-size: 17px;
  margin-bottom: 10px;
}
.login-modal p {
  color: var(--gray);
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 18px;
}
.modal-close {
  width: 100%;
  border: none;
  min-height: 44px;
  cursor: pointer;
}

@keyframes lp-spin { to { transform: rotate(360deg); } }

/* ═══════════════════════════════════════════════════
   PC非対応の案内画面（a/login/pcnotaccess.tpl）
═══════════════════════════════════════════════════ */
.notice-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 520px;
  margin: 0 auto;
  padding: 72px 24px 96px;
  text-align: center;
}
.notice-section .device-notice { display: block; width: 100%; text-align: left; }
.notice-section .device-qr { margin-left: auto; margin-right: auto; }
.notice-note { font-size: 12px; color: var(--gray); line-height: 1.8; }

/* ═══════════════════════════════════════════════════
   SEO INTRO
═══════════════════════════════════════════════════ */
.seo-intro {
  max-width: 780px;
  margin: 0 auto;
  padding: 88px 24px 72px;
}
.seo-intro p {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.95;
  margin-bottom: 16px;
}

/* ═══════════════════════════════════════════════════
   SCREENSHOTS
═══════════════════════════════════════════════════ */
.screenshots { padding: 80px 0 52px; background: var(--void); }
.screenshots-header { text-align: center; padding: 0 24px 40px; }
.screenshots-header p { font-size: 13px; color: var(--gray); margin-top: 10px; }

.swiper-outer {
  overflow: hidden; cursor: grab;
  user-select: none; -webkit-user-select: none;
  padding-top: 12px; padding-bottom: 20px;
}
.swiper-outer:active { cursor: grabbing; }
.swiper-track {
  display: flex;
  transition: transform .45s cubic-bezier(.25,.46,.45,.94);
  will-change: transform;
}
.swiper-slide {
  flex: 0 0 min(230px,64vw); margin: 0 12px;
  overflow: visible; background: transparent;
  transition: transform .35s;
}
.swiper-slide.active { transform: scale(1.04); }

.phone-chrome {
  background: #f0f0f4; border-radius: 40px;
  padding: 50px 10px 32px; position: relative;
  border: 1.5px solid rgba(0,0,0,.10);
  box-shadow: 0 32px 72px rgba(0,0,0,.35);
  transition: box-shadow .35s;
}
.swiper-slide.active .phone-chrome {
  box-shadow: 0 32px 80px rgba(230,0,51,.3), 0 0 0 1px rgba(230,0,51,.3);
}
.phone-chrome::before {
  content: ''; position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 88px; height: 26px; background: #1a1a1a; border-radius: 13px;
}
.phone-chrome::after {
  content: ''; position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  width: 68px; height: 4px; background: rgba(0,0,0,.18); border-radius: 2px;
}
.phone-chrome img { border-radius: 5px; width: 100%; display: block; }
.slide-caption {
  text-align: center; margin-top: 16px;
  font-size: 12px; color: var(--white); font-weight: 700; letter-spacing: .05em;
}
.slide-desc {
  text-align: center; margin-top: 5px;
  font-size: 11px; color: var(--gray); line-height: 1.5;
  max-width: 200px; margin-left: auto; margin-right: auto;
}

/* ── SWIPER WRAP & ARROWS */
.swiper-wrap { position: relative; }
.swiper-arrows { display: none; }
@media (min-width: 720px) {
  .swiper-arrows {
    display: block;
    position: absolute; top: 0; left: 0; right: 0; bottom: 20px;
    pointer-events: none; z-index: 10;
  }
  #swiperPrev {
    position: absolute; left: 20px; top: 50%; transform: translateY(-50%);
    pointer-events: all;
  }
  #swiperNext {
    position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
    pointer-events: all;
  }
}
.swiper-arrow {
  width: 88px; height: 88px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(13,13,32,.72);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .2s, border-color .2s, transform .15s;
  flex-shrink: 0;
}
.swiper-arrow:hover  { background: rgba(230,0,51,.55); border-color: rgba(230,0,51,.5); transform: translateY(-50%) scale(1.1); }
.swiper-arrow:active { transform: translateY(-50%) scale(.94); }
.swiper-arrow:disabled { opacity: .18; cursor: default; transform: translateY(-50%); }
.swiper-arrow svg { width: 40px; height: 40px; fill: currentColor; }

.swiper-dots { display: flex; justify-content: center; gap: 6px; margin-top: 24px; flex-wrap: wrap; padding: 0 24px; }
.swiper-dot {
  width: 6px; height: 6px; border-radius: 3px;
  background: var(--gray); opacity: .3; border: none; cursor: pointer; transition: all .3s;
}
.swiper-dot.active { opacity: 1; background: var(--red); width: 22px; }

/* ═══════════════════════════════════════════════════
   SECTION COMMONS
═══════════════════════════════════════════════════ */
.section { padding: 96px 24px; max-width: 700px; margin: 0 auto; }
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-disp); font-size: 13px; letter-spacing: .2em;
  color: var(--red); text-transform: uppercase; margin-bottom: 12px;
}
.section-label::before {
  content: ''; display: block; width: 20px; height: 2px; background: var(--red);
}
.section-title {
  font-size: clamp(24px, 5.5vw, 38px); font-weight: 900;
  line-height: 1.25; letter-spacing: -.025em; margin-bottom: 44px;
}
.section-title em {
  font-style: normal; color: var(--red);
}

/* ═══════════════════════════════════════════════════
   FEATURES — インダストリアル・左ボーダースタイル
═══════════════════════════════════════════════════ */
.features-grid { display: grid; gap: 2px; }
.feature-card {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--surface);
  border-left: 3px solid transparent;
  padding: 22px 24px;
  transition: border-color .2s, background .2s, transform .2s;
  position: relative; overflow: hidden;
}
.feature-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(230,0,51,.04) 0%, transparent 40%);
  opacity: 0; transition: opacity .3s;
  pointer-events: none;
}
.feature-card:hover {
  border-left-color: var(--red);
  background: var(--lift);
  transform: translateX(3px);
}
.feature-card:hover::after { opacity: 1; }
.feature-icon {
  flex-shrink: 0; width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--red-dim); border-radius: 6px;
  border: 1px solid rgba(230,0,51,.2);
}
.feature-icon svg { width: 24px; height: 24px; fill: var(--red); }
.feature-text b { display: block; font-size: 15px; font-weight: 700; margin-bottom: 5px; color: var(--white); }
.feature-text p { font-size: 13px; color: var(--gray); line-height: 1.7; }

/* ═══════════════════════════════════════════════════
   STEPS
═══════════════════════════════════════════════════ */
.steps { padding: 96px 24px; max-width: 780px; margin: 0 auto; }
.steps-inner { display: flex; flex-direction: column; align-items: center; gap: 32px; }
@media (min-width: 600px) {
  .steps-inner { flex-direction: row; align-items: flex-start; gap: 0; }
}
.step-card { flex: 1; text-align: center; padding: 0 16px; }
.step-num {
  font-family: var(--font-disp); font-size: 13px; letter-spacing: .2em;
  color: var(--red); margin-bottom: 16px;
}
.step-icon {
  width: 72px; height: 72px; margin: 0 auto 18px;
  border-radius: 4px;
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  transition: box-shadow .3s, transform .3s;
}
.step-icon:hover { box-shadow: 0 8px 32px rgba(230,0,51,.2); transform: translateY(-4px); }
.step-icon svg { width: 32px; height: 32px; fill: var(--red); }
.step-card b { display: block; font-size: 16px; font-weight: 800; margin-bottom: 8px; }
.step-card p { font-size: 13px; color: var(--gray); line-height: 1.7; max-width: 180px; margin: 0 auto; }
.step-connector {
  display: none; color: rgba(230,0,51,.4); font-size: 18px; flex-shrink: 0; padding-top: 20px;
}
@media (min-width: 600px) { .step-connector { display: flex; align-items: center; } }

/* ═══════════════════════════════════════════════════
   STATS BAND — 巨大Bebas数字
═══════════════════════════════════════════════════ */
.stats-band {
  background: var(--ink);
  padding: 72px 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.stats-band::before {
  content: '';
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(230,0,51,.1) 0%, transparent 65%);
  pointer-events: none;
}
.stats-grid {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 56px 80px; max-width: 640px; margin: 0 auto; text-align: center;
}
.stat-item { position: relative; }
.stat-num {
  display: block;
  font-family: var(--font-disp); font-size: clamp(64px, 14vw, 96px);
  line-height: .9; color: var(--white); letter-spacing: .02em;
}
.stat-unit { color: var(--red); }
.stat-lbl {
  display: block; font-size: 12px; font-weight: 700;
  color: var(--gray); letter-spacing: .08em; margin-top: 10px;
  text-transform: uppercase;
}
.stat-line {
  display: block; width: 32px; height: 2px;
  background: var(--red); margin: 8px auto 0;
}

/* ═══════════════════════════════════════════════════
   REVIEWS — SMSバブルスタイル
═══════════════════════════════════════════════════ */
.review-note {
  font-size: 11px; color: var(--gray);
  text-align: center; margin-top: -32px; margin-bottom: 32px;
  letter-spacing: .04em;
}
.reviews-grid { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .reviews-grid { grid-template-columns: 1fr 1fr; } }

.review-card {
  background: var(--surface);
  border-radius: 4px 16px 16px 16px;
  padding: 16px 18px 14px;
  position: relative;
  border: 1px solid var(--line);
  transition: background .2s, border-color .2s;
}
.review-card:hover { background: var(--lift); border-color: rgba(230,0,51,.15); }
.review-header { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.review-avatar {
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 900; font-family: var(--font-disp); letter-spacing: .02em;
}
.av-y { background: linear-gradient(135deg,#4facfe,#00f2fe); color:#032030; }
.av-m { background: linear-gradient(135deg,#a18cd1,#fbc2eb); color:#2a0a36; }
.av-s { background: linear-gradient(135deg,#43e97b,#38f9d7); color:#062618; }
.av-o { background: linear-gradient(135deg,#f7971e,#ffd200); color:#3a1f00; }
.stars { color: var(--gold); font-size: 11px; letter-spacing: 1px; }
.review-card p { font-size: 13px; color: var(--white); line-height: 1.72; }

/* ═══════════════════════════════════════════════════
   FUNCTIONS
═══════════════════════════════════════════════════ */
.functions-grid { display: grid; gap: 10px; }
@media (min-width: 560px) { .functions-grid { grid-template-columns: 1fr 1fr; } }
.function-card {
  background: var(--surface); border-radius: var(--r);
  padding: 18px 20px;
  display: flex; gap: 14px; align-items: flex-start;
  border: 1px solid var(--line);
  transition: background .2s, border-color .2s, transform .2s;
}
.function-card:hover { background: var(--lift); border-color: rgba(230,0,51,.2); transform: translateY(-2px); }
.fn-icon {
  flex-shrink: 0; width: 38px; height: 38px; margin-top: 1px;
  display: flex; align-items: center; justify-content: center;
  background: var(--red-dim); border-radius: 6px;
  border: 1px solid rgba(230,0,51,.18);
}
.fn-icon svg { width: 20px; height: 20px; fill: var(--red); }
.function-card b { display: block; font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.function-card span { font-size: 13px; color: var(--gray); line-height: 1.65; }

/* ═══════════════════════════════════════════════════
   FAQ
═══════════════════════════════════════════════════ */
.faq-list { display: grid; gap: 10px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px 22px;
}
.faq-item h3 {
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: 8px;
}
.faq-item p {
  color: var(--gray);
  font-size: 13px;
  line-height: 1.8;
}

/* ═══════════════════════════════════════════════════
   FOOTER CTA
═══════════════════════════════════════════════════ */
.footer-cta {
  padding: 110px 24px 100px; text-align: center;
  background: var(--ink);
  overflow: hidden;
}
.footer-cta::before {
  content: '';
  position: absolute; bottom: -100px; left: 50%; transform: translateX(-50%);
  width: 700px; height: 400px;
  background: radial-gradient(ellipse, rgba(230,0,51,.18) 0%, transparent 65%);
  pointer-events: none;
}
.footer-cta::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
}
.footer-cta h2 {
  font-size: clamp(28px, 7vw, 48px); font-weight: 900;
  letter-spacing: -.03em; margin-bottom: 16px; line-height: 1.2;
}
.footer-cta h2 em { font-style: normal; color: var(--red); }
.footer-cta > p { font-size: 14px; color: var(--gray); margin-bottom: 40px; line-height: 1.8; }

/* CTA下のトラスト */
.cta-trust {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 20px 32px; margin-top: 28px;
}
.cta-trust-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--gray); font-weight: 700; letter-spacing: .04em;
}
.cta-trust-item svg { width: 14px; height: 14px; fill: var(--red); }

/* ═══════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════ */
footer {
  padding: 24px; text-align: center;
  border-top: 1px solid var(--line);
  font-size: 12px; color: var(--gray);
  background: var(--ink);
}
footer a { color: var(--gray); text-decoration: none; transition: color .2s; }
footer a:hover { color: var(--red); }
.footer-links { margin-bottom: 10px; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 18px; }

/* ═══════════════════════════════════════════════════
   DIVIDER
═══════════════════════════════════════════════════ */
.divider { height: 1px; background: var(--line); }

/* ═══════════════════════════════════════════════════
   REVEAL ANIMATIONS
═══════════════════════════════════════════════════ */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1);
}
.reveal.in { opacity: 1; transform: none; }
.stagger > * {
  opacity: 0; transform: translateY(20px);
  transition: opacity .55s cubic-bezier(.22,1,.36,1), transform .55s cubic-bezier(.22,1,.36,1);
}
.stagger.in > *:nth-child(1)  { opacity:1;transform:none;transition-delay:.03s }
.stagger.in > *:nth-child(2)  { opacity:1;transform:none;transition-delay:.07s }
.stagger.in > *:nth-child(3)  { opacity:1;transform:none;transition-delay:.11s }
.stagger.in > *:nth-child(4)  { opacity:1;transform:none;transition-delay:.15s }
.stagger.in > *:nth-child(5)  { opacity:1;transform:none;transition-delay:.19s }
.stagger.in > *:nth-child(6)  { opacity:1;transform:none;transition-delay:.23s }
.stagger.in > *:nth-child(7)  { opacity:1;transform:none;transition-delay:.27s }
.stagger.in > *:nth-child(8)  { opacity:1;transform:none;transition-delay:.31s }
.stagger.in > *:nth-child(9)  { opacity:1;transform:none;transition-delay:.35s }
.stagger.in > *:nth-child(10) { opacity:1;transform:none;transition-delay:.39s }
.stagger.in > *:nth-child(11) { opacity:1;transform:none;transition-delay:.43s }
.stagger.in > *:nth-child(12) { opacity:1;transform:none;transition-delay:.47s }
.stagger.in > *:nth-child(13) { opacity:1;transform:none;transition-delay:.51s }
.stagger.in > *:nth-child(14) { opacity:1;transform:none;transition-delay:.55s }
.stagger.in > *:nth-child(15) { opacity:1;transform:none;transition-delay:.59s }

/* JS未実行時に本文が消えないようにする（bot・module非対応ブラウザ対策） */
html:not([data-lp-js]) .reveal,
html:not([data-lp-js]) .stagger > * { opacity: 1; transform: none; }

/* ═══════════════════════════════════════════════════
   HERO LOAD ANIMATION
═══════════════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity:0; transform: translateY(32px); }
  to   { opacity:1; transform: none; }
}
@keyframes fadeIn {
  from { opacity:0; }
  to   { opacity:1; }
}
.hero-logo   { animation: fadeUp .7s .05s both cubic-bezier(.22,1,.36,1); }
.hero-badge  { animation: fadeUp .7s .15s both cubic-bezier(.22,1,.36,1); }
.hero h1     { animation: fadeUp .8s .25s both cubic-bezier(.22,1,.36,1); }
.hero p      { animation: fadeUp .7s .38s both cubic-bezier(.22,1,.36,1); }
.hero .btn   { animation: fadeUp .7s .48s both cubic-bezier(.22,1,.36,1); }
.hero-note   { animation: fadeUp .6s .56s both cubic-bezier(.22,1,.36,1); }
.hero-share  { animation: fadeUp .6s .62s both cubic-bezier(.22,1,.36,1); }
.hero-visual { animation: fadeIn .9s .3s both; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .stagger > * { opacity: 1; transform: none; transition: none; }
  .hero-logo, .hero-badge, .hero h1, .hero p, .hero .btn, .hero-note,
  .hero-share, .hero-visual { animation: none; }
  .swiper-track { transition: none; }
}
