/*
Theme Name: 恋と本能の教科書
Theme URI: https://example.com/koi-to-honno
Author: Koi to Honno
Author URI: https://example.com
Description: 恋愛・性をテーマにした女性向けWEBマガジン「恋と本能の教科書」のオリジナルテーマ。スマホは1カラム、PCは2カラム（記事一覧＋サイドバー）のレスポンシブ対応。ハンバーガーメニュー（カテゴリー一覧）、Xリンク、キーワード検索、広告エリア3箇所、公式LINE準備中、お問い合わせフォームボタン、ライター（執筆者）機能、SEO機能を備える。
Version: 1.5.1
Requires at least: 5.5
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: koi-to-honno
*/

/* ============================================================
   フォント同梱（自己ホスティング）
   Noto Serif JP をテーマに同梱し、外部CDNのサブセット分割に
   依存せず全環境・全漢字（「恋」等）を同一フォントで安定描画する。
   ============================================================ */
@font-face {
  font-family: "Noto Serif JP Local";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/NotoSerifJP-SemiBold.woff2") format("woff2");
}
@font-face {
  font-family: "Noto Serif JP Local";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/NotoSerifJP-Bold.woff2") format("woff2");
}

/* ============================================================
   恋と本能の教科書 - メインスタイル
   カラーパレット
   - 背景: #ffffff
   - セクション背景: #f7f7f8
   - 文字: #333333
   - アクセント(ブルーグレー): #5b7b8a
   - アクセント(コーラル): #e8847c
   - LINEグリーン: #06c755
   ============================================================ */

:root {
  --c-bg: #ffffff;
  --c-bg-soft: #f7f7f8;
  --c-text: #333333;
  --c-text-light: #888888;
  --c-line: #ececec;
  --c-accent: #5b7b8a;
  --c-coral: #e8847c;
  --c-coral-dark: #d9685f;
  --c-line-green: #06c755;
  --radius: 12px;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  --maxw: 720px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic",
    "Noto Sans JP", Meiryo, sans-serif;
  color: var(--c-text);
  background: #ededf0;
  line-height: 1.75;
  font-size: 15px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* サイト全体を中央のモバイル幅に収める（PCでもスマホレイアウトを維持） */
.site-wrapper {
  max-width: var(--maxw);
  margin: 0 auto;
  background: var(--c-bg);
  min-height: 100vh;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow-x: hidden;
}

/* ---------- ヘッダー ---------- */
.site-header {
  padding: 16px 16px 14px;
  border-bottom: 1px solid var(--c-line);
  position: relative;
}
.header-top {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 44px;
}
.hamburger {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}
.hamburger span {
  display: block;
  height: 2px;
  width: 26px;
  background: var(--c-text);
  border-radius: 2px;
  transition: 0.3s;
}
.site-title {
  text-align: center;
  margin: 0;
  line-height: 1.2;
}
.site-title a {
  font-family: "Noto Serif JP Local", "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--c-text);
}
.site-tagline {
  text-align: center;
  font-size: 13px;
  color: var(--c-text-light);
  letter-spacing: 0.18em;
  margin: 4px 0 0;
  font-family: "Noto Serif JP Local", "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
}

/* タイトル下のボタン行（X・検索、右寄せ） */
.header-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 12px;
}
.btn-square {
  width: 48px;
  height: 48px;
  border: 1px solid #d7d7d7;
  border-radius: 8px;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  transition: 0.2s;
  color: var(--c-text);
}
.btn-square:hover { background: var(--c-bg-soft); }
.btn-square svg { width: 20px; height: 20px; fill: currentColor; }
.btn-square .label { font-size: 9px; letter-spacing: 0.04em; }

