:root {
  --bg: #08101c;
  --bg-2: #0c1524;
  --surface: #101a2c;
  --surface-2: #13203a;
  --surface-3: #182845;
  --text: #e7edf7;
  --text-strong: #ffffff;
  --muted: #9ca9c0;
  --line: rgba(212, 173, 86, 0.18);
  --line-strong: rgba(212, 173, 86, 0.36);
  --gold: #d4ad56;
  --gold-soft: #efd394;
  --gold-deep: #9f7726;
  --shadow: 0 28px 64px rgba(0, 0, 0, 0.34);
  --shadow-soft: 0 18px 36px rgba(0, 0, 0, 0.24);
  --radius: 24px;
  --container: 1160px;
  --font-body: "Inter", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-heading: "Noto Serif JP", "Hiragino Mincho ProN", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.85;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  background:
    radial-gradient(circle at top left, rgba(212, 173, 86, 0.08), transparent 24%),
    radial-gradient(circle at right 20%, rgba(212, 173, 86, 0.05), transparent 22%),
    linear-gradient(180deg, #09111e 0%, #08101c 45%, #060d18 100%);
}

body.menu-open {
  overflow: hidden;
}

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

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

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

.container {
  width: min(100% - 24px, var(--container));
  margin-inline: auto;
}

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

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
figure {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-strong);
}

.page {
  position: relative;
}

.page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0, transparent calc(50% - 580px), rgba(212,173,86,0.03) calc(50% - 580px), rgba(212,173,86,0.03) calc(50% - 579px), transparent calc(50% - 579px), transparent calc(50% + 579px), rgba(212,173,86,0.03) calc(50% + 579px), rgba(212,173,86,0.03) calc(50% + 580px), transparent calc(50% + 580px));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(212, 173, 86, 0.14);
  background: rgba(7, 12, 22, 0.82);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-height: 80px;
  gap: 12px;
}

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

.brand-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand-wordmark {
  width: min(46vw, 190px);
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

.footer-brand {
  flex-wrap: wrap;
}

.footer-brand .brand-icon {
  width: 40px;
  height: 40px;
}

.footer-brand .brand-wordmark {
  width: min(52vw, 210px);
  height: auto;
}

.menu-toggle {
  justify-self: end;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--gold-soft);
}

.global-nav {
  display: none;
}

.global-nav.is-open {
  display: flex;
  position: absolute;
  top: 84px;
  left: 16px;
  right: 16px;
  padding: 18px;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: rgba(10, 16, 29, 0.98);
  box-shadow: var(--shadow);
  flex-direction: column;
  gap: 10px;
}

.global-nav a {
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--muted);
  font-weight: 600;
}

.global-nav a:hover,
.global-nav a:focus-visible {
  background: rgba(212, 173, 86, 0.08);
  color: var(--gold-soft);
}

.header-cta {
  display: none;
}

.hero-section,
.page-hero {
  position: relative;
  overflow: hidden;
}

.hero-section::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(212,173,86,0.09), transparent 36%),
    linear-gradient(180deg, rgba(255,255,255,0.03), transparent 60%);
}

.hero-section::after,
.page-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,173,86,0.62), transparent);
}

.hero-section {
  padding: 76px 0 88px;
}

.page-hero {
  padding: 68px 0 54px;
}

.hero-grid,
.company-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 28px;
  align-items: start;
}

.eyebrow,
.service-no,
.group-label,
.mock-eyebrow {
  display: inline-block;
  color: var(--gold);
  letter-spacing: 0.22em;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 12px;
}

.eyebrow.light {
  color: rgba(239, 211, 148, 0.78);
}

.hero-copy h1,
.page-hero h1 {
  font-size: clamp(2.45rem, 1.9rem + 3vw, 3.9rem);
  line-height: 1.22;
  margin-bottom: 18px;
}

.hero-lead,
.page-lead,
.section-heading p,
.section-text,
.info-card p,
.service-card p,
.reason-card p,
.metric-card span,
.flow-note,
.steps-list span,
.profile-desc,
.group-header p,
.facility-card p,
.footer-copy,
.footer-list,
.breadcrumb {
  color: var(--muted);
}

