/* はたけみ映像室 共通のスタイル（2026-12-01 ポップな水彩の雰囲気に変更）
   色はここの :root だけで決める（夜の画面用は下の2か所） */
:root {
  --bg: #fffaf4;            /* クリーム */
  --bg-alt: #fff2ea;        /* うすいピーチ */
  --bg-mint: #eef7f2;       /* うすいミント */
  --card: #ffffff;
  --text: #4a3a32;          /* こげ茶 */
  --muted: #86736a;
  --line: #f1e3d8;
  --accent: #c4573a;        /* ボタンのコーラル（白い文字が読める濃さ） */
  --accent-soft: #fde6dc;
  --on-accent: #ffffff;
  --coral: #ec8466;         /* 飾りのコーラル（ワンピース） */
  --yellow: #f5cd62;        /* 飾りの黄色（シャツ） */
  --yellow-soft: #fdf3d4;
  --mint: #8ccab4;          /* 飾りのミント（ベビー服） */
  --mint-soft: #e3f3ec;
  --blue: #7096c8;          /* 飾りの青（オーバーオール） */
  --blue-soft: #e7eef8;
  --green: #357a65;         /* 小見出しの文字 */
  --green-soft: #e3f3ec;
  --warn: #9a5b00;
  --shadow: 0 10px 30px rgb(196 120 90 / .12);
  --round: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", sans-serif;
  --serif: var(--round);    /* 以前の見出し用の名前。丸ゴシックに置き換え */
  --sans: "Zen Kaku Gothic New", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", "Yu Gothic UI", sans-serif;
  --latin: "Quicksand", var(--round);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #211c19; --bg-alt: #2a221e; --bg-mint: #1e2724; --card: #2c2521; --text: #f3e9e1; --muted: #b8a69b;
    --line: #42362f; --accent: #f0937a; --accent-soft: #42291f; --on-accent: #211c19;
    --coral: #f0937a; --yellow: #f2cf72; --yellow-soft: #3a3120; --mint: #96d2bc; --mint-soft: #22332d;
    --blue: #93b2dc; --blue-soft: #232c3a; --green: #9ad5bf; --green-soft: #22332d; --warn: #e0b060;
    --shadow: 0 10px 30px rgb(0 0 0 / .3);
  }
}
:root[data-theme="dark"] {
  --bg: #211c19; --bg-alt: #2a221e; --bg-mint: #1e2724; --card: #2c2521; --text: #f3e9e1; --muted: #b8a69b;
  --line: #42362f; --accent: #f0937a; --accent-soft: #42291f; --on-accent: #211c19;
  --coral: #f0937a; --yellow: #f2cf72; --yellow-soft: #3a3120; --mint: #96d2bc; --mint-soft: #22332d;
  --blue: #93b2dc; --blue-soft: #232c3a; --green: #9ad5bf; --green-soft: #22332d; --warn: #e0b060;
  --shadow: 0 10px 30px rgb(0 0 0 / .3);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--sans); font-size: 16px; line-height: 1.9; letter-spacing: .03em;
}
img, svg { max-width: 100%; }
a { color: var(--accent); }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 740px; }

/* 準備中の帯（公開するときに消す） */
.draft-bar {
  background: var(--yellow-soft); color: var(--text); text-align: center;
  font-size: .82rem; padding: 6px 16px; letter-spacing: .04em; border-bottom: 1px solid var(--line);
}

