:root {
  --page: #f5f7fa;
  --surface: #ffffff;
  --surface-soft: #eef3f8;
  --ink: #10151f;
  --muted: #606a78;
  --line: #d9dee7;
  --line-strong: #b8c1cf;
  --navy: #061e3a;
  --navy-2: #0c315f;
  --blue: #0b63ce;
  --accent: #b4863a;
  --accent-soft: #d9bd7f;
  --shadow: 0 24px 70px rgba(6, 30, 58, 0.14);
  --shadow-card: 0 16px 42px rgba(6, 30, 58, 0.08);
  --shadow-card-hover: 0 28px 74px rgba(6, 30, 58, 0.16);
  --radius-xs: 3px;
  --radius-sm: 6px;
  --focus-ring: 0 0 0 3px rgba(11, 99, 206, 0.24);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1180px;
  --wide: 1320px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: "Inter", "Helvetica Neue", Arial, "Noto Sans SC", "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(6, 30, 58, 0.045) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, rgba(6, 30, 58, 0.035) 0 1px, transparent 1px 100%);
  background-size: 96px 96px;
}

@keyframes headerDrop {
  from {
    opacity: 0;
    transform: translateY(-14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroSettle {
  from {
    opacity: 0;
    transform: translateY(26px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes heroImageEase {
  from {
    transform: scale(1.035);
    filter: saturate(0.96) contrast(0.98);
  }
  to {
    transform: scale(1);
    filter: saturate(1.05) contrast(1.02);
  }
}

@keyframes navLift {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes menuOpen {
  from {
    opacity: 0;
    transform: translateY(-12px) scaleY(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scaleY(1);
  }
}

@keyframes sheen {
  0% {
    transform: translateX(-130%) skewX(-18deg);
  }
  42%,
  100% {
    transform: translateX(130%) skewX(-18deg);
  }
}

@keyframes panelGlow {
  0%,
  100% {
    opacity: 0.38;
    transform: translateX(-22%);
  }
  50% {
    opacity: 0.68;
    transform: translateX(18%);
  }
}

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

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

button {
  font: inherit;
}

:where(a, button):focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  box-shadow: var(--focus-ring);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
.service-card-title,
.footer-brand {
  font-family: "Noto Serif SC", "Noto Serif JP", Georgia, serif;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(20px, 4vw, 48px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(6, 30, 58, 0.12);
  backdrop-filter: blur(18px);
  animation: headerDrop 560ms var(--ease) both;
}

.site-header::after {
  content: "";
  position: absolute;
  right: clamp(20px, 4vw, 48px);
  bottom: -1px;
  left: clamp(20px, 4vw, 48px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(180, 134, 58, 0.8), transparent);
}

.site-header::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  z-index: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--blue));
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left;
  pointer-events: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 1 1 auto;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-xs);
  background: #fff;
  transition: transform 260ms var(--ease);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand:hover .brand-mark {
  transform: translateY(-1px);
}

.brand-copy {
  display: block;
  min-width: 0;
}

.brand-name,
.footer-brand {
  display: block;
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1.24;
  white-space: nowrap;
}

.brand-sub {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.72rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-toggle,
.menu-toggle {
  min-height: 42px;
  border: 1px solid rgba(6, 30, 58, 0.16);
  border-radius: var(--radius-xs);
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  transition: background 220ms ease, border-color 220ms ease, color 220ms ease, transform 220ms var(--ease);
}

.lang-toggle:hover,
.menu-toggle:hover {
  border-color: rgba(6, 30, 58, 0.34);
  background: #f6f8fb;
  transform: translateY(-1px);
}

.lang-toggle {
  display: inline-flex;
  min-width: 104px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  font-weight: 700;
}

.lang-flag {
  font-size: 1.05rem;
  line-height: 1;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 14px;
}

.menu-lines {
  display: grid;
  width: 16px;
  height: 12px;
  flex: 0 0 16px;
  grid-template-rows: repeat(3, 2px);
  align-content: center;
  gap: 2.5px;
}

.menu-lines span {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--navy);
  border-radius: 999px;
  transition: transform 240ms var(--ease), opacity 200ms ease;
}

.menu-toggle em {
  color: var(--navy);
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 700;
}

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

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

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

.site-nav {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  display: none;
  max-height: calc(100vh - 76px);
  overflow-y: auto;
  padding: 0 clamp(20px, 4vw, 48px);
  color: #fff;
}

.site-nav.is-open {
  display: block;
}

.nav-panel {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 1px;
  max-width: var(--wide);
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  overflow: hidden;
  transform-origin: top;
  animation: menuOpen 320ms var(--ease) both;
}

.nav-primary,
.nav-services {
  background: var(--navy);
}

.nav-primary {
  display: grid;
}

.nav-primary a {
  display: flex;
  min-height: 62px;
  align-items: center;
  padding: 0 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 1.05rem;
  font-weight: 700;
  transition: background 180ms ease, padding-left 220ms var(--ease);
}

.nav-primary a:hover,
.nav-services a:hover,
.nav-services button:hover {
  background: rgba(255, 255, 255, 0.08);
}

.nav-primary a:hover {
  padding-left: 36px;
}

.nav-services {
  padding: 24px 28px 28px;
}

.nav-services p {
  margin: 0 0 16px;
  color: var(--accent-soft);
  font-size: 0.82rem;
  font-weight: 700;
}

.nav-services div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.nav-services a,
.nav-services button {
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 0;
  background: #08294f;
  color: #fff;
  cursor: pointer;
  font-size: 0.92rem;
  line-height: 1.45;
  text-align: left;
  transition: background 180ms ease, transform 220ms var(--ease);
}

.nav-services a:hover,
.nav-services button:hover {
  transform: translateX(4px);
}

.nav-services span {
  color: var(--accent-soft);
  font-family: Georgia, serif;
}

main {
  padding-top: 76px;
}

.home-hero {
  position: relative;
  padding: 28px clamp(20px, 4vw, 48px) 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, #fff 0%, #fff 72%, #f4f7fb 100%);
}

.home-hero::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 74px;
  left: 0;
  height: 170px;
  background: linear-gradient(90deg, transparent, rgba(6, 30, 58, 0.06), transparent);
  pointer-events: none;
}

.hero-image-frame {
  position: relative;
  max-width: var(--wide);
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(6, 30, 58, 0.14);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  background: #e8eef6;
  box-shadow: 0 30px 80px rgba(6, 30, 58, 0.12);
  animation: heroSettle 900ms var(--ease) 120ms both;
}

.hero-image-frame::before {
  content: "";
  position: absolute;
  inset: 14px;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.62);
  pointer-events: none;
}

.hero-image-frame::after {
  content: "";
  position: absolute;
  top: -20%;
  bottom: -20%;
  left: 0;
  z-index: 2;
  width: 34%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.34), transparent);
  pointer-events: none;
  animation: sheen 5.6s ease-in-out 1.1s infinite;
}

.hero-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroImageEase 1600ms var(--ease) both;
}

.hero-section-nav {
  position: relative;
  z-index: 2;
  display: flex;
  max-width: var(--max);
  margin: 0 auto;
  background: var(--navy);
  color: #fff;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 18px 46px rgba(6, 30, 58, 0.18);
  animation: navLift 700ms var(--ease) 360ms both;
}

.hero-section-nav a {
  position: relative;
  flex: 1;
  min-height: 72px;
  display: grid;
  place-items: center;
  padding: 0 18px;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 700;
  overflow: hidden;
  transition: background 180ms ease, transform 220ms var(--ease);
}

.hero-section-nav a + a {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-section-nav a:hover {
  background: var(--navy-2);
  transform: translateY(-1px);
}

.hero-section-nav a::after {
  content: "";
  position: absolute;
  right: 28px;
  bottom: 18px;
  left: 28px;
  height: 2px;
  background: var(--accent-soft);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.hero-section-nav a:hover::after {
  transform: scaleX(1);
}

.about-section,
.services-section,
.feature-section,
.media-section,
.contact-section,
.detail-sections,
.service-entry-section,
.service-intro,
.service-cover {
  position: relative;
  z-index: 0;
  isolation: isolate;
  max-width: var(--max);
  margin: 0 auto;
  padding: 96px 44px;
}

.about-section::before,
.services-section::before,
.feature-section::before,
.media-section::before,
.contact-section::before,
.service-cover::before,
.service-entry-section::before,
.service-intro::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: -1;
  width: 100vw;
  transform: translateX(-50%);
}

.about-section {
  background: #fff;
}

.about-section::before,
.media-section::before,
.contact-section::before,
.service-cover::before,
.service-entry-section::before,
.service-intro::before {
  background: #fff;
}

.section-heading-large {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1fr);
  gap: 76px;
  align-items: start;
  margin-bottom: 76px;
}

.section-heading-large > *,
.about-layout > *,
.section-heading > *,
.feature-section > *,
.service-intro > *,
.detail-block > *,
.contact-panel > * {
  min-width: 0;
}

.section-kicker {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
}

h1 {
  margin: 0;
  font-size: 4.6rem;
  line-height: 1.05;
  font-weight: 700;
}

.hero-copy h2,
.about-copy h2,
.section-heading h2,
.feature-copy h2,
.contact-panel h2,
.detail-content h2,
.service-intro h1 {
  margin: 0;
  font-size: 2.35rem;
  line-height: 1.35;
  font-weight: 700;
}

.hero-copy p,
.service-intro-copy > p {
  margin: 22px 0 0;
  color: #3f4855;
  font-size: 1.04rem;
  line-height: 1.95;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid var(--navy);
  border-radius: var(--radius-xs);
  font-size: 0.9rem;
  font-weight: 700;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 220ms var(--ease), box-shadow 220ms ease;
}

.button::after {
  content: "";
  width: 22px;
  height: 1px;
  margin-left: 14px;
  background: currentColor;
  transform: scaleX(0.65);
  transform-origin: left;
  transition: transform 220ms var(--ease);
}

.button:hover {
  transform: translateY(-2px);
}

.button:hover::after {
  transform: scaleX(1);
}

.button-dark {
  background: var(--navy);
  color: #fff;
}

.button-dark:hover {
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 12px 28px rgba(11, 99, 206, 0.24);
}

.button-ghost {
  background: #fff;
  color: var(--navy);
}

.button-ghost:hover {
  background: var(--surface-soft);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 58px;
  align-items: center;
}

.about-copy h2 {
  margin-bottom: 26px;
}

.prose p {
  margin: 0 0 18px;
  color: #4b5563;
}

.prose p:last-child {
  margin-bottom: 0;
}

.about-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  border: 1px solid rgba(6, 30, 58, 0.12);
  border-radius: var(--radius-sm);
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.95), transparent 38%),
    #edf2f8;
  box-shadow: 0 24px 70px rgba(6, 30, 58, 0.12);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 700ms var(--ease), filter 700ms ease;
}

