: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;
}

* {
  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;
}

.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 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 {
  display: block;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  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-contact-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin: 0 0 28px;
  padding: 24px;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.18);
}

.footer-contact-kicker {
  margin: 0 0 8px;
  color: var(--brand);
  font-size: 0.88rem;
  font-weight: 700;
}

.footer-contact-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  font-weight: 700;
  line-height: 1.35;
}

.footer-contact-text {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

.footer-contact-button {
  min-width: 190px;
  min-height: 52px;
}

.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);
  }

  .footer-contact-cta {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 20px 16px;
  }

  .footer-contact-button {
    width: 100%;
  }
}

@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;
}

.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;
}

.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, 1fr) minmax(300px, 430px);
    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;
    left: 10px !important;
    width: auto !important;
    max-height: calc(100vh - 118px) !important;
    overflow-y: auto !important;
    padding: 14px !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;
  }

  .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;
  }

  .site-yasashii,
  .site-yasashii main,
  .site-yasashii .main,
  .site-yasashii .container,
  .site-yasashii .layout,
  .site-yasashii .layout > div,
  .site-yasashii .section,
  .site-yasashii .situation-list,
  .site-yasashii .situation-list li,
  .site-yasashii .graphic-grid,
  .site-yasashii .story-grid,
  .site-yasashii .service-grid,
  .site-yasashii .flow-grid,
  .site-yasashii .faq-grid {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .site-yasashii .situation-list li,
  .site-yasashii .flow-card,
  .site-yasashii .faq-card,
  .site-yasashii .graphic-card,
  .site-yasashii .story-card,
  .site-yasashii .service-card {
    width: 100% !important;
  }

  .site-yasashii .container,
  .site-yasashii .topline-inner,
  .site-yasashii .header-inner {
    width: calc(100% - 24px) !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-yasashii .guide-button-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .site-yasashii .guide-button {
    min-height: 0 !important;
  }

  .site-yasashii .guide-button strong,
  .site-yasashii .guide-button span,
  .site-yasashii .side-links a,
  .site-yasashii .situation-list li,
  .site-yasashii .inline-route a,
  .site-yasashii .section-lead,
  .site-yasashii .flow-card h3,
  .site-yasashii .flow-card p,
  .site-yasashii .faq-card h3,
  .site-yasashii .faq-card p {
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
  }

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

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

/* WordPress page content for Site B */
.site-yasashii .wp-page-content {
  padding: 32px;
  background: #fff;
  border: 1px solid rgba(31, 92, 85, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(19, 34, 61, 0.08);
}

.site-yasashii .wp-page-content h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.35;
}

.site-yasashii .wp-page-content,
.site-yasashii .wp-page-content :where(h1, h2, h3, h4, p, li, th, td, a, span, strong) {
  overflow-wrap: break-word;
  word-break: keep-all;
  line-break: strict;
  hanging-punctuation: allow-end;
}

.site-yasashii .page-body {
  display: grid;
  gap: 18px;
  margin-top: 20px;
}

.site-yasashii .page-body h2 {
  margin: 12px 0 0;
  padding: 10px 14px;
  color: var(--brand-2);
  background: #f7f3ea;
  border-left: 5px solid var(--accent);
  font-family: var(--font-sans);
  font-size: 1.18rem;
}

.site-yasashii .page-body h3 {
  position: relative;
  margin: 18px 0 2px;
  padding: 12px 16px 12px 42px;
  color: var(--brand-2);
  background: #fbfaf6;
  border: 1px solid rgba(31, 92, 85, 0.12);
  border-radius: var(--radius);
  font-size: 1.04rem;
  line-height: 1.55;
}

.site-yasashii .page-body h3::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 16px;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(199, 137, 76, 0.14);
}

.site-yasashii .page-body p,
.site-yasashii .page-body li {
  color: #45546a;
  font-weight: 700;
  line-height: 1.9;
}

.site-yasashii .page-body ul,
.site-yasashii .page-body ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 1.3em;
}

.site-yasashii .page-body table {
  width: 100%;
  border-collapse: collapse;
}

.site-yasashii .page-body th,
.site-yasashii .page-body td {
  padding: 12px;
  border: 1px solid rgba(31, 92, 85, 0.14);
  vertical-align: top;
}

.site-yasashii .fee-page {
  display: grid;
  gap: 34px;
}

