:root {
  --blue: #2a63a8;
  --blue-deep: #2a63a8;
  --navy: #16386a;
  --ink: #2b3440;
  --muted: #55606d;
  --body: #3a4654;
  --line: #dbe3ec;
  --line-soft: #c3d5ea;
  --paper: #fbfaf7;
  --white: #ffffff;
  --pale: #eef5fa;
  --sea-pale: #eef5fa;
  --footer: #e8eef8;
  --accent: #d96d32;
  --accent-cta: #c45a28;
  --gold: #d96d32;
  --gold-rich: #d96d32;
  --gold-deep: #c45a28;
  --gold-ink: #ffffff;
  --max: 1120px;
  --side: 56px;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  line-break: strict;
  word-break: normal;
  overflow-wrap: break-word;
  overflow-x: clip;
}
#office, #fee, #flow, #price, #nagare, #access, #areas,
#overview, #greeting, #consult, #price-detail {
  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: 34px;
  padding: 8px var(--side);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-deep);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.08em;
}
.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(--navy);
  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: #2a63a8;
  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(--navy); color: var(--navy); }
@media (min-width: 1081px) {
  .gnav-contact { display: none; }
}
.head-actions { display: flex; align-items: center; gap: 16px; }
.tel {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--navy);
  line-height: 1.25;
}
.tel strong {
  font-family: "Shippori Mincho B1", serif;
  font-size: 22px;
  letter-spacing: 0.04em;
  font-weight: 700;
  color: var(--navy);
}
.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: 6px;
  background: var(--blue);
  color: #fff !important;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-decoration: none;
  border: 1px solid var(--blue);
  box-shadow: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.btn:hover {
  filter: none;
  background: var(--navy);
  border-color: var(--navy);
}
.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(--blue);
  border-radius: 8px;
  background: var(--pale);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.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;
  transition: transform 0.2s ease, top 0.2s ease, background 0.2s ease;
}
.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; }
.header.is-open .menu-btn {
  background: var(--blue);
  border-color: var(--blue);
}
.header.is-open .menu-btn span { background: transparent; }
.header.is-open .menu-btn span:before,
.header.is-open .menu-btn span:after {
  top: 0;
  background: #fff;
}
.header.is-open .menu-btn span:before { transform: rotate(45deg); }
.header.is-open .menu-btn span:after { transform: rotate(-45deg); }

.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: 50% 40%;
  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(4px);
  backdrop-filter: blur(1px);
  -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(4px);
  backdrop-filter: blur(4px);
  -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.98) 0%, rgba(255, 255, 255, 0.92) 32%, rgba(255, 255, 255, 0.34) 54%, rgba(255, 255, 255, 0.08) 72%, rgba(255, 255, 255, 0) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.36) 100%);
}
.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(--accent);
  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(--accent); }
.hero-h1-break-mobile { display: none; }
.hero-lead { margin: 0; font-size: 16px; line-height: 2; color: var(--body); 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: 88px;
  padding: 14px 20px;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: background 0.2s ease, border-color 0.2s ease, color 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: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  padding-bottom: 2px;
  font-weight: 700;
}
.hero-actions a.btn-hero-phone:active,
.hero-actions a.btn-hero-web:active {
  transform: none;
  box-shadow: none;
}
.hero-actions a.btn-hero-phone:focus-visible,
.hero-actions a.btn-hero-web:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}
.hero-actions a.btn-hero-phone {
  flex: 1.35 1 0;
  border: 1px solid var(--blue);
  background: #fff;
  color: var(--body);
  max-width: 385px;
}
.hero-actions a.btn-hero-phone::after {
  background: var(--blue);
  color: #fff;
}
.hero-actions a.btn-hero-phone:hover,
.hero-actions a.btn-hero-phone:focus-visible {
  background: var(--pale);
  border-color: var(--navy);
  color: var(--body);
  text-decoration: none;
  transform: none;
  box-shadow: none;
}
.btn-hero-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.btn-hero-label {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--body);
  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: var(--blue);
  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.18);
  color: #fff;
}
.hero-actions a.btn-hero-web {
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  max-width: 350px;
}
.hero-actions a.btn-hero-web::after {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}
.hero-actions a.btn-hero-web:hover,
.hero-actions a.btn-hero-web:focus-visible {
  color: #fff;
  background: var(--accent-cta);
  border-color: var(--accent-cta);
  text-decoration: none;
  filter: none;
  transform: none;
  box-shadow: none;
}
.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: none;
}
.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); }

.archive-page-info {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 14px;
}
.archive-pagination,
.c-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 28px 0 0;
  padding: 0;
}
.archive-pagination a,
.archive-pagination span,
.c-pagination a,
.c-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.archive-pagination a:hover,
.c-pagination a:hover {
  background: var(--pale);
  border-color: var(--blue);
  color: var(--navy);
}
.archive-pagination__current,
.c-pagination .page-numbers.current {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.archive-pagination__prev,
.archive-pagination__next {
  padding: 0 16px;
}
.archive-pagination__dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.1em;
}

.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(--accent); color: #fff; 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); }

.policy-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  max-width: 360px;
  margin-top: 32px;
  padding: 18px 20px 18px 24px;
  border: 1.5px solid var(--blue);
  border-radius: 12px;
  background: #fff;
  color: var(--blue);
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(42, 99, 168, 0.1);
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.policy-link-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.policy-link-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--accent);
}
.policy-link-label {
  font-family: "Shippori Mincho B1", serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
}
.policy-link-arrow {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--pale);
  color: var(--blue);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.policy-link:hover,
