/* app_theme_light.css - アプリの明るい配色(HP の本文・マイページと同じクリームの地)。40 作成 2026-09-28 v2_0 → v2_1
 * ★ v2_1(2026-09-28): YUKARI「色も薄くします。はだめです。みずらくなる」「なんでいつも薄い色なのか」= 全画面の決まり:
 *   読ませる文字を薄い色にしない。補足(--fv-muted)も本文と同じ色。注記は小さくするだけ(.fv-hint = §11)。
 *
 * YUKARI 2026-09-28「HP の本文と同じ明るい色」「マイページが明るい色で登録画面がこの色でおかしいよね」。
 * 色の元 = マイページ(mypage/mypage_design.css): 地 #faf8f3・文字 #1a1a1a・紺 #10134f・金 #be994d・線 #ece6dc・面 #fffdfb。
 *
 * ★ 効くのは <body class="fv-light …"> の中だけ(base.html v2_0 が request のあるアプリの画面にだけ付ける。
 *   HP の静的生成と図鑑には付かない)。テンプレートの Tailwind のクラス名はそのまま、ここで色だけ読み替える。
 * ★ 文字の色は変数(--fv-*)で持つ。紺の面(ボタン・紺の帯)の中では変数を明るい値に切り替えるので、
 *   紺のボタンの上の「金の文字」も読める(下の §2)。
 * ★ コントラスト(WCAG。AA = 本文 4.5 以上 / 部品の枠 3 以上)は README の表(計算 = preview/contrast.py)。全部 AA 以上。
 */

/* ── §1 変数(明るい面の値)──────────────────────────────────── */
body.fv-light,
body.fv-light .mystic-card,
body.fv-light [class*="bg-cosmic-"],
body.fv-light .bg-white, body.fv-light .bg-gray-50,
body.fv-light [class*="bg-red-9"], body.fv-light [class*="bg-amber-9"], body.fv-light [class*="bg-yellow-9"],
body.fv-light [class*="bg-emerald-9"],   /* emerald = green と同じ(F3 11-24) */
body.fv-light [class*="bg-green-9"], body.fv-light [class*="from-"][class*="-900"] {
  --fv-text: #1a1a1a;     /* 本文 8.54(地 #faf8f3)/ 8.93(面 #fffdfb) */
  --fv-strong: #10134f;   /* 見出し 16.11 / 16.85 */
  --fv-muted: #1a1a1a;    /* v2_1: 補足も本文と同じ色(薄くしない)8.54 / 8.93 */
  --fv-gold: #7a5c1e;     /* 金の文字(暗い金)5.86 / 6.13。#be994d は文字には使わない(2.52) */
  --fv-err: #b3261e;      /* 6.16 / 6.44 */
  --fv-warn: #8a5a00;     /* 5.84(面)*/
  --fv-ok: #1f7a3a;       /* 5.30(面)*/
}

/* ── §2 紺の面(ボタン・旧 紫の面)= 変数を明るい値へ ──────────────── */
body.fv-light .mystic-button,
body.fv-light .bg-mystic-purple, body.fv-light .bg-mystic-blue,
body.fv-light .bg-purple-800, body.fv-light .bg-purple-900, body.fv-light .bg-indigo-600, body.fv-light .bg-indigo-700,
body.fv-light .from-mystic-purple {
  --fv-text: #ffffff;     /* 紺 #10134f の上 17.10 */
  --fv-strong: #ffffff;
  --fv-muted: #ffffff;    /* v2_1: 紺の面の中の補足も本文と同じ白 17.10 */
  --fv-gold: #e8cf8f;     /* 11.20 */
  --fv-err: #ffb4ab;
  --fv-warn: #ffd88a;
  --fv-ok: #9fe0b0;
}
/* 金の面(bg-mystic-gold)= 文字は全部紺(紺 on #be994d = 6.39。白は 2.67 で不可) */
body.fv-light .bg-mystic-gold {
  --fv-text: #10134f; --fv-strong: #10134f; --fv-muted: #10134f; --fv-gold: #10134f; --fv-err: #10134f; --fv-warn: #10134f; --fv-ok: #10134f;
}