.site-yasashii .fee-lead {
  display: grid;
  gap: 12px;
  padding: 22px 24px;
  background: linear-gradient(135deg, #f7f3ea, #ffffff);
  border: 1px solid rgba(31, 92, 85, 0.12);
  border-left: 6px solid var(--brand);
  border-radius: var(--radius);
}

.site-yasashii .fee-lead p,
.site-yasashii .fee-note p {
  margin: 0;
}

.site-yasashii .fee-section {
  display: grid;
  gap: 18px;
  padding-top: 4px;
}

.site-yasashii .fee-table-wrap {
  overflow-x: visible;
  border: 1px solid rgba(31, 92, 85, 0.14);
  border-radius: var(--radius);
  box-shadow: 0 10px 26px rgba(19, 34, 61, 0.06);
}

.site-yasashii .fee-table {
  min-width: 0;
  background: #fff;
  table-layout: fixed;
}

.site-yasashii .fee-table th {
  color: #fff;
  background: var(--brand-2);
  font-weight: 900;
}

.site-yasashii .fee-table td:first-child {
  color: var(--brand-2);
  font-weight: 900;
}

.site-yasashii .fee-table tbody tr:nth-child(even) {
  background: #fbfaf6;
}

.site-yasashii .fee-price {
  color: #0f2f2c;
  font-size: 1.02rem;
  font-weight: 900;
  white-space: normal;
}

.site-yasashii .fee-note {
  padding: 18px 20px;
  background: #fff8ea;
  border: 1px solid rgba(199, 137, 76, 0.22);
  border-left: 6px solid var(--accent);
  border-radius: var(--radius);
}

.site-yasashii .fee-note strong {
  color: var(--brand-2);
}

.site-yasashii .fee-rule-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.site-yasashii .fee-rule-list article {
  position: relative;
  padding: 18px 18px 18px 52px;
  background: #fff;
  border: 1px solid rgba(31, 92, 85, 0.13);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(19, 34, 61, 0.07);
}

.site-yasashii .fee-rule-list article::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 18px;
  width: 18px;
  height: 18px;
  background: var(--accent);
  border: 5px solid #f7f3ea;
  border-radius: 50%;
}

.site-yasashii .fee-rule-list h4 {
  margin: 0 0 8px;
  color: var(--brand-2);
  font-size: 1rem;
  line-height: 1.45;
}

.site-yasashii .fee-rule-list p {
  margin: 0;
  color: #45546a;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.8;
}

/* Site B typography: keep Meiryo readable without making all text bold. */
.site-yasashii {
  font-family: var(--font-sans);
  font-weight: 400;
}

.site-yasashii :where(p, li, td, dd, figcaption, .brand-sub, .topline, .section-lead, .hero-lead, .card p, .service-card p, .reason-card p, .flow-card p, .voice-card p, .faq-card p, .story-body p, .graphic-caption p, .page-body p, .page-body li, .fee-rule-list p) {
  font-weight: 400;
}

.site-yasashii :where(.global-nav a, .side-links a, .situation-list li, .mini-list li) {
  font-weight: 500;
}

.site-yasashii :where(.brand-title, h1, h2, h3, h4, th, strong, .button, .fee-price, .section-kicker) {
  font-weight: 700;
}

.site-yasashii .page-body p,
.site-yasashii .page-body li,
.site-yasashii .page-body td,
.site-yasashii .page-body dd,
.site-yasashii .section-lead,
.site-yasashii .hero-lead,
.site-yasashii .brand-sub,
.site-yasashii .footer-text,
.site-yasashii .footer-address,
.site-yasashii .graphic-caption p,
.site-yasashii .story-body p,
.site-yasashii .card p,
.site-yasashii .service-card p,
.site-yasashii .reason-card p,
.site-yasashii .flow-card p,
.site-yasashii .voice-card p,
.site-yasashii .faq-card p,
.site-yasashii .fee-rule-list p {
  font-weight: 400;
}

.site-yasashii .global-nav a,
.site-yasashii .side-links a,
.site-yasashii .situation-list li,
.site-yasashii .mini-list li,
.site-yasashii .footer-links a {
  font-weight: 500;
}