.hero-line {
  width: min(180px, 44%);
  height: 1px;
  margin: 8px 0 24px;
  background: linear-gradient(90deg, rgba(212,173,86,0.95), transparent);
}

.hero-tags,
.chip-list,
.footer-list,
.bullet-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-tags li,
.chip-list li {
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(212, 173, 86, 0.2);
  background: rgba(255, 255, 255, 0.02);
  color: var(--gold-soft);
  font-size: 0.92rem;
  font-weight: 600;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions > *,
.contact-actions > * {
  flex: 1 1 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  min-height: 50px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

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

.btn-primary {
  color: #151b26;
  background: linear-gradient(135deg, #e3c57e 0%, #b8872e 100%);
  box-shadow: 0 20px 38px rgba(159, 119, 38, 0.28);
}

.btn-primary2 {
  color:#fff;
  background:#cd8d16;
  margin-top:10px;
  box-shadow: 0 20px 38px rgba(159, 119, 38, 0.28);
}
.btn-secondary {
  color: var(--gold-soft);
  background: rgba(255,255,255,0.015);
  border-color: rgba(212,173,86,0.3);
}

.panel,
.panel-sub,
.metric-card,
.info-card,
.service-card,
.reason-card,
.flow-card,
.profile-table,
.group-company,
.facility-card,
.contact-box,
.hero-side {
  position: relative;
  min-width: 0;
  border: 1px solid rgba(212, 173, 86, 0.14);
  background: linear-gradient(180deg, rgba(17, 26, 44, 0.96) 0%, rgba(11, 18, 31, 0.98) 100%);
  box-shadow: var(--shadow-soft);
  border-radius: 24px;
}

.panel::before,
.panel-sub::before,
.metric-card::before,
.info-card::before,
.service-card::before,
.reason-card::before,
.flow-card::before,
.profile-table::before,
.group-company::before,
.facility-card::before,
.contact-box::before,
.hero-side::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(239, 211, 148, 0.05);
  border-radius: 16px;
  pointer-events: none;
}

.hero-board,
.hero-side,
.flow-card,
.contact-box,
.profile-table,
.group-company {
  padding: 28px;
}

.board-head,
.hero-side-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.board-head {
  align-items: end;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(212,173,86,0.12);
}

.board-head span,
.hero-side-item span,
.metric-card span {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.board-head strong,
.hero-side-item strong,
.metric-card strong {
  color: var(--text-strong);
  font-size: 1rem;
}

.board-grid,
.metric-grid,
.grid,
.sample-gallery,
.facility-grid {
  display: grid;
  gap: 18px;
}

.board-grid article,
.metric-card,
.info-card,
.service-card,
.reason-card,
.facility-card,
.sample-card {
  padding: 24px;
}

.board-grid article {
  border: 1px solid rgba(212,173,86,0.12);
  border-radius: 18px;
  background: rgba(255,255,255,0.015);
}

.board-grid article small,
.service-no {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.16em;
}

.board-grid article h3,
.metric-card strong,
.info-card h3,
.service-card h3,
.reason-card h3,
.group-header h3,
.facility-card h4,
.contact-box h2,
.profile-term {
  color: var(--text-strong);
}

.metric-section {
  padding-top: 0;
}

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

.metric-card strong {
  display: block;
  margin-top: 10px;
  font-family: var(--font-heading);
  font-size: 1.08rem;
  letter-spacing: 0.03em;
}

.section {
  padding: 84px 0;
}

.section-alt {
  border-top: 1px solid rgba(212,173,86,0.08);
  border-bottom: 1px solid rgba(212,173,86,0.08);
  background: linear-gradient(180deg, rgba(255,255,255,0.015), rgba(212,173,86,0.03));
}

.section-heading {
  max-width: 840px;
  margin: 0 auto 38px;
  text-align: center;
}

.section-heading.left {
  margin-inline: 0;
  text-align: left;
}

.section-heading.narrow {
  max-width: 760px;
}

.section-heading h2 {
  font-size: clamp(2rem, 1.5rem + 2vw, 3.2rem);
  line-height: 1.28;
  margin-bottom: 14px;
}

.cards-4,
.cards-3,
.cards-2,
.service-grid,
.split-layout,
.app-top-layout {
  grid-template-columns: 1fr;
}

.app-top-layout.single-column {
  max-width: 760px;
  margin: 0 auto 0 0;
}

.icon-badge {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  border: 1px solid rgba(212,173,86,0.34);
  background: rgba(212,173,86,0.08);
  color: var(--gold-soft);
  font-weight: 700;
}

.flow-card {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-content: flex-start;
}

.flow-step,
.flow-arrow {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
}

.flow-step {
  padding: 0 16px;
  border: 1px solid rgba(212,173,86,0.14);
  background: rgba(255,255,255,0.02);
  color: var(--text-strong);
  font-weight: 600;
}

.flow-arrow {
  padding: 0 6px;
  color: var(--gold);
  font-size: 1.35rem;
}

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

.steps-list li {
  padding: 20px 22px;
  border-radius: 18px;
  border: 1px solid rgba(212,173,86,0.12);
  background: rgba(255,255,255,0.02);
}

.steps-list strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text-strong);
}

.app-overview {
  padding: 24px;
  margin-bottom: 24px;
}

.app-overview-head {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}

.app-overview-head h3 {
  margin-bottom: 0;
  font-size: clamp(1.3rem, 1.1rem + 1vw, 1.8rem);
}

.app-overview-text {
  margin: 0;
  color: var(--muted);
}

.steps-list.compact {
  gap: 12px;
}

.steps-list.compact li {
  padding: 16px 18px;
}

.phone-display {
  padding: 26px;
}

.phone-frame {
  width: min(100%, 312px);
  margin-inline: auto;
  padding: 16px;
  border-radius: 38px;
  border: 1px solid rgba(239,211,148,0.24);
  background: linear-gradient(180deg, #1d1710 0%, #2d2418 100%);
  box-shadow: 0 28px 48px rgba(0, 0, 0, 0.35);
}

.phone-notch {
  width: 34%;
  height: 18px;
  margin: 0 auto 14px;
  border-radius: 0 0 14px 14px;
  background: #0a0d12;
}

.phone-screen {
  min-height: 420px;
  padding: 24px 18px;
  border-radius: 26px;
  background: linear-gradient(180deg, #fcf8ef 0%, #efe4c8 100%);
  color: #1e2530;
}

.phone-screen .mock-eyebrow {
  color: #8f6c29;
}

.vote-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(30,37,48,0.12);
}

.vote-row span {
  color: #2f3847;
}

.vote-row strong {
  color: #8b6924;
}

.mock-button {
  width: 100%;
  margin-top: 18px;
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #dab76d, #a37a2d);
  color: #141a23;
  font-weight: 800;
}

.app-slider {
  display: grid;
  gap: 18px;
  padding: 18px;
  margin-top: 28px;
}

.app-slider-head {
  display: grid;
  gap: 10px;
}

.app-slider-head h3 {
  margin: 0;
  color: var(--text-strong);
  font-size: clamp(1.3rem, 1.12rem + 0.9vw, 1.9rem);
}

.app-slider-lead {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.app-slider-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: 14px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.app-slider-track::-webkit-scrollbar {
  display: none;
}

.app-slide {
  scroll-snap-align: start;
  min-width: 0;
  display: grid;
  gap: 14px;
  padding: 14px;
}

.sample-image-wrap {
  display: grid;
  gap: 10px;
  width: 100%;
  padding: 12px;
  border: 0;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.015));
  cursor: pointer;
}

.phone-showcase {
  display: grid;
  place-items: center;
  min-height: 320px;
  padding: 18px 12px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top, rgba(212,173,86,0.16), rgba(8,16,28,0) 36%),
    linear-gradient(180deg, rgba(16,26,44,0.98), rgba(7,12,20,1));
  border: 1px solid rgba(212,173,86,0.14);
}

