:root {
  --font-sans: "Meiryo", "メイリオ", "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-serif: "Yu Mincho", "游明朝", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "MS Mincho", serif;
  --ink: #1d2430;
  --muted: #657083;
  --line: #d9dee7;
  --paper: #ffffff;
  --soft: #f6f8fb;
  --shadow: 0 18px 45px rgba(19, 34, 61, 0.13);
  --radius: 8px;
}

.contact-page-card {
  background: #fff;
}

.contact-page-intro {
  margin-bottom: 26px;
}

.contact-page-intro p {
  margin: 0;
  color: #526074;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.9;
}

.consult-form {
  display: grid;
  gap: 22px;
  padding: clamp(20px, 3vw, 34px);
  background: #f8f5ee;
  border: 1px solid rgba(16, 36, 63, 0.12);
  border-top: 5px solid var(--gold);
}

.consult-form-hidden {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.consult-field {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  border: 0;
}

.consult-field label,
.consult-checks legend {
  color: var(--brand);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.35;
}

.consult-field label span,
.consult-checks legend span {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 8px;
  color: #fff;
  background: var(--brand);
  font-size: 0.72rem;
  line-height: 1;
  vertical-align: middle;
}

.consult-field input[type="text"],
.consult-field input[type="tel"],
.consult-field input[type="email"],
.consult-field textarea {
  width: 100%;
  min-width: 0;
  padding: 14px 15px;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(16, 36, 63, 0.18);
  border-radius: 3px;
  box-sizing: border-box;
  font: inherit;
  font-weight: 700;
  line-height: 1.6;
}

.consult-field textarea {
  resize: vertical;
}

.consult-recaptcha {
  padding: 12px 14px;
  background: #fff;
  border: 1px solid rgba(16, 36, 63, 0.14);
  border-left: 4px solid var(--gold);
  border-radius: 3px;
}

.consult-recaptcha-label {
  margin: 0 0 6px;
  color: var(--brand);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.35;
}

.consult-recaptcha-label span {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 8px;
  color: #fff;
  background: var(--brand);
  font-size: 0.72rem;
  line-height: 1;
  vertical-align: middle;
}

.consult-recaptcha-note {
  margin: 0;
  color: #526074;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.65;
}

.consult-field input:focus,
.consult-field textarea:focus {
  border-color: var(--gold);
  outline: 3px solid rgba(167, 123, 46, 0.22);
}

.consult-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.consult-check-grid label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid rgba(16, 36, 63, 0.14);
  border-left: 0;
  border-radius: 3px;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.45;
}

.consult-check-grid input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--brand);
  flex: 0 0 auto;
}

.consult-check-grid label span {
  display: inline !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--ink) !important;
  background: transparent !important;
  border: 0 !important;
  font-size: inherit !important;
  font-weight: 800 !important;
  line-height: 1.45 !important;
}

