:root {
  --bg: #FAFAF9;
  --ink: #1A1A1A;
  --muted: #66615C;
  --accent: #123A5C;
  --accent-hover: #0D2E49;
  --accent-soft: rgba(18, 58, 92, 0.08);
  --on-accent: #FFFFFF;
  --hairline: rgba(26, 26, 26, 0.12);
  --raise-1: #F1F1EF;
  --focus-ring: rgba(18, 58, 92, 0.32);
  --glow-primary:
    0 0 20px 0 rgba(18, 58, 92, 0.24),
    0 0 52px 9px rgba(18, 58, 92, 0.16),
    0 10px 26px -10px rgba(0, 0, 0, 0.42);
  --font-heading: "Noto Serif JP", serif;
  --font-body: "Noto Sans JP", sans-serif;
  --radius-card: 8px;
  --radius-control: 6px;
  --radius-pill: 999px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --container: 1120px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background: var(--accent-soft);
}

:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 0 clamp(20px, 4vw, 48px);
  color: #FFFFFF;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-menu-open {
  background: rgba(250, 250, 249, 0.94);
  color: var(--ink);
  border-bottom: 1px solid var(--hairline);
  backdrop-filter: blur(14px);
}

.brand {
  display: grid;
  gap: 0;
  min-width: 142px;
  line-height: 1.2;
}

.brand-ja {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
}

.brand-en {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  opacity: 0.78;
}

.desktop-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 28px);
  font-size: 14px;
  font-weight: 700;
}

.desktop-nav a {
  opacity: 0.86;
  transition: opacity 150ms ease, color 150ms ease;
}

.desktop-nav a:hover {
  opacity: 1;
  color: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.header-tel {
  font-weight: 700;
  white-space: nowrap;
}

.header-cta,
.mobile-cta {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.18);
  color: inherit;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 150ms ease, color 150ms ease, transform 150ms ease;
}

.site-header.is-scrolled .header-cta,
.site-header.is-menu-open .header-cta,
.mobile-cta {
  background: var(--accent);
  color: var(--on-accent);
}

.header-cta:hover,
.mobile-cta:hover {
  transform: translateY(-1px);
  background: var(--accent-hover);
  color: var(--on-accent);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.12);
  color: inherit;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  border-radius: var(--radius-pill);
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 15;
  display: grid;
  align-content: center;
  gap: 34px;
  padding: 112px 24px 40px;
  background: rgba(250, 250, 249, 0.98);
  color: var(--ink);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-menu nav {
  display: grid;
  gap: 22px;
  font-family: var(--font-heading);
  font-size: clamp(24px, 8vw, 36px);
  line-height: 1.35;
}

.mobile-tel {
  font-size: 18px;
  font-weight: 700;
}

.mobile-cta {
  width: fit-content;
  min-height: 48px;
  padding-inline: 22px;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #FFFFFF;
  isolation: isolate;
}

.hero-media,
.hero-scrim {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -3;
  background: #0b1828;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1);
  transition: opacity 1400ms ease;
}

.hero-slide.is-active {
  opacity: 1;
  animation: kenburns 6400ms linear forwards;
}

.hero-scrim {
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(2, 8, 14, 0.08) 0%, rgba(2, 8, 14, 0.34) 46%, rgba(2, 8, 14, 0.82) 100%),
    radial-gradient(circle at 24% 74%, rgba(18, 58, 92, 0.36), transparent 38%);
}

.hero-content {
  width: min(100%, var(--container));
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px) clamp(112px, 18vh, 172px);
}

.hero-kicker,
.section-label {
  margin: 0 0 14px;
  color: currentColor;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  opacity: 0.74;
}

.hero h1 {
  max-width: 850px;
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(42px, 8.2vw, 92px);
  line-height: 1.08;
  font-weight: 700;
}

.hero h1 span {
  display: inline-block;
}

.hero-copy {
  max-width: 740px;
  margin: 24px 0 34px;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.9);
  overflow-wrap: anywhere;
}