@media (max-width: 700px) {
  .site-yasashii .wp-page-content {
    padding: 18px 14px;
  }

  .site-yasashii .page-body,
  .site-yasashii .page-body * {
    max-width: 100%;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-break: keep-all !important;
    line-break: strict !important;
  }

  .site-yasashii .page-body h3 {
    padding: 11px 12px 11px 36px;
    font-size: 1rem;
  }

  .site-yasashii .page-body h3::before {
    top: 16px;
    left: 13px;
    width: 10px;
    height: 10px;
  }

  .site-yasashii .fee-lead,
  .site-yasashii .fee-note {
    padding: 16px 14px;
  }

  .site-yasashii .fee-table {
    min-width: 0;
  }

  .site-yasashii .fee-table-wrap {
    overflow-x: visible;
    border: 0;
    box-shadow: none;
  }

  .site-yasashii .fee-table,
  .site-yasashii .fee-table thead,
  .site-yasashii .fee-table tbody,
  .site-yasashii .fee-table tr,
  .site-yasashii .fee-table th,
  .site-yasashii .fee-table td {
    display: block;
    width: 100%;
  }

  .site-yasashii .fee-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .site-yasashii .fee-table tbody {
    display: grid;
    gap: 12px;
  }

  .site-yasashii .fee-table tr {
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(31, 92, 85, 0.14);
    border-left: 5px solid var(--brand);
    border-radius: var(--radius);
    box-shadow: 0 8px 20px rgba(19, 34, 61, 0.06);
  }

  .site-yasashii .fee-table tbody tr:nth-child(even) {
    background: #fff;
  }

  .site-yasashii .fee-table td {
    display: grid;
    gap: 4px;
    padding: 11px 12px;
    border: 0;
    border-top: 1px solid rgba(31, 92, 85, 0.1);
  }

  .site-yasashii .fee-table td:first-child {
    border-top: 0;
    background: #fbfaf6;
  }

  .site-yasashii .fee-table td::before {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1.35;
  }

  .site-yasashii .fee-table td:nth-child(1)::before {
    content: "項目";
  }

  .site-yasashii .fee-table td:nth-child(2)::before {
    content: "内容・条件";
  }

  .site-yasashii .fee-table td:nth-child(3)::before {
    content: "報酬額";
  }

  .site-yasashii #estate-succession-fee .fee-table tr td:nth-child(2):last-child::before {
    content: "報酬額";
  }

  .site-yasashii .fee-rule-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-yasashii .fee-rule-list article {
    padding: 16px 14px 16px 44px;
  }

  .site-yasashii .fee-rule-list article::before {
    top: 18px;
    left: 14px;
  }
}

/* Contact form copied from Site A and adapted for Site B. */
: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: 500;
  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(--accent);
}

.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: 700;
  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(--accent);
  border-radius: 3px;
}

.consult-recaptcha-label {
  margin: 0 0 6px;
  color: var(--brand);
  font-size: 1rem;
  font-weight: 700;
  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(--accent);
  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: 500;
  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(--accent);
  background: #f8f5ee;
  color: var(--ink);
  font-weight: 500;
  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;
  }
}

/* Site B senior-friendly readability 20260703 */
.site-yasashii {
  font-size: 16.5px;
}