/* ヘッダー */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 16px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.logo svg { width: 32px; height: 32px; flex: none; }
.logo span { font-family: var(--round); font-weight: 700; font-size: 1.15rem; letter-spacing: .08em; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 26px; font-size: .92rem; margin-left: auto; font-weight: 700; }
.nav a { color: var(--text); text-decoration: none; white-space: nowrap; position: relative; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 3px; border-radius: 3px;
  background: var(--yellow); transform: scaleX(0); transition: transform .2s;
}
.nav a:hover::after { transform: scaleX(1); }
.nav-cta {
  background: var(--accent); color: var(--on-accent); padding: 8px 20px; border-radius: 999px; font-weight: 700;
  font-size: .92rem; text-decoration: none; white-space: nowrap; box-shadow: 0 4px 0 color-mix(in srgb, var(--accent) 70%, #000);
}
.nav-cta:hover { color: var(--on-accent); transform: translateY(1px); box-shadow: 0 3px 0 color-mix(in srgb, var(--accent) 70%, #000); }

/* ボタン */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-family: var(--round); font-weight: 700; text-decoration: none; cursor: pointer;
  padding: 14px 30px; border-radius: 999px; border: 2px solid var(--accent);
  background: var(--accent); color: var(--on-accent);
  box-shadow: 0 5px 0 color-mix(in srgb, var(--accent) 70%, #000); transition: transform .12s, box-shadow .12s;
}
.btn:hover { transform: translateY(2px); box-shadow: 0 3px 0 color-mix(in srgb, var(--accent) 70%, #000); }
.btn.sub { background: var(--card); color: var(--accent); }
.btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; }

/* 見出し */
.section { padding: 100px 0; position: relative; }
.section.alt { background: var(--bg-alt); }
.section.mint { background: var(--bg-mint); }
.eyebrow {
  display: inline-block; font-family: var(--latin); font-size: .95rem; letter-spacing: .14em; color: var(--green);
  font-weight: 700; margin-bottom: 8px; text-transform: lowercase;
}
.eyebrow::before { content: "● "; color: var(--yellow); font-size: .8em; }
.section h2 {
  font-family: var(--round); font-weight: 700; font-size: clamp(1.55rem, 3.4vw, 2.15rem);
  line-height: 1.55; margin: 0 0 18px; letter-spacing: .06em;
}
.section .intro { color: var(--muted); margin: 0 0 48px; max-width: 40em; }
.center { text-align: center; }
.center .intro { margin-left: auto; margin-right: auto; }
.marker { background: linear-gradient(transparent 60%, var(--yellow-soft) 60%); }

/* フッター */
.site-footer { background: var(--bg-mint); padding: 56px 0 40px; font-size: .88rem; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.site-footer .logo span { font-size: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-footer a { color: var(--muted); }
.site-footer .copy { width: 100%; margin: 8px 0 0; font-size: .8rem; font-family: var(--latin); }

/* 書類のページ（同意事項・プライバシーポリシー・特商法） */
.doc { padding: 56px 0 96px; background: linear-gradient(180deg, var(--bg-alt), var(--bg) 320px); }
.doc .paper { background: var(--card); border-radius: 28px; padding: 48px clamp(20px, 5vw, 56px) 56px; box-shadow: var(--shadow); }
.doc h1 { font-family: var(--round); font-size: clamp(1.5rem, 3.4vw, 1.95rem); letter-spacing: .06em; line-height: 1.5; margin: 0 0 8px; }
.doc .doc-lead { color: var(--muted); margin: 0 0 32px; }
.doc h2 {
  font-family: var(--round); font-size: 1.12rem; margin: 40px 0 12px; letter-spacing: .04em;
  display: flex; align-items: center; gap: 10px;
}
.doc h2::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--coral); flex: none; }
.doc ul, .doc ol { padding-left: 1.3em; margin: 0 0 12px; }
.doc li { margin: 4px 0; }
.doc li::marker { color: var(--coral); }
.doc p { margin: 0 0 12px; }
.doc strong { color: var(--text); background: linear-gradient(transparent 60%, var(--yellow-soft) 60%); }
.table-scroll { overflow-x: auto; margin: 12px 0 16px; border-radius: 14px; border: 1px solid var(--line); }
.doc table { width: 100%; border-collapse: collapse; font-size: .93rem; background: var(--card); }
.doc th, .doc td { border-bottom: 1px solid var(--line); padding: 12px 14px; vertical-align: top; text-align: left; }
.doc tr:last-child th, .doc tr:last-child td { border-bottom: 0; }
.doc td + td, .doc th + td, .doc th + th { border-left: 1px solid var(--line); }
.doc thead th { background: var(--mint-soft); font-weight: 700; }
.doc tbody th { background: var(--bg-alt); font-weight: 700; white-space: nowrap; width: 9.5em; }
.doc .date { margin-top: 48px; color: var(--muted); text-align: right; }
.todo { background: var(--accent-soft); color: var(--accent); font-weight: 700; padding: 0 6px; border-radius: 4px; }

/* ロゴの年輪 */
.ring { fill: none; stroke: var(--green); }
.fruit { fill: var(--coral); }

@media (max-width: 760px) {
  .site-header .wrap { height: auto; padding-top: 10px; padding-bottom: 8px; flex-wrap: wrap; gap: 6px; }
  .nav-cta { order: 1; margin-left: auto; padding: 6px 16px; font-size: .86rem; }
  .nav { order: 2; width: 100%; margin-left: 0; gap: 20px; overflow-x: auto; padding-bottom: 6px; font-size: .86rem; }
  .section { padding: 68px 0; }
  .doc { padding: 28px 0 64px; }
  .doc .paper { border-radius: 20px; padding-top: 32px; }
  .doc tbody th { white-space: normal; width: 6.5em; }
}
@media (max-width: 560px) {
  .doc tbody tr { display: block; border-bottom: 1px solid var(--line); }
  .doc tbody tr:last-child { border-bottom: 0; }
  .doc tbody th, .doc tbody td { display: block; width: auto; border: 0 !important; }
  .doc tbody th { padding-bottom: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .nav a::after { transition: none; }
}