.policy-link:focus-visible {
  background: var(--blue);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(42, 99, 168, 0.22);
}
.policy-link:hover .policy-link-kicker,
.policy-link:focus-visible .policy-link-kicker { color: #ffd9c4; }
.policy-link:hover .policy-link-arrow,
.policy-link:focus-visible .policy-link-arrow {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  transform: translateX(3px);
}
.policy-link:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.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); }
.access iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 320px;
  border: 0;
  border-radius: 12px;
}

.cta {
  padding: 56px var(--side) 64px;
  background: var(--paper);
  border-top: 1px solid var(--line);
}
a.cta-image-link {
  display: block;
  max-width: 760px;
  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: #1e2a44;
  padding: 80px var(--side) 72px;
  font-family: "Noto Sans JP", sans-serif;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
  gap: 64px;
  align-items: stretch;
}
.footer-about {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.footer-brand-block {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.footer-brand-label {
  font-family: "Shippori Mincho B1", serif;
  font-size: 14px;
  font-weight: 700;
  color: #1b2f6b;
  letter-spacing: 0.12em;
}
.footer-brand-name {
  font-family: "Shippori Mincho B1", serif;
  font-size: clamp(26px, 3vw, 32px);
  font-weight: 700;
  color: #1b2f6b;
  letter-spacing: 0.04em;
  line-height: 1.2;
}
.footer-office-badge {
  padding: 4px 14px;
  border: 1px solid #2f5aa8;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: #2f5aa8;
  letter-spacing: 0.1em;
}
.footer a.footer-phone-btn {
  display: flex;
  align-items: center;
  gap: 20px;
  align-self: flex-start;
  width: 100%;
  max-width: 420px;
  padding: 22px 28px;
  border-radius: 14px;
  border: 0;
  background: #1b2f6b;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(27, 47, 107, 0.22);
  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: #142457;
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(27, 47, 107, 0.28);
}
.footer a.footer-phone-btn .footer-phone-btn-label-mobile {
  display: none;
}
.footer a.footer-phone-btn .footer-phone-btn-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: #ffffff;
}
.footer a.footer-phone-btn .footer-phone-btn-icon svg {
  display: block;
  width: 36px;
  height: 36px;
}
.footer a.footer-phone-btn .footer-phone-btn-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.footer a.footer-phone-btn .footer-phone-btn-label {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #d6e2f7;
}
.footer a.footer-phone-btn strong {
  font-family: "Shippori Mincho B1", serif;
  font-size: clamp(30px, 3.2vw, 40px);
  letter-spacing: 0.04em;
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
}
.footer-info {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 520px;
  margin: 0;
}
.footer-info-row {
  display: flex;
  gap: 20px;
  padding: 14px 0;
  border-top: 1px solid #c5d1e8;
}
.footer-info-row--last {
  border-bottom: 1px solid #c5d1e8;
}
.footer-info-row dt {
  flex: 0 0 56px;
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #2f5aa8;
  letter-spacing: 0.1em;
  line-height: 1.8;
}
.footer-info-row dd {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: #1e2a44;
}
.footer-info-note {
  font-size: 14px;
  color: #44546f;
}
.footer-map-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 360px;
}
.footer-map {
  position: relative;
  flex: 1;
  min-height: 280px;
  border-radius: 16px;
  overflow: hidden;
  background: #eef1f5;
  border: 1px solid #d2dcee;
}
.footer-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: 0;
}
.footer-map-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 10px;
  border: 1px solid #2f5aa8;
  background: #ffffff;
  color: #1b2f6b;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease;
}
.footer-map-link:hover,
.footer-map-link:focus-visible {
  background: #f4f8ff;
  color: #1b2f6b;
  text-decoration: none;
}
.footer-map-external {
  flex-shrink: 0;
}
.footer-map-caption {
  display: none;
  margin: 0;
  padding: 10px 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.94);
  font-size: 14px;
  font-weight: 700;
  color: #1e2a44;
}
@media (min-width: 769px) {
  .footer-map-panel {
    gap: 0;
  }
  .footer-map-link {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    width: auto;
    justify-content: flex-start;
    box-shadow: 0 2px 8px rgba(30, 42, 68, 0.18);
  }
  .footer-map-caption {
    display: block;
    position: absolute;
    left: 16px;
    bottom: 16px;
    z-index: 2;
  }
}
.footer-nav-row {
  display: flex;
  flex-wrap: wrap;
  gap: 56px 64px;
  padding-top: 48px;
  border-top: 1px solid #c5d1e8;
}
.footer-areas {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 3 1 560px;
  min-width: 0;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 2 1 360px;
  min-width: 0;
}
.footer-section-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #2f5aa8;
  letter-spacing: 0.1em;
}
.footer-area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr));
  gap: 12px;
}
.footer-area-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 56px;
  padding: 0 18px;
  box-sizing: border-box;
  background: #ffffff;
  border: 1px solid #d2dcee;
  border-radius: 10px;
  color: #1e2a44;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: border-color 0.15s ease, box-shadow 0.2s ease, transform 0.15s ease;
}
.footer-area-link:hover,
.footer-area-link:focus-visible {
  border-color: #2f5aa8;
  box-shadow: 0 6px 18px rgba(47, 90, 168, 0.12);
  transform: translateY(-1px);
  color: #1e2a44;
  text-decoration: none;
}
.footer-chevron {
  flex-shrink: 0;
  color: #2f5aa8;
}
.footer-menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  column-gap: 40px;
  row-gap: 0;
}
.footer-menu-link {
  display: flex;
  align-items: center;
  min-height: 48px;
  border-bottom: 1px solid #c5d1e8;
  color: #1e2a44;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.15s ease;
}
.footer-menu-link:hover,
.footer-menu-link:focus-visible {
  color: #2f5aa8;
  text-decoration: none;
}
.footer-sites {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 48px;
  border-top: 1px solid #c5d1e8;
}
.footer-sites-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer .footer-site-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 28px;
  background: #ffffff;
  border: 1px solid #d2dcee;
  border-radius: 14px;
  color: #1e2a44;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(30, 42, 68, 0.06);
  transition: border-color 0.15s ease, box-shadow 0.2s ease, transform 0.15s ease;
}
.footer .footer-site-card:hover,
.footer .footer-site-card:focus-visible {
  border-color: #2f5aa8;
  box-shadow: 0 6px 18px rgba(47, 90, 168, 0.18);
  transform: translateY(-2px);
  text-decoration: none;
}
.footer-site-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.footer-site-label {
  font-size: 16px;
  font-weight: 700;
  color: #2f5aa8;
  letter-spacing: 0.06em;
}
.footer-site-domain {
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 700;
  color: #1b2f6b;
  letter-spacing: 0.01em;
  overflow-wrap: anywhere;
}
.footer-site-icon {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #e8eef8;
  color: #1b2f6b;
  transition: background 0.15s ease, color 0.15s ease;
}
.footer .footer-site-card:hover .footer-site-icon,
.footer .footer-site-card:focus-visible .footer-site-icon {
  background: #1b2f6b;
  color: #ffffff;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 0;
  padding-top: 18px;
  border-top: 1px solid #c5d1e8;
  font-size: 12px;
  color: #44546f;
}
.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.footer-bottom a {
  color: #44546f;
  text-decoration: none;
}
.footer-bottom a:hover,
.footer-bottom a:focus-visible {
  color: #2f5aa8;
  text-decoration: underline;
}