@media (max-width: 700px) {
  .site-yasashii {
    font-size: 17px;
  }

  .site-yasashii .topline-inner,
  .site-yasashii .header-inner,
  .site-yasashii .container {
    width: calc(100% - 24px) !important;
    max-width: calc(100% - 24px) !important;
  }

  .site-yasashii .topline {
    font-size: 0.76rem;
  }

  .site-yasashii .topline-inner {
    padding: 6px 0;
  }

  .site-yasashii .header-inner {
    grid-template-columns: minmax(0, 1fr);
    padding: 12px 0;
  }

  .site-yasashii .brand {
    gap: 9px;
  }

  .site-yasashii .brand-logo-mark {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
  }

  .site-yasashii .brand-title {
    font-size: 1.08rem;
    line-height: 1.28;
  }

  .site-yasashii .brand-sub {
    font-size: 0.78rem;
    line-height: 1.35;
  }

  .site-yasashii .nav-scroll {
    overflow: visible;
  }

  .site-yasashii .global-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    width: calc(100% - 24px);
    padding: 8px 0 10px;
  }

  .site-yasashii .global-nav a {
    display: grid;
    place-items: center;
    min-height: 46px;
    padding: 8px 5px;
    border: 1px solid rgba(31, 92, 85, 0.12);
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.25;
  }

  .site-yasashii .main {
    padding: 22px 0 104px;
  }

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

  .site-yasashii .hero-lead {
    font-size: 1.05rem !important;
    font-weight: 400 !important;
    line-height: 1.95 !important;
  }

  .site-yasashii .hero-actions .button,
  .site-yasashii .guide-button strong {
    font-size: 1rem;
  }

  .site-yasashii .guide-button span {
    font-size: 0.95rem;
    font-weight: 400;
  }

  .site-yasashii .layout {
    gap: 16px;
  }

  .site-yasashii .section {
    padding: 24px 0;
  }

  .site-yasashii .section-head {
    margin-bottom: 16px;
  }

  .site-yasashii .section-kicker {
    margin-bottom: 7px;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.03em;
  }

  .site-yasashii .wp-page-content {
    padding: 20px 16px;
    border-radius: 7px;
  }

  .site-yasashii .wp-page-content h1 {
    font-size: 1.65rem;
    line-height: 1.42;
  }

  .site-yasashii .page-body {
    gap: 14px;
    margin-top: 18px;
  }

  .site-yasashii .page-body h2 {
    margin-top: 10px;
    padding: 10px 12px;
    font-size: 1.2rem;
    line-height: 1.45;
  }

  .site-yasashii .page-body h3 {
    margin: 14px 0 0;
    padding: 10px 12px 10px 34px;
    font-size: 1.12rem;
    line-height: 1.5;
  }

  .site-yasashii .page-body h3::before {
    top: 15px;
    left: 13px;
    width: 9px;
    height: 9px;
    box-shadow: 0 0 0 4px rgba(199, 137, 76, 0.14);
  }

  .site-yasashii .page-body p,
  .site-yasashii .page-body li,
  .site-yasashii .page-body td,
  .site-yasashii .fee-lead p,
  .site-yasashii .fee-note p,
  .site-yasashii .contact-page-intro p {
    font-size: 1.05rem;
    font-weight: 400 !important;
    line-height: 1.95;
  }

  .site-yasashii .page-body ul,
  .site-yasashii .page-body ol {
    gap: 7px;
    padding-left: 1.15em;
  }

  .site-yasashii .side-card {
    padding: 14px;
    border-radius: 7px;
  }

  .site-yasashii .side-card h3 {
    margin-bottom: 9px;
    font-size: 1.12rem;
  }

  .site-yasashii .side-links {
    gap: 7px;
  }

  .site-yasashii .side-links a {
    min-height: 50px;
    padding: 11px 12px;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.35;
  }

  .site-yasashii .fee-page {
    gap: 24px;
  }

  .site-yasashii .fee-section {
    gap: 14px;
  }

  .site-yasashii .fee-lead,
  .site-yasashii .fee-note {
    padding: 15px 14px;
    border-left-width: 5px;
  }

  .site-yasashii .fee-table td {
    font-size: 1.02rem;
    line-height: 1.75;
  }

  .site-yasashii .fee-price {
    font-size: 1.08rem;
  }

  .site-yasashii .consult-form {
    gap: 18px;
    padding: 18px 14px;
  }

  .site-yasashii .consult-field label,
  .site-yasashii .consult-checks legend {
    font-size: 1.06rem;
  }

  .site-yasashii .consult-field input[type="text"],
  .site-yasashii .consult-field input[type="tel"],
  .site-yasashii .consult-field input[type="email"],
  .site-yasashii .consult-field textarea {
    padding: 13px 12px;
    font-size: 1.06rem;
    font-weight: 400;
    line-height: 1.65;
  }

  .site-yasashii .consult-check-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .site-yasashii .consult-check-grid label {
    min-height: 54px;
    padding: 12px 13px;
    font-size: 1rem;
  }

  .site-yasashii .consult-check-grid label span {
    font-weight: 600 !important;
  }

  .site-yasashii .button,
  .site-yasashii .mobile-cta .button {
    min-height: 56px;
    font-weight: 700;
  }

  .site-yasashii .mobile-cta {
    right: 8px !important;
    bottom: max(8px, env(safe-area-inset-bottom)) !important;
    left: 8px !important;
    gap: 7px !important;
    padding: 7px !important;
    border-radius: 8px;
  }

  .site-yasashii .mobile-cta .button {
    padding: 10px 8px !important;
    font-size: 0.98rem !important;
    line-height: 1.25 !important;
  }

  .site-yasashii .site-footer {
    padding: 28px 0 124px;
  }

  .site-yasashii .footer-contact-cta {
    margin-bottom: 24px;
    padding: 18px 16px;
  }

  .site-yasashii .footer-contact-title {
    font-size: 1.42rem;
    line-height: 1.42;
  }

  .site-yasashii .footer-contact-text,
  .site-yasashii .footer-text,
  .site-yasashii .footer-address {
    font-size: 1rem;
    line-height: 1.85;
  }
}

