/* =========================================================
   施工管理のしくみ — 共通スタイル（通貨の裏側 v34 から派生）
   配色: 紺＋控えめな橙 / 見出し明朝（Noto Serif JP）・本文は端末ゴシック
   ========================================================= */

:root {
  --ink:        #1c2533;   /* 本文の基本色（紺みのチャコール） */
  --deep:       #1d3557;   /* ブランドの紺 */
  --deep-2:     #14243d;   /* ヘッダー/フッターの濃い面 */
  --accent:     #2c6e9e;   /* リンク・アクセント（くすんだ青） */
  --accent-dk:  #1f5680;   /* 白い面のリンク（コントラスト比 7.8:1） */
  --gold:       #c77a2a;   /* 控えめな温色アクセント（安全色の橙を落ち着かせた色・罫線や面） */
  --gold-dk:    #8f5212;   /* 白い面に置く橙の文字（コントラスト比 6.2:1） */
  --gold-lt:    #e0a45a;   /* 濃い面に置く橙の文字（コントラスト比 7.1:1） */
  --bg:         #f5f7fa;   /* ページ背景（青みのオフホワイト） */
  --surface:    #ffffff;
  --line:       #e2e7ee;   /* 罫線 */
  --muted:      #5b6676;   /* メタ情報のグレー（コントラスト比 5.8:1） */
  --maxw:       1080px;    /* サイト全体の最大幅 */
  --readw:      720px;     /* 本文カラムの読みやすい幅 */
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  /* 本文は端末のゴシック。Noto Sans JP はローカルに入っている場合だけ使う（取得はしない） */
  font-family: system-ui, -apple-system, "Segoe UI", "Hiragino Sans",
    "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", "Noto Sans JP",
    Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--accent-dk); text-decoration: none; }
a:hover { color: var(--accent); text-decoration: underline; }

img { max-width: 100%; display: block; }

.serif {
  font-family: "Noto Serif JP", "Yu Mincho", serif;
}