.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); }
.page-body--office {
  padding: 0 0 72px;
  max-width: none;
}
.office-page { color: var(--body); }
.office-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.office-localnav {
  background: var(--pale);
  border-bottom: 1px solid var(--line-soft);
  position: sticky;
  top: 88px;
  z-index: 10;
}
.office-localnav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 0 8px;
}
.office-localnav-link {
  padding: 16px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--blue);
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.office-localnav-link:hover,
.office-localnav-link:focus-visible {
  color: var(--navy);
  border-bottom-color: var(--navy);
}
.office-section {
  padding: 96px 0 80px;
}
.office-section--pale { background: var(--pale); }
.office-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 32px;
}
.office-kicker {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--blue);
  font-weight: 700;
}
.office-title {
  margin: 0;
  font-family: "Shippori Mincho B1", serif;
  font-weight: 700;
  font-size: clamp(28px, 3vw, 32px);
  line-height: 1.5;
  color: var(--navy);
  letter-spacing: 0.04em;
}
.office-subtitle {
  margin: 0 0 20px;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.06em;
}
.office-lead {
  margin: 0;
  font-family: "Shippori Mincho B1", serif;
  font-weight: 500;
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.9;
  color: #1a2330;
  text-wrap: pretty;
}
.office-text {
  margin: 0;
  font-size: 16px;
  line-height: 1.9;
  color: var(--body);
  text-wrap: pretty;
}
.office-text + .office-text,
.office-lead + .office-text { margin-top: 16px; }
.office-intro {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr));
  gap: 56px;
  align-items: center;
}
.office-intro-copy { display: flex; flex-direction: column; gap: 24px; }
.office-photo {
  margin: 0;
  min-height: 340px;
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  overflow: hidden;
  background: #dfeaf3;
}
.office-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}
.office-dl {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  overflow: hidden;
}
.office-dl-row {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line-soft);
}
.office-dl-row:last-child { border-bottom: none; }
.office-dl dt {
  flex: 0 0 200px;
  box-sizing: border-box;
  padding: 20px 24px;
  background: #e1ecf5;
  color: var(--navy);
  font-weight: 700;
  font-size: 15px;
}
.office-dl dd {
  flex: 1 1 320px;
  margin: 0;
  padding: 20px 24px;
  font-size: 16px;
  line-height: 1.8;
}
.office-tel {
  font-weight: 700;
  font-size: 20px;
  color: var(--navy);
  text-decoration: none;
}
.office-fax,
.office-note {
  color: #4a5565;
  margin-left: 16px;
}
.office-disclaimer {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}
.office-access {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr));
  gap: 48px;
  align-items: stretch;
}
.office-access-copy { display: flex; flex-direction: column; gap: 24px; }
.office-address {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  font-size: 17px;
  line-height: 1.8;
}
.office-address p { margin: 0; }
.office-pin {
  flex: 0 0 28px;
  margin-top: 4px;
  color: var(--navy);
}
.office-access-highlight {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  padding: 16px 20px;
  background: #e1ecf5;
  border-radius: 4px;
}
.office-map {
  min-height: 320px;
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  overflow: hidden;
  background: #dfeaf3;
}
.office-map iframe {
  display: block;
  width: 100%;
  min-height: 320px;
  border: 0;
}
.office-greeting {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.office-lawyer-card {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 56px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  padding: 40px;
}
.office-lawyer-photo {
  flex: 0 1 300px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.office-lawyer-photo img {
  aspect-ratio: 4 / 5;
  width: 100%;
  object-fit: cover;
  border: 1px solid var(--line-soft);
  border-radius: 4px;
}
.office-lawyer-name h3,
.office-lawyer-brief h3 {
  margin: 0;
  font-family: "Shippori Mincho B1", serif;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.06em;
  line-height: 1.5;
}
.office-lawyer-name h3 { font-size: 28px; }
.office-lawyer-brief h3 { font-size: 24px; }
.office-lawyer-role {
  margin: 0;
  font-size: 14px;
  color: #4a5565;
}
.office-lawyer-ruby {
  margin: 2px 0 0;
  font-size: 14px;
  color: #4a5565;
  letter-spacing: 0.1em;
}
.office-lawyer-detail {
  flex: 999 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.office-profile-block h4 {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--navy);
  letter-spacing: 0.1em;
}
.office-profile-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.office-profile-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 16px;
}
.office-profile-list li:last-child { border-bottom: none; }
.office-profile-list li.is-em { font-weight: 700; }
.office-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.office-tag {
  padding: 6px 14px;
  background: #e1ecf5;
  border-radius: 999px;
  font-size: 14px;
}
.office-lawyer-brief {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 20px;
  padding: 24px 40px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 4px;
}
.office-consult {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.office-consult-lead { max-width: 860px; }
.office-flow-wrap { display: flex; flex-direction: column; gap: 28px; }
.office-flow-grid {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 20px;
}
.office-flow-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border: 1px solid var(--line-soft);
  border-top: 4px solid var(--navy);
  border-radius: 4px;
  background: #fff;
}
.office-flow-no {
  font-family: "Shippori Mincho B1", serif;
  font-weight: 700;
  font-size: 28px;
  color: var(--navy);
  line-height: 1;
}
.office-flow-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}
.office-flow-text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}
.office-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr));
  gap: 32px;
}
.office-info-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 36px;
  background: var(--pale);
  border-radius: 4px;
}
.office-fee-main {
  margin: 0;
  font-size: 16px;
  color: var(--body);
}
.office-fee-main strong {
  font-size: 24px;
  color: var(--navy);
}
.office-btn-line {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 24px;
  border: 2px solid var(--navy);
  border-radius: 4px;
  color: var(--navy);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
}
.office-btn-line:hover,
.office-btn-line:focus-visible {
  background: var(--navy);
  color: #fff;
}
.office-fee { display: flex; flex-direction: column; gap: 24px; }
.office-fee-list {
  margin: 0;
  padding-left: 1.2em;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.office-fee-list li { font-size: 16px; line-height: 1.8; }
.office-fee-label {
  margin: 8px 0 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
}
.office-table-wrap { overflow-x: auto; }
.office-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  background: #fff;
}
.office-table th,
.office-table td {
  border: 1px solid var(--line-soft);
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
}
.office-table thead th {
  background: #e1ecf5;
  color: var(--navy);
  font-weight: 700;
}
.office-table--simple th {
  width: 160px;
  background: #e1ecf5;
  color: var(--navy);
}
.office-page [id] { scroll-margin-top: 148px; }
.office-subtitle--gap { margin-top: 36px; }
.office-stack { display: flex; flex-direction: column; gap: 40px; margin-top: 36px; }
.office-procedure { display: flex; flex-direction: column; gap: 16px; }
.office-checks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.office-checks li {
  position: relative;
  padding: 16px 18px 16px 42px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
}
.office-checks li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 24px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
}
.office-pair {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 16px;
}
.office-pair-card {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-top: 4px solid var(--navy);
  border-radius: 4px;
}
.office-pair-card h4 {
  margin: 0 0 12px;
  font-size: 15px;
  letter-spacing: 0.08em;
  color: var(--navy);
}
.office-pair-card ul {
  margin: 0;
  padding-left: 1.2em;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.office-pair-card li { font-size: 15px; line-height: 1.7; }
.office-pair-card--caution { border-top-color: var(--accent); background: #fbf6f2; }
.office-pair-card--caution h4 { color: var(--accent-cta); }
.office-info-card--wide { max-width: none; }
.office-mini { margin: 8px 0 0; }
.office-mini div {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 8px;
  padding: 8px 0;
  border-top: 1px solid var(--line-soft);
  font-size: 14px;
  line-height: 1.6;
}
.office-mini dt { color: var(--navy); font-weight: 700; }
.office-mini dd { margin: 0; }
.site-banner { padding: 8px 0 24px; }
.office-section--pale + .site-banner { padding-top: 64px; }
.site-banner-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 40px 44px 40px 48px;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.site-banner-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: var(--accent);
}
.site-banner-kicker {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: #c9d6e6;
}
.site-banner-title {
  margin: 0 0 12px;
  font-family: "Shippori Mincho B1", serif;
  font-weight: 700;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.45;
  letter-spacing: 0.04em;
  color: #fff;
}
.site-banner-text {
  margin: 0;
  max-width: 38em;
  font-size: 15px;
  line-height: 1.85;
  color: #e3eaf3;
}
.site-banner-domain {
  margin: 14px 0 0;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: #c9d6e6;
}
.site-banner-cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 4px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.06em;
}
.site-banner-link:hover .site-banner-cta,
.site-banner-link:focus-visible .site-banner-cta {
  background: var(--accent-cta);
}
.site-banner-link:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.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; max-width: 100%; height: auto; }
.post_content .p-articleThumb { margin: 0 0 28px; }
.post_content .p-articleThumb img { width: 100%; margin: 0; display: block; }
.post_content ul, .post_content ol { margin: 0.4em 0 1.2em; padding-left: 1.4em; }
.post_content li { margin: 0.25em 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; }

