/* ============================================================
   宗教法人 禅譲・承継相談窓口 — 共通スタイル
   白基調 + 青系統（濃紺 #1a3a5c / 明るい青 #2b6cb0）
   モバイルファースト / breakpoints: 768px, 1024px
   ============================================================ */

:root {
  --navy: #1a3a5c;
  --navy-deep: #122a44;
  --blue: #2b6cb0;
  --blue-bright: #3182ce;
  --blue-pale: #e8f0f8;
  --bg: #ffffff;
  --bg-soft: #f4f7fa;
  --text: #1f2933;
  --text-muted: #4a5866;
  --line: #d7dfe8;
  --white: #ffffff;
  --radius: 8px;
  --shadow-soft: 0 2px 8px rgba(26, 58, 92, 0.08);
  --font-serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-sans: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.9;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

ul,
ol {
  list-style: none;
}

a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--navy);
}

/* ---------- Focus (a11y) ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--blue-bright);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1080px;
  margin-inline: auto;
  padding-inline: 20px;
}

.section {
  padding-block: 56px;
}

.section--soft {
  background: var(--bg-soft);
}

.section--navy {
  background: var(--navy);
  color: var(--white);
}

.section--navy a {
  color: #bcd8f2;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.5;
  color: var(--navy);
  text-wrap: balance;
}

.section--navy h2,
.section--navy h3 {
  color: var(--white);
}

.section-title {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 8px;
}

.section-title-en {
  display: block;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 32px;
}

.section--navy .section-title-en {
  color: #9cc3e8;
}

.lead {
  max-width: 720px;
  margin: 0 auto 32px;
  text-align: center;
  color: var(--text-muted);
}

.section--navy .lead {
  color: #dbe7f2;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 28px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--navy-deep);
  color: var(--white);
}

.btn-accent {
  background: var(--blue);
  color: var(--white);
}

.btn-accent:hover {
  background: #235d9b;
  color: var(--white);
}

.btn-outline {
  background: var(--white);
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline:hover {
  background: var(--blue-pale);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.btn-block {
  width: 100%;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--navy);
}

.brand-mark {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
}

.brand-mark svg {
  display: block;
  width: 40px;
  height: 40px;
}

.brand-text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.site-header .brand-name {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.1;
  color: var(--navy);
}

.brand-name-ja {
  display: inline;
  font-family: var(--font-serif);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-left: 4px;
  color: var(--text-muted);
  vertical-align: 0.15em;
}

.brand-sub {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-top: 3px;
}

.footer-brand .brand-name {
  letter-spacing: 0.04em;
  /* ヘッダーの .brand-name (nowrap) を上書き — フッターでは折返し許可 */
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}

.menu-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* 展開時：ハンバーガーを×アイコンに変形
   .menu-toggle 内には .visually-hidden スパンが1つ先行しているため、
   バーの実位置は nth-child(2)(3)(4)。加えて .is-open クラスでも同挙動。 */
.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(2),
.menu-toggle.is-open .menu-toggle-bar:nth-child(2) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(3),
.menu-toggle.is-open .menu-toggle-bar:nth-child(3) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(4),
.menu-toggle.is-open .menu-toggle-bar:nth-child(4) {
  transform: translateY(-7px) rotate(-45deg);
}

/* メニュー展開中は背後のスクロールを抑制 */
body.menu-open {
  overflow: hidden;
}

.global-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.global-nav.is-open {
  display: block;
}

.global-nav ul {
  padding: 12px 20px 20px;
}

.global-nav li + li {
  border-top: 1px solid var(--line);
}

.global-nav a:not(.btn) {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 8px 4px;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
}

.global-nav a:not(.btn):hover {
  color: var(--blue);
}

.global-nav .nav-cta {
  border-top: 0;
  padding-top: 12px;
}

.global-nav .nav-cta .btn {
  width: 100%;
}

/* ---------- Hero (top: 2分岐) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background-color: #ffffff;
  padding-block: 48px 56px;
  border-bottom: 1px solid var(--line);
}

.hero .container,.page-hero .container {max-width: 1240px;}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../media/top/hero/top-hero-temple.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.8;
  filter: grayscale(0.55) contrast(1.02) brightness(1.02) sepia(0.05);
  z-index: 0;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.78) 0%,
    rgba(255, 255, 255, 0.65) 45%,
    rgba(244, 247, 250, 0.92) 100%
  );
  z-index: 0;
  pointer-events: none;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 1.65rem;
  text-align: center;
  margin-bottom: 12px;
}

.hero-lead {
  max-width: 680px;
  margin: 0 auto 36px;
  text-align: center;
  color: var(--text-muted);
}
@media (max-width: 768px) {
  .hero-title {font-size: 1.35rem;}
  .hero-lead {font-size: 0.88rem;}
}

.branch-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 920px;
  margin-inline: auto;
}

.branch-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px 24px;
  border-radius: 12px;
  color: var(--white);
  text-align: center;
}

.branch-card--zenjo {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
}

.branch-card--shokei {
  background: linear-gradient(160deg, var(--blue) 0%, #235d9b 100%);
}

.branch-label {
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
}

.branch-card h2 {
  color: var(--white);
  font-size: 1.35rem;
}

.branch-card p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
  text-align: left;
}
.branch-card p.branch-label {text-align: center;}

.branch-card .branch-icon {
  margin-inline: auto;
}

.branch-card .btn {
  margin-top: auto;
}

/* ---------- Sub-page hero ---------- */
.page-hero {
  padding-block: 56px;
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero > * {
  position: relative;
  z-index: 1;
}

.page-hero--zenjo {
  background-color: var(--navy-deep);
  background-image: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
}

.page-hero--zenjo::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../media/zenjo/hero/zenjo-hero.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.32;
  filter: grayscale(0.35) contrast(1.05) brightness(0.9);
  z-index: 0;
  pointer-events: none;
}

