/*
Theme Name: つぐひと
Theme URI: https://tsuguhito.com/
Author: 株式会社C&C
Author URI: https://cc-corp.co.jp/
Description: 家族目線の事業承継メディア「つぐひと」公式テーマ。13ページ + ブログ対応。ブランド色: 朱(#E60012) / 生成(#F2F0ED) / 墨(#111111)。
Version: 1.0.22
License: GPL-2.0+
Text Domain: tsuguhito
*/

:root {
  --shu: #E60012;
  --shu-dark: #B8000F;
  --kinari: #F2F0ED;
  --sumi: #111111;
  --serif: 'Noto Serif JP', '游明朝体', 'Yu Mincho', YuMincho, serif;
  --sans: 'Inter', 'Helvetica Neue', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--sumi);
  background: var(--kinari);
  line-height: 1.8;
  letter-spacing: 0.03em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; transition: color .25s, opacity .25s; }
img, svg { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, ol { list-style: none; }

.container { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 60px; }
.container-narrow { width: 100%; max-width: 920px; margin: 0 auto; padding: 0 60px; }

/* ============ Header ============ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(242, 240, 237, 0.82);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid rgba(17, 17, 17, 0.05);
}
.header-inner {
  display: flex; justify-content: space-between; align-items: center;
  height: 84px; max-width: 1440px; margin: 0 auto; padding: 0 60px;
}
.logo {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--serif); font-weight: 700; font-size: 19px;
  letter-spacing: 0.18em; color: var(--sumi);
}
.logo-mark { width: 56px; height: 28px; flex-shrink: 0; }
.gnav { display: flex; gap: 36px; }
.gnav a {
  font-family: var(--serif); font-size: 14px; font-weight: 500;
  letter-spacing: 0.12em; color: var(--sumi);
}
.gnav a:hover { color: var(--shu); }
.gnav a.is-active { color: var(--shu); }
.header-cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 26px; background: var(--shu); color: var(--kinari);
  font-family: var(--sans); font-size: 13px; font-weight: 500;
  letter-spacing: 0.12em;
}
.header-cta:hover { background: var(--shu-dark); }
.header-cta::after { content: "→"; font-family: var(--sans); }
.menu-toggle { display: none; font-size: 24px; color: var(--sumi); }

/* ============ Page Hero (sub pages) ============ */
.page-hero {
  padding: 200px 0 100px; position: relative; overflow: hidden;
}
.page-hero-bg {
  position: absolute; top: 50%; right: -8%;
  transform: translateY(-50%);
  width: 540px; height: 540px;
  background: var(--kinari);
  border-radius: 0 0 0 200px;
  opacity: 0.6;
  z-index: 0;
}
.page-hero-inner { position: relative; z-index: 1; max-width: 920px; }
.page-hero h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(40px, 6vw, 84px); line-height: 1.4;
  letter-spacing: 0.1em; color: var(--sumi);
  margin: 32px 0 40px;
}
.page-hero h1 .accent { color: var(--shu); }
.page-hero h1 .vertical {
  writing-mode: vertical-rl; display: inline-block;
  max-height: 60vh; margin-right: 24px;
}
.page-hero-lead {
  font-family: var(--serif); font-size: 17px; line-height: 2.2;
  max-width: 540px; color: rgba(17, 17, 17, 0.78);
  margin-bottom: 48px;
}
.page-hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

/* ============ Hero (top page) ============ */
.hero {
  min-height: 100vh; padding: 160px 0 120px;
  position: relative; overflow: hidden;
}
.hero-mark {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(640px, 60vw); height: auto;
  opacity: 0.9; pointer-events: none; z-index: 0;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: auto 1fr;
  gap: 80px; align-items: center; min-height: 70vh;
}
.hero-vertical {
  writing-mode: vertical-rl;
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(48px, 6vw, 92px); line-height: 1.7;
  letter-spacing: 0.18em; color: var(--sumi);
  max-height: 70vh;
}
.hero-vertical .accent { color: var(--shu); }
.hero-side {
  display: flex; flex-direction: column;
  align-items: flex-start; gap: 36px;
}