.about-image:hover img {
  transform: scale(1.035);
  filter: saturate(1.05);
}

.metrics-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 62px;
  background: var(--line-strong);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.metric {
  position: relative;
  overflow: hidden;
  min-height: 132px;
  padding: 28px;
  background: #fff;
  transition: background 220ms ease, transform 220ms var(--ease);
}

.metric:hover {
  background: #fbfdff;
  transform: translateY(-2px);
}

.metric::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 850ms var(--ease);
}

.metric.is-visible::after {
  transform: scaleX(1);
}

.metric strong {
  display: block;
  color: var(--navy);
  font-family: "Noto Serif SC", "Noto Serif JP", Georgia, serif;
  font-size: 2.35rem;
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.9rem;
}

.services-section {
  max-width: min(1760px, 100%);
  padding-right: clamp(10px, 1.4vw, 24px);
  padding-left: clamp(10px, 1.4vw, 24px);
  background: var(--surface-soft);
}

.services-section::before {
  background: var(--surface-soft);
}

.section-heading {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 56px;
  align-items: end;
  margin-bottom: 48px;
}

.services-grid {
  display: grid;
  gap: 32px;
  --service-card-width: min(420px, calc((100vw - 88px) / 4));
}

.services-row {
  display: grid;
  gap: 18px;
  justify-content: center;
  align-items: stretch;
}

