/*
Theme Name:  Maru Consul
Theme URI:   https://maru-consul.com
Description: 福岡誠中小企業診断士事務所 公式サイト用カスタムクラシックテーマ
Version:     1.0.0
Author:      makoto.f
Text Domain: maru-consul
*/

/* ================================================================
   DESIGN TOKENS  ── モックアップから移植（変更不可）
================================================================ */
:root {
  --ink:    #12181f;
  --sub:    #5b6874;
  --consul: #1b4fd8;
  --coach:  #17705e;
  --paper:  #fff;
  --wash:   #f1f4f7;
  --line:   #dfe5ea;
  --maxw:   1080px;
}

/* ================================================================
   BASE RESET
================================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 15px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ================================================================
   NAV ── sticky + backdrop blur
================================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav .inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
}

/* ロゴ / ブランド */
.site-logo a { display: block; line-height: 0; }
.site-logo img { height: 48px; width: auto; display: block; }
.brand {
  font-weight: 900;
  font-size: 17px;
  letter-spacing: .01em;
  line-height: 1.3;
}
.brand small {
  display: block;
  font-size: 10px;
  font-weight: 500;
  color: var(--sub);
  letter-spacing: .08em;
}

/* プライマリメニュー */
.nav-menu {
  display: flex;
  gap: 16px;
  list-style: none;
  margin: 0 0 0 auto;
  padding: 0;
  font-size: 13px;
  font-weight: 500;
}
.nav-menu a:hover { color: var(--consul); }

/* ナビ内CTA */
.navcta {
  padding: 10px 18px;
  border-radius: 2px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.navcta:hover { background: var(--consul); }

/* スクロール後：影を加えてナビを浮き上がらせる */
.nav.scrolled {
  box-shadow: 0 2px 12px rgba(18, 24, 31, .08);
}

/* ハンバーガーボタン（デスクトップでは非表示）*/
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform .25s ease, opacity .25s ease;
}

/* ハンバーガー OPEN 状態 */
.nav.is-open .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .hamburger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav.is-open .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================================================================
   FLOATING CTA（右固定）
================================================================ */
.float {
  position: fixed;
  right: 0;
  top: 130px;
  z-index: 40;
  display: flex;
  flex-direction: column;
  width: 116px;
}
.float a {
  padding: 18px 10px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}
.float .a1 {
  background: #fff;
  border: 1px solid var(--line);
  border-right: 0;
}
.float .a1:hover { color: var(--consul); }
.float .a2 {
  background: var(--ink);
  color: #fff;
}
.float .a2:hover { background: var(--consul); }
.float span { display: block; font-size: 18px; margin-top: 6px; }

/* ================================================================
   HERO
================================================================ */
.hero { position: relative; overflow: hidden; padding: 84px 0 56px; }
.ghost {
  position: absolute;
  top: 6px;
  left: 0;
  right: 0;
  text-align: center;
  pointer-events: none;
  font-size: clamp(40px, 8.5vw, 96px);
  font-weight: 900;
  line-height: 1;
  color: #eef1f5;
  opacity: 0.5;
  letter-spacing: -.02em;
  white-space: nowrap;
}
.hero h1 {
  position: relative;
  margin: 0 0 22px;
  font-size: clamp(30px, 5.4vw, 54px);
  font-weight: 900;
  line-height: 1.32;
  letter-spacing: -.01em;
}
.hero h1 .l1 { color: var(--consul); }
.hero h1 .l2 { color: var(--coach); }
.hero .lead {
  position: relative;
  max-width: 700px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.9;
  margin: 20px 0 0;
}
.hero .lead strong { font-weight: 700; }

/* ================================================================
   PHOTO BAND
================================================================ */
.band { margin: 0; height: 360px; background: var(--wash); position: relative; }
.band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* ================================================================
   SECTION COMMON
