:root {
  --ink: #1f3a38;
  --ink-deep: #1d4f4c;
  --teal: #2f8f88;
  --teal-deep: #143836;
  --gold: #94682a;
  --gold-light: #b8894a;
  --muted: #4d6664;
  --line: #cfe5e2;
  --mist: #eaf6f4;
  --paper: #ffffff;
  --max: 1120px;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  line-break: auto;
  overflow-wrap: break-word;
}
body {
  margin: 0;
  line-break: auto;
  overflow-wrap: break-word;
  word-break: normal;
  letter-spacing: 0.02em;
  text-wrap: pretty;
  -webkit-text-size-adjust: 100%;
}
body.home {
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.7;
}
body.sub {
  color: var(--ink);
  background: #f3f8f7;
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.7;
}
a[href^="mailto:"], a[href^="tel:"] {
  line-break: auto;
  word-break: keep-all;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
.home a:hover { opacity: 0.88; }

.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.section-head { text-align: center; max-width: 820px; margin: 0 auto 40px; }
.section-head p { margin: 0; color: var(--muted); }
.eyebrow {
  margin: 0 0 8px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.hero h1 br, .section-head h2 br { display: none; }
h1, h2, h3, h4, h5 {
  font-family: "Noto Serif JP", "Noto Sans JP", serif;
  line-height: 1.35;
}
h1, h2, h3, h4, h5,
.page-hero h1, .section-head h2, .hero h1, .hero-badge, .point h3, .case-card h3 {
  line-break: auto;
  word-break: keep-all;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
h2 { margin: 0 0 16px; color: var(--ink-deep); font-size: clamp(28px, 4vw, 38px); font-weight: 700; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 20px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
  text-decoration: none;
}
.brand-logo { height: 48px; width: auto; max-width: min(280px, 48vw); flex-shrink: 0; }
.brand-tagline {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-deep);
  letter-spacing: 0.05em;
  line-height: 1.3;
  white-space: nowrap;
}
.gnav { display: flex; align-items: center; gap: 22px; font-size: 15px; font-weight: 500; }
.gnav a { text-decoration: none; }
.tel-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 6px 16px 6px 12px;
  border-radius: 999px;
  border: 2px solid var(--teal);
  background: var(--mist);
  color: var(--ink-deep);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.tel-link:hover {
  background: #fff;
  border-color: var(--ink-deep);
  box-shadow: 0 2px 8px rgba(47, 143, 136, 0.18);
  opacity: 1;
}
.tel-link-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
}
.tel-link-icon svg { display: block; }
.tel-link-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}
.tel-link-body small {
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.08em;
}
.tel-link-body strong {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--teal);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font: inherit;
}
.btn-gold { background: var(--gold); color: #fff; }
.btn-white { background: #fff; color: var(--ink-deep); }
.btn.ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.7); }
.btn.line { background: #fff; color: var(--ink-deep); border: 1px solid var(--line); }
.btn-arrow::after { content: " →"; }
.menu-btn {
  display: none;
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 700;
  color: var(--ink-deep);
}

/* Hero */
.hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero-bg, .hero-shade { position: absolute; inset: 0; }
.hero-bg { width: 100%; height: 100%; object-fit: cover; filter: blur(3px); transform: scale(1.04); }
.hero-shade { background: linear-gradient(180deg, rgba(20,56,54,.88), rgba(47,143,136,.78)); }
.hero-inner {
  position: relative;
  z-index: 1;
  width: min(920px, calc(100% - 40px));
  margin: 56px auto 48px;
  text-align: center;
}
.hero-badge {
  display: inline-block;
  margin: 0 0 24px;
  padding: 8px 18px;
  border: 1px solid rgba(255,255,255,.55);
  font-size: 13px;
  letter-spacing: 0.06em;
}
.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(32px, 4.8vw, 54px);
  font-weight: 700;
  line-height: 1.45;
}
.hero h1 em {
  display: inline-block;
  font-style: normal;
  padding: 2px 14px;
  border: 2px solid #fff;
  margin: 0 4px;
}
.hero-lead { margin: 0 auto 32px; max-width: 760px; font-size: clamp(15px, 2vw, 18px); }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
.hero-actions .btn-gold { min-width: 240px; padding: 0 32px; min-height: 56px; font-size: 17px; }
.hero-phone {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  min-height: 56px;
  padding: 8px 28px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink-deep);
  text-decoration: none;
  font-weight: 700;
}
.hero-phone small { display: block; font-size: 12px; font-weight: 500; color: var(--muted); margin-bottom: 2px; }
.hero-phone strong { font-size: 22px; letter-spacing: 0.04em; }
.trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 40px;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}
.trust-ring {
  aspect-ratio: 1;
  max-width: 160px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border-radius: 50%;
  background: #fff;
  color: var(--ink-deep);
  text-align: center;
}
.trust-ring span { display: block; font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.trust-ring strong { display: block; font-size: clamp(16px, 2vw, 20px); color: var(--teal); font-weight: 700; line-height: 1.3; }
.hero-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}
.hero-pills span {
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.35);
  font-size: 13px;
}

