/*
Theme Name: SmartSide
Theme URI: https://www.shinjuku-kensetsu.jp/
Author: 行政書士法人スマートサイド
Author URI: https://www.shinjuku-kensetsu.jp/
Description: 東京都の建設業許可申請専門の行政書士法人スマートサイド 公式テーマ
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: smartside
*/

/* ─────────────────────────────────────────
   style.css
   行政書士法人スマートサイド WordPress テーマ
───────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* ── ベースカラー: ティール系 ── */
  --navy: #003d3a;          /* 旧navy → ダークティール（ヘッダー・背景） */
  --navy-mid: #005450;      /* 旧navy-mid → ミドルティール */
  --gold: #00A199;          /* メインブランドカラー */
  --gold-light: #33bdb6;    /* ホバー用ライトティール */
  --cream: #f0fafa;         /* 旧cream → ティール寄りの薄いオフホワイト */
  --white: #ffffff;
  --gray-light: #e6f4f4;    /* 旧gray-light → ティール寄りライトグレー */
  --gray-mid: #c8dede;      /* 旧gray-mid → ティール寄りミドルグレー */
  --text-dark: #1a1a1a;
  --text-mid: #4a4a4a;
  --text-light: #888;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Noto Sans JP', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.85;
  overflow-x: hidden;
  font-size: 1rem;
}

/* ─── HEADER ─── */
#site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(0,0,0,.35);
  /* ドロワーナビの基準要素 */
  isolation: isolate;
}
.header-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}
.site-branding {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  text-decoration: none;
  flex-shrink: 0;
}
.site-branding .logo-sub {
  font-size: 11px;
  color: var(--gold);
  letter-spacing: .1em;
  font-weight: 500;
}
.site-branding .logo-main {
  font-family: 'Noto Serif JP', serif;
  font-size: 17px;
  color: var(--white);
  font-weight: 700;
  letter-spacing: .03em;
}

/* ─── ハンバーガーボタン ─── */
.nav-toggle {
  display: none; /* PC では非表示 */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 4px;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
  margin-left: auto;
}
.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
/* 開いたときの × 表示 */
.nav-toggle.is-active .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.is-active .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-active .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ─── ナビゲーション（PC） ─── */
#site-navigation {
  display: flex;
  align-items: center;
}
#site-navigation .nav-menu {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}
/* WordPressが付加する ul の margin をリセット */
#site-navigation ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ── 第1階層リンク共通 ── */
#site-navigation .nav-menu > li > a,
#site-navigation .nav-menu > li > .nav-parent-label {
  color: rgba(255,255,255,.82);
  text-decoration: none;
  font-size: 13px;
  padding: 0 13px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 4px;
  border-left: 1px solid rgba(255,255,255,.1);
  transition: color .2s, background .2s;
  letter-spacing: .03em;
  white-space: nowrap;
  cursor: pointer;
}
#site-navigation .nav-menu > li > a:hover,
#site-navigation .nav-menu > li > .nav-parent-label:hover,
#site-navigation .nav-menu > li.current-menu-item > a,
#site-navigation .nav-menu > li.current-menu-ancestor > a,
#site-navigation .nav-menu > li.current-menu-ancestor > .nav-parent-label {
  color: var(--gold);
  background: rgba(255,255,255,.04);
}

/* ドロップダウン矢印アイコン */
.nav-arrow {
  display: inline-block;
  vertical-align: middle;
  opacity: .6;
  transition: transform .25s;
  flex-shrink: 0;
}
#site-navigation .nav-menu > li:hover > a .nav-arrow,
#site-navigation .nav-menu > li:hover > .nav-parent-label .nav-arrow {
  transform: rotate(180deg);
  opacity: 1;
}

/* ── CTAボタン（お問い合わせ） ── */
#site-navigation .nav-menu > li.menu-item-cta > a {
  background: var(--gold);
  color: var(--white);
  font-weight: 700;
  padding: 0 18px;
  border-left: none;
  margin-left: 6px;
  border-radius: 2px;
  height: 38px;
  letter-spacing: .06em;
}
#site-navigation .nav-menu > li.menu-item-cta > a:hover {
  background: var(--gold-light);
  color: var(--white);
}

/* ── ドロップダウン（サブメニュー） ── */
#site-navigation .nav-menu > li {
  position: relative;
}
#site-navigation .nav-menu > li > .sub-menu {
  position: absolute;
  top: 68px;
  left: 0;
  min-width: 200px;
  background: var(--navy);
  border-top: 2px solid var(--gold);
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
  z-index: 200;
}
#site-navigation .nav-menu > li:hover > .sub-menu,
#site-navigation .nav-menu > li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
#site-navigation .sub-menu > li > a {
  display: block;
  padding: 11px 18px;
  font-size: 13px;
  color: rgba(255,255,255,.75);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: background .18s, color .18s, padding-left .18s;
  white-space: nowrap;
  letter-spacing: .03em;
}
#site-navigation .sub-menu > li:last-child > a {
  border-bottom: none;
}
#site-navigation .sub-menu > li > a:hover {
  background: rgba(0,161,153,.15);
  color: var(--gold);
  padding-left: 24px;
}