.page-hero--zenjo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 37, 64, 0.55) 0%,
    rgba(15, 37, 64, 0.78) 100%
  );
  z-index: 0;
  pointer-events: none;
}

.page-hero--shokei {
  background-color: #235d9b;
  background-image: linear-gradient(160deg, var(--blue) 0%, #235d9b 100%);
}

.page-hero--shokei::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../media/shokei/hero/shokei-hero.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  filter: grayscale(0.25) contrast(1.03) brightness(1.02);
  z-index: 0;
  pointer-events: none;
}

.page-hero--shokei::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(43, 108, 176, 0.5) 0%,
    rgba(35, 93, 155, 0.75) 100%
  );
  z-index: 0;
  pointer-events: none;
}

.page-hero--plain {
  background: var(--bg-soft);
  color: var(--text);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  color: inherit;
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.page-hero--plain h1 {
  color: var(--navy);
}

.page-hero p {
  max-width: 680px;
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.92);
}

.page-hero--plain p {
  color: var(--text-muted);
}

.page-hero .hero-figure {
  margin-bottom: 20px;
}

/* ---------- Cards / Grid ---------- */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
}

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 14px;
  text-align: center;
}

.card p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--blue-pale);
}

.card-illust {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 140px;
  margin-bottom: 16px;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(180deg, #f4f7fa 0%, #eaf1f8 100%);
}

.card-illust svg {
  max-width: 100%;
  height: 100%;
}

.card-illust img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.85);
}

.card-grid--3 .card h3 {
  color: var(--navy-deep);
  font-weight: 700;
  font-size: 1.15rem;
  margin-top: 4px;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

/* ---------- Policy list ---------- */
.policy-list {
  display: grid;
  gap: 16px;
  max-width: 860px;
  margin-inline: auto;
}

.policy-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--white);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px;
  box-shadow: var(--shadow-soft);
}

.policy-item svg {
  flex-shrink: 0;
  margin-top: 4px;
}

.policy-item h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.policy-item p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  gap: 16px;
  counter-reset: step;
  max-width: 860px;
  margin-inline: auto;
}

.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px 24px 24px 76px;
  counter-increment: step;
}

.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 20px;
  top: 24px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-serif);
  font-weight: 700;
  border-radius: 50%;
  font-size: 0.95rem;
}

.steps--shokei .step::before {
  background: var(--blue);
}

.step h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.step p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Steps with figure — used only on top page ご相談の流れ */
.steps--with-figure .step {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  align-items: center;
  padding: 20px 24px 20px 24px;
}

.steps--with-figure .step::before {
  left: 12px;
  top: 12px;
  z-index: 2;
  box-shadow: 0 0 0 3px var(--white);
}

.steps--with-figure .step-figure {
  border-radius: 8px;
  overflow: hidden;
  height: 160px;
  background: var(--line);
}

.steps--with-figure .step-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9);
  display: block;
}

.steps--with-figure .step-body {
  min-width: 0;
}

@media (max-width: 768px) {
  .steps--with-figure .step {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 16px 16px 20px 16px;
  }
  .steps--with-figure .step::before {
    left: 12px;
    top: 12px;
  }
  .steps--with-figure .step-figure {
    height: 180px;
  }
}

/* Worry section figure — zenjo page 「こんなお悩みはありませんか」 */
.worry-figure {
  margin: 24px auto 32px;
  border-radius: 8px;
  overflow: hidden;
  max-height: 320px;
  max-width: 900px;
}

.worry-figure img {
  width: 100%;
  height: 100%;
  max-height: 320px;
  object-fit: cover;
  filter: saturate(0.85) brightness(0.96);
  display: block;
}

/* Stance section figure — zenjo page navy section「お気持ちを伺います」 */
.stance-figure {
  margin: 24px auto 32px;
  border-radius: 8px;
  overflow: hidden;
  max-height: 300px;
  max-width: 900px;
}

.stance-figure img {
  width: 100%;
  height: 100%;
  max-height: 300px;
  object-fit: cover;
  filter: saturate(0.75) brightness(0.82);
  display: block;
}

@media (max-width: 768px) {
  .worry-figure,
  .stance-figure {
    margin: 20px auto 24px;
    max-height: 220px;
  }
  .worry-figure img,
  .stance-figure img {
    max-height: 220px;
  }
}

/* ---------- Empathy (お悩み) ---------- */
.worry-list {
  display: grid;
  gap: 12px;
  max-width: 720px;
  margin-inline: auto;
}

.worry-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-weight: 500;
}

.worry-list svg {
  flex-shrink: 0;
  margin-top: 6px;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 820px;
  margin-inline: auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-q {
  font-size: 1rem;
  margin: 0;
}

.faq-toggle {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 14px 20px;
  background: var(--white);
  border: 0;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  text-align: left;
  line-height: 1.6;
}

.faq-toggle:hover {
  background: var(--blue-pale);
}

.faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  background: var(--blue);
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-toggle[aria-expanded="true"] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-a {
  padding: 4px 20px 18px;
  border-top: 1px dashed var(--line);
}

.faq-a p {
  font-size: 0.95rem;
  color: var(--text-muted);
  padding-top: 12px;
}

.faq-category {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--navy);
  max-width: 820px;
  margin: 40px auto 16px;
  padding-left: 14px;
  border-left: 4px solid var(--blue);
}

.faq-category:first-of-type {
  margin-top: 0;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  text-align: center;
  padding-block: 56px;
}