.section { padding: 80px 0; }
.section.mist { background: var(--mist); }
.section.deep { background: var(--teal-deep); color: #fff; }
.section.deep h2, .section.deep .eyebrow { color: #fff; }

/* Problem */
.problem-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.problem-list a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  color: var(--ink-deep);
  box-shadow: 0 8px 24px rgba(31,58,56,.04);
}
.problem-icon {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--mist);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--teal);
}
.problem-icon svg { width: 24px; height: 24px; }

/* Difference */
.diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
  margin-top: 32px;
}
.diff-flow { display: grid; gap: 0; }
.diff-step {
  padding: 22px 24px;
  border-radius: 14px;
  text-align: center;
}
.diff-step:nth-child(1) { background: #eef6f5; }
.diff-step:nth-child(3) { background: #c8e8e4; }
.diff-step:nth-child(5) { background: var(--teal); color: #fff; }
.diff-step h3 { margin: 0 0 8px; font-size: 20px; }
.diff-step p { margin: 0; font-size: 14px; }
.diff-step:nth-child(5) h3, .diff-step:nth-child(5) p { color: #fff; }
.diff-arrow { text-align: center; color: var(--teal); font-size: 22px; line-height: 1; padding: 6px 0; }
.diff-chart {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 24px 20px;
}
.diff-bars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 28px;
  min-height: 220px;
  padding: 0 12px 12px;
  border-bottom: 1px solid var(--line);
}
.diff-bar { display: flex; flex-direction: column; align-items: center; gap: 10px; flex: 1; max-width: 100px; }
.diff-bar i {
  display: block;
  width: 100%;
  border-radius: 8px 8px 0 0;
}
.diff-bar:nth-child(1) i { height: 72px; background: #eef6f5; }
.diff-bar:nth-child(2) i { height: 120px; background: #c8e8e4; }
.diff-bar:nth-child(3) i { height: 180px; background: var(--teal); }
.diff-bar span { font-size: 13px; font-weight: 700; color: var(--ink-deep); text-align: center; line-height: 1.35; }
.diff-chart .note { margin: 16px 0 12px; text-align: center; }
.diff-chart .btn-arrow { color: var(--teal); font-weight: 700; text-decoration: none; }

/* Reasons */
.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.point {
  padding: 24px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(31,58,56,.04);
}
.point-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.point-icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--mist);
  display: grid;
  place-items: center;
  color: var(--teal);
}
.point-icon svg { width: 22px; height: 22px; }
.point span { color: var(--teal); font-weight: 700; letter-spacing: 0.08em; font-size: 13px; }
.point h3 { margin: 0 0 10px; font-size: 20px; color: var(--ink-deep); }
.point p { margin: 0; font-size: 15px; color: var(--muted); }
.reason-foot { margin-top: 28px; text-align: center; }
.reason-foot p { color: var(--muted); }
.reason-foot a { color: var(--teal); font-weight: 700; }

/* Cases */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.case {
  padding: 0;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
}
.case-badge {
  display: inline-block;
  margin: 20px 20px 0;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--mist);
  color: var(--teal);
  font-size: 13px;
  font-weight: 700;
}
.case-compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px;
  align-items: end;
  padding: 20px 20px 16px;
}
.case-compare label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.case-compare .before { font-size: 22px; font-weight: 700; }
.case-compare .arrow { color: var(--teal); font-size: 24px; padding-bottom: 6px; }
.case-compare .after { font-size: 26px; font-weight: 700; color: var(--gold); text-align: right; }
.case hr { border: 0; border-top: 1px solid var(--line); margin: 0; }
.case dl { margin: 0; padding: 16px 20px 20px; }
.case dt { font-weight: 700; color: var(--teal); font-size: 14px; margin-top: 10px; }
.case dt:first-child { margin-top: 0; }
.case dd { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.cases-foot { text-align: center; margin-top: 24px; }

/* Find */
.topic-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.topic-grid a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  color: var(--ink-deep);
  box-shadow: 0 6px 18px rgba(31,58,56,.04);
}
.topic-grid a::after { content: "→"; color: var(--teal); font-weight: 700; }

/* Timeline */
.timeline-wrap { position: relative; padding-top: 48px; }
.timeline-line {
  position: absolute;
  top: 78px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: var(--line);
  z-index: 0;
}
.timeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  position: relative;
  z-index: 1;
}
.timeline .step {
  position: relative;
  padding: 0 6px 0;
  border: 0;
  background: transparent;
  text-align: center;
}
.timeline .step small {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}
.timeline .step h3 { margin: 0 0 6px; font-size: 16px; color: var(--ink-deep); }
.timeline .step p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.5; }
.timeline .step.is-consult::before {
  content: "ここで弁護士に相談";
  position: absolute;
  top: -42px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 10px;
  border-radius: 6px;
  background: var(--gold);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.timeline .step.is-consult::after {
  content: "";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--gold);
}