/* ─── HERO ─── */
.hero {
  background: var(--navy);
  min-height: 600px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* ── 背景写真 ── */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

/* ── オーバーレイ（写真の上・テキスト視認性確保） ──
   左側: ダークティールで文字が読みやすい濃いグラデーション
   右側: 半透明のティールで統一感を出しつつ写真を活かす       */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    /* 左～中央：濃いカラーオーバーレイ（テキストエリア保護） */
    linear-gradient(
      105deg,
      rgba(0, 30, 29, 0.93) 0%,
      rgba(0, 42, 40, 0.88) 30%,
      rgba(0, 61, 58, 0.78) 50%,
      rgba(0, 61, 58, 0.55) 65%,
      rgba(0, 61, 58, 0.30) 80%,
      rgba(0, 61, 58, 0.10) 100%
    );
}

/* ── グリッドテクスチャ（オーバーレイの上） ── */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 79px,
    rgba(255,255,255,.018) 79px,
    rgba(255,255,255,.018) 80px
  );
  pointer-events: none;
}
.hero-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 80px 24px;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--gold);
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--gold);
}
.hero h1 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(32px, 3.2vw, 48px);
  color: var(--white);
  line-height: 1.5;
  font-weight: 700;
  margin-bottom: 24px;
}
.hero h1 em {
  color: var(--gold);
  font-style: normal;
}
.hero-desc {
  color: rgba(255,255,255,.65);
  font-size: 16px;
  margin-bottom: 36px;
  line-height: 2;
}
.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: var(--navy);
  padding: 14px 32px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border-radius: 2px;
  letter-spacing: .06em;
  transition: background .2s, transform .15s;
}
.hero-btn:hover { background: var(--gold-light); transform: translateY(-1px); }
.hero-btn::after { content: '→'; font-size: 16px; }
.hero-contact {
  background: rgba(0, 20, 19, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(0,161,153,.5);
  border-radius: 4px;
  padding: 32px;
  text-align: center;
}
.hero-contact-label {
  font-size: 12px;
  color: var(--gold);
  letter-spacing: .15em;
  margin-bottom: 12px;
}
.hero-tel {
  font-size: 38px;
  color: var(--white);
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
  display: block;
  margin-bottom: 6px;
  font-family: 'Noto Serif JP', serif;
}
.hero-tel:hover { color: var(--gold); }
.hero-hours {
  font-size: 12px;
  color: rgba(255,255,255,.5);
  letter-spacing: .1em;
  margin-bottom: 20px;
}
.hero-contact-btn {
  display: block;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 12px 24px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  border-radius: 2px;
  transition: background .2s, color .2s;
}
.hero-contact-btn:hover { background: var(--gold); color: var(--navy); }

/* ─── STRIP ─── */
.strip {
  background: var(--gold);
  padding: 14px 0;
  text-align: center;
}
.strip p {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .1em;
}

/* ─── SECTION SHARED ─── */
section { padding: 80px 24px; }
.inner { max-width: 1160px; margin: 0 auto; }
.section-head { text-align: center; margin-bottom: 56px; }
.section-en {
  font-size: 11px;
  letter-spacing: .3em;
  color: var(--gold);
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
}
.section-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(26px, 2.8vw, 36px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.5;
}
.section-divider {
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin: 16px auto 0;
}

/* ─── TROUBLES ─── */
.troubles { background: var(--white); }
.troubles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.trouble-card {
  background: var(--gray-light);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .25s, transform .25s;
}
.trouble-card:hover {
  box-shadow: 0 8px 32px rgba(0,161,153,.12);
  transform: translateY(-3px);
}

/* ── サムネイル ── */
.trouble-thumb {
  position: relative;
  height: 200px;
  overflow: hidden;
  flex-shrink: 0;
}
.trouble-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .4s ease;
}
.trouble-card:hover .trouble-thumb img {
  transform: scale(1.04);
}
/* 画像の上にティールのオーバーレイ */
.trouble-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 42, 40, 0.25) 0%,
    rgba(0, 61, 58, 0.55) 100%
  );
}
/* 番号バッジ */
.trouble-num {
  position: absolute;
  bottom: 14px;
  left: 18px;
  z-index: 1;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .18em;
  background: var(--gold);
  padding: 3px 12px;
  border-radius: 2px;
  line-height: 1.6;
}

/* ── テキストエリア ── */
.trouble-body {
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.trouble-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.55;
}
.trouble-card p {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.9;
}

