/* ============================================================
   soukyu.com「制作実績・個別記事」共通スタイル
   works.html一覧ページから飛ぶ、1件ごとの制作実績詳細ページのテンプレート
   tempo.html・hotpepper_beauty.html 等、この型を使う全ページで共用
   ============================================================ */
:root {
  --bg: #ffffff;
  --cream: #f3f2f0;
  --sumi: #1f1f1f;
  --sumi-deep: #1c1b19;
  --shu: #cf3a2b;
  --hairline: rgba(31, 31, 31, 0.05);
  --ink-body: #4a4a46;
  --line-green: #06c755;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Noto Serif JP', serif;
  background: var(--bg);
  color: var(--sumi);
  overflow-x: hidden;
}
/* ---------- 製図グリッド（v5共通） ---------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(var(--hairline), var(--hairline)),
    linear-gradient(var(--hairline), var(--hairline)),
    linear-gradient(var(--hairline), var(--hairline)),
    linear-gradient(var(--hairline), var(--hairline));
  background-size: 1px 100%;
  background-repeat: no-repeat;
  background-position:
    calc(50% - 560px) 0,
    calc(50% - 187px) 0,
    calc(50% + 187px) 0,
    calc(50% + 560px) 0;
}
@media (max-width: 900px) {
  body::before { display: none; }
}
.soukyu-page {
  max-width: 920px;
  margin: 0 auto;
  padding: 56px clamp(24px, 5vw, 72px) 90px;
}
.back-link {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13.5px;
  color: #8a8378;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 36px;
}
.back-link:hover { color: var(--shu); }

/* ---------- フッター（共通） ---------- */
.site-footer { background: #1c1b19; color: #b7b1a4; padding: 56px clamp(24px, 5vw, 72px) 36px; font-family: 'Noto Sans JP', sans-serif; }
.footer-inner { max-width: 1080px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; }
.footer-brand .f-logo { font-family: 'Noto Serif JP', serif; font-size: 20px; font-weight: 700; letter-spacing: 0.12em; color: #fff; margin-bottom: 8px; }
.footer-brand p { font-size: 12.5px; line-height: 1.9; color: #8d877b; }
.footer-col { display: flex; flex-direction: column; gap: 11px; }
.footer-col .f-head { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; color: #fff; margin-bottom: 4px; }
.footer-col a { color: #cfcabf; text-decoration: none; font-size: 13.5px; }
.footer-col a:hover { color: #fff; }
.footer-sub { width: 100%; border-top: 1px solid #34322e; margin-top: 16px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 14px 22px; justify-content: space-between; align-items: center; }
.footer-sub .sns { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-sub a { color: #b7b1a4; text-decoration: none; font-size: 12.5px; }
.footer-sub a:hover { color: #fff; }
.footer-sub .legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-copy { width: 100%; text-align: center; font-size: 11.5px; color: #6f6a60; margin-top: 22px; }
@media (max-width: 700px) {
  .footer-inner { flex-direction: column; gap: 22px; }
}

.sec-label {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--shu);
  margin-bottom: 14px;
}
.sec-label::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--shu);
  margin-right: 10px;
  vertical-align: middle;
}
h1 {
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.55;
  margin-bottom: 16px;
}
.article-meta {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12.5px;
  color: #9a937f;
  margin-bottom: 32px;
}
.article-meta span + span::before { content: "／"; margin: 0 6px; }

/* ---- パンくず（共通定義はcss/common.css。ここは間隔だけ上書き） ---- */
.breadcrumb { margin-bottom: 18px; }

/* ---- 案件サマリー ---- */
.case-summary { margin-bottom: 48px; }
.case-summary-label {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #9a937f;
  margin-bottom: 10px;
}

/* ---- 表の小見出し（クレジット・スケジュール等） ---- */
.table-label {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--sumi);
  margin: 0 0 10px;
}
.table-label + table { margin-bottom: 16px; }
.table-label ~ .table-label { margin-top: 28px; }

/* ---- 未着手セクションの注記 ---- */
.pending-note {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  color: #b6ae9b;
}

/* ---- 著者ミニプロフィール ---- */
.author-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: var(--cream);
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 32px;
}
.author-photo {
  flex: none;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fff;
  border: 1px dashed #d9d2c0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 11px;
  color: #b6ae9b;
}
.author-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.author-info { flex: 1; }
.author-name { font-family: 'Noto Serif JP', serif; font-size: 16.5px; font-weight: 700; color: var(--sumi); }
.author-role { font-family: 'Noto Sans JP', sans-serif; font-size: 12.5px; color: #9a937f; margin-top: 2px; }
.author-bio { max-width: 58em; margin-top: 10px; font-family: 'Noto Sans JP', sans-serif; font-size: 13px; line-height: 1.85; color: var(--ink-body); }
.author-link { display: inline-block; margin-top: 6px; font-family: 'Noto Sans JP', sans-serif; font-size: 13px; color: var(--sumi); text-decoration: none; }
.author-link:hover { color: var(--shu); }

/* ---- CTA補助リンク ---- */
.cta-sublinks {
  margin-top: 18px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  color: #8a8378;
}
.cta-sublinks a { color: #8a8378; text-decoration: none; }
.cta-sublinks a:hover { color: var(--shu); }

/* ---- 制作実績一覧へ ---- */
.related-more { text-align: center; margin: 30px 0 48px; }

/* ---- ヒーロー画像 ---- */
.hero-visual {
  aspect-ratio: 16 / 9.5;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #eeedea;
  margin-bottom: 48px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  color: #b6ae9b;
  text-align: center;
  line-height: 1.8;
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-visual.has-image { aspect-ratio: auto; }
.hero-visual.has-image img { height: auto; object-fit: contain; }

/* ---- 本文セクション ---- */
.entry { margin-bottom: 60px; }
.entry h2 {
  font-size: clamp(27px, 3vw, 31px);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.04em;
  margin-top: 80px;
  margin-bottom: 8px;
}
.entry h2::after {
  content: "";
  display: block;
  width: 50px;
  height: 2px;
  background: var(--shu);
  margin-top: 14px;
  margin-bottom: 34px;
}
.entry h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(20px, 2vw, 23px);
  font-weight: 600;
  line-height: 1.65;
  letter-spacing: 0.03em;
  margin: 56px 0 20px;
}
.entry p {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(16.5px, 1.4vw, 18px);
  line-height: 2.05;
  color: var(--ink-body);
  margin-bottom: 20px;
}
.entry p:last-child { margin-bottom: 0; }

/* ---- 本文のリスト（WordPress本文で書かれたul/ol）---- */
/* 全体リセットで消えた字下げを戻し、他ページのリスト（.plan-feats/.trust等）と同じ朱色の線マーカーにそろえる */
.entry ul:not(.phrase-list),
.entry ol {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(16.5px, 1.4vw, 18px);
  line-height: 2.05;
  color: var(--ink-body);
  margin: 8px 0 24px 1.4em;
}
.entry ul:not(.phrase-list) { list-style: none; }
.entry ul:not(.phrase-list) > li { position: relative; padding-left: 22px; margin-bottom: 8px; }
.entry ul.concept-list > li { margin-bottom: 20px; }
.entry > blockquote {
  position: relative;
  margin: 34px 0 38px;
  padding: 6px 0 6px clamp(30px, 4vw, 42px);
  border-left: 1px solid rgba(31, 31, 31, 0.2);
  background: transparent;
}
.entry > blockquote::before {
  content: "“";
  position: absolute;
  top: -17px;
  left: 11px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 38px;
  font-weight: 400;
  line-height: 1;
  color: rgba(31, 31, 31, 0.24);
}
.entry > blockquote p {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(16px, 1.35vw, 17.5px);
  line-height: 2.1;
  letter-spacing: 0.035em;
  color: #3f3f3b;
}
.entry > blockquote p:last-child { margin-bottom: 0; }
.entry ul:not(.phrase-list) > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1em;
  width: 10px;
  height: 2px;
  background: var(--shu);
}
.entry ol { padding-left: 1.6em; }
.entry ol > li { margin-bottom: 8px; }
.entry ol > li::marker { color: var(--shu); font-weight: 700; }
/* 入れ子のリストは上下を詰める */
.entry li > ul,
.entry li > ol { margin: 8px 0 0; }
.entry li:last-child { margin-bottom: 0; }

/* WordPress本文の画像：width/height属性つきで出力されるため、CSS側で両方を指定して枠内に収める */
.entry img { display: block; max-width: 100%; height: auto; border-radius: 10px; margin: 32px auto 36px; }
/* 本文画像の向き別の幅ルール。width/height属性から自動判定した is-landscape / is-portrait
   （functions.php の soukyu_theme_tag_body_image_orientation）に基づく。
   横長は本文幅いっぱい。縦長は幅いっぱいにすると縦に巨大化するため控えめな幅に留める */
.entry img.is-landscape,
.entry .wp-block-image.is-landscape img { width: 100%; }
.entry img.is-portrait,
.entry .wp-block-image.is-portrait img {
  width: auto;
  max-width: 60%;
  max-height: 640px;
  margin-left: auto;
  margin-right: auto;
}
/* WordPress本文の埋め込みも実寸の属性つきで出力されるため、画像と同じ間隔をそろえておく */
.entry iframe { max-width: 100%; margin: 32px auto 36px; }

/* YouTube：旧記事の.youtube-container（比率トリック）でも、共有リンクをそのまま貼ったWordPress標準の埋め込みでも、記事幅いっぱい・16:9を維持する */
.entry iframe[src*="youtube.com"],
.entry iframe[src*="youtube-nocookie.com"] {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
}

/* Googleマップ：iframeに固定のwidth/height属性が付いているため、記事幅いっぱいに広げる */
.entry iframe[src*="google.com/maps/embed"] {
  display: block;
  width: 100%;
  max-width: none;
  height: 360px;
  margin: 32px 0 36px;
  border: 0;
}
@media (max-width: 700px) {
  .entry iframe[src*="google.com/maps/embed"] { height: 280px; }
}

/* YouTubeは旧記事の .youtube-container で囲まれている場合がある。上のYouTubeルールより後ろに置き、位置指定を確実に勝たせる */
.entry .youtube-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; margin: 32px 0 36px; }
.entry .youtube-container iframe { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; aspect-ratio: auto; }

/* ---- 制作した筆文字リスト等（繰り返し項目＝線マーカー） ---- */
.phrase-list {
  list-style: none;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(16.5px, 1.4vw, 18px);
  color: var(--ink-body);
  margin: 4px 0 24px 1.4em;
}
.phrase-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  line-height: 1.8;
}
.phrase-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 10px;
  height: 2px;
  background: var(--shu);
}

/* ---- 本文の強調と旧WordPressクラスの互換表示 ----
   新しい記事データは意味のある強調にstrongを使う。
   bold/hutoは未整理の旧本文を安全に移すための互換指定として残す。 */
.entry strong,
.entry .bold,
.entry .huto {
  font-weight: 700;
}

/* ---- 関連リンク ---- */
.related-links { margin: 48px 0 8px; }
.entry .related-links-title {
  position: relative;
  margin: 0 0 14px;
  padding-left: 16px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.18em;
  color: var(--shu);
}
.related-links-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--shu);
}
.related-links-list {
  overflow: hidden;
  border: 1px solid var(--link-card-border);
  border-radius: 14px;
  background: #fff;
}
.related-link {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  color: var(--sumi);
  text-decoration: none;
  border-top: 1px solid #efeadd;
  transition: background 0.2s ease, color 0.2s ease;
}
.related-link:first-child { border-top: 0; }
.related-link-type {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #8a8378;
  white-space: nowrap;
}
.related-link-name {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(15px, 1.3vw, 16.5px);
  line-height: 1.75;
}
.related-link-arrow {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid #ded8cc;
  border-radius: 50%;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.related-link:hover { background: #fbfaf7; color: var(--shu); }
.related-link:focus-visible {
  color: var(--shu);
  background: #fbfaf7;
  outline: 2px solid var(--shu);
  outline-offset: -2px;
}

/* ---- 同じクライアント・プロジェクトの記事をつなぐ内部リンクカード ---- */
.project-link {
  margin: 34px 0 52px;
}
.entry .project-link-label {
  position: relative;
  margin: 0 0 12px;
  padding-left: 16px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.16em;
  color: var(--shu);
}
.project-link-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--shu);
}
.project-link-card {
  display: grid;
  grid-template-columns: 214px minmax(0, 1fr);
  align-items: stretch;
  overflow: hidden;
  color: var(--sumi);
  text-decoration: none;
  border: 1px solid var(--link-card-border);
  border-radius: 14px;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.project-link-card--text-only { grid-template-columns: 1fr; }
.project-link-list {
  display: grid;
  gap: 16px;
}
.entry .project-link-card img {
  width: 100%;
  height: 100%;
  min-height: 132px;
  margin: 0;
  border-radius: 0;
  object-fit: contain;
  object-position: center;
  background: #f7f6f3;
}
.project-link-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 20px 24px;
  font-family: 'Noto Sans JP', sans-serif;
}
.project-link-body strong {
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.6;
}
.project-link-description {
  margin-top: 5px;
  font-size: 13px;
  line-height: 1.7;
  color: #777064;
}
.entry .project-link-note {
  margin: 14px 2px 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  line-height: 1.8;
  color: #777064;
}
.project-link-action {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--shu);
}
.project-link-card:hover {
  border-color: var(--link-card-border-hover);
  box-shadow: 0 10px 28px rgba(31, 29, 25, 0.08);
  transform: translateY(-2px);
}
.project-link-card:focus-visible {
  outline: 2px solid var(--shu);
  outline-offset: 3px;
}
@media (max-width: 560px) {
  .project-link-card { grid-template-columns: 1fr; }
  .entry .project-link-card img {
    height: auto;
    min-height: 0;
  }
  .project-link-body { padding: 14px 16px; }
  .project-link-description { font-size: 12px; }
}
.related-link:hover .related-link-arrow {
  color: #fff;
  background: var(--shu);
  border-color: var(--shu);
  transform: translate(2px, -2px);
}
.related-link:focus-visible .related-link-arrow {
  color: #fff;
  background: var(--shu);
  border-color: var(--shu);
}
@media (max-width: 700px) {
  .related-link {
    grid-template-columns: minmax(0, 1fr) 34px;
    gap: 5px 14px;
    padding: 17px 18px;
  }
  .related-link-type { grid-column: 1; }
  .related-link-name { grid-column: 1; }
  .related-link-arrow { grid-column: 2; grid-row: 1 / span 2; }
}

/* ---- 画像プレースホルダー／実画像 ---- */
.entry-imgs {
  display: flex;
  gap: 16px;
  margin: 8px 0 22px;
}
.entry-imgs .ph {
  position: relative;
  flex: 1 1 0;
  aspect-ratio: 4 / 3;
  background: #fff;
  border: 1px dashed #d9d2c0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12.5px;
  color: #b6ae9b;
  text-align: center;
  line-height: 1.8;
  padding: 10px;
}
.entry-imgs .ph.wide { aspect-ratio: 16 / 9; flex: 1 1 100%; }
.entry-imgs.stack { flex-direction: column; }
.entry-imgs.stack .ph { flex: 0 0 auto; }
/* 4枚並びの派生（.entry-imgs.quad）：2×2グリッド */
.entry-imgs.quad { flex-wrap: wrap; }
.entry-imgs.quad .ph { flex: 1 1 calc(50% - 8px); }
/* 実画像入り（トリミングせず本来の比率のまま・角丸は維持） */
.entry-imgs .ph.img-ph {
  aspect-ratio: auto;
  border: 1px solid #eeedea;
  overflow: hidden;
  padding: 0;
  display: block;
}
.entry-imgs .ph.img-ph img { width: 100%; height: auto; display: block; }
.entry-imgs .ph .ph-type {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--shu);
}