/* ============ Eyebrow ============ */
.eyebrow {
  display: inline-flex; align-items: center;
  font-family: var(--sans); font-size: 12px; font-weight: 700;
  letter-spacing: 0.32em; color: var(--shu);
}
.eyebrow::before {
  content: ""; display: inline-block; width: 44px; height: 1px;
  background: var(--shu); margin-right: 18px;
}

.hero-lead {
  font-family: var(--serif); font-size: 16px;
  line-height: 2.2; letter-spacing: 0.06em;
  max-width: 460px; color: rgba(17, 17, 17, 0.82);
}
.hero-ctas { display: flex; flex-direction: column; gap: 14px; width: 100%; max-width: 360px; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: space-between;
  width: 100%; min-width: 280px; padding: 19px 28px;
  font-family: var(--serif); font-size: 15px; font-weight: 500;
  letter-spacing: 0.1em; transition: all .25s;
}
.btn::after { content: "→"; font-family: var(--sans); margin-left: 12px; }
.btn-primary { background: var(--shu); color: var(--kinari); }
.btn-primary:hover { background: var(--shu-dark); transform: translateY(-2px); }
.btn-outline {
  background: transparent; color: var(--shu);
  border: 1px solid var(--shu);
}
.btn-outline:hover { background: var(--shu); color: var(--kinari); }
.btn-light {
  display: inline-flex; align-items: center;
  background: var(--kinari); color: var(--shu);
  padding: 22px 44px; font-size: 16px; letter-spacing: 0.15em;
  min-width: 320px; justify-content: center;
}
.btn-light:hover { background: white; transform: translateY(-2px); }
.btn-light::after { content: "  →"; margin-left: 14px; }

/* ============ Sections common ============ */
.section { padding: 140px 0; position: relative; overflow: hidden; }
.section-tight { padding: 90px 0; }
.section-bg-typo {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--sans); font-weight: 900;
  font-size: clamp(140px, 20vw, 320px);
  letter-spacing: -0.04em; line-height: 1;
  color: var(--sumi); opacity: 0.045;
  white-space: nowrap; pointer-events: none; z-index: 0;
  user-select: none;
}
.section-inner { position: relative; z-index: 1; }

.section h2 {
  font-family: var(--serif); font-size: clamp(28px, 3.4vw, 46px);
  font-weight: 500; line-height: 1.7; letter-spacing: 0.08em;
  margin: 36px 0 56px;
}
.section h2.centered { text-align: center; }
.section-lead {
  font-family: var(--serif); font-size: 16px; line-height: 2.1;
  color: rgba(17, 17, 17, 0.72); max-width: 600px; margin-bottom: 80px;
}

/* ============ Dark section variant ============ */
.section-dark { background: var(--sumi); color: var(--kinari); }
.section-dark .section-bg-typo { color: var(--kinari); opacity: 0.05; }
.section-dark h2 { color: var(--kinari); }

/* ============ Philosophy / Statement ============ */
.statement-block { text-align: center; padding: 40px 0; }
.statement-block h2 { margin: 40px 0 56px; line-height: 2; }
.statement-block p {
  font-family: var(--serif); font-size: 16px;
  line-height: 2.3; max-width: 640px; margin: 0 auto;
  color: rgba(17, 17, 17, 0.78);
}

/* ============ Two-column with list ============ */
.problem-list {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 16px 32px; max-width: 800px;
}
.problem-list li {
  font-family: var(--serif); font-size: 16px;
  line-height: 1.9; padding: 16px 0 16px 32px;
  border-left: 2px solid var(--shu);
  background: rgba(255,255,255,0.4);
  padding: 16px 24px 16px 28px;
}

/* ============ Steps ============ */
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 32px; counter-reset: step;
}
.step { counter-increment: step; position: relative; padding-top: 80px; }
.step::before {
  content: "STEP " counter(step);
  position: absolute; top: 0; left: 0;
  font-family: var(--sans); font-size: 12px; font-weight: 700;
  letter-spacing: 0.25em; color: var(--shu);
}
.step::after {
  content: ""; position: absolute; top: 30px; left: 0;
  width: 40px; height: 1px; background: var(--shu);
}
.step h3 {
  font-family: var(--serif); font-size: 19px; font-weight: 500;
  line-height: 1.6; letter-spacing: 0.05em; margin-bottom: 16px;
}
.step p {
  font-family: var(--serif); font-size: 14px; line-height: 1.9;
  color: rgba(17, 17, 17, 0.72);
}