/* ─── DEMERITS ─── */
.demerits { background: var(--navy); }
.demerits .section-title { color: var(--white); }
.demerits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.demerit-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(0,161,153,.2);
  padding: 36px 28px;
  transition: background .25s;
}
.demerit-card:hover { background: rgba(0,161,153,.1); }
.demerit-icon {
  width: 52px;
  height: 52px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}
.demerit-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 12px;
  line-height: 1.5;
}
.demerit-card p {
  font-size: 15px;
  color: rgba(255,255,255,.6);
  line-height: 1.9;
}

/* ─── ABOUT ─── */
.about { background: var(--cream); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-text h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.6;
  margin-bottom: 24px;
}
.about-text p {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 2;
  margin-bottom: 16px;
}
.about-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: var(--navy);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
}
.about-cta:hover { color: var(--gold); }
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.stat-card {
  background: var(--white);
  padding: 28px 24px;
  border-bottom: 3px solid var(--gold);
}
.stat-num {
  font-family: 'Noto Serif JP', serif;
  font-size: 40px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-num span { font-size: 18px; color: var(--gold); }
.stat-label {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.5;
}

/* ─── RESULTS ─── */
.results { background: var(--white); }
.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.result-card {
  border-radius: 4px;
  overflow: hidden;
  background: var(--gray-light);
  display: flex;
  flex-direction: column;
  transition: box-shadow .25s, transform .25s;
}
.result-card:hover {
  box-shadow: 0 8px 32px rgba(0,161,153,.12);
  transform: translateY(-3px);
}

/* ── サムネイル ── */
.result-thumb {
  position: relative;
  height: 180px;
  overflow: hidden;
  flex-shrink: 0;
}
.result-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .4s ease;
}
.result-card:hover .result-thumb img {
  transform: scale(1.04);
}
.result-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 42, 40, 0.25) 0%,
    rgba(0, 61, 58, 0.55) 100%
  );
}
/* バッジ */
.result-badge {
  position: absolute;
  bottom: 14px;
  left: 18px;
  z-index: 1;
  display: inline-block;
  background: var(--navy);
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  padding: 3px 10px;
  border-radius: 2px;
}

/* ── テキストエリア ── */
.result-body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.result-card h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.6;
}
.result-card p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.9;
}

/* ─── CONTACT FORM（Contact Form 7 対応） ─── */
#formarea { background: var(--navy); }
#formarea .section-title { color: var(--white); }
.form-wrap {
  max-width: 680px;
  margin: 0 auto;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(0,161,153,.3);
  border-radius: 4px;
  padding: 48px;
}
/* Contact Form 7 デフォルトスタイルのリセット */
.wpcf7 { margin: 0; }
.wpcf7 .wpcf7-form { display: block; }
.form-row { margin-bottom: 20px; }
.form-row label,
.wpcf7 label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .08em;
  margin-bottom: 6px;
}
.form-row input,
.form-row textarea,
.form-row select,
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 2px;
  padding: 12px 16px;
  font-size: 15px;
  color: var(--white);
  font-family: 'Noto Sans JP', sans-serif;
  transition: border-color .2s;
  outline: none;
}
.form-row input::placeholder,
.form-row textarea::placeholder,
.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder { color: rgba(255,255,255,.25); }
.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus,
.wpcf7 input:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus { border-color: var(--gold); }
.form-row select option,
.wpcf7 select option { background: var(--navy-mid); color: var(--white); }
.form-row textarea,
.wpcf7 textarea { height: 120px; resize: vertical; }
.form-submit,
.wpcf7 input[type="submit"] {
  width: 100%;
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 16px;
  font-size: 16px;
  font-weight: 700;
  font-family: 'Noto Sans JP', sans-serif;
  letter-spacing: .1em;
  border-radius: 2px;
  cursor: pointer;
  transition: background .2s;
  margin-top: 8px;
}
.form-submit:hover,
.wpcf7 input[type="submit"]:hover { background: var(--gold-light); }
.form-note,
.wpcf7 .wpcf7-response-output {
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,.4);
  margin-top: 14px;
  border: none !important;
  padding: 0 !important;
}
.wpcf7 .wpcf7-not-valid-tip {
  color: #f08080;
  font-size: 11px;
  margin-top: 4px;
}

