/* ============================================================
   まるなげHP — style.css
   Base: white  /  Accent: --yellow #FFD600 / --red #FF4545
   Pattern: important = black-bg white-text
            support   = white-bg black-text black-border
   ============================================================ */

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
  color: #1a1a1a; background: #fff; line-height: 1.7; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* === VARIABLES === */
:root {
  --yellow:      #FFD600;
  --yellow-dark: #C9A800;
  --red:         #FF4545;
  --black:       #1a1a1a;
  --off-black:   #111;
  --gray-light:  #F5F5F5;
  --gray-mid:    #E0E0E0;
  --gray-text:   #777;
  --white:       #fff;
  --pad: 96px 24px;
}

/* === TYPOGRAPHY === */
/* ▶ section-tag: 重要ラベル → 黒背景 白文字 */
.section-tag {
  display: inline-block;
  background: var(--black); color: var(--white);
  font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 5px 14px; margin-bottom: 20px;
}
.section-title {
  font-size: clamp(28px, 4vw, 48px); font-weight: 900;
  line-height: 1.2; letter-spacing: -0.03em;
}
/* ▶ section-sub: 補足テキスト → 白背景 黒文字 黒枠 */
.section-sub {
  font-size: clamp(14px, 2vw, 16px); color: #444;
  margin-top: 16px; max-width: 520px; line-height: 1.85;
}
.section-header { margin-bottom: 56px; }
.section-header.center { text-align: center; }
.section-header.center .section-sub { margin: 14px auto 0; }

/* === REVEAL ANIMATIONS === */
[data-reveal] {
  opacity: 0; transform: translateY(36px);
  transition: opacity 0.8s cubic-bezier(0.22,1,0.36,1),
              transform 0.8s cubic-bezier(0.22,1,0.36,1);
}
[data-reveal].revealed { opacity: 1; transform: translateY(0); }
[data-reveal-group] > * {
  opacity: 0; transform: translateY(24px) scale(0.94);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1),
              transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
[data-reveal-group].revealed > * { opacity: 1; transform: translateY(0) scale(1); }
[data-reveal-group].revealed > *:nth-child(1) { transition-delay: 0.00s; }
[data-reveal-group].revealed > *:nth-child(2) { transition-delay: 0.08s; }
[data-reveal-group].revealed > *:nth-child(3) { transition-delay: 0.16s; }
[data-reveal-group].revealed > *:nth-child(4) { transition-delay: 0.24s; }
[data-reveal-group].revealed > *:nth-child(5) { transition-delay: 0.32s; }
[data-reveal-group].revealed > *:nth-child(6) { transition-delay: 0.40s; }
[data-reveal-group].revealed > *:nth-child(7) { transition-delay: 0.48s; }
[data-reveal-group].revealed > *:nth-child(8) { transition-delay: 0.56s; }

/* === HEADER === */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.96); backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--black); transition: box-shadow 0.3s;
}
.header.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,0.08); }
.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  height: 64px; display: flex; align-items: center; justify-content: space-between;
}
.logo { font-size: 22px; font-weight: 900; letter-spacing: -0.03em; }
.logo em { font-style: normal; background: var(--yellow); padding: 2px 7px; }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { font-size: 13px; font-weight: 700; letter-spacing: 0.04em; transition: color 0.2s; }
.nav-links a:hover { color: var(--red); }
.nav-cta {
  background: var(--black) !important; color: var(--white) !important;
  padding: 8px 20px; transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--red) !important; }
.hamburger { display: none; cursor: pointer; flex-direction: column; gap: 5px; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--black); }

/* ============================================================
   HERO — 白背景、左テキスト、右テンプレカードが飛び出す
   ============================================================ */
.hero {
  padding: 120px 24px 120px;
  background: var(--white); overflow: hidden;
  display: flex; align-items: center; position: relative;
}
/* 薄いグリッドパターン */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(0,0,0,0.1) 0, rgba(0,0,0,0.1) 1px, transparent 0, transparent 48px),
    repeating-linear-gradient(90deg, rgba(0,0,0,0.1) 0, rgba(0,0,0,0.1) 1px, transparent 0, transparent 48px);
  pointer-events: none;
}
.hero-inner {
  max-width: 1200px; margin: 0 auto; width: 100%; position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start;
}
.hero-visual { padding-top: 100px; }

/* テキスト側 */
.hero-tag {
  display: inline-block;
  background: var(--black); color: var(--white);
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em;
  padding: 6px 16px; margin-bottom: 28px;
  opacity: 0; animation: fadeUp 0.6s cubic-bezier(0.22,1,0.36,1) 0.1s forwards;
}
.hero-headline {
  font-size: clamp(44px, 6.5vw, 88px); font-weight: 900;
  color: var(--black); line-height: 1.05; letter-spacing: -0.04em;
}
.hero-line { display: block; overflow: hidden; }
.hero-line-inner {
  display: block; transform: translateY(105%);
  animation: lineReveal 0.85s cubic-bezier(0.22,1,0.36,1) forwards;
}
.hero-line:nth-child(1) .hero-line-inner { animation-delay: 0.25s; }
.hero-line:nth-child(2) .hero-line-inner { animation-delay: 0.42s; }
.hero-line:nth-child(3) .hero-line-inner { animation-delay: 0.59s; }
@keyframes lineReveal { from { transform: translateY(105%); } to { transform: translateY(0); } }
.hl  { background: var(--yellow); padding: 0 4px; }
.hl2 { color: var(--red); }