.consult-form-actions {
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.consult-form-actions .button {
  width: min(100%, 360px);
  border: 0;
  cursor: pointer;
}

.contact-message {
  margin: 0 0 22px;
  padding: 16px 18px;
  border-left: 5px solid var(--gold);
  background: #f8f5ee;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.75;
}

.contact-message p,
.contact-message ul {
  margin: 0;
}

.contact-message ul {
  padding-left: 1.3em;
}

.contact-message-success {
  border-left-color: #1f7a4d;
  background: #eef8f2;
}

.contact-message-error {
  border-left-color: #b43b3b;
  background: #fff1f1;
}

@media (max-width: 640px) {
  .consult-form {
    padding: 18px 14px;
  }

  .consult-check-grid {
    grid-template-columns: 1fr;
  }

  .consult-field label,
  .consult-checks legend {
    font-size: 0.95rem;
  }
}

* {
  box-sizing: border-box;
  min-width: 0;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.78;
  background: var(--soft);
  max-width: 100%;
  overflow-x: hidden;
}

h1,
h2,
h3,
p,
li,
a,
span,
strong {
  overflow-wrap: anywhere;
  word-break: break-all;
  line-break: anywhere;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

.graphic-img {
  width: 100%;
  height: auto;
}

.site {
  --brand: #12345a;
  --brand-2: #0b2038;
  --accent: #b88b32;
  --accent-2: #e7c978;
  --tint: #f4f7fb;
  --cta: #b88b32;
  --cta-ink: #17202c;
  min-height: 100vh;
}

.site-yasashii {
  --brand: #1f5c55;
  --brand-2: #163f3b;
  --accent: #c7894c;
  --accent-2: #f2d9b7;
  --tint: #f7f3ea;
  --cta: #2f7d6f;
  --cta-ink: #ffffff;
}

.site-header {
  position: relative;
  z-index: 30;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(29, 36, 48, 0.12);
}

.topline {
  background: var(--brand-2);
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.topline-inner,
.header-inner,
.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.topline-inner {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 7px 0;
}

.topline-inner span + span {
  display: none;
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
}

.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  border-radius: 50%;
  font-family: var(--font-serif);
  font-weight: 800;
}

.brand-logo-mark {
  display: block;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  object-fit: contain;
}

.brand-title {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.25;
}

.brand-sub {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.25;
}

.header-cta {
  display: none;
}

.nav-scroll {
  overflow: visible;
  border-top: 1px solid rgba(29, 36, 48, 0.08);
  scrollbar-width: none;
}

.nav-scroll::-webkit-scrollbar {
  display: none;
}

.global-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 9px 0;
  white-space: normal;
}

.global-nav a {
  padding: 7px 10px;
  color: #334155;
  border-radius: 6px;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

.global-nav a:first-child,
.global-nav a:hover {
  color: #fff;
  background: var(--brand);
}

.mobile-menu-bar {
  display: none;
}

.page-main {
  padding: 34px 0 54px;
}

.page-layout {
  align-items: start;
}

.page-content-card {
  border-top: 5px solid var(--accent);
}

.page-content-card h1 {
  margin-top: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.35;
}

.wp-page-content {
  color: #334155;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.95;
}

.wp-page-content :where(p, ul, ol) {
  margin: 0 0 1.2em;
}

.wp-page-content :where(h2, h3) {
  margin: 1.8em 0 0.7em;
  color: var(--brand-2);
  line-height: 1.45;
}

.wp-page-content a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

/* Generic fixed-page body styling. New WordPress pages should not render as unstyled block content. */
.page-main .page-content-card {
  padding: clamp(22px, 3vw, 38px);
  background: #fff;
}

.page-main .wp-page-content,
.page-main .wp-page-content * {
  max-width: 100%;
  box-sizing: border-box;
}

.page-main .wp-page-content :where(h1, h2, h3, h4, p, li, th, td, a, span, strong) {
  word-break: normal !important;
  overflow-wrap: break-word !important;
  line-break: strict !important;
}

.page-main .wp-page-content > h1.wp-block-heading {
  margin: 0 0 28px;
  padding: clamp(22px, 3vw, 34px);
  color: #fff;
  background: var(--brand-2);
  border-left: 6px solid var(--accent);
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.45;
}

.page-main .wp-page-content h2.wp-block-heading {
  margin: 42px 0 18px;
  padding: 18px 20px;
  color: var(--brand-2);
  background: #f8f5ee;
  border-left: 6px solid var(--accent);
  font-size: clamp(1.25rem, 2.1vw, 1.65rem);
  line-height: 1.55;
}

.page-main .wp-page-content h3.wp-block-heading {
  margin: 28px 0 12px;
  padding-left: 14px;
  color: var(--brand-2);
  border-left: 4px solid var(--accent);
  font-size: clamp(1.08rem, 1.7vw, 1.28rem);
  line-height: 1.55;
}

.page-main .wp-page-content p {
  color: #475569;
  font-size: 1rem;
  font-weight: 700;
  line-height: 2;
}

.page-main .wp-page-content strong {
  color: var(--brand-2);
  font-weight: 900;
}

.page-main .wp-page-content hr.wp-block-separator {
  margin: 42px 0;
  border: 0;
  border-top: 1px solid rgba(16, 36, 63, 0.14);
}

.page-main .wp-page-content :where(ul, ol) {
  padding-left: 1.4em;
}

.page-main .wp-page-content li {
  margin: 0 0 0.55em;
  color: #475569;
  font-weight: 700;
  line-height: 1.9;
}

.page-main .wp-page-content .wp-block-table {
  overflow-x: auto;
}

.page-main .wp-page-content table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.page-main .wp-page-content th,
.page-main .wp-page-content td {
  padding: 13px 14px;
  border: 1px solid rgba(16, 36, 63, 0.16);
  vertical-align: top;
}

.page-main .wp-page-content th {
  color: #fff;
  background: var(--brand-2);
  font-weight: 900;
}

.page-id-6 .wp-page-content h2.wp-block-heading {
  scroll-margin-top: 24px;
}

.page-id-6 .wp-page-content h2.wp-block-heading:not(:first-of-type) {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.page-id-6 .wp-page-content h2.wp-block-heading:not(:first-of-type)::before {
  content: "";
  display: block;
  width: 10px;
  height: 1.65em;
  margin-top: 0.08em;
  background: var(--accent);
}

.page-id-11 .page-content-card {
  padding: clamp(22px, 3vw, 38px);
  background: #fff;
}

.page-id-11 .page-content-card h1 {
  margin-bottom: 26px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(16, 36, 63, 0.14);
}

.page-id-11 .wp-page-content {
  counter-reset: asset-section;
}

.page-id-11 .wp-page-content > h1.wp-block-heading {
  margin-bottom: 30px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 42%),
    var(--brand-2);
}

.page-id-11 .wp-page-content h2.wp-block-heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-top: 36px;
  margin-bottom: 16px;
  padding: 16px 18px;
  background: #f8f5ee;
  border: 1px solid rgba(16, 36, 63, 0.12);
  border-left: 6px solid var(--accent);
}

.page-id-11 .wp-page-content h2.wp-block-heading::before {
  counter-increment: asset-section;
  content: counter(asset-section);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #fff;
  background: var(--brand-2);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1;
}

.page-id-11 .wp-page-content > h2.wp-block-heading:first-of-type::before {
  content: "要";
}

.page-id-11 .wp-page-content p {
  margin-bottom: 1em;
}

.page-id-11 .wp-page-content h2.wp-block-heading + p {
  margin-top: 0;
}

.page-id-11 .wp-page-content a {
  color: var(--brand);
  font-weight: 900;
  text-decoration-thickness: 1px;
}

.page-id-11 .wp-page-content > p:last-child {
  margin-top: 28px;
  padding: 20px 22px;
  color: var(--brand-2);
  background: #f8f5ee;
  border-left: 6px solid var(--accent);
  font-weight: 800;
}

@media (max-width: 640px) {
  .page-main .page-content-card {
    padding: 18px 14px;
  }

  .page-main .wp-page-content > h1.wp-block-heading {
    padding: 18px 16px;
    font-size: 1.42rem;
  }

  .page-main .wp-page-content h2.wp-block-heading {
    margin-top: 30px;
    padding: 15px 14px;
    font-size: 1.16rem;
  }

  .page-main .wp-page-content p,
  .page-main .wp-page-content li {
    font-size: 0.95rem;
    line-height: 1.9;
  }

  .page-id-11 .wp-page-content h2.wp-block-heading {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    padding: 14px 12px;
  }

  .page-id-11 .wp-page-content h2.wp-block-heading::before {
    width: 30px;
    height: 30px;
    font-size: 0.86rem;
  }
}

.page-id-9 .page-content-card {
  padding: clamp(20px, 3vw, 34px);
  background: #fff;
}

.page-id-9 .page-content-card h1 {
  max-width: 860px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(18, 52, 90, 0.16);
  color: var(--brand-2);
  word-break: keep-all;
  line-break: strict;
}

.page-id-9 .wp-page-content,
.page-id-9 .wp-page-content :where(p, ul, ol, figure, table) {
  background: #fff;
}

.page-id-9 .wp-page-content {
  color: #263447;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.9;
}

.page-id-9 .wp-page-content :where(h2, h3) {
  margin: 34px 0 16px;
  padding: 12px 16px;
  background: #fff;
  color: var(--brand-2);
  border-left: 6px solid var(--accent);
  font-family: var(--font-sans);
  font-weight: 900;
  line-height: 1.45;
  word-break: keep-all;
  line-break: strict;
}

.page-id-9 .wp-page-content h2 {
  background: #f6f1e5;
  font-size: clamp(1.22rem, 2vw, 1.55rem);
}

.page-id-9 .wp-page-content h3 {
  background: #fff;
  border-top: 1px solid rgba(18, 52, 90, 0.1);
  font-size: clamp(1.08rem, 1.7vw, 1.28rem);
}

.page-id-9 .wp-page-content :where(p, ul, ol) {
  margin: 0 0 18px;
}

.page-id-9 .wp-page-content :where(ul, ol) {
  padding-left: 1.35em;
}

.page-id-9 .wp-page-content li {
  margin: 0 0 8px;
  line-height: 1.75;
}

.page-id-9 .wp-page-content hr {
  margin: 34px 0;
  border: 0;
  border-top: 1px solid rgba(18, 52, 90, 0.14);
}

.page-id-9 .wp-page-content .wp-block-table {
  margin: 22px 0 26px;
  background: #fff;
}

.page-id-9 .wp-page-content table {
  background: #fff;
  border: 1px solid rgba(18, 52, 90, 0.16);
}

.page-id-9 .wp-page-content th {
  color: #fff;
  background: var(--brand-2);
}

.page-id-9 .wp-page-content td {
  background: #fff;
}

.page-id-9 .wp-page-content tr:nth-child(even) td {
  background: #f8fafc;
}

@media (max-width: 700px) {
  .page-id-9 .page-content-card {
    padding: 18px 14px;
  }

  .page-id-9 .page-content-card h1 {
    margin-bottom: 20px;
    padding-bottom: 14px;
  }

  .page-id-9 .wp-page-content :where(h2, h3) {
    margin-top: 26px;
    padding: 10px 12px;
  }
}

.page-id-7 .page-content-card {
  padding: clamp(20px, 3vw, 34px);
  background:
    linear-gradient(180deg, rgba(246, 248, 251, 0.95), #fff 210px),
    #fff;
}

.page-id-7 .page-content-card h1 {
  max-width: 860px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(18, 52, 90, 0.16);
  color: var(--brand-2);
  word-break: keep-all;
  line-break: strict;
}

.page-id-7 .wp-page-content {
  color: #263447;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.9;
}

.page-id-7 .wp-page-content > h1.wp-block-heading {
  margin: 0 0 22px;
  padding: 18px 20px;
  color: #fff;
  background: var(--brand-2);
  border-left: 7px solid var(--accent);
  font-family: var(--font-sans);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 900;
  line-height: 1.45;
  word-break: normal;
  overflow-wrap: anywhere;
  line-break: strict;
}

.page-id-7 .wp-page-content h2 {
  margin: 34px 0 16px;
  padding: 12px 16px;
  color: var(--brand-2);
  background: #f6f1e5;
  border-left: 6px solid var(--accent);
  font-family: var(--font-sans);
  font-size: clamp(1.18rem, 2vw, 1.48rem);
  font-weight: 900;
  line-height: 1.45;
  word-break: normal;
  overflow-wrap: anywhere;
  line-break: strict;
}

.page-id-7 .wp-page-content p {
  margin: 0 0 18px;
  word-break: normal;
  overflow-wrap: break-word;
  line-break: strict;
}

.page-id-7 .wp-page-content p:has(a) {
  padding: 12px 14px;
  background: #f8fafc;
  border-left: 5px solid rgba(184, 139, 50, 0.72);
}

.page-id-7 .wp-page-content strong {
  color: var(--brand-2);
  font-weight: 900;
}

@media (max-width: 700px) {
  .page-id-7 .page-content-card {
    padding: 18px 14px;
  }

  .page-id-7 .page-content-card h1 {
    margin-bottom: 20px;
    padding-bottom: 14px;
  }

  .page-id-7 .wp-page-content > h1.wp-block-heading {
    padding: 14px 12px;
    font-size: 1.25rem;
  }

  .page-id-7 .wp-page-content h2 {
    margin-top: 26px;
    padding: 10px 12px;
    font-size: 1.12rem;
  }
}

.page-id-5 .page-content-card {
  padding: clamp(20px, 3vw, 34px);
  background:
    linear-gradient(180deg, rgba(246, 248, 251, 0.95), #fff 210px),
    #fff;
}

.page-id-5 .page-content-card h1 {
  max-width: 860px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(18, 52, 90, 0.16);
  color: var(--brand-2);
  word-break: keep-all;
  line-break: strict;
}

.page-id-5 .wp-page-content {
  color: #263447;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.9;
}

.page-id-5 .wp-page-content :where(h1, h2, h3, p, li, th, td, a, strong) {
  word-break: normal !important;
  overflow-wrap: break-word !important;
  line-break: strict !important;
}

.page-id-5 .wp-page-content > h1.wp-block-heading {
  margin: 0 0 22px;
  padding: 18px 20px;
  color: #fff;
  background: var(--brand-2);
  border-left: 7px solid var(--accent);
  font-family: var(--font-sans);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 900;
  line-height: 1.45;
}

.page-id-5 .wp-page-content h2 {
  margin: 34px 0 16px;
  padding: 12px 16px;
  color: var(--brand-2);
  background: #f6f1e5;
  border-left: 6px solid var(--accent);
  font-family: var(--font-sans);
  font-size: clamp(1.18rem, 2vw, 1.48rem);
  font-weight: 900;
  line-height: 1.45;
}

.page-id-5 .wp-page-content p {
  margin: 0 0 18px;
}

.page-id-5 .wp-page-content blockquote {
  margin: 0 0 24px;
  padding: 16px 18px;
  color: #334155;
  background: #f8fafc;
  border-left: 6px solid var(--accent);
}

.page-id-5 .wp-page-content blockquote p {
  margin: 0;
}

.page-id-5 .wp-page-content :where(ol, ul) {
  display: grid;
  gap: 8px;
  margin: 12px 0 24px;
  padding-left: 1.35em;
}

.page-id-5 .wp-page-content li {
  line-height: 1.7;
}

.page-id-5 .wp-page-content .wp-block-table {
  margin: 22px 0 26px;
  overflow-x: auto;
}

.page-id-5 .wp-page-content table {
  width: 100%;
  min-width: 620px;
  border: 1px solid rgba(18, 52, 90, 0.16);
  border-collapse: collapse;
  background: #fff;
}

.page-id-5 .wp-page-content th {
  color: #fff;
  background: var(--brand-2);
}

.page-id-5 .wp-page-content td {
  background: #fff;
}

.page-id-5 .wp-page-content tr:nth-child(even) td {
  background: #f8fafc;
}

.page-id-5 .wp-page-content :where(th, td) {
  padding: 12px 14px;
  border: 1px solid rgba(18, 52, 90, 0.12);
  vertical-align: top;
}

.page-id-5 .wp-page-content p:has(a) {
  padding: 12px 14px;
  background: #f8fafc;
  border-left: 5px solid rgba(184, 139, 50, 0.72);
}

@media (max-width: 700px) {
  .page-id-5 .page-content-card {
    padding: 18px 14px;
  }

  .page-id-5 .page-content-card h1 {
    margin-bottom: 20px;
    padding-bottom: 14px;
  }

  .page-id-5 .wp-page-content > h1.wp-block-heading {
    padding: 14px 12px;
    font-size: 1.22rem;
  }

  .page-id-5 .wp-page-content h2 {
    margin-top: 26px;
    padding: 10px 12px;
    font-size: 1.12rem;
  }
}

.page-id-13 .page-content-card {
  padding: clamp(20px, 3vw, 34px);
  background:
    linear-gradient(180deg, rgba(246, 248, 251, 0.92), #fff 180px),
    #fff;
}

.page-id-13 .page-content-card .section-label {
  margin-bottom: 14px;
}

.page-id-13 .page-content-card h1 {
  max-width: 820px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(18, 52, 90, 0.16);
  color: var(--brand-2);
  word-break: keep-all;
  line-break: strict;
}

.page-id-13 .wp-page-content {
  counter-reset: faq-question;
  display: grid;
  gap: 0;
  color: #263447;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.9;
}

.page-id-13 .wp-page-content h2 {
  counter-increment: faq-question;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin: 24px 0 0;
  padding: 16px 18px;
  color: #fff;
  background: var(--brand-2);
  border-left: 6px solid var(--accent);
  box-shadow: 0 12px 30px rgba(11, 32, 56, 0.12);
  font-family: var(--font-sans);
  font-size: clamp(1.05rem, 2vw, 1.24rem);
  font-weight: 900;
  line-height: 1.45;
  word-break: keep-all;
  line-break: strict;
}

.page-id-13 .wp-page-content h2::before {
  content: "Q" counter(faq-question);
  display: inline-grid;
  place-items: center;
  min-width: 46px;
  height: 34px;
  padding: 0 8px;
  color: var(--brand-2);
  background: #f3dda1;
  border: 1px solid rgba(255, 255, 255, 0.36);
  font-size: 0.86rem;
  font-weight: 900;
}

.page-id-13 .wp-page-content h2 + p,
.page-id-13 .wp-page-content h2 + p + iframe {
  margin-top: 0;
}

.page-id-13 .wp-page-content p {
  position: relative;
  margin: 0;
  padding: 18px 20px 20px 58px;
  background: #fff;
  border: 1px solid rgba(18, 52, 90, 0.12);
  border-top: 0;
  box-shadow: 0 12px 28px rgba(19, 34, 61, 0.08);
  word-break: keep-all;
  line-break: strict;
}

.page-id-13 .wp-page-content p::before {
  content: "A";
  position: absolute;
  top: 19px;
  left: 18px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: #fff;
  background: var(--accent);
  font-size: 0.9rem;
  font-weight: 900;
}

.page-id-13 .wp-page-content br {
  display: block;
  margin-bottom: 0.3em;
  content: "";
}

.page-id-13 .wp-page-content iframe {
  width: 100% !important;
  max-width: 100%;
  min-height: 360px;
  margin: 0 0 8px;
  background: #eef1f5;
  border: 1px solid rgba(18, 52, 90, 0.14) !important;
  box-shadow: 0 12px 28px rgba(19, 34, 61, 0.08);
}

@media (max-width: 700px) {
  .page-id-13 .page-content-card {
    padding: 18px 14px;
  }

  .page-id-13 .wp-page-content h2 {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding: 14px;
    font-size: 1rem;
  }

  .page-id-13 .wp-page-content h2::before {
    width: fit-content;
    min-width: 42px;
    height: 30px;
  }

  .page-id-13 .wp-page-content p {
    padding: 16px 14px 18px 46px;
    font-size: 0.94rem;
    line-height: 1.85;
  }

  .page-id-13 .wp-page-content p::before {
    top: 17px;
    left: 12px;
    width: 25px;
    height: 25px;
  }

  .page-id-13 .wp-page-content iframe {
    min-height: 300px;
  }
}

.page-id-12 .page-content-card {
  padding: clamp(20px, 3vw, 34px);
  background:
    linear-gradient(180deg, rgba(246, 248, 251, 0.95), #fff 210px),
    #fff;
}

.page-id-12 .page-content-card h1 {
  max-width: 860px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(18, 52, 90, 0.16);
  color: var(--brand-2);
  word-break: keep-all;
  line-break: strict;
}

.page-id-12 .wp-page-content {
  color: #263447;
  font-weight: 600;
  line-height: 1.85;
}

.page-id-12 .wp-page-content,
.page-id-12 .wp-page-content * {
  max-width: 100%;
}

.page-id-12 .wp-page-content .alignfull,
.page-id-12 .wp-page-content .alignwide,
.page-id-12 .wp-page-content .l-container {
  width: 100% !important;
  max-width: 100% !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

.page-id-12 .wp-page-content > .wp-block-group,
.page-id-12 .wp-page-content .swell-block-fullWide {
  margin: 0 0 26px;
}

.page-id-12 .wp-page-content .swell-block-fullWide {
  padding: 0 !important;
  background: transparent !important;
}

.page-id-12 .wp-page-content .swell-block-fullWide__inner {
  max-width: none;
  padding: 0;
}

.page-id-12 .wp-page-content h3 {
  margin: 34px 0 16px;
  padding: 12px 16px;
  color: #fff;
  background: var(--brand-2);
  border-left: 6px solid var(--accent);
  font-family: var(--font-sans);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 900;
  line-height: 1.35;
}

.page-id-12 .wp-page-content .wp-block-group.has-border {
  overflow: hidden;
  margin: 0 0 18px;
  background: #fff;
  border: 1px solid rgba(18, 52, 90, 0.14);
  border-left: 6px solid var(--accent);
  box-shadow: 0 14px 34px rgba(19, 34, 61, 0.09);
}

.page-id-12 .wp-page-content .wp-block-group__inner-container {
  padding: 0;
}

.page-id-12 .wp-page-content .row {
  display: grid;
  grid-template-columns: minmax(180px, 0.85fr) minmax(0, 1.5fr);
  gap: 0;
  align-items: stretch;
}

.page-id-12 .wp-page-content .col {
  padding: 18px 20px;
}

.page-id-12 .wp-page-content .service__ht {
  display: flex;
  align-items: center;
  background: #f6f1e5;
  border-right: 1px solid rgba(18, 52, 90, 0.1);
}

.page-id-12 .wp-page-content h4 {
  margin: 0;
  color: var(--brand-2);
  font-size: clamp(1rem, 1.7vw, 1.18rem);
  font-weight: 900;
  line-height: 1.55;
  word-break: keep-all;
  line-break: strict;
}

.page-id-12 .wp-page-content .has-text-align-right {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 12px;
}

.page-id-12 .wp-page-content mark {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  padding: 8px 12px;
  color: var(--brand-2) !important;
  background: #f3dda1 !important;
  border: 1px solid rgba(184, 139, 50, 0.34);
  font-weight: 900;
  line-height: 1;
}

.page-id-12 .wp-page-content .swl-fz,
.page-id-12 .wp-page-content .u-fz-xl {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 900;
  letter-spacing: 0;
}

.page-id-12 .wp-page-content p {
  margin: 0 0 12px;
  word-break: keep-all;
  line-break: strict;
}

.page-id-12 .wp-page-content ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.page-id-12 .wp-page-content li {
  position: relative;
  padding: 8px 10px 8px 28px;
  background: #f8fafc;
  border: 1px solid rgba(18, 52, 90, 0.08);
  color: #334155;
  font-weight: 700;
  line-height: 1.6;
  word-break: keep-all;
  line-break: strict;
}

.page-id-12 .wp-page-content li::before {
  content: "";
  position: absolute;
  top: 1.05em;
  left: 12px;
  width: 7px;
  height: 7px;
  background: var(--accent);
}

.page-id-12 .wp-page-content .button,
.page-id-12 .page-content-card > p:last-child {
  margin-top: 24px;
}

@media (max-width: 700px) {
  .page-id-12 .page-content-card {
    padding: 18px 14px;
  }

  .page-id-12 .page-content-card h1 {
    font-size: 1.45rem;
    line-height: 1.45;
  }

  .page-id-12 .wp-page-content .row {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-id-12 .wp-page-content .service__ht {
    border-right: 0;
    border-bottom: 1px solid rgba(18, 52, 90, 0.1);
  }

  .page-id-12 .wp-page-content .col {
    padding: 15px 14px;
  }

  .page-id-12 .wp-page-content .has-text-align-right {
    justify-content: flex-start;
  }

  .page-id-12 .wp-page-content mark {
    width: 100%;
    justify-content: center;
  }

  .page-id-12 .wp-page-content h3 {
    margin-top: 28px;
    font-size: 1.12rem;
  }
}

.page-id-4 .page-content-card {
  padding: clamp(20px, 3vw, 34px);
  background:
    linear-gradient(180deg, rgba(246, 248, 251, 0.96), #fff 220px),
    #fff;
}

.page-id-4 .page-content-card h1 {
  max-width: 820px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(18, 52, 90, 0.16);
  color: var(--brand-2);
  word-break: keep-all;
  line-break: strict;
}

.page-id-4 .wp-page-content {
  display: grid;
  gap: 28px;
  color: #263447;
  font-weight: 600;
  line-height: 1.85;
  word-break: normal;
  overflow-wrap: normal;
  line-break: strict;
}

.page-id-4 .wp-page-content :where(h2, h3, p, li, span, strong, a, dt, dd) {
  word-break: normal !important;
  overflow-wrap: break-word !important;
  line-break: strict !important;
}

.page-id-4 .wp-page-content :where(h2, h3, p, li, dt, dd) {
  text-wrap: pretty;
}

.start-eyebrow {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 10px;
  padding: 6px 10px;
  color: var(--brand-2);
  background: #f3dda1;
  border-left: 5px solid var(--accent);
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1.4;
}

.inheritance-start-lead {
  padding: clamp(18px, 3vw, 28px);
  color: #fff;
  background: var(--brand-2);
  border-left: 7px solid var(--accent);
  box-shadow: 0 16px 34px rgba(19, 34, 61, 0.12);
}

.inheritance-start-lead .start-eyebrow {
  margin-bottom: 22px;
  color: #17243a;
  background: #f2dda4;
  border-left-color: #b9872f;
  font-size: 1rem;
}

.inheritance-start-lead h2 {
  max-width: 900px;
  color: #ffffff;
}

.inheritance-start-lead p:not(.start-eyebrow) {
  max-width: 920px;
  margin-top: 22px;
  color: #eef4fb;
  font-size: clamp(1.05rem, 1.7vw, 1.22rem);
  font-weight: 700;
  line-height: 2.05;
}

.inheritance-start-lead h2,
.inheritance-deadline-panel h2,
.inheritance-check-grid h2,
.inheritance-route-cards h2,
.inheritance-consult-box h2 {
  margin: 0 0 12px;
  color: inherit;
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 3vw, 2.05rem);
  line-height: 1.42;
  word-break: keep-all;
  line-break: strict;
}

.inheritance-start-lead p:last-child,
.inheritance-deadline-panel p,
.inheritance-check-grid p,
.inheritance-consult-box p {
  margin: 0;
}

.inheritance-start-steps {
  counter-reset: start-step;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.inheritance-start-steps article {
  position: relative;
  min-height: 190px;
  padding: 22px 20px 20px;
  background: #fff;
  border: 1px solid rgba(18, 52, 90, 0.13);
  border-top: 5px solid var(--accent);
  box-shadow: 0 12px 28px rgba(19, 34, 61, 0.08);
}

.inheritance-start-steps span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  color: #fff;
  background: var(--brand-2);
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 900;
}

.inheritance-start-steps h3 {
  margin: 0 0 10px;
  color: var(--brand-2);
  font-size: 1.12rem;
  font-weight: 900;
  line-height: 1.5;
}

.inheritance-start-steps p {
  margin: 0;
}

.inheritance-deadline-panel,
.inheritance-check-grid,
.inheritance-consult-box {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 20px;
  align-items: start;
  padding: clamp(18px, 3vw, 28px);
  background: #f7f3ea;
  border: 1px solid rgba(184, 139, 50, 0.25);
}

.inheritance-deadline-panel dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.inheritance-deadline-panel dl div {
  display: grid;
  grid-template-columns: 136px minmax(0, 1fr);
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(18, 52, 90, 0.1);
}

.inheritance-deadline-panel dt {
  display: grid;
  place-items: center;
  padding: 12px 10px;
  color: #fff;
  background: var(--brand-2);
  font-weight: 900;
  white-space: nowrap;
}

.inheritance-deadline-panel dd {
  margin: 0;
  padding: 12px 14px;
  font-weight: 800;
}

.inheritance-check-grid ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.inheritance-check-grid li {
  position: relative;
  padding: 10px 12px 10px 32px;
  background: #fff;
  border: 1px solid rgba(18, 52, 90, 0.1);
  font-weight: 800;
  line-height: 1.55;
}

.inheritance-check-grid li::before {
  content: "";
  position: absolute;
  top: 1.15em;
  left: 14px;
  width: 8px;
  height: 8px;
  background: var(--accent);
}

.inheritance-route-cards > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.inheritance-route-cards br {
  display: none;
}

.inheritance-route-cards a {
  display: grid;
  gap: 6px;
  min-height: 118px;
  padding: 18px;
  background: #fff;
  border: 1px solid rgba(18, 52, 90, 0.12);
  border-left: 6px solid var(--accent);
  box-shadow: 0 12px 28px rgba(19, 34, 61, 0.08);
}

.inheritance-route-cards strong {
  color: var(--brand-2);
  font-size: 1.05rem;
  font-weight: 900;
}

.inheritance-route-cards span {
  color: #526071;
  font-weight: 700;
  line-height: 1.6;
}

.inheritance-consult-box {
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
  align-items: start;
  justify-items: center;
  margin-top: 18px;
  min-height: 0;
  padding: clamp(34px, 5vw, 54px);
  color: #fff;
  background: var(--brand-2);
  border-color: var(--brand-2);
  text-align: center;
}

.inheritance-consult-box h2 {
  max-width: 820px;
  margin: 0 auto 18px;
  font-size: clamp(1.75rem, 2.6vw, 2.35rem);
  line-height: 1.35;
  word-break: normal;
  overflow-wrap: anywhere;
  line-break: strict;
}

.inheritance-consult-box p {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
  font-size: 1.02rem;
  line-height: 1.9;
}

.inheritance-consult-action {
  display: grid;
  justify-self: stretch;
  justify-items: center;
  width: 100%;
  padding-top: 10px;
}

.inheritance-consult-box .start-eyebrow {
  color: var(--brand-2);
}

.inheritance-consult-box .button {
  align-self: center;
  justify-self: center;
  width: min(100%, 520px);
  min-width: 0;
  max-width: none;
}

@media (max-width: 700px) {
  .page-id-4 .page-content-card {
    padding: 18px 14px;
  }

  .page-id-4 .page-content-card h1 {
    font-size: 1.48rem;
    line-height: 1.45;
  }

  .inheritance-start-steps,
  .inheritance-deadline-panel,
  .inheritance-check-grid,
  .inheritance-consult-box,
  .inheritance-route-cards > div {
    grid-template-columns: minmax(0, 1fr);
  }

  .inheritance-start-steps article {
    min-height: 0;
  }

  .inheritance-deadline-panel dl div {
    grid-template-columns: minmax(0, 1fr);
  }

  .inheritance-deadline-panel dt {
    place-items: start;
  }

  .inheritance-consult-box .button {
    justify-self: center;
    min-width: 0;
  }

  .inheritance-consult-box h2 {
    max-width: 100%;
    font-size: 1.72rem;
    word-break: normal;
    overflow-wrap: anywhere;
  }
}

.mobile-menu {
  position: relative;
}

.mobile-menu summary {
  list-style: none;
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(135deg, var(--brand-2), var(--brand));
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.34;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 38px 38px;
}

.hero::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -140px;
  z-index: -1;
  width: 360px;
  height: 210px;
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(-12deg);
}

.hero-inner {
  display: grid;
  gap: 28px;
  padding: 44px 0 36px;
}

.guide-button-band {
  padding: 22px 0 26px;
  background: #fff;
  border-bottom: 1px solid rgba(29, 36, 48, 0.1);
}

.guide-button-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.guide-button {
  display: grid;
  gap: 4px;
  min-height: 86px;
  padding: 14px 16px;
  background: #f9fbf8;
  border: 1px solid rgba(31, 92, 85, 0.16);
  border-left: 4px solid var(--cta);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(31, 92, 85, 0.07);
}

.guide-button:hover {
  color: var(--brand-2);
  border-color: rgba(31, 92, 85, 0.34);
  transform: translateY(-1px);
}

.guide-button strong {
  color: var(--brand-2);
  font-size: 0.98rem;
  line-height: 1.35;
}

.guide-button span {
  color: #5f6f68;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.45;
}

.inline-route {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.inline-route a,
.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 14px;
  color: var(--brand);
  background: #fff;
  border: 1px solid rgba(29, 36, 48, 0.14);
  border-left: 4px solid var(--accent);
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 900;
  line-height: 1.35;
}

.inline-route a:hover,
.text-button:hover {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
}

.text-button {
  width: fit-content;
  margin-top: 14px;
}

.inline-route-dark a {
  color: #f3dfaa;
  background: #10243f;
  border-color: rgba(215, 188, 122, 0.38);
}

.inline-route-dark a:hover {
  color: #10243f;
  background: #f3dfaa;
  border-color: #f3dfaa;
}

.route-icon,
.issue-icon svg,
.link-icon,
.step-icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.route-icon {
  width: 58px;
  height: 58px;
  padding: 10px;
  color: var(--brand);
  background: rgba(184, 139, 50, 0.12);
  border: 2px solid rgba(184, 139, 50, 0.34);
  border-radius: 8px;
  box-sizing: border-box;
}

.link-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  padding: 4px;
  color: var(--accent);
  background: #fff;
  border-radius: 5px;
  box-sizing: border-box;
}

.step-icon {
  width: 24px;
  height: 24px;
  color: #fff;
}

.hero-inner > *,
.layout > *,
.card,
.service-card,
.reason-card,
.flow-card,
.voice-card,
.faq-card,
.side-card {
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 7px 10px;
  color: var(--accent-2);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.hero h1 {
  margin: 16px 0 12px;
  font-family: var(--font-serif);
  font-size: 1.82rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 680px;
  margin: 0;
  color: rgba(255,255,255,0.9);
  font-size: 1rem;
  font-weight: 700;
}

.hero-actions,
.section-actions {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
}

.button-primary {
  color: var(--cta-ink);
  background: var(--cta);
  box-shadow: 0 14px 30px rgba(0,0,0,0.18);
}

.button-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.hero-panel {
  color: var(--ink);
  background: rgba(255,255,255,0.96);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-graphic {
  margin: 0;
  background: #fff;
}

.hero-graphic img {
  width: 100%;
  aspect-ratio: 1200 / 760;
  object-fit: cover;
}

.visual-card {
  position: relative;
  min-height: 230px;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.74), rgba(255,255,255,0.22)),
    linear-gradient(135deg, var(--tint), rgba(255,255,255,0.7));
}

.visual-docs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: end;
  min-height: 220px;
}

.visual-docs .doc-box:nth-child(2) {
  display: none;
}

.doc-stack {
  display: grid;
  gap: 10px;
}

.doc-line {
  height: 14px;
  border-radius: 999px;
  background: rgba(18, 52, 90, 0.18);
}

.doc-box,
.family-box {
  min-height: 168px;
  padding: 18px;
  background: #fff;
  border: 1px solid rgba(18,52,90,0.13);
  border-radius: var(--radius);
  box-shadow: 0 10px 22px rgba(21, 38, 64, 0.12);
}

.stamp {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: var(--brand);
  border: 3px solid var(--accent);
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 900;
  transform: rotate(-8deg);
}

.family-box {
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(47,125,111,0.1), transparent 42%),
    #fff;
}

.family-icon {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 10px;
}

.person {
  width: 38px;
  height: 92px;
  border-radius: 24px 24px 8px 8px;
  background: var(--brand);
}

.person:nth-child(2) {
  height: 122px;
  background: var(--accent);
}

.person:nth-child(3) {
  height: 78px;
  background: var(--brand-2);
}

.hero-panel-body {
  padding: 18px;
}

.panel-title {
  margin: 0 0 8px;
  font-weight: 900;
}

.mini-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mini-list li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  color: #334155;
  font-size: 0.9rem;
  font-weight: 700;
}

.mini-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  margin-top: 0.74em;
  background: var(--accent);
  border-radius: 50%;
}

.main {
  padding: 34px 0 88px;
}

.section {
  padding: 34px 0;
}

.section-head {
  margin-bottom: 20px;
}

.section-kicker {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section-label,
.site-trust-redesign .header-proof span {
  white-space: nowrap;
  word-break: keep-all;
  line-break: strict;
  overflow-wrap: normal;
}

.section-label {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
}

.section h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.55rem;
  line-height: 1.24;
}

.section-lead {
  margin: 12px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.graphic-section {
  padding: 20px 0 38px;
}

.graphic-grid {
  display: grid;
  gap: 14px;
}

.graphic-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(29, 36, 48, 0.1);
  border-radius: var(--radius);
  box-shadow: 0 14px 32px rgba(19, 34, 61, 0.1);
}

.graphic-card img {
  width: 100%;
  aspect-ratio: 900 / 560;
  object-fit: cover;
}

.graphic-caption {
  padding: 14px 16px 16px;
}

.graphic-caption .route-icon {
  margin-bottom: 9px;
  color: var(--cta);
}

.graphic-caption h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  line-height: 1.45;
}