.services-row-primary {
  grid-template-columns: repeat(3, var(--service-card-width));
}

.services-row-secondary {
  grid-template-columns: repeat(4, var(--service-card-width));
}

.service-card {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: 100%;
  height: 580px;
  min-height: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(6, 30, 58, 0.12);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  transition: transform 280ms var(--ease), box-shadow 280ms ease, border-color 280ms ease;
}

.service-card-button {
  width: 100%;
  padding: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(120deg, rgba(180, 134, 58, 0.12), transparent 34%),
    linear-gradient(300deg, rgba(11, 99, 206, 0.1), transparent 40%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 280ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(11, 99, 206, 0.36);
  box-shadow: var(--shadow-card-hover);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card-media {
  grid-row: 1;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  padding: 10px;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.9), transparent 38%),
    #eef4fb;
  border-bottom: 1px solid rgba(6, 30, 58, 0.1);
}

.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--radius-xs);
  transition: transform 700ms var(--ease), filter 700ms ease;
}

.service-card:hover .service-card-media img {
  transform: scale(1.06);
  filter: saturate(1.08) contrast(1.02);
}

.service-card-meta {
  position: absolute;
  top: 18px;
  right: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
}

.service-number {
  display: grid;
  min-width: 48px;
  height: 36px;
  place-items: center;
  background: rgba(255, 255, 255, 0.86);
  color: rgba(6, 30, 58, 0.58);
  border: 1px solid rgba(6, 30, 58, 0.1);
  border-radius: var(--radius-xs);
  font-family: Georgia, serif;
  font-size: 1.48rem;
  line-height: 1;
  backdrop-filter: blur(10px);
}