.phone-showcase-featured {
  min-height: clamp(360px, 62vw, 520px);
}

.phone-showcase::after {
  content: "";
  width: min(68%, 240px);
  height: 18px;
  margin-top: 12px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(212,173,86,0.22), rgba(212,173,86,0));
  filter: blur(8px);
}

.sample-image-wrap img {
  width: auto;
  max-width: min(100%, 280px);
  height: auto;
  max-height: 460px;
  object-fit: contain;
  border-radius: 18px;
  background: transparent;
  filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.28));
}

.sample-zoom-hint {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-inline: auto;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(212,173,86,0.08);
  border: 1px solid rgba(212,173,86,0.18);
  color: var(--gold-soft);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.app-slide-copy {
  display: grid;
  gap: 8px;
}

.app-slide-copy h3 {
  margin: 0;
  color: var(--text-strong);
  font-size: 1.08rem;
}

.app-slide-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.app-thumb-step {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(212,173,86,0.24);
  background: rgba(212,173,86,0.08);
  color: var(--gold-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.app-slider-controls {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
}

.slider-nav {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(212,173,86,0.18);
  background: rgba(255,255,255,0.03);
  color: var(--gold-soft);
  font-size: 1.6rem;
  line-height: 1;
}

.app-slider-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.app-slider-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
}

.app-slider-dot.is-active {
  width: 28px;
  background: linear-gradient(90deg, #e3c57e, #b8872e);
}

.sample-image-wrap:focus-visible,
.slider-nav:focus-visible,
.app-slider-dot:focus-visible,
.lightbox-close:focus-visible {
  outline: 2px solid rgba(239,211,148,0.9);
  outline-offset: 2px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(4, 8, 16, 0.88);
  backdrop-filter: blur(8px);
}

.lightbox[hidden] {
  display: none !important;
}

.lightbox-open {
  overflow: hidden;
}

.lightbox-dialog {
  width: min(100%, 540px);
  padding: 16px;
  border-radius: 24px;
  background: #0b1220;
  border: 1px solid rgba(212,173,86,0.18);
  box-shadow: var(--shadow);
}

.lightbox-image {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 16px;
}

.lightbox-caption {
  margin: 12px 0 0;
  text-align: center;
  color: var(--text-strong);
  font-weight: 600;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(212,173,86,0.24);
  border-radius: 999px;
  background: rgba(10,16,29,0.88);
  color: var(--gold-soft);
  font-size: 1.5rem;
  line-height: 1;
}

.company-hero-grid,
.split-layout,
.app-top-layout {
  display: grid;
  gap: 24px;
}

.hero-side {
  display: grid;
  gap: 14px;
}

.hero-side-item {
  padding: 18px 0;
  border-bottom: 1px solid rgba(212,173,86,0.12);
}

.hero-side-item:last-child {
  border-bottom: 0;
}

.profile-table {
  display: grid;
  gap: 0;
}

.profile-row {
  display: grid;
  border-bottom: 1px solid rgba(212,173,86,0.1);
}

.profile-row:last-child {
  border-bottom: 0;
}

.profile-row.full .profile-desc {
  padding-top: 6px;
}

.profile-term,
.profile-desc {
  padding: 18px 0;
}

.profile-term {
  color: var(--gold-soft);
  font-weight: 700;
}

.bullet-list {
  display: grid;
  gap: 8px;
}

.bullet-list li {
  position: relative;
  padding-left: 1.2em;
}

.bullet-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--gold);
}

.group-stack {
  display: grid;
  gap: 22px;
}

.group-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}