.graphic-caption p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.image-story-section,
.image-strip-section {
  padding-top: 22px;
}

.story-grid {
  display: grid;
  gap: 14px;
}

.story-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(29, 36, 48, 0.1);
  border-radius: var(--radius);
  box-shadow: 0 14px 32px rgba(19, 34, 61, 0.1);
}

.story-card img,
.wide-photo img,
.image-strip img {
  width: 100%;
  object-fit: cover;
}

.story-card img {
  aspect-ratio: 900 / 590;
}

.story-body {
  padding: 16px 18px 18px;
}

.story-body h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
  line-height: 1.45;
}

.story-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.image-strip {
  display: grid;
  gap: 12px;
}

.image-strip figure,
.wide-photo {
  overflow: hidden;
  margin: 0;
  background: #fff;
  border: 1px solid rgba(29, 36, 48, 0.1);
  border-radius: var(--radius);
  box-shadow: 0 14px 32px rgba(19, 34, 61, 0.1);
}

.image-strip img {
  aspect-ratio: 760 / 500;
}

.image-strip figcaption {
  padding: 11px 13px 13px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 900;
  line-height: 1.45;
}

.wide-photo {
  margin-bottom: 16px;
}

.wide-photo img {
  aspect-ratio: 1120 / 520;
}

.card-grid,
.service-grid,
.reason-grid,
.flow-grid,
.voice-grid,
.faq-grid {
  display: grid;
  gap: 14px;
}