.cta-band h2 {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.cta-band p {
  max-width: 640px;
  margin: 0 auto 28px;
  color: #dbe7f2;
}

.cta-band .btn-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

/* ---------- Tables (会社概要など) ---------- */
.info-table {
  width: 100%;
  max-width: 820px;
  margin-inline: auto;
  border-collapse: collapse;
  background: var(--white);
}

.info-table th,
.info-table td {
  padding: 16px 18px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 0.95rem;
}

.info-table th {
  width: 32%;
  background: var(--blue-pale);
  color: var(--navy);
  font-weight: 700;
  white-space: nowrap;
}

/* ---------- Forms ---------- */
.form-wrap {
  max-width: 720px;
  margin-inline: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px 24px;
}

.form-field {
  margin-bottom: 22px;
}

.form-field label,
.form-field .field-label {
  display: block;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.required-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 8px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--white);
  background: #b03030;
  border-radius: 4px;
  vertical-align: 2px;
}

.optional-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 8px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 4px;
  vertical-align: 2px;
}

input[type="text"],
input[type="tel"],
input[type="email"],
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--text);
  background: var(--white);
  border: 1px solid #9aa8b5;
  border-radius: var(--radius);
}

textarea {
  min-height: 160px;
  resize: vertical;
}

.radio-group {
  display: grid;
  gap: 10px;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid #9aa8b5;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 500;
}

.radio-option:has(input:checked) {
  border-color: var(--blue);
  background: var(--blue-pale);
}

.radio-option input {
  width: 20px;
  height: 20px;
  accent-color: var(--blue);
}

.form-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.form-consent input {
  width: 20px;
  height: 20px;
  margin-top: 6px;
  accent-color: var(--blue);
  flex-shrink: 0;
}

.form-success {
  max-width: 720px;
  margin-inline: auto;
  background: var(--blue-pale);
  border: 1px solid var(--blue);
  border-radius: 12px;
  padding: 36px 24px;
  text-align: center;
}

.form-success h2 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.form-success p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* ---------- Prose (プライバシーポリシー等) ---------- */
.prose {
  max-width: 780px;
  margin-inline: auto;
}

.prose h2 {
  font-size: 1.2rem;
  margin: 40px 0 12px;
  padding-left: 14px;
  border-left: 4px solid var(--blue);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,
.prose li {
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 10px;
}

.prose ol,
.prose ul {
  padding-left: 1.5em;
  margin-bottom: 16px;
}

.prose ol {
  list-style: decimal;
}

.prose ul {
  list-style: disc;
}

.prose .doc-date {
  text-align: right;
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-top: 32px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: #dbe7f2;
  padding-block: 48px 24px;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 36px;
}

/* grid item のデフォルト min-width: auto を上書き — 長いテキスト/URLが列幅を押し広げるのを防ぐ */
.footer-grid > * {
  min-width: 0;
}

.footer-brand,
.footer-nav {
  min-width: 0;
  max-width: 100%;
}

.footer-brand .brand-name {
  color: var(--white);
  font-size: 1.05rem;
  overflow-wrap: anywhere;
}

.footer-brand p {
  margin-top: 12px;
  color: #b7c8d9;
  font-size: 0.88rem;
  overflow-wrap: anywhere;
}

.footer-nav a {
  overflow-wrap: anywhere;
}

.copyright {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.footer-nav h2 {
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}

.footer-nav ul {
  display: grid;
  gap: 4px;
}

.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #dbe7f2;
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-cta {
  text-align: center;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 24px;
}

.footer-cta p {
  margin-bottom: 16px;
}

.copyright {
  text-align: center;
  font-size: 0.8rem;
  color: #9db2c6;
}

/* ---------- Utility ---------- */
.text-center {
  text-align: center;
}

.mt-lg {
  margin-top: 32px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   Breakpoint: 768px
   ============================================================ */
@media (min-width: 768px) {
  .section {
    padding-block: 72px;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .hero {
    padding-block: 64px 72px;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .branch-grid {
    grid-template-columns: 1fr 1fr;
  }

  .branch-card {
    padding: 40px 32px;
  }

  .page-hero {
    padding-block: 72px;
  }

  .page-hero h1 {
    font-size: 2rem;
  }

  .card-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cta-band .btn-group {
    flex-direction: row;
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}

/* ============================================================
   Breakpoint: 1024px（PC ナビ表示）
   ============================================================ */
@media (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }

  .global-nav {
    display: block;
    position: static;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .global-nav ul {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0;
  }

  .global-nav li + li {
    border-top: 0;
  }

  .global-nav a:not(.btn) {
    padding: 8px 10px;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    white-space: nowrap;
  }

  .global-nav .nav-cta {
    padding-top: 0;
    margin-left: 8px;
  }

  .global-nav .nav-cta .btn {
    width: auto;
    min-height: 44px;
    padding: 8px 22px;
    font-size: 0.92rem;
  }

  .card-grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .card-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-title {
    font-size: 2.3rem;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ============================================================
   Header 電話CTA
   ============================================================ */
.header-tel {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  margin-right: 8px;
  color: var(--navy);
  text-decoration: none;
  border-radius: var(--radius);
  transition: background-color 0.15s ease;
}

.header-tel:hover {
  background-color: var(--blue-pale);
  color: var(--navy);
}

.header-tel .tel-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--blue-pale);
  color: var(--navy);
  flex-shrink: 0;
}

.header-tel .tel-body {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.header-tel .tel-body strong {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--navy);
}

.header-tel .tel-body small {
  font-size: 0.72rem;
  color: var(--text-muted);
}

@media (min-width: 1024px) {
  .header-tel {
    display: inline-flex;
  }
}

/* ============================================================
   モバイル追従バー
   ============================================================ */
.mobile-cta-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 16px rgba(26, 58, 92, 0.1);
  transform: translateY(120%);
  transition: transform 0.25s ease;
}

.mobile-cta-bar.is-visible {
  transform: translateY(0);
}

.mobile-cta-bar a {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 48px;
  padding: 8px 12px;
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.2;
}

.mobile-cta-bar .mcb-tel {
  background: var(--white);
  color: var(--navy);
  border: 2px solid var(--navy);
}

.mobile-cta-bar .mcb-cta {
  background: var(--blue);
  color: var(--white);
  border: 2px solid var(--blue);
}

.mobile-cta-bar svg {
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .mobile-cta-bar {
    display: none;
  }
}

/* ============================================================
   Trust Signal Row（ヒーロー下バッジ）
   ============================================================ */
.trust-badges {
  margin-top: 32px;
  margin-bottom: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.trust-badge {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 20px 16px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius);
  color: var(--navy);
}



.hero .trust-badge,
.page-hero .trust-badge {
  background: rgba(255, 255, 255, 0.95);
}

.trust-badge .tb-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--blue-pale);
  flex-shrink: 0;
}

.trust-badge .tb-title {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--navy);
}
@media (max-width: 768px) {
  .trust-badge {flex-direction: column;}
  .trust-badge > div {width: 100%;}
  .trust-badge .tb-icon {margin: 0 auto;}
  .trust-badge .tb-title {text-align: center; display: block; margin-bottom: 10px; font-size: 1rem;}
}

.trust-badge .tb-desc {
  display: block;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin-top: 3px;
}

@media (min-width: 768px) {
  .trust-badges {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
}

/* ============================================================
   Progressive CTA（資料DL / LINE / 電話予約）
   ============================================================ */
.progressive-cta {
  padding-block: 56px;
  background: var(--bg-soft);
}

.progressive-cta .pc-heading {
  text-align: center;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.progressive-cta .pc-lead {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.progressive-cta .pc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.progressive-cta .pc-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none;
  color: inherit;
}

.progressive-cta .pc-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(26, 58, 92, 0.12);
  color: inherit;
}

.progressive-cta .pc-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--blue-pale);
  color: var(--navy);
  margin-bottom: 14px;
}

.progressive-cta .pc-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.progressive-cta .pc-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  flex-grow: 1;
}