.primary-cta {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
  box-shadow: var(--glow-primary);
  transition: transform 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.primary-cta:hover {
  transform: translateY(-2px);
  background: var(--accent-hover);
  box-shadow:
    0 0 20px 0 rgba(18, 58, 92, 0.32),
    0 0 52px 10px rgba(18, 58, 92, 0.22),
    0 14px 30px -10px rgba(0, 0, 0, 0.46);
}

.primary-cta:active {
  transform: translateY(0) scale(0.99);
}

.reveal-intro {
  opacity: 0;
  transform: translateY(18px);
  animation: introFade 720ms ease forwards;
}

.reveal-intro:nth-child(2) {
  animation-delay: 180ms;
}

.reveal-intro:nth-child(3) {
  animation-delay: 360ms;
}

.reveal-intro:nth-child(4) {
  animation-delay: 540ms;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 30px;
  width: 26px;
  height: 42px;
  transform: translateX(-50%);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.14);
}

.scroll-cue span {
  position: absolute;
  left: 50%;
  top: 9px;
  width: 4px;
  height: 8px;
  transform: translateX(-50%);
  border-radius: var(--radius-pill);
  background: #FFFFFF;
  animation: cue 1600ms ease-in-out infinite;
}

.section {
  scroll-margin-top: var(--header-height);
  padding: clamp(82px, 12vw, 148px) clamp(20px, 4vw, 48px);
}

.section-inner {
  width: min(100%, var(--container));
  margin: 0 auto;
}

.section-heading {
  display: grid;
  gap: 12px;
  margin-bottom: clamp(34px, 6vw, 64px);
}

.section-label {
  color: var(--accent);
}

.section h2,
.access-copy h2,
.contact-lead h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1.2;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--hairline);
}

.service-item {
  min-width: 0;
  padding: clamp(26px, 4vw, 42px) clamp(0px, 2vw, 28px) clamp(26px, 4vw, 42px) 0;
  border-bottom: 1px solid var(--hairline);
}

.service-item:not(:nth-child(3n)) {
  padding-right: clamp(18px, 2.8vw, 32px);
}

.service-item span,
.reason-item span {
  display: block;
  margin-bottom: 14px;
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: 34px;
  line-height: 1;
}

.service-item h3,
.reason-item h3 {
  margin: 0 0 14px;
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.35;
}

.service-item p,
.reason-item p,
.access-copy p,
.contact-lead p {
  margin: 0;
  color: var(--muted);
}

.service-item .text-link {
  margin-top: 18px;
}

.service-more {
  margin-top: clamp(28px, 5vw, 46px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}

.service-page .site-header {
  color: var(--ink);
}

.service-page .site-header:not(.is-scrolled):not(.is-menu-open) .header-cta {
  background: var(--accent);
  color: var(--on-accent);
}

.service-page .site-header:not(.is-scrolled):not(.is-menu-open) .menu-toggle {
  background: var(--accent-soft);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 clamp(28px, 5vw, 54px);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.breadcrumb a {
  color: var(--accent);
}

.breadcrumb span {
  color: var(--ink);
}

.breadcrumb .separator {
  color: rgba(26, 26, 26, 0.36);
}

.detail-hero {
  padding: clamp(42px, 8vw, 86px) clamp(20px, 4vw, 48px) clamp(64px, 9vw, 112px);
}

.detail-hero-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.08fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: end;
}

.detail-hero-copy {
  min-width: 0;
}

.detail-eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.detail-hero h1 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(42px, 7vw, 82px);
  line-height: 1.12;
}

.detail-lead {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.95;
}

.detail-hero-media,
.detail-figure {
  margin: 0;
}

.detail-hero-media img,
.detail-figure img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-card);
  object-fit: cover;
}

.detail-hero-media img {
  aspect-ratio: 3 / 2;
}

.detail-main {
  padding-bottom: clamp(88px, 12vw, 150px);
}

.detail-page .detail-main {
  padding-top: calc(var(--header-height) + 20px);
}

.detail-section {
  padding: clamp(56px, 8vw, 96px) clamp(20px, 4vw, 48px);
}

.detail-section + .detail-section {
  border-top: 1px solid var(--hairline);
}

.detail-section-inner {
  width: min(100%, var(--container));
  margin: 0 auto;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: start;
}