/* ============ FAQ ============ */
.faq { max-width: 880px; margin: 0 auto; }
.faq-item {
  padding: 32px 0; border-bottom: 1px solid rgba(17,17,17,0.1);
}
.faq-q {
  font-family: var(--serif); font-size: 18px; font-weight: 500;
  line-height: 1.7; letter-spacing: 0.06em;
  margin-bottom: 16px; padding-left: 36px; position: relative;
}
.faq-q::before {
  content: "Q"; position: absolute; left: 0; top: 0;
  font-family: var(--sans); font-weight: 700; font-size: 18px;
  color: var(--shu);
}
.faq-a {
  font-family: var(--serif); font-size: 14px; line-height: 2;
  color: rgba(17,17,17,0.78); padding-left: 36px; position: relative;
}
.faq-a::before {
  content: "A"; position: absolute; left: 0; top: 0;
  font-family: var(--sans); font-weight: 700; font-size: 14px;
  color: var(--sumi); opacity: 0.5;
}

/* ============ Comparison table ============ */
.compare {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; margin-top: 40px;
}
.compare-card {
  background: white; padding: 36px 28px;
  border-top: 4px solid var(--shu);
  position: relative;
}
.compare-card h3 {
  font-family: var(--serif); font-size: 18px; font-weight: 500;
  letter-spacing: 0.08em; margin-bottom: 12px;
}
.compare-card .sub {
  font-family: var(--sans); font-size: 11px; font-weight: 700;
  letter-spacing: 0.2em; color: var(--shu); margin-bottom: 20px;
}
.compare-card p {
  font-family: var(--serif); font-size: 13px; line-height: 1.9;
  color: rgba(17,17,17,0.72);
}

/* ============ Misconceptions ============ */
.misconception-list { display: grid; grid-template-columns: 1fr; gap: 24px; max-width: 720px; }
.misc {
  display: grid; grid-template-columns: 80px 1fr;
  gap: 24px; padding: 28px 0;
  border-top: 1px solid rgba(17,17,17,0.1);
}
.misc-mark {
  font-family: var(--sans); font-size: 24px; font-weight: 700;
  letter-spacing: 0.1em;
}
.misc-mark.wrong { color: rgba(17,17,17,0.4); }
.misc-mark.right { color: var(--shu); }
.misc p {
  font-family: var(--serif); font-size: 15px; line-height: 1.9;
  color: rgba(17,17,17,0.85);
}

/* ============ Story Cards (shared) ============ */
.stories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.story-card { display: flex; flex-direction: column; gap: 20px; cursor: pointer; }
.story-img {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, rgba(230,0,18,0.06), rgba(17,17,17,0.08));
  position: relative; overflow: hidden;
  transition: transform .4s;
}
.story-card:hover .story-img { transform: translateY(-4px); }
.story-img::after {
  content: "PHOTO"; position: absolute; bottom: 16px; right: 18px;
  font-family: var(--sans); font-size: 10px; font-weight: 700;
  letter-spacing: 0.25em; color: rgba(17,17,17,0.25);
}
.story-meta {
  font-family: var(--sans); font-size: 11px; font-weight: 500;
  letter-spacing: 0.2em; color: var(--shu);
}
.story-card h3 {
  font-family: var(--serif); font-size: 18px; font-weight: 500;
  line-height: 1.8; letter-spacing: 0.05em;
}
.story-card p {
  font-family: var(--serif); font-size: 13px; line-height: 2;
  color: rgba(17,17,17,0.7);
}
.story-link {
  font-family: var(--sans); font-size: 12px; font-weight: 500;
  letter-spacing: 0.18em; color: var(--shu); margin-top: 4px;
}
.story-link::after { content: " →"; }

