/* マッチングの手引き: 軽く明るい。温かい白・コーラル・空色・やわらかい黄色・丸ゴシック。
   角を丸め、色の面で区切る。紫やグラデーションは使わない。明るい表示だけ */
:root {
  --bg: #fffaf3;
  --surface: #ffffff;
  --ink: #2a2a2e;
  --sub: #55555c;
  --faint: #8c8c93;
  --rule: #efe4d6;
  --rule-strong: #2a2a2e;
  --accent: #e2522f;
  --coral: #f2603f;
  --sky: #3a9bd9;
  --sun: #ffd75e;
  --mint: #7cc9a6;
  --accent-2: #d63c1f;
  --accent-soft: #fff0e6;
  --link: #c8431f;
  --pr: #9a5b00;
  --pr-bg: #fff4d6;
  --radius: 14px;
  --head: var(--round);
  --body: var(--round);
  --wrap: 1120px;
  --lh: 1.95;
}
body { letter-spacing: .04em; }

/* ヘッダー: 白い帯・丸いナビ */
.site-header { background: var(--surface); box-shadow: 0 1px 0 var(--rule); }
.masthead-row { padding-top: 14px; padding-bottom: 8px; }
.logo-text { font-weight: 800; letter-spacing: .06em; font-size: 1.35rem; }
.tagline { color: var(--sub); }
.topic-nav { padding-bottom: 12px; }
.topic-nav ul { gap: 8px; }
.topic-nav a { padding: 6px 16px; border-radius: 999px; background: var(--accent-soft); color: var(--ink); font-weight: 700; font-size: .84rem; }
.topic-nav li:nth-child(4n+2) a { background: #e7f3fb; }
.topic-nav li:nth-child(4n+3) a { background: #fff4d0; }
.topic-nav li:nth-child(4n+4) a { background: #e6f5ee; }
.topic-nav a:hover { text-decoration: none; filter: brightness(.96); color: var(--ink); }

.kicker { color: var(--accent); font-weight: 800; letter-spacing: .04em; }
.sec-title { font-weight: 800; font-size: 1.45rem; letter-spacing: .04em; }
.sec-title span { background: linear-gradient(transparent 62%, var(--sun) 62%); padding: 0 4px; }

/* トップ: 絵の上に白い箱 */
.hero { padding: 24px 0 48px; }
.hero-media img { border-radius: 28px; }
.hero-banner .hero-text { border-radius: 22px; box-shadow: 0 10px 30px rgba(226, 82, 47, .12); }
.hero-eyebrow { display: inline-block; background: var(--coral); color: #fff; padding: 2px 12px; border-radius: 999px; letter-spacing: .06em; font-size: .78rem; }
.hero-title { font-weight: 800; letter-spacing: .03em; font-size: clamp(1.6rem, 3.6vw, 2.3rem); }

.policy { margin-bottom: 64px; }
.policy-title { font-weight: 800; letter-spacing: .04em; font-size: 1.1rem; }
.policy-list { border-top: 0; gap: 14px; }
.policy-list li { border: 0 !important; border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--rule); }
.policy-list li:first-child { background: #fff0e6; box-shadow: none; }
.policy-num { color: var(--coral); }
.policy-head { font-weight: 800; }

.topics-tiles .topic a { padding: 14px 14px 18px; border-radius: 20px; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--rule); height: 100%; align-content: start; }
.topics-tiles .topic:nth-child(4n+1) a { background: #fff0e6; box-shadow: none; }
.topics-tiles .topic:nth-child(4n+2) a { background: #e7f3fb; box-shadow: none; }
.topics-tiles .topic:nth-child(4n+3) a { background: #fff6d8; box-shadow: none; }
.topics-tiles .topic:nth-child(4n+4) a { background: #e6f5ee; box-shadow: none; }
.topic-img { border-radius: 14px; }
.topic-num { display: none; }
.topic-name { font-weight: 800; }
.topic-count { font-weight: 700; color: var(--sub); }

.feature-img, .thumb, .eyecatch, .tag-head-img { border-radius: var(--radius); }
.feature-title, .card-title, .row-title { font-weight: 800; }
.row a { border-color: var(--rule) !important; }
.row-num { color: var(--coral); font-weight: 800; }

.about-strip { border-top: 0; background: var(--surface); border-radius: 22px; padding: 28px 30px; box-shadow: inset 0 0 0 1.5px var(--rule); }
.about-strip h2 { font-weight: 800; }

/* 記事 */
.article-head h1 { font-weight: 800; letter-spacing: .03em; }
.pr-notice { border-left: 0; border-radius: 10px; }
.article-side .toc { background: var(--surface); border-radius: var(--radius); padding: 16px 18px; box-shadow: inset 0 0 0 1.5px var(--rule); }
.prose h2 { font-weight: 800; position: relative; padding-left: 20px; letter-spacing: .03em; }
.prose h2::before { content: ""; position: absolute; left: 0; top: .25em; bottom: .25em; width: 7px; border-radius: 4px; background: var(--coral); }
.prose h3 { font-weight: 800; color: #1d6fa5; }
.prose strong { background: linear-gradient(transparent 65%, #ffe7a3 65%); }
.table-wrap { border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--rule); }
.prose table { border-style: hidden; }
.prose th { background: #e7f3fb; }
.field-notice { border-radius: var(--radius); background: #e7f3fb; }
.field-notice-title { color: #1d6fa5; }
.faq h2, .sources h2 { font-weight: 800; }
.qa { border-top: 0 !important; border-bottom: 0 !important; background: var(--surface); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 10px; box-shadow: inset 0 0 0 1.5px var(--rule); }
.qa-mark { color: var(--coral); font-weight: 800; }
.operator-box, .ad-box, .form { border-radius: var(--radius); border-color: var(--rule); background: var(--surface); }
.ad-label { border-radius: 999px; }
.related { border-top: 0; }

.tag-head { border-bottom: 0; background: var(--surface); border-radius: 24px; padding: 24px; box-shadow: inset 0 0 0 1.5px var(--rule); }
.tag-head h1 { font-weight: 800; }
.page h1 { font-weight: 800; }
.form button { border-radius: 999px; background: var(--coral); }

.site-footer { background: #fff0e6; margin-top: 20px; border-radius: 32px 32px 0 0; }
.copy { border-top-color: #f2d9c8; }

@media (max-width: 760px) {
  .topic-nav ul { gap: 6px; }
  .topic-nav a { padding: 5px 12px; font-size: .8rem; }
  .hero-media img { border-radius: 20px; }
  .hero-banner .hero-text { box-shadow: none; padding-top: 18px; }
  .topics-tiles .topic a { grid-template-columns: 110px 1fr; gap: 12px; padding: 12px; align-items: center; }
  .topics-tiles .topic-img { aspect-ratio: 1 / 1; }
  .about-strip { padding: 22px 18px; }
  .tag-head { padding: 16px; }
}
@media (min-width: 761px) { .topics-tiles .topic-list { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 20px 16px; } }