.card,
.service-card,
.reason-card,
.flow-card,
.voice-card,
.faq-card,
.side-card {
  background: var(--paper);
  border: 1px solid rgba(29, 36, 48, 0.1);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(19, 34, 61, 0.07);
}

.card,
.service-card,
.reason-card,
.flow-card,
.voice-card,
.faq-card {
  padding: 18px;
}

.card h3,
.service-card h3,
.reason-card h3,
.flow-card h3,
.voice-card h3,
.faq-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  line-height: 1.45;
}

.card p,
.service-card p,
.reason-card p,
.flow-card p,
.voice-card p,
.faq-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
}

.service-card {
  position: relative;
  overflow: hidden;
}

.service-card > .route-icon {
  margin-bottom: 13px;
  color: var(--cta);
}

.situation-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.situation-list li {
  padding: 13px 14px;
  background: var(--paper);
  border-left: 5px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: 0 8px 22px rgba(19, 34, 61, 0.07);
  font-weight: 800;
}

.layout {
  display: grid;
  gap: 22px;
}

.sidebar {
  display: grid;
  gap: 14px;
}

.side-card {
  padding: 16px;
}

.side-card h3 {
  margin: 0 0 10px;
  font-size: 1rem;
}

.side-links {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.side-links a {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  background: var(--tint);
  border-radius: 6px;
  color: var(--brand);
  font-size: 0.9rem;
  font-weight: 800;
}

.flow-card {
  counter-increment: step;
}

.flow-card::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 12px;
  color: #fff;
  background: var(--brand);
  border-radius: 50%;
  font-weight: 900;
}

.flow-grid {
  counter-reset: step;
}

.cta-band {
  position: relative;
  overflow: hidden;
  padding: 28px 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  border-radius: var(--radius);
}

.cta-band h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.55rem;
  line-height: 1.3;
}

.cta-band p {
  margin: 12px 0 0;
  color: rgba(255,255,255,0.88);
  font-weight: 700;
}

.site-footer {
  padding: 34px 0 94px;
  color: #fff;
  background: var(--brand-2);
}

.footer-cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-bottom: 30px;
  padding: 28px;
  color: var(--brand-2);
  background: #fff;
  border-top: 6px solid var(--accent);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

.footer-cta-kicker {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 900;
}

.footer-cta-title {
  margin: 0;
  color: var(--brand-2);
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  font-weight: 900;
  line-height: 1.35;
}

.footer-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.footer-cta-actions .button {
  min-width: 180px;
  text-align: center;
}

.footer-grid {
  display: grid;
  gap: 20px;
}

.footer-title {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 900;
}

.footer-text {
  margin: 0;
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
}

.footer-address {
  margin: 12px 0 0;
  color: rgba(255,255,255,0.82);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.8;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 14px;
}

.footer-links a {
  color: rgba(255,255,255,0.8);
  font-size: 0.86rem;
  font-weight: 700;
}

.mobile-cta {
  position: fixed;
  right: 12px;
  bottom: 12px;
  left: 12px;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(29, 36, 48, 0.16);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(10, 22, 38, 0.22);
  backdrop-filter: blur(12px);
}

.mobile-cta a {
  min-height: 48px;
  border-radius: var(--radius);
  font-size: 0.9rem;
}

.mobile-cta.mobile-cta-single {
  grid-template-columns: minmax(0, 1fr) !important;
}

.note {
  color: var(--muted);
  font-size: 0.82rem;
}

.site-trust {
  background:
    linear-gradient(90deg, rgba(198, 161, 87, 0.06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(10, 28, 50, 0.04) 1px, transparent 1px),
    #f1f3f6;
  background-size: 34px 34px;
  --brand: #071a31;
  --brand-2: #03101f;
  --accent: #c6a157;
  --accent-2: #ead8a4;
  --tint: #f4f1ea;
  --cta: #c6a157;
  --cta-ink: #081522;
}

.site-trust .site-header {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(7, 26, 49, 0.14);
  box-shadow: 0 14px 34px rgba(7, 26, 49, 0.08);
}

.site-trust .brand-mark {
  border-radius: 3px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.22), 0 10px 22px rgba(7, 26, 49, 0.18);
}

.site-trust .brand-title {
  letter-spacing: 0.04em;
}

.site-trust .topline {
  background: #03101f;
  border-bottom: 1px solid rgba(198, 161, 87, 0.5);
}

.site-trust .global-nav a {
  border-radius: 2px;
}

.site-trust .global-nav a:first-child,
.site-trust .global-nav a:hover {
  background: #071a31;
  box-shadow: inset 0 -3px 0 var(--accent);
}

.site-trust .hero {
  background:
    linear-gradient(118deg, rgba(3, 16, 31, 0.98) 0%, rgba(7, 26, 49, 0.97) 52%, rgba(15, 43, 73, 0.94) 100%),
    repeating-linear-gradient(135deg, rgba(198, 161, 87, 0.18) 0 1px, transparent 1px 22px);
  border-bottom: 1px solid rgba(198, 161, 87, 0.42);
}

.site-trust .hero::before {
  opacity: 0.24;
  background:
    linear-gradient(90deg, rgba(198,161,87,0.14) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 52px 52px;
}

.site-trust .hero::after {
  right: 0;
  bottom: 0;
  width: 46vw;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, rgba(198, 161, 87, 0.09) 48%, rgba(255,255,255,0.08) 100%);
  transform: none;
}

.site-trust .hero-inner {
  gap: 34px;
}

.site-trust .hero h1 {
  max-width: 760px;
  padding-left: 20px;
  border-left: 5px solid var(--accent);
  text-shadow: 0 16px 34px rgba(0,0,0,0.24);
  word-break: keep-all;
  overflow-wrap: normal;
  line-break: strict;
}

.site-trust .hero-lead {
  max-width: 740px;
  color: rgba(255,255,255,0.84);
  font-size: 1.03rem;
  line-height: 1.9;
}

.site-trust .eyebrow {
  color: var(--accent-2);
  background: rgba(198, 161, 87, 0.08);
  border-color: rgba(198, 161, 87, 0.42);
  border-radius: 2px;
  letter-spacing: 0.12em;
}

.site-trust .button {
  border-radius: 3px;
}