/* Site B senior tap-target clarity 20260703 */
@media (max-width: 700px) {
  .site-yasashii {
    font-size: 18px;
  }

  .site-yasashii .topline {
    font-size: 0.84rem;
  }

  .site-yasashii .brand-title {
    font-size: 1.16rem;
  }

  .site-yasashii .brand-sub {
    font-size: 0.84rem;
  }

  .site-yasashii .wp-page-content h1,
  .site-yasashii .hero h1 {
    font-size: 1.82rem !important;
    line-height: 1.42 !important;
  }

  .site-yasashii .page-body p,
  .site-yasashii .page-body li,
  .site-yasashii .page-body td,
  .site-yasashii .fee-lead p,
  .site-yasashii .fee-note p,
  .site-yasashii .contact-page-intro p,
  .site-yasashii .hero-lead {
    font-size: 1.14rem !important;
    font-weight: 400 !important;
    line-height: 2 !important;
  }

  .site-yasashii .page-body h2 {
    padding: 12px 0 10px;
    color: var(--brand-2);
    background: transparent;
    border-top: 0;
    border-right: 0;
    border-bottom: 2px solid rgba(31, 92, 85, 0.18);
    border-left: 0;
    font-size: 1.34rem;
    line-height: 1.45;
  }

  .site-yasashii .page-body h3 {
    padding: 12px 0 9px 18px;
    background: transparent;
    border: 0;
    border-left: 5px solid var(--accent);
    border-radius: 0;
    box-shadow: none;
    font-size: 1.2rem;
    line-height: 1.55;
  }

  .site-yasashii .page-body h3::before {
    display: none;
  }

  .site-yasashii .page-body :where(a:not(.button)),
  .site-yasashii .footer-links a {
    color: var(--brand);
    font-weight: 700 !important;
    text-decoration: underline;
    text-underline-offset: 0.18em;
    text-decoration-thickness: 2px;
  }

  .site-yasashii :where(
    .button,
    .guide-button,
    .side-links a,
    .service-card,
    .text-button,
    .inline-route a,
    .mobile-menu-group a,
    .footer-contact-button,
    .consult-form-actions .button,
    .mobile-cta .button
  ) {
    position: relative;
    min-height: 58px;
    border: 2px solid rgba(31, 92, 85, 0.26) !important;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(19, 34, 61, 0.13);
    cursor: pointer;
  }

  .site-yasashii :where(
    .guide-button,
    .side-links a,
    .service-card,
    .text-button,
    .inline-route a,
    .mobile-menu-group a
  )::after {
    content: "›";
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    margin-left: auto;
    color: #fff;
    background: var(--brand);
    border-radius: 50%;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
  }

  .site-yasashii .side-links a,
  .site-yasashii .inline-route a,
  .site-yasashii .mobile-menu-group a {
    display: flex !important;
    gap: 10px;
    align-items: center;
    padding: 13px 12px;
    font-size: 1.08rem;
    line-height: 1.45;
    text-decoration: none;
  }

  .site-yasashii .guide-button {
    align-items: center;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 15px 14px;
    text-decoration: none;
  }

  .site-yasashii .guide-button strong,
  .site-yasashii .service-card h3 {
    font-size: 1.1rem;
    line-height: 1.45;
  }

  .site-yasashii .guide-button span,
  .site-yasashii .service-card p {
    font-size: 1rem;
    line-height: 1.65;
  }

  .site-yasashii .service-card {
    display: grid;
    gap: 10px;
    padding: 18px;
    text-decoration: none;
  }

  .site-yasashii .fee-lead,
  .site-yasashii .fee-note,
  .site-yasashii .consult-recaptcha,
  .site-yasashii .contact-message {
    border-radius: 4px;
    box-shadow: none;
  }

  .site-yasashii .fee-table tr,
  .site-yasashii .fee-rule-list article,
  .site-yasashii .side-card,
  .site-yasashii .wp-page-content,
  .site-yasashii .footer-contact-cta {
    box-shadow: none;
  }

  .site-yasashii .consult-field label,
  .site-yasashii .consult-checks legend,
  .site-yasashii .consult-recaptcha-label {
    font-size: 1.15rem;
  }

  .site-yasashii .consult-field input[type="text"],
  .site-yasashii .consult-field input[type="tel"],
  .site-yasashii .consult-field input[type="email"],
  .site-yasashii .consult-field textarea {
    min-height: 58px;
    padding: 15px 14px;
    font-size: 1.14rem;
    line-height: 1.7;
    border-width: 2px;
  }

  .site-yasashii .consult-check-grid label {
    min-height: 62px;
    font-size: 1.08rem;
  }

  .site-yasashii .consult-check-grid input {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
  }

  .site-yasashii .button,
  .site-yasashii .mobile-cta .button {
    min-height: 62px;
    font-size: 1.08rem !important;
  }

  .site-yasashii .mobile-cta {
    gap: 8px !important;
    padding: 8px !important;
  }

  .site-yasashii .mobile-cta .button {
    box-shadow: none;
  }

  .site-yasashii .site-footer {
    padding-bottom: 136px;
  }
}