/* ---------- ハンバーガーメニュー（ドロワー） ---------- */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 998;
}
.drawer-overlay.open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 78%;
  max-width: 320px;
  height: 100%;
  background: #fff;
  z-index: 999;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
}
.drawer.open { transform: translateX(0); }
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--c-line);
}
.drawer-head .dh-title {
  font-family: "Yu Mincho", "Noto Serif JP Local", "Noto Serif JP", serif;
  font-size: 18px;
  letter-spacing: 0.08em;
}
.drawer-close {
  background: none;
  border: none;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  color: var(--c-text);
}
.drawer-section-title {
  padding: 18px 20px 8px;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--c-coral);
  font-weight: 700;
}
.drawer-menu { list-style: none; margin: 0; padding: 0; }
.drawer-menu li { border-bottom: 1px solid var(--c-line); }
.drawer-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  font-size: 15px;
}
.drawer-menu a:hover { background: var(--c-bg-soft); }
.drawer-menu a::after { content: "›"; color: var(--c-text-light); }

/* ---------- 広告エリア共通 ---------- */
.ad-area { margin: 0; }
.ad-area img { width: 100%; }
.ad-label {
  font-size: 10px;
  color: #bbb;
  text-align: center;
  letter-spacing: 0.2em;
  padding: 4px 0 0;
}
.ad-top { border-bottom: 1px solid var(--c-line); }
.ad-column { padding: 14px 16px; }
.ad-column img { border-radius: var(--radius); }
.ad-bottom img { width: 100%; }

/* ---------- 検索フォーム（展開式） ---------- */
.search-panel {
  display: none;
  margin-top: 12px;
}
.search-panel.open { display: block; }
.search-panel form { display: flex; gap: 8px; }
.search-panel input[type="search"] {
  flex: 1;
  border: 1px solid #d7d7d7;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
}
.search-panel button {
  background: var(--c-accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0 18px;
  cursor: pointer;
}

/* ---------- メインエリア ---------- */
.site-main { padding: 0 0 8px; }

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 22px 16px 12px;
}
.section-head h2 {
  font-size: 18px;
  margin: 0;
  letter-spacing: 0.06em;
  border-left: 4px solid var(--c-coral);
  padding-left: 10px;
}
.section-head .more { font-size: 12px; color: var(--c-accent); }

/* 記事カード（リスト） */
.post-list { padding: 0 16px; }
.post-card {
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 16px;
  background: #fff;
  box-shadow: var(--shadow);
}

/* 特集（大カード） */
.post-card.featured .thumb img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.post-card.featured .card-body { padding: 14px 16px 16px; }
.cat-tag {
  display: inline-block;
  background: var(--c-coral);
  color: #fff;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 4px;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.post-card.featured h3 {
  font-size: 19px;
  line-height: 1.5;
  margin: 4px 0 12px;
  font-weight: 700;
}

/* 通常カード（横並び） */
.post-card.row { display: flex; align-items: stretch; }
.post-card.row .thumb {
  flex: 0 0 38%;
  max-width: 38%;
}
.post-card.row .thumb img {
  width: 100%;
  height: 100%;
  min-height: 120px;
  object-fit: cover;
}
.post-card.row .card-body {
  flex: 1;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
}
.post-card.row h3 {
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 6px;
  font-weight: 700;
}
.post-card.row .excerpt {
  font-size: 12px;
  color: var(--c-text-light);
  line-height: 1.6;
  margin: 0 0 auto;
}

/* メタ情報 */
.post-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
  font-size: 11px;
  color: var(--c-text-light);
}
.post-meta .author { display: flex; align-items: center; gap: 6px; }
.post-meta .author img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}
/* ライター連携の著者表示（アイコン＋名前） */
.post-meta .koi-card-author { display: inline-flex; align-items: center; gap: 6px; }
.post-meta .koi-card-author-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}
.post-meta .koi-card-author-name { font-size: inherit; }
.post-meta .read-time::before { content: "🕑 "; }
.post-meta .date { margin-left: auto; }
.post-meta .date::before { content: "📅 "; }