.text-link,
.breadcrumb a,
.footer-list a {
  color: var(--gold-soft);
}

.text-link:hover,
.breadcrumb a:hover,
.footer-list a:hover {
  opacity: 0.88;
}

.facility-grid.single {
  grid-template-columns: 1fr;
}

.panel-sub {
  background: rgba(255,255,255,0.02);
  border-radius: 18px;
}

.contact-section {
  padding-top: 0;
}

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

.site-footer {
  padding: 64px 0 24px;
  background: #060b14;
  border-top: 1px solid rgba(212,173,86,0.1);
}

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

.footer-brand {
  margin-bottom: 14px;
}

.footer-bottom {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(212,173,86,0.1);
  color: var(--muted);
}

.breadcrumb {
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.breadcrumb span {
  padding: 0 6px;
}

@media (min-width: 48rem) {
  .container {
    width: min(100% - 32px, var(--container));
  }

  .header-inner {
    grid-template-columns: auto 1fr auto;
    min-height: 84px;
    gap: 16px;
  }

  .menu-toggle {
    display: none;
  }

  .global-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    position: static;
  }

  .header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid rgba(212,173,86,0.26);
    background: rgba(255,255,255,0.02);
    color: var(--gold-soft);
    font-weight: 700;
  }

  .brand-icon {
    width: 42px;
    height: 42px;
  }

  .brand-wordmark {
    width: auto;
    height: 34px;
  }

  .footer-brand .brand-icon {
    width: 44px;
    height: 44px;
  }

  .footer-brand .brand-wordmark {
    width: auto;
    height: 36px;
  }

  .hero-actions > *,
  .contact-actions > * {
    flex: 0 1 auto;
  }

  .btn {
    width: auto;
  }

  .hero-grid,
  .company-hero-grid,
  .split-layout,
  .app-top-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  }

  .app-top-layout.single-column {
    grid-template-columns: 1fr;
    max-width: 760px;
  }

  .metric-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .cards-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .cards-3 {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .app-overview-head {
    grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
    align-items: end;
  }

  .app-slider {
    padding: 24px;
  }

  .app-slider-track {
    grid-auto-columns: minmax(0, 100%);
  }

  .slider-nav:hover {
    border-color: rgba(212,173,86,0.3);
    transform: translateY(-1px);
  }

  .profile-row {
    grid-template-columns: 220px 1fr;
    gap: 24px;
    align-items: start;
  }

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

  .group-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .contact-box {
    grid-template-columns: 1.35fr auto;
    align-items: center;
  }

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

@media (max-width: 47.99rem) {
  .site-header {
    backdrop-filter: blur(10px);
  }

  .page::before {
    display: none;
  }

  .hero-section {
    padding: 56px 0 72px;
  }

  .app-slider {
    padding: 16px;
  }

  .app-slide {
    padding: 12px;
  }

  .phone-showcase-featured {
    min-height: 340px;
  }

  .section {
    padding: 72px 0;
  }

  .board-head,
  .hero-side-item,
  .app-overview-head {
    grid-template-columns: 1fr;
    display: grid;
  }

  .board-head strong,
  .hero-side-item strong {
    justify-self: start;
  }

  .board-grid article,
  .metric-card,
  .info-card,
  .service-card,
  .reason-card,
  .facility-card,
  .sample-card,
  .app-overview,
  .flow-card,
  .contact-box,
  .group-company,
  .profile-table,
  .hero-board,
  .hero-side {
    padding-left: 18px;
    padding-right: 18px;
  }

  .flow-card {
    gap: 8px;
  }

  .flow-step,
  .flow-arrow {
    width: 100%;
  }

  .flow-arrow {
    min-height: 20px;
    padding: 2px 0;
    transform: rotate(90deg);
  }

  .section#app .section-heading {
    margin-bottom: 28px;
  }

  .sample-gallery-wrap {
    margin-inline: calc(50% - 50vw + 12px);
    padding-inline: 12px;
  }

  .app-gallery-optimized {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(78%, 292px);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    padding-bottom: 6px;
    scrollbar-width: none;
  }

  .app-gallery-optimized::-webkit-scrollbar {
    display: none;
  }

  .sample-card {
    padding: 16px;
    scroll-snap-align: start;
  }

  .sample-image-wrap {
    padding: 10px;
  }

  .phone-showcase {
    min-height: 280px;
  }

  .sample-card img {
    max-height: 360px;
  }
}