.site-trust .button-primary {
  color: #071a31;
  background: linear-gradient(135deg, #ead8a4, #c6a157 62%, #a77e2f);
  box-shadow: 0 16px 34px rgba(0,0,0,0.28);
}

.site-trust .button-secondary {
  color: #f7edd1;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(198, 161, 87, 0.46);
}

.trust-metrics {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.trust-meter {
  position: relative;
  padding: 15px 16px;
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(198, 161, 87, 0.34);
  border-left: 4px solid var(--accent);
  border-radius: 2px;
}

.trust-meter strong {
  display: block;
  color: var(--accent-2);
  font-size: 1.2rem;
  line-height: 1.35;
  letter-spacing: 0.08em;
}

.trust-meter span {
  display: block;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.8rem;
  font-weight: 700;
}

.trust-panel-header {
  padding: 14px 18px;
  color: var(--accent-2);
  background: #03101f;
  border-top: 1px solid rgba(198, 161, 87, 0.52);
  border-bottom: 1px solid rgba(198, 161, 87, 0.28);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.trust-checklist {
  display: grid;
  gap: 10px;
  padding: 18px;
  margin: 0;
  list-style: none;
}

.trust-checklist li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: center;
  min-height: 48px;
  padding: 12px;
  background: #f9f7f1;
  border: 1px solid rgba(7, 26, 49, 0.1);
  border-radius: 2px;
  font-weight: 800;
}

.trust-checklist li::before {
  content: "審";
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: #fff;
  background: #071a31;
  border: 1px solid var(--accent);
  border-radius: 2px;
  font-size: 0.7rem;
  font-weight: 900;
}

.site-trust .card,
.site-trust .reason-card,
.site-trust .faq-card {
  border-left: 4px solid var(--accent);
  border-radius: 2px;
  box-shadow: 0 16px 38px rgba(7, 26, 49, 0.08);
}

.site-trust .service-card {
  border-top: 4px solid var(--brand);
  border-radius: 2px;
}

.site-trust .side-card {
  border-top: 4px solid var(--accent);
  border-radius: 2px;
}

.site-trust .section-kicker {
  color: #a77e2f;
  letter-spacing: 0.14em;
}

.site-trust .section h2 {
  color: #101827;
  word-break: keep-all;
  overflow-wrap: normal;
  line-break: strict;
}

.site-trust .graphic-card,
.site-trust .story-card,
.site-trust .image-strip figure,
.site-trust .wide-photo,
.site-trust .card,
.site-trust .service-card,
.site-trust .reason-card,
.site-trust .flow-card,
.site-trust .faq-card,
.site-trust .side-card {
  border-radius: 2px;
}

.site-trust .graphic-card,
.site-trust .story-card,
.site-trust .image-strip figure,
.site-trust .wide-photo {
  border: 1px solid rgba(7, 26, 49, 0.12);
  box-shadow: 0 20px 46px rgba(7, 26, 49, 0.12);
}

.site-trust .graphic-caption,
.site-trust .story-body,
.site-trust .image-strip figcaption {
  border-top: 1px solid rgba(198, 161, 87, 0.34);
}

.site-trust .flow-card::before {
  color: #071a31;
  background: linear-gradient(135deg, #ead8a4, #c6a157);
  border-radius: 2px;
}

.site-trust .cta-band {
  border: 1px solid rgba(198, 161, 87, 0.5);
  border-radius: 2px;
  background:
    linear-gradient(135deg, rgba(3,16,31,0.98), rgba(7,26,49,0.94)),
    repeating-linear-gradient(135deg, rgba(198,161,87,0.16) 0 1px, transparent 1px 18px);
}

.site-trust .hero-panel {
  border: 1px solid rgba(198, 161, 87, 0.42);
  border-radius: 2px;
  box-shadow: 0 28px 72px rgba(0,0,0,0.34);
}

.site-trust .hero-graphic {
  position: relative;
}

.site-trust .hero-graphic::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(3,16,31,0.72));
  pointer-events: none;
}

.site-yasashii {
  --soft: #f2f8f6;
  background:
    linear-gradient(90deg, rgba(31, 92, 85, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(199, 137, 76, 0.05) 1px, transparent 1px),
    var(--soft);
  background-size: 34px 34px;
}

.site-yasashii .site-header {
  border-bottom: 1px solid rgba(31, 92, 85, 0.18);
}

.site-yasashii .hero {
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(232, 246, 241, 0.92)),
    repeating-linear-gradient(90deg, rgba(31, 92, 85, 0.12) 0 1px, transparent 1px 26px);
}

.site-yasashii .hero::before {
  opacity: 0.26;
  background:
    linear-gradient(135deg, rgba(47, 125, 111, 0.1), transparent 40%),
    linear-gradient(0deg, rgba(199, 137, 76, 0.08), transparent 52%);
}

.site-yasashii .hero::after {
  background: rgba(47, 125, 111, 0.08);
}

.site-yasashii .eyebrow {
  color: var(--brand);
  background: rgba(47, 125, 111, 0.08);
  border-color: rgba(47, 125, 111, 0.18);
}

.site-yasashii .hero-lead {
  color: #45546a;
}

.site-yasashii .button-secondary {
  color: var(--brand);
  background: #fff;
  border-color: rgba(31, 92, 85, 0.24);
}

.choice-panel {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.choice-card {
  padding: 14px;
  background: #fff;
  border: 1px solid rgba(31, 92, 85, 0.14);
  border-left: 5px solid var(--accent);
  border-radius: var(--radius);
}

.choice-card strong {
  display: block;
  margin-bottom: 4px;
  line-height: 1.4;
}

.choice-card span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.site-yasashii .situation-list {
  gap: 12px;
}

.site-yasashii .situation-list li {
  position: relative;
  min-height: 74px;
  padding: 16px 16px 16px 46px;
  background: #fff;
  border-left: 0;
}

.site-yasashii .situation-list li::before {
  content: "";
  position: absolute;
  top: 21px;
  left: 16px;
  width: 16px;
  height: 16px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(199, 137, 76, 0.14);
}

.guide-steps {
  display: grid;
  gap: 12px;
}

.guide-step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  padding: 16px;
  background: #fff;
  border: 1px solid rgba(31, 92, 85, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(19, 34, 61, 0.06);
}

.guide-step em {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #fff;
  background: var(--brand);
  border-radius: 50%;
  font-style: normal;
  font-weight: 900;
}

.guide-step h3 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.guide-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

@media (min-width: 900px) {
  .nav-scroll {
    overflow-x: auto;
  }

  .global-nav {
    display: flex;
    gap: 6px;
    white-space: nowrap;
  }

  .header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .header-cta {
    display: flex;
    gap: 10px;
    align-items: center;
  }

  .tel {
    color: var(--brand);
    font-size: 0.86rem;
    font-weight: 900;
    text-align: right;
  }

  .hero-actions,
  .section-actions {
    display: flex;
    align-items: center;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.72fr);
    align-items: center;
    padding: 70px 0;
  }

  .visual-docs {
    grid-template-columns: 1fr 0.8fr;
  }

  .visual-docs .doc-box:nth-child(2) {
    display: block;
  }

  .hero h1 {
    font-size: 3.55rem;
  }

  .section h2 {
    font-size: 2.45rem;
  }

  .cta-band h2 {
    font-size: 2.15rem;
  }

  .card-grid,
  .service-grid,
  .reason-grid,
  .voice-grid,
  .faq-grid,
  .graphic-grid,
  .story-grid,
  .image-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story-card-large {
    grid-row: span 2;
  }

  .story-card-large img {
    aspect-ratio: 900 / 660;
  }

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

/* Final guard: prevent the Site A contact CTA from overlapping text at any width. */
.site-trust-redesign .office-contact-section {
  grid-template-columns: minmax(0, 1fr) !important;
  align-items: start !important;
}

.site-trust-redesign .office-contact-section h2 {
  max-width: 100% !important;
  font-size: clamp(1.7rem, 3.2vw, 2.2rem) !important;
  word-break: normal !important;
  overflow-wrap: anywhere !important;
  line-break: strict !important;
}

.site-trust-redesign .office-contact-section p {
  max-width: 760px;
}

.site-trust-redesign .office-contact-actions {
  position: relative;
  z-index: 1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 680px;
}

@media (max-width: 700px) {
  .site-trust-redesign .office-contact-actions {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (min-width: 980px) {
  .layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: start;
  }

  .sidebar {
    position: sticky;
    top: 128px;
  }

  .service-grid,
  .reason-grid,
  .graphic-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .story-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .image-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero h1 {
    font-size: 4.05rem;
  }

  .section h2 {
    font-size: 2.75rem;
  }

  .cta-band h2 {
    font-size: 2.35rem;
  }

  .mobile-cta {
    display: none;
  }

  .site-footer {
    padding-bottom: 42px;
  }

  .footer-grid {
    grid-template-columns: 1fr auto;
    align-items: start;
  }

  .trust-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site-yasashii .layout {
    grid-template-columns: 280px minmax(0, 1fr);
  }

  .site-yasashii .layout > div {
    order: 2;
  }

  .site-yasashii .sidebar {
    order: 1;
  }
}

@media (max-width: 899px) {
  .container,
  .topline-inner,
  .header-inner,
  .global-nav {
    width: calc(100% - 32px);
  }

  .hero-inner,
  .card-grid,
  .service-grid,
  .reason-grid,
  .flow-grid,
  .voice-grid,
  .faq-grid,
  .trust-metrics,
  .guide-steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero h1,
  .section h2,
  .cta-band h2,
  .hero-lead,
  .section-lead,
  .card h3,
  .card p,
  .service-card h3,
  .service-card p,
  .reason-card h3,
  .reason-card p,
  .flow-card h3,
  .flow-card p,
  .faq-card h3,
  .faq-card p,
  .situation-list li {
    max-width: 100%;
    word-break: break-all;
    overflow-wrap: anywhere;
  }

  .topline-inner {
    display: block;
  }

  .hero h1 {
    font-size: 1.68rem;
    line-height: 1.18;
  }

  .site-trust .hero h1 {
    font-size: 1.86rem;
    line-height: 1.2;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .site-trust .nav-scroll {
    overflow-x: auto;
  }

  .site-trust .global-nav {
    display: flex;
    gap: 6px;
    width: max-content;
    min-width: 100%;
    padding: 8px 16px;
    white-space: nowrap;
  }

  .site-trust .global-nav a {
    flex: 0 0 auto;
    min-width: auto;
    padding: 8px 12px;
    font-size: 0.82rem;
  }

  .site-trust .hero,
  .site-trust .hero-inner,
  .site-trust .hero-panel,
  .site-trust .trust-metrics,
  .site-trust .trust-meter {
    max-width: 100%;
    overflow-x: hidden;
  }

  .site-trust .hero-lead,
  .site-trust .section h2 {
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .site-trust .hero-lead {
    font-size: 0.9rem;
    line-height: 1.9;
    word-break: break-all;
    overflow-wrap: anywhere;
  }

  .button {
    width: 100%;
  }
}

/* Site A rebuild: mature, readable legal-office layout */
.site-trust-redesign {
  --brand: #10243f;
  --brand-2: #08182b;
  --accent: #a77b2e;
  --accent-2: #d7bc7a;
  --tint: #f6f1e7;
  --soft: #f4f5f4;
  --cta: #b88a36;
  background: #f4f5f4;
}

.site-trust-redesign .site-header {
  background: #fff;
  box-shadow: 0 8px 24px rgba(16, 36, 63, 0.08);
}

.site-trust-redesign .topline {
  background: #10243f;
}

.site-trust-redesign .topline-inner,
.site-trust-redesign .header-inner,
.site-trust-redesign .global-nav {
  width: min(1640px, calc(100% - 56px));
}

.site-trust-redesign .topline-inner span + span {
  display: inline;
}

.site-trust-redesign .header-inner {
  grid-template-columns: minmax(390px, 0.95fr) minmax(300px, 0.7fr) auto;
  padding: 18px 0;
}

.site-trust-redesign .header-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: stretch;
  justify-self: stretch;
}

.site-trust-redesign .header-proof span {
  display: grid;
  place-items: center;
  min-height: 48px;
  padding: 8px 10px;
  color: #10243f;
  background: #f7f3ea;
  border: 1px solid rgba(16, 36, 63, 0.14);
  border-bottom: 3px solid #a77b2e;
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
}

.site-trust-redesign .header-cta {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-self: end;
}

.site-trust-redesign .tel {
  min-width: 170px;
  color: #10243f;
  font-size: 0.98rem;
  font-weight: 900;
  line-height: 1.45;
  text-align: right;
}

.site-trust-redesign .header-cta .button {
  min-width: 174px;
  min-height: 64px;
  font-size: 1.05rem;
}

.site-trust-redesign .brand-mark {
  border-radius: 2px;
  background: #10243f;
  box-shadow: inset 0 -4px 0 #a77b2e;
}

.site-trust-redesign .brand-logo-mark {
  width: 58px;
  height: 58px;
  flex-basis: 58px;
}

.site-trust-redesign .brand-title {
  letter-spacing: 0;
  font-size: 1.18rem;
  line-height: 1.2;
}

.site-trust-redesign .brand-title span {
  display: block;
  white-space: nowrap;
}

.site-trust-redesign .brand-sub {
  font-size: 0.82rem;
}

.site-trust-redesign .nav-scroll {
  border-top: 1px solid rgba(16, 36, 63, 0.1);
}

.site-trust-redesign .global-nav {
  justify-content: flex-start;
  gap: 12px;
}

.site-trust-redesign .global-nav a {
  border-radius: 2px;
  font-size: 0.9rem;
}

.site-trust-redesign .global-nav a:first-child,
.site-trust-redesign .global-nav a:hover {
  background: #10243f;
  box-shadow: inset 0 -3px 0 #a77b2e;
}

@media (min-width: 900px) and (max-width: 1280px) {
  .site-trust-redesign .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
  }

  .site-trust-redesign .header-proof {
    display: none;
  }

  .site-trust-redesign .header-cta {
    gap: 10px;
  }

  .site-trust-redesign .tel {
    min-width: 136px;
    font-size: 0.88rem;
  }

  .site-trust-redesign .header-cta .button {
    min-width: 148px;
  }
}

@media (min-width: 900px) and (max-width: 1080px) {
  .site-trust-redesign .tel {
    display: none;
  }
}

.office-hero {
  position: relative;
  min-height: 680px;
  padding: 64px 0 42px;
  color: #fff;
  background: #10243f;
  border-bottom: 6px solid #a77b2e;
  overflow: hidden;
}

.office-hero-grid {
  display: grid;
  gap: 20px;
  position: relative;
  min-height: 574px;
  align-items: center;
}

.office-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 0;
  background: transparent;
  border: 0;
  border-top: 0;
  box-shadow: none;
  overflow: visible;
}

.office-hero-copy > :not(.office-hero-eyecatch) {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.office-hero-eyecatch {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  margin: 0;
  background: #10243f;
}

.office-hero-eyecatch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.office-hero-eyecatch::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(7,18,34,0.94) 0%, rgba(16,36,63,0.82) 38%, rgba(16,36,63,0.42) 62%, rgba(16,36,63,0.08) 100%),
    linear-gradient(0deg, rgba(7,18,34,0.48), rgba(7,18,34,0.05) 42%, rgba(7,18,34,0.18));
  pointer-events: none;
}

.office-label,
.office-section .section-kicker,
.office-contact-section .section-kicker {
  display: inline-block;
  margin: 0 0 12px;
  padding: 5px 10px;
  color: #10243f;
  background: #f1e6cf;
  border-left: 4px solid #a77b2e;
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0;
}

.office-hero .office-label {
  color: #10243f;
  background: #f3dfaa;
}

.office-hero h1 {
  margin: 0;
  color: #fff;
  font-family: var(--font-serif);
  font-size: 2rem;
  line-height: 1.22;
  letter-spacing: 0;
  word-break: keep-all;
  overflow-wrap: normal;
}

.office-lead {
  max-width: 760px;
  margin: 18px 0 0;
  color: rgba(255,255,255,0.93);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 2;
}

.office-actions {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.site-trust-redesign .button {
  min-height: 56px;
  border-radius: 2px;
  font-size: 1rem;
}

.site-trust-redesign .button-primary {
  color: #10243f;
  background: #f3dfaa;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
}

.site-trust-redesign .button-secondary {
  color: #fff;
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.46);
}

.office-hero-brief {
  display: grid;
  gap: 18px;
  margin-top: 28px;
  padding: 20px;
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(243, 223, 170, 0.34);
  border-left: 5px solid #a77b2e;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.16);
}

.office-hero-brief h2 {
  margin: 0 0 12px;
  color: #10243f;
  font-family: var(--font-serif);
  font-size: 1.42rem;
}

.office-hero-brief ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.office-hero-brief li {
  position: relative;
  padding-left: 1.35em;
  color: #26354c;
  font-weight: 800;
}

.office-hero-brief li::before {
  content: "";
  position: absolute;
  top: 0.78em;
  left: 0;
  width: 8px;
  height: 8px;
  background: #a77b2e;
}

.office-assurance {
  display: grid;
  gap: 10px;
  margin: 0;
}

.office-hero-brief .office-assurance {
  grid-template-columns: minmax(0, 1fr);
}

.office-assurance div {
  display: grid;
  gap: 4px;
  padding: 14px;
  background: #fff;
  border: 1px solid rgba(16, 36, 63, 0.12);
  border-left: 5px solid #a77b2e;
}

.office-assurance dt {
  color: #7a5d24;
  font-size: 0.9rem;
  font-weight: 900;
}

.office-assurance dd {
  margin: 0;
  color: #172033;
  font-weight: 800;
  line-height: 1.55;
}

.office-panel-body {
  padding: 20px;
  border-top: 5px solid #a77b2e;
}

.office-panel-body h2 {
  margin: 0 0 12px;
  color: #10243f;
  font-family: var(--font-serif);
  font-size: 1.35rem;
}

.office-panel-body ul,
.office-document-copy ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.office-panel-body li,
.office-document-copy li {
  position: relative;
  padding-left: 1.4em;
  color: #26354c;
  font-weight: 800;
}

.office-panel-body li::before,
.office-document-copy li::before {
  content: "";
  position: absolute;
  top: 0.78em;
  left: 0;
  width: 9px;
  height: 9px;
  background: #a77b2e;
}

.office-first-band {
  padding: 18px 0;
  background: #10243f;
}

.office-first-grid {
  display: grid;
  gap: 10px;
}

.office-first-grid a {
  display: grid;
  gap: 4px;
  min-height: 104px;
  padding: 16px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(215, 188, 122, 0.35);
}

.office-first-grid a:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(215, 188, 122, 0.62);
}