/* ---- SNS投稿埋め込み ---- */
.tweet-embeds,
.instagram-embed {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  margin: 22px 0 44px;
}
.tweet-embeds .twitter-tweet { margin: 0 auto !important; }
.entry .instagram-embed .instagram-media,
.entry .instagram-embed iframe { margin: 0 auto !important; }

/* ---- 動画埋め込み ---- */
.video-embed {
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #eeedea;
  margin: 8px 0 22px;
}
.video-embed iframe { width: 100%; height: 100%; display: block; border: 0; margin: 0; }
.video-figure {
  overflow: hidden;
  margin: 34px 0 42px;
  border: 1px solid #e7e2d6;
  border-radius: 14px;
  background: #fff;
}
.video-caption {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  text-align: left;
  padding: 16px 20px;
  border-bottom: 1px solid #efeadd;
  background: #fbfaf7;
  font-family: 'Noto Sans JP', sans-serif;
}
.video-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--shu);
  white-space: nowrap;
}
.video-title {
  font-size: clamp(14px, 1.25vw, 16px);
  font-weight: 500;
  line-height: 1.7;
  color: var(--sumi);
}
.video-figure .video-embed {
  margin: 0;
  border: 0;
  border-radius: 0;
}
@media (max-width: 560px) {
  .video-caption {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 14px 16px;
  }
}

