/* =========================================================
   KantanSimpleApp — 共通スタイル（コーポレートデザイン）
   ========================================================= */
:root {
  --accent: #1f5bd8;          /* 各アプリページで上書きするテーマ色 */
  --accent-soft: #eaf1ff;
  --accent-deep: #0f2f6b;
  --ink: #0b1b36;             /* 見出し・濃紺 */
  --text: #26303f;
  --muted: #667085;
  --line: #e4e7ee;
  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --card: #ffffff;
  --radius: 16px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(11, 27, 54, .06), 0 2px 8px rgba(11, 27, 54, .04);
  --shadow-md: 0 12px 32px -12px rgba(11, 27, 54, .18);
  --shadow-lg: 0 30px 60px -20px rgba(11, 27, 54, .28);
  --font-jp: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-en: "Inter", "Noto Sans JP", sans-serif;
  --header-h: 72px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  font-family: var(--font-jp);
  color: var(--text);
  background: var(--bg);
  line-height: 1.85;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
main, .app-hero { overflow-x: clip; }
a { color: var(--accent); }

.container { width: min(1120px, 90%); margin: 0 auto; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(228, 231, 238, .8);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); gap: 24px;
}
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-en);
  font-weight: 700; font-size: 1.08rem; letter-spacing: -.01em;
  color: var(--ink); text-decoration: none; white-space: nowrap;
}
.logo::before {
  content: ""; width: 26px; height: 26px; border-radius: 8px;
  background: linear-gradient(135deg, #1f5bd8 0%, #0b1b36 100%);
  box-shadow: 0 4px 10px -4px rgba(31, 91, 216, .6);
}
.site-header nav { display: flex; align-items: center; gap: 28px; }
.site-header nav a {
  position: relative;
  color: var(--text); text-decoration: none;
  font-size: .88rem; font-weight: 500; white-space: nowrap;
  transition: color .2s;
}
.site-header nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.site-header nav a:hover { color: var(--accent); }
.site-header nav a:hover::after,
.site-header nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-header nav a[aria-current="page"] { color: var(--accent); }
.site-header nav .nav-cta {
  padding: 9px 20px; border-radius: 999px;
  background: var(--ink); color: #fff;
}
.site-header nav .nav-cta::after { display: none; }
.site-header nav .nav-cta:hover { background: var(--accent); color: #fff; }

/* ---------- 共通パーツ ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-en);
  font-size: .75rem; font-weight: 600; letter-spacing: .22em;
  color: var(--accent); text-transform: uppercase;
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 700; font-size: .95rem; letter-spacing: .04em;
  box-shadow: 0 10px 24px -10px var(--accent);
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn::after { content: "→"; font-family: var(--font-en); transition: transform .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px var(--accent); }
.btn:hover::after { transform: translateX(3px); }
.btn.outline {
  background: transparent; color: var(--ink);
  border: 1px solid var(--line); box-shadow: none;
}
.btn.outline:hover { border-color: var(--ink); }
.btn.light { background: #fff; color: var(--ink); box-shadow: 0 10px 30px -10px rgba(0,0,0,.4); }

.store-buttons { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- トップページ ---------- */
.hero {
  position: relative;
  padding: 120px 0 72px;
  text-align: left;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800; line-height: 1.35; letter-spacing: .01em;
  color: var(--ink); margin-bottom: 18px;
}
.hero p { color: var(--muted); font-size: 1.02rem; max-width: 36em; }

.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  padding-bottom: 120px;
}
.app-card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 32px 32px;
  text-decoration: none;
  color: var(--text);
  transition: transform .3s, box-shadow .3s, border-color .3s;
  overflow: hidden;
}
.app-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  transform: scaleX(0); transform-origin: left; transition: transform .4s;
}
.app-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.app-card:hover::before { transform: scaleX(1); }
.app-card img {
  width: 84px; height: 84px;
  margin: 0 0 28px;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
}
.app-card h2 { font-size: 1.08rem; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.app-card p { color: var(--muted); font-size: .9rem; flex: 1; }
.app-card .more {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line);
  color: var(--ink); font-family: var(--font-en); font-weight: 600; font-size: .82rem; letter-spacing: .08em;
}
.app-card:hover .more { color: var(--accent); }