.service-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  overflow: hidden;
  background: rgba(244, 247, 251, 0.9);
  border: 1px solid rgba(223, 230, 240, 0.9);
  border-radius: var(--radius-xs);
  backdrop-filter: blur(10px);
}

.service-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service-card-body {
  grid-row: 2;
  display: flex;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
  overflow: hidden;
  padding: 34px 34px 24px;
  position: relative;
  z-index: 2;
}

.service-card-title {
  display: block;
  max-width: none;
  margin-bottom: 10px;
  font-size: 1.66rem;
  line-height: 1.34;
  font-weight: 700;
}

.service-card-subtitle {
  display: block;
  color: var(--blue);
  font-size: 1.03rem;
  font-weight: 800;
}

.service-card-summary {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  overflow: hidden;
  margin-top: 18px;
  color: #526071;
  font-size: 1.04rem;
  line-height: 1.72;
}

.service-card-action {
  grid-row: 3;
  position: relative;
  display: inline-flex;
  align-items: center;
  align-self: start;
  margin: 0 34px 34px;
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 800;
  z-index: 2;
  transition: color 220ms ease, transform 220ms var(--ease);
}

.service-card-action::after {
  content: "";
  width: 22px;
  height: 1px;
  margin-left: 10px;
  background: currentColor;
}

.service-card:hover .service-card-action {
  color: var(--blue);
  transform: translateX(4px);
}

.feature-section {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
  gap: 70px;
  background: var(--navy);
  color: #fff;
}

.feature-section::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: -1;
  width: 42vw;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.09), transparent);
  animation: panelGlow 7s ease-in-out infinite;
}

.feature-section::before {
  background: var(--navy);
}

.feature-copy h2,
.contact-panel h2 {
  color: #fff;
}

