:root {
  --blue: #2a63a8;
  --blue-deep: #2f6db5;
  --ink: #2b3440;
  --muted: #55606d;
  --body: #3a4654;
  --line: #dbe3ec;
  --line-soft: #c3d5ea;
  --paper: #fbfaf7;
  --white: #ffffff;
  --pale: #eaf2fa;
  --footer: #e3edf8;
  --gold: #f6c766;
  --gold-rich: #c8a85e;
  --gold-deep: #a8873f;
  --gold-ink: #3a2a06;
  --max: 1120px;
  --side: 56px;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  line-break: strict;
  word-break: normal;
  overflow-wrap: break-word;
}
#office, #fee, #flow, #price, #nagare, #access, #areas {
  scroll-margin-top: 112px;
}
body {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.9;
  text-wrap: pretty;
}
p, li, td, th, .meta span, .access-table span, .facts strong, .areas p, .reason p, .step p {
  text-wrap: pretty;
}
h1, h2, h3, .sec-title, .quote {
  text-wrap: balance;
}
img { max-width: 100%; height: auto; }
a { color: var(--blue); }
a:hover { color: var(--blue); }
button, input, textarea, select { font-family: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

.util {
  min-height: 40px;
  padding: 8px var(--side);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  background: var(--blue-deep);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.04em;
}
.util span { min-width: 0; }
.header {
  min-height: 88px;
  padding: 12px var(--side);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}
.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  text-decoration: none;
  color: var(--blue);
  flex-shrink: 0;
}
.brand-tagline {
  font-size: 10px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.04em;
  line-height: 1.35;
  white-space: nowrap;
}
.brand img { width: auto; height: 46px; max-width: min(240px, 42vw); object-fit: contain; object-position: left center; }
.brand-name {
  font-family: "Shippori Mincho B1", serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.08em;
  line-height: 1.25;
  display: block;
}
.brand-sub { font-size: 12px; color: var(--muted); letter-spacing: 0.24em; }
.brand-office { display: block; margin-top: 2px; white-space: nowrap; }
.gnav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  font-weight: 500;
}
.gnav a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding: 6px 0;
  white-space: nowrap;
}
.gnav a:hover, .gnav a[aria-current="page"] { border-bottom-color: var(--blue); color: var(--blue); }
.head-actions { display: flex; align-items: center; gap: 16px; }
.tel {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--blue);
  line-height: 1.25;
}
.tel strong {
  font-family: "Shippori Mincho B1", serif;
  font-size: 22px;
  letter-spacing: 0.04em;
  font-weight: 700;
}
.tel span { font-size: 11px; color: var(--muted); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 22px;
  border-radius: 8px;
  background: var(--blue-deep);
  color: #fff !important;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-decoration: none;
  border: 1px solid var(--blue-deep);
}
.btn:hover { filter: brightness(1.08); }
.btn-line {
  background: #fff;
  color: var(--blue) !important;
  border-color: var(--blue-deep);
}
.menu-btn {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}
.menu-btn span, .menu-btn span:before, .menu-btn span:after {
  display: block; width: 18px; height: 2px; background: var(--blue); position: relative; margin: 0 auto;
}
.menu-btn span:before, .menu-btn span:after { content: ""; position: absolute; left: 0; }
.menu-btn span:before { top: -6px; }
.menu-btn span:after { top: 6px; }

