/* =========================================================
   Shirabe-O ～調べ緒～ 公式サイト スタイルシート（ライトテーマ）
   ========================================================= */

:root {
  --bg:            #ffffff;
  --bg-2:          #f7f2ff;
  --bg-3:          #efe7ff;
  --panel:         #ffffff;
  --panel-border:  rgba(124, 58, 237, 0.16);
  --text:          #000000;
  --text-dim:      #000000;
  --text-mute:     #000000;
  --accent:        #9333ea;
  --accent-2:      #c026d3;
  --accent-3:      #ec4899;
  --accent-glow:   rgba(147, 51, 234, 0.30);
  --grad:          linear-gradient(120deg, #7c3aed 0%, #a855f7 45%, #ec4899 100%);
  --grad-soft:     linear-gradient(120deg, rgba(124,58,237,0.10), rgba(236,72,153,0.10));
  --shadow:        0 12px 34px -20px rgba(80, 40, 120, 0.40);
  --radius:        20px;
  --maxw:          1140px;
  --font-sans:     "Noto Sans JP", system-ui, sans-serif;
  --font-head:     "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.85;
  letter-spacing: 0.02em;
  overflow-x: hidden;
  font-feature-settings: "palt";
}

/* 背景の淡い光彩 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 600px at 12% -8%, rgba(168, 85, 247, 0.10), transparent 60%),
    radial-gradient(800px 600px at 92% 4%, rgba(236, 72, 153, 0.08), transparent 55%),
    radial-gradient(900px 700px at 50% 108%, rgba(124, 58, 237, 0.07), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #faf7ff 50%, #ffffff 100%);
}

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

img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(124, 58, 237, 0.12);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
/* ヘッダーは中身を左右に広めに寄せる */
.container.nav { max-width: calc(var(--maxw) * 1.25); }
.nav__logo { display: flex; align-items: center; gap: 10px; }
.nav__icon { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 4px 12px -4px var(--accent-glow); }
.nav__title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.06rem;
  letter-spacing: 0.02em;
  color: var(--text);
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}
.nav__title small { font-weight: 700; font-size: 0.72rem; color: var(--accent); letter-spacing: 0; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a {
  font-size: 0.92rem;
  color: var(--text-dim);
  font-weight: 600;
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--accent); }
.nav__cta {
  padding: 9px 20px;
  border-radius: 999px;
  background: var(--grad);
  color: #fff !important;
  font-weight: 700;
  box-shadow: 0 6px 22px -6px var(--accent-glow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.nav__cta:hover { transform: translateY(-2px); box-shadow: 0 10px 28px -6px var(--accent-glow); }
.nav__toggle { display: none; background: none; border: none; color: var(--text); cursor: pointer; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn--primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 12px 30px -8px rgba(124, 58, 237, 0.6);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -8px rgba(124, 58, 237, 0.7); }
/* ヒーロー画像上に置くゴーストボタン（白基調） */
.btn--ghost {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.65);
  color: #fff;
  backdrop-filter: blur(4px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.28); transform: translateY(-3px); }

/* ---------- バッジ / ピル（濃色背景の上で使用） ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(4px);
}

/* ---------- ヒーロー（左：写真／右：テキスト） ---------- */
.hero {
  position: relative;
  padding: 92px 0 96px;
  overflow: hidden;
  isolation: isolate;
  background: #f3ecff;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,0) 28%, rgba(255,255,255,0.55) 56%, rgba(255,255,255,0.86) 80%),
    url("../img/hero.jpg");
  background-size: cover;
  background-position: center;
}
.hero .container { display: flex; justify-content: flex-end; }
.hero__content {
  width: 100%;
  max-width: 560px;
  text-align: center;
}
.hero__logo {
  width: 100%;
  max-width: 480px;
  margin: 0 auto 22px;
  filter: drop-shadow(0 6px 22px rgba(168, 85, 247, 0.28));
}
.hero h1 {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(1.9rem, 5vw, 3.6rem);
  line-height: 1.2;
  letter-spacing: 0.01em;
  white-space: nowrap;
  margin: 16px 0 22px;
  background: linear-gradient(100deg, #7c3aed, #c026d3 55%, #ec4899);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lead {
  max-width: 540px;
  margin: 0 auto 32px;
  font-size: 1.04rem;
  color: var(--text-dim);
  text-align: left;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.hero__meta {
  margin-top: 28px;
  display: flex;
  gap: 22px 26px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 0.86rem;
  color: var(--text-mute);
}
.hero__meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero__meta svg { color: var(--accent); }
/* ヒーローは明るい背景なのでピル/ゴーストを濃色仕様に */
.hero .pill {
  color: var(--accent);
  background: rgba(168, 85, 247, 0.12);
  border-color: rgba(168, 85, 247, 0.35);
  backdrop-filter: none;
}
.hero .btn--ghost {
  background: #fff;
  border-color: rgba(124, 58, 237, 0.4);
  color: var(--accent);
  backdrop-filter: none;
}
.hero .btn--ghost:hover { background: #faf5ff; transform: translateY(-3px); }
.hero .store-badges { justify-content: center; margin-bottom: 16px; }
.hero .hero__actions { margin-top: 0; }

/* ---------- ストアバッジ（公式ガイドライン準拠の体裁） ---------- */
.store-badges { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 184px;
  padding: 10px 18px;
  border-radius: 12px;
  background: #000;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  transition: transform 0.2s, box-shadow 0.2s;
}
.store-badge:hover { transform: translateY(-3px); box-shadow: 0 16px 32px -14px rgba(0, 0, 0, 0.55); }
.store-badge__logo { width: 26px; height: 26px; flex: none; }
.store-badge__text { display: flex; flex-direction: column; line-height: 1.12; text-align: left; }
.store-badge__text small { font-size: 0.64rem; letter-spacing: 0.04em; }
.store-badge__text strong { font-size: 1.16rem; font-weight: 600; letter-spacing: 0.01em; }

/* ---------- セクション共通 ---------- */
.section { padding: 88px 0; }
.section__head { text-align: center; margin-bottom: 56px; }
.section__head h2 {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(1.9rem, 4.5vw, 2.9rem);
  letter-spacing: 0.015em;
  margin-bottom: 16px;
  background: linear-gradient(100deg, #7c3aed, #c026d3 55%, #ec4899);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section__head p { color: var(--text-dim); font-size: 1.02rem; }
.section--alt { background: linear-gradient(180deg, transparent, #f6f0ff 18%, #f6f0ff 82%, transparent); }

/* ---------- 機能グリッド ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 34px 28px;
  box-shadow: var(--shadow);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(168, 85, 247, 0.55);
  box-shadow: 0 26px 50px -24px var(--accent-glow);
}
.feature-card__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: var(--grad);
  margin-bottom: 20px;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.6rem;
  line-height: 1;
  box-shadow: 0 8px 22px -8px var(--accent-glow);
}
.feature-card__icon svg { width: 26px; height: 26px; }
.pill svg { width: 16px; height: 16px; }
.hero__meta svg { width: 16px; height: 16px; }
.feature-card h3 { font-size: 1.18rem; font-weight: 700; margin-bottom: 10px; letter-spacing: 0.03em; }
.feature-card p { color: var(--text-dim); font-size: 0.95rem; }

/* ---------- こんな方へ ---------- */
.audience {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 880px;
  margin: 0 auto 28px;
}
.audience li {
  list-style: none;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 14px;
  padding: 18px 22px;
  color: var(--text);
  font-size: 0.98rem;
  box-shadow: var(--shadow);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.audience li:hover {
  transform: translateY(-6px);
  border-color: rgba(168, 85, 247, 0.55);
  box-shadow: 0 26px 50px -24px var(--accent-glow);
}
.audience li svg { flex: none; width: 22px; height: 22px; color: var(--accent); margin-top: 3px; }
.audience-note { text-align: center; color: var(--text-dim); font-size: 0.96rem; }

/* ---------- 機能一覧 ---------- */
.func-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.func-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.func-card:hover {
  border-color: rgba(168, 85, 247, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 26px 50px -24px var(--accent-glow);
}
.func-card__head {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(124, 58, 237, 0.16);
}
.func-card__head .ic {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 11px;
  display: grid; place-items: center;
  background: var(--grad-soft);
  border: 1px solid rgba(124, 58, 237, 0.22);
  color: var(--accent);
}
.func-card__head .ic svg { width: 22px; height: 22px; }
.func-card h3 { font-size: 1.1rem; letter-spacing: 0.03em; }
.func-card ul { list-style: none; }
.func-card li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 9px;
  color: var(--text-dim);
  font-size: 0.92rem;
  line-height: 1.7;
}
.func-card li::before {
  content: "";
  position: absolute;
  left: 2px; top: 0.7em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.func-card .note { display: block; margin-top: 12px; color: var(--text-mute); font-size: 0.82rem; padding-left: 2px; }

/* ---------- スクリーンショット（横スワイプ カルーセル） ---------- */
.shots-carousel { position: relative; }
.shots {
  --shot-w: 300px;
  /* 左右の切れ目をグラデーションでフェード（端に到達したら該当側は 0 に） */
  --fade-l: 56px;
  --fade-r: 56px;
  display: flex;
  gap: 28px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 20px 0 46px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--fade-l), #000 calc(100% - var(--fade-r)), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 var(--fade-l), #000 calc(100% - var(--fade-r)), transparent 100%);
}
/* 端に到達した側はフェードを消す（先頭の左・末尾の右は切れていないため） */
.shots-carousel.at-start .shots { --fade-l: 0px; }
.shots-carousel.at-end .shots { --fade-r: 0px; }
.shots::-webkit-scrollbar { height: 0; }
/* マウスのドラッグでスクロール（JS が付与） */
.shots.is-grab { cursor: grab; }
.shots.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
  user-select: none;
  -webkit-user-select: none;
}
.shot img { -webkit-user-drag: none; user-select: none; }
.shot {
  position: relative;
  flex: 0 0 var(--shot-w);
  scroll-snap-align: start;
  border-radius: 32px;
  padding: 10px;
  background: linear-gradient(160deg, rgba(168,85,247,0.6), rgba(236,72,153,0.45));
  box-shadow: 0 26px 50px -28px rgba(80, 40, 120, 0.55), 0 0 40px -22px var(--accent-glow);
  transition: transform 0.25s, box-shadow 0.25s;
}
.shot:hover {
  transform: translateY(-6px);
  box-shadow: 0 32px 56px -26px rgba(80, 40, 120, 0.6), 0 24px 50px -24px var(--accent-glow);
}
.shot img { border-radius: 24px; width: 100%; height: auto; display: block; }
.shot__caption {
  position: absolute;
  bottom: -34px; left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 0.85rem;
  color: var(--text-dim);
  font-weight: 600;
}
/* 前後ナビ矢印 */
.shots-nav {
  position: absolute; top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 46px; height: 46px;
  padding: 0; border: none; cursor: pointer;
  border-radius: 50%;
  color: var(--accent);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 22px -8px var(--accent-glow), 0 2px 8px -5px rgba(0, 0, 0, 0.25);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, transform 0.2s, opacity 0.25s;
}
.shots-nav:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.shots-nav svg { width: 22px; height: 22px; }
.shots-nav--prev { left: -6px; }
.shots-nav--next { right: -6px; }
.shots-nav:disabled { opacity: 0; pointer-events: none; }
/* ドットインジケーター */
.shots-dots { display: flex; justify-content: center; gap: 8px; margin-top: 2px; min-height: 9px; }
.shots-dots button {
  width: 9px; height: 9px; padding: 0;
  border: none; cursor: pointer; border-radius: 999px;
  background: rgba(147, 51, 234, 0.28);
  transition: width 0.25s, background 0.25s;
}
.shots-dots button.is-active { width: 24px; background: var(--accent); }
/* モーション低減設定を尊重（スムーススクロール無効化） */
@media (prefers-reduced-motion: reduce) {
  .shots { scroll-behavior: auto; }
  .shot { transition: none; }
}

/* ---------- 使い方 ステップ ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 36px 24px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.step:hover {
  transform: translateY(-6px);
  border-color: rgba(168, 85, 247, 0.55);
  box-shadow: 0 26px 50px -24px var(--accent-glow);
}
.step__num {
  width: 46px; height: 46px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.25rem;
  color: #fff;
  background: var(--grad);
  box-shadow: 0 8px 22px -8px var(--accent-glow);
}
.step h3 { font-size: 1.08rem; margin-bottom: 10px; letter-spacing: 0.03em; }
.step p { color: var(--text-dim); font-size: 0.92rem; }

/* ---------- 技術 ---------- */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: 920px;
  margin: 0 auto;
}
.tech-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: var(--shadow);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.tech-item:hover {
  transform: translateY(-6px);
  border-color: rgba(168, 85, 247, 0.55);
  box-shadow: 0 26px 50px -24px var(--accent-glow);
}
.tech-item__mark {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 11px;
  display: grid; place-items: center;
  background: var(--grad-soft);
  border: 1px solid rgba(124, 58, 237, 0.22);
  color: var(--accent);
  font-weight: 800;
  font-size: 0.9rem;
}
.tech-item h3 { font-size: 1.02rem; margin-bottom: 4px; }
.tech-item p { color: var(--text-dim); font-size: 0.9rem; line-height: 1.7; }

/* ---------- CTA バナー ---------- */
.cta-banner {
  position: relative;
  overflow: hidden;
  text-align: center;
  border-radius: 28px;
  padding: 72px 32px;
  background:
    radial-gradient(600px 300px at 30% 0%, rgba(192, 132, 252, 0.55), transparent 60%),
    radial-gradient(600px 300px at 80% 100%, rgba(236, 72, 153, 0.5), transparent 60%),
    linear-gradient(120deg, #7c3aed, #a21caf);
  box-shadow: 0 30px 70px -34px rgba(124, 58, 237, 0.7);
}
.cta-banner .pill { margin-bottom: 22px; }
.cta-banner h2 {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: 0.015em;
  margin-bottom: 16px;
  color: #fff;
}
.cta-banner p { color: rgba(255, 255, 255, 0.9); margin-bottom: 34px; }
.cta-banner .hero__meta { color: rgba(255, 255, 255, 0.85); }

/* ---------- フッター ---------- */
.site-footer {
  margin-top: 40px;
  border-top: 1px solid rgba(124, 58, 237, 0.14);
  padding: 60px 0 36px;
  background: #faf7ff;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
}
.footer-brand__logo { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand__logo img { width: 38px; height: 38px; border-radius: 9px; }
.footer-brand p { color: var(--text-mute); font-size: 0.88rem; max-width: 320px; }
.footer-col h4 { font-size: 0.95rem; margin-bottom: 16px; color: var(--text); letter-spacing: 0.05em; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 11px; }
.footer-col a { color: var(--text-dim); font-size: 0.9rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(124, 58, 237, 0.12);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--text-mute);
  font-size: 0.82rem;
  text-align: center;
}

/* ---------- 法的文書ページ ---------- */
.legal {
  max-width: 820px;
  margin: 0 auto;
  padding: 72px 0 40px;
}
.legal__header { margin-bottom: 44px; text-align: center; }
.legal__header h1 {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: 0.02em;
  margin-bottom: 12px;
  background: linear-gradient(100deg, #7c3aed, #c026d3 55%, #ec4899);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.legal__header .updated { color: var(--text-mute); font-size: 0.86rem; }
.legal__body {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 44px 48px;
  box-shadow: var(--shadow);
}
.legal__body h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 38px 0 14px;
  padding-left: 14px;
  border-left: 4px solid var(--accent);
  letter-spacing: 0.03em;
}
.legal__body h2:first-child { margin-top: 0; }
.legal__body h3 { font-size: 1.05rem; margin: 22px 0 8px; color: var(--accent-2); }
.legal__body p { color: var(--text-dim); margin-bottom: 14px; font-size: 0.96rem; }
.legal__body ul, .legal__body ol { color: var(--text-dim); margin: 0 0 16px 1.4em; font-size: 0.96rem; }
.legal__body li { margin-bottom: 8px; }
.legal__body a { color: var(--accent-2); text-decoration: underline; }
.legal__body table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 20px;
  font-size: 0.94rem;
}
.legal__body th, .legal__body td {
  border: 1px solid rgba(124, 58, 237, 0.18);
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
  color: var(--text-dim);
}
.legal__body th {
  width: 32%;
  background: rgba(168, 85, 247, 0.08);
  color: var(--text);
  font-weight: 600;
}
.legal__back { display: inline-block; margin-top: 32px; color: var(--accent-2); font-weight: 600; }
.legal__back:hover { text-decoration: underline; }

/* アカウント・データ削除セクション（データセーフティ用・アンカー #account-deletion で直接表示） */
.legal__callout {
  margin: 36px 0;
  padding: 4px 28px 24px;
  background: var(--grad-soft);
  border: 1px solid rgba(124, 58, 237, 0.30);
  border-radius: 16px;
}
.legal__callout h2 { scroll-margin-top: 88px; } /* sticky header(68px) に隠れないよう余白 */
.legal__callout-meta { font-size: 0.9rem; margin-bottom: 10px; }

/* ---------- ユーティリティ ---------- */
.nb { white-space: nowrap; }
.sp-br { display: none; }

/* ---------- アニメーション ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- レスポンシブ ---------- */
@media (max-width: 920px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .func-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .nav__links {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(124, 58, 237, 0.15);
    padding: 8px 0;
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 14px 24px; width: 100%; text-align: center; }
  .nav__cta { margin: 10px auto; }
  .nav__toggle { display: block; }
  .nav__title { font-size: 0.98rem; }
  .sp-br { display: block; }
  .hero { padding: 56px 0 64px; }
  .hero__bg {
    background-image:
      linear-gradient(180deg, rgba(255,255,255,0.45), rgba(255,255,255,0.84)),
      url("../img/hero.jpg");
    background-position: 26% center;
  }
  .hero .container { justify-content: center; }
  .hero__content { max-width: 100%; text-align: center; }
  .hero h1 { font-size: 2.05rem; line-height: 1.3; }
  .hero__logo { margin: 0 auto 22px; max-width: 260px; }
  .hero__lead { font-size: 0.98rem; }
  .hero__actions, .hero__meta { justify-content: center; }
  .hero .store-badges { justify-content: center; }
  /* スワイプで切り替えるカルーセル（こんな方へ／主な特長／機能一覧） */
  .audience, .features, .func-grid {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    /* overflow-x:auto は overflow-y を auto に昇格させるため、横スワイプ中に
       コンテナ内部が縦にもスクロールしてぶれる。縦スクロールを明示的に無効化する
       （横スクロールは維持。縦ページスクロール/ピンチズームは touch-action 無指定で温存）。 */
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    gap: 14px;
    padding: 6px 24px 16px;
    margin: 0 -24px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
  }
  .audience::-webkit-scrollbar,
  .features::-webkit-scrollbar,
  .func-grid::-webkit-scrollbar { height: 0; }
  .audience > li,
  .features > .feature-card,
  .func-grid > .func-card {
    flex: 0 0 80%;
    scroll-snap-align: center;
  }
  .section { padding: 64px 0; }
  /* 画面紹介カルーセル: 1画像ずつスワイプ、矢印は隠しスワイプ操作に */
  .shots { --shot-w: 78%; padding: 16px 0 40px; }
  .shots-nav { display: none; }
  .legal__body { padding: 30px 22px; }
  .legal__body th { width: auto; display: block; }
  .legal__body td { display: block; }
  .legal__callout { padding: 2px 16px 18px; }
}