/* Site B extra-large senior readability 20260703 */
@media (max-width: 700px) {
  .site-yasashii {
    font-size: 19.5px;
  }

  .site-yasashii .topline-inner,
  .site-yasashii .header-inner,
  .site-yasashii .container {
    width: calc(100% - 20px) !important;
    max-width: calc(100% - 20px) !important;
  }

  .site-yasashii .topline {
    font-size: 0.86rem;
  }

  .site-yasashii .topline-inner {
    padding: 7px 0;
  }

  .site-yasashii .header-inner {
    padding: 10px 0;
  }

  .site-yasashii .brand-logo-mark {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  .site-yasashii .brand-title {
    font-size: 1.14rem;
  }

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

  .site-yasashii .main {
    padding: 18px 0 96px;
  }

  .site-yasashii .wp-page-content {
    padding: 18px 14px;
  }

  .site-yasashii .section-head {
    margin-bottom: 14px;
  }

  .site-yasashii .section-kicker {
    font-size: 0.9rem;
  }

  .site-yasashii .wp-page-content h1,
  .site-yasashii .hero h1 {
    font-size: 1.92rem !important;
    line-height: 1.4 !important;
  }

  .site-yasashii .page-body {
    gap: 12px;
    margin-top: 16px;
  }

  .site-yasashii .page-body p,
  .site-yasashii .page-body li,
  .site-yasashii .page-body td,
  .site-yasashii .fee-lead p,
  .site-yasashii .fee-note p,
  .site-yasashii .contact-page-intro p,
  .site-yasashii .hero-lead {
    font-size: 1.22rem !important;
    line-height: 1.92 !important;
  }

  .site-yasashii .page-body h2 {
    font-size: 1.42rem;
    line-height: 1.42;
  }

  .site-yasashii .page-body h3 {
    padding-left: 14px;
    font-size: 1.28rem;
    line-height: 1.48;
  }

  .site-yasashii .hero-inner {
    padding: 30px 10px 24px !important;
  }

  .site-yasashii .hero-actions {
    gap: 8px;
    margin-top: 18px;
  }

  .site-yasashii .button,
  .site-yasashii .hero-actions .button,
  .site-yasashii .consult-form-actions .button {
    min-height: 60px;
    padding: 12px 14px;
    font-size: 1.1rem !important;
    line-height: 1.28;
  }

  .site-yasashii .guide-button {
    min-height: 76px;
    padding: 13px 12px;
  }

  .site-yasashii .guide-button {
    grid-template-columns: minmax(0, 1fr) 34px !important;
    gap: 6px 12px;
    align-items: center;
  }

  .site-yasashii .guide-button strong,
  .site-yasashii .guide-button span {
    grid-column: 1;
    min-width: 0;
    overflow-wrap: break-word !important;
    word-break: keep-all !important;
    line-break: strict !important;
  }

  .site-yasashii .guide-button::after {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    justify-self: end;
    margin-left: 0;
  }

  .site-yasashii .guide-button strong,
  .site-yasashii .service-card h3,
  .site-yasashii .side-card h3 {
    font-size: 1.2rem;
  }

  .site-yasashii .guide-button span,
  .site-yasashii .service-card p {
    font-size: 1.06rem;
  }

  .site-yasashii .side-links a {
    min-height: 58px;
    padding: 12px 10px;
    font-size: 1.14rem;
  }

  .site-yasashii .side-card,
  .site-yasashii .service-card,
  .site-yasashii .fee-lead,
  .site-yasashii .fee-note,
  .site-yasashii .footer-contact-cta {
    padding: 16px 14px;
  }

  .site-yasashii .consult-form {
    gap: 16px;
    padding: 16px 12px;
  }

  .site-yasashii .consult-field {
    gap: 8px;
  }

  .site-yasashii .consult-field label,
  .site-yasashii .consult-checks legend,
  .site-yasashii .consult-recaptcha-label {
    font-size: 1.18rem;
    line-height: 1.38;
  }

  .site-yasashii .consult-field input[type="text"],
  .site-yasashii .consult-field input[type="tel"],
  .site-yasashii .consult-field input[type="email"],
  .site-yasashii .consult-field textarea {
    min-height: 62px;
    padding: 14px 12px;
    font-size: 1.16rem;
    line-height: 1.55;
  }

  .site-yasashii .consult-check-grid {
    gap: 7px;
  }

  .site-yasashii .consult-check-grid label {
    min-height: 58px;
    padding: 10px 11px;
    font-size: 1.08rem;
    line-height: 1.35;
  }

  .site-yasashii .consult-check-grid input {
    width: 26px;
    height: 26px;
    flex-basis: 26px;
  }

  .site-yasashii .consult-recaptcha-note {
    font-size: 1rem;
    line-height: 1.65;
  }

  .site-yasashii .fee-table td {
    font-size: 1.12rem;
    line-height: 1.65;
  }

  .site-yasashii .fee-table td::before {
    font-size: 0.9rem;
  }

  .site-yasashii .fee-price {
    font-size: 1.18rem;
  }

  .site-yasashii .mobile-cta {
    right: 6px !important;
    left: 6px !important;
    gap: 6px !important;
    padding: 6px !important;
  }

  .site-yasashii .mobile-cta .button {
    min-height: 58px;
    padding: 8px 6px !important;
    font-size: 1rem !important;
    line-height: 1.2 !important;
  }

  .site-yasashii .site-footer {
    padding-bottom: 118px;
  }

  .site-yasashii .footer-contact-title {
    font-size: 1.5rem;
  }

  .site-yasashii .footer-contact-text,
  .site-yasashii .footer-text,
  .site-yasashii .footer-address {
    font-size: 1.08rem;
  }
}

/* Site B senior graphic cards 20260703 */
@media (max-width: 700px) {
  .site-yasashii .graphic-grid {
    gap: 18px;
  }

  .site-yasashii .graphic-card {
    min-width: 0;
    border-width: 2px;
    border-color: rgba(31, 92, 85, 0.2);
    box-shadow: 0 12px 28px rgba(19, 34, 61, 0.12);
  }

  .site-yasashii .graphic-caption {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 14px;
    row-gap: 8px;
    align-items: start;
    min-width: 0;
    padding: 26px 18px 28px;
  }

  .site-yasashii .graphic-caption .route-icon {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 72px;
    height: 72px;
    margin: 2px 0 0;
    padding: 13px;
    border-width: 3px;
    border-radius: 14px;
  }

  .site-yasashii .graphic-caption::after {
    content: none;
  }

  .site-yasashii .graphic-caption h3 {
    grid-column: 2;
    margin: 0 0 10px;
    font-size: 26px !important;
    line-height: 1.34 !important;
    font-weight: 800 !important;
    overflow-wrap: normal;
    word-break: normal;
    line-break: strict;
  }

  .site-yasashii .graphic-caption p {
    grid-column: 2;
    color: #5f6b79;
    font-size: 24px !important;
    line-height: 1.64 !important;
    font-weight: 500 !important;
    overflow-wrap: normal;
    word-break: normal;
    line-break: strict;
    text-wrap: pretty;
  }
}

/* Site B senior story cards 20260704 */
@media (max-width: 700px) {
  .site-yasashii .story-grid {
    gap: 18px;
  }

  .site-yasashii .story-card {
    border-width: 2px;
    border-color: rgba(31, 92, 85, 0.16);
    box-shadow: 0 12px 28px rgba(19, 34, 61, 0.12);
  }

  .site-yasashii .story-body {
    padding: 28px 22px 30px;
  }

  .site-yasashii .story-card .story-body::after {
    content: "見る";
    display: inline-grid;
    place-items: center;
    min-height: 44px;
    margin-top: 20px;
    padding: 8px 20px;
    color: #fff;
    background: var(--brand);
    border-radius: 999px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
  }

  .site-yasashii .story-card[href="/contact/"] .story-body::after {
    content: "相談する";
  }

  .site-yasashii .story-body h3 {
    margin-bottom: 16px;
    color: #172030;
    font-size: 32px !important;
    font-weight: 800 !important;
    line-height: 1.34 !important;
    letter-spacing: 0;
  }

  .site-yasashii .story-body p {
    color: #667181;
    font-size: 26px !important;
    font-weight: 500 !important;
    line-height: 1.62 !important;
    letter-spacing: 0;
    overflow-wrap: normal;
    word-break: normal;
    line-break: strict;
    text-wrap: pretty;
  }
}

/* Site B senior guide-step kinsoku 20260704 */
@media (max-width: 700px) {
  .site-yasashii .guide-step {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 20px 16px;
  }

  .site-yasashii .guide-step em {
    width: 72px;
    height: 72px;
    margin-top: 2px;
  }

  .site-yasashii .guide-step > div {
    min-width: 0;
  }

  .site-yasashii .guide-step h3 {
    margin-bottom: 12px;
    font-size: 28px !important;
    line-height: 1.34 !important;
    overflow-wrap: normal;
    word-break: normal;
    line-break: strict;
  }

  .site-yasashii .guide-step p {
    font-size: 24px !important;
    line-height: 1.72 !important;
    font-weight: 500 !important;
    overflow-wrap: normal;
    word-break: normal;
    line-break: strict;
    text-wrap: pretty;
  }
}

/* Site B senior section lead kinsoku 20260704 */
@media (max-width: 700px) {
  .site-yasashii .section-lead-consult {
    font-size: 24px !important;
    line-height: 1.72 !important;
    font-weight: 500 !important;
    overflow-wrap: normal;
    word-break: normal;
    line-break: strict;
    text-wrap: pretty;
  }
}

/* Site B senior service cards 20260704 */
@media (max-width: 700px) {
  .site-yasashii .service-grid {
    gap: 18px;
  }

  .site-yasashii .service-card {
    min-width: 0;
    gap: 20px;
    padding: 32px 26px !important;
  }

  .site-yasashii .service-card > .route-icon {
    width: 94px;
    height: 94px;
    padding: 18px;
    border-width: 3px;
    border-radius: 14px;
  }

  .site-yasashii .service-card h3 {
    font-size: 34px !important;
    line-height: 1.34 !important;
    overflow-wrap: normal;
    word-break: normal;
    line-break: strict;
  }

  .site-yasashii .service-card p {
    font-size: 28px !important;
    line-height: 1.68 !important;
    font-weight: 500 !important;
    overflow-wrap: normal;
    word-break: normal;
    line-break: strict;
    text-wrap: pretty;
  }
}

/* Site B senior flow cards 20260704 */
@media (max-width: 700px) {
  .site-yasashii .flow-grid {
    gap: 18px;
  }

  .site-yasashii .flow-card {
    padding: 28px 24px !important;
  }

  .site-yasashii .flow-card::before {
    width: 72px;
    height: 72px;
    margin-bottom: 24px;
    font-size: 36px;
    line-height: 1;
  }

  .site-yasashii .flow-card h3 {
    margin-bottom: 14px;
    font-size: 34px !important;
    line-height: 1.34 !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    line-break: strict;
  }

  .site-yasashii .flow-card p {
    font-size: 28px !important;
    line-height: 1.68 !important;
    font-weight: 500 !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    line-break: strict;
    text-wrap: pretty;
  }
}

/* Site B senior preparation cards 20260704 */
@media (max-width: 700px) {
  .site-yasashii .card-grid {
    gap: 18px;
  }

  .site-yasashii .card {
    padding: 28px 24px !important;
  }

  .site-yasashii .card h3 {
    margin-bottom: 14px;
    font-size: 30px !important;
    line-height: 1.34 !important;
    overflow-wrap: normal;
    word-break: normal;
    line-break: strict;
  }

  .site-yasashii .card p {
    font-size: 25px !important;
    line-height: 1.68 !important;
    font-weight: 500 !important;
    overflow-wrap: normal;
    word-break: normal;
    line-break: strict;
    text-wrap: pretty;
  }
}

/* Site B senior FAQ cards 20260704 */
@media (max-width: 700px) {
  .site-yasashii .faq-grid {
    gap: 18px;
  }

  .site-yasashii .faq-card {
    padding: 28px 24px !important;
  }

  .site-yasashii .faq-card h3 {
    margin-bottom: 16px;
    font-size: 30px !important;
    line-height: 1.42 !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    line-break: strict;
  }

  .site-yasashii .faq-card p {
    font-size: 28px !important;
    line-height: 1.68 !important;
    font-weight: 500 !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    line-break: strict;
    text-wrap: pretty;
  }
}

/* Site B footer contrast guard 20260704 */
.site-yasashii .site-footer .footer-links a,
.site-yasashii .site-footer .footer-links a:visited {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: #fff !important;
  font-size: 18px;
  font-weight: 700 !important;
  line-height: 1.35;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.82);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.22em;
}