/* ============ Big CTA ============ */
.cta-block {
  background: var(--shu); color: var(--kinari);
  padding: 140px 0; position: relative; overflow: hidden;
}
.cta-block::before {
  content: ""; position: absolute; top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: rgba(17, 17, 17, 0.1); border-radius: 50%;
}
.cta-inner {
  position: relative; z-index: 1; text-align: center;
  max-width: 720px; margin: 0 auto;
}
.cta-block .eyebrow { color: var(--kinari); }
.cta-block .eyebrow::before { background: var(--kinari); }
.cta-block h2 {
  font-family: var(--serif); font-size: clamp(28px, 3.6vw, 48px);
  font-weight: 500; line-height: 1.9; letter-spacing: 0.1em;
  margin: 36px 0; color: var(--kinari);
}
.cta-block p {
  font-family: var(--serif); font-size: 16px; line-height: 2.2;
  margin-bottom: 56px; color: rgba(242, 240, 237, 0.92);
}

/* ============ Card Grid (Generic) ============ */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.card-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.card-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.gcard {
  background: white; padding: 36px 28px;
  transition: transform .3s;
}
.gcard:hover { transform: translateY(-4px); }
.gcard .tag {
  font-family: var(--sans); font-size: 11px; font-weight: 700;
  letter-spacing: 0.25em; color: var(--shu); margin-bottom: 16px;
}
.gcard h3 {
  font-family: var(--serif); font-size: 18px; font-weight: 500;
  line-height: 1.7; letter-spacing: 0.05em; margin-bottom: 12px;
}
.gcard p {
  font-family: var(--serif); font-size: 13px; line-height: 1.9;
  color: rgba(17,17,17,0.72);
}

/* ============ List Row ============ */
.list-row { display: flex; flex-direction: column; }
.lrow {
  display: grid; grid-template-columns: 160px 1fr 32px;
  align-items: baseline; gap: 48px; padding: 32px 0;
  border-bottom: 1px solid rgba(17,17,17,0.1);
  transition: padding-left .3s, color .3s; cursor: pointer;
}
.lrow:hover { padding-left: 24px; color: var(--shu); }
.lrow:first-child { border-top: 1px solid rgba(17,17,17,0.1); }
.lrow-tag {
  font-family: var(--sans); font-size: 11px; font-weight: 700;
  letter-spacing: 0.25em; color: var(--shu);
}
.lrow-title {
  font-family: var(--serif); font-size: 18px; font-weight: 500;
  line-height: 1.7; letter-spacing: 0.05em;
}
.lrow-arrow { font-family: var(--sans); font-size: 18px; color: rgba(17,17,17,0.4); }

/* ============ Tag/Filter ============ */
.tags {
  display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 64px;
}
.tag-chip {
  font-family: var(--sans); font-size: 12px; font-weight: 500;
  letter-spacing: 0.15em; padding: 10px 20px;
  border: 1px solid rgba(17,17,17,0.2); color: var(--sumi);
  transition: all .25s; cursor: pointer;
}
.tag-chip:hover, .tag-chip.is-active {
  background: var(--shu); color: var(--kinari); border-color: var(--shu);
}