@media (min-width: 64rem) {
  .cards-4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .facility-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .facility-grid.single {
    grid-template-columns: minmax(0, 420px);
  }
}
/* =========================================================
   Added: Service Detail / Hidden Ops / Transition /
   Cost Analysis / Price Plan sections
   (existing design tokens only — no new colors/fonts)
   ========================================================= */

.detail-block {
  margin-top: 56px;
}

.detail-block:first-of-type {
  margin-top: 0;
}

.detail-head {
  max-width: 840px;
  margin-bottom: 26px;
}

.detail-head h3 {
  font-size: clamp(1.5rem, 1.25rem + 1.2vw, 2.1rem);
  line-height: 1.32;
  margin-bottom: 10px;
}

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

.detail-head .eyebrow {
  margin-bottom: 10px;
}

.steps-2col {
  margin-top: 18px;
}

.detail-panel {
  padding: 28px;
}

.detail-panel h4 {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(212, 173, 86, 0.12);
  font-size: 1.12rem;
  color: var(--text-strong);
}

.gold-heading {
  color: var(--gold-soft) !important;
}

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

.desc-list strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text-strong);
}

.desc-list span {
  color: var(--muted);
}

.step-pill {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  margin-bottom: 14px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(212, 173, 86, 0.24);
  background: rgba(212, 173, 86, 0.08);
  color: var(--gold-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.info-card.is-key {
  border-color: rgba(212, 173, 86, 0.42);
  background: linear-gradient(180deg, rgba(24, 31, 50, 0.98) 0%, rgba(15, 22, 38, 0.98) 100%);
}

.center-note {
  margin: 22px auto 0;
  max-width: 840px;
  text-align: center;
}

.cost-card {
  text-align: center;
}

.cost-label {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.cost-value {
  display: block;
  margin: 10px 0 12px;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 1.6rem + 1.8vw, 2.9rem);
  letter-spacing: 0.02em;
  color: var(--gold-soft);
  line-height: 1.2;
}

.cost-value small {
  font-size: 0.5em;
  margin-left: 2px;
}

.cost-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.cost-summary {
  display: grid;
  gap: 18px;
  align-items: center;
  margin-top: 22px;
  padding: 28px;
  text-align: center;
}

.cost-figure strong {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 1.1rem + 1vw, 1.8rem);
  color: var(--text-strong);
}

.cost-figure span {
  color: var(--muted);
  font-size: 0.92rem;
}

.cost-arrow {
  color: var(--gold);
  font-size: 1.8rem;
  line-height: 1;
  transform: rotate(90deg);
}

.cost-badge {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 10px 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, #e3c57e 0%, #b8872e 100%);
  color: #151b26;
  font-weight: 800;
  font-size: 1.08rem;
  letter-spacing: 0.06em;
  box-shadow: 0 20px 38px rgba(159, 119, 38, 0.28);
}

.price-card {
  text-align: center;
  display: grid;
  align-content: start;
  gap: 6px;
}

.price-card h4 {
  margin-bottom: 0;
  font-size: 1.16rem;
  color: var(--text-strong);
}

.price-scope {
  color: var(--muted);
  font-size: 0.9rem;
}

.price-amount {
  margin: 14px 0 0;
  color: var(--text);
  font-weight: 600;
}

.price-amount strong {
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 1.7rem + 1.6vw, 2.8rem);
  color: var(--gold-soft);
  line-height: 1.1;
  padding: 0 4px;
}