.feature-subtitle {
  margin: 28px 0 0;
  color: #fff;
  font-family: "Noto Serif SC", "Noto Serif JP", Georgia, serif;
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.45;
}

.feature-lead {
  margin: 22px 0 0;
  max-width: 420px;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.9;
}

.feature-list {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.feature-item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  transition: transform 260ms var(--ease), border-color 220ms ease;
}

.feature-item:hover {
  transform: translateX(6px);
  border-bottom-color: rgba(217, 189, 127, 0.5);
}

.feature-item span {
  color: var(--accent-soft);
  font-family: Georgia, serif;
  font-size: 1.35rem;
}

.feature-item h3 {
  margin: 0 0 8px;
  font-size: 1.24rem;
  line-height: 1.35;
}

.feature-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
}

.contact-section {
  background: #fff;
}

.media-section {
  background: #fff;
  max-width: var(--max);
  margin: 0 auto;
  padding: 96px 44px;
  position: relative;
  z-index: 0;
  isolation: isolate;
}

.media-heading {
  align-items: center;
  margin-bottom: 34px;
}

.media-card {
  position: relative;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 0;
  max-width: 880px;
  min-height: 178px;
  margin-left: auto;
  padding: 12px;
  overflow: hidden;
  border: 1px solid rgba(6, 30, 58, 0.14);
  border-radius: var(--radius-sm);
  background:
    linear-gradient(120deg, rgba(180, 134, 58, 0.07), transparent 34%),
    #fff;
  box-shadow: var(--shadow-card);
  transition: transform 280ms var(--ease), box-shadow 280ms ease, border-color 280ms ease;
}

.media-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--blue));
  transform: scaleX(0.18);
  transform-origin: left;
  transition: transform 360ms var(--ease);
}

.media-card:hover {
  transform: translateY(-4px);
  border-color: rgba(11, 99, 206, 0.28);
  box-shadow: var(--shadow-card-hover);
}

.media-card:hover::before {
  transform: scaleX(1);
}

.media-card-image {
  display: block;
  align-self: center;
  aspect-ratio: 16 / 9;
  min-height: 0;
  overflow: hidden;
  border-radius: var(--radius-xs);
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.92), transparent 38%),
    #e9f0f8;
}

.media-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 620ms var(--ease), filter 620ms ease;
}

.media-card:hover .media-card-image img {
  transform: scale(1.045);
  filter: saturate(1.08) contrast(1.03);
}

.media-card-content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 10px 22px 8px 28px;
}

.media-card-meta {
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
}

.media-card-content strong {
  display: block;
  color: var(--navy);
  font-family: "Noto Serif SC", "Noto Serif JP", Georgia, serif;
  font-size: 1.35rem;
  line-height: 1.45;
}

.media-card-text {
  display: block;
  margin-top: 12px;
  color: #526071;
  font-size: 0.92rem;
  line-height: 1.68;
}

.media-card-action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  color: var(--blue);
  font-size: 0.86rem;
  font-weight: 800;
}

.media-card-action::after {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  transition: transform 220ms var(--ease);
}

.media-card:hover .media-card-action::after {
  transform: translateX(6px);
}

.contact-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 56px;
  padding: 62px;
  background:
    linear-gradient(120deg, rgba(11, 99, 206, 0.22), transparent 52%),
    var(--navy);
  color: #fff;
  border-radius: var(--radius-sm);
  box-shadow: 0 30px 86px rgba(6, 30, 58, 0.2);
}

.contact-panel::before {
  content: "";
  position: absolute;
  top: -35%;
  bottom: -35%;
  left: -12%;
  width: 34%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent);
  transform: skewX(-16deg);
  animation: sheen 6.5s ease-in-out 800ms infinite;
  pointer-events: none;
}

.contact-copy,
.contact-methods {
  position: relative;
  z-index: 1;
}

.contact-panel .section-kicker {
  color: var(--accent-soft);
}

.contact-copy p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.74);
}

.contact-note {
  margin-top: 18px;
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  align-self: stretch;
  background: rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-xs);
  overflow: hidden;
}