/* ============ Info Table ============ */
.info-table {
  width: 100%; border-collapse: collapse;
  font-family: var(--serif); font-size: 15px;
}
.info-table th, .info-table td {
  text-align: left; padding: 24px 0;
  border-bottom: 1px solid rgba(17,17,17,0.1);
  vertical-align: top;
}
.info-table th {
  font-weight: 500; width: 200px; color: rgba(17,17,17,0.6);
  font-family: var(--sans); font-size: 12px; letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ============ Article body (legal/prose) ============ */
.prose { max-width: 760px; margin: 0 auto; padding: 80px 0; }
.prose h2 {
  font-family: var(--serif); font-size: 24px; font-weight: 500;
  letter-spacing: 0.08em; margin: 56px 0 24px;
  padding-bottom: 16px; border-bottom: 2px solid var(--shu);
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-family: var(--serif); font-size: 18px; font-weight: 500;
  letter-spacing: 0.06em; margin: 32px 0 12px;
}
.prose p {
  font-family: var(--serif); font-size: 15px; line-height: 2.1;
  margin-bottom: 20px; color: rgba(17,17,17,0.85);
}
.prose ol, .prose ul { padding-left: 24px; margin-bottom: 20px; }
.prose ol li, .prose ul li {
  font-family: var(--serif); font-size: 15px; line-height: 2.1;
  margin-bottom: 8px; list-style: decimal;
}
.prose ul li { list-style: disc; }
.prose .meta {
  font-family: var(--sans); font-size: 12px; letter-spacing: 0.15em;
  color: rgba(17,17,17,0.5); margin-top: 64px;
}

/* ============ Footer ============ */
.site-footer {
  background: var(--sumi); color: var(--kinari);
  padding: 120px 0 40px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 64px; margin-bottom: 100px;
}
.footer-brand .logo { color: var(--kinari); margin-bottom: 24px; }
.footer-brand p {
  font-family: var(--serif); font-size: 13px; line-height: 2;
  color: rgba(242, 240, 237, 0.65); margin-bottom: 28px;
}
.footer-brand .freedial {
  font-family: var(--sans); font-size: 13px;
  letter-spacing: 0.1em; color: rgba(242, 240, 237, 0.85);
}
.footer-col h4 {
  font-family: var(--sans); font-size: 12px; font-weight: 700;
  letter-spacing: 0.3em; color: var(--shu); margin-bottom: 28px;
}
.footer-col li { margin-bottom: 14px; }
.footer-col a {
  font-family: var(--serif); font-size: 14px;
  color: var(--kinari); opacity: 0.78;
}
.footer-col a:hover { color: var(--shu); opacity: 1; }
.footer-bottom {
  padding-top: 32px; border-top: 1px solid rgba(242, 240, 237, 0.1);
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.15em;
  color: rgba(242, 240, 237, 0.5);
}
.sns { display: flex; gap: 28px; }
.sns a { transition: color .2s; }
.sns a:hover { color: var(--shu); }

/* ============ Stats Grid ============ */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px; }
.stat { border-top: 1px solid rgba(242, 240, 237, 0.18); padding-top: 32px; }
.stat-num {
  font-family: var(--sans); font-weight: 700;
  font-size: clamp(48px, 7vw, 88px); line-height: 1;
  letter-spacing: -0.03em; color: var(--shu); margin-bottom: 16px;
}
.stat-num .unit {
  font-size: 0.4em; font-weight: 500; color: var(--kinari);
  margin-left: 4px; letter-spacing: 0;
}
.stat-label {
  font-family: var(--serif); font-size: 13px; line-height: 1.9;
  color: rgba(242, 240, 237, 0.82);
}
.stat-source {
  font-family: var(--sans); font-size: 11px;
  letter-spacing: 0.15em; color: rgba(242, 240, 237, 0.4);
  margin-top: 64px;
}

/* ============ Entries (4 service cards) ============ */
.entries { display: flex; flex-direction: column; gap: 16px; }
.entry {
  display: grid;
  grid-template-columns: 64px 140px 1fr 32px;
  align-items: center; gap: 40px;
  padding: 36px 48px; background: rgba(255, 255, 255, 0.4);
  border-top: 1px solid rgba(17, 17, 17, 0.08);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  transition: background .3s, transform .3s, padding-left .3s;
  cursor: pointer;
}
.entry:hover {
  background: white; transform: translateY(-2px);
  padding-left: 64px;
}
.entry-num {
  font-family: var(--sans); font-size: 14px; font-weight: 700;
  letter-spacing: 0.2em; color: var(--shu);
}
.entry-tag {
  font-family: var(--sans); font-size: 11px; font-weight: 700;
  letter-spacing: 0.28em; color: var(--sumi);
}
.entry h3 {
  font-family: var(--serif); font-size: 21px; font-weight: 500;
  line-height: 1.6; letter-spacing: 0.05em; margin-bottom: 6px;
}
.entry p {
  font-family: var(--serif); font-size: 14px; line-height: 1.9;
  color: rgba(17, 17, 17, 0.68);
}
.entry-arrow { font-family: var(--sans); font-size: 24px; color: var(--shu); }