.price-amount .price-quote {
  font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.1rem);
}

.price-tax {
  color: var(--muted);
  font-size: 0.85rem;
}

.price-desc {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.price-card.is-featured {
  border-color: rgba(212, 173, 86, 0.5);
  background: linear-gradient(180deg, rgba(26, 33, 53, 0.98) 0%, rgba(16, 23, 40, 0.98) 100%);
}

.price-card.is-featured h4 {
  color: var(--gold-soft);
}

.price-table-wrap {
  padding: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.price-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.price-table th,
.price-table td {
  padding: 15px 18px;
  border-bottom: 1px solid rgba(212, 173, 86, 0.1);
  text-align: left;
  vertical-align: top;
}

.price-table thead th {
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: 700;
  border-bottom: 1px solid rgba(212, 173, 86, 0.26);
}

.price-table tbody tr:last-child th,
.price-table tbody tr:last-child td {
  border-bottom: 0;
}

.price-table tbody th {
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 600;
}

.price-table td:nth-child(2) {
  color: var(--gold-soft);
  font-weight: 700;
  white-space: nowrap;
}

.price-table td:nth-child(3) {
  color: var(--muted);
}

.fee-card {
  padding: 24px;
}

.fee-card h4 {
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(212, 173, 86, 0.12);
  font-size: 1.12rem;
  color: var(--text-strong);
}

.fee-list {
  margin: 0;
  display: grid;
  gap: 0;
}

.fee-list > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(212, 173, 86, 0.08);
}

.fee-list > div:last-child {
  border-bottom: 0;
}

.fee-list dt {
  color: var(--muted);
  font-size: 0.92rem;
}

.fee-list dd {
  margin: 0;
  color: var(--gold-soft);
  font-weight: 700;
  white-space: nowrap;
}

@media (min-width: 48rem) {
  .steps-2col {
    grid-template-columns: repeat(2, 1fr);
  }

  .cards-5 {
    grid-template-columns: repeat(2, 1fr);
  }

  .cost-summary {
    grid-template-columns: 1fr auto 1fr auto;
    text-align: left;
  }

  .cost-arrow {
    transform: none;
  }
}

@media (min-width: 64rem) {
  .cards-5 {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* =========================================================
   Added: Contact form / Confirm / Thanks pages
   ========================================================= */

.contact-grid {
  display: grid;
  gap: 24px;
  align-items: start;
}

.form-panel {
  padding: 28px;
}

.form-instruction {
  margin-bottom: 26px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(212, 173, 86, 0.12);
  color: var(--muted);
}

.form-row {
  display: grid;
  gap: 0 18px;
}

.form-field {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}

.form-field label {
  color: var(--text-strong);
  font-weight: 600;
  font-size: 0.95rem;
}

.required {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 6px;
  padding: 2px 10px;
  border-radius: 999px;
  border: 1px solid rgba(212, 173, 86, 0.34);
  background: rgba(212, 173, 86, 0.1);
  color: var(--gold-soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  vertical-align: middle;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 14px;
  border: 1px solid rgba(212, 173, 86, 0.2);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  line-height: 1.6;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(156, 169, 192, 0.5);
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: rgba(212, 173, 86, 0.6);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 0 0 3px rgba(212, 173, 86, 0.14);
}

.form-field textarea {
  resize: vertical;
  min-height: 200px;
}

.form-submit {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.form-submit .btn {
  flex: 1 1 100%;
}

.contact-aside {
  padding: 28px;
}

.contact-aside-title {
  margin-bottom: 14px;
  font-size: 1.16rem;
  color: var(--text-strong);
}

.contact-tel {
  display: inline-block;
  margin-bottom: 20px;
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 1.4rem + 1.4vw, 2.2rem);
  letter-spacing: 0.04em;
  color: var(--gold-soft);
  line-height: 1.2;
}

.contact-aside-list {
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(212, 173, 86, 0.12);
}

.contact-aside-topics .eyebrow {
  margin-bottom: 12px;
}

.contact-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.confirm-container,
.thanks-container {
  max-width: 840px;
}

.confirm-panel {
  padding: 14px 28px;
  margin-bottom: 24px;
}

.confirm-table {
  width: 100%;
  border-collapse: collapse;
}

.confirm-table th,
.confirm-table td {
  padding: 16px 0;
  border-bottom: 1px solid rgba(212, 173, 86, 0.1);
  text-align: left;
  vertical-align: top;
}

.confirm-table tr:last-child th,
.confirm-table tr:last-child td {
  border-bottom: 0;
}

.confirm-table th {
  color: var(--gold-soft);
  font-family: var(--font-body);
  font-weight: 700;
  white-space: nowrap;
}

.confirm-table td {
  color: var(--text);
  overflow-wrap: anywhere;
}

.confirm-actions {
  justify-content: center;
}

.thanks-box {
  padding: 48px 28px;
  text-align: center;
}

.thanks-box h1 {
  font-size: clamp(1.7rem, 1.4rem + 1.6vw, 2.6rem);
  margin-bottom: 16px;
}

.thanks-text {
  margin-bottom: 28px;
  color: var(--muted);
}

.thanks-actions {
  justify-content: center;
}

@media (max-width: 47.99rem) {
  .confirm-table th,
  .confirm-table td {
    display: block;
    padding: 0;
    border-bottom: 0;
  }

  .confirm-table th {
    padding-top: 16px;
  }

  .confirm-table td {
    padding: 6px 0 16px;
    border-bottom: 1px solid rgba(212, 173, 86, 0.1);
  }

  .confirm-table tr:last-child td {
    border-bottom: 0;
  }
}

@media (min-width: 48rem) {
  .contact-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  }

  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-submit .btn {
    flex: 0 1 auto;
    min-width: 240px;
  }
}