/* 記事本文共通（お知らせ・コラム） */
.post_content.article-rich, .post_content.article-debt {
  display: flex;
  flex-direction: column;
}
.post_content.article-rich { gap: 32px; }
.post_content.article-debt { gap: 56px; }
.post_content.article-rich > h2,
.post_content.article-rich > h2.wp-block-heading,
.post_content.article-rich > h3.wp-block-heading {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 0;
  border: 0;
  font-size: clamp(24px, 3.4vw, 32px);
  font-weight: 800;
  line-height: 1.5;
  scroll-margin-top: 112px;
}
.post_content.article-rich > h2::before,
.post_content.article-rich > h2.wp-block-heading::before,
.post_content.article-rich > h3.wp-block-heading::before {
  content: "";
  width: 48px;
  height: 3px;
  background: var(--blue);
  display: block;
}
.post_content.article-rich > h5 {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  border: 0;
  font-family: "Shippori Mincho B1", serif;
  font-size: clamp(20px, 2.8vw, 24px);
  font-weight: 800;
  line-height: 1.5;
  color: var(--blue);
  scroll-margin-top: 112px;
}
.post_content.article-rich > h5::before {
  content: "";
  width: 48px;
  height: 3px;
  background: var(--blue);
  display: block;
}
.post_content.article-rich > p,
.post_content.article-rich > .wp-block-paragraph {
  font-size: 17px;
  line-height: 2;
}
.post_content.article-rich > .p-articleThumb + p,
.post_content.article-rich > .p-articleThumb + .wp-block-paragraph {
  font-size: 17px;
  line-height: 2;
}
.post_content.article-rich > hr,
.post_content.article-rich > hr.wp-block-separator {
  border: 0;
  border-top: 1px solid #e3e0d8;
  margin: 8px 0;
}
.post_content.article-rich > ul,
.post_content.article-rich > ol,
.post_content.article-rich .wp-block-list {
  margin: 0;
  padding-left: 1.4em;
  font-size: 16px;
  line-height: 1.9;
}
.post_content.article-rich .wp-block-table,
.post_content.article-rich > figure.wp-block-table {
  margin: 0;
}
.post_content.article-rich .wp-block-table table,
.post_content.article-rich > figure.wp-block-table table {
  margin: 0;
  min-width: 480px;
}
.post_content.article-rich a[style*="color: #ff0000"],
.post_content.article-rich a[style*="color:#ff0000"] {
  color: var(--blue) !important;
  font-weight: 700;
}