/* ── §3 地・星・オーロラ ──────────────────────────────────── */
html:has(body.fv-light) { background: #faf8f3; }
body.fv-light { background: #faf8f3 !important; color: var(--fv-text) !important; }
body.fv-light::before { display: none !important; animation: none !important; }   /* 流れる星をやめる */
body.fv-light .aurora-bg { display: none !important; }
body.fv-light main.pt-24 { padding-top: 2.25rem; }   /* 旧ヘッダーは fixed(高さ分 pt-24)。帯は sticky なので詰める */
body.fv-light footer { border-top: 1px solid #ece6dc !important; background: #f3efe6; }

/* ── §4 文字の色 ─────────────────────────────────────────── */
body.fv-light .text-white, body.fv-light .text-gray-100, body.fv-light .text-gray-200, body.fv-light .text-gray-300,
body.fv-light .text-mystic-silver { color: var(--fv-text) !important; }
body.fv-light .text-gray-400, body.fv-light .text-gray-500, body.fv-light .text-gray-600, body.fv-light .text-gray-700 { color: var(--fv-muted) !important; }
body.fv-light .text-mystic-gold, body.fv-light .text-yellow-300, body.fv-light .text-yellow-400, body.fv-light .text-gold-glow,
body.fv-light .star-rating { color: var(--fv-gold) !important; text-shadow: none !important; }
body.fv-light .text-cosmic-900, body.fv-light .text-black { color: var(--fv-strong) !important; }
/* 見出しの金 → 紺(マイページと同じ。金は小見出し・印に残す) */
body.fv-light :is(h1, h2).text-mystic-gold, body.fv-light :is(h1, h2) .text-mystic-gold { color: var(--fv-strong) !important; }
/* 流れる金の文字 → 紺 1 色 */
body.fv-light .text-shimmer {
  background: none !important; -webkit-background-clip: border-box !important; background-clip: border-box !important;
  -webkit-text-fill-color: currentColor !important; color: var(--fv-strong) !important; animation: none !important;
}
body.fv-light [class*="text-red-1"], body.fv-light [class*="text-red-2"], body.fv-light [class*="text-red-3"],
body.fv-light .text-red-400 { color: var(--fv-err) !important; }
body.fv-light [class*="text-amber-1"], body.fv-light [class*="text-amber-2"], body.fv-light [class*="text-amber-3"],
body.fv-light [class*="text-yellow-1"], body.fv-light [class*="text-yellow-2"] { color: var(--fv-warn) !important; }
body.fv-light [class*="text-emerald-1"], body.fv-light [class*="text-emerald-2"], body.fv-light [class*="text-emerald-3"], body.fv-light .text-emerald-400,   /* emerald = green と同じ(F3 11-24) */
body.fv-light [class*="text-green-1"], body.fv-light [class*="text-green-2"], body.fv-light [class*="text-green-3"],
body.fv-light .text-green-400 { color: var(--fv-ok) !important; }
body.fv-light [class*="text-purple-2"], body.fv-light [class*="text-purple-3"], body.fv-light .text-purple-400,
body.fv-light [class*="text-indigo-2"], body.fv-light [class*="text-indigo-3"], body.fv-light .text-indigo-400,
body.fv-light [class*="text-blue-2"], body.fv-light [class*="text-blue-3"], body.fv-light .text-blue-400 { color: var(--fv-strong) !important; }
/* drop-shadow の光(ナビの hover など)をやめる */
body.fv-light [class*="drop-shadow-"] { filter: none !important; }
/* hover の文字色(元の hover:text-* は上の読み替えより弱いので、ここで明示) */
body.fv-light .hover\:text-mystic-gold:hover, body.fv-light .hover\:text-white:hover,
body.fv-light .hover\:text-yellow-300:hover, body.fv-light .hover\:text-yellow-400:hover { color: var(--fv-strong) !important; text-decoration: underline; text-underline-offset: 3px; }
body.fv-light .hover\:text-red-400:hover, body.fv-light .hover\:text-red-300:hover { color: var(--fv-err) !important; }

/* ── §5 面(背景)─────────────────────────────────────────── */
/* 暗い面(カード・枠)→ 白に近いクリーム。入れ子(cosmic-700/600)は 1 段濃いクリームで区別 */
body.fv-light .bg-cosmic-900, body.fv-light [class*="bg-cosmic-900/"],
body.fv-light .bg-cosmic-800, body.fv-light [class*="bg-cosmic-800/"] { background-color: #fffdfb !important; }
body.fv-light .bg-cosmic-700, body.fv-light [class*="bg-cosmic-700/"],
body.fv-light .bg-cosmic-600, body.fv-light [class*="bg-cosmic-600/"] { background-color: #f6f1e7 !important; }
body.fv-light [class*="hover:bg-cosmic-"]:hover { background-color: #f1e9d8 !important; }
body.fv-light [class*="backdrop-blur"] { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
/* 注意・エラー・成功の面 */
body.fv-light [class*="bg-red-9"] { background-color: #fdecea !important; }      /* 文字 #b3261e = 5.72 */
body.fv-light [class*="bg-amber-9"], body.fv-light [class*="bg-yellow-9"] { background-color: #fff4e0 !important; }   /* #8a5a00 = 5.44 */
body.fv-light [class*="bg-emerald-9"],   /* emerald = green と同じ(F3 11-24) */
body.fv-light [class*="bg-green-9"] { background-color: #e9f5ec !important; }    /* #1f7a3a = 4.80 */
/* 色のグラデーションの枠(batch/result の占術ごとの色)→ クリームの面 */
body.fv-light [class*="from-"][class*="-900"] { background-image: none !important; background-color: #fffdfb !important; }
/* 紺の面(旧 紫のボタン・紫の帯・グラデーションのボタン) */
body.fv-light .bg-mystic-purple, body.fv-light [class*="bg-mystic-purple/"], body.fv-light .bg-mystic-blue,
body.fv-light .bg-purple-800, body.fv-light .bg-purple-900, body.fv-light .bg-indigo-600, body.fv-light .bg-indigo-700,
body.fv-light .from-mystic-purple { background-image: none !important; background-color: #10134f !important; color: var(--fv-text); }
/* bg-mystic-purple/20 など薄い紫の面は、紺でなく薄いクリームに(中の文字は明るい面の変数へ戻す) */
body.fv-light [class*="bg-mystic-purple/1"], body.fv-light [class*="bg-mystic-purple/2"], body.fv-light [class*="bg-mystic-purple/3"] {
  background-color: #f6f1e7 !important;
  --fv-text: #1a1a1a; --fv-strong: #10134f; --fv-muted: #1a1a1a; --fv-gold: #7a5c1e; --fv-err: #b3261e; --fv-warn: #8a5a00; --fv-ok: #1f7a3a;
}
body.fv-light .bg-mystic-gold, body.fv-light [class*="bg-mystic-gold/"] { background-color: #be994d !important; color: #10134f !important; }
body.fv-light [class*="bg-mystic-gold/1"], body.fv-light [class*="bg-mystic-gold/2"] { background-color: #f7efdc !important; }

/* ── §6 枠線 ─────────────────────────────────────────────── */
body.fv-light .border-mystic-gold, body.fv-light [class*="border-mystic-gold/"] { border-color: #d8c292 !important; }   /* 飾りの線(マイページの枠と同じ) */
body.fv-light [class*="border-mystic-gold/1"] { border-color: #ece6dc !important; }
body.fv-light [class*="border-red-"] { border-color: #d9534f !important; }
body.fv-light [class*="border-amber-"], body.fv-light [class*="border-yellow-"] { border-color: #d9a441 !important; }
body.fv-light [class*="border-emerald-"],   /* emerald = green と同じ(F3 11-24) */
body.fv-light [class*="border-green-"] { border-color: #5aa870 !important; }
body.fv-light [class*="border-purple-"], body.fv-light [class*="border-indigo-"] { border-color: #c9c3e0 !important; }
body.fv-light [class*="hover:border-mystic-gold"]:hover { border-color: #be994d !important; }

/* ── §7 base.html の部品(カード・ボタン)────────────────────────── */
body.fv-light .mystic-card {
  background: #fffdfb !important; border: 1px solid #ece6dc !important;
  box-shadow: 0 2px 9px rgba(67, 55, 31, 0.05) !important; -webkit-backdrop-filter: none; backdrop-filter: none;
}
body.fv-light .mystic-card:hover { border-color: #d8c292 !important; box-shadow: 0 4px 14px rgba(67, 55, 31, 0.08) !important; transform: none; }
body.fv-light .mystic-button {
  background: #10134f !important; border: 1px solid #10134f !important; color: #ffffff;
  box-shadow: none; transition: background-color 0.2s ease, transform 0.2s ease;
}
body.fv-light .mystic-button:hover { background: #22277a !important; box-shadow: 0 3px 10px rgba(16, 19, 79, 0.18) !important; transform: translateY(-1px); }
body.fv-light .mystic-button:disabled, body.fv-light .mystic-button[aria-disabled="true"] { background: #8f91ad !important; border-color: #8f91ad !important; transform: none; }

/* ── §8 入力欄・選択 ──────────────────────────────────────── */
body.fv-light input:not([type="radio"]):not([type="checkbox"]):not([type="range"]):not([type="submit"]):not([type="button"]):not([type="hidden"]),
body.fv-light select, body.fv-light textarea {
  background-color: #ffffff !important; color: #1a1a1a !important; border-color: #a88a4f !important;   /* 枠 3.27(部品の AA = 3 以上)*/
  color-scheme: light;
}
body.fv-light select option { background: #ffffff; color: #1a1a1a; }
body.fv-light ::placeholder { color: #6b6e8c !important; opacity: 1; }   /* 白の上 4.96 */
body.fv-light input:focus, body.fv-light select:focus, body.fv-light textarea:focus {
  outline: none !important; border-color: #294b92 !important;
  box-shadow: 0 0 0 3px rgba(41, 75, 146, 0.25) !important; --tw-ring-color: rgba(41, 75, 146, 0.35) !important;
}
body.fv-light input:disabled, body.fv-light select:disabled, body.fv-light textarea:disabled { background-color: #f1eee8 !important; color: #71718e !important; }
body.fv-light :focus-visible { outline: 2px solid #294b92; outline-offset: 2px; }
/* ラジオ・チェックボックス(v1_0 と同じ作り。色だけ明るい面向け) */
body.fv-light input[type="radio"], body.fv-light input[type="checkbox"] {
  accent-color: #a88a4f; width: 1.25rem; height: 1.25rem; flex: 0 0 auto; cursor: pointer;
}
body.fv-light fieldset label:has(> input[type="radio"]) {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.9rem;
  border: 1px solid #ece6dc; border-radius: 0.6rem; background: #ffffff; cursor: pointer;
}
body.fv-light fieldset label:has(> input[type="radio"]:checked) { border-color: #be994d; background: #fbf5e6; color: #10134f !important; font-weight: 500; }
body.fv-light fieldset label:has(> input[type="radio"]:focus-visible) { outline: 2px solid #294b92; outline-offset: 2px; }

/* ── §9 リンク・表・その他 ──────────────────────────────────── */
body.fv-light main a:not([class]) { color: #294b92; text-decoration: underline; text-underline-offset: 3px; }
body.fv-light hr { border-color: #ece6dc; }
body.fv-light table thead th { color: var(--fv-strong); }
body.fv-light ::-webkit-scrollbar-track { background: #f1ece2; }
body.fv-light ::-webkit-scrollbar-thumb { background: #c9b88f; border-radius: 4px; }
html:has(body.fv-light) { scrollbar-color: #c9b88f #f1ece2; }

/* ── §10 固定の暗い色を持つ部品の CSS(numerology_calc.css / tarot_draw.css)──────────
 * 元のファイルは直さず、アプリの画面(fv-light)のときだけ明るく読み替える。HP の静的ページ(fv-light 無し)は元のまま。 */
body.fv-light :is(.numerology__form, .numerology__card, .tarot-draw__card, .tarot-draw__spread-label) {
  background: #fffdfb !important; border-color: #ece6dc !important; color: #1a1a1a !important; box-shadow: 0 2px 9px rgba(67, 55, 31, 0.05);
}
body.fv-light .numerology__card--primary { border-color: #d8c292 !important; box-shadow: 0 4px 14px rgba(67, 55, 31, 0.08) !important; }
body.fv-light .tarot-draw__radio:checked + .tarot-draw__spread-label { border-color: #be994d !important; background: #fbf5e6 !important; box-shadow: none !important; }
body.fv-light .tarot-draw__radio:focus-visible + .tarot-draw__spread-label, body.fv-light .tarot-draw__flip:focus-visible { outline-color: #294b92 !important; }
body.fv-light :is(.numerology__eyebrow, .numerology__card-label, .numerology__category, .numerology__label,
  .tarot-draw__eyebrow, .tarot-draw__position, .tarot-draw__hint, .tarot-draw__orientation) { color: #7a5c1e !important; }
body.fv-light :is(.numerology__value, .tarot-draw__spread-name, .tarot-draw__name) { color: #10134f !important; }
body.fv-light :is(.numerology__lead, .numerology__text, .tarot-draw__lead, .tarot-draw__meaning, .tarot-draw__spread-note, .tarot-draw__description) { color: #1a1a1a !important; }
body.fv-light :is(.numerology__hint, .numerology__period, .numerology__note, .tarot-draw__name-en, .tarot-draw__note) { color: #1a1a1a !important; font-size: .75rem; line-height: 1.5; }
body.fv-light .numerology__input { background: #ffffff !important; color: #1a1a1a !important; border-color: #a88a4f !important; }
body.fv-light :is(.numerology__button, .tarot-draw__button) { background: #10134f !important; border-color: #10134f !important; color: #ffffff !important; }
body.fv-light :is(.numerology__error, .tarot-draw__error) { background: #fdecea !important; border-color: #d9534f !important; color: #b3261e !important; }
body.fv-light :is(.tarot-draw__orientation) { border-color: #d8c292 !important; }
body.fv-light .tarot-draw__reading { border-top-color: #ece6dc !important; }
body.fv-light .tarot-draw__back-image { box-shadow: 0 4px 16px rgba(67, 55, 31, 0.15) !important; }

/* ── §11 注記(v2_1)─────────────────────────────────────────
 * YUKARI「登録画面の注釈の文字が大きい。普通こんなに大きくないよね。。」「色も薄くします。はだめです」
 * = 入力欄の注記(「(8文字以上)」「(任意)」・出生時刻の注記・性別と年齢の説明・欄の説明)は **小さくするだけ**。色は本文と同じ。
 * 大きさ = 0.75rem(アプリの 1rem = 18px なので 13.5px)。行の高さ 1.5。太さは本文と同じ。
 * ★ 明示のクラス = .fv-hint(新しく書く所・部品はこれを使う)。
 * ★ 既存のテンプレートは下の「自動」でそろえる(フォームの中の小さい説明文 = text-sm / text-xs の p・span。エラーと label は除く)。
 *   01 がクラスを付け替えたら、自動の規則は外してよい(付け替えの一覧 = README v2_1)。 */
.fv-hint { font-size: .75rem; line-height: 1.5; font-weight: 400; }
body.fv-light .fv-hint { color: var(--fv-text) !important; }
body.fv-light :is(form, fieldset) :is(p, span, small, div)[class~="text-sm"]:not([class*="text-red"]):not([role="alert"]):not([class*="text-amber"]),
body.fv-light :is(form, fieldset) :is(p, span, small, div)[class~="text-xs"]:not([class*="text-red"]):not([role="alert"]) {
  font-size: .75rem !important; line-height: 1.5 !important;
}
/* 薄く見せるための opacity を文字から外す(opacity-70 / 80 / 90 など)。ボタンの disabled は対象外(要素を絞っている) */
body.fv-light :is(p, span, small, label, legend, li, dt, dd, a)[class*="opacity-"] { opacity: 1 !important; }
/* 「わかる範囲でご入力ください」の印 *(YUKARI「*を時分や性別、国のところに入力する」)。必須の ★(赤)とは別の印 = 本文の色・太字 */
.fv-accuracy-mark { margin-left: .15em; font-weight: 700; }
body.fv-light .fv-accuracy-mark { color: var(--fv-text); }
/* 生年月日の部品(v1_1)の JS が無いときの案内も同じ扱い(元は opacity .8) */
body.fv-light .fv-birthdate__hint { opacity: 1 !important; font-size: .75rem; line-height: 1.5; color: var(--fv-text); }

@media (prefers-reduced-motion: reduce) {
  body.fv-light .mystic-button:hover, body.fv-light .mystic-card:hover { transform: none; }
  body.fv-light [class*="animate-"] { animation: none !important; }
}

/* ── §12 小さいヘッダー(v2_2)──────────────────────────────────────────
 * YUKARI「空間が個々だけ空きすぎている。スマホでみると何もないページになるのでは」(統合鑑定の題・短い説明・飾りの線の上下の余白)。
 * 対象 = 大きい中央寄せのヘッダー(`.relative.z-10 > header.text-center`)を持つ 23 画面(README の一覧)+ 見出しだけの画面(`main.max-w-2xl > h1.text-3xl` = 相性・恋愛テーマ・BKAC)。
 * 変えるもの = 余白と見出しの大きさだけ。色・文言・HTML は変えない。アプリの 1rem = 18px(base.html)なので、Tailwind の text-4xl / 5xl は 40 / 54 px になっていた。
 * 目標 = 375 × 667 の最初の画面にフォームの最初の入力が入る(統合鑑定で実測)。1 画面ずつの class は直さない(CSS だけ)。 */
body.fv-light main.pt-24 { padding-top: 0.75rem; }                           /* 帯の下(v2_1 §3 の 2.25rem から) */
body.fv-light .relative.z-10:is([class*="md:py-12"], [class*="md:py-16"], [class*="md:py-20"]) { padding-top: 0.25rem; padding-bottom: 1.75rem; }
body.fv-light .relative.z-10 > header.text-center { margin-bottom: 1rem; }
body.fv-light .relative.z-10 > header.text-center > h1 { font-size: 1.45rem; line-height: 1.3; margin-bottom: 0.2rem; }
body.fv-light .relative.z-10 > header.text-center > p:not([class*="whitespace-pre-wrap"]) { font-size: 0.9rem; line-height: 1.5; margin-bottom: 0.25rem; text-wrap: balance; }
body.fv-light .relative.z-10 > header.text-center > div.h-px { margin-top: 0.6rem; width: 3rem; }
/* 見出しだけの画面(相性・恋愛テーマ・BKAC): 33px の題 + 余白 */
body.fv-light main.max-w-2xl.p-6 { padding: 0.5rem 1rem 1.75rem; }
body.fv-light main.max-w-2xl.p-6 > h1.text-3xl { font-size: 1.5rem; line-height: 1.3; margin-bottom: 0.9rem; }
@media (min-width: 768px) {
  body.fv-light main.pt-24 { padding-top: 1.5rem; }
  body.fv-light .relative.z-10:is([class*="md:py-12"], [class*="md:py-16"], [class*="md:py-20"]) { padding-top: 0.75rem; padding-bottom: 3rem; }
  body.fv-light .relative.z-10 > header.text-center { margin-bottom: 1.5rem; }
  body.fv-light .relative.z-10 > header.text-center > h1 { font-size: 2rem; margin-bottom: 0.3rem; }
  body.fv-light .relative.z-10 > header.text-center > p:not([class*="whitespace-pre-wrap"]) { font-size: 1.05rem; }
  body.fv-light .relative.z-10 > header.text-center > div.h-px { margin-top: 0.8rem; width: 4rem; }
  body.fv-light main.max-w-2xl.p-6 { padding: 1rem 1.5rem 3rem; }
  body.fv-light main.max-w-2xl.p-6 > h1.text-3xl { font-size: 2rem; margin-bottom: 1.25rem; }
}

/* ── §13 入力欄まわりをはっきり(v2_3)──────────────────────────────────────
 * YUKARI 2026-10-07「文字が薄いのでは、入力欄が薄いのか。」「文字は黒ではないのか」= 登録情報の編集・会員登録(1280 px)の実測:
 *   項目名 = #41466c・太さ 400(値と見出しは #10134f)/ 注記 13.5 px / 入力欄の枠 #a88a4f(白の上 3.27)/ 選択(▼)の枠 #d8c292(1.74 = 入力欄より薄い)/
 *   選んでいない選択肢(ラジオ)の枠 #ece6dc(1.24)/ ラジオの色 #a88a4f(3.27)/ プレースホルダ #6b6e8c(4.96)。
 * v2_3 の決まり: 本文・項目名・注記・説明の文字 = ほぼ黒 #1a1a1a(本文の色の変数 --fv-text / --fv-muted の値と、同じ色を直書きしていた 7 つの CSS を置き換えた。白の上 17.4 / 地 #faf8f3 の上 16.6)。
 *   見出し(h1・h2)と値の紺 #10134f・リンクの青・エラー / 注意 / 成功の色・暗い金の文字は変えない。
 * この §13(フォームの中だけ): 項目名 = 太さ 600 / 注記 = 14.4 px(色は本文と同じ)+ 太さ 500 / 入力欄・選択・複数行の枠 = 暗い金 #7a5c1e・1.5 px(全部同じ。白の上 6.22)/
 *   選択肢(ラジオ)= 枠も暗い金(広い画面)・選んだものは太字 + 濃いクリームの地 / ラジオの色 = 暗い金 / プレースホルダ = #595959(白の上 7.00)。
 * 文字の大きさは変えない(本文 17 px・項目名 18 px。注記だけ 13.5 → 14.4 px)。 */
body.fv-light :is(form, fieldset) :is(label, legend):not(:has(> input[type="radio"], > input[type="checkbox"])) {
  color: var(--fv-text) !important; font-weight: 600;
}
/* 項目名の書体と大きさをそろえる(出生時刻の見出しだけ明朝体 20.25 px = font-elegant text-lg だった。ほかの項目名は ゴシック 18 px) */
body.fv-light :is(form, fieldset) :is(label, legend)[class*="font-elegant"] { font-family: inherit !important; font-size: 1rem !important; }
body.fv-light fieldset label:has(> input[type="radio"]) { color: var(--fv-text) !important; font-weight: 500; }
body.fv-light fieldset label:has(> input[type="radio"]:checked) { font-weight: 700; background: #f6e8c4; border-color: #7a5c1e; }
@media (min-width: 641px) {
  body.fv-light fieldset label:has(> input[type="radio"]) { border: 1.5px solid #7a5c1e; }
}
body.fv-light .fv-hint,
body.fv-light .fv-birthdate__hint,
body.fv-light :is(form, fieldset) :is(p, span, small, div)[class~="text-sm"]:not([class*="text-red"]):not([role="alert"]):not([class*="text-amber"]),
body.fv-light :is(form, fieldset) :is(p, span, small, div)[class~="text-xs"]:not([class*="text-red"]):not([role="alert"]) {
  font-size: .8rem !important; line-height: 1.5 !important; font-weight: 500;
}
body.fv-light :is(input:not([type="radio"]):not([type="checkbox"]):not([type="range"]):not([type="submit"]):not([type="button"]):not([type="hidden"]), select, textarea) {
  border: 1.5px solid #7a5c1e !important;
}
body.fv-light :is(input:not([type="radio"]):not([type="checkbox"]):not([type="range"]):not([type="submit"]):not([type="button"]):not([type="hidden"]), select, textarea):focus {
  border-color: #294b92 !important;
}
body.fv-light input[type="radio"], body.fv-light input[type="checkbox"] { accent-color: #7a5c1e; }
body.fv-light ::placeholder { color: #595959 !important; opacity: 1; }