/* ============ Responsive ============ */
@media (max-width: 960px) {
  .container, .container-narrow { padding: 0 24px; }
  .header-inner { height: 64px; padding: 0 24px; }
  .gnav, .header-cta { display: none; }
  .menu-toggle { display: block; }
  .logo { font-size: 16px; }
  .logo-mark { width: 44px; height: 22px; }

  .hero { padding: 100px 0 60px; min-height: auto; }
  .hero-mark { width: 320px; opacity: 0.4; }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; min-height: auto; }
  .hero-vertical {
    writing-mode: horizontal-tb; font-size: 36px;
    max-height: none; line-height: 1.5; letter-spacing: 0.08em;
  }
  .hero-side { gap: 24px; }
  .hero-ctas { max-width: 100%; }
  .btn { min-width: 100%; padding: 18px 24px; }

  .page-hero { padding: 100px 0 60px; }
  .page-hero-bg { display: none; }
  .page-hero h1 { font-size: 32px; line-height: 1.6; }
  .page-hero h1 .vertical { writing-mode: horizontal-tb; max-height: none; margin-right: 0; }

  .section { padding: 70px 0; }
  .section-bg-typo { font-size: 80px; }

  .stats-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .compare { grid-template-columns: 1fr 1fr; gap: 16px; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .problem-list { grid-template-columns: 1fr; }

  .entry { grid-template-columns: 50px 1fr; gap: 16px; padding: 24px; }
  .entry:hover { padding-left: 24px; }
  .entry-tag, .entry-arrow { display: none; }
  .entry h3 { font-size: 17px; }

  .stories, .card-grid, .card-grid-2, .card-grid-4 { grid-template-columns: 1fr; gap: 24px; }

  .lrow { grid-template-columns: 1fr; gap: 8px; padding: 24px 0; }
  .lrow:hover { padding-left: 0; }

  .info-table th { width: 120px; font-size: 11px; }

  .cta-block { padding: 90px 0; }
  .btn-light { min-width: 100%; padding: 20px 32px; }

  .site-footer { padding: 80px 0 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 56px; }
  .footer-bottom { flex-direction: column; gap: 18px; text-align: center; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .stats-grid { grid-template-columns: 1fr; }
  .compare { grid-template-columns: 1fr; }
}

/* ============================================
   投稿・固定ページの本文整形（追加）
   ============================================ */
.entry-content { max-width: 760px; margin: 0 auto; padding: 80px 24px; font-family: var(--serif); font-size: 17px; line-height: 2.0; color: var(--sumi); }
.entry-content h2 { font-size: 28px; margin: 60px 0 24px; padding-left: 16px; border-left: 4px solid var(--shu); }
.entry-content h3 { font-size: 22px; margin: 48px 0 18px; color: var(--shu-dark); }
.entry-content p { margin: 0 0 20px; }
.entry-content a { color: var(--shu); text-decoration: underline; text-underline-offset: 3px; }
.entry-content img { max-width: 100%; height: auto; margin: 32px 0; border-radius: 4px; }
.entry-content blockquote { border-left: 4px solid var(--shu); padding: 16px 24px; background: var(--kinari); margin: 32px 0; font-style: italic; }
.entry-content ul, .entry-content ol { margin: 0 0 24px; padding-left: 28px; }
.entry-content li { margin-bottom: 8px; }
.entry-meta { font-family: var(--sans); font-size: 13px; letter-spacing: 0.08em; color: #666; margin-bottom: 32px; }
.entry-title { font-family: var(--serif); font-size: 36px; font-weight: 900; line-height: 1.4; margin-bottom: 24px; }

/* WordPress 管理バー対策 */
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }

/* ====================================================================
   コンタクトフォーム（page-contact.php）
==================================================================== */
.contact-section {
  padding: 60px 0 100px;
  background: #fff;
}
.contact-inner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.contact-form {
  background: #FAF8F4;
  padding: 40px;
  border-radius: 12px;
}
.contact-form .form-row {
  margin-bottom: 28px;
}
.contact-form label {
  display: block;
  font-weight: 600;
  font-size: 15px;
  color: #111;
  margin-bottom: 8px;
}
.contact-form label .req {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  background: #E60012;
  color: #fff;
  font-size: 11px;
  border-radius: 3px;
  vertical-align: middle;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
  font-size: 15px;
  font-family: inherit;
  color: #111;
  box-sizing: border-box;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #E60012;
  box-shadow: 0 0 0 3px rgba(230, 0, 18, 0.1);
}
.contact-form textarea {
  resize: vertical;
  min-height: 180px;
}
.form-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}
.radio-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 400;
  font-size: 14px;
  transition: all 0.2s;
  margin-bottom: 0;
}
.radio-item:hover {
  border-color: #E60012;
  background: #FDECEE;
}
.radio-item input[type="radio"] {
  margin: 0;
  cursor: pointer;
}
.form-consent {
  background: #fff;
  padding: 16px 20px;
  border-radius: 6px;
  border: 1px solid #eee;
}
.consent-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 400;
  margin-bottom: 0;
}
.consent-item a {
  color: #E60012;
  text-decoration: underline;
}
.form-actions {
  text-align: center;
  margin-top: 30px;
}
.form-actions .btn {
  min-width: 280px;
  padding: 16px 40px;
  font-size: 16px;
  font-weight: 700;
}
.form-error-banner {
  background: #FDECEE;
  border: 1px solid #E60012;
  color: #E60012;
  padding: 16px 20px;
  border-radius: 6px;
  margin-bottom: 24px;
  font-weight: 600;
}