.hero-sub {
  font-size: clamp(14px, 1.8vw, 17px); color: #555; margin: 28px 0 36px; line-height: 1.9;
  opacity: 0; animation: fadeUp 0.7s cubic-bezier(0.22,1,0.36,1) 0.9s forwards;
}
.hero-cta-wrap {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  opacity: 0; animation: fadeUp 0.7s cubic-bezier(0.22,1,0.36,1) 1.05s forwards;
}
/* ▶ 数字バッジ: 黒背景 白テキスト */
.hero-stats-bar {
  background: var(--white);
  padding: 32px 24px;
  border-top: 2px solid var(--black);
  border-bottom: 2px solid var(--black);
}
.hero-stats {
  display: flex; gap: 12px; flex-wrap: wrap;
  max-width: 1200px; margin: 0 auto;
  opacity: 0; animation: fadeUp 0.7s cubic-bezier(0.22,1,0.36,1) 1.2s forwards;
}
.stat-block {
  background: var(--black); color: var(--white);
  padding: 12px 16px; min-width: 90px;
}
.stat-block .num {
  font-size: clamp(18px, 2.2vw, 24px); font-weight: 900; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat-block .num small { font-size: 0.55em; font-weight: 700; }
.stat-block .lbl { font-size: 10px; color: rgba(255,255,255,0.5); margin-top: 5px; letter-spacing: 0.04em; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   HERO CARDS — テンプレカード3枚が飛び出す
   ============================================================ */
.hero-visual { position: relative; }
.hero-cards {
  position: relative; height: 490px;
}
/* 各カード共通 */
.hero-card {
  position: absolute; width: 240px;
  border: 2px solid var(--black);
  border-radius: 10px; overflow: hidden;
  box-shadow: 6px 6px 0 var(--black);
  will-change: transform, opacity;
  cursor: default;
  transition: box-shadow 0.25s, transform 0.25s;
}
.hero-card .tmpl-preview { aspect-ratio: auto; height: 300px; }
.hero-card:hover { box-shadow: 10px 10px 0 var(--black); }
/* 位置・最終角度 (transform はJSで付与) */
.hero-card-1 { left: 10px;  top: 80px;  z-index: 1; }
.hero-card-2 { left: 50%;   margin-left: -120px; top: 0px; z-index: 3; }
.hero-card-3 { right: 10px; top: 140px; z-index: 2; }

/* テキストブロック（段落風） */
.tmpl-text-block { padding: 6px 10px 4px; flex-shrink: 0; }
.tmpl-tline { height: 5px; border-radius: 1px; margin-bottom: 4px; }
.tmpl-tline.w80 { width: 80%; }
.tmpl-tline.w65 { width: 65%; }
.tmpl-tline.w72 { width: 72%; }
.tmpl-preview.std .tmpl-tline { background: rgba(0,0,0,0.1); }
.tmpl-preview.nat .tmpl-tline { background: rgba(107,143,94,0.2); }
.tmpl-preview.pas .tmpl-tline { background: rgba(74,154,191,0.2); }
.tmpl-preview.sty .tmpl-tline { background: rgba(0,0,0,0.1); }
.tmpl-preview.mod .tmpl-tline { background: rgba(176,141,74,0.2); }

/* CTAボタン帯 */
.tmpl-cta-bar { padding: 6px 10px; flex-shrink: 0; display: flex; gap: 5px; }
.tmpl-cta-btn { height: 18px; border-radius: 2px; flex: 1; }
.tmpl-preview.std .tmpl-cta-btn { background: #e07828; }
.tmpl-preview.nat .tmpl-cta-btn { background: #6b8f5e; }
.tmpl-preview.pas .tmpl-cta-btn { background: #70c4ff; }
.tmpl-preview.sty .tmpl-cta-btn { background: #111111; }
.tmpl-preview.mod .tmpl-cta-btn { background: #b08d4a; }
.tmpl-cta-btn.ghost { background: transparent !important; border: 1.5px solid; }
.tmpl-preview.std .tmpl-cta-btn.ghost { border-color: #e07828; }
.tmpl-preview.nat .tmpl-cta-btn.ghost { border-color: #6b8f5e; }
.tmpl-preview.pas .tmpl-cta-btn.ghost { border-color: #70c4ff; }
.tmpl-preview.sty .tmpl-cta-btn.ghost { border-color: #111111; }
.tmpl-preview.mod .tmpl-cta-btn.ghost { border-color: #b08d4a; }

/* フッタースリップ */
.tmpl-footer-strip { height: 20px; flex-shrink: 0; margin-top: auto; }
.tmpl-preview.std .tmpl-footer-strip { background: #e07828; }
.tmpl-preview.nat .tmpl-footer-strip { background: #5a7a52; }
.tmpl-preview.pas .tmpl-footer-strip { background: #d0eaf8; }
.tmpl-preview.sty .tmpl-footer-strip { background: #111111; }
.tmpl-preview.mod .tmpl-footer-strip { background: #1a1a1a; }

.hero-card-label {
  background: var(--white); border-top: 2px solid var(--black);
  padding: 8px 12px; font-size: 12px; font-weight: 700; letter-spacing: 0.05em;
}

/* === TICKER === */
.ticker {
  background: var(--yellow); overflow: hidden; padding: 11px 0;
  border-top: 2px solid var(--black); border-bottom: 2px solid var(--black);
}
.ticker-track { display: flex; gap: 56px; animation: ticker 30s linear infinite; white-space: nowrap; }
.ticker-track span { font-size: 13px; font-weight: 700; color: var(--black); letter-spacing: 0.06em; flex-shrink: 0; }
.ticker-track span::before { content: '★  '; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* === SECTION WRAPPER === */
.section { padding: var(--pad); }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section--gray  { background: var(--gray-light); }
.section--dark  { background: var(--black); }

/* === ABOUT === */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-img-wrap { position: relative; border: 2px solid var(--black); border-radius: 0; aspect-ratio: 4/5; overflow: hidden; }
.about-img-wrap img { width: 100%; height: 100%; object-fit: cover; }

/* === STORY ANIMATION === */
.story-anim { width:100%; height:100%; background:#f5f5f5; position:relative; overflow:hidden; }
.sa-scene {
  position:absolute; inset:0;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  padding:14px 14px 86px; gap:8px;
  opacity:0;
}
/* シーンタイトル */
.sa-scene-title { font-size:20px; font-weight:700; color:#222; display:flex; align-items:center; gap:6px; align-self:flex-start; margin-bottom:2px; height:28px; flex-shrink:0; }
.sa-step { background:#222; color:#fff; padding:2px 6px; font-size:9px; letter-spacing:.1em; flex-shrink:0; }

/* シーン表示タイミング: 21s ループ */
/* S1: 0-15%, S2: 15-34%, S3: 34-41%(半分), S4: 41-56%, S5: 56-100% */
.sa-s1 { animation: saV1 21s linear infinite; }
@keyframes saV1 { 0%{opacity:1} 12%{opacity:1} 15%{opacity:0} 100%{opacity:0} }
.sa-s2 { animation: saV2 21s linear infinite; }
@keyframes saV2 { 0%,15%{opacity:0} 17%{opacity:1} 22%{opacity:1} 25%{opacity:0} 100%{opacity:0} }
.sa-s3 { animation: saV3 21s linear infinite; }
@keyframes saV3 { 0%,25%{opacity:0} 27%{opacity:1} 30%{opacity:1} 32%{opacity:0} 100%{opacity:0} }
.sa-s4 { animation: saV4 21s linear infinite; }
@keyframes saV4 { 0%,32%{opacity:0} 34%{opacity:1} 44%{opacity:1} 47%{opacity:0} 100%{opacity:0} }
.sa-s5 { animation: saV5 21s linear infinite; }
@keyframes saV5 { 0%,47%{opacity:0} 49%{opacity:1} 95%{opacity:1} 100%{opacity:0} }

/* ブラウザ共通 */
.sa-browser { width:100%; border:2px solid #222; border-radius:5px; overflow:hidden; box-shadow:4px 4px 0 #222; background:#fff; }
.sa-chrome { background:#e8e8e8; border-bottom:1.5px solid #ccc; padding:5px 9px; display:flex; align-items:center; gap:5px; }
.sa-dot { width:8px; height:8px; border-radius:50%; flex-shrink:0; }
.sa-dot.r{background:#ff5f57} .sa-dot.y{background:#febc2e} .sa-dot.g{background:#28c840}
.sa-urlbar { flex:1; height:11px; background:#d0d0d0; border-radius:8px; margin-left:7px; }
.sa-page { padding:11px; }

/* S1: フォーム */
.sa-br-s1 { flex:1; display:flex; flex-direction:column; }
.sa-br-s1 .sa-page { flex:1; }
.sa-page-h { width:52%; height:9px; background:#222; border-radius:2px; margin-bottom:11px; }
.sa-field-group { margin-bottom:7px; }
.sa-lbl { width:30%; height:6px; background:#ccc; border-radius:2px; margin-bottom:4px; }
.sa-lbl.short { width:22%; }
.sa-inp { width:100%; height:21px; border:1.5px solid #ccc; border-radius:3px; background:#fff; display:flex; align-items:center; padding:0 5px; gap:3px; overflow:hidden; }
.sa-inp--anim { gap:0; }

/* プリフィルドット: S1中は表示 */
.sa-df { width:6px; height:6px; border-radius:50%; background:#333; flex-shrink:0; animation: saDfVis 21s linear infinite; }
@keyframes saDfVis { 0%,12%{opacity:1} 15%,100%{opacity:0} }

/* アニメーションドット: width:0→6px でキャレットが右へ動く */
.sa-da { width:0; height:6px; border-radius:3px; background:#333; flex-shrink:0; overflow:hidden; opacity:0; margin-right:0; }
.da1 { animation: saDa1 21s linear infinite; }
@keyframes saDa1 { 0%,1.9%{width:0;margin-right:0;opacity:0} 2%,15%{width:6px;margin-right:3px;opacity:1} 15.1%,100%{width:0;margin-right:0;opacity:0} }
.da2 { animation: saDa2 21s linear infinite; }
@keyframes saDa2 { 0%,4.9%{width:0;margin-right:0;opacity:0} 5%,15%{width:6px;margin-right:3px;opacity:1} 15.1%,100%{width:0;margin-right:0;opacity:0} }
.da3 { animation: saDa3 21s linear infinite; }
@keyframes saDa3 { 0%,7.9%{width:0;margin-right:0;opacity:0} 8%,15%{width:6px;margin-right:3px;opacity:1} 15.1%,100%{width:0;margin-right:0;opacity:0} }
.da4 { animation: saDa4 21s linear infinite; }
@keyframes saDa4 { 0%,10.9%{width:0;margin-right:0;opacity:0} 11%,15%{width:6px;margin-right:3px;opacity:1} 15.1%,100%{width:0;margin-right:0;opacity:0} }

/* カーソル */
.sa-cur { width:1.5px; height:13px; background:#333; flex-shrink:0; }
.sa-cur1 { animation: saCurBlink .65s ease-in-out infinite; opacity:1; animation: saCurVis1 21s linear infinite, saCurBlink .65s ease-in-out infinite; }
@keyframes saCurBlink { 0%,100%{opacity:1} 50%{opacity:0} }
@keyframes saCurVis1 { 0%,12%{opacity:1} 15%,100%{opacity:0} }

/* S1: ブラウザをシーン全体に広げる */
.sa-s1 { padding:10px 10px 86px; gap:4px; }
.sa-s1 .sa-browser { flex:1; display:flex; flex-direction:column; }
.sa-s1 .sa-page { flex:1; }

/* S2: ブラウザを大きく見せるためパディングを調整 */
.sa-s2 { padding:10px 10px 86px; gap:4px; }
.sa-s2 .sa-browser { flex:1; display:flex; flex-direction:column; }
.sa-s2 .sa-page { flex:1; display:flex; flex-direction:column; justify-content:space-between; padding:14px; }

/* S2: 支払い */
.sa-pay-summary { display:flex; flex-direction:column; gap:8px; }
.sa-pay-row { display:flex; justify-content:space-between; align-items:center; padding:7px 0; border-bottom:1px solid #eee; }
.sa-pay-row--total { border-top:2px solid #222; border-bottom:none; margin-top:4px; padding-top:10px; }
.sa-pay-row-lbl { height:7px; border-radius:2px; background:#ccc; }
.sa-pay-row-lbl.a { width:80px; }
.sa-pay-row-lbl.b { width:60px; }
.sa-pay-row-lbl.c { width:70px; }
.sa-pay-row-val { height:7px; border-radius:2px; background:#aaa; }
.sa-pay-row-val.a { width:44px; }
.sa-pay-row-val.b { width:36px; }
.sa-pay-row-val.c { width:52px; background:#222; }
.sa-pay-line { height:7px; border-radius:2px; background:#ccc; margin-bottom:5px; }
.sa-pay-line.a { width:65%; }
.sa-pay-line.b { width:45%; }
.sa-pay-price { width:40%; height:18px; background:#222; border-radius:2px; margin-top:12px; }
.sa-pay-btn {
  width:100%; height:40px; background:#1a7a4a; border-radius:4px;
  position:relative; overflow:hidden; display:flex; align-items:center; justify-content:center;
}
.sa-pay-lbl { color:#fff; font-size:12px; font-weight:700; letter-spacing:.05em; position:relative; z-index:1; }
.sa-ripple {
  position:absolute; width:80px; height:80px; border-radius:50%;
  background:rgba(255,255,255,.35);
  transform:scale(0); opacity:0;
  animation: saRipple 21s linear infinite;
}
@keyframes saRipple { 0%,19%{transform:scale(0);opacity:.7} 24%{transform:scale(2.5);opacity:0} 100%{transform:scale(0);opacity:0} }

/* S3: 時計 — タイトルを上に固定し、時計を残りの領域で中央配置 */
.sa-s3 { padding:10px 10px 86px; gap:4px; justify-content:flex-start; }
.sa-clock-center { flex:1; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:12px; }

.sa-clock-face { width:88px; height:88px; border-radius:50%; border:3px solid #222; background:#fff; position:relative; }
.sa-hh,.sa-hm { position:absolute; bottom:50%; left:50%; transform-origin:bottom center; background:#222; border-radius:2px; }
.sa-hh { width:4px; height:24px; margin-left:-2px; animation:saClk 8s linear infinite; }
.sa-hm { width:3px; height:33px; margin-left:-1.5px; animation:saClk 1.3s linear infinite; }
@keyframes saClk { from{transform:rotate(0deg)} to{transform:rotate(360deg)} }
.sa-hc { position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); width:8px; height:8px; border-radius:50%; background:#222; }
.sa-clock-sub { font-size:13px; font-weight:700; color:#555; letter-spacing:.05em; }

/* S4 & S5: Naturalデザイン流用サイトプレビュー */
.sa-nat-preview {
  width:100%; border:2px solid #222; border-radius:5px; overflow:hidden;
  box-shadow:4px 4px 0 #222; position:relative;
}
.sa-nat-nav {
  height:28px; background:#3d5a3e;
  display:flex; align-items:center; padding:0 10px; gap:8px;
}
.sa-nat-logo { width:40px; height:8px; background:#a8d5a2; border-radius:2px; }
.sa-nat-navlinks { display:flex; gap:6px; margin-left:auto; }
.sa-nat-navlinks span { width:22px; height:5px; background:rgba(255,255,255,0.3); border-radius:2px; }
.sa-nat-hero { background:#edf3ed; padding:14px 12px; }
.sa-nat-h1 { width:58%; height:10px; background:#3d5a3e; border-radius:2px; margin-bottom:6px; }
.sa-nat-h2 { width:40%; height:7px; background:#3d5a3e; opacity:.45; border-radius:2px; margin-bottom:12px; }
.sa-nat-btn { width:64px; height:20px; background:#3d5a3e; border-radius:3px; }
.sa-nat-cards { display:grid; grid-template-columns:1fr 1fr 1fr; gap:6px; padding:8px 10px; background:#fff; }
.sa-nat-card { background:#d0e8d0; padding:7px; border-radius:2px; }
.sa-nat-line { height:5px; background:rgba(61,90,62,0.25); border-radius:2px; margin-bottom:4px; }
.sa-nat-line.s { width:60%; }
/* dimmed */
.sa-nat-hero.dimmed { opacity:.35; }
.sa-nat-cards.dimmed { opacity:.35; }

/* S4: スライドイン */
.sa-s4 .sa-nat-preview { animation: saSiteIn 21s linear infinite; }
@keyframes saSiteIn { 0%,32%{transform:translateY(14px);opacity:0} 36%{transform:translateY(0);opacity:1} 44%{opacity:1} 47%{opacity:0} 100%{opacity:0} }

/* S4 & S5: シーン全体にウィンドウを広げる */
.sa-s4, .sa-s5 { padding:10px 10px 86px; gap:4px; }
.sa-s4 .sa-nat-preview, .sa-s5 .sa-nat-preview { flex:1; display:flex; flex-direction:column; }
.sa-s5 .sa-nat-preview { position:relative; }

/* S5: 通知ポップアップ */
.sa-notif-popup {
  position:absolute; top:8px; right:8px;
  background:#fff; border:1.5px solid #222; border-radius:6px;
  padding:7px 10px; display:flex; align-items:center; gap:7px;
  box-shadow:3px 3px 0 #222;
}
/* 1件目: 61%で入る、95%まで表示 */
.sa-notif-1 { animation: saNotif1 21s linear infinite; top:8px; }
@keyframes saNotif1 {
  0%,50%  { transform:translateX(110%); opacity:0; }
  54%     { transform:translateX(0); opacity:1; }
  93%     { transform:translateX(0); opacity:1; }
  97%     { opacity:0; transform:translateX(110%); }
  100%    { opacity:0; transform:translateX(110%); }
}
/* 2件目: 71%で入る、1件目の下 */
.sa-notif-2 { animation: saNotif2 21s linear infinite; top:50px; }
@keyframes saNotif2 {
  0%,62%  { transform:translateX(110%); opacity:0; }
  66%     { transform:translateX(0); opacity:1; }
  93%     { transform:translateX(0); opacity:1; }
  97%     { opacity:0; transform:translateX(110%); }
  100%    { opacity:0; transform:translateX(110%); }
}
/* 3件目: 83%で入る、2件目の下 */
.sa-notif-3 { animation: saNotif3 21s linear infinite; top:92px; }
@keyframes saNotif3 {
  0%,74%  { transform:translateX(110%); opacity:0; }
  78%     { transform:translateX(0); opacity:1; }
  93%     { transform:translateX(0); opacity:1; }
  97%     { opacity:0; transform:translateX(110%); }
  100%    { opacity:0; transform:translateX(110%); }
}
.sa-notif-em { font-size:18px; line-height:1; }
.sa-notif-lines { display:flex; flex-direction:column; gap:4px; }
.sa-nl { height:6px; border-radius:2px; }
.sa-nl.a { width:60px; background:#222; }
.sa-nl.b { width:42px; background:#bbb; }
.sa-notif-num {
  width:18px; height:18px; border-radius:50%; background:#ff3b30;
  color:#fff; font-size:11px; font-weight:900;
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
}
/* バッジはそれぞれの通知と同じタイミングで弾む */
.sa-notif-1 .sa-notif-num { animation: saBadge1 21s linear infinite; }
.sa-notif-2 .sa-notif-num { animation: saBadge2 21s linear infinite; }
.sa-notif-3 .sa-notif-num { animation: saBadge3 21s linear infinite; }
@keyframes saBadge1 { 0%,50%{transform:scale(0)} 54%{transform:scale(1.2)} 56%,97%{transform:scale(1)} 100%{transform:scale(0)} }
@keyframes saBadge2 { 0%,62%{transform:scale(0)} 66%{transform:scale(1.2)} 68%,97%{transform:scale(1)} 100%{transform:scale(0)} }
@keyframes saBadge3 { 0%,74%{transform:scale(0)} 78%{transform:scale(1.2)} 80%,97%{transform:scale(1)} 100%{transform:scale(0)} }


/* ▶ バッジ: 黒背景 白テキスト */
.about-img-badge {
  position: absolute; bottom: 0; right: 0;
  background: var(--black); color: var(--white);
  padding: 16px 20px; text-align: center;
  border-top: 2px solid var(--yellow); border-left: 2px solid var(--yellow);
}
.about-img-badge .b-num { display: block; font-size: 28px; font-weight: 900; color: var(--yellow); line-height: 1; }
.about-img-badge .b-lbl { display: block; font-size: 11px; color: rgba(255,255,255,0.65); margin-top: 4px; }
.about-points { display: flex; flex-direction: column; gap: 0; margin-top: 40px; }
.about-point {
  display: flex; align-items: flex-start; gap: 20px; padding: 24px 0;
  border-bottom: 1px solid var(--gray-mid);
  position: relative;
}
.about-point:last-child { border-bottom: none; }

/* 数字バッジ: 黒背景・白テキスト */
.about-point-num {
  font-size: 18px; font-weight: 900; letter-spacing: 0.05em;
  color: var(--white); background: var(--black);
  width: 48px; height: 48px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1;
}

.about-point-text { padding-top: 12px; }
.about-point-text strong { display: block; font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.about-point-text p { font-size: 13px; color: var(--gray-text); line-height: 1.65; }

/* === FOR WHO === */
.fw-stack {
  display: flex; flex-direction: column; gap: 24px;
  margin-top: 56px;
}
.fw-block {
  position: relative;
  border: 2px solid var(--black);
  overflow: hidden;
  box-shadow: 4px 4px 0 var(--black);
}
.fw-block--1 {
  background: var(--black);
  align-self: flex-start; width: 90%;
}
.fw-block--2 {
  background: var(--yellow);
  align-self: flex-end; width: 85%;
}
.fw-block--3 {
  background: var(--white);
  align-self: flex-start; width: 92%;
}
.fw-accent {
  position: absolute; top: -0.15em; right: 0.1em;
  font-size: 100px; font-weight: 900; letter-spacing: -0.04em; line-height: 1;
  pointer-events: none;
}
@media (min-width: 601px) {
  .fw-accent { font-size: 300px; }
}
.fw-block--1 .fw-accent { color: rgba(255,255,255,0.1); }
.fw-block--2 .fw-accent { color: rgba(0,0,0,0.1); }
.fw-block--3 .fw-accent { color: rgba(0,0,0,0.07); }
.fw-inner {
  padding: 48px 52px;
  position: relative; z-index: 1;
}
.fw-heading {
  font-size: clamp(22px, 3.2vw, 36px); font-weight: 900; line-height: 1.45;
  margin-bottom: 20px;
}
.fw-block--1 .fw-heading { color: var(--white); }
.fw-block--2 .fw-heading { color: var(--black); }
.fw-block--3 .fw-heading { color: var(--black); }
.fw-heading mark {
  padding: 0 4px; font-style: normal;
}
.fw-block--1 .fw-heading mark { background: var(--yellow); color: var(--black); }
.fw-block--2 .fw-heading mark { background: var(--black); color: var(--yellow); }
.fw-block--3 .fw-heading mark { background: var(--yellow); color: var(--black); }
.fw-desc {
  font-size: 14px; line-height: 1.85; max-width: 560px;
}
.fw-block--1 .fw-desc { color: rgba(255,255,255,0.6); }
.fw-block--2 .fw-desc { color: rgba(0,0,0,0.65); }
.fw-block--3 .fw-desc { color: var(--gray-text); }


@media (max-width: 600px) {
  .fw-block--1, .fw-block--2, .fw-block--3 { width: 100%; align-self: stretch; }
  .fw-inner { padding: 32px 24px; }
  .fw-heading { font-size: 20px; }
}

/* ▶ デスクトップ: 上から落ちて積み重なる (08→01 逆順) */
@media (min-width: 601px) {
  #appeals .appeals-grid > *:nth-child(odd),
  #appeals .appeals-grid > *:nth-child(even) { transform: translateY(-280px); }
  /* .revealed 後は translateY(0) にリセット */
  #appeals .appeals-grid.revealed > * { opacity: 1; transform: translateY(0); }
  #appeals .appeals-grid.revealed > *:nth-child(1) { transition-delay: 1.75s; }
  #appeals .appeals-grid.revealed > *:nth-child(2) { transition-delay: 1.50s; }
  #appeals .appeals-grid.revealed > *:nth-child(3) { transition-delay: 1.25s; }
  #appeals .appeals-grid.revealed > *:nth-child(4) { transition-delay: 1.00s; }
  #appeals .appeals-grid.revealed > *:nth-child(5) { transition-delay: 0.75s; }
  #appeals .appeals-grid.revealed > *:nth-child(6) { transition-delay: 0.50s; }
  #appeals .appeals-grid.revealed > *:nth-child(7) { transition-delay: 0.25s; }
  #appeals .appeals-grid.revealed > *:nth-child(8) { transition-delay: 0.00s; }
  /* 背景数字: カード登場後に逆順フェードイン */
  #appeals .appeals-grid.revealed .appeal-card .appeal-bg-num { opacity: 1; transition: opacity 0.8s ease; }
  #appeals .appeals-grid.revealed .appeal-card:nth-child(1) .appeal-bg-num { transition-delay: 2.3s; }
  #appeals .appeals-grid.revealed .appeal-card:nth-child(2) .appeal-bg-num { transition-delay: 2.1s; }
  #appeals .appeals-grid.revealed .appeal-card:nth-child(3) .appeal-bg-num { transition-delay: 1.9s; }
  #appeals .appeals-grid.revealed .appeal-card:nth-child(4) .appeal-bg-num { transition-delay: 1.7s; }
  #appeals .appeals-grid.revealed .appeal-card:nth-child(5) .appeal-bg-num { transition-delay: 1.5s; }
  #appeals .appeals-grid.revealed .appeal-card:nth-child(6) .appeal-bg-num { transition-delay: 1.3s; }
  #appeals .appeals-grid.revealed .appeal-card:nth-child(7) .appeal-bg-num { transition-delay: 1.1s; }
  #appeals .appeals-grid.revealed .appeal-card:nth-child(8) .appeal-bg-num { transition-delay: 0.9s; }
}

/* === COMPARISON === */
#solution { position: relative; overflow: hidden; }

/* ▶ 背景キーワード流れ */
.vs-bg-words {
  position: absolute; inset: 0;
  z-index: 0;
  display: flex; flex-direction: column;
  justify-content: space-between;
  gap: 0;
  pointer-events: none;
  opacity: 0.12;
}
.vs-bg-line {
  display: flex; white-space: nowrap;
  font-size: 24px; font-weight: 900;
  color: var(--black);
  letter-spacing: 0.02em;
  line-height: 1.8;
}
.vs-bg-line span {
  display: inline-block;
  padding-right: 40px;
}
.vs-bg-line--r { animation: vsScroll 40s linear infinite; }
.vs-bg-line--l { animation: vsScroll 35s linear infinite reverse; }

@media (max-width: 768px) {
  .vs-bg-line--r { animation-duration: 15s; }
  .vs-bg-line--l { animation-duration: 13s; }
}

@keyframes vsScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* === COMPARISON (悩み × 解決) === */
.vs-stack {
  display: flex; flex-direction: column; gap: 80px;
  margin-top: 56px;
}
.vs-pair {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: end;
  gap: 0;
  min-height: 220px;
}
/* ▶ 悩みカード (白・斜め・小さめ) */
.vs-worry {
  position: relative; z-index: 1;
  background: var(--white);
  border: 2px solid var(--black);
  padding: 24px 20px;
  max-width: 240px;
  transform: rotate(-3deg);
  box-shadow: 3px 3px 0 rgba(0,0,0,0.15);
  text-align: center;
  transition: opacity 0.6s ease-out, transform 0.8s cubic-bezier(0.22,1,0.36,1);
}
.vs-worry p {
  font-size: 15px; line-height: 1.65; color: #555;
  margin: 0;
}
.vs-worry strong { color: #333; }
.vs-worry-icon {
  display: block; font-size: 28px; margin-bottom: 8px;
}

/* ▶ 解決カード (黄色・大・被せ・斜め) */
.vs-answer {
  position: relative; z-index: 2;
  margin-left: -10px;
  transform: rotate(2deg);
  overflow: hidden;
  background: var(--yellow);
  border: 3px solid var(--black);
  box-shadow: 6px 6px 0 var(--black);
  transition: opacity 0.6s ease-out, transform 0.8s cubic-bezier(0.22,1,0.36,1);
}
.vs-answer-inner {
  padding: 40px 44px;
  position: relative; z-index: 3;
  text-align: center;
}
.vs-answer-tag {
  display: inline-block;
  font-size: 11px; font-weight: 900; letter-spacing: 0.15em;
  background: var(--black); color: var(--yellow);
  padding: 3px 10px; margin-bottom: 12px;
}
.vs-answer-main {
  font-size: clamp(24px, 3.5vw, 38px); font-weight: 900; line-height: 1.3;
  color: var(--black); margin: 0 0 10px;
}
.vs-answer-main mark {
  background: var(--black); color: var(--yellow);
  padding: 0 6px; font-style: normal;
}
.vs-answer-sub {
  font-size: 14px; color: rgba(0,0,0,0.55); line-height: 1.6; margin: 0;
}

/* ▶ 集中線 (CSS conic-gradient) */
.vs-burst {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: conic-gradient(
    from 0deg,
    transparent 0deg, transparent 1deg, rgba(0,0,0,0.22) 1deg, rgba(0,0,0,0.22) 3deg, transparent 3deg,
    transparent 11deg, rgba(0,0,0,0.22) 11deg, rgba(0,0,0,0.22) 13deg, transparent 13deg,
    transparent 21deg, rgba(0,0,0,0.22) 21deg, rgba(0,0,0,0.22) 23deg, transparent 23deg,
    transparent 31deg, rgba(0,0,0,0.22) 31deg, rgba(0,0,0,0.22) 33deg, transparent 33deg,
    transparent 41deg, rgba(0,0,0,0.22) 41deg, rgba(0,0,0,0.22) 43deg, transparent 43deg,
    transparent 51deg, rgba(0,0,0,0.22) 51deg, rgba(0,0,0,0.22) 53deg, transparent 53deg,
    transparent 61deg, rgba(0,0,0,0.22) 61deg, rgba(0,0,0,0.22) 63deg, transparent 63deg,
    transparent 71deg, rgba(0,0,0,0.22) 71deg, rgba(0,0,0,0.22) 73deg, transparent 73deg,
    transparent 81deg, rgba(0,0,0,0.22) 81deg, rgba(0,0,0,0.22) 83deg, transparent 83deg,
    transparent 91deg, rgba(0,0,0,0.22) 91deg, rgba(0,0,0,0.22) 93deg, transparent 93deg,
    transparent 101deg, rgba(0,0,0,0.22) 101deg, rgba(0,0,0,0.22) 103deg, transparent 103deg,
    transparent 111deg, rgba(0,0,0,0.22) 111deg, rgba(0,0,0,0.22) 113deg, transparent 113deg,
    transparent 121deg, rgba(0,0,0,0.22) 121deg, rgba(0,0,0,0.22) 123deg, transparent 123deg,
    transparent 131deg, rgba(0,0,0,0.22) 131deg, rgba(0,0,0,0.22) 133deg, transparent 133deg,
    transparent 141deg, rgba(0,0,0,0.22) 141deg, rgba(0,0,0,0.22) 143deg, transparent 143deg,
    transparent 151deg, rgba(0,0,0,0.22) 151deg, rgba(0,0,0,0.22) 153deg, transparent 153deg,
    transparent 161deg, rgba(0,0,0,0.22) 161deg, rgba(0,0,0,0.22) 163deg, transparent 163deg,
    transparent 171deg, rgba(0,0,0,0.22) 171deg, rgba(0,0,0,0.22) 173deg, transparent 173deg,
    transparent 181deg, rgba(0,0,0,0.22) 181deg, rgba(0,0,0,0.22) 183deg, transparent 183deg,
    transparent 191deg, rgba(0,0,0,0.22) 191deg, rgba(0,0,0,0.22) 193deg, transparent 193deg,
    transparent 201deg, rgba(0,0,0,0.22) 201deg, rgba(0,0,0,0.22) 203deg, transparent 203deg,
    transparent 211deg, rgba(0,0,0,0.22) 211deg, rgba(0,0,0,0.22) 213deg, transparent 213deg,
    transparent 221deg, rgba(0,0,0,0.22) 221deg, rgba(0,0,0,0.22) 223deg, transparent 223deg,
    transparent 231deg, rgba(0,0,0,0.22) 231deg, rgba(0,0,0,0.22) 233deg, transparent 233deg,
    transparent 241deg, rgba(0,0,0,0.22) 241deg, rgba(0,0,0,0.22) 243deg, transparent 243deg,
    transparent 251deg, rgba(0,0,0,0.22) 251deg, rgba(0,0,0,0.22) 253deg, transparent 253deg,
    transparent 261deg, rgba(0,0,0,0.22) 261deg, rgba(0,0,0,0.22) 263deg, transparent 263deg,
    transparent 271deg, rgba(0,0,0,0.22) 271deg, rgba(0,0,0,0.22) 273deg, transparent 273deg,
    transparent 281deg, rgba(0,0,0,0.22) 281deg, rgba(0,0,0,0.22) 283deg, transparent 283deg,
    transparent 291deg, rgba(0,0,0,0.22) 291deg, rgba(0,0,0,0.22) 293deg, transparent 293deg,
    transparent 301deg, rgba(0,0,0,0.22) 301deg, rgba(0,0,0,0.22) 303deg, transparent 303deg,
    transparent 311deg, rgba(0,0,0,0.22) 311deg, rgba(0,0,0,0.22) 313deg, transparent 313deg,
    transparent 321deg, rgba(0,0,0,0.22) 321deg, rgba(0,0,0,0.22) 323deg, transparent 323deg,
    transparent 331deg, rgba(0,0,0,0.22) 331deg, rgba(0,0,0,0.22) 333deg, transparent 333deg,
    transparent 341deg, rgba(0,0,0,0.22) 341deg, rgba(0,0,0,0.22) 343deg, transparent 343deg,
    transparent 351deg, rgba(0,0,0,0.22) 351deg, rgba(0,0,0,0.22) 353deg, transparent 353deg,
    transparent 360deg
  );
  pointer-events: none;
  opacity: 0;
  transform: scale(0.3);
  -webkit-mask-image: radial-gradient(ellipse 80% 50% at center, transparent 40%, black 70%);
  mask-image: radial-gradient(ellipse 80% 50% at center, transparent 40%, black 70%);
  transition: opacity 0.6s ease-out, transform 0.8s cubic-bezier(0.22,1,0.36,1);
}

/* ▶ 交互配置 (偶数ペアは左右反転) */
.vs-pair:nth-child(even) {
  grid-template-columns: 1fr auto;
}
.vs-pair:nth-child(even) .vs-worry {
  order: 2;
  transform: rotate(3deg);
}
.vs-pair:nth-child(even) .vs-answer {
  order: 1;
  margin-left: 0;
  margin-right: -10px;
  transform: rotate(-2deg);
}

/* ▶ スクロールアニメーション (初期状態) */
.vs-pair .vs-worry {
  opacity: 0;
  transform: rotate(-3deg) translateX(-60px);
}
.vs-pair .vs-answer {
  opacity: 0;
  transform: rotate(2deg) translateX(80px) scale(0.9);
}
.vs-pair:nth-child(even) .vs-worry {
  opacity: 0;
  transform: rotate(3deg) translateX(60px);
}
.vs-pair:nth-child(even) .vs-answer {
  opacity: 0;
  transform: rotate(-2deg) translateX(-80px) scale(0.9);
}

/* ▶ アニメーション (表示時) */
.vs-stack.revealed .vs-pair .vs-worry {
  opacity: 1;
  transform: rotate(-3deg) translateX(0);
}
.vs-stack.revealed .vs-pair .vs-answer {
  opacity: 1;
  transform: rotate(2deg) translateX(0) scale(1);
}
.vs-stack.revealed .vs-pair .vs-burst {
  opacity: 1;
  transform: scale(1);
}
.vs-stack.revealed .vs-pair:nth-child(even) .vs-worry {
  opacity: 1;
  transform: rotate(3deg) translateX(0);
}
.vs-stack.revealed .vs-pair:nth-child(even) .vs-answer {
  opacity: 1;
  transform: rotate(-2deg) translateX(0) scale(1);
}

/* タイミング: 悩み先 → 解決後 */
.vs-stack.revealed .vs-pair:nth-child(1) .vs-worry  { transition-delay: 0.0s; }
.vs-stack.revealed .vs-pair:nth-child(1) .vs-answer { transition-delay: 0.3s; }
.vs-stack.revealed .vs-pair:nth-child(1) .vs-burst  { transition-delay: 0.4s; }
.vs-stack.revealed .vs-pair:nth-child(2) .vs-worry  { transition-delay: 0.5s; }
.vs-stack.revealed .vs-pair:nth-child(2) .vs-answer { transition-delay: 0.8s; }
.vs-stack.revealed .vs-pair:nth-child(2) .vs-burst  { transition-delay: 0.9s; }
.vs-stack.revealed .vs-pair:nth-child(3) .vs-worry  { transition-delay: 1.0s; }
.vs-stack.revealed .vs-pair:nth-child(3) .vs-answer { transition-delay: 1.3s; }
.vs-stack.revealed .vs-pair:nth-child(3) .vs-burst  { transition-delay: 1.4s; }

/* ▶ モバイル */
@media (max-width: 768px) {
  .vs-pair,
  .vs-pair:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .vs-worry,
  .vs-pair:nth-child(even) .vs-worry {
    transform: rotate(-2deg) !important;
    order: 1 !important;
    margin-bottom: -20px;
  }
  .vs-answer,
  .vs-pair:nth-child(even) .vs-answer {
    transform: rotate(1deg) !important;
    order: 2 !important;
    margin-left: 20px !important;
    margin-right: 0 !important;
  }
  .vs-stack.revealed .vs-pair .vs-worry,
  .vs-stack.revealed .vs-pair:nth-child(even) .vs-worry {
    transform: rotate(-2deg) translateX(0) !important;
  }
  .vs-stack.revealed .vs-pair .vs-answer,
  .vs-stack.revealed .vs-pair:nth-child(even) .vs-answer {
    transform: rotate(1deg) translateX(0) scale(1) !important;
  }
  .vs-answer-inner { padding: 28px 24px; }
  .vs-answer-main { font-size: 22px; }
  .vs-stack { gap: 60px; }
  .vs-burst { inset: -20px; }
}

/* === FLOW === */
.flow-track { display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.flow-track::before { content: ''; position: absolute; top: 26px; left: 10%; right: 10%; height: 2px; background: var(--gray-mid); z-index: 0; }
.flow-step { text-align: center; padding: 0 12px; position: relative; z-index: 1; }
/* ▶ ステップ番号: 白背景 黒枠 / アクティブは黒背景 白数字 */
.flow-num {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--black);
  font-size: 16px; font-weight: 900; color: var(--black);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 20px;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}
.flow-step.active .flow-num { background: var(--black); border-color: var(--black); color: var(--yellow); }
.flow-step h3 { font-size: 13px; font-weight: 700; margin-bottom: 6px; line-height: 1.4; }
.flow-step p  { font-size: 12px; color: var(--gray-text); line-height: 1.55; }
.flow-note { font-size: 12px; color: var(--gray-text); text-align: center; margin-top: 40px; }

/* === APPEAL POINTS === */
.appeals-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.appeal-card {
  background: var(--white); border: 2px solid var(--black);
  padding: 28px 24px; position: relative; overflow: hidden;
  box-shadow: 6px 6px 0 var(--black);
}
.appeal-bg-num {
  position: absolute; top: -10px; right: 10px; font-size: 80px;
  font-weight: 900; color: rgba(0,0,0,0.08); line-height: 1; pointer-events: none;
  opacity: 0; transition: opacity 1s ease;
}
/* ▶ 左右交互スライド (モバイルのみ) */
@media (max-width: 600px) {
  #appeals .appeals-grid > *:nth-child(odd)  { opacity: 0; transform: translateX(-56px); }
  #appeals .appeals-grid > *:nth-child(even) { opacity: 0; transform: translateX( 56px); }
  #appeals .appeals-grid > * {
    transition: opacity 0.15s ease-out,
                transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.25s cubic-bezier(0.22,1,0.36,1);
  }
  #appeals .appeals-grid.revealed > * { opacity: 1; transform: translateX(0); }
  #appeals .appeals-grid.revealed > *:nth-child(1) { transition-delay: 0.00s; }
  #appeals .appeals-grid.revealed > *:nth-child(2) { transition-delay: 0.25s; }
  #appeals .appeals-grid.revealed > *:nth-child(3) { transition-delay: 0.50s; }
  #appeals .appeals-grid.revealed > *:nth-child(4) { transition-delay: 0.75s; }
  #appeals .appeals-grid.revealed > *:nth-child(5) { transition-delay: 1.00s; }
  #appeals .appeals-grid.revealed > *:nth-child(6) { transition-delay: 1.25s; }
  #appeals .appeals-grid.revealed > *:nth-child(7) { transition-delay: 1.50s; }
  #appeals .appeals-grid.revealed > *:nth-child(8) { transition-delay: 1.75s; }
  /* 背景数字フェードイン */
  #appeals .appeals-grid.revealed .appeal-card:nth-child(1) .appeal-bg-num { opacity: 1; transition-delay: 0.55s; }
  #appeals .appeals-grid.revealed .appeal-card:nth-child(2) .appeal-bg-num { opacity: 1; transition-delay: 0.65s; }
  #appeals .appeals-grid.revealed .appeal-card:nth-child(3) .appeal-bg-num { opacity: 1; transition-delay: 0.75s; }
  #appeals .appeals-grid.revealed .appeal-card:nth-child(4) .appeal-bg-num { opacity: 1; transition-delay: 0.85s; }
  #appeals .appeals-grid.revealed .appeal-card:nth-child(5) .appeal-bg-num { opacity: 1; transition-delay: 0.95s; }
  #appeals .appeals-grid.revealed .appeal-card:nth-child(6) .appeal-bg-num { opacity: 1; transition-delay: 1.05s; }
  #appeals .appeals-grid.revealed .appeal-card:nth-child(7) .appeal-bg-num { opacity: 1; transition-delay: 1.15s; }
  #appeals .appeals-grid.revealed .appeal-card:nth-child(8) .appeal-bg-num { opacity: 1; transition-delay: 1.25s; }
}

/* ▶ transition (全幅共通) */
#appeals .appeals-grid > * {
  transition: opacity 0.15s ease-out,
              transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.25s cubic-bezier(0.22,1,0.36,1);
}
/* デスクトップ初期状態 */
@media (min-width: 601px) {
  #appeals .appeals-grid > * { opacity: 0; }
}
.appeal-tag { display: inline-block; font-size: 10px; font-weight: 700; padding: 2px 9px; margin-bottom: 14px; letter-spacing: 0.1em; background: var(--black); color: var(--white); }
.appeal-icon { font-size: 28px; margin-bottom: 10px; }
.appeal-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; line-height: 1.45; }
.appeal-card h3 mark { background: var(--yellow); color: var(--black); padding: 0 2px; font-style: normal; }
.appeal-card p { font-size: 13px; color: var(--gray-text); line-height: 1.65; }

/* === MID CTA === */
.mid-cta {
  padding: 52px 24px; text-align: center; background: var(--yellow);
  border-top: 2px solid var(--black); border-bottom: 2px solid var(--black);
}
.mid-cta p { font-size: clamp(16px, 2.5vw, 22px); font-weight: 900; color: var(--black); margin-bottom: 24px; }

/* === TEMPLATES === */
.templates-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
/* ▶ カード: 白背景 黒枠線 */
.template-card {
  border: 2px solid var(--black);
  display: block;
  color: inherit;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.22,1,0.36,1),
              box-shadow 0.25s cubic-bezier(0.22,1,0.36,1);
}
.template-card:hover { transform: translate(-4px,-4px); box-shadow: 6px 6px 0 var(--black); }

/* CSS site mockup — 16:9 */
.tmpl-preview {
  aspect-ratio: 16/9;
  height: auto;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}
.tmpl-preview.std { background: #ffffff; }
.tmpl-preview.nat { background: #f5f0e8; }
.tmpl-preview.pas { background: #f0f8ff; }
.tmpl-preview.sty { background: #f5f5f5; }
.tmpl-preview.mod { background: #faf8f3; }

/* ナビ */
.tmpl-nav { height: 22px; display: flex; align-items: center; padding: 0 8px; gap: 6px; flex-shrink: 0; }
.tmpl-preview.std .tmpl-nav { background: #e07828; }
.tmpl-preview.nat .tmpl-nav { background: #5a7a52; }
.tmpl-preview.pas .tmpl-nav { background: #e8f4fb; border-bottom: 1px solid #c0ddf0; }
.tmpl-preview.sty .tmpl-nav { background: #111111; }
.tmpl-preview.mod .tmpl-nav { background: #1a1a1a; }

.tmpl-logo { width: 44px; height: 7px; }
.tmpl-preview.std .tmpl-logo { background: rgba(255,255,255,0.9); }
.tmpl-preview.nat .tmpl-logo { background: rgba(255,255,255,0.9); }
.tmpl-preview.pas .tmpl-logo { background: #4a9abf; }
.tmpl-preview.sty .tmpl-logo { background: rgba(255,255,255,0.8); }
.tmpl-preview.mod .tmpl-logo { background: #b08d4a; }

.tmpl-navlinks { display: flex; gap: 5px; margin-left: auto; }
.tmpl-navlinks span { width: 18px; height: 5px; }
.tmpl-preview.std .tmpl-navlinks span,
.tmpl-preview.nat .tmpl-navlinks span,
.tmpl-preview.sty .tmpl-navlinks span,
.tmpl-preview.mod .tmpl-navlinks span { background: rgba(255,255,255,0.5); }
.tmpl-preview.pas .tmpl-navlinks span { background: rgba(74,154,191,0.45); }

/* セクションヘッド */
.tmpl-section-head { padding: 10px 10px 6px; flex-shrink: 0; }
.tmpl-stag { height: 6px; width: 44px; margin-bottom: 5px; }
.tmpl-stitle { height: 10px; width: 50%; margin-bottom: 4px; }
.tmpl-ssub { height: 6px; width: 68%; opacity: 0.35; }

.tmpl-preview.std .tmpl-stag  { background: #e07828; }
.tmpl-preview.std .tmpl-stitle { background: #1a1a1a; }
.tmpl-preview.std .tmpl-ssub  { background: #1a1a1a; }

.tmpl-preview.nat .tmpl-stag  { background: #6b8f5e; }
.tmpl-preview.nat .tmpl-stitle { background: #3d2b1f; }
.tmpl-preview.nat .tmpl-ssub  { background: #3d2b1f; }

.tmpl-preview.pas .tmpl-stag  { background: #70c4ff; }
.tmpl-preview.pas .tmpl-stitle { background: #2a4a5a; }
.tmpl-preview.pas .tmpl-ssub  { background: #2a4a5a; }

.tmpl-preview.sty .tmpl-stag  { background: #888888; }
.tmpl-preview.sty .tmpl-stitle { background: #111111; }
.tmpl-preview.sty .tmpl-ssub  { background: #111111; }

.tmpl-preview.mod .tmpl-stag  { background: #b08d4a; }
.tmpl-preview.mod .tmpl-stitle { background: #1a1a1a; }
.tmpl-preview.mod .tmpl-ssub  { background: #1a1a1a; }

/* カード行 */
.tmpl-cards-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 5px; padding: 0 8px 8px; flex: 1; align-items: start; }
.tmpl-mcard { padding: 7px; display: flex; flex-direction: column; gap: 3px; }

.tmpl-preview.std .tmpl-mcard { background: #ffffff; border: 1px solid rgba(0,0,0,0.08); border-top: 2px solid #e07828; }
.tmpl-preview.nat .tmpl-mcard { background: #ffffff; border-radius: 6px; }
.tmpl-preview.pas .tmpl-mcard { background: #ffffff; border-radius: 8px; box-shadow: 0 1px 4px rgba(112,196,255,0.2); }
.tmpl-preview.sty .tmpl-mcard { background: #ffffff; border-left: 2px solid #111111; }
.tmpl-preview.mod .tmpl-mcard { background: #ffffff; border-top: 2px solid #b08d4a; }

.tmpl-card-icon { width: 14px; height: 14px; border-radius: 50%; margin-bottom: 2px; flex-shrink: 0; }
.tmpl-preview.std .tmpl-card-icon { background: #e07828; }
.tmpl-preview.nat .tmpl-card-icon { background: #6b8f5e; }
.tmpl-preview.pas .tmpl-card-icon { background: #70c4ff; }
.tmpl-preview.sty .tmpl-card-icon { background: #333333; }
.tmpl-preview.mod .tmpl-card-icon { background: #b08d4a; }

.tmpl-mline { height: 5px; border-radius: 1px; }
.tmpl-mline.s { width: 60%; }

.tmpl-preview.std .tmpl-mline { background: rgba(0,0,0,0.1); }
.tmpl-preview.nat .tmpl-mline { background: rgba(107,143,94,0.25); }
.tmpl-preview.pas .tmpl-mline { background: rgba(112,196,255,0.35); }
.tmpl-preview.sty .tmpl-mline { background: rgba(0,0,0,0.1); }
.tmpl-preview.mod .tmpl-mline { background: rgba(176,141,74,0.2); }

.template-body { padding: 22px; background: var(--white); border-top: 2px solid var(--black); }
.template-name { font-size: 20px; font-weight: 900; margin-bottom: 6px; letter-spacing: -0.02em; }
.template-desc { font-size: 13px; color: var(--gray-text); line-height: 1.65; margin-bottom: 14px; }
.template-features { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.template-features li { font-size: 12px; display: flex; gap: 8px; align-items: flex-start; line-height: 1.5; }
.template-features li::before { content: '✓'; font-weight: 900; flex-shrink: 0; }
.template-colors { display: flex; gap: 6px; margin-top: 14px; align-items: center; }
.template-colors span { font-size: 11px; color: var(--gray-text); margin-right: 4px; }
.color-dot { width: 17px; height: 17px; border-radius: 50%; border: 2px solid rgba(0,0,0,0.12); }

/* === CASES === */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.case-card {
  border: 2px solid var(--black);
  box-shadow: 4px 4px 0 var(--black);
  overflow: hidden;
}
.case-img-wrap {
  overflow: hidden;
  aspect-ratio: 16 / 9;
}
.case-img-wrap img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.case-img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #e0ede0 0%, #b8d4b8 100%);
}
.case-img-placeholder--2 {
  background: linear-gradient(135deg, #e0e4ed 0%, #b8c4d4 100%);
}
.case-card-body {
  padding: 16px 20px;
  display: flex; flex-direction: column; gap: 6px;
  border-top: 2px solid var(--black);
}
.case-card-meta {
  display: flex; align-items: center; gap: 10px;
}
.case-tag {
  font-size: 11px; font-weight: 700;
  background: var(--yellow); color: var(--black);
  padding: 3px 8px; border: 1.5px solid var(--black);
  white-space: nowrap;
}
.case-company {
  font-size: 14px; font-weight: 700;
}
.case-industry {
  font-size: 11px; color: var(--gray-text); white-space: nowrap;
}
@media (max-width: 600px) {
  .cases-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* === BUTTONS === */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--yellow); color: var(--black);
  font-size: 15px; font-weight: 900; padding: 15px 30px;
  border: 2px solid var(--black); box-shadow: 4px 4px 0 var(--black);
  transition: transform 0.2s cubic-bezier(0.22,1,0.36,1),
              box-shadow 0.2s cubic-bezier(0.22,1,0.36,1);
}
.btn-primary:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--black); }
.btn-primary.inv {
  background: var(--black); color: var(--white);
  box-shadow: 4px 4px 0 rgba(0,0,0,0.3);
}
.btn-primary.inv:hover { box-shadow: 6px 6px 0 rgba(0,0,0,0.4); }
.btn-primary--inv { background: var(--white); color: var(--black); }
.btn-primary--inv:hover { box-shadow: 6px 6px 0 var(--black); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--black); font-size: 14px; font-weight: 700;
  border-bottom: 2px solid var(--black); padding-bottom: 2px;
  transition: gap 0.2s;
}
.btn-ghost:hover { gap: 14px; }
.btn-outline-white {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--white); font-size: 15px; font-weight: 700;
  padding: 13px 28px; border: 2px solid var(--white);
  transition: background 0.2s, color 0.2s; white-space: nowrap;
}
.btn-outline-white:hover { background: var(--white); color: var(--black); }
.btn-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 700;
  border-bottom: 2px solid currentColor; padding-bottom: 2px; transition: gap 0.2s;
}
.btn-link:hover { gap: 14px; }

/* === PRICING NOTICE === */
.pricing-notice {
  margin-top: 20px;
  padding: 16px 20px;
  border: 1.5px solid var(--black);
  background: var(--white);
  text-align: left;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.pricing-notice-main {
  font-size: 13px; font-weight: 700; margin-bottom: 6px;
}
.pricing-notice-detail {
  font-size: 12px; color: var(--gray-text); line-height: 1.7;
}
.pricing-notice-terms {
  margin-top: 14px;
  display: flex; flex-direction: column; gap: 8px;
  border-top: 1px solid rgba(0,0,0,0.1);
  padding-top: 12px;
}
.pricing-notice-term {
  display: flex; gap: 10px; font-size: 12px; line-height: 1.6;
}
.term-label {
  font-weight: 700; white-space: nowrap; color: var(--black);
}
.term-body { color: var(--gray-text); }

/* === PRICING === */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 28px; }
.price-grid--2col { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin-left: auto; margin-right: auto; }
/* ▶ 通常カード: 白背景 黒枠 */
.price-card { border: 2px solid var(--black); overflow: hidden; box-shadow: 4px 4px 0 var(--black); display: flex; flex-direction: column; }
/* ▶ 人気カード */
.price-card.featured { border-color: var(--black); }
.price-head { padding: 24px; background: var(--black); color: var(--white); }
.price-card.featured .price-head { background: var(--yellow); color: var(--black); }
.price-badge {
  display: inline-block; align-self: flex-start; background: var(--black); color: var(--white);
  font-size: 10px; font-weight: 700; padding: 2px 8px; margin-bottom: 10px; letter-spacing: 0.05em;
}
.price-card.featured .price-badge { background: var(--black); }
.price-badge--ghost { visibility: hidden; }
.price-name { font-size: 18px; font-weight: 900; margin-bottom: 4px; }
.price-amount { font-size: 34px; font-weight: 900; line-height: 1; margin: 8px 0; }
.price-amount small { font-size: 13px; font-weight: 700; }
.price-sub { font-size: 11px; opacity: 0.65; }
.price-head { display: flex; flex-direction: column; justify-content: flex-end; min-height: 130px; }
.price-body { padding: 24px; background: var(--white); flex: 1; display: flex; flex-direction: column; }
.price-pages { font-size: 11px; font-weight: 700; color: var(--gray-text); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.05em; }
.price-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.price-list li { font-size: 13px; display: flex; align-items: flex-start; gap: 8px; line-height: 1.5; }
.price-list li::before { content: '✓'; font-weight: 900; flex-shrink: 0; color: var(--black); }
.price-list li.plus::before { content: '+'; font-weight: 900; color: var(--black); }
.price-list li.no::before { content: '–'; color: var(--gray-text); }
.price-note-inline { font-size: 11px; color: var(--gray-text); }
.price-list--plan { min-height: 228px; }
.price-divider-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.05em;
  color: var(--gray-text); padding: 10px 0 10px;
  border-top: 1px solid rgba(0,0,0,0.12);
  margin-top: 12px;
}
.price-list--common { flex: 1; }
.price-cta {
  display: block; text-align: center; margin-top: 20px; padding: 12px;
  background: var(--black); color: var(--white);
  font-size: 13px; font-weight: 700; border: 2px solid var(--black); transition: background 0.2s, color 0.2s;
}
.price-card.featured .price-cta { background: var(--black); color: var(--white); border-color: var(--black); }
.price-card.featured .price-cta:hover { background: var(--yellow); color: var(--black); }
.price-cta:hover { background: var(--yellow); color: var(--black); }

/* 共通内容（カード内） */
.price-common-inner {
  margin-top: 20px;
  border: 1px solid rgba(0,0,0,0.15);
}
.price-common-inner-head {
  padding: 8px 14px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.05em;
  background: rgba(0,0,0,0.06); color: var(--black);
  border-bottom: 1px solid rgba(0,0,0,0.15);
}
.price-common-inner-grid {
  display: grid; grid-template-columns: 1fr 1fr;
}
.price-common-inner-grid > div {
  padding: 14px;
}
.price-common-inner-grid > div:first-child {
  border-right: 1px solid rgba(0,0,0,0.15);
}
.price-common-head {
  font-size: 11px; font-weight: 700; margin-bottom: 10px;
  padding-bottom: 6px; border-bottom: 1px solid rgba(0,0,0,0.1);
  letter-spacing: 0.04em;
}
.price-common-list { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.price-common-list li { font-size: 12px; display: flex; align-items: flex-start; gap: 6px; line-height: 1.5; }
.price-common-list li::before { content: '✓'; font-weight: 900; flex-shrink: 0; font-size: 11px; }

/* オプション表 */
.price-options {
  margin-top: 40px;
  border: 2px solid var(--black);
  background: var(--white);
}
.price-options-label {
  padding: 12px 24px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.05em;
  background: var(--black); color: var(--white);
}
.price-options-table { display: flex; flex-direction: column; }
.price-opt-row {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 16px; padding: 14px 24px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.price-opt-row:last-child { border-bottom: none; }
.price-opt-name { font-size: 13px; font-weight: 700; display: flex; flex-direction: column; gap: 3px; }
.price-opt-note { font-size: 11px; font-weight: 400; color: var(--gray-text); }
.price-opt-amount { font-size: 15px; font-weight: 900; white-space: nowrap; flex-shrink: 0; }

/* 注釈 */
.price-footnotes {
  margin-top: 24px;
  display: flex; flex-direction: column; gap: 6px;
}
.price-footnotes p { font-size: 12px; color: var(--gray-text); line-height: 1.7; }

.price-foot { font-size: 12px; color: var(--gray-text); text-align: center; margin-top: 10px; }

/* === FAQ === */
/* ▶ 外枠: 白背景 黒枠 */
.faq-wrap { border: 2px solid var(--black); max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--gray-mid); }
.faq-item:last-child { border-bottom: none; }
.faq-q { display: flex; align-items: flex-start; gap: 14px; padding: 20px 24px; cursor: pointer; user-select: none; background: var(--white); transition: background 0.15s; }
.faq-q:hover { background: var(--gray-light); }
/* ▶ Qマーク: 黒背景 白テキスト → 黄色 */
.faq-q-mark { width: 26px; height: 26px; background: var(--yellow); color: var(--black); font-size: 13px; font-weight: 900; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.faq-q-text { font-size: 15px; font-weight: 700; flex: 1; line-height: 1.5; }
.faq-arr { font-size: 14px; flex-shrink: 0; transition: transform 0.25s; margin-top: 4px; color: var(--gray-text); }
.faq-item.open .faq-arr { transform: rotate(180deg); color: var(--black); }
.faq-a { display: none; padding: 0 24px 20px 64px; font-size: 14px; color: var(--gray-text); line-height: 1.85; }
.faq-item.open .faq-a { display: block; }

/* === CONTACT (黒背景 白テキスト) === */
.contact-section { background: var(--black); padding: 96px 24px; text-align: center; }
.contact-section h2 { font-size: clamp(28px, 5vw, 52px); font-weight: 900; color: var(--white); line-height: 1.2; margin-bottom: 14px; }
.contact-section h2 em { font-style: normal; color: var(--yellow); }
.contact-section .csub { color: rgba(255,255,255,0.55); font-size: 15px; margin-bottom: 44px; }
.contact-btns { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.btn-line { display: inline-flex; align-items: center; gap: 10px; background: #06C755; color: var(--white); font-size: 15px; font-weight: 700; padding: 16px 32px; border: 2px solid #06C755; transition: opacity 0.2s; }
.btn-line:hover { opacity: 0.85; }
.btn-form { display: inline-flex; align-items: center; gap: 10px; background: var(--white); color: var(--black); font-size: 15px; font-weight: 700; padding: 16px 32px; border: 2px solid var(--white); transition: background 0.2s; }
.btn-form:hover { background: var(--yellow); border-color: var(--yellow); }
.contact-fnote { font-size: 12px; color: rgba(255,255,255,0.3); margin-top: 24px; }

/* === FOOTER === */
.footer { background: var(--off-black); padding: 48px 24px 24px; color: rgba(255,255,255,0.45); }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 20px; }
.footer-logo { font-size: 20px; font-weight: 900; color: var(--white); }
.footer-logo em { font-style: normal; background: var(--yellow); color: var(--black); padding: 2px 6px; }
.footer-tagline { font-size: 13px; margin-top: 6px; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { font-size: 12px; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }
.footer-copy { font-size: 11px; }

/* === FLOATING === */
.floating { position: fixed; bottom: 28px; right: 20px; z-index: 900; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.floating-btn { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; min-width: 148px; border-radius: 999px; font-size: 13px; font-weight: 900; border: none; cursor: pointer; box-shadow: 0 4px 20px rgba(0,0,0,0.18); transition: transform 0.2s cubic-bezier(0.22,1,0.36,1), box-shadow 0.2s cubic-bezier(0.22,1,0.36,1); }
.floating-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(0,0,0,0.25); }
.floating-main { background: #1a1a1a; color: var(--white); }
.floating-sub  { background: #06C755; color: var(--white); }

/* === MOBILE MENU === */
.mobile-menu {
  display: flex; position: fixed; inset: 0; background: var(--black); z-index: 2000;
  padding: 80px 32px 32px; flex-direction: column; gap: 0;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.22,1,0.36,1), visibility 0.3s;
}
.mobile-menu.open {
  opacity: 1; visibility: visible;
}
.mobile-menu a {
  font-size: 22px; font-weight: 700; color: rgba(255,255,255,0.75); padding: 15px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.4s cubic-bezier(0.22,1,0.36,1), transform 0.4s cubic-bezier(0.22,1,0.36,1), color 0.2s;
}
.mobile-menu.open a {
  opacity: 1; transform: translateY(0);
}
.mobile-menu.open a:nth-child(2) { transition-delay: 0.05s; }
.mobile-menu.open a:nth-child(3) { transition-delay: 0.10s; }
.mobile-menu.open a:nth-child(4) { transition-delay: 0.15s; }
.mobile-menu.open a:nth-child(5) { transition-delay: 0.20s; }
.mobile-menu.open a:nth-child(6) { transition-delay: 0.25s; }
.mobile-menu.open a:nth-child(7) { transition-delay: 0.30s; }
.mobile-menu a:hover { color: var(--yellow); }
.mobile-menu-cta { color: var(--yellow) !important; }
.mobile-menu-close {
  position: absolute; top: 20px; right: 20px; background: none; border: none;
  color: var(--white); font-size: 28px; cursor: pointer;
  opacity: 0; transform: rotate(-90deg);
  transition: opacity 0.4s, transform 0.4s;
}
.mobile-menu.open .mobile-menu-close {
  opacity: 1; transform: rotate(0deg); transition-delay: 0.2s;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .templates-grid { grid-template-columns: 1fr 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .price-common-inner-grid { grid-template-columns: 1fr; }
  .price-common-inner-grid > div:first-child { border-right: none; border-bottom: 1px solid rgba(0,0,0,0.15); }
}
@media (max-width: 900px) {
  :root { --pad: 72px 20px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero-inner { grid-template-columns: 1fr; position: relative; }
  .hero { padding-bottom: 60px; }
  .hero-visual {
    position: absolute;
    top: 30%; left: 75%; transform: translate(-50%, -50%) scale(0.65);
    width: 480px;
    z-index: 0; pointer-events: none; margin-top: 0;
  }
  .hero-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.7);
    pointer-events: none;
    z-index: 10;
  }
  .hero-content { position: relative; z-index: 1; }
  .hero-stats { gap: 8px; }
  .about-grid { display: flex; flex-direction: column-reverse; gap: 40px; align-items: stretch; }
  .flow-track { grid-template-columns: 1fr 1fr; }
  .flow-track::before { display: none; }
  .cases-banner { flex-direction: column; text-align: center; }
  .templates-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
  .ticker-track { animation-duration: 10s; }
}
@media (max-width: 600px) {
  .flow-track { grid-template-columns: 1fr; gap: 0; }
  .flow-step {
    display: grid; grid-template-columns: 44px 1fr;
    grid-template-rows: auto auto;
    gap: 4px 16px; align-items: start;
    padding: 20px 0; border-bottom: 1px solid var(--gray-mid);
    text-align: left;
  }
  .flow-step:last-child { border-bottom: none; }
  .flow-num { flex-shrink: 0; width: 44px; height: 44px; font-size: 16px; margin: 0; grid-row: 1 / 3; align-self: center; }
  .flow-step h3 { font-size: 14px; margin-bottom: 0; text-align: left; }
  .flow-step p  { font-size: 12px; text-align: left; }
  /* 矢印は横並び用なので非表示 */
  .flow-track::before { display: none; }
  .hero-cta-wrap { flex-direction: column; align-items: flex-start; }
  .forWho-grid { grid-template-columns: 1fr; }
  .appeals-grid { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .stat-block { padding: 10px 12px; min-width: 76px; }
}
@media (min-width: 901px) { .mobile-menu { display: none !important; } }