/* もっと読むボタン */
.more-btn-wrap { text-align: center; padding: 6px 16px 20px; }
.more-btn {
  display: inline-block;
  border: 1px solid var(--c-accent);
  color: var(--c-accent);
  border-radius: 30px;
  padding: 11px 40px;
  font-size: 14px;
  transition: 0.2s;
}
.more-btn:hover { background: var(--c-accent); color: #fff; }

/* ---------- 公式LINEセクション ---------- */
.line-box {
  margin: 8px 16px 16px;
  border: 2px solid var(--c-line-green);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
}
.line-box .line-icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  background: var(--c-line-green);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.line-box .line-icon svg { width: 30px; height: 30px; fill: #fff; }
.line-box .line-text .lt-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--c-line-green);
  letter-spacing: 0.06em;
}
.line-box .line-text .lt-title small {
  color: var(--c-line-green);
  font-size: 14px;
  margin-left: 6px;
}
.line-box .line-text .lt-sub { font-size: 12px; color: var(--c-text-light); }

/* ---------- お問い合わせフォームボタン ---------- */
.contact-btn-wrap { padding: 4px 16px 18px; }
.contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: var(--c-coral);
  color: #fff;
  border-radius: 30px;
  padding: 16px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition: 0.2s;
}
.contact-btn:hover { background: var(--c-coral-dark); }
.contact-btn svg { width: 20px; height: 20px; fill: #fff; }

/* ---------- フッター ---------- */
.site-footer {
  background: #fff;
  text-align: center;
  padding: 26px 16px 36px;
}
.footer-tagline {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP Local", "Noto Serif JP", serif;
  font-size: 17px;
  letter-spacing: 0.12em;
  color: var(--c-text);
}
.footer-copy {
  font-size: 11px;
  color: #bbb;
  margin-top: 14px;
  letter-spacing: 0.04em;
}

/* ---------- 個別記事・固定ページ ---------- */
.entry {
  padding: 20px 16px 40px;
}
.entry .cat-tag { margin-bottom: 12px; }
.entry-title {
  font-size: 23px;
  line-height: 1.5;
  font-weight: 700;
  margin: 6px 0 14px;
}
.entry .post-meta { margin: 0 0 18px; }
.entry-thumb { margin: 0 -16px 20px; }
.entry-thumb img { width: 100%; }
.entry-content { font-size: 15px; line-height: 1.95; }
.entry-content h2 {
  font-size: 19px;
  border-left: 4px solid var(--c-coral);
  padding-left: 10px;
  margin: 32px 0 14px;
}
.entry-content h3 {
  font-size: 17px;
  border-bottom: 2px solid var(--c-line);
  padding-bottom: 6px;
  margin: 26px 0 12px;
}
.entry-content p { margin: 0 0 18px; }
.entry-content img { border-radius: 8px; margin: 16px 0; }
.entry-content a { color: var(--c-accent); text-decoration: underline; }

/* パンくず */
.breadcrumb {
  font-size: 11px;
  color: var(--c-text-light);
  padding: 12px 16px 0;
}
.breadcrumb a { color: var(--c-accent); }

/* アーカイブ見出し */
.archive-head {
  padding: 22px 16px 10px;
}
.archive-head h1 {
  font-size: 20px;
  margin: 0;
  border-left: 4px solid var(--c-coral);
  padding-left: 10px;
}

/* ページネーション */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 16px;
  flex-wrap: wrap;
}
.pagination .page-numbers {
  display: inline-block;
  min-width: 38px;
  text-align: center;
  padding: 8px 10px;
  border: 1px solid var(--c-line);
  border-radius: 8px;
  font-size: 13px;
}
.pagination .page-numbers.current {
  background: var(--c-accent);
  color: #fff;
  border-color: var(--c-accent);
}

/* コメント・検索結果なし */
.no-results { padding: 40px 16px; text-align: center; color: var(--c-text-light); }

/* レスポンシブ微調整（細い端末） */
@media (max-width: 360px) {
  .site-title a { font-size: 26px; }
  .post-card.featured h3 { font-size: 17px; }
}