/* 債務整理記事（saimuseiri-osusume） */
.post_content.article-rich > *, .post_content.article-debt > *{ margin: 0; }
.post_content.article-rich .p-articleThumb, .post_content.article-debt .p-articleThumb{ margin-bottom: 0; }
.post_content.article-rich .article-debt__lead, .post_content.article-debt .article-debt__lead{
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.post_content.article-rich .article-debt__lead p, .post_content.article-debt .article-debt__lead p{
  font-size: 17px;
  line-height: 2;
}
.post_content.article-rich .article-debt__highlight, .post_content.article-debt .article-debt__highlight{
  background: linear-gradient(transparent 62%, #cfe2f3 62%);
}
.post_content.article-rich .article-toc, .post_content.article-debt .article-toc{
  background: var(--white);
  border: 1px solid #e3e0d8;
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.post_content.article-rich .article-toc__title, .post_content.article-debt .article-toc__title{
  font-family: "Shippori Mincho B1", serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--blue);
  letter-spacing: 0.08em;
}
.post_content.article-rich .article-toc ol, .post_content.article-debt .article-toc ol{
  margin: 0;
  padding-left: 1.4em;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 16px;
  line-height: 1.6;
}
.post_content.article-rich .article-section, .post_content.article-debt .article-section{
  display: flex;
  flex-direction: column;
  gap: 32px;
  scroll-margin-top: 112px;
}
.post_content.article-rich .article-heading, .post_content.article-debt .article-heading{
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.post_content.article-rich .article-heading__bar, .post_content.article-debt .article-heading__bar{
  width: 48px;
  height: 3px;
  background: var(--blue);
}
.post_content.article-rich .article-heading h2, .post_content.article-debt .article-heading h2{
  margin: 0;
  padding: 0;
  border: 0;
  font-size: clamp(24px, 3.4vw, 32px);
  font-weight: 800;
  line-height: 1.5;
}
.post_content.article-rich .article-section > p, .post_content.article-debt .article-section > p{
  font-size: 17px;
  line-height: 2;
}
.post_content.article-rich .article-criteria, .post_content.article-debt .article-criteria{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 16px;
}
.post_content.article-rich .article-criteria__item, .post_content.article-debt .article-criteria__item{
  background: var(--white);
  border: 1px solid #e3e0d8;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.post_content.article-rich .article-criteria__num, .post_content.article-debt .article-criteria__num{
  font-family: "Shippori Mincho B1", serif;
  font-weight: 800;
  font-size: 30px;
  color: var(--blue);
  line-height: 1;
}
.post_content.article-rich .article-criteria__text, .post_content.article-debt .article-criteria__text{
  font-weight: 700;
  font-size: 16px;
  line-height: 1.6;
  color: var(--body);
}
.post_content.article-rich .article-method, .post_content.article-debt .article-method{
  background: var(--white);
  border: 1px solid #e3e0d8;
  display: flex;
  flex-direction: column;
}
.post_content.article-rich .article-method__head, .post_content.article-debt .article-method__head{
  background: var(--navy);
  color: #fff;
  padding: 20px 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.post_content.article-rich .article-method__label, .post_content.article-debt .article-method__label{
  font-size: 13px;
  letter-spacing: 0.1em;
}
.post_content.article-rich .article-method__title, .post_content.article-debt .article-method__title{
  margin: 0;
  padding: 0;
  border: 0;
  font-family: "Shippori Mincho B1", serif;
  font-weight: 800;
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.4;
  color: #fff;
}
.post_content.article-rich .article-method__body, .post_content.article-debt .article-method__body{
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.post_content.article-rich .article-method__body > p, .post_content.article-debt .article-method__body > p{
  font-size: 17px;
  line-height: 2;
  margin: 0;
}
.post_content.article-rich .article-method__block, .post_content.article-debt .article-method__block{
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.post_content.article-rich .article-method__subtitle, .post_content.article-debt .article-method__subtitle{
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.08em;
}
.post_content.article-rich .article-checklist, .post_content.article-debt .article-checklist{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 16px;
  line-height: 1.8;
}
.post_content.article-rich .article-checklist li, .post_content.article-debt .article-checklist li{
  margin: 0;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.post_content.article-rich .article-checklist svg, .post_content.article-debt .article-checklist svg{
  flex: none;
  margin-top: 4px;
}
.post_content.article-rich .article-notice, .post_content.article-debt .article-notice{
  background: #fbf0dc;
  border: 1px solid #ecd29b;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.post_content.article-rich .article-notice--info, .post_content.article-debt .article-notice--info{
  background: var(--pale);
  border-color: #c6d9ea;
}
.post_content.article-rich .article-notice__label, .post_content.article-debt .article-notice__label{
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  color: #7a4a00;
  letter-spacing: 0.06em;
}
.post_content.article-rich .article-notice--info .article-notice__label, .post_content.article-debt .article-notice--info .article-notice__label{
  color: var(--blue);
  letter-spacing: 0.08em;
}
.post_content.article-rich .article-notice p, .post_content.article-debt .article-notice p{
  margin: 0;
  font-size: 16px;
  line-height: 1.95;
}
.post_content.article-rich .article-table-wrap, .post_content.article-debt .article-table-wrap{
  overflow-x: auto;
  border: 1px solid #e3e0d8;
}
.post_content.article-rich .article-table, .post_content.article-debt .article-table{
  width: 100%;
  min-width: 560px;
  margin: 0;
  border-collapse: collapse;
  font-size: 15px;
}
.post_content.article-rich .article-table th, .post_content.article-debt .article-table th,
.post_content.article-rich .article-table td, .post_content.article-debt .article-table td{
  border: 1px solid #e3e0d8;
  padding: 12px 14px;
  vertical-align: top;
}
.post_content.article-rich .article-table thead th, .post_content.article-debt .article-table thead th{
  background: var(--pale);
  color: var(--blue);
  font-weight: 700;
}
.post_content.article-rich .article-table tbody th[scope="row"], .post_content.article-debt .article-table tbody th[scope="row"]{
  background: #f8fafc;
  color: var(--body);
  font-weight: 700;
  width: 28%;
}
.post_content.article-rich .article-check, .post_content.article-debt .article-check{
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.post_content.article-rich .article-check__head, .post_content.article-debt .article-check__head{
  display: flex;
  gap: 16px;
  align-items: center;
}
.post_content.article-rich .article-check__num, .post_content.article-debt .article-check__num{
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Shippori Mincho B1", serif;
  font-weight: 800;
  font-size: 22px;
}
.post_content.article-rich .article-check h3, .post_content.article-debt .article-check h3{
  margin: 0;
  font-size: clamp(20px, 2.8vw, 25px);
  font-weight: 800;
  line-height: 1.5;
}
.post_content.article-rich .article-compare, .post_content.article-debt .article-compare{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 16px;
}
.post_content.article-rich .article-divider, .post_content.article-debt .article-divider{
  border: 0;
  border-top: 1px solid #e3e0d8;
  margin: 8px 0;
}
.post_content.article-rich .article-summary, .post_content.article-debt .article-summary{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 16px;
}
.post_content.article-rich .article-summary__item, .post_content.article-debt .article-summary__item{
  background: var(--white);
  border: 1px solid #e3e0d8;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.post_content.article-rich .article-summary__label, .post_content.article-debt .article-summary__label{
  font-size: 14px;
  color: var(--muted);
}
.post_content.article-rich .article-summary__value, .post_content.article-debt .article-summary__value{
  font-family: "Shippori Mincho B1", serif;
  font-weight: 800;
  font-size: 24px;
  color: var(--blue);
  line-height: 1.3;
}
.post_content.article-rich .article-checklist--summary, .post_content.article-debt .article-checklist--summary{
  font-size: 17px;
  font-weight: 700;
}
.post_content.article-rich .article-checklist--summary svg, .post_content.article-debt .article-checklist--summary svg{
  margin-top: 5px;
}
.post_content.article-rich .article-cta, .post_content.article-debt .article-cta{
  background: var(--navy);
  color: #fff;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.post_content.article-rich .article-cta h2, .post_content.article-debt .article-cta h2{
  margin: 0;
  padding: 0;
  border: 0;
  color: #fff;
  font-size: clamp(22px, 3.2vw, 30px);
  font-weight: 800;
  line-height: 1.6;
}
.post_content.article-rich .article-cta p, .post_content.article-debt .article-cta p{
  margin: 0;
  font-size: 17px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.92);
  max-width: 36em;
}
.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; }
.cf7-custom-form-wrapper { display: flex; flex-direction: column; gap: 0; }
.cf7-divider { border: none; border-top: 1px solid var(--line); margin: 0 0 28px; }
.cf7-form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 22px;
}
.cf7-label-area {
  flex: 0 0 180px;
  display: flex;
  font-weight: 700;
  font-size: 16px;
  color: var(--blue);
  padding-top: 10px;
}
.cf7-form-row.is-align-top .cf7-label-area {
  align-items: flex-start;
}
.cf7-input-area { flex: 1; min-width: 0; }
.cf7-label-area p {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.cf7-tag {
  display: inline-flex;
  align-items: center;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  padding: 4px 10px;
  border-radius: 4px;
  white-space: nowrap;
}
.cf7-tag.required { background-color: #d64545; }
.cf7-tag.optional { background-color: #757575; }
.cf7-note {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}
.cf7-submit-button {
  margin-top: 8px;
  text-align: center;
}
.wpcf7-turnstile.cf-turnstile { margin: 8px 0 4px; }

.mobile-phone-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 12px calc(8px + 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: 0 1 auto;
  width: min(100%, 260px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 6px 14px;
  border-radius: 10px;
  border: 2px solid var(--accent);
  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: 34px;
  height: 34px;
  border-radius: 50%;
}
.mobile-phone-bar__copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.mobile-phone-bar__label {
  font-size: 10px;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: var(--muted);
}
.mobile-phone-bar__copy strong {
  font-family: "Shippori Mincho B1", serif;
  font-size: clamp(18px, 5vw, 21px);
  letter-spacing: 0.03em;
  font-weight: 700;
  line-height: 1.1;
  color: #1a5490;
  white-space: nowrap;
}
.mobile-phone-bar__close {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(29, 78, 134, 0.08);
  color: #1a5490;
  font-size: 20px;
  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(64px + env(safe-area-inset-bottom, 0px));
  }
}

@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 {
    border-bottom-color: var(--blue);
    box-shadow: 0 8px 24px rgba(22, 56, 106, 0.12);
  }
  .header.is-open .gnav {
    display: flex; flex-direction: column; align-items: flex-start;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--pale);
    border-bottom: 2px solid var(--blue);
    padding: 8px 24px 16px;
    gap: 0;
    box-shadow: 0 16px 28px rgba(22, 56, 106, 0.14);
  }
  .header.is-open .gnav a {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid var(--line-soft);
  }
  .header.is-open .gnav a:last-child { border-bottom: none; }
  .head-actions .btn { display: none; }
  .header.is-open .gnav .gnav-contact {
    margin-top: 12px;
    padding: 14px 16px !important;
    border-radius: 8px;
    background: var(--blue);
    color: #fff !important;
    font-weight: 700;
    text-align: center;
    border-bottom: none !important;
  }
  .header.is-open .gnav .gnav-contact:hover {
    background: var(--navy);
    border-bottom-color: transparent;
    color: #fff !important;
  }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .split, .lawyer, .fee-grid, .access, .steps, .areas { 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.96) 0%, rgba(255, 255, 255, 0.88) 55%, rgba(255, 255, 255, 0.78) 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; }
  .post_content, .archive-body { padding: 24px 18px; }
  .post_content.article-rich { gap: 28px; }
  .post_content.article-debt { gap: 40px; }
  .post_content.article-rich .article-method__head,
  .post_content.article-debt .article-method__head,
  .post_content.article-rich .article-method__body,
  .post_content.article-debt .article-method__body,
  .post_content.article-rich .article-cta,
  .post_content.article-debt .article-cta { padding-left: 20px; padding-right: 20px; }
  .post_content.article-rich .article-check__head,
  .post_content.article-debt .article-check__head { align-items: flex-start; }
  .page-hero::before {
    background: linear-gradient(
      180deg,
      rgba(251, 250, 247, 0.88) 0%,
      rgba(251, 250, 247, 0.72) 55%,
      rgba(234, 242, 250, 0.35) 100%
    );
  }
  .archive-body:has(.p-postList) { padding: 0; }
  .p-postList { grid-template-columns: 1fr; gap: 20px; }
  .p-postList__title { font-size: 17px; }
  .head-actions .tel { display: none; }
  .brand-tagline { font-size: 9px; letter-spacing: 0.02em; }
  .office-localnav { top: 72px; }
  .office-localnav-link { padding: 12px 10px; font-size: 14px; }
  .office-section { padding: 64px 0 56px; }
  .office-dl dt { flex: 0 0 100%; }
  .office-dl dd { flex: 1 1 100%; }
  .office-fax,
  .office-note { display: block; margin: 8px 0 0; }
  .office-lawyer-card,
  .office-lawyer-brief { padding: 24px 20px; }
  .office-info-card { padding: 24px 20px; }
  .site-banner-link {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 32px 24px 32px 28px;
  }
}

@media (max-width: 1080px) and (min-width: 769px) {
  .hero h1 { font-size: 34px; max-width: 14em; white-space: normal; }
  .hero-h1-break,
  .hero-h1-break-mobile { display: none; }
}

@media (max-width: 768px) {
  .hero--visual {
    position: relative;
    min-height: auto;
    overflow: hidden;
  }
  .hero-visual-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
  }
  .hero-visual-bg::before {
    height: 10%;
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, transparent 100%);
    background: none;
  }
  .hero-visual-bg::after {
    display: none;
  }
  .hero-visual-bg img {
    height: 100%;
    object-position: 50% 38%;
    transform: none;
  }
  .hero-visual-overlay {
    display: block;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.93) 38%, rgba(255, 255, 255, 0.72) 62%, rgba(255, 255, 255, 0.28) 82%, rgba(255, 255, 255, 0.08) 100%);
  }
  .hero-visual-inner {
    position: relative;
    z-index: 1;
    min-height: auto;
    padding: 28px var(--side) 24px;
    background: transparent;
    justify-content: flex-start;
    gap: 22px;
  }
  .hero-copy {
    gap: 16px;
    max-width: none;
  }
  .hero-eyebrow {
    font-size: 11px;
    letter-spacing: 0.16em;
  }
  .hero h1 {
    font-size: clamp(28px, 7.4vw, 34px);
    line-height: 1.48;
    max-width: none;
    white-space: normal;
  }
  .hero-h1-break,
  .hero-h1-break-mobile {
    display: inline;
  }
  .hero-lead {
    font-size: 14px;
    line-height: 1.85;
    max-width: none;
  }
  .hero-actions {
    flex-direction: column;
    gap: 12px;
    margin-top: 4px;
  }
  .hero-actions a.btn-hero-phone,
  .hero-actions a.btn-hero-web {
    flex: none;
    width: 100%;
    max-width: none;
    min-height: 84px;
    padding: 12px 16px;
  }
  .hero-actions a.btn-hero-phone strong {
    font-size: clamp(24px, 6.8vw, 30px);
  }
  .btn-hero-web-text {
    font-size: 17px;
  }
  .cf7-form-row {
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
  }
  .cf7-label-area {
    flex-basis: auto;
    padding-top: 0;
  }
  .footer {
    padding: 40px var(--side) 48px;
  }
  .footer-inner {
    gap: 36px;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-about {
    gap: 24px;
  }
  .footer-brand-block {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .footer-brand-label {
    font-size: 12px;
  }
  .footer-brand-name {
    font-size: 26px;
    letter-spacing: 0.03em;
    line-height: 1.25;
  }
  .footer-office-badge {
    align-self: flex-start;
    padding: 3px 12px;
    font-size: 13px;
  }
  .footer a.footer-phone-btn {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "label label"
      "icon number";
    gap: 4px 12px;
    justify-items: center;
    max-width: none;
    padding: 18px 16px 20px;
    text-align: center;
  }
  .footer a.footer-phone-btn .footer-phone-btn-label-mobile {
    display: block;
    grid-area: label;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: #d6e2f7;
  }
  .footer a.footer-phone-btn .footer-phone-btn-icon {
    grid-area: icon;
    width: 30px;
    height: 30px;
  }
  .footer a.footer-phone-btn .footer-phone-btn-icon svg {
    width: 30px;
    height: 30px;
  }
  .footer a.footer-phone-btn .footer-phone-btn-copy {
    grid-area: number;
    flex-direction: row;
    align-items: center;
    gap: 0;
  }
  .footer a.footer-phone-btn .footer-phone-btn-label {
    display: none;
  }
  .footer a.footer-phone-btn strong {
    font-size: 34px;
    letter-spacing: 0.03em;
    line-height: 1.2;
  }
  .footer-info {
    max-width: none;
  }
  .footer-info-row {
    gap: 16px;
  }
  .footer-info-row dt {
    flex-basis: 52px;
    font-size: 13px;
    letter-spacing: 0.08em;
  }
  .footer-info-row dd {
    font-size: 15px;
  }
  .footer-info-note {
    font-size: 13px;
  }
  .footer-map-panel {
    min-height: auto;
  }
  .footer-map {
    min-height: 220px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow: visible;
    background: transparent;
    border: 0;
    border-radius: 0;
  }
  .footer-map iframe {
    min-height: 220px;
    border-radius: 14px;
    border: 1px solid #d2dcee;
  }
  .footer-map-link {
    position: static;
    width: 100%;
  }
  .footer-map-caption {
    display: none;
  }
  .footer-nav-row {
    flex-direction: column;
    gap: 28px;
    padding-top: 0;
    border-top: 0;
  }
  .footer-section-title {
    font-size: 17px;
  }
  .footer-area-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .footer-area-link {
    min-height: 60px;
    padding: 8px 12px 8px 14px;
    font-size: 15px;
    line-height: 1.4;
  }
  .footer-chevron {
    width: 14px;
    height: 14px;
  }
  .footer-menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
  }
  .footer-menu-link {
    min-height: 50px;
    font-size: 15px;
  }
  .footer-sites {
    gap: 16px;
    padding-top: 0;
    border-top: 0;
  }
  .footer-sites-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .footer .footer-site-card {
    min-height: 84px;
    padding: 16px 18px 16px 20px;
    gap: 12px;
  }
  .footer-site-label {
    font-size: 14px;
  }
  .footer-site-domain {
    font-size: 20px;
  }
  .footer-site-icon {
    width: 40px;
    height: 40px;
  }
  .footer-bottom-links {
    gap: 14px;
  }
  .policy-link {
    max-width: none;
    margin-top: 24px;
  }
}