.detail-layout.is-reverse {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
}

.detail-layout.is-reverse .detail-copy {
  order: 2;
}

.detail-layout.is-reverse .detail-figure {
  order: 1;
}

.detail-copy {
  min-width: 0;
  display: grid;
  gap: 20px;
}

.detail-copy h2,
.related-services h2,
.detail-final-cta h2 {
  margin: 0;
  font-family: var(--font-heading);
  line-height: 1.24;
}

.detail-copy h2,
.related-services h2 {
  font-size: clamp(27px, 4vw, 42px);
}

.detail-final-cta h2 {
  font-size: clamp(28px, 4.4vw, 48px);
}

.detail-copy h3 {
  margin: 10px 0 0;
  font-family: var(--font-heading);
  font-size: clamp(19px, 2.2vw, 24px);
  line-height: 1.35;
}

.detail-copy p {
  margin: 0;
  color: var(--muted);
}

.detail-figure {
  display: grid;
  gap: 12px;
}

.detail-figure figcaption {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.detail-bullets,
.detail-steps {
  margin: 0;
  padding: 0;
  color: var(--muted);
}

.detail-bullets {
  display: grid;
  gap: 11px;
  list-style: none;
}

.detail-bullets li {
  position: relative;
  padding-left: 18px;
}

.detail-bullets li::before {
  content: "";
  position: absolute;
  top: .86em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: var(--radius-pill);
  background: var(--accent);
}

.detail-steps {
  display: grid;
  gap: 12px;
  padding-left: 1.25em;
}

.detail-steps li::marker {
  color: var(--accent);
  font-family: var(--font-heading);
  font-weight: 700;
}

.faq-list {
  margin: 4px 0 0;
  border-top: 1px solid var(--hairline);
}

.faq-list div {
  display: grid;
  gap: 8px;
  padding: 20px 0;
  border-bottom: 1px solid var(--hairline);
}

.faq-list dt {
  color: var(--ink);
  font-weight: 700;
}

.faq-list dd {
  margin: 0;
  color: var(--muted);
}

.related-services {
  padding: clamp(64px, 9vw, 112px) clamp(20px, 4vw, 48px);
  border-top: 1px solid var(--hairline);
}

.related-services .section-label {
  margin-bottom: 14px;
}

.related-services-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 clamp(24px, 4vw, 48px);
  margin-top: clamp(26px, 5vw, 46px);
  border-top: 1px solid var(--hairline);
}

.related-services-list a {
  display: grid;
  gap: 8px;
  padding: 22px 0;
  border-bottom: 1px solid var(--hairline);
}

.related-services-list strong {
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: 20px;
  line-height: 1.35;
}

.related-services-list span {
  color: var(--accent);
  font-weight: 700;
}

.detail-final-cta {
  padding: clamp(72px, 10vw, 118px) clamp(20px, 4vw, 48px) 0;
  border-top: 1px solid var(--hairline);
}

.detail-final-cta .section-inner {
  display: grid;
  gap: 18px;
  max-width: 820px;
}

.detail-final-cta p {
  margin: 0;
  color: var(--muted);
}

.page-hero {
  padding: calc(var(--header-height) + clamp(70px, 10vw, 120px)) clamp(20px, 4vw, 48px) clamp(48px, 8vw, 88px);
}

.page-hero h1 {
  max-width: 820px;
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(42px, 7vw, 78px);
  line-height: 1.12;
}

.page-lead {
  max-width: 780px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.95;
}

.service-detail-section {
  padding-top: clamp(36px, 6vw, 72px);
}

.service-detail-list {
  border-top: 1px solid var(--hairline);
}

.service-detail {
  display: grid;
  grid-template-columns: minmax(340px, 0.55fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 76px);
  padding: clamp(42px, 7vw, 84px) 0;
  border-bottom: 1px solid var(--hairline);
}

.service-detail-head {
  display: grid;
  align-content: start;
  gap: 14px;
}

.service-detail-head span {
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1;
}

.service-detail h2,
.service-cta h2 {
  margin: 0;
  font-family: var(--font-heading);
  line-height: 1.24;
}