.office-first-grid strong {
  color: #f3dfaa;
  font-size: 1.02rem;
}

.office-first-grid span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  font-weight: 700;
}

.office-news-line {
  padding: 14px 0 0;
  background: #f4f5f4;
}

.office-news-line p {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 0;
  padding: 12px 16px;
  color: #10243f;
  background: #f3dfaa;
  border-left: 6px solid #a77b2e;
  box-shadow: 0 10px 26px rgba(16, 36, 63, 0.1);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
}

.office-news-line time,
.office-news-line strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  line-height: 1;
}

.office-news-line time {
  flex: 0 0 auto;
  padding: 0 14px;
  color: #fff;
  background: #10243f;
  font-size: 0.96rem;
  font-weight: 900;
}

.office-news-line strong {
  color: #10243f;
  font-size: 1rem;
  font-weight: 900;
}

.office-main {
  padding-top: 44px;
}

.office-section,
.office-document-section,
.office-process-section,
.office-faq-section,
.office-contact-section {
  padding: 38px 0;
}

.office-section-head h2,
.office-document-copy h2,
.office-contact-section h2 {
  color: #10243f;
  font-family: var(--font-serif);
  font-size: 1.9rem;
  line-height: 1.32;
  word-break: keep-all;
  overflow-wrap: normal;
}

.office-section-head .section-lead,
.office-document-copy p,
.office-contact-section p {
  color: #536075;
  font-size: 1rem;
  font-weight: 700;
  line-height: 2;
}

.site-trust-redesign .office-section[style*="10243f"],
.site-trust-redesign .office-section.is-dark,
.site-trust-redesign .office-dark-section {
  background: #071b31;
}

.site-trust-redesign .office-section[style*="10243f"] .section-kicker,
.site-trust-redesign .office-section.is-dark .section-kicker,
.site-trust-redesign .office-dark-section .section-kicker {
  color: #14233a;
  background: #f2d995;
  border-left-color: #b7822d;
}

.site-trust-redesign .office-section[style*="10243f"] h2,
.site-trust-redesign .office-section.is-dark h2,
.site-trust-redesign .office-dark-section h2 {
  color: #ffffff;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.18);
}

.site-trust-redesign .office-section[style*="10243f"] .section-lead,
.site-trust-redesign .office-section.is-dark .section-lead,
.site-trust-redesign .office-dark-section .section-lead {
  max-width: 860px;
  color: #e8eef7;
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 2.05;
  letter-spacing: 0;
}

.office-issue-grid,
.office-service-list,
.office-process,
.office-photo-row {
  display: grid;
  gap: 14px;
}

.office-issue-grid article {
  padding: 20px;
  background: #fff;
  border: 1px solid rgba(16, 36, 63, 0.12);
  border-top: 4px solid #a77b2e;
  box-shadow: 0 10px 26px rgba(16, 36, 63, 0.07);
}

.office-issue-grid article > span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
  color: #fff;
  background: #10243f;
  font-weight: 900;
}

.office-issue-grid .issue-icon {
  width: 58px;
  height: 58px;
  color: #f3dfaa;
  background: #10243f;
  border-bottom: 4px solid #a77b2e;
}

.office-issue-grid .issue-icon svg {
  width: 36px;
  height: 36px;
}

.office-issue-grid h3,
.office-service-list strong,
.office-process strong {
  margin: 0 0 8px;
  color: #172033;
  font-size: 1.08rem;
  line-height: 1.55;
}

.office-issue-grid p {
  margin: 0;
  color: #5b6678;
  font-weight: 700;
}

.office-document-section {
  display: grid;
  gap: 22px;
  padding: 28px;
  background: #fff;
  border: 1px solid rgba(16, 36, 63, 0.12);
  box-shadow: 0 14px 34px rgba(16, 36, 63, 0.08);
}

.office-document-photos {
  display: grid;
  gap: 14px;
}

.office-document-visual {
  justify-self: end;
  overflow: hidden;
  width: min(100%, 430px);
  min-height: 300px;
  border: 1px solid rgba(16, 36, 63, 0.12);
  box-shadow: 0 14px 30px rgba(16, 36, 63, 0.1);
}

.office-document-visual img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}

.site-trust-redesign .office-document-section {
  overflow: hidden;
}

.site-trust-redesign .office-document-copy {
  min-width: 0;
}

.site-trust-redesign .office-document-copy h2 {
  max-width: 100%;
  font-size: clamp(1.75rem, 2.45vw, 2.2rem);
  word-break: normal;
  overflow-wrap: anywhere;
  line-break: strict;
}

.site-trust-redesign .office-document-visual {
  width: 100%;
  max-width: 520px;
}

.office-document-photos figure,
.office-photo-row figure {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin: 0;
  background: #fff;
  border: 1px solid rgba(16, 36, 63, 0.12);
}

.office-document-photos img,
.office-photo-row img {
  width: 100%;
  aspect-ratio: 760 / 500;
  object-fit: cover;
}

.office-document-photos figcaption,
.office-photo-row figcaption {
  flex: 1;
  padding: 12px 14px;
  color: #10243f;
  background: #f7f3ea;
  border-top: 1px solid rgba(167, 123, 46, 0.28);
  font-weight: 900;
}

.office-service-list a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(104px, 24%);
  grid-template-rows: auto auto;
  gap: 8px 18px;
  align-items: center;
  padding: 18px;
  background: #fff;
  border: 1px solid rgba(16, 36, 63, 0.12);
  border-left: 5px solid #a77b2e;
  box-shadow: 0 8px 22px rgba(16, 36, 63, 0.06);
}

.office-service-list .route-icon {
  display: none;
}

.office-service-list strong {
  grid-column: 1;
  grid-row: 1;
}

.office-service-list span,
.office-process span {
  color: #5b6678;
  font-size: 0.95rem;
  font-weight: 700;
}

.office-service-list span {
  grid-column: 1;
  grid-row: 2;
}

.service-thumb {
  grid-column: 2;
  grid-row: 1 / 3;
  justify-self: end;
  width: min(118px, 100%);
  aspect-ratio: 320 / 210;
  object-fit: cover;
  border: 1px solid rgba(16, 36, 63, 0.12);
  box-shadow: 0 8px 18px rgba(16, 36, 63, 0.08);
}

.office-process {
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: office-step;
}

.office-process li {
  counter-increment: office-step;
  position: relative;
  display: grid;
  gap: 5px;
  padding: 20px 20px 20px 72px;
  background: #fff;
  border: 1px solid rgba(16, 36, 63, 0.12);
}

.office-process li::before {
  content: counter(office-step);
  position: absolute;
  top: 18px;
  left: 18px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #fff;
  background: #10243f;
  border-bottom: 4px solid #a77b2e;
  font-weight: 900;
}

.office-faq-section .faq-card {
  border-left: 5px solid #a77b2e;
  border-radius: 0;
}

.office-faq-section .faq-card h3,
.office-faq-section .faq-card p {
  word-break: normal;
  overflow-wrap: break-word;
  line-break: strict;
}

.office-contact-section {
  display: grid;
  gap: 20px;
  padding: 28px;
  color: #fff;
  background: #10243f;
  border-top: 6px solid #a77b2e;
}

.office-contact-section > div {
  min-width: 0;
}

.office-contact-section h2,
.office-contact-section p {
  color: #fff !important;
}

.office-contact-section h2 {
  max-width: 760px;
  word-break: normal;
  overflow-wrap: anywhere;
}