/* ─── FOOTER ─── */
#site-footer {
  background: #001e1d;
  padding: 48px 24px 28px;
}
.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-logo {
  font-family: 'Noto Serif JP', serif;
  font-size: 20px;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 12px;
  text-decoration: none;
  display: block;
}
.footer-logo span { color: var(--gold); }
.footer-desc {
  font-size: 13px;
  color: rgba(255,255,255,.4);
  line-height: 2;
}
.footer-col h4 {
  font-size: 12px;
  color: var(--gold);
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col a,
.footer-nav a {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,.5);
  text-decoration: none;
  margin-bottom: 8px;
  transition: color .2s;
}
.footer-col a:hover,
.footer-nav a:hover { color: var(--gold); }
/* WordPress フッターナビ */
.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-bottom {
  max-width: 1160px;
  margin: 24px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom p,
.footer-bottom .site-info {
  font-size: 12px;
  color: rgba(255,255,255,.25);
}

/* ─── COLUMN / BLOG ─── */
.column { background: var(--gray-light); }
.column-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.column-card {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  transition: transform .25s, box-shadow .25s;
}
.column-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(0,161,153,.15);
}
.column-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}
/* サムネイルエリア */
.column-thumb {
  position: relative;
  height: 180px;
  overflow: hidden;
  background: var(--gray-mid);
}
.column-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.column-card:hover .column-thumb-img { transform: scale(1.04); }
/* アイキャッチ未設定時のプレースホルダー */
.column-thumb-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  opacity: .35;
}
/* カテゴリーバッジ */
.column-cat {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--gold);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  padding: 3px 10px;
  border-radius: 2px;
  z-index: 1;
  white-space: nowrap;
}
/* 本文エリア */
.column-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.column-date {
  font-size: 12px;
  color: var(--gold);
  letter-spacing: .08em;
  margin-bottom: 8px;
  display: block;
}
.column-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.65;
  margin-bottom: 10px;
  transition: color .2s;
}
.column-card:hover .column-title { color: var(--gold); }
.column-excerpt {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.85;
  flex: 1;
}
/* 一覧ボタン */
.column-more {
  text-align: center;
  margin-top: 44px;
}
.column-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--gold);
  color: var(--gold);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .1em;
  padding: 12px 40px;
  text-decoration: none;
  border-radius: 2px;
  transition: background .2s, color .2s;
}
.column-more-btn::after { content: '→'; }
.column-more-btn:hover {
  background: var(--gold);
  color: var(--white);
}

/* ─── ACCESS / MAP ─── */
.access { background: var(--white); }

.access-body {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 0;
  border: 1px solid var(--gray-mid);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
  min-height: 420px;
}

/* 事務所情報パネル */
.access-info {
  background: var(--navy);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.access-table {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.access-row {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 8px 12px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.access-row:first-child { padding-top: 0; }
.access-row:last-child  { border-bottom: none; }

.access-table dt {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .1em;
  padding-top: 2px;
  white-space: nowrap;
}
.access-table dd {
  font-size: 15px;
  color: rgba(255,255,255,.82);
  line-height: 1.7;
}
.access-table dd a {
  color: rgba(255,255,255,.82);
  text-decoration: none;
  transition: color .2s;
}
.access-table dd a:hover { color: var(--gold); }

/* Google マップで開くボタン */
.access-gmaps-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  border: 1px solid rgba(0,161,153,.5);
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 11px 20px;
  text-decoration: none;
  border-radius: 2px;
  transition: background .2s, color .2s;
  margin-top: auto;
}
.access-gmaps-btn::before {
  content: '📍';
  font-size: 14px;
}
.access-gmaps-btn:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

/* Google マップ iframe エリア */
.access-map {
  position: relative;
  min-height: 420px;
}
.access-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ─── LINE バナー ─── */
.line-banner {
  display: flex;
  align-items: center;
  gap: 28px;
  background: rgba(6, 199, 85, 0.08);
  border: 2px solid #06C755;
  border-radius: 6px;
  padding: 28px 32px;
  margin-bottom: 40px;
}
.line-banner-icon {
  flex-shrink: 0;
  line-height: 0;
}
.line-banner-icon svg {
  filter: drop-shadow(0 2px 8px rgba(6,199,85,.35));
}
.line-banner-text {
  flex: 1;
  min-width: 0;
}
.line-banner-lead {
  font-size: 17px;
  color: var(--white);
  font-weight: 500;
  margin-bottom: 8px;
  line-height: 1.5;
}
.line-banner-lead strong {
  color: #06C755;
  font-weight: 700;
}
.line-banner-desc {
  font-size: 13px;
  color: rgba(255,255,255,.6);
  line-height: 1.85;
}
.line-banner-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #06C755;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 14px 28px;
  border-radius: 4px;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 16px rgba(6,199,85,.3);
}
.line-banner-btn:hover {
  background: #05b34c;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(6,199,85,.4);
}

/* ─────────────────────────────────────────
   固定ページ共通スタイル（page.php）
───────────────────────────────────────── */

/* ── ページヒーロー ── */
.page-hero {
  position: relative;
  width: 100%;
  height: 320px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background-image: var(--page-hero-bg);
  background-size: cover;
  background-position: center 30%;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(0, 30, 29, 0.88) 0%,
    rgba(0, 42, 40, 0.75) 40%,
    rgba(0, 61, 58, 0.45) 70%,
    rgba(0, 61, 58, 0.20) 100%
  );
  z-index: 0;
}
.page-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px 40px;
}