.service-detail h2 {
  font-size: clamp(25px, 3vw, 32px);
  word-break: keep-all;
}

.service-cta h2 {
  font-size: clamp(28px, 4.4vw, 48px);
}

.service-detail-body {
  display: grid;
  gap: clamp(22px, 4vw, 34px);
}

.service-detail-body p {
  margin: 0;
  color: var(--muted);
}

.service-detail h3 {
  margin: 0 0 12px;
  font-family: var(--font-heading);
  font-size: clamp(19px, 2.2vw, 24px);
  line-height: 1.35;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 56px);
}

.detail-list,
.step-list {
  margin: 0;
  padding: 0;
  color: var(--muted);
}

.detail-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  list-style: none;
}

.detail-list-wide {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(24px, 5vw, 56px);
}

.detail-list li {
  position: relative;
  padding-left: 18px;
}

.detail-list li::before {
  content: "";
  position: absolute;
  top: .86em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: var(--radius-pill);
  background: var(--accent);
}

.step-list {
  display: grid;
  gap: 12px;
  list-style-position: inside;
}

.step-list-wide {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(24px, 5vw, 56px);
}

.step-list li::marker {
  color: var(--accent);
  font-family: var(--font-heading);
  font-weight: 700;
}

.service-cta-section {
  padding-top: clamp(70px, 10vw, 118px);
}

.service-cta {
  display: grid;
  gap: 18px;
  max-width: 820px;
}

.service-cta p {
  margin: 0;
  color: var(--muted);
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 24px;
  margin-top: 12px;
}

.service-contact-note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 14px;
}

.service-contact-note a {
  color: var(--accent);
  font-weight: 700;
}

.reason-list {
  display: grid;
  gap: clamp(34px, 6vw, 64px);
}

.reason-item {
  display: grid;
  grid-template-columns: 96px minmax(220px, 0.7fr) minmax(260px, 1fr);
  align-items: baseline;
  gap: clamp(20px, 4vw, 46px);
  padding-bottom: clamp(28px, 5vw, 46px);
  border-bottom: 1px solid var(--hairline);
}

.reason-item span {
  margin: 0;
  font-size: clamp(46px, 8vw, 82px);
}

.company-list {
  margin: 0;
  border-top: 1px solid var(--hairline);
}

.company-list div {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--hairline);
}

.company-list dt {
  color: var(--muted);
  font-weight: 700;
}

.company-list dd {
  margin: 0;
}

.company-list a {
  color: var(--accent);
  font-weight: 700;
}

.access-layout {
  display: grid;
  gap: 24px;
  max-width: 760px;
}

.access-copy {
  display: grid;
  gap: 18px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(320px, 1fr);
  gap: clamp(42px, 7vw, 86px);
  align-items: start;
}

.contact-lead {
  display: grid;
  gap: 20px;
}

.contact-phone {
  display: grid;
  gap: 3px;
  width: fit-content;
  margin-top: 10px;
  color: var(--accent);
}

.contact-phone span,
.contact-phone small {
  color: var(--muted);
  font-size: 13px;
}

.contact-phone strong {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 24px;
}

.field {
  display: grid;
  gap: 8px;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding-inline: 10px;
  border: 0;
  border-bottom: 1px solid rgba(26, 26, 26, 0.28);
  border-radius: 0;
  background: rgba(26, 26, 26, 0.025);
  color: var(--ink);
  outline: 0;
  transition: border-color 150ms ease, background 150ms ease;
}

.field textarea {
  resize: vertical;
  min-height: 148px;
  padding-top: 10px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-bottom-color: var(--accent);
  background: var(--accent-soft);
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
  border-bottom-color: #8A2C2C;
}

.field-error {
  min-height: 1.2em;
  margin: 0;
  color: #8A2C2C;
  font-size: 13px;
  line-height: 1.4;
}

.form-submit {
  grid-column: 1 / -1;
  justify-self: start;
  min-height: 50px;
  padding: 0 24px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
  transition: transform 150ms ease, background 150ms ease;
}

.form-submit:hover {
  transform: translateY(-1px);
  background: var(--accent-hover);
}