.office-contact-section .section-kicker {
  color: #10243f;
  background: #f3dfaa;
}

.office-contact-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-content: center;
  max-width: 620px;
}

.office-contact-section .button-primary {
  color: #10243f;
  background: #f3dfaa;
}

.office-contact-section .button-secondary {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.48);
}

.office-sidebar .side-card {
  border-radius: 0;
  border-top: 5px solid #a77b2e;
}

.office-sidebar .side-links a {
  color: #10243f;
  background: #f7f3ea;
}

.office-sidebar .link-icon {
  color: #a77b2e;
}

@media (min-width: 900px) {
  .office-hero {
    padding: 52px 0 38px;
  }

  .office-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
  }

  .office-hero h1 {
    font-size: 3rem;
  }

  .office-actions {
    display: flex;
  }

  .office-assurance {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .office-hero-brief {
    grid-template-columns: minmax(280px, 0.68fr) minmax(0, 1fr);
    align-items: start;
  }

  .office-first-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .guide-button-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .office-issue-grid,
  .office-service-list,
  .office-photo-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .office-document-section {
    grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.78fr);
    align-items: center;
  }

  .office-document-photos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .office-contact-section {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }
}

@media (min-width: 980px) {
  .site-trust-redesign .layout {
    grid-template-columns: minmax(0, 1fr) 310px;
  }

  .office-issue-grid,
  .office-service-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .office-photo-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .office-section-head h2,
  .office-document-copy h2,
  .office-contact-section h2 {
    font-size: 2.45rem;
  }
}