/* ---------- レイアウト枠 ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(20, 36, 61, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand { display: flex; flex-direction: column; line-height: 1.2; }
.brand a { color: #fff; text-decoration: none; }
.brand .brand-name {
  font-family: "Noto Serif JP", serif;
  font-size: 1.35rem; font-weight: 600; letter-spacing: 0.08em;
}
.brand .brand-tag {
  font-size: 0.7rem; color: #a9bdd6; letter-spacing: 0.18em; margin-top: 2px;
}
.header-nav { display: flex; gap: 26px; align-items: center; }
.header-nav a {
  color: #d9e2ee; font-size: 0.9rem; letter-spacing: 0.04em;
  text-decoration: none; transition: color .2s;
}
.header-nav a:hover { color: #fff; }
.nav-x {
  border: 1px solid rgba(255,255,255,0.3); border-radius: 999px;
  padding: 6px 14px; font-size: 0.8rem !important;
}
.nav-x:hover { background: rgba(255,255,255,0.1); }

/* ---------- ヒーロー（コンセプト） ---------- */
.hero {
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(44,110,158,0.35), transparent 60%),
    linear-gradient(160deg, var(--deep) 0%, var(--deep-2) 100%);
  color: #eaf0f7;
  position: relative; overflow: hidden;
}
.hero::after {
  /* 控えめな等高線風テクスチャ */
  content: ""; position: absolute; inset: 0; opacity: 0.06;
  background-image: repeating-linear-gradient(115deg, #fff 0 1px, transparent 1px 22px);
}
.hero-inner { position: relative; padding: 76px 0 84px; max-width: 760px; }
.hero .eyebrow {
  font-size: 0.78rem; letter-spacing: 0.32em; color: #8fb3d9;
  text-transform: uppercase; margin: 0 0 18px;
}
.hero h1 {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(1.7rem, 4.4vw, 2.6rem); font-weight: 600;
  line-height: 1.5; margin: 0 0 20px; letter-spacing: 0.02em;
}
.hero h1 .gold { color: #e0a45a; }
.hero p { font-size: 1.02rem; color: #d2deeb; margin: 0; max-width: 640px; }
.hero p.hero-meta {
  margin-top: 14px; font-size: 0.82rem; color: #8298b3; letter-spacing: 0.02em;
}

/* ---------- セクション見出し ---------- */
.section { padding: 64px 0; }
.section-head {
  display: flex; align-items: baseline; gap: 14px; margin-bottom: 30px;
  border-bottom: 2px solid var(--deep); padding-bottom: 12px;
}
.section-head h2 {
  font-family: "Noto Serif JP", serif;
  font-size: 1.5rem; font-weight: 600; margin: 0; color: var(--deep);
  letter-spacing: 0.04em;
}
.section-head .en {
  font-size: 0.72rem; letter-spacing: 0.28em; color: var(--accent-dk);
  text-transform: uppercase;
}

/* ---------- トップ：本文＋サイド 2カラム ---------- */
.layout { display: grid; grid-template-columns: 1fr 300px; gap: 56px; }

/* 注目記事（フィーチャー） */
.feature {
  display: block; background: var(--surface); border: 1px solid var(--line);
  border-radius: 10px; overflow: hidden; margin-bottom: 34px;
  text-decoration: none; color: inherit; transition: box-shadow .25s, transform .25s;
}
.feature:hover { box-shadow: 0 14px 36px rgba(29,53,87,0.13); transform: translateY(-2px); text-decoration: none; }
.feature .thumb {
  height: 220px;
  background: linear-gradient(135deg, #1d3557, #2c6e9e);
  position: relative;
}
.feature .thumb::after {
  content: none; position: absolute; right: 22px; bottom: 16px;
  font-family: "Noto Serif JP", serif; color: rgba(255,255,255,0.5);
  font-size: 1.6rem; letter-spacing: 0.2em;
}
.feature .body { padding: 26px 28px 30px; }
.badge {
  display: inline-block; font-size: 0.72rem; letter-spacing: 0.1em;
  background: #e8eef6; color: var(--accent-dk);
  padding: 4px 12px; border-radius: 999px; margin-bottom: 14px;
}
.feature h3 {
  font-family: "Noto Serif JP", serif; font-size: 1.4rem; line-height: 1.55;
  margin: 0 0 12px; color: var(--ink);
}
.feature p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* 記事リスト */
.post-list { list-style: none; padding: 0; margin: 0; }
.post-item {
  display: flex; gap: 20px; padding: 22px 0; border-top: 1px solid var(--line);
}
.post-item:first-child { border-top: none; }
.post-item .pthumb {
  flex: 0 0 130px; height: 86px; border-radius: 8px;
  background: linear-gradient(135deg, #22406a, #3b6f99);
}
.post-item .pbody { flex: 1; }
.post-item .meta { font-size: 0.76rem; color: var(--muted); margin-bottom: 6px; letter-spacing: 0.04em; }
.post-item h3 {
  font-family: "Noto Serif JP", serif; font-size: 1.08rem; line-height: 1.6;
  margin: 0 0 6px;
}
.post-item h3 a { color: var(--ink); }
.post-item h3 a:hover { color: var(--accent-dk); text-decoration: none; }
.post-item .excerpt { font-size: 0.86rem; color: var(--muted); margin: 0; }

/* ---------- サイドバー ---------- */
.side-block { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 24px; margin-bottom: 24px; }
.side-block h4 {
  font-family: "Noto Serif JP", serif; font-size: 1.05rem; margin: 0 0 16px;
  color: var(--deep); padding-bottom: 10px; border-bottom: 1px solid var(--line);
}
.profile-mini { text-align: center; }
.profile-mini .pavatar {
  width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 14px;
  background: linear-gradient(135deg, #1d3557, #2c6e9e);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  color: #fff; font-family: "Noto Serif JP", serif; font-size: 1.6rem;
}
.profile-mini .pavatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.profile-mini .pname { font-family: "Noto Serif JP", serif; font-size: 1.1rem; font-weight: 600; }
.profile-mini .prole { font-size: 0.78rem; color: var(--muted); margin: 4px 0 14px; }
.profile-mini p { font-size: 0.84rem; color: var(--muted); text-align: left; line-height: 1.8; margin: 0 0 16px; }

.cat-tree { list-style: none; padding: 0; margin: 0; font-size: 0.9rem; }
.cat-tree > li { padding: 8px 0; border-bottom: 1px dashed var(--line); }
.cat-tree ul { list-style: none; padding-left: 16px; margin: 6px 0 0; }
.cat-tree ul li { padding: 5px 0; font-size: 0.86rem; }
.cat-tree .count { color: var(--muted); font-size: 0.78rem; }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a {
  font-size: 0.8rem; background: #eef2f7; color: var(--accent-dk);
  padding: 5px 12px; border-radius: 6px;
}
.tag-cloud a:hover { background: var(--accent); color: #fff; text-decoration: none; }

.btn-x {
  display: inline-block; width: 100%; text-align: center; box-sizing: border-box;
  background: var(--deep); color: #fff; padding: 10px; border-radius: 8px;
  font-size: 0.85rem; letter-spacing: 0.04em;
}
.btn-x:hover { background: var(--accent-dk); color: #fff; text-decoration: none; }

/* =========================================================
   記事個別ページ
   ========================================================= */
.article-wrap { background: var(--surface); }
.crumbs { font-size: 0.78rem; color: var(--muted); padding: 22px 0 0; letter-spacing: 0.03em; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent-dk); }

.article-header { max-width: var(--readw); margin: 0 auto; padding: 18px 24px 0; }
.article-header .badge { margin-bottom: 18px; }
.article-header h1 {
  font-family: "Noto Serif JP", serif; font-weight: 600;
  font-size: clamp(1.5rem, 3.6vw, 2.05rem); line-height: 1.6;
  margin: 0 0 22px; letter-spacing: 0.01em; color: var(--ink);
}
.article-meta {
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center;
  font-size: 0.82rem; color: var(--muted);
  padding-bottom: 26px; border-bottom: 1px solid var(--line); margin-bottom: 0;
}
.article-meta .by { display: flex; align-items: center; gap: 8px; }
.article-meta .by .dot {
  width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(135deg, #1d3557, #2c6e9e); color:#fff;
  display:flex; align-items:center; justify-content:center; font-size:0.75rem;
  font-family:"Noto Serif JP",serif;
}

/* 本文 */
.article-body { max-width: var(--readw); margin: 0 auto; padding: 38px 24px 10px; }
.article-body p { font-size: 1.02rem; line-height: 1.95; margin: 0 0 1.6em; }
.article-body .lead {
  font-size: 1.1rem; color: #26364d; line-height: 1.95;
  border-left: 3px solid var(--accent); padding-left: 18px; margin-bottom: 2em;
}
.article-body h2 {
  font-family: "Noto Serif JP", serif; font-size: 1.5rem; font-weight: 600;
  line-height: 1.55; color: var(--deep); margin: 2.4em 0 0.9em;
  padding-bottom: 10px; border-bottom: 2px solid var(--deep);
}
.article-body h3 {
  font-family: "Noto Serif JP", serif; font-size: 1.18rem; font-weight: 600;
  color: var(--ink); margin: 2em 0 0.7em; padding-left: 12px;
  border-left: 4px solid var(--accent);
}
.article-body ul, .article-body ol { margin: 0 0 1.6em; padding-left: 1.5em; }
.article-body li { margin-bottom: 0.55em; line-height: 1.85; }
.article-body strong { color: var(--deep); font-weight: 700; }
.article-body a { border-bottom: 1px solid currentColor; }

/* 用語解説などのコールアウト（辞典型の核） */
.callout {
  background: #eef3f9; border: 1px solid #d5e0ee; border-left: 4px solid var(--accent);
  border-radius: 8px; padding: 20px 24px; margin: 2em 0;
}
.callout .ctitle {
  font-family: "Noto Serif JP", serif; font-weight: 600; color: var(--accent-dk);
  font-size: 0.95rem; letter-spacing: 0.04em; margin-bottom: 8px;
  display: flex; align-items: center; gap: 8px;
}
.callout .ctitle::before { content: "用語"; font-size: 0.66rem; background: var(--accent); color:#fff; padding: 2px 7px; border-radius: 4px; letter-spacing: 0.1em; }
.callout p { font-size: 0.95rem !important; margin: 0 !important; line-height: 1.85; color: #2b3a50; }

blockquote {
  margin: 2em 0; padding: 14px 24px; color: #3d4b5e;
  border-left: 3px solid var(--gold); background: #faf7f1; font-style: italic;
}
blockquote p { margin: 0 !important; }

/* 表 */
.article-body table { width: 100%; border-collapse: collapse; margin: 1.8em 0; font-size: 0.92rem; }
.article-body th, .article-body td { border: 1px solid var(--line); padding: 11px 14px; text-align: left; }
.article-body th { background: var(--deep); color: #fff; font-weight: 700; letter-spacing: 0.03em; }
.article-body tbody tr:nth-child(even) { background: #f4f6fa; }

/* 記事末：免責ボックス */
.disclaimer-box {
  max-width: var(--readw); margin: 36px auto 0; padding: 22px 24px;
  background: #f3f5f8; border: 1px solid var(--line); border-radius: 8px;
  font-size: 0.82rem; color: var(--muted); line-height: 1.8;
}
.disclaimer-box strong { color: var(--ink); display: block; margin-bottom: 6px; font-size: 0.85rem; }

/* 著者ボックス */
.author-box {
  max-width: var(--readw); margin: 30px auto 0; padding: 26px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
  display: flex; gap: 20px; align-items: flex-start;
}
.author-box .aav {
  flex: 0 0 64px; width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, #1d3557, #2c6e9e); color:#fff;
  display:flex; align-items:center; justify-content:center; overflow: hidden;
  font-family:"Noto Serif JP",serif; font-size:1.5rem;
}
.author-box .aav img { width: 100%; height: 100%; object-fit: cover; display: block; }
.author-box .aname { font-family:"Noto Serif JP",serif; font-weight:600; font-size:1.1rem; }
.author-box .arole { font-size:0.78rem; color: var(--muted); margin: 2px 0 10px; }
.author-box p { font-size: 0.88rem; color: var(--muted); margin: 0 0 10px; line-height: 1.8; }

/* 関連記事 */
.related { max-width: var(--readw); margin: 46px auto 0; }
.related h2 {
  font-family:"Noto Serif JP",serif; font-size:1.25rem; color: var(--deep);
  border-bottom: 2px solid var(--deep); padding-bottom: 10px; margin: 0 0 8px;
}

/* ---------- フッター ---------- */
.site-footer { background: var(--deep-2); color: #bfccdc; margin-top: 72px; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding: 48px 0 32px; }
.footer-brand .fname { font-family:"Noto Serif JP",serif; font-size:1.25rem; color:#fff; letter-spacing:0.08em; }
.footer-brand p { font-size: 0.82rem; color:#93a9c4; margin: 10px 0 0; max-width: 360px; line-height: 1.8; }
.footer-links { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-links .col h5 { font-size: 0.8rem; color:#fff; letter-spacing:0.12em; margin:0 0 14px; }
.footer-links .col a { display:block; color:#a3b6cd; font-size:0.84rem; margin-bottom:10px; }
.footer-links .col a:hover { color:#fff; text-decoration:none; }
.footer-disclaimer {
  border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0;
  font-size: 0.74rem; color:#7f95b0; line-height: 1.8;
}
.footer-copy { border-top: 1px solid rgba(255,255,255,0.1); padding: 16px 0; font-size: 0.74rem; color:#72879f; }

/* ---------- レスポンシブ ---------- */
@media (max-width: 880px) {
  .layout { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 680px) {
  .header-nav { gap: 16px; }
  .header-nav a:not(.nav-x) { display: none; } /* モックなのでスマホは簡略化 */
  .hero-inner { padding: 56px 0 60px; }
  .post-item { flex-direction: column; gap: 12px; }
  .post-item .pthumb { flex: none; width: 100%; height: 150px; }
  .footer-top { flex-direction: column; gap: 28px; }
}

/* ============================================================
   WordPress テーマ用 追記
   ============================================================ */
.header-nav ul.nav-menu { list-style:none; display:flex; gap:26px; margin:0; padding:0; align-items:center; }
.header-nav ul.nav-menu a { color:#d9e2ee; font-size:0.9rem; letter-spacing:0.04em; text-decoration:none; transition:color .2s; }
.header-nav ul.nav-menu a:hover { color:#fff; text-decoration:none; }
.header-nav ul.nav-menu .current-menu-item > a { color:#fff; }

.feature .thumb img { width:100%; height:100%; object-fit:cover; }
.feature .thumb.has-img::after { content:none; }
.post-item .pthumb img { width:100%; height:100%; object-fit:cover; border-radius:8px; }
.post-item .pthumb { overflow:hidden; }

.article-body img { height:auto; border-radius:8px; margin:1.6em auto; }
.article-body figure { margin:1.8em 0; }
.article-body figure img { margin:0 auto; }
.article-body figcaption { font-size:0.8rem; color:var(--muted); text-align:center; margin-top:8px; }
.article-body .wp-block-image { margin:1.8em 0; }
.aligncenter { margin-left:auto; margin-right:auto; }
.alignright { float:right; margin:0 0 1em 1.5em; }
.alignleft { float:left; margin:0 1.5em 1em 0; }
.screen-reader-text { position:absolute !important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }

/* 固定ページ・アーカイブ */
.page-hero { background:linear-gradient(160deg,var(--deep),var(--deep-2)); color:#eaf0f7; padding:54px 0; }
.page-hero h1 { font-family:"Noto Serif JP",serif; font-weight:600; margin:0; font-size:clamp(1.5rem,3.5vw,2rem); letter-spacing:0.03em; }
.page-hero p { color:#c0cfe0; margin:10px 0 0; font-size:0.95rem; }
.page-body { max-width:var(--readw); margin:0 auto; padding:48px 24px; }
.page-body h2 { font-family:"Noto Serif JP",serif; color:var(--deep); border-bottom:2px solid var(--deep); padding-bottom:10px; margin:2em 0 .9em; font-size:1.4rem; }
.page-body h3 { font-family:"Noto Serif JP",serif; color:var(--ink); border-left:4px solid var(--accent); padding-left:12px; margin:1.8em 0 .7em; font-size:1.12rem; }
.page-body p { line-height:1.95; margin:0 0 1.5em; }
.page-body ul, .page-body ol { margin:0 0 1.5em; padding-left:1.5em; }
.page-body li { margin-bottom:.5em; line-height:1.85; }
.page-body strong { color:var(--deep); font-weight:700; }
.page-body a { border-bottom:1px solid currentColor; }
/* 固定ページの表（資料ページ用。記事本文と同じ見た目にそろえる） */
.page-body table { width:100%; border-collapse:collapse; margin:1.6em 0; font-size:.9rem; }
.page-body th, .page-body td { border:1px solid var(--line); padding:10px 13px; text-align:left; }
.page-body th { background:var(--deep); color:#fff; font-weight:700; letter-spacing:.03em; }
.page-body tbody tr:nth-child(even) { background:#f4f6fa; }
.page-body figure.wp-block-table { margin:1.6em 0; }
.page-body figcaption { font-size:.8rem; color:var(--muted); margin-top:8px; }
/* 幅の狭い画面でも本文カラムを押し広げないよう、表だけ横スクロールさせる */
.page-body .scroll-x { overflow-x:auto; -webkit-overflow-scrolling:touch; }
.page-body .scroll-x table { min-width:520px; }
/* 「最終更新」のスタンプ（更新し続ける資料ページの先頭に置く） */
.page-meta {
  display:inline-block; font-size:.8rem; color:var(--muted);
  background:#eef3f9; border:1px solid #d5e0ee; border-radius:6px;
  padding:6px 14px; margin:0 0 1.8em;
}

.pagination { display:flex; justify-content:center; gap:8px; margin-top:48px; flex-wrap:wrap; }
.pagination .page-numbers { padding:8px 14px; border:1px solid var(--line); border-radius:6px; color:var(--accent-dk); background:#fff; font-size:0.9rem; }
.pagination .page-numbers.current { background:var(--deep); color:#fff; border-color:var(--deep); }
.pagination a.page-numbers:hover { background:var(--accent); color:#fff; text-decoration:none; }

/* ---------- はじめての方へ：ピラー導線（記事内の固定キュー） ---------- */
.pillar-cue-wrap { max-width: var(--readw); margin: 24px auto 0; padding: 0 24px; }
.pillar-cue {
  display: flex; align-items: center; gap: 14px;
  background: linear-gradient(140deg, #f0f4f9, #e6edf5);
  border: 1px solid var(--line); border-left: 4px solid var(--accent);
  border-radius: 10px; padding: 14px 18px; color: var(--ink);
}
.pillar-cue:hover { text-decoration: none; border-color: var(--accent); background: #eaf0f7; }
.pillar-cue-label {
  flex: none; font-size: .72rem; font-weight: 700; letter-spacing: .04em;
  color: #fff; background: var(--accent-dk); border-radius: 5px; padding: 4px 9px;
}
.pillar-cue-text { font-size: .95rem; font-weight: 700; color: var(--deep); line-height: 1.5; }
.pillar-cue-arrow { flex: none; margin-left: auto; color: var(--accent-dk); font-weight: 700; }
@media (max-width: 560px) {
  .pillar-cue { flex-wrap: wrap; gap: 8px 12px; }
  .pillar-cue-arrow { margin-left: 0; }
}

/* ---------- START HERE：トップのピラー入口（サイドバー） ---------- */
.side-block.start-here {
  display: block; background: linear-gradient(155deg, var(--deep), var(--deep-2));
  border: none; color: #eaf0f7;
}
.side-block.start-here:hover { text-decoration: none; }
.start-here .sh-eyebrow { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .12em; color: var(--gold-lt); margin-bottom: 8px; }
.start-here .sh-title { display: block; font-family: "Noto Serif JP", serif; font-size: 1.18rem; font-weight: 600; color: #fff; margin-bottom: 8px; }
.start-here .sh-text { display: block; font-size: .85rem; line-height: 1.7; color: #c0cfe0; margin-bottom: 14px; }
.start-here .sh-go { display: inline-block; font-size: .85rem; font-weight: 700; color: #fff; border-bottom: 1px solid rgba(255,255,255,.5); padding-bottom: 1px; }
.side-block.start-here:hover .sh-go { border-bottom-color: #fff; }

/* ---------- カテゴリのピラー本文（記事一覧の下） ---------- */
.archive-outro {
  background: var(--surface); border-top: 1px solid var(--line); margin-top: 56px;
}
/* 幅は上の記事一覧（760px）に合わせる。ずれると一覧との段差が目立つため */
.archive-outro .outro-inner { max-width: 760px; margin: 0 auto; padding: 48px 0 56px; }
.archive-outro h2 {
  font-family: "Noto Serif JP", serif; font-size: 1.32rem; font-weight: 600;
  line-height: 1.55; color: var(--deep); margin: 2.2em 0 .9em;
  padding-bottom: 10px; border-bottom: 2px solid var(--deep);
}
.archive-outro .outro-inner > h2:first-child { margin-top: 0; }
.archive-outro h3 {
  font-family: "Noto Serif JP", serif; font-size: 1.08rem; font-weight: 600;
  color: var(--ink); margin: 1.8em 0 .6em; padding-left: 12px;
  border-left: 4px solid var(--accent);
}
.archive-outro p { font-size: .97rem; line-height: 1.95; margin: 0 0 1.5em; }
.archive-outro ul, .archive-outro ol { margin: 0 0 1.5em; padding-left: 1.5em; }
.archive-outro li { margin-bottom: .5em; line-height: 1.85; }
.archive-outro strong { color: var(--deep); font-weight: 700; }
.archive-outro a { border-bottom: 1px solid currentColor; }
.archive-outro table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: .88rem; }
.archive-outro th, .archive-outro td { border: 1px solid var(--line); padding: 10px 13px; text-align: left; }
.archive-outro th { background: var(--deep); color: #fff; font-weight: 700; letter-spacing: .03em; }
.archive-outro tbody tr:nth-child(even) { background: #f4f6fa; }
/* 表は幅の狭い画面で横スクロールさせる（本文カラムを押し広げない） */
.archive-outro .scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 560px) {
  .archive-outro .outro-inner { padding: 36px 0 40px; }
  .archive-outro h2 { font-size: 1.18rem; }
}

/* お問い合わせフォーム（[shikumi_contact_form]） */
.contact-form { margin: 2.4em 0 0; }
.cf-notice {
  margin: 0 0 1.8em; padding: 14px 18px; border-radius: 6px;
  font-size: .95rem; line-height: 1.8;
}
.cf-ok { background: #eef3f9; border: 1px solid #d5e0ee; border-left: 4px solid var(--accent); color: var(--deep); }
.cf-ng { background: #fdf2f0; border: 1px solid #f0d9d4; border-left: 4px solid #c0705c; color: #8a4534; }
.cf-form { background: #f4f6fa; border: 1px solid var(--line); border-radius: 8px; padding: 26px 24px 20px; }
.cf-row { margin: 0 0 1.4em; }
.cf-row label {
  display: block; font-weight: 700; color: var(--deep);
  font-size: .92rem; margin-bottom: .5em;
}
.cf-req, .cf-opt {
  font-size: .68rem; font-weight: 700; letter-spacing: .08em;
  padding: 2px 7px; border-radius: 4px; margin-left: 6px; vertical-align: 2px;
}
.cf-req { background: var(--accent); color: #fff; }
.cf-opt { background: #dfe6ef; color: var(--accent-dk); }
.cf-row input[type="text"],
.cf-row input[type="email"],
.cf-row textarea {
  width: 100%; box-sizing: border-box;
  border: 1px solid #c9d4e2; border-radius: 5px; background: #fff;
  padding: 11px 13px; font: inherit; font-size: 1rem; line-height: 1.7;
  color: var(--ink);
}
.cf-row textarea { resize: vertical; min-height: 190px; }
.cf-row input:focus, .cf-row textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(44,110,158,.15);
}
.cf-help { display: block; margin-top: .5em; font-size: .84rem; color: #5b6676; line-height: 1.7; }
.cf-note { font-size: .86rem; color: #5b6676; line-height: 1.8; margin: 0 0 1.6em; }
.cf-submit { margin: 0; }
.cf-submit button {
  background: var(--deep); color: #fff; border: 0; border-radius: 6px;
  padding: 14px 34px; font: inherit; font-size: 1rem; font-weight: 700;
  letter-spacing: .04em; cursor: pointer;
}
.cf-submit button:hover { background: var(--accent-dk); }
/* honeypot は画面にも読み上げにも出さない（display:none だと埋めるボットがいる） */
.cf-hp { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 560px) {
  .cf-form { padding: 20px 16px 16px; }
  .cf-submit button { width: 100%; }
}

/* ---------- PR表記（アフィリエイトリンクを含む記事の冒頭・ステマ規制対応） ---------- */
.pr-notice-wrap { max-width: var(--readw); margin: 22px auto 0; padding: 0 24px; }
.pr-notice {
  display: flex; gap: 10px; align-items: baseline; margin: 0;
  font-size: .82rem; line-height: 1.7; color: var(--muted);
  background: #faf7f1; border: 1px solid #ece3d3; border-radius: 6px; padding: 10px 14px;
}
.pr-notice .pr-label {
  flex: none; font-size: .68rem; font-weight: 700; letter-spacing: .1em;
  color: #fff; background: var(--gold-dk); border-radius: 4px; padding: 2px 8px;
}

/* ---------- トップのヒーロー背景写真（.has-photo・文字側を濃くして読みやすさを保つ） ---------- */
.hero.has-photo {
  background:
    linear-gradient(90deg, rgba(20,36,61,.94) 0%, rgba(20,36,61,.82) 42%, rgba(20,36,61,.40) 100%),
    var(--hero-img) 75% center / cover no-repeat,
    var(--deep-2);
}
.hero.has-photo::after { opacity: 0; }
@media (max-width: 680px) {
  .hero.has-photo {
    background:
      linear-gradient(rgba(20,36,61,.86), rgba(20,36,61,.86)),
      var(--hero-img-sp) center / cover no-repeat,
      var(--deep-2);
  }
}