.form-status {
  grid-column: 1 / -1;
  min-height: 1.5em;
  margin: 0;
  color: var(--accent);
  font-weight: 700;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 40px clamp(20px, 4vw, 48px);
  border-top: 1px solid var(--hairline);
  color: var(--muted);
}

.site-footer strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: 18px;
}

.site-footer p {
  margin: 0 0 4px;
}

.site-footer a {
  color: var(--accent);
  font-weight: 700;
}

.site-footer small {
  white-space: nowrap;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 680ms ease, transform 680ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes kenburns {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.075);
  }
}

@keyframes introFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cue {
  0%,
  100% {
    opacity: 0.3;
    transform: translate(-50%, 0);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, 10px);
  }
}

@media (max-width: 1020px) {
  .site-header {
    grid-template-columns: auto 1fr;
  }

  .desktop-nav,
  .header-tel,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .site-header.is-scrolled .menu-toggle,
  .site-header.is-menu-open .menu-toggle {
    background: var(--accent-soft);
  }

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

  .service-item:not(:nth-child(3n)) {
    padding-right: clamp(18px, 3vw, 30px);
  }

  .reason-item {
    grid-template-columns: 78px 1fr;
  }

  .reason-item p {
    grid-column: 2;
  }

  .access-layout,
  .contact-layout,
  .service-detail,
  .detail-hero-grid,
  .detail-layout,
  .detail-layout.is-reverse {
    grid-template-columns: 1fr;
  }

  .service-detail {
    gap: 20px;
  }

  .service-detail-head {
    gap: 10px;
  }

  .detail-layout.is-reverse .detail-copy,
  .detail-layout.is-reverse .detail-figure {
    order: initial;
  }

  .related-services-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 68px;
  }

  body {
    font-size: 15px;
  }

  .site-header {
    padding-inline: 20px;
  }

  .brand-ja {
    font-size: 16px;
  }

  .hero {
    align-items: center;
  }

  .hero-content {
    padding: calc(var(--header-height) + 22px) 20px 96px;
  }

  .hero h1 {
    font-size: clamp(38px, 11.6vw, 50px);
  }

  .hero-copy {
    max-width: 335px;
    margin: 18px 0 26px;
    font-size: clamp(15px, 4vw, 16px);
    line-height: 1.58;
    line-break: strict;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .hero-copy span {
    display: inline;
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: anywhere;
  }

  .primary-cta {
    width: 100%;
    max-width: 320px;
  }

  .scroll-cue {
    bottom: max(18px, env(safe-area-inset-bottom));
  }

  .section {
    padding-block: 76px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-item,
  .service-item:not(:nth-child(3n)) {
    padding-right: 0;
  }

  .reason-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .reason-item p {
    grid-column: auto;
  }

  .company-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding-top: calc(var(--header-height) + 52px);
  }

  .detail-page .detail-main {
    padding-top: calc(var(--header-height) + 14px);
  }

  .detail-hero {
    padding-top: 38px;
  }

  .breadcrumb {
    margin-bottom: 26px;
  }

  .detail-section {
    padding-block: 58px;
  }

  .detail-grid,
  .detail-list-wide,
  .step-list-wide,
  .related-services-list {
    grid-template-columns: 1fr;
  }

  .page-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer {
    display: grid;
  }

  .site-footer small {
    white-space: normal;
  }
}

@media (max-width: 640px) and (max-height: 660px) {
  .hero-content {
    padding-top: calc(var(--header-height) + 14px);
    padding-bottom: 82px;
  }

  .hero-kicker {
    margin-bottom: 10px;
  }

  .hero h1 {
    font-size: clamp(37px, 11.2vw, 47px);
  }

  .hero-copy {
    margin: 14px 0 22px;
    line-height: 1.5;
  }

  .hero .primary-cta {
    min-height: 52px;
  }

  .scroll-cue {
    bottom: max(14px, env(safe-area-inset-bottom));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .hero-slide.is-active {
    animation: none;
  }

  .reveal,
  .reveal-intro {
    opacity: 1;
    transform: none;
  }
}