@media (max-width: 899px) {
  .site-trust-redesign,
  .site-trust-redesign * {
    max-width: 100%;
  }

  .site-trust-redesign {
    width: 100%;
    overflow-x: hidden;
  }

  .site-trust-redesign .container,
  .site-trust-redesign .topline-inner,
  .site-trust-redesign .header-inner,
  .site-trust-redesign .global-nav {
    width: calc(100% - 32px);
    max-width: calc(100% - 32px);
  }

  .site-trust-redesign .header-proof {
    display: none;
  }

  .site-trust-redesign .header-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-trust-redesign .header-cta {
    display: none;
  }

  .site-trust-redesign .topline-inner span + span {
    display: none;
  }

  .office-hero-copy,
  .office-assurance div,
  .office-first-grid a,
  .office-issue-grid article,
  .office-service-list a,
  .office-process li,
  .office-document-section,
  .office-contact-section {
    width: 100%;
    min-width: 0;
  }

  .office-hero {
    min-height: 0;
    padding: 260px 0 28px;
    overflow-x: hidden;
  }

  .office-hero-grid {
    min-height: 0;
  }

  .office-hero-copy {
    min-height: 0;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .office-hero-copy > :not(.office-hero-eyecatch) {
    max-width: none;
  }

  .office-hero-eyecatch {
    position: absolute;
    inset: auto;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: 300px;
    margin: 0;
  }

  .office-hero-eyecatch::before {
    background:
      linear-gradient(180deg, rgba(16,36,63,0.08) 0%, rgba(16,36,63,0.28) 45%, #10243f 100%),
      linear-gradient(90deg, rgba(16,36,63,0.08), rgba(16,36,63,0.2));
  }

  .office-hero-brief {
    padding: 18px 14px;
  }

  .office-hero h1 {
    max-width: calc(100vw - 32px);
    font-size: 1.62rem;
    line-height: 1.32;
    word-break: break-all;
    overflow-wrap: anywhere;
    line-break: anywhere;
  }

  .office-lead,
  .office-section-head .section-lead,
  .office-document-copy p,
  .office-contact-section p,
  .office-issue-grid p,
  .office-service-list span,
  .office-process span {
    max-width: calc(100vw - 32px);
    font-size: 0.98rem;
    line-height: 1.9;
    word-break: break-all;
    overflow-wrap: anywhere;
    line-break: anywhere;
  }

  .office-news-line p {
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    font-size: 0.86rem;
  }

  .office-news-line time,
  .office-news-line strong {
    min-height: 36px;
  }

  .office-news-line time {
    padding: 0 10px;
    font-size: 0.78rem;
  }

  .office-news-line strong {
    font-size: 0.86rem;
  }

  .office-service-list a {
    grid-template-columns: minmax(0, 1fr) 72px;
    gap: 8px 10px;
    padding: 14px;
  }

  .office-service-list .route-icon {
    display: none;
  }

  .office-service-list strong {
    font-size: 0.98rem;
    line-height: 1.45;
  }

  .office-service-list .service-thumb {
    width: 72px;
  }

  .site-trust-redesign .mobile-cta {
    right: 8px;
    left: 8px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 6px;
    width: auto;
  }

  .site-trust-redesign .mobile-cta .button {
    min-width: 0;
    padding-right: 6px;
    padding-left: 6px;
    font-size: 0.84rem;
  }

  .office-document-section,
  .office-contact-section {
    padding: 22px 16px;
  }

  .office-contact-actions {
    grid-template-columns: minmax(0, 1fr);
    max-width: none;
  }

  .office-section-head h2,
  .office-document-copy h2,
  .office-contact-section h2 {
    font-size: 1.65rem;
    word-break: break-all;
    overflow-wrap: anywhere;
    line-break: anywhere;
  }

  .office-assurance,
  .office-issue-grid,
  .office-service-list,
  .office-process,
  .office-photo-row,
  .office-document-photos {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Last override: Site A contact CTA must never overlap the heading. */
.site-trust-redesign .office-contact-section {
  grid-template-columns: minmax(0, 1fr) !important;
  align-items: start !important;
}

.site-trust-redesign .office-contact-section h2 {
  max-width: 100% !important;
  font-size: clamp(1.7rem, 3.2vw, 2.2rem) !important;
  word-break: normal !important;
  overflow-wrap: anywhere !important;
  line-break: strict !important;
}

.site-trust-redesign .office-contact-section p {
  max-width: 760px !important;
}

.site-trust-redesign .office-contact-section .section-kicker {
  color: #071222 !important;
  background: #f3dfaa !important;
  border-left: 5px solid #a77b2e !important;
  text-shadow: none !important;
}

.site-trust-redesign .office-contact-actions {
  position: relative !important;
  z-index: 1 !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  max-width: 680px !important;
}

@media (max-width: 700px) {
  .site-trust-redesign .office-contact-actions {
    grid-template-columns: minmax(0, 1fr) !important;
    max-width: none !important;
  }
}

/* Last override: keep the Site A mobile first view compact. */
@media (max-width: 899px) {
  .site-trust-redesign .topline {
    font-size: 0.72rem;
  }

  .site-trust-redesign .topline-inner {
    padding: 4px 0;
  }

  .site-trust-redesign .header-inner {
    display: flex !important;
    gap: 10px !important;
    align-items: center !important;
    padding: 10px 0 !important;
    padding-right: 58px !important;
  }

  .site-yasashii .header-inner {
    padding-right: 58px !important;
  }

  .site-trust-redesign .brand-mark {
    width: 46px !important;
    height: 46px !important;
    flex-basis: 46px !important;
    font-size: 1.15rem !important;
  }

  .site-trust-redesign .brand-logo-mark {
    width: 48px !important;
    height: 48px !important;
    flex-basis: 48px !important;
  }

  .site-trust-redesign .brand-title {
    font-size: 1.02rem !important;
    line-height: 1.25 !important;
    word-break: keep-all !important;
    overflow-wrap: anywhere !important;
  }

  .site-trust-redesign .brand-sub {
    font-size: 0.72rem !important;
    line-height: 1.35 !important;
  }

  .site-trust-redesign .nav-scroll,
  .site-yasashii .nav-scroll {
    display: none !important;
  }

  .mobile-menu-bar {
    display: block !important;
    position: fixed !important;
    top: 44px !important;
    right: 10px !important;
    z-index: 80 !important;
    width: auto !important;
    padding: 0 !important;
    border-top: 0 !important;
    box-sizing: border-box !important;
  }

  .mobile-menu {
    width: auto !important;
    max-width: none !important;
  }

  .mobile-menu summary {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 48px !important;
    height: 48px !important;
    min-height: 48px !important;
    color: #fff !important;
    background: var(--brand) !important;
    border: 2px solid #fff !important;
    border-radius: 3px !important;
    box-shadow: 0 10px 24px rgba(16, 36, 63, 0.24), inset 0 -4px 0 var(--gold) !important;
    cursor: pointer !important;
  }

  .mobile-menu summary span:not(.hamburger-icon) {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
  }

  .hamburger-icon,
  .hamburger-icon::before,
  .hamburger-icon::after {
    display: block !important;
    width: 20px !important;
    height: 2px !important;
    background: currentColor !important;
    border-radius: 99px !important;
  }

  .hamburger-icon {
    position: relative !important;
  }

  .hamburger-icon::before,
  .hamburger-icon::after {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
  }

  .hamburger-icon::before {
    top: -7px !important;
  }

  .hamburger-icon::after {
    top: 7px !important;
  }

  .mobile-menu[open] summary {
    border-radius: 3px !important;
  }

  .mobile-menu-panel {
    display: grid !important;
    gap: 12px !important;
    position: fixed !important;
    top: 100px !important;
    right: 10px !important;
    bottom: calc(92px + env(safe-area-inset-bottom)) !important;
    left: 10px !important;
    width: auto !important;
    max-height: calc(100dvh - 192px - env(safe-area-inset-bottom)) !important;
    overflow-y: auto !important;
    padding: 14px 14px 28px !important;
    background: #fff !important;
    border: 1px solid rgba(16, 36, 63, 0.14) !important;
    border-top: 4px solid var(--brand) !important;
    box-shadow: 0 18px 40px rgba(16, 36, 63, 0.14) !important;
    box-sizing: border-box !important;
    overscroll-behavior: contain !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .mobile-menu-group {
    display: grid !important;
    gap: 7px !important;
  }

  .mobile-menu-group p {
    margin: 0 0 2px !important;
    color: #a77b2e !important;
    font-size: 0.78rem !important;
    font-weight: 900 !important;
  }

  .mobile-menu-group a {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 11px 12px !important;
    color: #10243f !important;
    background: #f7f3ea !important;
    border-left: 4px solid #a77b2e !important;
    border-radius: 3px !important;
    box-sizing: border-box !important;
    font-size: 0.9rem !important;
    font-weight: 900 !important;
    line-height: 1.3 !important;
  }

  .site-trust-redesign .office-hero h1,
  .site-trust-redesign .office-lead {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-wrap: anywhere !important;
    word-break: break-all !important;
    line-break: anywhere !important;
    white-space: normal !important;
  }

  .site-trust-redesign .office-lead {
    font-size: 0.92rem !important;
    line-height: 1.75 !important;
  }

  .site-yasashii .hero,
  .site-yasashii .hero-inner,
  .site-yasashii .hero-inner > div,
  .site-yasashii .hero h1,
  .site-yasashii .hero-lead {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-wrap: anywhere !important;
    word-break: break-all !important;
    line-break: anywhere !important;
    white-space: normal !important;
  }

  .site-yasashii .hero-inner {
    padding: 42px 16px 30px !important;
  }

  .site-yasashii .hero h1 {
    font-size: 1.42rem !important;
    line-height: 1.32 !important;
  }

  .site-yasashii .hero-lead {
    font-size: 0.9rem !important;
    line-height: 1.75 !important;
  }

  .mobile-cta {
    right: 8px !important;
    left: 8px !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 6px !important;
    width: auto !important;
  }

  .mobile-cta .button {
    min-width: 0 !important;
    padding-right: 6px !important;
    padding-left: 6px !important;
    font-size: 0.82rem !important;
    line-height: 1.25 !important;
    white-space: normal !important;
  }

  .site-trust-redesign .office-hero {
    padding-top: 178px !important;
  }

  .site-trust-redesign .office-hero-eyecatch {
    height: 210px !important;
  }
}

/* Fee page PDF-based redesign 20260703 */
.page-id-12 .wp-page-content .fee-page {
  display: grid;
  gap: 28px;
}

.page-id-12 .wp-page-content .fee-lead {
  display: grid;
  gap: 12px;
  padding: 20px;
  background: #f8fafc;
  border: 1px solid rgba(18, 52, 90, 0.14);
  border-left: 6px solid var(--accent);
}

.page-id-12 .wp-page-content .fee-lead p,
.page-id-12 .wp-page-content .fee-note p {
  margin: 0;
}

.page-id-12 .wp-page-content .fee-section {
  display: grid;
  gap: 16px;
}

.page-id-12 .wp-page-content .fee-section h2 {
  margin: 0;
  padding: 13px 16px;
  color: #fff;
  background: var(--brand-2);
  border-left: 6px solid var(--accent);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.4;
}

.page-id-12 .wp-page-content .fee-section h3 {
  margin: 8px 0 0;
  padding: 10px 14px;
  color: var(--brand-2);
  background: #f6f1e5;
  border-left: 5px solid var(--accent);
  font-size: clamp(1.02rem, 1.7vw, 1.22rem);
}

.page-id-12 .wp-page-content .fee-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(18, 52, 90, 0.14);
  background: #fff;
  box-shadow: 0 12px 28px rgba(19, 34, 61, 0.07);
}

.page-id-12 .wp-page-content .fee-table {
  min-width: 720px;
  margin: 0;
  font-size: 0.96rem;
}

.page-id-12 .wp-page-content .fee-table th,
.page-id-12 .wp-page-content .fee-table td {
  padding: 13px 14px;
  line-height: 1.65;
  word-break: keep-all;
  line-break: strict;
}

.page-id-12 .wp-page-content .fee-table th {
  white-space: nowrap;
}

.page-id-12 .wp-page-content .fee-table td:last-child,
.page-id-12 .wp-page-content .fee-table .fee-price {
  font-weight: 900;
  color: var(--brand-2);
  white-space: nowrap;
}

.page-id-12 .wp-page-content .fee-note {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  color: #334155;
  background: #fffdf7;
  border: 1px solid rgba(184, 139, 50, 0.26);
}

.page-id-12 .wp-page-content .fee-note strong {
  color: var(--brand-2);
}

.page-id-12 .wp-page-content .fee-page ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-id-12 .wp-page-content .fee-page li {
  background: #fff;
}

@media (max-width: 700px) {
  .page-id-12 .wp-page-content .fee-lead,
  .page-id-12 .wp-page-content .fee-note {
    padding: 15px 14px;
  }

  .page-id-12 .wp-page-content .fee-table {
    min-width: 640px;
    font-size: 0.9rem;
  }

  .page-id-12 .wp-page-content .fee-section h2 {
    font-size: 1.14rem;
  }
}

/* Fee page mobile text wrap 20260703 */
@media (max-width: 700px) {
  .page-id-12 .wp-page-content .fee-lead p,
  .page-id-12 .wp-page-content .fee-note p {
    word-break: normal;
    overflow-wrap: anywhere;
    line-break: auto;
  }

  .page-id-12 .wp-page-content .fee-table-wrap {
    max-width: 100%;
  }
}

/* Fee page mobile table fit 20260703 */
@media (max-width: 700px) {
  .page-id-12 .wp-page-content .fee-table {
    min-width: 0;
    width: 100%;
    table-layout: fixed;
    font-size: 0.78rem;
  }

  .page-id-12 .wp-page-content .fee-table th,
  .page-id-12 .wp-page-content .fee-table td {
    padding: 10px 8px;
    white-space: normal;
    word-break: normal;
    overflow-wrap: anywhere;
    line-break: auto;
  }

  .page-id-12 .wp-page-content .fee-table td:last-child,
  .page-id-12 .wp-page-content .fee-table .fee-price {
    white-space: normal;
  }
}

/* Fee page mobile card table 20260703 */
@media (max-width: 700px) {
  .page-id-12 .wp-page-content .fee-table-wrap {
    overflow: visible;
  }

  .page-id-12 .wp-page-content .fee-table,
  .page-id-12 .wp-page-content .fee-table thead,
  .page-id-12 .wp-page-content .fee-table tbody,
  .page-id-12 .wp-page-content .fee-table tr,
  .page-id-12 .wp-page-content .fee-table th,
  .page-id-12 .wp-page-content .fee-table td {
    display: block;
    width: 100%;
  }

  .page-id-12 .wp-page-content .fee-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .page-id-12 .wp-page-content .fee-table tr {
    padding: 12px 12px;
    border-bottom: 1px solid rgba(18, 52, 90, 0.13);
  }

  .page-id-12 .wp-page-content .fee-table tr:last-child {
    border-bottom: 0;
  }

  .page-id-12 .wp-page-content .fee-table td,
  .page-id-12 .wp-page-content .fee-table th {
    border: 0;
    padding: 3px 0;
  }

  .page-id-12 .wp-page-content .fee-table td:first-child {
    color: var(--brand-2);
    font-weight: 900;
  }

  .page-id-12 .wp-page-content .fee-table td:last-child,
  .page-id-12 .wp-page-content .fee-table .fee-price {
    font-size: 1rem;
  }
}

/* Fee page hard wrap 20260703 */
.page-id-12 .wp-page-content .fee-lead,
.page-id-12 .wp-page-content .fee-note,
.page-id-12 .wp-page-content .fee-lead *,
.page-id-12 .wp-page-content .fee-note * {
  white-space: normal !important;
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
  line-break: auto !important;
}

/* Fee page payment rule cards 20260703 */
.page-id-12 .wp-page-content .fee-rule-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.page-id-12 .wp-page-content .fee-rule-list article {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 17px 18px;
  background: #fff;
  border: 1px solid rgba(18, 52, 90, 0.14);
  border-left: 5px solid var(--accent);
  box-shadow: 0 10px 24px rgba(19, 34, 61, 0.06);
}

.page-id-12 .wp-page-content .fee-rule-list h4 {
  margin: 0;
  color: var(--brand-2);
  font-size: 1rem;
  line-height: 1.45;
  font-weight: 900;
}

.page-id-12 .wp-page-content .fee-rule-list p {
  margin: 0;
  color: #334155;
  font-size: 0.95rem;
  line-height: 1.8;
}

@media (max-width: 700px) {
  .page-id-12 .wp-page-content .fee-rule-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .page-id-12 .wp-page-content .fee-rule-list article {
    padding: 14px 14px;
  }
}

/* Fee page no horizontal table scroll 20260703 */
.page-id-12 .wp-page-content .fee-table-wrap {
  overflow-x: visible;
}

.page-id-12 .wp-page-content .fee-table {
  min-width: 0;
  width: 100%;
  table-layout: auto;
}

.page-id-12 .wp-page-content .fee-table th,
.page-id-12 .wp-page-content .fee-table td,
.page-id-12 .wp-page-content .fee-table td:last-child,
.page-id-12 .wp-page-content .fee-table .fee-price {
  white-space: normal;
  word-break: normal;
  overflow-wrap: anywhere;
  line-break: auto;
}

@media (min-width: 701px) {
  .page-id-12 .wp-page-content .fee-table {
    font-size: 0.92rem;
  }

  .page-id-12 .wp-page-content .fee-table th,
  .page-id-12 .wp-page-content .fee-table td {
    padding: 12px 12px;
  }
}

/* Site A typography normalization 20260703 */
body:not(.home) :where(
  p,
  li,
  dd,
  td,
  figcaption,
  input,
  textarea,
  select,
  .page-body,
  .page-body p,
  .page-body li,
  .wp-page-content p,
  .wp-page-content li,
  .contact-page-intro p,
  .consult-recaptcha-note,
  .footer-text,
  .footer-address,
  .section-lead,
  .hero-lead,
  .card p,
  .service-card p,
  .reason-card p,
  .flow-card p,
  .faq-card p,
  .story-body p,
  .graphic-caption p,
  .fee-rule-list p
) {
  font-weight: 400 !important;
}

body:not(.home) :where(
  .global-nav a,
  .footer-links a,
  .side-links a,
  .consult-check,
  .fee-table td:first-child
) {
  font-weight: 500 !important;
}

body:not(.home) :where(
  h1,
  h2,
  h3,
  h4,
  th,
  strong,
  .button,
  .brand-title,
  .section-kicker,
  .fee-price,
  .consult-field label,
  .consult-checks legend,
  .footer-title
) {
  font-weight: 700 !important;
}

/* Shared attorney profile block 20260704 */
.attorney-profile-card {
  margin: 0 0 34px;
  padding: 28px;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  border: 1px solid rgba(126, 87, 44, 0.24);
  border-left: 8px solid #8b5f2a;
  border-radius: 12px;
  background: #fffaf1;
  box-shadow: 0 14px 34px rgba(48, 36, 24, 0.08);
}

.attorney-profile-card > p:empty {
  display: none !important;
}

.attorney-profile-card > .attorney-profile-photo {
  grid-column: 1;
  grid-row: 1;
}

.attorney-profile-body {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}

.attorney-profile-photo {
  width: 180px;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  object-fit: cover;
  object-position: center top;
  border: 4px solid #fff;
  box-shadow: 0 10px 24px rgba(42, 31, 20, 0.16);
}

.attorney-profile-kicker {
  margin: 0 0 8px;
  color: #8b5f2a;
  font-size: 0.95rem;
  font-weight: 700;
}

.wp-page-content .attorney-profile-card h2 {
  margin: 0 0 12px;
  padding: 0;
  color: #1f2937;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.35;
}

.wp-page-content .attorney-profile-card h2::before {
  content: none;
}

.attorney-profile-summary {
  margin: 0 0 14px;
  color: #374151;
}

.attorney-profile-list {
  margin: 0;
  padding-left: 1.2em;
  display: grid;
  gap: 6px;
}

.attorney-profile-list li {
  color: #374151;
}

.attorney-career {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(126, 87, 44, 0.22);
}

.wp-page-content .attorney-career h3 {
  margin: 0 0 12px;
  padding: 0;
  color: #1f2937;
  font-size: 1.35rem;
  line-height: 1.35;
}

.wp-page-content .attorney-career h3::before {
  content: none;
}

.attorney-career dl {
  margin: 0;
  display: grid;
  gap: 10px;
}

.attorney-career dl > div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 12px;
}

.attorney-career dt {
  color: #8b5f2a;
  font-weight: 700;
}

.attorney-career dd {
  margin: 0;
  color: #374151;
}

.attorney-career p {
  margin: 14px 0 0;
  color: #374151;
}

.page-id-8 .wp-page-content > h2:not(.wp-block-heading) {
  margin: 42px 0 18px;
  padding: 18px 20px;
  color: var(--brand-2);
  background: #f8f5ee;
  border-left: 6px solid var(--accent);
  font-size: clamp(1.25rem, 2.1vw, 1.65rem);
  line-height: 1.55;
}

.page-id-8 .wp-page-content > h2:not(.wp-block-heading) + p {
  margin-bottom: 28px;
}

@media (max-width: 700px) {
  .attorney-profile-card {
    grid-template-columns: 1fr;
    padding: 22px;
    gap: 18px;
  }

  .attorney-profile-card > .attorney-profile-photo,
  .attorney-profile-body {
    grid-column: 1;
    grid-row: auto;
  }

  .attorney-profile-photo {
    width: min(100%, 260px);
  }

  .attorney-career dl > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

/* 24-hour web reservation CTA 20260704 */
.button-reserve {
  color: #10243f !important;
  background: #f6c74f;
  border-color: #f6c74f;
  box-shadow: 0 14px 30px rgba(111, 73, 12, 0.22);
}

.button-reserve:hover,
.button-reserve:focus-visible {
  color: #10243f !important;
  background: #ffe08a;
  border-color: #ffe08a;
}

.site-trust-redesign .header-cta {
  flex-wrap: wrap;
}

.site-trust-redesign .office-contact-actions {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  max-width: 760px;
}

.site-trust-redesign .mobile-cta {
  display: none !important;
}

.site-trust-redesign .mobile-cta .button {
  min-width: 0;
  padding-inline: 10px;
}

.page-end-cta {
  margin-top: 48px;
  padding: 28px;
  background: #f8f5ee;
  border-left: 6px solid var(--accent);
}

.page-end-cta-label {
  margin: 0 0 18px;
  color: var(--brand-2);
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.7;
}

.page-end-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.page-end-cta-actions .button {
  min-width: 190px;
  text-align: center;
}

@media (max-width: 700px) {
  .site-trust-redesign .header-cta {
    align-items: stretch;
  }

  .site-trust-redesign .header-cta .button {
    width: 100%;
  }

  .site-trust-redesign .mobile-cta {
    grid-template-columns: 1fr;
  }

  .footer-cta-panel {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .footer-cta-actions {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: stretch;
  }

  .footer-cta-actions .button {
    width: 100%;
    min-width: 0;
  }

  .page-end-cta {
    padding: 22px;
  }

  .page-end-cta-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .page-end-cta-actions .button {
    width: 100%;
    min-width: 0;
  }
}
