/* 度付きメガネシミュレーション LP 共通スタイル(アプリのピンク系パレット=ロゴ由来に準拠) */
:root {
  --bg-grad: linear-gradient(180deg, #fdf4ef 0%, #fbe4da 100%);
  --bg: #fdf4ef;
  --text: #46302a;
  --text-sub: #77625b;
  --text-faint: #b1968c;
  --accent: oklch(0.62 0.1 22);
  --accent-deep: oklch(0.52 0.1 22);
  --accent-pale: oklch(0.94 0.03 22);
  --border: oklch(0.86 0.04 22);
  --card-bg: #ffffff;
  --shadow-card: 0 4px 14px rgba(93, 63, 50, 0.08);
  --shadow-cta: 0 8px 20px rgba(93, 63, 50, 0.25);
  --max-w: 860px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-deep); }

/* ヘッダー */
.site-header {
  background: var(--bg-grad);
  border-bottom: 1px solid var(--border);
}
.site-header .inner {
  max-width: var(--max-w); margin: 0 auto; padding: 14px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.site-header .brand {
  font-weight: 700; font-size: 1.02rem; color: var(--text); text-decoration: none;
  display: flex; align-items: center; gap: 8px;
}
.site-header .brand .mark { color: var(--accent-deep); }
.site-nav { display: flex; gap: 4px 16px; flex-wrap: wrap; font-size: 0.86rem; }
.site-nav a { color: var(--text-sub); text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--accent-deep); }

/* 本文レイアウト */
main { max-width: var(--max-w); margin: 0 auto; padding: 32px 20px 64px; }
main.article { max-width: 720px; }
h1 { font-size: 1.7rem; line-height: 1.4; margin-bottom: 0.6em; }
h2 { font-size: 1.25rem; line-height: 1.45; margin: 2.2em 0 0.7em; padding-left: 12px; border-left: 4px solid var(--accent); }
h3 { font-size: 1.05rem; margin: 1.6em 0 0.5em; }
p { margin: 0.8em 0; }
ul, ol { margin: 0.8em 0; padding-left: 1.5em; }
li { margin: 0.3em 0; }
.lead { color: var(--text-sub); font-size: 1.02rem; }
.note { font-size: 0.86rem; color: var(--text-sub); background: var(--accent-pale); border-radius: 10px; padding: 12px 16px; }
section { margin-bottom: 8px; }

/* カード */
.card {
  background: var(--card-bg); border-radius: 16px; box-shadow: var(--shadow-card);
  padding: 20px 22px; margin: 1em 0;
}

/* CTAボタン */
.btn {
  display: inline-block; text-decoration: none; text-align: center;
  border-radius: 999px; padding: 14px 32px; font-weight: 700; font-size: 1.02rem;
}
.btn-primary { background: var(--accent-deep); color: #fff; box-shadow: var(--shadow-cta); }
.btn-primary:hover { background: var(--accent); }
.btn-secondary { background: #fff; color: var(--accent-deep); border: 2px solid var(--accent-deep); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin: 1.4em 0; }
.btn-sub { font-size: 0.8rem; color: var(--text-faint); }

/* ヒーロー(トップ用) */
.hero { background: var(--bg-grad); border-bottom: 1px solid var(--border); }
.hero .inner { max-width: var(--max-w); margin: 0 auto; padding: 48px 20px 40px; }
.hero h1 { font-size: 1.9rem; }
.hero .catch { font-size: 1.06rem; color: var(--text-sub); max-width: 620px; }
.hero img { border-radius: 16px; box-shadow: var(--shadow-card); margin-top: 24px; }
.hero-split { position: relative; display: inline-block; margin: 0; line-height: 0; }
.hero-split img { margin-top: 24px; }
.hero-split::after {
  content: ""; position: absolute; top: 24px; bottom: 0; left: 50%;
  border-left: 2px dashed rgba(255, 255, 255, 0.9);
  filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.45));
}
.split-label {
  position: absolute; top: 36px; line-height: 1.4;
  background: rgba(70, 48, 42, 0.72); color: #fff;
  font-size: 0.8rem; font-weight: 700; padding: 4px 12px; border-radius: 999px;
}
.split-label.left { left: 12px; }
.split-label.right { right: 12px; }
@media (max-width: 600px) { .split-label { font-size: 0.7rem; padding: 3px 9px; } }
@media (max-width: 600px) { .hero h1 { font-size: 1.5rem; } h1 { font-size: 1.4rem; } }

/* ステップ・特徴グリッド */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 1em 0; }
@media (max-width: 640px) { .grid3 { grid-template-columns: 1fr; } }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent-deep); color: #fff; font-weight: 700; font-size: 0.9rem; margin-bottom: 8px;
}
.shots { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin: 1.4em 0; }
.shots img { width: min(230px, 44vw); border-radius: 18px; box-shadow: var(--shadow-card); }

/* FAQ */
.faq-item { margin: 0.9em 0; }
.faq-item summary { font-weight: 700; cursor: pointer; padding: 4px 0; }
.faq-item[open] summary { color: var(--accent-deep); }
.faq-item .a { padding: 4px 0 8px 1.2em; }

/* 表 */
table { border-collapse: collapse; width: 100%; margin: 1em 0; font-size: 0.92rem; }
th, td { border: 1px solid var(--border); padding: 8px 12px; text-align: left; }
th { background: var(--accent-pale); }

/* パンくず・フッター */
.breadcrumb { font-size: 0.82rem; color: var(--text-faint); margin-bottom: 1.4em; }
.breadcrumb a { color: var(--text-faint); }
.site-footer { border-top: 1px solid var(--border); background: var(--bg-grad); margin-top: 40px; }
.site-footer .inner {
  max-width: var(--max-w); margin: 0 auto; padding: 28px 20px 36px;
  font-size: 0.84rem; color: var(--text-sub);
}
.site-footer nav { display: flex; gap: 6px 18px; flex-wrap: wrap; margin-bottom: 12px; }
.site-footer a { color: var(--text-sub); text-decoration: none; }
.site-footer a:hover { color: var(--accent-deep); }
.site-footer .copy { color: var(--text-faint); }