/* Lawyers */
.lawyer-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 28px;
  align-items: start;
  max-width: 720px;
  margin: 0 auto;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(31,58,56,.04);
}
.lawyer-card img { width: 100%; border-radius: 12px; object-fit: cover; aspect-ratio: 2/3; }
.lawyer-card--text-only { grid-template-columns: 1fr; max-width: 640px; }
.lawyer-card .role { margin: 0 0 6px; color: var(--teal); font-weight: 700; }
.lawyer-card h3 { margin: 0 0 12px; font-size: 26px; }
.lawyer-card .meta { margin: 0 0 12px; color: var(--muted); font-size: 14px; }
.lawyer-links a { color: var(--teal); font-weight: 700; margin-right: 16px; }

.fee-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; }
.fee-table th, .fee-table td { border-bottom: 1px solid var(--line); padding: 12px 14px; text-align: left; }
.fee-table th { background: var(--mist); }
.fee-links { margin-top: 16px; }
.fee-links a { color: var(--teal); font-weight: 700; margin-right: 14px; }

/* Flow cards */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.flow .step {
  padding: 24px 20px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(31,58,56,.04);
}
.flow .step small {
  display: block;
  margin-bottom: 10px;
  color: var(--teal);
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  font-family: "Noto Sans JP", sans-serif;
}
.flow .step h3 { margin: 0 0 8px; font-size: 18px; }
.flow .step p { margin: 0; font-size: 14px; color: var(--muted); }

/* News & Column */
.news-block { margin-bottom: 40px; }
.column-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.column-card {
  display: block;
  padding: 22px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(31,58,56,.04);
}
.column-card .tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--mist);
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
}
.column-card h3 { margin: 0 0 12px; font-size: 18px; color: var(--ink-deep); line-height: 1.45; }
.column-card time { font-size: 13px; color: var(--muted); }
.news-list { display: grid; gap: 12px; }
.news-list a {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
}
.news-list time { color: var(--teal); font-weight: 700; }

