/* お城特集の本文だけ。ヘッダー・左ペイン・フッターは style.css と spot-page-shared.js の共通部品。
   ヒーロー・見出し・カードは夜景特集（yakei.html の yk-*）と同じ寸法で揃える。 */
.castles-page main { padding-bottom: 40px; }
.cs-hero { position: relative; isolation: isolate; background: var(--night); color: #fff; padding: 96px 20px 72px; overflow: hidden; }
.cs-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: url("images/20260704_kiyosu_castle_michikusa.jpg"); background-size: cover; background-position: 58% 66%; }
.cs-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(16,28,44,.6) 0%, rgba(16,28,44,.72) 55%, rgba(16,28,44,.93) 100%); }
.cs-hero-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.cs-hero .eyebrow { color: var(--accent-soft); }
.cs-hero h1 { font-family: var(--font-serif); font-size: clamp(28px, 6vw, 44px); line-height: 1.42; margin: 0 0 20px; text-shadow: 0 2px 18px rgba(0,0,0,.5); }
.cs-hero-lead { color: rgba(255,255,255,.9); font-size: 15px; line-height: 1.95; margin: 0 auto; max-width: 620px; text-shadow: 0 1px 10px rgba(0,0,0,.55); }
.cs-hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }
.cs-hero-actions .btn { min-height: 40px; display: inline-flex; align-items: center; }
.cs-hero-actions .btn-ghost { border-color: rgba(255,255,255,.48); color: #fff; }
.cs-hero-credit { margin: 10px 0 0; color: rgba(255,255,255,.45); font-size: 10.5px; }

.cs-article > section { padding: 62px 0 0; }
.cs-article > section:first-child { padding-top: 40px; }
@media (max-width: 1099px) { .cs-article > section { padding-left: 20px; padding-right: 20px; } }
.cs-section-head { text-align: center; margin-bottom: 26px; }
.cs-section-head h2 { font-family: var(--font-serif); font-size: clamp(21px, 4.2vw, 29px); margin: 0 0 12px; }
.cs-section-lead { max-width: 580px; margin: 0 auto; font-size: 14px; line-height: 1.9; color: var(--ink-soft); }

/* 導入の本文。カードにせず、章の本文として読ませる。 */
.cs-intro-body { max-width: 620px; margin: 0 auto; }
.cs-intro-body p { margin: 0 0 13px; font-size: 14.5px; line-height: 1.95; }
.cs-intro-body p:last-child { margin-bottom: 0; }

.cs-tip-list { display: grid; gap: 14px; padding: 0; margin: 0; list-style: none; }
.cs-tip-list li { border-left: 3px solid var(--accent-soft); padding: 2px 0 2px 16px; font-size: 14.5px; line-height: 1.95; }
.cs-tip-list strong { display: block; font-family: var(--font-serif); font-size: 16px; margin-bottom: 4px; }

.cs-spot { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 24px; align-items: start; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); padding: 20px; margin-bottom: 22px; scroll-margin-top: 90px; }
.cs-figure { margin: 0; }
.cs-figure img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 12px; }
.cs-figure figcaption { margin-top: 7px; font-size: 10.5px; color: var(--ink-soft); line-height: 1.6; overflow-wrap: anywhere; }
.cs-figure figcaption a { color: inherit; text-underline-offset: 3px; }
.cs-spot-body { min-width: 0; }
.cs-spot-body h3 { font-family: var(--font-serif); font-size: clamp(19px, 3.4vw, 24px); margin: 0 0 8px; }
.cs-spot-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
.cs-pill { font-size: 10.5px; letter-spacing: .06em; padding: 3px 9px; border-radius: 999px; background: var(--paper-deep); color: var(--ink-soft); }
.cs-side-e { background: #dceaf6; color: #1d4b70; }
.cs-side-a { background: #f7e2d6; color: #8a4326; }
.cs-spot-lead { margin: 0 0 12px; font-family: var(--font-serif); font-size: 15px; color: var(--accent); }
.cs-spot-body p { margin: 0 0 11px; font-size: 14.5px; line-height: 1.95; }
.cs-more { margin: 0 !important; font-size: 13px !important; }
.cs-more a { color: var(--accent); text-underline-offset: 3px; }

.cs-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); padding: 22px; box-shadow: var(--shadow); text-align: center; }
.cs-card h2 { font-family: var(--font-serif); font-size: 20px; margin: 0 0 8px; }
.cs-card p { margin: 0 auto 16px; max-width: 520px; font-size: 13px; line-height: 1.85; color: var(--ink-soft); }
.cs-card-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 18px; }
.cs-card-actions a:not(.btn) { color: var(--accent); font-size: 13px; text-underline-offset: 3px; }

.cs-note-card { border: 1px dashed var(--line); border-radius: var(--radius); padding: 20px 22px; }
.cs-note-card .eyebrow { margin: 0 0 6px; }
.cs-note-card h2 { font-family: var(--font-serif); font-size: 18px; margin: 0 0 10px; }
.cs-note-card p { margin: 0 0 9px; font-size: 13px; line-height: 1.9; color: var(--ink-soft); }
.cs-note-card p:last-child { margin-bottom: 0; }
.cs-note-card a { color: var(--accent); text-underline-offset: 3px; }
.cs-note-figure { margin: 14px 0; max-width: 460px; }
.cs-note-figure img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 12px; }
.cs-note-figure figcaption { margin-top: 7px; font-size: 10.5px; line-height: 1.6; color: var(--ink-soft); }

@media (max-width: 720px) {
  .cs-hero { padding: 72px 20px 52px; }
  .cs-hero-actions { display: grid; }
  .cs-hero-actions .btn { width: 100%; justify-content: center; }
  .cs-spot { grid-template-columns: 1fr; gap: 16px; padding: 16px; }
}