.contact-side {
  background: #111;
  color: #fff;
  padding: 36px 28px;
  border-radius: 12px;
  height: fit-content;
  position: sticky;
  top: 100px;
}
.contact-side h3 {
  font-size: 18px;
  margin: 0 0 14px;
  color: #fff;
}
.contact-side p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.9);
  margin-bottom: 24px;
}
.contact-side .btn {
  background: #06C755;
  color: #fff;
  border: none;
  width: 100%;
  text-align: center;
}
.contact-side .btn:hover {
  background: #05a847;
}

/* サンキューカード */
.contact-thanks {
  padding: 80px 0 120px;
  background: #FAF8F4;
}
.thanks-card {
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  padding: 60px 40px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0,0,0,0.05);
}
.thanks-card .eyebrow {
  color: #E60012;
  font-size: 12px;
  letter-spacing: 0.2em;
  font-weight: 700;
}
.thanks-card h2 {
  font-size: 28px;
  margin: 16px 0 24px;
  color: #111;
  line-height: 1.5;
}
.thanks-card p {
  color: #555;
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 32px;
}

/* ====================================================================
   COLUMNS リスト（フロントページ）縦並び 修正
==================================================================== */
.section.columns .col-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 40px;
  border-top: 1px solid #ddd;
}
.section.columns .col-row {
  display: grid;
  grid-template-columns: 180px 1fr 40px;
  align-items: center;
  gap: 24px;
  padding: 28px 8px;
  border-bottom: 1px solid #ddd;
  text-decoration: none;
  color: #111;
  transition: background 0.2s;
}
.section.columns .col-row:hover {
  background: rgba(230, 0, 18, 0.04);
}
.section.columns .col-tag {
  font-size: 12px;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: #E60012;
}
.section.columns .col-title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
}
.section.columns .col-arrow {
  font-size: 22px;
  color: #E60012;
  text-align: right;
}
@media (max-width: 768px) {
  .section.columns .col-row {
    grid-template-columns: 1fr 30px;
    gap: 8px;
    padding: 20px 4px;
  }
  .section.columns .col-tag {
    grid-column: 1 / 3;
    font-size: 11px;
  }
  .section.columns .col-title {
    font-size: 15px;
  }
}

/* ====================================================================
   ハンドブックCTA 受け取るボタン強化
==================================================================== */
.handbook-cta .btn-light {
  display: inline-block;
  background: #E60012;
  color: #fff;
  border: 2px solid #E60012;
  padding: 18px 56px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 6px 20px rgba(230, 0, 18, 0.25);
  margin-top: 16px;
}
.handbook-cta .btn-light:hover {
  background: #c50010;
  border-color: #c50010;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(230, 0, 18, 0.35);
}