/* パンくずリスト */
.page-breadcrumb ol {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
}
.page-breadcrumb li {
  display: flex;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,.55);
}
.page-breadcrumb li + li::before {
  content: '›';
  margin-right: 6px;
  color: rgba(255,255,255,.3);
}
.page-breadcrumb li a {
  color: rgba(255,255,255,.65);
  text-decoration: none;
  transition: color .2s;
}
.page-breadcrumb li a:hover { color: var(--gold); }
.page-breadcrumb li[aria-current="page"] { color: var(--gold); }

/* ページタイトル */
.page-hero-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.4;
  letter-spacing: .02em;
}
.page-hero-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--gold);
  margin-top: 14px;
  border-radius: 2px;
}

/* ── ページ本文エリア ── */
.page-content {
  background: var(--cream);
  padding: 64px 24px 80px;
}
.page-inner {
  max-width: 860px;
  margin: 0 auto;
}
.page-article {}

/* ── エントリー本文のデフォルトスタイル ── */
.page-entry {
  font-size: 16px;
  line-height: 2;
  color: var(--text-dark);
}

/* 見出し */
.page-entry h1 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.55;
  margin: 0 0 32px;
  padding: 24px 28px;
  background: var(--gray-light);
  border-left: 6px solid var(--gold);
  border-radius: 0 4px 4px 0;
  position: relative;
}
.page-entry h1::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--gold);
  margin-top: 14px;
  border-radius: 2px;
}

.page-entry h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 700;
  color: var(--white);
  background: var(--navy);
  padding: 14px 22px;
  margin: 56px 0 24px;
  border-left: 5px solid var(--gold);
  line-height: 1.5;
  border-radius: 0 3px 3px 0;
}
.page-entry h2:first-child { margin-top: 0; }

.page-entry h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(17px, 1.8vw, 21px);
  font-weight: 700;
  color: var(--navy);
  padding: 10px 0 10px 16px;
  margin: 40px 0 16px;
  border-left: 4px solid var(--gold);
  line-height: 1.55;
}

.page-entry h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin: 28px 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px dashed var(--gray-mid);
}

/* 段落 */
.page-entry p {
  margin-bottom: 20px;
  color: var(--text-mid);
}

/* リスト */
.page-entry ul,
.page-entry ol {
  margin: 16px 0 24px 0;
  padding-left: 0;
  list-style: none;
}
.page-entry ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  color: var(--text-mid);
  font-size: 15px;
  line-height: 1.85;
}
.page-entry ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
}
.page-entry ol {
  counter-reset: ol-counter;
}
.page-entry ol li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 10px;
  color: var(--text-mid);
  font-size: 15px;
  line-height: 1.85;
  counter-increment: ol-counter;
}
.page-entry ol li::before {
  content: counter(ol-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  background: var(--gold);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* 強調 */
.page-entry strong { color: var(--navy); font-weight: 700; }
.page-entry em { font-style: normal; color: var(--gold); font-weight: 700; }

/* ボックス（チェックリスト風） */
.page-entry .wp-block-group,
.page-entry blockquote {
  background: var(--gray-light);
  border-left: 4px solid var(--gold);
  border-radius: 0 4px 4px 0;
  padding: 20px 24px;
  margin: 24px 0;
  font-size: 15px;
  color: var(--text-mid);
}

/* テーブル */
.page-entry table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}
.page-entry th {
  background: var(--navy);
  color: var(--white);
  padding: 12px 16px;
  text-align: left;
  font-weight: 700;
  font-size: 14px;
}
.page-entry td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--gray-mid);
  color: var(--text-mid);
  line-height: 1.7;
}
.page-entry tr:nth-child(even) td { background: var(--gray-light); }

/* 区切り線 */
.page-entry hr {
  border: none;
  border-top: 2px dashed var(--gray-mid);
  margin: 40px 0;
}

/* ── CTAブロック ── */
.page-cta-block {
  margin-top: 64px;
  background: var(--navy);
  border-radius: 6px;
  padding: 36px 40px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.page-cta-text { flex: 1; }
.page-cta-lead {
  font-size: 17px;
  color: var(--white);
  font-weight: 500;
  margin-bottom: 8px;
  line-height: 1.6;
}
.page-cta-lead strong {
  color: var(--gold);
  font-weight: 700;
}
.page-cta-sub {
  font-size: 13px;
  color: rgba(255,255,255,.6);
  margin-bottom: 0;
}
.page-cta-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}
.page-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 13px 28px;
  border-radius: 3px;
  text-decoration: none;
  transition: background .2s, transform .15s;
  white-space: nowrap;
  min-width: 200px;
}
.page-cta-btn--primary {
  background: var(--gold);
  color: var(--white);
}
.page-cta-btn--primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  color: var(--white);
}