/* ---- 表（案件概要／credits／schedule） ---- */
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid #e7e2d6;
  border-radius: 12px;
  overflow: hidden;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14.5px;
  margin-bottom: 16px;
}
th, td { padding: 13px 18px; text-align: left; border-bottom: 1px solid #efeadd; line-height: 1.8; color: var(--ink-body); }
th { background: var(--cream); font-weight: 700; width: 30%; color: var(--sumi); }
tr:last-child th, tr:last-child td { border-bottom: none; }

/* 公演日程は右列の情報量が多いため、見出し列だけを狭くする */
.detail-block .schedule-table th { width: 20%; }
.detail-block .release-schedule-table th,
.detail-block .release-schedule-table td { white-space: nowrap; }
@media (max-width: 700px) {
  .detail-block .release-schedule-table td { white-space: normal; }
}

/* ---- 記事末尾の詳細情報（店舗・商品・CD等） ---- */
/* 罫線の上下が詰まって見えたため、線の上下の余白をさらに広げた */
.access-block,
.detail-block {
  margin: 64px 0 48px;
  padding-top: 56px;
  border-top: 1px solid #e7e2d6;
}
.access-block .table-label,
.detail-block .table-label { margin-bottom: 14px; }
.entry .detail-list {
  font-size: inherit;
  line-height: 1.8;
  margin: 0;
  padding-left: 1.4em;
}
.entry ol.track-list { list-style-type: decimal-leading-zero; }
.entry .detail-list > li { margin-bottom: 4px; }
.entry .access-note {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12.5px;
  line-height: 1.8;
  color: #8a8378;
  margin: 4px 0 28px;
}
.map-embed {
  border: 1px solid #e7e2d6;
  border-radius: 12px;
  overflow: hidden;
}
.entry .map-embed iframe {
  display: block;
  width: 100%;
  height: 300px;
  border: 0;
  margin: 0;
}
.branch-map-list {
  display: grid;
  gap: 30px;
  margin-top: 28px;
}
.branch-map {
  overflow: hidden;
  border: 1px solid #e7e2d6;
  border-radius: 14px;
  background: #fff;
}
.branch-map-heading {
  padding: 18px 22px 16px;
  border-bottom: 1px solid #e7e2d6;
  background: #fbfaf7;
}
.branch-map-number {
  display: block;
  margin-bottom: 4px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.16em;
  color: var(--shu);
}
.entry .branch-map-heading h3 {
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.55;
  color: var(--sumi);
}
.entry .branch-map-heading p {
  margin: 5px 0 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  line-height: 1.7;
  color: #777064;
}
.branch-map .map-embed {
  border: 0;
  border-radius: 0;
}
@media (max-width: 700px) {
  .entry .map-embed iframe { height: 240px; }
  .branch-map-list { gap: 22px; }
  .branch-map-heading { padding: 15px 16px 13px; }
}
.access-block .related-links,
.detail-block .related-links { margin: 36px 0 0; }

/* ---- 関連記事 ---- */
.related { margin: 70px 0 60px; }
.related h2 {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--shu);
  margin-bottom: 22px;
}
.related h2::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--shu);
  margin-right: 10px;
  vertical-align: middle;
}
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 30px); }
.related-card { display: flex; flex-direction: column; text-decoration: none; color: var(--sumi); }
.related-card .thumb {
  position: relative;
  aspect-ratio: 1.618;
  background: var(--cream);
  border: 1px solid #eeedea;
  border-radius: 10px;
  overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; padding: 14px; text-align: center;
}
.related-card .thumb .ph-name { font-family: 'Noto Serif JP', serif; font-size: 15px; font-weight: 700; letter-spacing: 0.03em; color: #9a907d; }
.related-card .thumb .ph-note { font-family: 'Noto Sans JP', sans-serif; font-size: 10px; letter-spacing: 0.1em; color: #b7ad99; }
.related-card .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.related-card:hover .thumb img { transform: scale(1.04); }
.related-card .eyebrow { font-family: 'Noto Sans JP', sans-serif; font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em; color: var(--shu); margin: 12px 0 4px; }
.related-card strong { display: block; font-family: 'Noto Serif JP', serif; font-size: 15px; font-weight: 700; line-height: 1.5; letter-spacing: 0.02em; color: var(--sumi); }
.related-card:hover strong { color: var(--shu); }
.related-card .cap { font-family: 'Noto Sans JP', sans-serif; font-size: 13px; line-height: 1.65; color: var(--sumi); }
.related-card:hover .cap { color: var(--shu); }

/* ---- CTA ---- */
.cta-block { text-align: center; background: var(--cream); border-radius: 18px; padding: 44px 24px; }
.cta-block p { font-family: 'Noto Sans JP', sans-serif; font-size: clamp(16px, 1.35vw, 17px); line-height: 2; color: var(--ink-body); margin-bottom: 24px; }
.cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; font-family: 'Noto Sans JP', sans-serif; }
.btn { display: inline-block; padding: 16px 34px; border-radius: 999px; font-size: 16px; font-weight: 700; text-decoration: none; letter-spacing: 0.04em; transition: transform 0.2s, background 0.2s; }
.btn:hover { transform: translateY(-2px); }
.btn-line { background: var(--line-green); color: #fff; box-shadow: 0 6px 18px rgba(6, 199, 85, 0.3); }
.btn-line:hover { background: #05b34c; }
.btn-form { background: #fff; color: var(--sumi); border: 2px solid var(--sumi); }
.btn-form:hover { background: var(--sumi); color: #fff; }

@media (max-width: 700px) {
  .soukyu-page { padding: 36px 20px 64px; }
  table, tbody, tr, th, td { display: block; width: 100%; }
  tr { border-bottom: 1px solid #efeadd; }
  tr:last-child { border-bottom: 0; }
  th, td { border-bottom: 0; }
  th { padding: 10px 14px; line-height: 1.5; }
  td { padding: 5px 14px 13px; }
  .entry-imgs { flex-direction: column; }
  .entry-imgs.quad .ph { flex: 1 1 100%; }
  .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
  .related-card .thumb { padding: 10px; }
  .related-card .thumb .ph-name { font-size: 13px; }
  .related-card .eyebrow { margin-top: 9px; font-size: 9.5px; }
  .related-card strong { font-size: 13.5px; }
  .related-card .cap { font-size: 12px; line-height: 1.6; }
  .btn { width: 100%; text-align: center; }
  .author-card { flex-direction: column; text-align: center; }
}