.contact-method {
  appearance: none;
  display: flex;
  width: 100%;
  min-height: 154px;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
  border: 0;
  background: rgba(255, 255, 255, 0.07);
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 220ms ease, transform 220ms var(--ease);
}

.contact-method:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.contact-method-label {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--accent-soft);
  font-family: Georgia, serif;
  font-size: 0.82rem;
  font-weight: 700;
}

.contact-method strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.contact-method p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.88rem;
  line-height: 1.62;
}

.contact-method-action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 22px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.84rem;
  font-weight: 800;
}

.contact-method-action::after {
  content: "";
  width: 20px;
  height: 1px;
  background: currentColor;
}

.contact-modal[hidden] {
  display: none;
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
}

.contact-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(6, 18, 32, 0.62);
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.contact-modal-panel {
  position: relative;
  width: min(460px, 100%);
  padding: 38px;
  border: 1px solid rgba(6, 30, 58, 0.12);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  box-shadow: 0 34px 90px rgba(6, 30, 58, 0.28);
  animation: heroSettle 360ms var(--ease) both;
}

.contact-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
}

.contact-modal-panel h3 {
  margin: 0;
  font-family: "Noto Serif SC", "Noto Serif JP", Georgia, serif;
  font-size: 2rem;
  line-height: 1.25;
}

.notice-modal-panel {
  width: min(380px, 100%);
  text-align: center;
}

.notice-modal-panel .section-kicker {
  justify-content: center;
  margin-bottom: 16px;
}

.contact-modal-panel p[data-contact-modal-lead] {
  margin: 18px 0 24px;
  color: var(--muted);
}

.contact-wechat-modal {
  display: grid;
  gap: 18px;
}

.contact-id-box {
  display: grid;
  gap: 6px;
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  text-align: center;
}

.contact-id-box span,
.contact-phone-link span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.contact-id-box strong {
  color: var(--navy);
  font-family: "Noto Serif SC", "Noto Serif JP", Georgia, serif;
  font-size: 1.55rem;
  line-height: 1.2;
}

.contact-phone-list {
  display: grid;
  gap: 12px;
}

.contact-phone-link {
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
  color: var(--navy);
  transition: border-color 220ms ease, background 220ms ease, transform 220ms var(--ease);
}

.contact-phone-link:hover {
  border-color: rgba(11, 99, 206, 0.32);
  background: #fff;
  transform: translateY(-2px);
}

.contact-phone-link strong {
  font-family: "Noto Serif SC", "Noto Serif JP", Georgia, serif;
  font-size: 1.38rem;
  line-height: 1.25;
}

.site-footer {
  padding: 48px 44px 32px;
  background: #07192f;
  color: #fff;
}

.footer-inner {
  display: flex;
  max-width: var(--max);
  margin: 0 auto;
  justify-content: space-between;
  gap: 40px;
}

.footer-inner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
}

.footer-brand {
  margin-bottom: 10px;
  color: #fff;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

.footer-links a {
  transition: color 180ms ease;
}

.footer-links a:hover {
  color: #fff;
}

.footer-copy {
  max-width: var(--max);
  margin: 34px auto 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.82rem;
}

.service-cover {
  padding-top: 64px;
  padding-bottom: 0;
  background: #fff;
}

.service-cover-image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  padding: 14px;
  border: 1px solid rgba(6, 30, 58, 0.14);
  border-radius: var(--radius-sm);
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.95), transparent 36%),
    #e8eef6;
  box-shadow: 0 30px 80px rgba(6, 30, 58, 0.12);
  animation: heroSettle 760ms var(--ease) both;
}

.service-cover-image::after {
  content: "";
  position: absolute;
  top: -20%;
  bottom: -20%;
  left: 0;
  width: 30%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  animation: sheen 5.8s ease-in-out 900ms infinite;
  pointer-events: none;
}

.service-cover-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--radius-xs);
}

.service-intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  gap: 72px;
  padding-top: 58px;
  padding-bottom: 82px;
  background: #fff;
}