.progressive-cta .pc-arrow {
  align-self: flex-start;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--blue);
}

@media (min-width: 768px) {
  .progressive-cta .pc-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* ============================================================
   フォーム 2ステップ / マイクロコピー / 秘密厳守バッジ
   ============================================================ */
.form-step {
  animation: fadeSlide 0.25s ease;
}

.form-step[hidden] {
  display: none;
}

@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.form-progress {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  padding: 16px;
  background: var(--bg-soft);
  border-radius: var(--radius);
}

.form-progress-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.form-progress-item .fp-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--line);
  color: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.form-progress-item.is-active .fp-num {
  background: var(--blue);
}

.form-progress-item.is-active {
  color: var(--navy);
  font-weight: 700;
}

.form-progress-item.is-done .fp-num {
  background: var(--navy);
}

.form-progress-arrow {
  color: var(--line);
  font-weight: 700;
  flex-shrink: 0;
}

.form-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
  background: none;
  border: 0;
  color: var(--blue);
  font-size: 0.92rem;
  cursor: pointer;
  padding: 6px 0;
}

.form-back:hover {
  color: var(--navy);
  text-decoration: underline;
}

.secrecy-badge {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  margin-bottom: 24px;
  background: var(--blue-pale);
  border-left: 4px solid var(--navy);
  border-radius: var(--radius);
}

.secrecy-badge .sb-icon {
  flex-shrink: 0;
  color: var(--navy);
}