/* ====================================================================
   REALITY セクション 背景修正（v1.0.15）
==================================================================== */
.section.reality {
  background: var(--sumi);
  color: var(--kinari);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.section.reality .section-bg-typo {
  color: rgba(242, 240, 237, 0.04);
  font-size: clamp(140px, 18vw, 280px);
  font-weight: 900;
  letter-spacing: -0.04em;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
  font-family: var(--sans);
}
.section.reality .container {
  position: relative;
  z-index: 2;
}
.section.reality .eyebrow {
  color: var(--shu);
}
.section.reality h2 {
  color: var(--kinari);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.5;
  margin-bottom: 60px;
}
.section.reality .stat-num .unit {
  color: rgba(242, 240, 237, 0.95);
  font-size: 0.4em;
  font-weight: 500;
  margin-left: 6px;
}
.section.reality .stat-label {
  color: rgba(242, 240, 237, 0.85);
}
.section.reality .stat-source {
  color: rgba(242, 240, 237, 0.5);
}

/* ====================================================================
   ヒーロー中央マーク非表示（v1.0.5 修正の復元 / v1.0.16）
==================================================================== */
.hero-mark {
  display: none !important;
}
.hero-inner {
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
}

/* ========================================================
   v1.0.17 記事末尾CTAバナー
   全 single 記事の本文末に自動挿入される3点CTA
======================================================== */

.post-cta {
  margin: 64px auto 48px;
  padding: 0;
  max-width: 880px;
  background: var(--kinari);
  border: 1px solid #e5e2dc;
  border-radius: 12px;
  overflow: hidden;
}

.post-cta-inner {
  padding: 40px 32px 32px;
}

.post-cta-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 16px;
  color: var(--sumi);
  letter-spacing: 0.04em;
}

.post-cta-lead {
  text-align: center;
  font-size: 15px;
  color: #555;
  margin: 0 0 32px;
  line-height: 1.8;
}

.post-cta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.post-cta-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: #fff;
  border: 1px solid #e5e2dc;
  border-radius: 8px;
  text-decoration: none;
  color: var(--sumi);
  transition: all 0.2s;
  text-align: center;
}

.post-cta-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  border-color: var(--shu);
}

.post-cta-icon {
  font-size: 32px;
  margin-bottom: 12px;
  display: block;
}

.post-cta-card-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  display: block;
  color: var(--sumi);
}

.post-cta-card-sub {
  font-size: 12px;
  color: #888;
  display: block;
}

.post-cta-card-line:hover {
  background: linear-gradient(135deg, #06C755 0%, #04a647 100%);
  border-color: #06C755;
}
.post-cta-card-line:hover .post-cta-card-title,
.post-cta-card-line:hover .post-cta-card-sub {
  color: #fff;
}

.post-cta-card-contact:hover {
  background: linear-gradient(135deg, var(--shu) 0%, var(--shu-dark) 100%);
  border-color: var(--shu);
}
.post-cta-card-contact:hover .post-cta-card-title,
.post-cta-card-contact:hover .post-cta-card-sub {
  color: #fff;
}

.post-cta-foot {
  margin: 24px 0 0;
  font-size: 12px;
  text-align: center;
  color: #888;
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .post-cta {
    margin: 48px 16px 32px;
    border-radius: 8px;
  }
  .post-cta-inner {
    padding: 28px 20px 24px;
  }
  .post-cta-title {
    font-size: 22px;
  }
  .post-cta-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .post-cta-card {
    padding: 20px 16px;
  }
}

/* v1.0.17 hotfix: CTAバナー下線除去 */
.post-cta-card,
.post-cta-card:visited,
.post-cta-card:hover,
.post-cta-card span {
  text-decoration: none !important;
  border-bottom: none !important;
}
.post-cta a,
.post-cta a:hover,
.post-cta a:visited {
  text-decoration: none !important;
  border-bottom: none !important;
}

/* v1.0.21: story-img child img cover */
.story-img img,.story-img picture,.story-img a img{width:100%;height:100%;object-fit:cover;display:block;}


/* v1.0.22: photo-strip full-bleed photo divider */
.photo-strip {
  width: 100%;
  margin: 0;
  padding: 0;
}
.photo-strip img {
  display: block;
  width: 100%;
  height: clamp(280px, 38vw, 520px);
  object-fit: cover;
}