.breadcrumb {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 0.86rem;
}

.service-intro blockquote {
  margin: 34px 0 0;
  padding: 24px 0 0;
  color: var(--navy);
  border-top: 1px solid var(--line-strong);
  font-family: "Noto Serif SC", "Noto Serif JP", Georgia, serif;
  font-size: 1.28rem;
  line-height: 1.65;
}

.service-entry-section {
  padding-top: 0;
  padding-bottom: 86px;
  background: #fff;
}

.service-entry-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 42px;
  align-items: center;
  padding: 42px;
  border: 1px solid rgba(6, 30, 58, 0.12);
  border-radius: var(--radius-sm);
  background:
    linear-gradient(120deg, rgba(11, 99, 206, 0.08), transparent 45%),
    #f7fafd;
  box-shadow: var(--shadow-card);
}

.service-entry-panel::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--blue));
}

.service-entry-copy {
  min-width: 0;
}

.service-entry-copy h2 {
  margin: 0;
  color: var(--navy);
  font-family: "Noto Serif SC", "Noto Serif JP", Georgia, serif;
  font-size: 2rem;
  line-height: 1.35;
}

.service-entry-copy p:not(.section-kicker) {
  max-width: 640px;
  margin: 18px 0 28px;
  color: #4b5563;
  line-height: 1.82;
}

.service-entry-qr {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  text-align: center;
}

.service-entry-qr img {
  width: min(176px, 100%);
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: var(--radius-xs);
}

.service-entry-qr strong {
  color: var(--navy);
  font-size: 1rem;
}

.service-entry-qr span {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.detail-sections {
  padding-top: 40px;
  background: var(--page);
}

.detail-block {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 58px;
  padding: 54px 0;
  border-bottom: 1px solid var(--line);
}

.detail-block-plain {
  grid-template-columns: 1fr;
}

.detail-index {
  display: flex;
  align-items: baseline;
  gap: 16px;
  color: var(--muted);
}

.detail-index span {
  color: var(--accent);
  font-family: Georgia, serif;
  font-size: 2rem;
  line-height: 1;
}

.detail-index em {
  font-style: normal;
  font-size: 0.9rem;
}

.detail-content h2 {
  margin-bottom: 24px;
}

.clean-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.clean-list li {
  position: relative;
  padding-left: 22px;
  color: #4b5563;
}

.clean-list li::before {
  content: "";
  position: absolute;
  top: 0.82em;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--accent);
}

.reveal {
  opacity: 0;
  filter: blur(2px);
  transform: translate3d(0, 32px, 0);
  transition:
    opacity 760ms var(--ease),
    filter 760ms ease,
    transform 760ms var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0);
}

.service-card.reveal.is-visible:hover {
  transform: translateY(-4px);
}

.feature-item.reveal.is-visible:hover {
  transform: translateX(6px);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    filter: none;
    transform: none;
  }
}

@media (max-width: 1080px) {
  .section-heading-large,
  .about-layout,
  .section-heading,
  .feature-section,
  .service-intro,
  .service-entry-panel,
  .detail-block,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .section-heading-large,
  .about-layout,
  .feature-section,
  .service-intro,
  .service-entry-panel,
  .detail-block,
  .contact-panel {
    gap: 38px;
  }

  .service-card {
    height: 560px;
  }
}

@media (max-width: 1120px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-row {
    display: contents;
  }
}