.page-inner--cta {
  padding-top: 0;
  padding-bottom: 72px;
}

/* ─────────────────────────────────────────
   お客様の声（voice）セクション
───────────────────────────────────────── */
.voice-section {
  background: var(--gray-light);
  padding: 72px 24px 80px;
}
.voice-inner {
  max-width: 1160px;
  margin: 0 auto;
}

/* グリッド：2列 */
.voice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

/* ── カード ── */
.voice-card {
  background: var(--white);
  border-radius: 6px;
  overflow: hidden;
  border-top: 3px solid var(--gold);
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
  display: flex;
  flex-direction: column;
  transition: box-shadow .25s, transform .25s;
}
.voice-card:hover {
  box-shadow: 0 8px 32px rgba(0,161,153,.12);
  transform: translateY(-3px);
}

/* ── ヘッダー（アバター＋メタ） ── */
.voice-card-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 24px 18px;
  border-bottom: 1px solid var(--gray-light);
}
.voice-avatar {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
}
.voice-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.voice-avatar-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.voice-meta { flex: 1; min-width: 0; }

/* 星評価 */
.voice-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 6px;
}
.voice-star {
  font-size: 16px;
  color: var(--gray-mid);
  line-height: 1;
}
.voice-star.is-filled { color: #f5a623; }

.voice-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 3px;
  line-height: 1.4;
}
.voice-attribute {
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.4;
}

/* ── コメント本文 ── */
.voice-comment {
  padding: 18px 24px;
  flex: 1;
}
.voice-comment p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.9;
  position: relative;
  padding-left: 18px;
}
.voice-comment p::before {
  content: '❝';
  position: absolute;
  left: 0;
  top: -2px;
  font-size: 18px;
  color: var(--gold);
  line-height: 1;
  opacity: .7;
}

/* ── 取得前後の変化 ── */
.voice-change {
  margin: 0 16px 18px;
  border-radius: 4px;
  overflow: hidden;
}
.voice-change-item {
  padding: 12px 16px;
}
.voice-change-before {
  background: rgba(0,161,153,.06);
  border-left: 3px solid var(--gray-mid);
}
.voice-change-after {
  background: rgba(0,161,153,.12);
  border-left: 3px solid var(--gold);
}
.voice-change-label {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--gold);
  margin-bottom: 6px;
  text-transform: uppercase;
}
.voice-change-before .voice-change-label {
  color: var(--text-light);
}
.voice-change-item p {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.8;
  margin: 0;
}
.voice-change-arrow {
  text-align: center;
  font-size: 14px;
  color: var(--gold);
  padding: 4px 0;
  background: rgba(0,161,153,.08);
  line-height: 1;
}

/* ─────────────────────────────────────────
   ブログ一覧（home.php）スタイル
───────────────────────────────────────── */

.blog-content {
  background: var(--cream);
  padding: 56px 24px 80px;
}

/* ── 2カラムレイアウト ── */
.blog-layout {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
}

/* ── 記事グリッド：2列 ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

/* ── カード ── */
.blog-card {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  transition: transform .25s, box-shadow .25s;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(0,161,153,.13);
}
.blog-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

/* サムネイル */
.blog-card-thumb {
  position: relative;
  height: 180px;
  overflow: hidden;
  background: var(--gray-mid);
  flex-shrink: 0;
}
.blog-card-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .4s ease;
}
.blog-card:hover .blog-card-thumb-img { transform: scale(1.04); }
.blog-card-thumb-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  opacity: .25;
}
.blog-card-cat {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  background: var(--gold);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 3px 10px;
  border-radius: 2px;
}

/* 本文エリア */
.blog-card-body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-card-date {
  display: block;
  font-size: 12px;
  color: var(--text-light);
  letter-spacing: .06em;
  margin-bottom: 7px;
}
.blog-card-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.65;
  margin-bottom: 9px;
  transition: color .2s;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.blog-card:hover .blog-card-title { color: var(--gold); }
.blog-card-excerpt {
  font-size: 12px;
  color: var(--text-mid);
  line-height: 1.85;
  flex: 1;
  margin-bottom: 12px;
}
.blog-card-more {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .06em;
}