/* WordPress標準クラス */
.aligncenter { margin-left: auto; margin-right: auto; }
.alignright { float: right; margin-left: 12px; }
.alignleft { float: left; margin-right: 12px; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 12px; color: var(--c-text-light); text-align: center; }
.screen-reader-text {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
}
.sticky, .gallery-caption, .bypostauthor { display: block; }


/* ============================================================
   ライター（執筆者）プロフィール ― 記事本文下に表示
   ============================================================ */
.koi-writer-box {
  margin: 36px 0 8px;
  padding: 20px 18px;
  background: var(--c-bg-soft, #f7f7f8);
  border: 1px solid #ececef;
  border-radius: 14px;
}
.koi-writer-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.koi-writer-avatar {
  flex: 0 0 auto;
}
.koi-writer-avatar img,
img.koi-writer-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}
.koi-writer-namebox {
  min-width: 0;
}
.koi-writer-name {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
  color: var(--c-text, #333);
}
.koi-writer-name a {
  color: var(--c-accent, #5b7b8a);
  text-decoration: none;
}
.koi-writer-name a:hover {
  text-decoration: underline;
}
.koi-writer-role {
  font-size: 12px;
  color: #888;
  margin: 2px 0 0;
}
.koi-writer-bio {
  font-size: 13.5px;
  line-height: 1.9;
  color: #555;
}
.koi-writer-bio p {
  margin: 0 0 8px;
}
.koi-writer-bio p:last-child {
  margin-bottom: 0;
}
.koi-writer-bio a {
  color: var(--c-accent, #5b7b8a);
  word-break: break-all;
}


/* ============================================================
   パンくずリスト（SEO・回遊性向上）
   ============================================================ */
.koi-breadcrumbs {
  font-size: 11.5px;
  color: #999;
  padding: 10px 4px 0;
  line-height: 1.6;
}
.koi-breadcrumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.koi-breadcrumbs li {
  display: inline-flex;
  align-items: center;
}
.koi-breadcrumbs li + li::before {
  content: "›";
  margin: 0 6px;
  color: #ccc;
}
.koi-breadcrumbs a {
  color: var(--c-accent, #5b7b8a);
  text-decoration: none;
}
.koi-breadcrumbs a:hover {
  text-decoration: underline;
}
.koi-breadcrumbs span {
  color: #999;
}

/* ============================================================
   ヒーロー（広告①）バナー：縦幅を抑えた横長表示
   ============================================================ */
.ad-top img {
  width: 100%;
  aspect-ratio: 1400 / 360;
  height: auto;
  max-height: 130px;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ============================================================
   PC表示用：サイドバーはスマホでは非表示
   ============================================================ */
.pc-sidebar { display: none; }
.content-wrap { display: block; }

/* ============================================================
   レスポンシブ：PC（タブレット横〜デスクトップ）
   992px以上で2カラムレイアウトに切り替え
   ============================================================ */
@media (min-width: 992px) {

  :root { --maxw: 1120px; }

  body { font-size: 16px; }

  /* サイト全体をワイド表示に */
  .site-wrapper {
    max-width: 1120px;
  }

  /* ヘッダーをPC向けに整える（ハンバーガーは左上・最上段に独立配置） */
  .site-header { padding: 18px 32px 18px; position: relative; }
  /* ハンバーガーを最上段の左上に固定し、サイト名とは別の段にする */
  .header-top {
    display: block;
    justify-content: flex-start;
    min-height: 0;
    padding-top: 40px; /* 最上段のハンバーガー用スペースを確保 */
  }
  .hamburger {
    position: absolute;
    left: 32px;
    top: 18px;
    transform: none;
    margin-right: 0;
  }
  .site-title {
    text-align: left;
  }
  .site-title a { font-size: 38px; }
  .site-tagline { text-align: left; margin-left: 4px; }
  /* X・検索ボタンは右上に配置（ハンバーガーと同じ最上段の右側） */
  .header-actions { position: absolute; top: 18px; right: 32px; }

  /* 上部広告①：横長バナーを中央に（縦幅を大きく抑える） */
  .ad-top { padding: 22px 32px 0; border-bottom: none; }
  .ad-top img {
    border-radius: var(--radius);
    aspect-ratio: 1400 / 360;
    max-height: 200px;
    object-fit: cover;
    object-position: center;
  }

  /* メイン＋サイドバーの2カラム */
  .content-wrap {
    display: flex;
    align-items: flex-start;
    gap: 36px;
    padding: 8px 32px 0;
  }
  .site-main {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0;
  }
  .pc-sidebar {
    display: block;
    flex: 0 0 320px;
    width: 320px;
  }

  /* セクション見出し */
  .section-head { padding: 10px 0 16px; }
  .section-head h2 { font-size: 22px; }

  /* 記事リストを2列グリッドに（特集は全幅） */
  .post-list {
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }
  .post-card { margin-bottom: 0; }

  /* 特集大カード：横長で全幅 */
  .post-card.featured {
    grid-column: 1 / -1;
    display: flex;
    align-items: stretch;
  }
  .post-card.featured .thumb {
    flex: 0 0 48%;
    max-width: 48%;
  }
  .post-card.featured .thumb img {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    min-height: 260px;
    object-fit: cover;
  }
  .post-card.featured .card-body {
    flex: 1;
    padding: 26px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .post-card.featured h3 { font-size: 24px; }

  /* 通常カード：縦積み（サムネ上・本文下）の雑誌風グリッド */
  .post-card.row {
    display: flex;
    flex-direction: column;
  }
  .post-card.row .thumb {
    flex: none;
    max-width: 100%;
    width: 100%;
  }
  .post-card.row .thumb img {
    width: 100%;
    aspect-ratio: 16 / 10;
    min-height: 0;
    height: auto;
  }
  .post-card.row .card-body { padding: 16px 18px 18px; }
  .post-card.row h3 { font-size: 17px; }
  .post-card.row .excerpt { font-size: 13px; }

  /* PCではインライン広告②（記事間）を隠す → サイドバーに集約 */
  .ad-column-inline { display: none; }

  /* ページネーション・もっと読むボタン */
  .pagination { grid-column: 1 / -1; }

  /* ---------- サイドバー内パーツ ---------- */
  .pc-sidebar .widget,
  .pc-sidebar .side-block,
  .pc-sidebar .side-ad { margin-bottom: 28px; }

  .side-ad img {
    width: 100%;
    border-radius: var(--radius);
  }

  .pc-sidebar-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--c-coral);
  }

  /* 人気記事ランキング */
  .side-ranking {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: rank;
  }
  .side-ranking li {
    counter-increment: rank;
    margin-bottom: 14px;
  }
  .side-ranking li a {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    position: relative;
  }
  .side-ranking .sr-thumb {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
  }
  .side-ranking .sr-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .side-ranking .sr-thumb::before {
    content: counter(rank);
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    background: var(--c-accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom-right-radius: 6px;
    z-index: 1;
  }
  .side-ranking .sr-body {
    flex: 1;
    min-width: 0;
  }
  .side-ranking .sr-title {
    display: block;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 600;
  }
  .side-ranking .sr-date {
    display: block;
    font-size: 11px;
    color: var(--c-text-light);
    margin-top: 4px;
  }

  /* カテゴリーリスト */
  .side-cats {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .side-cats li {
    border-bottom: 1px solid var(--c-line);
  }
  .side-cats li a {
    display: block;
    padding: 11px 4px;
    font-size: 14px;
  }
  .side-cats li a::before {
    content: "› ";
    color: var(--c-coral);
  }

  /* フッター周りもPC幅に（中央寄せ・最大幅を抑える） */
  .line-box,
  .contact-btn-wrap {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
  }
  .ad-bottom {
    margin: 28px 32px 0;
  }
  .ad-bottom img { border-radius: var(--radius); }
  .site-footer { padding-top: 28px; }
}

/* 大きめデスクトップ */
@media (min-width: 1200px) {
  .site-wrapper { max-width: 1120px; }
}