@media (max-width: 820px) {
  body {
    font-size: 15px;
  }

  .site-header {
    height: 68px;
  }

  .site-nav {
    max-height: calc(100vh - 68px);
  }

  main {
    padding-top: 68px;
  }

  .brand {
    min-width: 0;
  }

  .brand-sub {
    display: none;
  }

  .nav-panel,
  .nav-services div {
    grid-template-columns: 1fr;
  }

  .home-hero {
    padding-top: 20px;
  }

  .hero-section-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-section-nav a {
    min-height: 58px;
    font-size: 0.92rem;
  }

  .hero-section-nav a + a {
    border-left: 0;
  }

  .hero-section-nav a:nth-child(2n) {
    border-left: 1px solid rgba(255, 255, 255, 0.18);
  }

  .hero-section-nav a:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }

  .about-section,
  .services-section,
  .feature-section,
  .media-section,
  .contact-section,
  .detail-sections,
  .service-entry-section,
  .service-intro,
  .service-cover {
    padding: 68px 22px;
  }

  .service-cover {
    padding-bottom: 0;
  }

  h1 {
    font-size: 3.2rem;
  }

  .hero-copy h2,
  .about-copy h2,
  .section-heading h2,
  .feature-copy h2,
  .contact-panel h2,
  .detail-content h2,
  .service-intro h1 {
    font-size: 2rem;
  }

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

  .media-card {
    max-width: none;
    margin-left: 0;
  }

  .contact-panel {
    padding: 42px 28px;
  }

  .service-entry-panel {
    padding: 34px 28px;
  }
}

@media (max-width: 560px) {
  .site-header {
    gap: 8px;
    padding: 0 14px;
  }

  .brand {
    flex: 1 1 auto;
    max-width: none;
    gap: 8px;
  }

  .brand-mark {
    width: 38px;
    height: 42px;
    flex-basis: 38px;
    padding-bottom: 3px;
  }

  .brand-name {
    font-size: 0.92rem;
    white-space: nowrap;
  }

  .header-actions {
    flex-shrink: 0;
    gap: 6px;
  }

  .lang-toggle {
    min-width: 86px;
    gap: 6px;
    padding: 0 10px;
    font-size: 0.88rem;
  }

  .menu-toggle {
    width: 40px;
    padding: 0;
  }

  .menu-lines {
    width: 15px;
    flex-basis: 15px;
  }

  .menu-lines span {
    width: 15px;
  }

  .home-hero {
    padding-right: 12px;
    padding-left: 12px;
  }

  .hero-section-nav a {
    padding: 0 8px;
    font-size: 0.88rem;
  }

  .menu-toggle em {
    display: none;
  }

  .hero-image-frame,
  .service-cover-image,
  .about-image {
    aspect-ratio: 16 / 10;
  }

  .hero-image-frame img,
  .service-cover-image img,
  .about-image img {
    object-fit: contain;
    background: #edf4fb;
  }

  .section-heading-large {
    margin-bottom: 48px;
  }

  h1 {
    font-size: 2.62rem;
  }

  .hero-copy h2,
  .about-copy h2,
  .section-heading h2,
  .feature-copy h2,
  .contact-panel h2,
  .detail-content h2,
  .service-intro h1 {
    font-size: 1.72rem;
  }

  .hero-actions {
    display: grid;
  }

  .metrics-band,
  .services-grid,
  .contact-methods,
  .clean-list {
    grid-template-columns: 1fr;
  }

  .service-card {
    height: auto;
    min-height: 0;
  }

  .media-card {
    grid-template-columns: 132px minmax(0, 1fr);
    min-height: 128px;
    padding: 10px;
  }

  .media-card-image {
    min-height: 0;
  }

  .media-card-content {
    padding: 2px 8px 2px 14px;
  }

  .media-card-content strong {
    font-size: 1rem;
    line-height: 1.42;
  }

  .media-card-text {
    display: none;
  }

  .media-card-action {
    margin-top: 10px;
  }

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

  .service-card-media {
    aspect-ratio: 16 / 9;
  }

  .service-card-meta {
    top: 18px;
    right: 18px;
  }

  .service-card-title {
    max-width: none;
    padding-right: 0;
  }

  .service-entry-copy h2 {
    font-size: 1.55rem;
  }

  .service-entry-qr {
    padding: 16px;
  }

  .service-entry-qr img {
    width: min(220px, 100%);
  }

  .service-card-action {
    margin-bottom: 26px;
  }

  .feature-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .footer-inner {
    flex-direction: column;
  }
}