================================================================ */
section { padding: 92px 0; }
.shead { margin-bottom: 28px; }
.shead .en {
  font-size: clamp(34px, 6vw, 56px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.01em;
  background: linear-gradient(90deg, var(--consul), var(--coach));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.shead .ja {
  font-size: 12px;
  font-weight: 700;
  color: var(--sub);
  letter-spacing: .14em;
  margin-top: 8px;
}
.shead.right { text-align: right; }

/* ================================================================
   CONCEPT
================================================================ */
.concept { background: var(--wash); }
.stance { font-size: 19px; font-weight: 700; line-height: 2.05; margin: 0 0 10px; }
.stance em { font-style: normal; color: var(--consul); }
.stance em.g { color: var(--coach); }
.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 40px;
  border: 1px solid var(--line);
  background: #fff;
}
.duo > div { padding: 30px 28px; }
.duo > div:first-child { border-right: 1px solid var(--line); }
.duo h3 { margin: 0 0 6px; font-size: 17px; font-weight: 900; }
.duo .cs h3 { color: var(--consul); }
.duo .cc h3 { color: var(--coach); }
.duo .rol { font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--sub); margin-bottom: 14px; }
.duo p { margin: 0; font-size: 14px; }

/* ================================================================
   SERVICE
================================================================ */
.svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.svc article { border-top: 3px solid var(--consul); padding-top: 18px; }
.svc article:nth-child(2) { border-top-color: #1a5fb8; }
.svc article:nth-child(3) { border-top-color: var(--coach); }
.svc h3 { margin: 0 0 4px; font-size: 16.5px; font-weight: 900; line-height: 1.55; }
.svc .rol { font-size: 10.5px; font-weight: 700; letter-spacing: .09em; color: var(--sub); margin-bottom: 14px; }
.svc p { margin: 0 0 16px; font-size: 13.5px; color: #3e4a56; }

/* サービスカード・プロフィール・コラムで共通使用 */
.more { font-size: 13px; font-weight: 700; color: var(--consul); border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.prof-cta { margin-top: 24px; }

/* ================================================================
   PROFILE
================================================================ */
.prof { display: grid; grid-template-columns: 1fr 1.05fr; gap: 0; align-items: stretch; }
.prof .photo {
  background: var(--wash);
  border: 1px solid var(--line);
  min-height: 280px;   /* プレースホルダー時の最低高さ */
  align-self: stretch; /* グリッド行の高さに追従 */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9aa6b2;
  font-size: 13px;
  overflow: hidden;
}
.prof .photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.prof .body { padding: 44px 0 0 44px; }
.prof h3 { margin: 0 0 18px; font-size: 22px; font-weight: 900; line-height: 1.6; }
.prof p { margin: 0 0 22px; font-size: 14.5px; }
.facts { border-top: 1px solid var(--line); }
.facts div { display: flex; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.facts dt { width: 104px; flex: none; font-weight: 700; margin: 0; text-align: left; }
.facts dd { margin: 0; color: #3e4a56; }

/* ================================================================
   COLUMN
================================================================ */
.col { background: var(--wash); }
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 480px)); gap: 26px; justify-content: start; }
.posts article { background: #fff; border: 1px solid var(--line); }
.posts .eye {
  aspect-ratio: 1200/630;
  background: var(--wash);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9aa6b2;
  font-size: 12px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.posts .eye img { width: 100%; height: 100%; object-fit: cover; }
.posts .tx { padding: 18px; }
.posts .cat {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .06em;
  color: #fff;
  background: var(--consul);
  padding: 3px 9px;
  margin-bottom: 10px;
}
.posts h3 { margin: 0; font-size: 14.5px; font-weight: 700; line-height: 1.7; }
.posts time { display: block; margin-top: 10px; font-size: 11.5px; color: var(--sub); font-weight: 500; }

/* コラム：投稿ゼロ時のメッセージ / 一覧リンク */
.posts-empty { color: var(--sub); font-size: 13.5px; margin: 0; }
.col-more { text-align: right; margin-top: 32px; }

/* ================================================================
   CTA SECTION
================================================================ */
.cta-section { background: var(--ink); color: #fff; padding: 84px 0; }
.cta-section h2 { margin: 0 0 14px; font-size: clamp(22px, 3.6vw, 32px); font-weight: 900; line-height: 1.55; }
.cta-section p { margin: 0 0 30px; font-size: 14.5px; color: #c4ccd4; max-width: 600px; }
.cta-section .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 680px; }
.cta-section .pair a { padding: 24px 22px; border: 1px solid #39434d; }
.cta-section .pair a:first-child { background: #fff; color: var(--ink); border-color: #fff; }
.cta-section .pair b { display: block; font-size: 16px; font-weight: 900; margin-bottom: 6px; }
.cta-section .pair small { font-size: 12px; color: var(--sub); }
.cta-section .pair a:first-child small { color: #5b6874; }
.cta-section .pair a:last-child small { color: #9aa6b2; }

/* ================================================================
   FOOTER
================================================================ */
.site-footer {
  background: #0c1116;
  color: #98a3ad;
  padding: 52px 0 26px;
  font-size: 12.5px;
}
.site-footer .top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid #222a32;
}
.site-footer .footer-brand { line-height: 0; }
.site-footer .footer-logo { height: 40px; width: auto; display: block; }
.site-footer .footer-note { margin-top: 12px; font-size: 11.5px; line-height: 1.9; }
.site-footer ul { list-style: none; margin: 0; padding: 0; line-height: 2.2; }
.site-footer ul a:hover { color: #fff; }
.site-footer .cp { padding-top: 22px; font-size: 11px; }

/* ================================================================
   BREADCRUMB
================================================================ */
.breadcrumb { padding: 12px 0; font-size: 12px; color: var(--sub); }
.breadcrumb ol { display: flex; flex-wrap: wrap; list-style: none; gap: 4px; margin: 0; padding: 0; }
.breadcrumb li::after { content: "›"; margin-left: 4px; color: var(--line); }
.breadcrumb li:last-child::after { display: none; }
.breadcrumb a:hover { color: var(--consul); }

/* ================================================================
   PAGE HEADER（固定ページ・アーカイブの共通ヘッダー）
================================================================ */
.page-hero { padding: 56px 0 44px; border-bottom: 1px solid var(--line); background: var(--wash); }
.page-hero .en-label {
  font-size: 11px; font-weight: 700; letter-spacing: .16em; color: var(--sub);
  margin-bottom: 10px;
}
.page-hero h1 { margin: 0 0 14px; font-size: clamp(26px, 4vw, 40px); font-weight: 900; line-height: 1.35; }
.page-hero .page-lead { margin: 0 0 14px; font-size: 14.5px; color: var(--sub); max-width: 640px; }
.page-hero .page-footnote { margin: 0; font-size: 11.5px; color: var(--sub); opacity: .75; }

/* ================================================================
   SERVICE PAGE
================================================================ */
/* 4本柱の各ブロック */
.svc-pillar { padding: 56px 0; border-bottom: 1px solid var(--line); }
.svc-pillar:last-of-type { border-bottom: 0; }
.svc-pillar-head { margin-bottom: 32px; }
.svc-pillar-head .pillar-en {
  font-size: 10.5px; font-weight: 700; letter-spacing: .14em; color: var(--sub); margin-bottom: 6px;
}
.svc-pillar-head h2 { margin: 0; font-size: 22px; font-weight: 900; }
.svc-pillar-body { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
.svc-pillar-desc p { margin: 0 0 18px; font-size: 14.5px; line-height: 1.95; }
.svc-pillar-desc p:last-child { margin-bottom: 0; }
.svc-pillar { scroll-margin-top: 90px; }
.for-whom {
  background: var(--wash); border: 1px solid var(--line); padding: 22px 24px;
}
.for-whom h4 {
  margin: 0 0 12px; font-size: 11px; font-weight: 700; letter-spacing: .12em;
  color: var(--sub); padding-bottom: 8px; border-bottom: 1px solid var(--line);
}
.for-whom ul { list-style: none; margin: 0; padding: 0; }
.for-whom ul li { font-size: 13.5px; padding: 6px 0; border-bottom: 1px solid var(--line); line-height: 1.6; }
.for-whom ul li::before { content: "✓ "; color: var(--consul); font-weight: 700; }
.for-whom ul li:last-child { border-bottom: 0; }

/* ご相談の流れ（4ステップ） */
.steps-section { padding: 72px 0; background: var(--wash); }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.step-item {
  padding: 28px 24px 32px;
  border-right: 1px solid var(--line);
  position: relative;
}
.step-item:last-child { border-right: 0; }
.step-num {
  font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--consul); margin-bottom: 10px;
}
.step-item h3 { margin: 0 0 10px; font-size: 15px; font-weight: 900; }
.step-item p { margin: 0; font-size: 13px; color: var(--sub); line-height: 1.8; }

/* 料金ブロック（金額非公開・無料訴求） */
.pricing-section { padding: 72px 0; }
.pricing-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; }
.pricing-card { border: 1px solid var(--line); padding: 30px 28px; }
.pricing-card.primary { border-color: var(--consul); }
.pricing-card h3 { margin: 0 0 6px; font-size: 17px; font-weight: 900; }
.pricing-card h3 span { color: var(--consul); }
.pricing-card .price-tag {
  font-size: 28px; font-weight: 900; color: var(--consul); margin: 12px 0 16px;
}
.pricing-card .price-note { font-size: 13px; color: var(--sub); margin: 0 0 16px; }
.pricing-card p { margin: 0; font-size: 13.5px; line-height: 1.85; }
.pricing-consult {
  margin-top: 24px; padding: 20px 24px; background: var(--wash);
  border-left: 3px solid var(--sub); font-size: 13.5px;
}

/* FAQ アコーディオン（details/summary） */
.faq-section { padding: 72px 0; }
.faq-list { margin-top: 32px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 18px 0; font-size: 15px; font-weight: 700;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; flex: none; font-size: 22px; font-weight: 300; color: var(--consul);
  line-height: 1; transition: transform .2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-ans { padding: 0 0 20px; font-size: 14px; color: #3e4a56; line-height: 1.95; }
.faq-ans p { margin: 0 0 10px; }
.faq-ans p:last-child { margin: 0; }

/* ================================================================
   PROFILE PAGE
================================================================ */
.profile-intro { display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: start; padding: 56px 0; }
.profile-photo-wrap {
  background: var(--wash); border: 1px solid var(--line); min-height: 340px;
  display: flex; align-items: center; justify-content: center; color: #9aa6b2; font-size: 13px;
  overflow: hidden;
}
.profile-photo-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.profile-name { font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--sub); margin: 0 0 10px; }
.profile-catch { font-size: clamp(18px, 3vw, 26px); font-weight: 900; line-height: 1.5; margin: 0 0 20px; }
.profile-tagline { font-size: 14.5px; margin: 0; line-height: 1.9; }

.profile-story { padding: 56px 0; border-top: 1px solid var(--line); }
.profile-story h2 { margin: 0 0 36px; font-size: 20px; font-weight: 900; }
.profile-story h3 { margin: 40px 0 12px; font-size: 16.5px; font-weight: 700; border-left: 3px solid var(--consul); padding-left: 10px; }
.profile-story h3:first-of-type { margin-top: 0; }
.profile-story p { margin: 0 0 20px; font-size: 14.5px; line-height: 2; }
.profile-story p:last-child { margin: 0; }

.profile-facts-section { padding: 56px 0; border-top: 1px solid var(--line); }
.profile-facts-section h2 { margin: 0 0 28px; font-size: 20px; font-weight: 900; }
.profile-facts-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.profile-facts-table th, .profile-facts-table td { padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
.profile-facts-table th { width: 120px; font-weight: 700; white-space: nowrap; }
.profile-facts-table tr:first-child th,
.profile-facts-table tr:first-child td { border-top: 1px solid var(--line); }

/* ================================================================
   EXPERIENCE PAGE
================================================================ */
.exp-section { padding: 56px 0; border-top: 1px solid var(--line); }
.exp-section:first-of-type { border-top: 0; }
.exp-section h2 { margin: 0 0 24px; font-size: 20px; font-weight: 900; }
.exp-career-list { list-style: none; margin: 0; padding: 0; }
.exp-career-list li {
  display: flex; gap: 24px; padding: 14px 0; border-bottom: 1px solid var(--line);
  font-size: 13.5px; align-items: baseline;
}
.exp-career-list li:first-child { border-top: 1px solid var(--line); }
.exp-career-list .exp-years {
  flex: none; width: 56px; font-weight: 700; color: var(--consul); font-size: 13px; text-align: right;
}
.exp-case {
  background: var(--wash); border-left: 3px solid var(--coach); padding: 22px 26px; margin-top: 28px;
}
.exp-case h3 { margin: 0 0 10px; font-size: 15px; font-weight: 900; color: var(--coach); }
.exp-case p { margin: 0 0 10px; font-size: 13.5px; line-height: 1.9; }
.exp-case p:last-child { margin: 0; }
.exp-award {
  display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line);
  font-size: 13.5px;
}
.exp-award:first-child { border-top: 1px solid var(--line); }
.exp-award-badge {
  flex: none; background: var(--consul); color: #fff; font-size: 10px; font-weight: 700;
  padding: 3px 8px; letter-spacing: .06em; white-space: nowrap; margin-top: 2px;
}

/* ================================================================
   GENERIC PAGE (page.php)
================================================================ */
.page-content { padding: 56px 0 80px; max-width: 800px; }
.page-content h2 { margin: 40px 0 16px; font-size: 20px; font-weight: 900; }
.page-content h3 { margin: 28px 0 12px; font-size: 16px; font-weight: 700; }
.page-content p { margin: 0 0 18px; font-size: 14.5px; line-height: 1.95; }
.page-content ul,
.page-content ol { margin: 0 0 18px; padding-left: 1.6em; font-size: 14.5px; line-height: 1.9; }
.page-content li { margin-bottom: 6px; }
.page-content .policy-date { margin-top: 40px; font-size: 13px; color: var(--sub); }

/* ================================================================
   ARCHIVE（コラム一覧）
================================================================ */
.cat-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.cat-filter a {
  display: inline-block; padding: 7px 16px; font-size: 12.5px; font-weight: 700;
  border: 1px solid var(--line); color: var(--sub); letter-spacing: .04em;
}
.cat-filter a:hover, .cat-filter a.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.cat-filter a.is-active { pointer-events: none; }

.post-list { display: flex; flex-direction: column; gap: 0; }
.post-list-item {
  display: grid; grid-template-columns: 180px 1fr; gap: 24px;
  padding: 28px 0; border-bottom: 1px solid var(--line); align-items: start;
}
.post-list-item:first-child { border-top: 1px solid var(--line); }
.post-list-thumb {
  background: var(--wash); border: 1px solid var(--line); aspect-ratio: 1200/630;
  overflow: hidden; display: flex; align-items: center; justify-content: center;
  color: #9aa6b2; font-size: 11px;
}
.post-list-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-list-cat {
  display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: .06em;
  color: #fff; background: var(--consul); padding: 3px 9px; margin-bottom: 8px;
}
/* カテゴリ別ラベル色（青=コンサル系 / 緑=コーチング・補助金系） */
.post-list-cat.cat--ec               { background: var(--consul); }
.post-list-cat.cat--btob-marketing   { background: var(--consul); }
.post-list-cat.cat--management-coaching { background: var(--coach); }
.post-list-cat.cat--subsidy          { background: var(--coach); }
.post-list-title { margin: 0 0 8px; font-size: 16px; font-weight: 700; line-height: 1.6; }
.post-list-title a:hover { color: var(--consul); }
.post-list-excerpt { margin: 0 0 10px; font-size: 13px; color: var(--sub); line-height: 1.8; }
.post-list-meta { font-size: 11.5px; color: var(--sub); }

.archive-pagination { margin-top: 48px; }

/* ================================================================
   SINGLE POST（2カラム：本文＋サイドバー）
================================================================ */
.content-wrap {
  display: grid; grid-template-columns: 1fr 300px; gap: 56px; align-items: start; padding: 40px 0 80px;
}
.content-area {}
.article-header { margin-bottom: 32px; }
.article-cat {
  display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: .06em;
  color: #fff; background: var(--consul); padding: 3px 9px; margin-bottom: 12px;
}
.article-title { margin: 0 0 12px; font-size: clamp(20px, 3.5vw, 30px); font-weight: 900; line-height: 1.45; }
.article-meta { font-size: 12px; color: var(--sub); display: flex; gap: 16px; flex-wrap: wrap; }
.article-thumb { margin-bottom: 28px; border: 1px solid var(--line); }
.article-thumb img { width: 100%; height: auto; display: block; }

/* 目次 */
.toc-box {
  background: var(--wash); border: 1px solid var(--line); padding: 20px 24px; margin-bottom: 36px;
}
.toc-box-title {
  font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--sub); margin: 0 0 12px;
}
.toc-list { list-style: none; margin: 0; padding: 0; }
.toc-list li { font-size: 13px; line-height: 1; border-bottom: 1px solid var(--line); }
.toc-list li:last-child { border-bottom: 0; }
.toc-list li a { display: block; padding: 9px 0; }
.toc-list li a:hover { color: var(--consul); }
.toc-list .toc-h3 a { padding-left: 14px; font-size: 12.5px; color: var(--sub); }

/* 記事本文 */
.entry-content { font-size: 15px; line-height: 2; }
.entry-content h2 { margin: 48px 0 20px; font-size: 20px; font-weight: 900; padding-bottom: 10px; border-bottom: 2px solid var(--line); }
.entry-content h3 { margin: 36px 0 14px; font-size: 16px; font-weight: 700; padding-left: 10px; border-left: 3px solid var(--consul); }
.entry-content p { margin: 0 0 20px; }
.entry-content ul, .entry-content ol { margin: 0 0 20px; padding-left: 24px; }
.entry-content li { margin-bottom: 6px; }
.entry-content img { max-width: 100%; height: auto; margin: 8px 0; }
.entry-content a { color: var(--consul); text-decoration: underline; }
.entry-content strong { font-weight: 700; }
.entry-content blockquote {
  margin: 24px 0; padding: 16px 20px; background: var(--wash); border-left: 3px solid var(--line);
  font-size: 14px; color: var(--sub);
}

/* 記事内CTA */
.article-cta {
  background: var(--ink); color: #fff; padding: 36px 32px; margin: 40px 0;
}
.article-cta p { margin: 0 0 20px; font-size: 14px; color: #c4ccd4; }
.article-cta .cta-btn {
  display: inline-block; background: #fff; color: var(--ink); font-weight: 700;
  font-size: 14px; padding: 14px 28px;
}
.article-cta .cta-btn:hover { background: var(--consul); color: #fff; }

/* 関連記事 */
.related-posts { margin-top: 48px; padding-top: 36px; border-top: 1px solid var(--line); }
.related-posts-title { font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--sub); margin: 0 0 20px; }
.related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.related-card { border: 1px solid var(--line); }
.related-card .eye {
  height: 100px; background: var(--wash); display: flex; align-items: center; justify-content: center;
  color: #9aa6b2; font-size: 11px; overflow: hidden; border-bottom: 1px solid var(--line);
}
.related-card .eye img { width: 100%; height: 100%; object-fit: cover; }
.related-card .tx { padding: 14px; }
.related-card .cat { display: inline-block; font-size: 10px; font-weight: 700; color: #fff; background: var(--consul); padding: 2px 7px; margin-bottom: 7px; }
.related-card h4 { margin: 0; font-size: 13.5px; font-weight: 700; line-height: 1.6; }
.related-card h4 a:hover { color: var(--consul); }

/* ================================================================
   SIDEBAR
================================================================ */
.sidebar-area { position: sticky; top: 80px; }
.sidebar-card { background: #fff; border: 1px solid var(--line); margin-bottom: 20px; }
.sidebar-card-title {
  font-size: 11px; font-weight: 700; letter-spacing: .12em; color: var(--sub);
  padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--wash);
}
.sidebar-card-body { padding: 16px; }
.sidebar-prof-photo {
  width: 120px; height: 120px; border-radius: 50%; margin: 0 auto 12px;
  overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.sidebar-prof-photo img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-prof-name { font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.sidebar-prof-text { font-size: 12px; color: var(--sub); line-height: 1.75; margin: 0; }
.sidebar-cat-list { list-style: none; margin: 0; padding: 0; }
.sidebar-cat-list li { border-bottom: 1px solid var(--line); }
.sidebar-cat-list li:last-child { border-bottom: 0; }
.sidebar-cat-list a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 0; font-size: 13px;
}
.sidebar-cat-list a:hover { color: var(--consul); }
.sidebar-cat-count { font-size: 11px; color: var(--sub); }
.sidebar-recent-list { list-style: none; margin: 0; padding: 0; }
.sidebar-recent-list li { padding: 9px 0; border-bottom: 1px solid var(--line); }
.sidebar-recent-list li:last-child { border-bottom: 0; }
.sidebar-recent-list a { font-size: 12.5px; line-height: 1.6; display: block; }
.sidebar-recent-list a:hover { color: var(--consul); }
.sidebar-cta-block {
  background: var(--ink); color: #fff; padding: 20px 16px; text-align: center; margin-bottom: 20px;
}
.sidebar-cta-block p { font-size: 12px; color: #9aa6b2; margin: 0 0 12px; line-height: 1.7; }
.sidebar-cta-block .s-cta-btn {
  display: block; background: #fff; color: var(--ink); font-weight: 700; font-size: 13px; padding: 12px;
}
.sidebar-cta-block .s-cta-btn:hover { background: var(--consul); color: #fff; }

/* ================================================================
   PAGINATION
================================================================ */
.pagination { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.pagination .page-numbers {
  display: flex; align-items: center; justify-content: center;
  min-width: 38px; height: 38px; padding: 0 10px;
  border: 1px solid var(--line); font-size: 13px; font-weight: 500;
}
.pagination .page-numbers:hover { border-color: var(--consul); color: var(--consul); }
.pagination .page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }
.pagination .dots { border: 0; pointer-events: none; }

/* ================================================================
   404
================================================================ */
.error-404-section { padding: 100px 0 120px; text-align: center; }
.error-404-section .error-code { font-size: 96px; font-weight: 900; color: var(--line); line-height: 1; margin: 0 0 8px; }
.error-404-section h1 { margin: 0 0 16px; font-size: 22px; font-weight: 900; }
.error-404-section p { margin: 0 0 32px; font-size: 14.5px; color: var(--sub); }
.error-404-section .back-home {
  display: inline-block; padding: 14px 32px; background: var(--ink); color: #fff; font-weight: 700; font-size: 14px;
}
.error-404-section .back-home:hover { background: var(--consul); }

/* ================================================================
   FORM PAGES（apply / contact / thanks）
================================================================ */
.form-page-wrap { max-width: 680px; padding: 56px 0 80px; }

/* フォーム行レイアウト */
.form-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 22px; }
.form-label { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.required-label::after {
  content: '必須'; display: inline-block; margin-left: 6px;
  font-size: 10px; font-weight: 700; background: var(--consul); color: #fff;
  padding: 1px 6px; vertical-align: middle; line-height: 1.6;
}

/* CF7 フィールド共通 */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 14.5px;
  font-family: inherit;
  color: var(--ink);
  border-radius: 2px;
  transition: border-color .15s;
  box-sizing: border-box;
}
.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
  outline: none;
  border-color: var(--consul);
}
.wpcf7-form textarea { min-height: 140px; resize: vertical; }
.wpcf7-form select { appearance: none; cursor: pointer; }

/* 申込内容セレクト（幅広め） */
.wpcf7-form select[name="apply-type"] { max-width: 400px; }

/* バリデーションエラー */
.wpcf7-not-valid { border-color: #d0021b !important; }
.wpcf7-not-valid-tip { font-size: 12px; color: #d0021b; margin-top: 4px; display: block; }
.wpcf7-response-output { padding: 10px 14px; margin: 16px 0 0; font-size: 13.5px; border-radius: 2px; }

/* 同意チェックボックス */
.form-consent { align-items: flex-start; }
.form-consent .wpcf7-list-item { margin: 0; }
.form-consent .wpcf7-list-item-label { font-size: 13.5px; color: var(--sub); }
.form-consent a { color: var(--consul); text-decoration: underline; }

/* 送信ボタン */
.wpcf7-form .wpcf7-submit {
  margin-top: 8px;
  display: inline-block;
  padding: 14px 48px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: background .2s;
}
.wpcf7-form .wpcf7-submit:hover { background: var(--consul); }
.wpcf7-form .wpcf7-submit:disabled { opacity: .5; cursor: not-allowed; }

/* スピナー */
.wpcf7-spinner { vertical-align: middle; margin-left: 12px; }

/* CF7CF 条件グループ */
[data-class="wpcf7cf_group"] { transition: opacity .25s; }
[data-class="wpcf7cf_group"].wpcf7cf-hidden { display: none; }

/* 申込イントロ */
.apply-intro { font-size: 14px; color: var(--sub); margin: 0 0 28px; }

/* フォームページ 相互リンク */
.form-page-alt { margin-top: 32px; font-size: 13.5px; color: var(--sub); }
.form-page-alt a { color: var(--consul); text-decoration: underline; }

/* 送信完了ページ */
.thanks-section { padding: 100px 0 120px; max-width: 560px; }
.thanks-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--coach); color: #fff;
  font-size: 28px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  margin: 0 0 24px;
}
.thanks-section h1 { margin: 0 0 20px; font-size: clamp(22px, 3.5vw, 30px); font-weight: 900; }
.thanks-section p { margin: 0 0 16px; font-size: 14.5px; line-height: 2; color: var(--sub); }
.thanks-section p:last-of-type { margin-bottom: 32px; }
.thanks-note { font-size: 12.5px !important; color: var(--sub); border-top: 1px solid var(--line); padding-top: 16px; }
.thanks-note a { color: var(--consul); }
.thanks-section .back-home {
  display: inline-block; padding: 14px 32px; background: var(--ink);
  color: #fff; font-weight: 700; font-size: 14px; margin-top: 16px;
}
.thanks-section .back-home:hover { background: var(--consul); }

/* ================================================================
   MOBILE  860px 以下
================================================================ */
@media (max-width: 860px) {
  /* ナビ：PCメニューを隠してハンバーガーを表示 */
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(255, 255, 255, .97);
    padding: 0 24px 20px;
    border-bottom: 1px solid var(--line);
    margin: 0;
  }
  .nav-menu li a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
  }
  .nav.is-open .nav-menu { display: flex; }

  /* ハンバーガー表示 */
  .hamburger { display: flex; }

  /* ナビCTA：モバイルでも表示（幅を小さく） */
  .navcta { padding: 8px 12px; font-size: 12px; margin-left: 12px; }

  /* 右固定CTA：非表示 */
  .float { display: none; }

  /* グリッドを1カラムに */
  .duo,
  .svc,
  .prof,
  .posts,
  .cta-section .pair { grid-template-columns: 1fr; }

  .duo > div:first-child { border-right: 0; border-bottom: 1px solid var(--line); }
  .prof .body { padding: 28px 0 0; }
  .site-footer .top { grid-template-columns: 1fr; }

  /* 写真バンド高さ縮小 */
  .band { height: 220px; }

  /* セクションのパディング縮小 */
  section { padding: 62px 0; }

  /* サービスページ */
  .svc-pillar-body { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .step-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .step-item:nth-child(odd) { border-right: 1px solid var(--line); }
  .pricing-cards { grid-template-columns: 1fr; }

  /* プロフィールページ */
  .profile-intro { grid-template-columns: 1fr; }
  .profile-photo-wrap { min-height: 220px; }

  /* アーカイブ */
  .post-list-item { grid-template-columns: 1fr; }
  .post-list-thumb { aspect-ratio: 1200/630; }

  /* シングル */
  .content-wrap { grid-template-columns: 1fr; gap: 40px; }
  .sidebar-area { position: static; }
  .related-grid { grid-template-columns: 1fr; }

  /* フォームページ */
  .form-page-wrap { padding: 40px 0 60px; }
  .wpcf7-form select[name="apply-type"] { max-width: 100%; }
}