/* ---------- アプリ紹介ページ：ヒーロー ---------- */
.app-hero {
  position: relative;
  background:
    radial-gradient(1200px 500px at 85% -10%, var(--accent-soft), transparent 60%),
    linear-gradient(180deg, #fff, var(--bg-alt));
  padding: 96px 0 88px;
  overflow: hidden;
}
.app-hero .container {
  display: flex; align-items: center; gap: 48px; flex-wrap: wrap;
}
.app-hero img { width: 140px; height: 140px; border-radius: 32px; box-shadow: var(--shadow-lg); }
.app-hero h1 {
  font-size: clamp(1.5rem, 4.6vw, 2.6rem);
  font-weight: 800; line-height: 1.4; color: var(--ink);
}
.app-hero .subname {
  font-family: var(--font-en);
  color: var(--accent); font-weight: 600; font-size: .82rem; letter-spacing: .14em;
  text-transform: uppercase; margin: 6px 0 0;
}
.app-hero .catch { color: var(--muted); margin: 18px 0 32px; font-size: 1.02rem; }

/* キービジュアル付きヒーロー（カレンダーなど） */
.kv-hero { padding: 72px 0 0; }
.kv-hero .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center; gap: 56px;
}
.kv-hero .kv-copy { padding-bottom: 72px; }
.kv-hero .kv-app {
  display: flex; align-items: center; gap: 16px; margin-bottom: 28px;
}
.kv-hero .kv-app img {
  width: 64px; height: 64px; border-radius: 16px; box-shadow: var(--shadow-md);
}
.kv-hero .kv-app .subname { margin: 0; }
.kv-hero .kv-app strong { display: block; color: var(--ink); font-size: .95rem; line-height: 1.5; }
.kv-hero h1 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.35; letter-spacing: .01em; }
.kv-hero h1 .nw { white-space: nowrap; }
.kv-hero h1 em {
  font-style: normal;
  background: linear-gradient(transparent 68%, rgba(255, 196, 61, .55) 68%);
}
.kv-hero .kv-meta {
  display: flex; gap: 28px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line);
}
.kv-hero .kv-meta div { font-size: .8rem; color: var(--muted); line-height: 1.5; }
.kv-hero .kv-meta b {
  display: block; font-family: var(--font-en); font-size: 1.6rem; font-weight: 700;
  color: var(--ink); letter-spacing: -.01em; margin-bottom: 4px;
}
.kv-visual {
  position: relative;
  margin-bottom: 72px;
}
.kv-visual::before {
  content: ""; position: absolute; inset: 8% -40% -12% 12%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  border-radius: var(--radius-lg);
  z-index: 0;
}
.kv-hero .kv-visual img {
  position: relative; z-index: 1;
  width: 100%; height: auto; aspect-ratio: 3 / 2;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* ---------- セクション ---------- */
.section { padding: 112px 0; }
.section-alt { background: var(--bg-alt); }
.section h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800; line-height: 1.45;
  color: var(--ink);
  text-align: left; margin-bottom: 56px;
}
.section-head { margin-bottom: 56px; display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.section-head h2 { margin-bottom: 0; }
.section-head .lead { color: var(--muted); max-width: 30em; font-size: .95rem; }

/* 機能カード */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  counter-reset: feature;
}
.feature {
  position: relative;
  background: var(--card);
  padding: 40px 36px 44px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  counter-increment: feature;
  transition: background .3s;
}
.feature::before {
  content: counter(feature, decimal-leading-zero);
  display: block;
  font-family: var(--font-en); font-weight: 600; font-size: .8rem; letter-spacing: .16em;
  color: var(--accent); margin-bottom: 20px;
}
.feature:hover { background: var(--bg-alt); }
.feature h3 { font-size: 1.08rem; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: .92rem; }
.section-alt .feature { background: #fff; }

/* ---------- プラン／2アプリ ---------- */
.app-pair {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.pair-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  text-align: left;
  transition: box-shadow .3s, transform .3s;
}
.pair-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.pair-card .role {
  display: inline-block;
  font-family: var(--font-en);
  font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent);
  margin-bottom: 18px;
}
.pair-card h3 { font-size: 1.3rem; font-weight: 800; color: var(--ink); margin-bottom: 18px; line-height: 1.5; }
.pair-card p { color: var(--muted); font-size: .93rem; margin-bottom: 28px; }
.pair-card img { width: 80px; height: 80px; border-radius: 20px; margin: 0 0 24px; box-shadow: var(--shadow-md); }