/* ── ページネーション ── */
.blog-pagination {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}
.blog-pagination .page-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
}
.blog-pagination .page-numbers a,
.blog-pagination .page-numbers span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--gray-mid);
  border-radius: 3px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-mid);
  text-decoration: none;
  background: var(--white);
  transition: background .2s, color .2s, border-color .2s;
}
.blog-pagination .page-numbers a:hover {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.blog-pagination .page-numbers .current {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  font-weight: 700;
}
.blog-pagination .page-numbers .dots {
  border-color: transparent;
  background: transparent;
}

/* 記事なし */
.blog-empty {
  text-align: center;
  padding: 60px 0;
  color: var(--text-light);
  font-size: 15px;
  grid-column: 1 / -1;
}

/* ─────────────────────────────────────────
   ブログサイドバー
───────────────────────────────────────── */
.blog-sidebar {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* ウィジェット共通 */
.sidebar-widget {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
}
.sidebar-widget-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  background: var(--navy);
  padding: 12px 18px;
  letter-spacing: .06em;
  border-left: 4px solid var(--gold);
  margin: 0;
}

/* カテゴリーリスト */
.sidebar-cat-list {
  list-style: none;
  margin: 0;
  padding: 8px 0;
}
.sidebar-cat-item {
  border-bottom: 1px solid var(--gray-light);
}
.sidebar-cat-item:last-child { border-bottom: none; }
.sidebar-cat-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  text-decoration: none;
  color: var(--text-mid);
  font-size: 13px;
  transition: background .18s, color .18s, padding-left .18s;
}
.sidebar-cat-link:hover {
  background: var(--gray-light);
  color: var(--gold);
  padding-left: 24px;
}
.sidebar-cat-name { flex: 1; }
.sidebar-cat-count {
  font-size: 11px;
  background: var(--gray-light);
  color: var(--text-light);
  padding: 1px 7px;
  border-radius: 10px;
  margin-left: 8px;
  flex-shrink: 0;
}

/* 月別アーカイブ */
.sidebar-archive-list,
.sidebar-widget ul.wp-block-archives-list,
.sidebar-widget ul {
  list-style: none;
  margin: 0;
  padding: 8px 0;
}
.sidebar-widget ul li {
  border-bottom: 1px solid var(--gray-light);
}
.sidebar-widget ul li:last-child { border-bottom: none; }
.sidebar-widget ul li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  text-decoration: none;
  color: var(--text-mid);
  font-size: 13px;
  transition: background .18s, color .18s, padding-left .18s;
}
.sidebar-widget ul li a:hover {
  background: var(--gray-light);
  color: var(--gold);
  padding-left: 24px;
}

/* 月別アーカイブ（カスタム出力） */
.sidebar-archive-list {
  list-style: none;
  margin: 0;
  padding: 8px 0;
}
.sidebar-archive-list li {
  border-bottom: 1px solid var(--gray-light);
}
.sidebar-archive-list li:last-child { border-bottom: none; }
.sidebar-archive-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  text-decoration: none;
  color: var(--text-mid);
  font-size: 13px;
  transition: background .18s, color .18s, padding-left .18s;
}
.sidebar-archive-link:hover {
  background: var(--gray-light);
  color: var(--gold);
  padding-left: 24px;
}
.sidebar-archive-label { flex: 1; }
.sidebar-archive-count {
  font-size: 11px;
  background: var(--gray-light);
  color: var(--text-light);
  padding: 1px 7px;
  border-radius: 10px;
  margin-left: 8px;
  flex-shrink: 0;
}

/* 最新記事 */
.sidebar-recent-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sidebar-recent-item {
  border-bottom: 1px solid var(--gray-light);
}
.sidebar-recent-item:last-child { border-bottom: none; }
.sidebar-recent-link {
  display: flex;
  gap: 12px;
  padding: 12px 16px;
  text-decoration: none;
  color: inherit;
  transition: background .18s;
  align-items: flex-start;
}
.sidebar-recent-link:hover { background: var(--gray-light); }
.sidebar-recent-thumb {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 3px;
  flex-shrink: 0;
  display: block;
}
.sidebar-recent-thumb--placeholder {
  background: var(--gray-mid);
  border-radius: 3px;
}
.sidebar-recent-body { flex: 1; min-width: 0; }
.sidebar-recent-date {
  display: block;
  font-size: 11px;
  color: var(--text-light);
  margin-bottom: 4px;
}
.sidebar-recent-title {
  font-size: 12px;
  color: var(--navy);
  line-height: 1.6;
  font-weight: 500;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin: 0;
  transition: color .2s;
}
.sidebar-recent-link:hover .sidebar-recent-title { color: var(--gold); }


/* ─────────────────────────────────────────
   ブログ投稿（single.php）スタイル
───────────────────────────────────────── */