.hero--visual {
  position: relative;
  min-height: clamp(520px, 72vh, 680px);
  overflow: hidden;
  color: var(--ink);
}
.hero-visual-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-visual-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 44% 48%;
  transform-origin: 66% 50%;
  display: block;
}
.hero-visual-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 12%;
  z-index: 1;
  pointer-events: none;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, transparent 100%);
}
.hero-visual-bg::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 8%;
  z-index: 1;
  pointer-events: none;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  -webkit-mask-image: linear-gradient(to left, #000 0%, transparent 100%);
  mask-image: linear-gradient(to left, #000 0%, transparent 100%);
}
.hero-visual-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.9) 32%, rgba(255, 255, 255, 0.28) 54%, rgba(255, 255, 255, 0.04) 72%, rgba(255, 255, 255, 0) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.32) 100%),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.35) 0%, transparent 14%),
    linear-gradient(to left, rgba(255, 255, 255, 0.28) 0%, transparent 9%);
}
.hero-visual-inner {
  position: relative;
  z-index: 1;
  min-height: inherit;
  max-width: calc(var(--max) + var(--side) * 2);
  margin: 0 auto;
  padding: 72px var(--side);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 780px;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--muted);
  font-weight: 500;
  margin: 0;
}
.hero-eyebrow-line {
  width: 42px;
  height: 2px;
  background: var(--gold-rich);
  flex-shrink: 0;
}
.eyebrow { font-size: 13px; letter-spacing: 0.28em; color: var(--blue); font-weight: 500; margin: 0; }
.hero h1, .sec-title, .page-hero h1 {
  font-family: "Shippori Mincho B1", serif;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.06em;
  margin: 0;
}
.hero h1 { font-size: clamp(30px, 3.8vw, 46px); line-height: 1.55; max-width: 20em; white-space: nowrap; }
.hero h1 em { font-style: normal; color: var(--gold-deep); }
.hero-lead { margin: 0; font-size: 16px; line-height: 2; color: #33414f; max-width: 520px; }
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: nowrap;
  align-items: stretch;
  width: 100%;
}
.hero-actions a.btn-hero-phone,
.hero-actions a.btn-hero-web {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 92px;
  padding: 14px 22px 14px 20px;
  border-radius: 12px;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease, background 0.2s ease;
}
.hero-actions a.btn-hero-phone::after,
.hero-actions a.btn-hero-web::after {
  content: "›";
  flex-shrink: 0;
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  padding-bottom: 3px;
  font-weight: 700;
}
.hero-actions a.btn-hero-phone:active,
.hero-actions a.btn-hero-web:active {
  transform: translateY(1px) scale(0.985);
  box-shadow: 0 3px 10px rgba(29, 78, 134, 0.18);
}
.hero-actions a.btn-hero-phone:focus-visible,
.hero-actions a.btn-hero-web:focus-visible {
  outline: 3px solid #1a5490;
  outline-offset: 3px;
}
.hero-actions a.btn-hero-phone {
  flex: 1.35 1 0;
  border: 2px solid #c8a85e;
  background: #fff;
  color: #1a5490;
  box-shadow: 0 10px 26px rgba(42, 99, 168, 0.14);
  max-width: 385px;
}
.hero-actions a.btn-hero-phone::after {
  background: #1a5490;
  color: #fff;
}
.hero-actions a.btn-hero-phone:hover,
.hero-actions a.btn-hero-phone:focus-visible {
  background: #fffdf8;
  color: #1a5490;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(42, 99, 168, 0.2);
}
.btn-hero-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.btn-hero-label {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: #1a5490;
  font-weight: 700;
}
.hero-actions a.btn-hero-phone strong {
  font-family: "Shippori Mincho B1", serif;
  font-size: clamp(26px, 2.6vw, 31px);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: #1a5490;
  white-space: nowrap;
}
.btn-hero-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
}
.btn-hero-icon svg { width: 26px; height: 26px; }
.btn-hero-icon--phone {
  background: transparent;
  padding: 0;
}
.btn-hero-icon--phone img {
  display: block;
  width: 52px;
  height: 52px;
  border-radius: 50%;
}
.btn-hero-icon--web {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}
.hero-actions a.btn-hero-web {
  border: 2px solid #8f6f2e;
  background: linear-gradient(180deg, #c9a55a 0%, #a8873f 60%, #937434 100%);
  color: #fff;
  box-shadow: 0 12px 26px rgba(143, 111, 46, 0.34);
  max-width: 350px;
}
.hero-actions a.btn-hero-web::after {
  background: rgba(255, 255, 255, 0.95);
  color: #8f6f2e;
}
.hero-actions a.btn-hero-web:hover,
.hero-actions a.btn-hero-web:focus-visible {
  color: #fff;
  text-decoration: none;
  filter: brightness(1.05);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(143, 111, 46, 0.4);
}
.btn-hero-web-text {
  font-family: "Shippori Mincho B1", serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(60, 40, 8, 0.35);
}
.rule { width: 64px; height: 2px; background: var(--blue-deep); }
.portrait img, .map iframe {
  width: 100%; height: 100%; object-fit: cover; border-radius: 12px; display: block; min-height: 360px;
}
.map iframe { border: 0; min-height: 420px; }
.post_content .map { margin: 20px 0 28px; }
.post_content .map iframe { width: 100%; min-height: 360px; border-radius: 12px; }

.section { padding: 88px var(--side); }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 32px;
  padding-bottom: 20px; border-bottom: 2px solid var(--blue); margin-bottom: 28px;
}
.sec-kicker { font-size: 12px; letter-spacing: 0.28em; color: var(--blue); font-weight: 700; margin: 0 0 6px; }
.sec-title { font-size: clamp(28px, 3.2vw, 36px); line-height: 1.5; max-width: 16em; }
.section-head p { margin: 0; max-width: 420px; color: var(--muted); font-size: 15px; }
.section-links { display: flex; gap: 16px; flex-wrap: wrap; }
.section-links a { color: var(--blue); font-weight: 700; text-decoration: none; }
.section-links a:hover { text-decoration: underline; }
.archive-back { margin: 12px 0 0; }
.archive-tools { display: grid; gap: 16px; margin-bottom: 8px; }
.archive-search { display: grid; gap: 6px; font-size: 13px; font-weight: 700; color: var(--blue); max-width: 420px; }
.archive-search input {
  height: 48px; border: 1px solid var(--line); border-radius: 8px; padding: 0 14px;
  font-size: 16px; font-weight: 400; color: var(--ink); background: #fff;
}
.archive-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.archive-filters button, .archive-filters a {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  border-radius: 999px; padding: 6px 14px; font-size: 14px; text-decoration: none; cursor: pointer;
}
.archive-filters button.is-on, .archive-filters a[aria-current="page"] {
  background: var(--blue); border-color: var(--blue); color: #fff;
}
.archive-filters span { font-size: 12px; opacity: 0.8; }
.archive-count { margin: 0; color: var(--muted); font-size: 14px; }
.archive-list { list-style: none; margin: 0; padding: 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.archive-item {
  display: grid; grid-template-columns: 112px 108px minmax(0, 1fr); gap: 12px 16px; align-items: baseline;
  padding: 16px 20px; border-bottom: 1px solid var(--line);
}
.archive-item:last-child { border-bottom: 0; }
.archive-item[hidden] { display: none; }
.archive-item time { color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.archive-cat { font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.archive-title { color: var(--ink); text-decoration: none; line-height: 1.7; }
.archive-item:hover .archive-title { color: var(--blue); }

.areas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.areas a {
  display: flex; flex-direction: column; gap: 8px;
  min-height: 180px; padding: 28px;
  background: #fff; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  text-decoration: none; color: var(--ink);
}
.areas a:hover { background: #eef3f9; }
.areas .no { font-family: "Shippori Mincho B1", serif; color: var(--blue); letter-spacing: 0.1em; }
.area-top { display: flex; justify-content: space-between; align-items: center; }
.badge { font-size: 12px; font-weight: 700; background: var(--gold); color: var(--gold-ink); padding: 0 10px; border-radius: 999px; }
.areas h3 { margin: 0; font-family: "Shippori Mincho B1", serif; font-size: 22px; color: var(--blue); font-weight: 700; }
.areas p { margin: 0; font-size: 14px; line-height: 1.85; color: var(--muted); }

.split { display: grid; grid-template-columns: 0.9fr 1.4fr; gap: 72px; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.reason { display: grid; grid-template-columns: 72px 1fr; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.reason-list { border-top: 2px solid var(--blue); }
.reason .num, .step .num { font-family: "Shippori Mincho B1", serif; font-size: 32px; color: var(--blue); line-height: 1.2; }
.reason h3, .step h3 { margin: 0; font-family: "Shippori Mincho B1", serif; font-size: 22px; color: var(--blue); font-weight: 700; }
.reason p, .step p { margin: 8px 0 0; font-size: 15px; line-height: 2; color: var(--body); }

.lawyer { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: center; }
.portrait img { min-height: 420px; object-fit: cover; object-position: center top; background: #d3e2f2; }
.lawyer h2 { font-family: "Shippori Mincho B1", serif; font-size: 40px; letter-spacing: 0.12em; color: var(--blue); margin: 0; }
.name-row { display: flex; align-items: baseline; gap: 16px; padding-bottom: 16px; border-bottom: 2px solid var(--blue); }
.quote { font-family: "Shippori Mincho B1", serif; font-size: 24px; line-height: 1.8; color: var(--blue); margin: 0; }
.meta { display: grid; grid-template-columns: 96px minmax(0, 1fr); font-size: 14px; border-top: 1px solid var(--line); }
.meta span { padding: 12px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.meta span:nth-child(odd) { font-weight: 700; color: var(--blue); }
.lawyers { margin: 8px 0 0; color: var(--body); font-size: 14px; }

.flow { background: var(--pale); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.step { padding-top: 20px; border-top: 1px solid #9dbde0; }

.fee-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 72px; align-items: start; }
.fee-list { background: #fff; border-top: 2px solid var(--blue); }
.fee-row { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 26px 28px; border-bottom: 1px solid var(--line); }
.fee-row > div:first-child { min-width: 0; flex: 1; }
.fee-row strong { font-family: "Shippori Mincho B1", serif; font-size: 20px; color: var(--blue); display: block; }
.fee-row em { font-style: normal; font-size: 13px; color: var(--muted); }
.price { font-family: "Shippori Mincho B1", serif; font-size: 32px; color: var(--blue); font-weight: 700; white-space: nowrap; }
.price small { font-size: 14px; color: var(--muted); font-family: "Noto Sans JP", sans-serif; font-weight: 400; }

.news a.news-item {
  display: grid; grid-template-columns: 130px 88px minmax(0, 1fr); gap: 20px; align-items: center;
  padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink);
}
.news a.news-item span:last-child { min-width: 0; }
.news a.news-item:hover span:last-child { color: var(--blue); }
.news time { color: var(--muted); font-size: 14px; }
.tag { font-size: 12px; color: var(--blue); border: 1px solid var(--blue); border-radius: 8px; padding: 2px 10px; text-align: center; }

.access { background: #fff; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.access-table { display: grid; grid-template-columns: 104px minmax(0, 1fr); font-size: 15px; border-top: 2px solid var(--blue); }
.access-table span { padding: 14px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.access-table span:nth-child(odd) { font-weight: 700; color: var(--blue); }

.cta {
  padding: 56px var(--side) 64px;
  background: var(--paper);
  border-top: 1px solid var(--line);
}
a.cta-image-link {
  display: block;
  max-width: 1024px;
  margin: 0 auto;
  border-radius: 14px;
  overflow: hidden;
  line-height: 0;
  box-shadow: 0 18px 48px rgba(29, 78, 134, 0.14);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
a.cta-image-link:hover,
a.cta-image-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 22px 54px rgba(29, 78, 134, 0.2);
}
a.cta-image-link:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
a.cta-image-link img { display: block; width: 100%; height: auto; }

.footer { background: var(--footer); color: var(--body); padding: 64px var(--side) 28px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1.2fr 0.8fr; gap: 48px; }
.footer-about p { margin: 16px 0 0; line-height: 1.9; }
.footer a.footer-phone-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  width: 100%;
  max-width: 330px;
  min-height: 76px;
  padding: 14px 18px;
  border-radius: 12px;
  border: 2px solid #1d4e86;
  background: #faf6ee;
  color: #1d4e86;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(29, 78, 134, 0.14);
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.footer a.footer-phone-btn:hover,
.footer a.footer-phone-btn:focus-visible {
  background: #fff;
  color: #1d4e86;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(29, 78, 134, 0.2);
}
.footer a.footer-phone-btn .footer-phone-btn-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: transparent;
  padding: 0;
}
.footer a.footer-phone-btn .footer-phone-btn-icon img {
  display: block;
  width: 44px;
  height: 44px;
  border-radius: 50%;
}
.footer a.footer-phone-btn .footer-phone-btn-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.footer a.footer-phone-btn .footer-phone-btn-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: var(--muted);
}
.footer a.footer-phone-btn strong {
  font-family: "Shippori Mincho B1", serif;
  font-size: clamp(24px, 2.6vw, 30px);
  letter-spacing: 0.04em;
  font-weight: 700;
  line-height: 1.1;
  color: #1a5490;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--blue);
}
.footer-brand img {
  width: auto;
  height: 46px;
  max-width: min(240px, 42vw);
  object-fit: contain;
  object-position: left center;
}
.footer-map { margin-top: 16px; }
.footer-map iframe {
  width: 100%;
  min-height: 220px;
  border: 0;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(43, 52, 64, 0.08);
}
.footer h2 { margin: 0; font-family: "Shippori Mincho B1", serif; color: var(--blue); font-size: 22px; letter-spacing: 0.08em; }
.footer h3 { margin: 0 0 8px; font-family: "Shippori Mincho B1", serif; color: var(--blue); font-size: 16px; letter-spacing: 0.12em; }
.footer a { color: var(--body); text-decoration: none; }
.footer a:hover { color: var(--blue); text-decoration: underline; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.footer-links a, .footer-menu a { display: block; padding: 8px 0; border-bottom: 1px solid var(--line-soft); }
.footer-sites {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
}
.footer-sites-label {
  margin: 0 0 14px;
  font-family: "Shippori Mincho B1", serif;
  font-size: 14px;
  letter-spacing: 0.18em;
  color: var(--blue);
}
.footer-sites ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer .footer-sites a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 72px;
  padding: 14px 18px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #c5d4e8;
  color: #1d4e86;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(29, 78, 134, 0.06);
  transition: border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.footer .footer-sites a:hover,
.footer .footer-sites a:focus-visible {
  color: #1d4e86;
  text-decoration: none;
  border-color: var(--gold-rich);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(29, 78, 134, 0.12);
}
.footer .footer-sites a span {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--gold-deep);
  font-weight: 700;
}
.footer .footer-sites a strong {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #1d4e86;
}
.footer .footer-sites a strong::after {
  content: " ↗";
  font-size: 13px;
  font-weight: 500;
}
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line-soft); font-size: 12px; }
.footer-bottom div { display: flex; gap: 22px; }

.page-hero {
  position: relative;
  padding: 72px var(--side) 44px;
  margin-bottom: 4px;
  background: var(--pale) center/cover no-repeat;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(251, 250, 247, 0.94) 0%,
    rgba(251, 250, 247, 0.78) 42%,
    rgba(234, 242, 250, 0.45) 100%
  );
  pointer-events: none;
}
.page-hero::after {
  content: "";
  position: absolute;
  left: var(--side);
  bottom: 28px;
  width: 64px;
  height: 2px;
  background: var(--blue-deep);
  z-index: 1;
}
.page-hero > * { position: relative; z-index: 1; }
.page-hero--page {
  background-image: image-set(
    url("/assets/img/page-hero-page.webp") type("image/webp"),
    url("/assets/img/page-hero-page.jpg") type("image/jpeg")
  );
}
.page-hero--archive {
  background-image: image-set(
    url("/assets/img/page-hero-archive.webp") type("image/webp"),
    url("/assets/img/page-hero-archive.jpg") type("image/jpeg")
  );
}
.page-hero--news {
  background-image: image-set(
    url("/assets/img/page-hero-news.webp") type("image/webp"),
    url("/assets/img/page-hero-news.jpg") type("image/jpeg")
  );
}
.page-hero--category {
  background-image: image-set(
    url("/assets/img/page-hero-category.webp") type("image/webp"),
    url("/assets/img/page-hero-category.jpg") type("image/jpeg")
  );
}
.page-hero h1 { font-size: 36px; margin: 8px 0 0; max-width: 16em; }
.page-hero p { margin: 10px 0 0; color: var(--muted); max-width: 42em; }
.page-hero .archive-back { margin: 12px 0 0; }
.page-body { padding: 12px var(--side) 72px; max-width: calc(var(--max) + var(--side) * 2); }
.post_content, .archive-body { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 40px 48px; }
.archive-body:has(.p-postList) {
  padding: 0;
  background: transparent;
  border: 0;
}
.p-postList {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.p-postList__item { margin: 0; min-width: 0; }
.p-postList__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.p-postList__link:hover {
  border-color: var(--blue);
  box-shadow: 0 8px 24px rgba(42, 99, 168, 0.12);
}
.p-postList__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--pale);
}
.c-postThumb__figure { margin: 0; height: 100%; }
.c-postThumb__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.c-postThumb__cat {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.p-postList__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 20px 22px;
  flex: 1;
}
.p-postList__title {
  margin: 0;
  font-family: "Shippori Mincho B1", serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--blue);
  font-weight: 700;
}
.p-postList__link:hover .p-postList__title { color: var(--blue-deep); }
.p-postList__excerpt {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.p-postList__meta { margin-top: auto; }
.p-postList__times time {
  font-size: 13px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.post_content h2, .post_content h3 {
  font-family: "Shippori Mincho B1", serif; color: var(--blue); font-weight: 700; letter-spacing: 0.04em; line-height: 1.5;
}
.post_content h2 { font-size: 28px; margin: 1.6em 0 0.6em; padding-bottom: 8px; border-bottom: 2px solid var(--blue); }
.post_content h3 { font-size: 22px; margin: 1.4em 0 0.4em; }
.post_content p, .post_content li { font-size: 16px; line-height: 2; color: var(--body); text-wrap: pretty; }
.post_content th, .post_content td { word-break: normal; overflow-wrap: anywhere; }
.post_content img { border-radius: 8px; margin: 12px 0; }
.post_content table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: 15px; }
.post_content th, .post_content td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; vertical-align: top; }
.post_content th { background: var(--pale); color: var(--blue); }
.post_content a { text-underline-offset: 3px; }
.wpcf7-form, form { display: grid; gap: 14px; }
.wpcf7-form input[type="text"], .wpcf7-form input[type="email"], .wpcf7-form input[type="tel"], .wpcf7-form textarea,
form input[type="text"], form input[type="email"], form input[type="tel"], form textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; font-size: 16px; background: #fff;
}
.wpcf7-form input[type="submit"], form input[type="submit"] {
  height: 52px; border: 0; border-radius: 8px; background: var(--blue-deep); color: #fff; font-weight: 700; letter-spacing: 0.08em; cursor: pointer; padding: 0 28px;
}
.contact-phone-notice {
  margin: 0 0 24px;
  padding: 20px 24px;
  border: 2px solid var(--blue);
  border-radius: 12px;
  background: var(--pale);
}
.contact-phone-lead { margin: 0 0 12px; font-size: 18px; color: var(--blue); line-height: 1.7; }
.contact-phone-number { margin: 0 0 12px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; }
.contact-phone-number a {
  font-family: "Shippori Mincho B1", serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
  letter-spacing: 0.04em;
}
.contact-phone-number span { font-size: 14px; color: var(--muted); }
.contact-phone-note { margin: 0; font-size: 15px; color: var(--body); line-height: 1.9; }

.mobile-phone-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  display: none;
  align-items: center;
  gap: 10px;
  padding: 12px 12px calc(12px + env(safe-area-inset-bottom, 0px));
  background: rgba(250, 246, 238, 0.98);
  border-top: 2px solid #1d4e86;
  box-shadow: 0 -10px 28px rgba(29, 78, 134, 0.2);
  transform: translateY(110%);
  transition: transform 0.35s ease;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.mobile-phone-bar.is-visible {
  transform: translateY(0);
}
.mobile-phone-bar__link {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 68px;
  padding: 10px 16px;
  border-radius: 12px;
  border: 2px solid #c8a85e;
  background: #fff;
  color: #1a5490;
  text-decoration: none;
  box-shadow: 0 7px 18px rgba(42, 99, 168, 0.16);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.mobile-phone-bar__link:hover,
.mobile-phone-bar__link:focus-visible {
  color: #1a5490;
  text-decoration: none;
  background: #fffdf8;
}
.mobile-phone-bar__link:active {
  transform: translateY(1px) scale(0.99);
  box-shadow: 0 3px 10px rgba(42, 99, 168, 0.14);
}
.mobile-phone-bar__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-phone-bar__icon img {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 50%;
}
.mobile-phone-bar__copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.mobile-phone-bar__label {
  font-size: 12px;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--muted);
}
.mobile-phone-bar__copy strong {
  font-family: "Shippori Mincho B1", serif;
  font-size: clamp(22px, 6vw, 26px);
  letter-spacing: 0.04em;
  font-weight: 700;
  line-height: 1.1;
  color: #1a5490;
  white-space: nowrap;
}
.mobile-phone-bar__close {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(29, 78, 134, 0.08);
  color: #1a5490;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  padding: 0 0 2px;
}
.mobile-phone-bar__close:hover,
.mobile-phone-bar__close:focus-visible {
  background: rgba(29, 78, 134, 0.14);
  outline: 2px solid #1a5490;
  outline-offset: 2px;
}

@media (min-width: 769px) {
  .hero-actions {
    flex-direction: row;
    flex-wrap: nowrap;
  }
  .hero-actions a.btn-hero-phone,
  .hero-actions a.btn-hero-web {
    width: auto;
    min-height: 92px;
  }
}

@media (max-width: 768px) {
  .mobile-phone-bar {
    display: flex;
  }
  body.has-mobile-phone-bar {
    padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  }
  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }
  .hero-actions a.btn-hero-phone,
  .hero-actions a.btn-hero-web {
    flex: none;
    width: 100%;
    max-width: none;
    min-height: 88px;
  }
}

@media (max-width: 1200px) and (min-width: 769px) {
  .p-postList { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1080px) {
  :root { --side: 24px; }
  .gnav { display: none; }
  .header.is-open .gnav {
    display: flex; flex-direction: column; align-items: flex-start;
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px 24px 20px; gap: 4px;
  }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .split, .lawyer, .fee-grid, .access, .steps, .areas, .footer-grid { grid-template-columns: 1fr; }
  .hero--visual { min-height: auto; }
  .hero-visual-inner { padding-top: 36px; padding-bottom: 24px; }
  .hero-visual-overlay {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.82) 55%, rgba(255, 255, 255, 0.72) 100%);
  }
  .cta { padding: 28px 16px 32px; }
  .util, .footer-bottom, .news a.news-item, .fee-row { flex-direction: column; align-items: flex-start; }
  .news a.news-item, .archive-item { display: flex; flex-direction: column; align-items: flex-start; }
  .footer a.footer-phone-btn { max-width: none; }
  .footer-sites ul { grid-template-columns: 1fr; }
  .post_content, .archive-body { padding: 24px 18px; }
  .archive-body:has(.p-postList) { padding: 0; }
  .p-postList { grid-template-columns: 1fr; gap: 20px; }
  .p-postList__title { font-size: 17px; }
  .hero h1 { font-size: 34px; max-width: 14em; white-space: normal; }
  .hero-h1-break { display: none; }
  .head-actions .tel { display: none; }
  .brand-tagline { font-size: 9px; letter-spacing: 0.02em; }
}