.site-yasashii .site-footer .footer-links a:hover,
.site-yasashii .site-footer .footer-links a:focus-visible {
  color: #fff7df !important;
  outline: 3px solid rgba(255, 255, 255, 0.85);
  outline-offset: 4px;
}

@media (max-width: 700px) {
  .site-yasashii .site-footer .footer-links {
    gap: 10px 18px;
  }

  .site-yasashii .site-footer .footer-links a {
    font-size: 20px;
  }
}

/* Site B global Japanese kinsoku guard 20260704 */
.site-yasashii :where(
  h1,
  h2,
  h3,
  h4,
  p,
  li,
  dd,
  dt,
  figcaption,
  th,
  td,
  a,
  span,
  strong
) {
  overflow-wrap: normal !important;
  word-break: normal !important;
  line-break: strict !important;
}

.site-yasashii :where(p, li, dd, figcaption, td, .section-lead, .hero-lead, .page-body p, .page-body li) {
  text-wrap: pretty;
}

.site-yasashii :where(.button, .mobile-cta a, .footer-contact-button) {
  overflow-wrap: anywhere !important;
  word-break: normal !important;
  line-break: strict !important;
}

.site-yasashii .kinsoku-pair {
  display: inline-block;
  white-space: nowrap;
  vertical-align: baseline;
}