.secrecy-badge .sb-title {
  display: block;
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.secrecy-badge .sb-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.secrecy-badge a {
  color: var(--navy);
  font-weight: 600;
}

.btn-reassure {
  list-style: none;
  padding: 0;
  margin: 16px 0 12px;
  display: grid;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.btn-reassure li {
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.6;
}

.btn-reassure li::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  background: var(--blue-pale);
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}

.btn-alternative {
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 12px 0 0;
  padding: 12px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

.btn-alternative a {
  color: var(--navy);
  font-weight: 700;
}

/* optgroup select */
.form-field select optgroup {
  font-weight: 700;
  color: var(--navy);
}

/* ============================================================
   Rescue CTA (悪質業者相談) / 事業別CTA
   ============================================================ */
.rescue-cta {
  margin-top: 32px;
  padding: 28px 24px;
  background: linear-gradient(180deg, #fff7f0 0%, #ffffff 100%);
  border: 1px solid #f0d8c4;
  border-left: 4px solid #b03030;
  border-radius: var(--radius);
}

.rescue-cta h3 {
  font-family: var(--font-serif);
  color: #b03030;
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.rescue-cta p {
  color: var(--text);
  margin-bottom: 16px;
}

.rescue-cta .rescue-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rescue-cta .btn {
  background: #b03030;
  color: var(--white);
  border-color: #b03030;
}

.rescue-cta .btn:hover {
  background: #8a2424;
  border-color: #8a2424;
  color: var(--white);
}

.rescue-cta .btn-outline {
  background: var(--white);
  color: #b03030;
  border-color: #b03030;
}

.rescue-cta .btn-outline:hover {
  background: #b03030;
  color: var(--white);
}

@media (min-width: 768px) {
  .rescue-cta .rescue-actions {
    flex-direction: row;
    justify-content: center;
  }
}

.shokei-cta-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.shokei-cta-grid .sc-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--navy);
  transition: border-color 0.15s ease, background-color 0.15s ease;
  font-family: var(--font-serif);
  font-weight: 600;
}

.shokei-cta-grid .sc-item:hover {
  border-color: var(--blue);
  background: var(--blue-pale);
  color: var(--navy);
}

.shokei-cta-grid .sc-item::after {
  content: "→";
  margin-left: auto;
  color: var(--blue);
  font-weight: 700;
}

@media (min-width: 768px) {
  .shokei-cta-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================================
   Steps followup CTA / 各Stepメタ情報
   ============================================================ */
.step-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.step-meta span {
  display: inline-block;
  padding: 2px 10px;
  background: var(--blue-pale);
  color: var(--navy);
  border-radius: 999px;
}

.step-total {
  text-align: center;
  margin-top: 20px;
  padding: 14px;
  background: var(--white);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  font-family: var(--font-serif);
  color: var(--navy);
}

.steps-followup {
  margin-top: 32px;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.steps-followup p {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 16px;
}

.steps-followup .btn-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
}

@media (min-width: 768px) {
  .steps-followup .btn-group {
    flex-direction: row;
  }
}

/* ============================================================
   パンくずリスト
   ============================================================ */
.breadcrumb {
  padding: 12px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  padding: 0;
  list-style: none;
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.breadcrumb li + li::before {
  content: "›";
  color: var(--line);
  margin-right: 2px;
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--navy);
  text-decoration: underline;
}

.breadcrumb [aria-current="page"] {
  color: var(--navy);
  font-weight: 600;
}

/* ============================================================
   声（voice） / 事例カード
   ============================================================ */
.voice-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.voice-card {
  padding: 24px 22px;
  background: var(--white);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.voice-card blockquote {
  font-family: var(--font-serif);
  font-size: 1rem;
  line-height: 1.9;
  color: var(--text);
  margin-bottom: 12px;
}

.voice-card blockquote::before {
  content: "“";
  display: block;
  font-size: 2rem;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 4px;
}

.voice-card cite {
  font-style: normal;
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (min-width: 768px) {
  .voice-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .voice-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================================
   Reasons — 定量ラベル
   ============================================================ */
.card-label {
  display: block;
  margin: 0 auto 14px;
  padding: 2px 10px;
  background: var(--blue-pale);
  color: var(--navy);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
}

/* ============================================================
   代表挨拶動画 / 連携士業 / 地図枠 / About 用
   ============================================================ */
.about-signature {
  margin-top: 16px;
  font-family: var(--font-serif);
  color: var(--navy);
  text-align: right;
}

.video-placeholder {
  margin-top: 24px;
  aspect-ratio: 16 / 9;
  background: linear-gradient(180deg, var(--blue-pale) 0%, #ffffff 100%);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-family: var(--font-serif);
  flex-direction: column;
  gap: 8px;
}

.video-placeholder svg {
  color: var(--navy);
}

.partner-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 24px;
}

.partner-card {
  padding: 24px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.partner-card .p-role {
  display: inline-block;
  padding: 2px 10px;
  background: var(--navy);
  color: var(--white);
  border-radius: 999px;
  font-size: 0.75rem;
  margin-bottom: 10px;
}

.partner-card h3 {
  font-family: var(--font-serif);
  color: var(--navy);
  margin-bottom: 6px;
}

.partner-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

@media (min-width: 768px) {
  .partner-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.map-placeholder {
  margin-top: 24px;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #e8f0f8 0%, #f4f7fa 50%, #e8f0f8 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  color: var(--text-muted);
  position: relative;
  overflow: hidden;
}

.map-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26,58,92,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,58,92,0.08) 1px, transparent 1px);
  background-size: 32px 32px;
}

.map-placeholder svg {
  position: relative;
  color: var(--navy);
}

.map-placeholder span {
  position: relative;
  font-family: var(--font-serif);
  color: var(--navy);
}

/* ============================================================
   フッター trust-strip
   ============================================================ */
.trust-strip {
  padding: 32px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
}

.trust-strip .ts-title {
  text-align: center;
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.trust-strip .ts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  align-items: center;
}

.trust-strip .ts-item {
  padding: 12px 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.4;
}

@media (min-width: 768px) {
  .trust-strip .ts-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* ============================================================
   なぜ「取引色の言葉を使わない」か
   ============================================================ */
.words-policy {
  padding: 40px 24px;
  background: var(--white);
  border-left: 4px solid var(--navy);
  border-radius: var(--radius);
  margin-top: 40px;
}

.words-policy h3 {
  font-family: var(--font-serif);
  color: var(--navy);
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.words-policy p {
  color: var(--text);
  margin-bottom: 10px;
}

.words-policy a {
  color: var(--navy);
  font-weight: 700;
}

/* ============================================================
   FAQ マイクロCV
   ============================================================ */
.faq-cv-link {
  margin-top: 16px;
  padding: 10px 14px;
  background: var(--blue-pale);
  border-radius: var(--radius);
  font-size: 0.9rem;
}

.faq-cv-link a {
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}

.faq-cv-link a:hover {
  text-decoration: underline;
}

/* ============================================================
   Column (コラムハブ)
   ============================================================ */
.column-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.column-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.column-card .col-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 2px 10px;
  background: var(--blue-pale);
  color: var(--navy);
  border-radius: 999px;
  font-size: 0.75rem;
  margin-bottom: 10px;
}

.column-card h3 {
  font-family: var(--font-serif);
  color: var(--navy);
  font-size: 1.1rem;
  margin-bottom: 10px;
  line-height: 1.6;
}

.column-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  flex-grow: 1;
  margin-bottom: 14px;
}

.column-card .col-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.column-cat-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}

.column-cat-list a {
  padding: 12px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: 0.92rem;
  text-align: center;
}

.column-cat-list a:hover {
  border-color: var(--blue);
  background: var(--blue-pale);
}

@media (min-width: 768px) {
  .column-grid {
    grid-template-columns: 1fr 1fr;
  }

  .column-cat-list {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ============================================================
   モバイル追従バー用スペーサー（footer と被らないよう）
   ============================================================ */
@media (max-width: 767px) {
  body {
    /*padding-bottom: 72px;*/
  }
}

/* ============================================================
   Terms ページ用
   ============================================================ */
.terms-list {
  display: grid;
  gap: 16px;
  margin: 24px 0;
}

.terms-list .term-item {
  padding: 20px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  border-left: 4px solid var(--blue);
}

.terms-list .term-item.term-item--warn {
  border-left-color: #b03030;
  background: #fff7f0;
}

.terms-list .term-item h3 {
  font-family: var(--font-serif);
  color: var(--navy);
  margin-bottom: 8px;
}

.terms-list .term-item p {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.9;
}

/* ============================================================
   Header no-wrap & responsive polish
   ============================================================
   目的:
   - ブランド ("TSUGU（ツグ）" / "宗教法人 禅譲・承継相談窓口") を
     ヘッダー内で絶対に改行させない
   - ナビ項目を単一行に保ちつつ、狭幅時は font-size / gap で吸収
   - ハンバーガー切替 (1024px) までは 1 行維持
   ============================================================ */

/* --- ブランド領域: 改行禁止 & 縮小禁止 --- */
.brand {
  flex-shrink: 0;         /* nav / header-tel と競合してもブランドは縮まない */
}
.brand-text {
  min-width: 0;           /* inline-flex column の shrink 挙動を安定化 */
}
.brand-name,
.brand-name-ja,
.brand-sub {
  white-space: nowrap;    /* 全ブランド行の折返し禁止 */
}

/* --- ナビ項目: 改行禁止 --- */
.global-nav a:not(.btn) {
  white-space: nowrap;
}
.global-nav .nav-cta {
  flex-shrink: 0;         /* Phone CTA と 「無料相談」 ボタンは縮まない */
}
.global-nav .nav-cta .btn,
.global-nav .header-tel {
  white-space: nowrap;    /* 日本語ボタンが 1 文字ずつ縦積みにならないよう */
}
.header-tel .tel-body strong,
.header-tel .tel-body small {
  white-space: nowrap;
}

/* --- Desktop (1024px 以上): 1 行を保証 --- */
/*   ヘッダーだけは他ページと違って幅を広げる (nav 7 項目が入り切らないため) */
@media (min-width: 1024px) {
  .site-header > .container.header-inner {
    max-width: 1280px;
  }
  .header-inner {
    gap: 16px;
  }
  .global-nav {
    /* ヘッダー内で伸縮を許可 (min-width: 0 で子の overflow を抑制) */
    flex: 1 1 auto;
    min-width: 0;
  }
  .global-nav ul {
    flex-wrap: nowrap;
    justify-content: flex-end;
    align-items: center;
  }
}

/* 1440px+: ヘッダーコンテナをさらに広げる */
@media (min-width: 1440px) {
  .site-header > .container.header-inner {
    max-width: 1360px;
  }
}

/* --- 1024-1199.98px: 小型デスクトップ (最も混雑する帯域) --- */
/*   → ブランドサブテキスト非表示、Phone CTA コンパクト化 */
@media (min-width: 1024px) and (max-width: 1199.98px) {
  .brand-mark svg {
    width: 36px;
    height: 36px;
  }
  .site-header .brand-name {
    font-size: 1.15rem;
    letter-spacing: 0.08em;
  }
  .brand-name-ja {
    font-size: 0.58rem;
    margin-left: 3px;
  }
  .brand-sub {
    display: none;          /* 幅節約: 「宗教法人…」を隠す */
  }
  .global-nav ul {
    gap: 0;
  }
  .global-nav a:not(.btn) {
    font-size: 0.78rem;
    padding: 8px 5px;
    letter-spacing: 0;
  }
  .header-tel {
    padding: 4px 6px;
    margin-right: 2px;
    gap: 4px;
  }
  .header-tel .tel-icon {
    width: 26px;
    height: 26px;
  }
  .header-tel .tel-body strong {
    font-size: 0.9rem;
    letter-spacing: 0;
  }
  .header-tel .tel-body small {
    display: none;          /* 「平日 9:00-18:00」は非表示、電話番号のみ */
  }
  .global-nav .nav-cta {
    margin-left: 2px;
  }
  .global-nav .nav-cta .btn {
    padding: 8px 12px;
    font-size: 0.8rem;
    min-height: 40px;
  }
}

/* --- 1200-1439.98px: 標準デスクトップ --- */
@media (min-width: 1200px) and (max-width: 1439.98px) {
  .site-header .brand-name {
    font-size: 1.2rem;
    letter-spacing: 0.1em;
  }
  .brand-name-ja {
    font-size: 0.6rem;
  }
  .brand-sub {
    font-size: 0.6rem;
    letter-spacing: 0.02em;
  }
  .global-nav ul {
    gap: 0;
  }
  .global-nav a:not(.btn) {
    font-size: 0.82rem;
    padding: 8px 6px;
    letter-spacing: 0;
  }
  .header-tel {
    padding: 6px 8px;
    margin-right: 4px;
    gap: 6px;
  }
  .header-tel .tel-icon {
    width: 28px;
    height: 28px;
  }
  .header-tel .tel-body strong {
    font-size: 0.95rem;
    letter-spacing: 0;
  }
  .header-tel .tel-body small {
    display: none;
  }
  .global-nav .nav-cta .btn {
    padding: 8px 14px;
    font-size: 0.85rem;
    min-height: 40px;
  }
}

/* --- 1440px 以上: 大型デスクトップ (余裕を持って表示) --- */
@media (min-width: 1440px) {
  .global-nav ul {
    gap: 4px;
  }
  .global-nav a:not(.btn) {
    font-size: 0.88rem;
    padding: 8px 10px;
    letter-spacing: 0.01em;
  }
  .header-tel .tel-body small {
    white-space: nowrap;
  }
}

/* --- 小型モバイル (640px 未満): ブランドをコンパクト化 --- */
@media (max-width: 639.98px) {
  .header-inner {
    gap: 8px;
  }
  .site-header .brand-name {
    font-size: 1.2rem;
    letter-spacing: 0.08em;
  }
  .brand-name-ja {
    display: none;          /* 「（ツグ）」は下部モバイル追従バーと重複するため省略可 */
  }
  .brand-sub {
    font-size: 0.58rem;
    letter-spacing: 0.02em;
  }
  .brand {
    max-width: calc(100% - 60px);  /* ハンバーガー分を残す */
  }
}

/* ============================================================
   Language Switcher (ja / en / zh-Hans)
   ============================================================ */
.lang-switcher {
  display: inline-flex;
  gap: 0;
  margin-right: 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  background: #ffffff;
  vertical-align: middle;
}
.lang-switcher .lang-btn {
  padding: 6px 10px;
  font-family: "Hiragino Kaku Gothic ProN", "Zen Kaku Gothic New", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
  border-right: 1px solid var(--line);
  line-height: 1.2;
  white-space: nowrap;
}
.lang-switcher .lang-btn:last-child {
  border-right: 0;
}
.lang-switcher .lang-btn:hover {
  background: var(--bg-soft);
  color: var(--navy);
}
.lang-switcher .lang-btn.active {
  background: var(--navy);
  color: #ffffff;
  font-weight: 600;
}
.global-nav .nav-lang { display: flex; align-items: center; }

@media (max-width: 1023px) {
  .global-nav .nav-lang {
    order: -1;
    justify-content: flex-start;
    margin: 8px 0 4px;
  }
}
@media (max-width: 767px) {
  .lang-switcher .lang-btn {
    font-size: 0.7rem;
    padding: 4px 20px!important;
  }
}
@media (max-width: 640px) {
  .lang-switcher {
    margin-right: 0;
  }
}

/* ============================================================
   コラム記事本文 (Article body) — /column/{slug}/
   ============================================================ */
.column-article {
  background: var(--bg-soft);
  padding: 32px 0 64px;
}

.column-article article {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  padding: 32px 20px 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

@media (min-width: 768px) {
  .column-article article {
    padding: 48px 56px 56px;
  }
}

.article-header {
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
  margin-bottom: 28px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.article-category {
  display: inline-block;
  padding: 3px 12px;
  background: var(--blue-pale);
  color: var(--navy);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
}

.article-header h1 {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  line-height: 1.55;
  color: var(--navy);
  margin-bottom: 18px;
}

@media (min-width: 768px) {
  .article-header h1 {
    font-size: 1.95rem;
  }
}

.article-lead {
  font-size: 1rem;
  line-height: 2.0;
  color: var(--text);
  padding: 16px 18px;
  background: var(--bg-soft);
  border-left: 3px solid var(--blue);
  border-radius: 4px;
  margin-top: 20px;
}

.article-toc {
  margin: 28px 0 8px;
  padding: 18px 22px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.article-toc h2 {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 10px;
}

.article-toc ol {
  padding-left: 22px;
  font-size: 0.92rem;
  line-height: 1.9;
}

.article-toc ol li a {
  color: var(--navy);
  text-decoration: none;
}

.article-toc ol li a:hover {
  color: var(--blue);
  text-decoration: underline;
}

.article-body {
  font-size: 1rem;
  line-height: 2.0;
  color: var(--text);
}

.article-body h2 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--navy);
  margin: 40px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--blue-pale);
}

.article-body h3 {
  font-family: var(--font-serif);
  font-size: 1.13rem;
  color: var(--navy);
  margin: 28px 0 12px;
  padding-left: 12px;
  border-left: 4px solid var(--blue);
}

.article-body h4 {
  font-family: var(--font-serif);
  font-size: 1.02rem;
  color: var(--navy-deep);
  margin: 22px 0 10px;
}

.article-body p {
  margin-bottom: 16px;
}

.article-body ul,
.article-body ol {
  margin: 12px 0 20px 24px;
}

.article-body li {
  margin-bottom: 6px;
}

.article-body blockquote {
  margin: 20px 0;
  padding: 16px 20px;
  background: var(--blue-pale);
  border-left: 4px solid var(--blue);
  border-radius: 4px;
  font-size: 0.95rem;
  color: var(--navy-deep);
}

.article-body blockquote p:last-child {
  margin-bottom: 0;
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.92rem;
}

.article-body th,
.article-body td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.article-body th {
  background: var(--blue-pale);
  color: var(--navy);
  font-weight: 600;
}

.article-body .callout {
  margin: 24px 0;
  padding: 18px 22px;
  background: #fff9e6;
  border-left: 4px solid #d69e2e;
  border-radius: 4px;
}

.article-body .callout--legal {
  background: var(--blue-pale);
  border-left-color: var(--navy);
}

.article-body .callout--warn {
  background: #fdecec;
  border-left-color: #c53030;
}

.article-body .callout h4 {
  margin-top: 0;
  color: var(--navy-deep);
  font-size: 0.98rem;
}

.article-body .article-faq {
  margin-top: 32px;
}

.article-body .faq-item {
  margin-bottom: 20px;
  padding: 16px 18px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.article-body .faq-item h3 {
  font-size: 1.02rem;
  color: var(--navy-deep);
  padding-left: 0;
  border-left: none;
  margin: 0 0 10px;
}

.article-body .faq-item h3::before {
  content: "Q. ";
  color: var(--blue);
  font-weight: 700;
}

.article-body .faq-item p::before {
  content: "A. ";
  color: var(--navy);
  font-weight: 700;
}

.article-footer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.article-supervisor {
  padding: 18px 20px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.article-supervisor p {
  margin-bottom: 8px;
}

.article-supervisor p:last-child {
  margin-bottom: 0;
}

.article-related {
  margin-bottom: 28px;
}

.article-related h3 {
  font-family: var(--font-serif);
  color: var(--navy);
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.article-related ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 10px;
}

.article-related ul li {
  margin: 0;
}

.article-related ul li a {
  display: block;
  padding: 12px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--navy);
  text-decoration: none;
  font-size: 0.93rem;
}

.article-related ul li a:hover {
  background: var(--blue-pale);
  border-color: var(--blue);
}

.article-cta {
  padding: 28px 24px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  text-align: center;
}

.article-cta h3 {
  font-family: var(--font-serif);
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.article-cta p {
  color: #d8e2ee;
  margin-bottom: 18px;
  font-size: 0.95rem;
}

.article-cta .btn {
  margin: 4px 6px;
}

.article-cta .btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--white);
}

.article-cta .btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}

.article-reading-time::before {
  content: "⏱ ";
}

/* ===== News preview section (トップ 新着情報) ===== */
.news-preview {
  padding: 80px 0;
  background: var(--paper, #fbf9f2);
  border-top: 1px solid var(--line-2, #d9d1b8);
  border-bottom: 1px solid var(--line-2, #d9d1b8);
}
.news-preview .section-head-inline {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 32px;
  border-bottom: 1pt solid var(--line, #b8ac8c);
  padding-bottom: 12px;
}
.news-preview .section-title {
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--navy-2, #0f1e33);
  letter-spacing: 0.08em;
  margin: 0;
}
.news-preview .section-kicker {
  font-family: "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: var(--gold-2, #7c6835);
  margin: 0;
}
.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.news-item {
  border-bottom: 0.5pt solid var(--line-2, #d9d1b8);
}
.news-link {
  display: grid;
  grid-template-columns: 110px 130px 1fr 24px;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s, transform 0.15s;
}
.news-link:hover {
  background: rgba(43, 108, 176, 0.05);
  transform: translateX(4px);
}
.news-date {
  font-family: "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 0.8rem;
  color: var(--muted, #6b6659);
  letter-spacing: 0.05em;
}
.news-category {
  display: inline-block;
  padding: 3px 8px;
  font-family: "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  border-radius: 2px;
  text-align: center;
  white-space: nowrap;
}
.news-category--practice { background: #e8f0f9; color: #1a3a5c; }
.news-category--succession { background: #f0e8dc; color: #7c6835; }
.news-category--law { background: #f9e8e8; color: #7c1a1a; }
.news-category--authority { background: #e8f9ec; color: #1a5c2a; }
.news-title {
  font-size: 0.95rem;
  color: var(--navy-2, #0f1e33);
  line-height: 1.6;
  font-weight: 500;
}
.news-arrow {
  color: var(--blue, #2b6cb0);
  font-size: 1.1rem;
  text-align: right;
}
.news-lang-note {
  display: inline-block;
  font-size: 0.7rem;
  color: var(--muted, #6b6659);
  margin-left: 8px;
  font-style: italic;
}
.news-footer {
  text-align: center;
  margin-top: 32px;
}

@media (max-width: 768px) {
  .news-preview { padding: 48px 0; }
  .news-preview .section-head-inline {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .news-link {
    grid-template-columns: 90px 1fr;
    grid-template-areas:
      "date category"
      "title title"
      "arrow arrow";
    padding: 14px 0;
  }
  .news-date { grid-area: date; }
  .news-category { grid-area: category; justify-self: start; }
  .news-title { grid-area: title; font-size: 0.9rem; }
  .news-arrow { grid-area: arrow; text-align: right; display: none; }
}
.spbr {display: none;}
@media (max-width: 768px) {
  .spbr {display: block;}
}

/* ============================================================
   Pillar CTA sidebar (right-fixed on desktop, stacked on mobile)
   Used by /column/<cluster>/ pages to guide readers to the pillar
   article (/column/shukyohoujin-shokei-guide/).
   ============================================================ */
.column-article-grid {
  /* Below 1024px: single column, aside falls under article naturally */
}

@media (min-width: 1024px) {
  .column-article > .container {
    max-width: 1200px;
  }
  .column-article-grid {
    display: grid;
    grid-template-columns: minmax(0, 800px) 280px;
    gap: 32px;
    align-items: start;
    justify-content: center;
  }
  .column-article-grid > article {
    margin: 0;
    min-width: 0;
  }
  .pillar-cta-sidebar {
    position: sticky;
    top: 100px;
  }
}

.pillar-cta-sidebar {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow-soft);
  margin-top: 24px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 1024px) {
  .pillar-cta-sidebar {
    margin: 0;
    max-width: none;
  }
}

.pillar-cta-label {
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--gold-2, #7c6835);
  margin: 0 0 10px;
  text-transform: uppercase;
  font-weight: 600;
}
.pillar-cta-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.pillar-cta-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--navy);
  margin: 0 0 10px;
}
.pillar-cta-lead {
  font-size: 0.85rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin: 0 0 14px;
}
.pillar-cta-button {
  display: inline-block;
  padding: 8px 18px;
  background: var(--navy);
  color: var(--white);
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: background 0.2s;
}
.pillar-cta-link:hover .pillar-cta-title {
  color: var(--blue);
}
.pillar-cta-link:hover .pillar-cta-button {
  background: var(--blue);
}