/* FAQ */
.faq { display: grid; gap: 14px; }
.faq-item {
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.faq-q, .faq-a { display: flex; gap: 14px; align-items: flex-start; }
.faq-q { margin-bottom: 10px; font-weight: 700; color: var(--ink-deep); }
h3.faq-q {
  margin: 0 0 10px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
}
.page-def {
  margin: 0 0 1.5em;
  padding: 16px 18px;
  border-left: 4px solid var(--teal);
  background: var(--mist);
  border-radius: 0 12px 12px 0;
}
.page-def p { margin: 0; }
.page-def strong { display: block; margin-bottom: 4px; color: var(--ink-deep); }
.faq-a { margin: 0; color: var(--muted); font-size: 15px; }
.faq-q mark, .faq-a mark {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 15px;
  background: transparent;
}
.faq-q mark { color: var(--teal); }
.faq-a mark { color: var(--gold); }

/* Consult CTA */
.consult-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.consult-copy .eyebrow { color: #bfe8e3; }
.consult-copy h2 { color: #fff; text-align: left; }
.consult-copy > p { color: rgba(255,255,255,.9); }
.office-box {
  margin-top: 24px;
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 12px;
}
.office-box h3 { margin: 0 0 8px; color: #fff; font-size: 18px; }
.office-box p { margin: 0 0 6px; font-size: 14px; color: rgba(255,255,255,.88); }
.office-box .tel { font-size: 24px; font-weight: 700; color: #fff; text-decoration: none; }
.consult-card {
  padding: 28px;
  background: #fff;
  border-radius: 16px;
  color: var(--ink);
}
.consult-card h3 { margin: 0 0 12px; font-size: 22px; color: var(--ink-deep); }
.consult-card p { margin: 0 0 20px; color: var(--muted); font-size: 15px; }
.consult-card .btn { width: 100%; margin-bottom: 12px; min-height: 52px; }
.consult-card .btn-white { border: 1px solid var(--line); }

.offices { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.offices-single { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
.service-areas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 720px;
  margin: 0 auto;
}
.service-areas span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink-deep);
  font-size: 15px;
  font-weight: 700;
}
.service-areas-more {
  background: transparent;
  border-style: dashed;
  color: var(--muted);
  font-weight: 500;
}
.office-areas { margin-top: 8px; font-size: 14px; color: rgba(255,255,255,.88); }
.offices .office-areas { color: var(--muted); }
.foot-areas {
  padding: 20px 0 0;
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 28px;
  text-align: center;
}
.foot-areas-label {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,.72);
}
.foot-areas-text {
  margin: 0;
  font-size: 14px;
  color: rgba(255,255,255,.9);
}
.office {
  padding: 24px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
}
.office h3 { margin: 0 0 12px; color: var(--teal); }

.gmap {
  position: relative;
  width: 100%;
  margin-top: 20px;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #d8ece9;
}
.gmap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.access-map { max-width: 720px; margin: 24px auto 0; }
.article .gmap { margin: 1.5em 0; }

.foot-map {
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.foot-map-title {
  margin: 0 0 8px;
  color: #fff;
  font-size: 16px;
  letter-spacing: 0.08em;
}
.foot-map-address {
  margin: 0 0 16px;
  color: rgba(255,255,255,.88);
  font-size: 14px;
}
.foot-map .gmap { max-width: 720px; margin: 0 auto; }

.sub-map {
  margin: 0;
  padding: 40px 0 0;
  background: #fff;
  border-top: 1px solid var(--line);
}
.sub-map-head {
  margin-bottom: 20px;
  text-align: center;
}
.sub-map-title {
  margin: 0 0 8px;
  color: var(--ink-deep);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
}
.sub-map-address {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.sub-map-address a {
  color: var(--ink-deep);
  font-weight: 700;
  text-decoration: none;
}
.sub-map-address a:hover { color: var(--teal); }
.sub-map-embed {
  width: 100%;
  max-height: 300px;
  overflow: hidden;
  background: #d8ece9;
}
.sub-map-embed iframe {
  display: block;
  width: 100%;
  height: 300px;
  max-height: 300px;
  border: 0;
}

.note { color: var(--muted); font-size: 13px; }

/* Footer */
.site-footer { background: var(--teal-deep); color: #d5e9e6; padding: 56px 0 28px; font-size: 14px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.foot-col h3 {
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.2);
  color: #fff;
  font-size: 15px;
  font-family: "Noto Sans JP", sans-serif;
}
.foot-col ul { margin: 0; padding: 0; list-style: none; }
.foot-col li { margin: 8px 0; }
.foot-brand-block {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.15);
}
.foot-brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  text-decoration: none;
}
.foot-brand:hover { text-decoration: none; }
.foot-brand img {
  height: 44px;
  width: auto;
  max-width: 300px;
  background: #fff;
  padding: 10px 14px;
  border-radius: 8px;
}
.foot-tagline {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.foot-bottom {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  padding-top: 16px;
}
.copy { margin: 0; color: #8fb0ad; font-size: 13px; }

/* Subpages */
.page-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 40px 0 40px;
  min-height: 200px;
  display: flex;
  align-items: center;
  background: var(--teal-deep);
}
.page-hero-bg,
.page-hero-shade {
  position: absolute;
  inset: 0;
}
.page-hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.9) saturate(1.02);
  transform: scale(1.01);
}
.page-hero--portrait .page-hero-bg {
  object-position: center 20%;
  filter: brightness(0.88) saturate(1);
}
.page-hero-shade {
  background:
    linear-gradient(180deg, rgba(20, 56, 54, 0.1) 0%, rgba(20, 56, 54, 0.42) 55%, rgba(20, 56, 54, 0.68) 100%),
    linear-gradient(90deg, rgba(20, 56, 54, 0.58) 0%, rgba(20, 56, 54, 0.22) 48%, transparent 100%);
}
.page-hero-inner {
  position: relative;
  z-index: 1;
}
.page-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.35;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45), 0 1px 4px rgba(0, 0, 0, 0.35);
}
.crumbs {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0 0 10px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 13px;
  backdrop-filter: blur(4px);
}
.crumbs a { color: #d5f0ec; text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs span { color: #fff; font-weight: 500; }

.sub-content { padding: 40px 0 72px; }
.sub-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 28px;
  align-items: start;
}
.article-shell {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(28px, 4vw, 52px);
  box-shadow: 0 10px 36px rgba(20, 56, 54, 0.06);
}
.article { max-width: none; }
.article > :first-child { margin-top: 0; }
.article h2 {
  clear: both;
  font-size: clamp(22px, 3vw, 28px);
  margin: 2.4em 0 1em;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--line);
  color: var(--ink-deep);
}
.article h2:first-child { margin-top: 0; }
.article h3 {
  clear: both;
  margin: 1.8em 0 0.75em;
  padding-left: 14px;
  border-left: 4px solid var(--teal);
  color: var(--ink-deep);
  font-size: clamp(18px, 2.5vw, 22px);
}
.article h4 {
  clear: both;
  margin: 1.5em 0 0.5em;
  color: var(--teal-deep);
  font-size: 17px;
  font-weight: 700;
}
.article h5 {
  clear: both;
  display: inline-block;
  margin: 1.25em 0 0.6em;
  padding: 5px 12px;
  border-radius: 6px;
  background: var(--mist);
  color: var(--teal-deep);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.article p, .article li, .article dd, .article dt {
  font-size: 16px;
  line-height: 1.9;
  line-break: auto;
  word-break: normal;
  overflow-wrap: break-word;
  text-wrap: pretty;
  color: #2a4543;
}
.article p { margin: 0 0 1.15em; }
.article p:last-child { margin-bottom: 0; }
.article strong { color: var(--ink-deep); font-weight: 700; }
.article a { color: var(--teal); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }
.article a:hover { color: var(--ink-deep); }
.article a[href^="mailto:"], .article a[href^="tel:"] {
  line-break: auto;
  word-break: keep-all;
}
.article .contact-intro {
  max-width: 40em;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.article .form_btn_block {
  width: 100%;
  margin: 28px 0 8px;
  text-align: center;
}
.article .form_btn_block p {
  margin: 0;
  text-align: center;
}
.article .form_btn_block input[type="submit"] {
  display: inline-block;
  min-width: 200px;
}
.article img {
  border-radius: 12px;
  height: auto;
  box-shadow: 0 6px 20px rgba(20, 56, 54, 0.1);
}
.article p:has(> img) { overflow: hidden; }
.article p > img,
.article img.alignleft {
  float: right;
  margin: 0.2em 0 1.2em 1.5em;
  max-width: min(42%, 300px);
}
.article img.alignright {
  float: right;
  margin: 0.2em 0 1.2em 1.5em;
  max-width: min(42%, 300px);
}
.article img.aligncenter {
  float: none;
  display: block;
  margin: 0 auto 1.5em;
  max-width: 100%;
}
.article ul, .article ol {
  margin: 0 0 1.25em;
  padding: 0;
  list-style: none;
}
.article ul li, .article ol li {
  position: relative;
  margin: 0 0 0.65em;
  padding-left: 1.35em;
}
.article ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
}
.article ol { counter-reset: article-ol; }
.article ol li { counter-increment: article-ol; padding-left: 1.8em; }
.article ol li::before {
  content: counter(article-ol) ".";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--teal);
  font-weight: 700;
  font-size: 15px;
}
.article table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25em 0 1.5em;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  font-size: 15px;
  box-shadow: 0 2px 10px rgba(20, 56, 54, 0.04);
}
.article th, .article td {
  border-bottom: 1px solid var(--line);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  line-height: 1.6;
}
.article tr:last-child th,
.article tr:last-child td { border-bottom: 0; }
.article th {
  background: var(--teal-deep);
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}
.article tr:nth-child(even) td { background: #f8fcfb; }
.article .form_layout { display: grid; grid-template-columns: 180px 1fr; gap: 8px 16px; align-items: center; margin: 0 0 18px; }
.article input[type="text"], .article input[type="email"], .article input[type="tel"], .article textarea {
  width: 100%; max-width: 560px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font: inherit;
}
.article input[type="submit"] {
  min-height: 48px; padding: 0 28px; border: 0; border-radius: 999px; background: var(--teal); color: #fff; font: inherit; font-weight: 700; cursor: pointer;
}
.article .faq { margin: 1.5em 0 2em; }
.article .faq-item {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8fcfb;
}
.article .faq-q { margin-bottom: 10px; font-size: 16px; }
.article .faq-a { font-size: 15px; line-height: 1.8; }
.article .gmap {
  margin: 1em 0 1.5em;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.article .gmap iframe { display: block; width: 100%; }

.sub-cta {
  position: sticky;
  top: 92px;
}
.sub-cta-inner {
  padding: 24px 22px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fff 0%, var(--mist) 100%);
  box-shadow: 0 8px 24px rgba(20, 56, 54, 0.06);
}
.sub-cta-lead {
  margin: 0 0 8px;
  color: var(--ink-deep);
  font-family: "Noto Serif JP", serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
}
.sub-cta-text {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.sub-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sub-cta-actions .btn {
  width: 100%;
  min-height: 46px;
  font-size: 14px;
}
.sub-cta-actions .btn-white {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-deep);
  text-decoration: none;
}
.sub-cta-tel {
  display: block;
  padding-top: 6px;
  color: var(--ink-deep);
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}
.sub-cta-tel:hover { color: var(--teal); }

@media (max-width: 900px) {
  .hero h1 br, .section-head h2 br { display: inline; }
  .brand { gap: 2px; }
  .brand-logo { height: 36px; max-width: min(200px, 42vw); }
  .brand-tagline { font-size: 10px; letter-spacing: 0.03em; line-height: 1.3; }
  .sub-layout { grid-template-columns: 1fr; gap: 24px; }
  .sub-cta { position: static; }
  .sub-cta-inner { padding: 22px 20px; }
  .menu-btn { display: block; }
  .gnav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 24px 24px;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }
  .gnav.open { display: flex; }
  .gnav .tel-link,
  .gnav .btn {
    width: 100%;
    justify-content: center;
  }
  .gnav .tel-link {
    min-height: 52px;
    padding: 10px 20px;
  }
  .gnav .tel-link-body { align-items: center; }
  .gnav .tel-link-body strong { font-size: 18px; }
  .hero { min-height: 0; }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .trust-ring { max-width: 140px; }
  .problem-list, .points, .cases, .topic-grid, .flow, .offices, .foot-grid, .column-grid, .consult-grid, .diff-grid {
    grid-template-columns: 1fr;
  }
  .problem-list > *, .points > *, .cases > *, .topic-grid > *, .flow > *, .offices > *, .foot-grid > *, .column-grid > *, .consult-grid > *, .diff-grid > * {
    min-width: 0;
  }
  .topic-grid { grid-template-columns: 1fr 1fr; }
  .timeline-line { display: none; }
  .timeline { grid-template-columns: 1fr 1fr; gap: 20px; }
  .timeline .step.is-consult::before { position: static; transform: none; display: inline-block; margin-bottom: 8px; white-space: normal; }
  .timeline .step.is-consult::after { display: none; }
  .timeline-wrap { padding-top: 0; }
  .lawyer-card { grid-template-columns: 1fr; max-width: none; }
  .news-list a { grid-template-columns: 1fr; gap: 6px; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 700px) {
  a[href^="mailto:"], a[href^="tel:"] {
    word-break: normal;
    overflow-wrap: anywhere;
  }
  .article-shell { padding: 22px 18px; border-radius: 12px; }
  .article p > img,
  .article img.alignleft,
  .article img.alignright {
    float: none;
    display: block;
    margin: 0 auto 1.25em;
    max-width: 100%;
  }
  .article table { display: block; overflow-x: auto; white-space: nowrap; }
  .article th { white-space: normal; }
  .article .form_layout { grid-template-columns: 1fr; }
  .article a[href^="mailto:"], .article a[href^="tel:"] {
    word-break: normal;
    overflow-wrap: anywhere;
  }
  .trust { grid-template-columns: 1fr 1fr; }
  .topic-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
}