/* 投稿メタ（日付・カテゴリー） */
.post-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-mid);
}
.post-meta-date {
  font-size: 13px;
  color: var(--text-light);
  letter-spacing: .06em;
}
.post-meta-cats {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.post-meta-cat {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 3px 12px;
  border-radius: 2px;
  text-decoration: none;
  transition: background .2s;
}
.post-meta-cat:hover { background: var(--gold-light); }

/* タグ */
.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px dashed var(--gray-mid);
}
.post-tag {
  display: inline-block;
  font-size: 12px;
  color: var(--text-mid);
  background: var(--gray-light);
  border: 1px solid var(--gray-mid);
  padding: 4px 12px;
  border-radius: 20px;
  text-decoration: none;
  transition: background .2s, color .2s, border-color .2s;
}
.post-tag:hover {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

/* 前後の投稿ナビ */
.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 48px;
}
.post-nav-prev,
.post-nav-next {
  min-width: 0;
}
.post-nav-next {
  text-align: right;
}
.post-nav-prev a,
.post-nav-next a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 20px;
  background: var(--gray-light);
  border-radius: 4px;
  text-decoration: none;
  transition: background .2s, transform .15s;
  height: 100%;
}
.post-nav-prev a:hover,
.post-nav-next a:hover {
  background: var(--gray-mid);
  transform: translateY(-2px);
}
.post-nav-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .1em;
}
.post-nav-title {
  font-size: 13px;
  color: var(--navy);
  font-weight: 500;
  line-height: 1.6;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.form-recaptcha-note {
  text-align: center;
  font-size: 10px;
  color: rgba(255,255,255,.3);
  margin-top: 8px;
  line-height: 1.6;
}
.form-recaptcha-note a {
  color: rgba(255,255,255,.4);
  text-decoration: underline;
}
.form-recaptcha-note a:hover { color: var(--gold); }

/* ─── FADE-IN ANIMATION ─── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s ease, transform .65s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: none;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  /* ハンバーガーボタンを表示 */
  .nav-toggle { display: flex; }

  /* ナビをドロワー形式に変更 */
  #site-navigation {
    display: block;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--navy);
    box-shadow: 0 8px 24px rgba(0,0,0,.3);
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
  }
  #site-navigation.is-open {
    max-height: 600px;
    overflow-y: auto;
  }
  #site-navigation .nav-menu {
    flex-direction: column;
    align-items: stretch;
    padding: 8px 0 16px;
  }
  #site-navigation .nav-menu > li > a,
  #site-navigation .nav-menu > li > .nav-parent-label {
    height: auto;
    padding: 13px 20px;
    border-left: none;
    border-bottom: 1px solid rgba(255,255,255,.06);
    font-size: 13px;
    justify-content: space-between;
  }
  /* スマホ：サブメニューはアコーディオン */
  #site-navigation .nav-menu > li > .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-top: none;
    background: rgba(0,0,0,.2);
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }
  #site-navigation .nav-menu > li.is-submenu-open > .sub-menu {
    max-height: 400px;
  }
  #site-navigation .sub-menu > li > a {
    padding: 11px 20px 11px 32px;
    border-bottom: 1px solid rgba(255,255,255,.04);
    font-size: 12px;
  }
  #site-navigation .sub-menu > li > a:hover {
    padding-left: 36px;
  }
  /* スマホのCTAボタン */
  #site-navigation .nav-menu > li.menu-item-cta > a {
    margin: 12px 20px 4px;
    height: auto;
    padding: 12px 20px;
    border-radius: 2px;
    text-align: center;
    justify-content: center;
  }

  /* アクセスセクション */
  .access-body {
    grid-template-columns: 1fr;
  }
  .access-map {
    min-height: 320px;
  }

  /* その他レイアウト調整 */
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .troubles-grid { grid-template-columns: 1fr; }
  .trouble-thumb { height: 180px; }
  .demerits-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .results-grid { grid-template-columns: 1fr; }
  .result-thumb { height: 180px; }
  .column-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .form-wrap { padding: 32px 24px; }
  .line-banner {
    flex-direction: column;
    text-align: center;
    padding: 24px 20px;
    gap: 18px;
  }
  .line-banner-btn {
    width: 100%;
    justify-content: center;
  }
  /* 固定ページ */
  .page-hero { height: 240px; }
  .page-hero-title { font-size: 22px; }
  .page-cta-block {
    flex-direction: column;
    text-align: center;
    padding: 28px 24px;
    gap: 20px;
  }
  .page-cta-btns { width: 100%; }
  .page-cta-btn { width: 100%; }
  /* お客様の声 */
  .voice-grid { grid-template-columns: 1fr; }
  /* ブログ一覧 */
  .blog-layout { grid-template-columns: 1fr; gap: 40px; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .blog-sidebar { position: static; }
  /* 投稿ナビ */
  .post-nav { grid-template-columns: 1fr; }
  .post-nav-next { text-align: left; }
}
@media (max-width: 560px) {
  .column-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .access-map { min-height: 260px; }
  .blog-grid { grid-template-columns: 1fr; }
  /* reCAPTCHA バッジをスマホで非表示 */
  .grecaptcha-badge { visibility: hidden !important; }
}