.pair-card.host .btn { background: #f08a24; box-shadow: 0 10px 24px -10px #f08a24; }
.pair-card.host .role { background: #fff1e3; color: #c0650f; }

/* 強調カード（Premium など） */
.pair-card.featured {
  background: linear-gradient(150deg, var(--ink) 0%, var(--accent-deep) 100%);
  border-color: transparent; color: #fff;
  box-shadow: var(--shadow-lg);
}
.pair-card.featured h3 { color: #fff; }
.pair-card.featured .role { background: rgba(255,255,255,.12); color: #ffd36b; }
.pair-card.featured .plan li { color: rgba(255,255,255,.82); border-color: rgba(255,255,255,.14); }
.pair-card.featured .plan li::before { background: #ffd36b; color: var(--ink); }

.plan { list-style: none; text-align: left; }
.plan li {
  position: relative;
  padding: 14px 0 14px 34px;
  color: var(--text); font-size: .95rem;
  border-bottom: 1px solid var(--line);
}
.plan li:last-child { border-bottom: 0; }
.plan li::before {
  content: "✓";
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 20px; height: 20px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .7rem; font-weight: 700;
  background: var(--accent-soft); color: var(--accent);
}

/* 使い方ステップ */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.steps li {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
}
.steps .num {
  display: block;
  font-family: var(--font-en); font-size: 2.6rem; font-weight: 300; line-height: 1;
  color: var(--accent); margin-bottom: 22px; letter-spacing: -.02em;
}
.steps .num::before { content: "0"; }
.steps h3 { font-size: 1.05rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: .92rem; }

/* ジャンル（脳トレ） */
.genres { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.genre {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 24px; text-align: left;
  transition: border-color .3s, box-shadow .3s;
}
.genre:hover { border-color: var(--accent); box-shadow: var(--shadow-md); }
.genre h3 { color: var(--ink); font-size: 1.1rem; font-weight: 800; margin-bottom: 8px; }
.genre h3::before {
  content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); margin-right: 10px; vertical-align: middle;
}
.genre p { color: var(--muted); font-size: .88rem; }

/* ---------- スクリーンショット ---------- */
.screenshots {
  display: flex; gap: 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 12px 4px 28px;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
}
.screenshots figure { flex: 0 0 236px; scroll-snap-align: start; text-align: left; }
.screenshots figure img,
.screenshots > img {
  width: 236px; height: 472px;
  object-fit: contain;
  background: #fff;
  border-radius: 30px;
  border: 8px solid var(--ink);
  box-shadow: var(--shadow-md);
  transition: transform .3s;
}
.screenshots figure:hover img { transform: translateY(-6px); }
.screenshots figcaption {
  margin-top: 18px; font-size: .85rem; color: var(--text); font-weight: 500;
  display: flex; gap: 10px; align-items: baseline;
}
.screenshots { counter-reset: shot; }
.screenshots figcaption::before {
  counter-increment: shot; content: counter(shot, decimal-leading-zero);
  font-family: var(--font-en); font-size: .72rem; font-weight: 600; color: var(--accent); letter-spacing: .1em;
}
.screenshots .placeholder {
  flex: 0 0 236px; height: 472px; border-radius: 30px;
  background: var(--accent-soft); color: var(--muted);
  display: flex; align-items: center; justify-content: center; font-size: .85rem;
}

/* ---------- CTAバンド ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--ink) 0%, var(--accent-deep) 60%, var(--accent) 140%);
  color: #fff;
  padding: 96px 0;
}
.cta-band::before {
  content: ""; position: absolute; right: -120px; top: -160px;
  width: 480px; height: 480px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 0 0 80px rgba(255,255,255,.03), 0 0 0 160px rgba(255,255,255,.02);
}
.cta-band .container { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.cta-band .eyebrow { color: #ffd36b; }
.cta-band h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; line-height: 1.5; }
.cta-band p { color: rgba(255,255,255,.72); margin-top: 8px; font-size: .95rem; }

/* ---------- 文章ページ（プライバシーポリシー） ---------- */
.doc {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 64px clamp(24px, 6vw, 72px);
  margin: 64px auto 96px;
  max-width: 860px;
}
.doc h1 { font-size: clamp(1.3rem, 3vw, 1.7rem); font-weight: 800; color: var(--ink); line-height: 1.5; margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.doc h2 { font-size: 1.08rem; font-weight: 700; color: var(--ink); margin: 40px 0 10px; padding-left: 14px; border-left: 3px solid var(--accent); line-height: 1.5; }
.doc p, .doc li { color: var(--muted); font-size: .95rem; }
.doc ul { padding-left: 1.4em; margin: 8px 0; }

/* ---------- フッター ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.6);
  padding: 56px 0 40px;
  font-size: .85rem;
  text-align: center;
}
.site-footer p:first-child { margin-bottom: 20px; }
.site-footer a {
  color: rgba(255,255,255,.85); text-decoration: none; margin: 0 14px;
  transition: color .2s;
}
.site-footer a:hover { color: #fff; }
.site-footer p:last-child {
  font-family: var(--font-en); font-size: .75rem; letter-spacing: .12em;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1);
  width: min(1120px, 90%); margin: 0 auto;
}

/* ---------- アプリ別テーマ色 ---------- */
.theme-timecard { --accent: #1f5bd8; --accent-soft: #e8f0ff; --accent-deep: #0f2f6b; }
.theme-calendar { --accent: #1c56d6; --accent-soft: #e6efff; --accent-deep: #0d2c6e; }
.theme-brain    { --accent: #1593d4; --accent-soft: #e3f5fd; --accent-deep: #0a3e66; }

/* ---------- タイムカード：アイコン2つ ---------- */
.icon-pair { display: flex; gap: 16px; }
.icon-pair img { width: 120px; height: 120px; border-radius: 28px; }

/* ---------- レスポンシブ ---------- */
@media (max-width: 900px) {
  .kv-hero { padding-top: 48px; }
  .kv-hero .container { grid-template-columns: 1fr; gap: 40px; }
  .kv-hero .kv-copy { padding-bottom: 0; }
  .kv-visual { margin: 0 0 56px; }
  .kv-visual::before { inset: 10% -10% -8% 8%; }
}

@media (max-width: 720px) {
  :root { --header-h: 104px; }
  .site-header .container { flex-direction: column; justify-content: center; align-items: flex-start; gap: 6px; height: var(--header-h); }
  .site-header nav { gap: 20px; overflow-x: auto; width: 100%; padding-bottom: 6px; scrollbar-width: none; }
  .site-header nav .nav-cta { display: none; }
  .hero { padding: 72px 0 48px; }
  .app-hero { padding: 64px 0; }
  .app-hero .container { flex-direction: column; align-items: flex-start; gap: 28px; }
  .app-hero img { width: 104px; height: 104px; border-radius: 26px; }
  .section { padding: 80px 0; }
  .section h2, .section-head { margin-bottom: 36px; }
  .feature { padding: 32px 24px 36px; }
  .pair-card { padding: 36px 28px; }
  .kv-hero .kv-meta { gap: 18px; }
  .kv-hero .kv-meta div { font-size: .72rem; }
  .kv-hero .kv-meta b { font-size: 1.35rem; }
  .cta-band { padding: 72px 0; }
  .icon-pair img { width: 96px; height: 96px; }
}

/* キービジュアルが正方形・縦長のとき */
.kv-hero .kv-visual.portrait img { aspect-ratio: auto; }
.kv-hero .kv-visual.portrait { max-width: 540px; justify-self: end; width: 100%; }

/* ---------- 利用シーン（画像＋テキスト） ---------- */
.scene {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: center; gap: 64px;
}
.scene-visual { position: relative; }
.scene-visual::before {
  content: ""; position: absolute; inset: -6% 10% 10% -40%;
  background: var(--accent-soft);
  border-radius: var(--radius-lg);
}
.scene-visual img {
  position: relative; width: 100%; height: auto;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.scene-copy h2 { margin-bottom: 20px; }
.scene-copy > p { color: var(--muted); margin-bottom: 28px; }
.scene-copy .plan { margin-bottom: 36px; }

@media (max-width: 900px) {
  .kv-hero .kv-visual.portrait { justify-self: center; }
  .scene { grid-template-columns: 1fr; gap: 40px; }
  .scene-visual::before { inset: -5% 12% 12% -10%; }
}

/* ---------- 端末ステージ（スクリーンショットを端末枠で見せる） ---------- */
.device-stage {
  position: relative; overflow: hidden;
  display: flex; justify-content: center; align-items: center; gap: 6%;
  aspect-ratio: 6 / 5;
  padding: 5% 6% 9%;
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, var(--accent) -20%, var(--accent-deep) 45%, var(--ink) 100%);
  box-shadow: var(--shadow-lg);
}
.device-stage::before {
  content: ""; position: absolute; right: -18%; top: -30%;
  width: 70%; aspect-ratio: 1; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 0 0 60px rgba(255,255,255,.035), 0 0 0 120px rgba(255,255,255,.025);
}
.device-stage figure { position: relative; width: 38%; text-align: center; }
.device-stage figure:first-child { transform: translateY(2%) rotate(-4deg); }
.device-stage figure:last-child  { transform: translateY(-4%) rotate(3deg); }
.device {
  aspect-ratio: 9 / 16;
  border: 7px solid #0a1428; border-radius: 28px;
  overflow: hidden; background: #fafafa;
  box-shadow: 0 30px 50px -20px rgba(0,0,0,.55);
}
.device img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.device-stage figcaption {
  display: inline-block; margin-top: 14px;
  padding: 3px 12px; border-radius: 999px;
  background: rgba(255,255,255,.12); color: #fff;
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; white-space: nowrap;
}
.device-stage figcaption.host { background: #f08a24; }

/* ---------- トップ：コラージュ ---------- */
.kv-collage { position: relative; aspect-ratio: 1 / .86; margin-bottom: 72px; }
.kv-collage::before {
  content: ""; position: absolute; inset: 14% -40% -6% 22%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  border-radius: var(--radius-lg);
}
.kv-collage img {
  position: absolute; height: auto;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.kv-collage .c1 { right: 0; top: 0; width: 86%; aspect-ratio: 3 / 2; }
.kv-collage .c2 { left: 0; bottom: 0; width: 44%; aspect-ratio: 1212 / 1297; border: 6px solid #fff; }
.kv-icons { display: flex; gap: 12px; margin-bottom: 28px; }
.kv-icons img { width: 56px; height: 56px; border-radius: 14px; box-shadow: var(--shadow-md); }

/* ---------- トップ：アプリ紹介（交互レイアウト） ---------- */
.showcase { display: grid; gap: 120px; }
.scene.reverse { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.scene.reverse .scene-visual { order: 2; }
.scene.reverse .scene-visual::before { inset: -6% -40% 10% 10%; }
.scene-copy .app-mark { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.scene-copy .app-mark img { width: 56px; height: 56px; border-radius: 14px; box-shadow: var(--shadow-md); }
.scene-copy .app-mark .subname {
  font-family: var(--font-en); color: var(--accent); font-weight: 600;
  font-size: .75rem; letter-spacing: .14em; text-transform: uppercase;
}
.scene-copy .store-buttons { margin-top: 4px; }
.scene-visual .device-stage { position: relative; box-shadow: var(--shadow-lg); }

@media (max-width: 900px) {
  .kv-collage { margin: 0 0 56px; }
  .kv-collage::before { inset: 14% -10% -6% 22%; }
  .showcase { gap: 88px; }
  .scene.reverse { grid-template-columns: 1fr; }
  .scene.reverse .scene-visual { order: 0; }
  .scene.reverse .scene-visual::before { inset: -5% -10% 12% 12%; }
}
@media (max-width: 720px) {
  .device { border-width: 5px; border-radius: 20px; }
  .device-stage figcaption { font-size: .65rem; padding: 2px 9px; }
}

/* ヒーロー内の画像に .app-hero img のアイコン用サイズが効かないようにする */
.app-hero .device img { width: 100%; height: 100%; border-radius: 0; box-shadow: none; }
.app-hero .kv-collage img { height: auto; }
.app-hero .kv-icons img { width: 56px; height: 56px; border-radius: 14px; }
