/* ==========================================================================
   Total Solution株式会社 — Design System
   style.css (mobile-first; 360px → 1440px+)
   Catalog of every class: docs/COMPONENTS.md
   --------------------------------------------------------------------------
   01 Tokens            09 Section / headings     17 Definition table
   02 Reset & base      10 Card grid / cards      18 Tag chips
   03 Typography        11 Service cards          19 CTA band
   04 Layout            12 Strengths              20 News list
   05 Buttons & links   13 Process steps          21 Forms & validation
   06 Header & nav      14 Tabs                   22 Notice boxes
   07 Drawer (mobile)   15 Service panel (svc)    23 Map embed / contact info
   08 Hero / page-hero  16 Split / message / prose 24 Footer / back-to-top
                                                  25 Reveal / utilities
   ========================================================================== */

/* 01 Tokens ---------------------------------------------------------------- */
:root {
  --navy-900: #071528;
  --navy: #0B1F3A;
  --navy-800: #0F2A4D;
  --navy-700: #163764;
  --blue: #1E5EFF;
  --blue-600: #1449D6;
  --blue-100: #DCE6FF;
  --blue-050: #F0F4FF;
  --cyan: #16C2D5;
  --cyan-ink: #0A7C89;      /* cyan for text on light backgrounds (AA) */
  --cyan-ink-strong: #076773;
  --cyan-100: #DDF6F9;
  --sky: #6FA0FF;

  --bg: #FFFFFF;
  --bg-alt: #F5F8FC;
  --text: #1A2433;
  --muted: #5B6B80;
  --border: #DDE4EE;
  --border-strong: #C3CEDD;
  --on-dark: #FFFFFF;
  --on-dark-muted: #B8C4D6;

  --success: #0E7A4E; --success-bg: #E8F6EF; --success-border: #A8DCC4;
  --warning: #8A5300; --warning-bg: #FFF5E0; --warning-border: #F1D08F;
  --danger: #C42B2B;  --danger-bg: #FDECEC;  --danger-border: #F2B5B5;
  --info: #1449D6;    --info-bg: #EEF3FF;    --info-border: #BCD0FF;

  --grad-brand: linear-gradient(120deg, #0B1F3A 0%, #1E5EFF 62%, #16C2D5 100%);
  --grad-deep: linear-gradient(140deg, #071528 0%, #0B1F3A 42%, #12357A 100%);
  --grad-cta: linear-gradient(115deg, #0B1F3A 0%, #133F95 55%, #1E5EFF 100%);
  --grad-accent: linear-gradient(90deg, #1E5EFF 0%, #16C2D5 100%);
  --grad-text: linear-gradient(90deg, #7FAAFF 0%, #16C2D5 100%);
  --grad-tint: linear-gradient(135deg, #F0F4FF 0%, #DDF6F9 100%);

  --font-ja: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic UI", Meiryo, sans-serif;
  --font-en: "Inter", "Noto Sans JP", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --fs-xs: .75rem;
  --fs-sm: .875rem;
  --fs-md: 1.0625rem;
  --fs-lg: 1.125rem;
  --fs-h4: 1.0625rem;
  --fs-h3: clamp(1.125rem, 1.06rem + .3vw, 1.3125rem);
  --fs-h2: clamp(1.5rem, 1.22rem + 1.25vw, 2.25rem);
  --fs-h1: clamp(1.75rem, 1.32rem + 2vw, 2.875rem);
  --fs-display: clamp(2.125rem, 1.15rem + 3vw, 3.5rem);

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(11, 31, 58, .05), 0 2px 6px rgba(11, 31, 58, .06);
  --shadow: 0 4px 12px rgba(11, 31, 58, .06), 0 14px 36px rgba(11, 31, 58, .09);
  --shadow-lg: 0 12px 24px rgba(11, 31, 58, .08), 0 28px 72px rgba(11, 31, 58, .16);
  --shadow-blue: 0 8px 22px rgba(30, 94, 255, .30);

  --container: 1200px;
  --container-narrow: 860px;
  --container-wide: 1360px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 64px;
  --section-y: clamp(64px, 4.2rem + 3.5vw, 128px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --focus-color: var(--blue);
}
@media (min-width: 1024px) {
  :root { --header-h: 80px; }
}

/* 02 Reset & base ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
/* smooth scrolling is enabled by main.js after load (html.is-ready), so the browser's initial
   #fragment scroll is instant and can be re-aligned once web fonts have swapped in */
@media (prefers-reduced-motion: no-preference) {
  html.is-ready { scroll-behavior: smooth; }
}
html.is-scroll-locked { overflow: hidden; }
html.is-scroll-locked body { padding-right: var(--scrollbar-w, 0px); }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-ja);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: .04em;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  overflow-wrap: anywhere;
}
html[lang="en"] body { line-height: 1.75; letter-spacing: .005em; overflow-wrap: break-word; }
/* never start a JA line with ー, small kana or closing punctuation */
body:lang(ja) { line-break: strict; }
.lead, .section-lead, .page-hero__lead, .hero__lead, .cta-band__text, .svc__lead, .step__text { text-wrap: pretty; }
h1, h2, h3, h4, h5, h6, p, ul, ol, dl, dd, figure, blockquote, address { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
p + p { margin-top: 1em; }
address { font-style: normal; }
img, picture, video, canvas { display: block; max-width: 100%; height: auto; }
iframe { border: 0; }
svg { flex-shrink: 0; }
button, input, select, textarea { font: inherit; letter-spacing: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
table { border-collapse: collapse; }
hr { border: 0; border-top: 1px solid var(--border); margin: 2.5rem 0; }
::selection { background: rgba(30, 94, 255, .18); }

a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: .22em; transition: color .2s; }
a:hover { color: var(--blue-600); }

:focus-visible {
  outline: 3px solid var(--focus-color);
  outline-offset: 3px;
  border-radius: 4px;
}
:focus:not(:focus-visible) { outline: none; }
/* dark surfaces switch focus ring to cyan for contrast */
.hero, .page-hero, .section--dark, .cta-band, .site-footer, .site-header:not(.is-scrolled) { --focus-color: var(--cyan); }
.header-solid .site-header { --focus-color: var(--blue); }

.icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  vertical-align: middle;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.icon--xs { width: 16px; height: 16px; }
.icon--sm { width: 20px; height: 20px; }
.icon--lg { width: 32px; height: 32px; }
.icon--xl { width: 40px; height: 40px; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform .2s;
}
.skip-link:focus { transform: none; color: #fff; }
main:focus { outline: none; }

/* 03 Typography ------------------------------------------------------------ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .05em;
  font-feature-settings: "palt";
  color: inherit;
  text-wrap: balance;
}
:lang(ja) :is(h1, h2, h3, h4) { word-break: auto-phrase; }
html[lang="en"] :is(h1, h2, h3, h4) { font-family: var(--font-en); letter-spacing: -.012em; line-height: 1.3; }
.en, .num { font-family: var(--font-en); font-weight: 600; letter-spacing: .01em; }
.lead { font-size: var(--fs-md); line-height: 2; color: var(--muted); }
html[lang="en"] .lead { line-height: 1.8; }
.text-sm { font-size: var(--fs-sm); }
.text-xs { font-size: var(--fs-xs); }
.text-muted { color: var(--muted); }
strong, b { font-weight: 700; }
small { font-size: .8125rem; }

.flow > * + * { margin-top: var(--flow-space, 1.1em); }

/* 04 Layout ---------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(var(--container-narrow) + var(--gutter) * 2); }
.container--wide { max-width: calc(var(--container-wide) + var(--gutter) * 2); }
.header-solid main { padding-top: var(--header-h); }

/* 05 Buttons & links ------------------------------------------------------- */
.btn {
  --btn-bg: var(--blue);
  --btn-fg: #fff;
  --btn-bd: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  min-height: 48px;
  padding: .7em 1.6em;
  border: 1.5px solid var(--btn-bd);
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 700;
  font-size: .9375rem;
  line-height: 1.4;
  letter-spacing: .06em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
html[lang="en"] .btn { letter-spacing: .01em; }
.btn:hover { color: var(--btn-fg); }
.btn:active { transform: translateY(1px); }
.btn .icon { width: 20px; height: 20px; }
.btn__arrow { transition: transform .25s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--primary { --btn-bg: var(--blue); --btn-fg: #fff; box-shadow: var(--shadow-blue); }
.btn--primary:hover { --btn-bg: var(--blue-600); }
.btn--secondary { --btn-bg: #fff; --btn-fg: var(--navy); --btn-bd: var(--border-strong); }
.btn--secondary:hover { --btn-bd: var(--blue); --btn-fg: var(--blue); }
.btn--outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .55); }
.btn--outline-light:hover { --btn-bg: rgba(255, 255, 255, .1); --btn-bd: #fff; }
.btn--white { --btn-bg: #fff; --btn-fg: var(--navy); box-shadow: 0 8px 24px rgba(7, 21, 40, .25); }
.btn--white:hover { --btn-bg: #EAF0FF; --btn-fg: var(--navy); }
.btn--sm { min-height: 40px; padding: .45em 1.2em; font-size: .875rem; }
.btn--lg { min-height: 56px; padding: .9em 2em; font-size: 1rem; }
.btn--block { display: flex; width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; box-shadow: none; }
.btn-group { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.btn-group--center { justify-content: center; }
@media (max-width: 479.98px) {
  .btn-group--stack-sp { flex-direction: column; align-items: stretch; }
  .btn-group--stack-sp .btn { width: 100%; }
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
}
.link-arrow .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover { color: var(--blue-600); text-decoration: underline; }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow--light { color: #fff; }
.link-arrow--light:hover { color: #fff; }

.stretched-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }

/* 06 Header & global nav --------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  color: #fff;
  background: transparent;
  transition: background-color .3s, color .3s, box-shadow .3s, height .3s;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(7, 21, 40, .45), rgba(7, 21, 40, 0));
  opacity: 1;
  transition: opacity .3s;
  pointer-events: none;
}
.site-header.is-scrolled,
.header-solid .site-header {
  color: var(--text);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 1px 0 rgba(11, 31, 58, .06), 0 6px 20px rgba(11, 31, 58, .06);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header.is-scrolled,
  .header-solid .site-header {
    background: rgba(255, 255, 255, .85);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    backdrop-filter: saturate(180%) blur(14px);
  }
}
.site-header.is-scrolled::before,
.header-solid .site-header::before { opacity: 0; }
.no-js .site-header { background: var(--navy); color: #fff; }
.no-js .site-header::before { opacity: 0; }

.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 100%;
}
.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}
.site-logo:hover { color: inherit; }
.site-logo__mark { width: 36px; height: 36px; border-radius: 9px; }
.site-logo__text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.site-logo__name {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 1.125rem;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.site-logo__sub {
  margin-top: 3px;
  font-size: .625rem;
  letter-spacing: .12em;
  opacity: .78;
  white-space: nowrap;
}
@media (min-width: 1024px) {
  .site-logo__mark { width: 40px; height: 40px; border-radius: 10px; }
  .site-logo__name { font-size: 1.25rem; }
  .site-logo__sub { font-size: .6875rem; }
}

.gnav { display: none; }
@media (min-width: 1024px) {
  .gnav { display: block; margin-left: auto; }
}
.gnav__list { display: flex; align-items: center; gap: 4px; margin: 0; }
.gnav__item { position: relative; display: flex; align-items: center; }
.gnav__item--dropdown { position: static; } /* mega menu is positioned against .site-header__inner */
.gnav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  color: inherit;
  font-size: .9375rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-decoration: none;
  white-space: nowrap;
}
.gnav__link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.gnav__link:hover { color: inherit; }
.gnav__link:hover::after, .gnav__link.is-active::after { transform: scaleX(1); }
.gnav__item--dropdown .gnav__link { padding-right: 4px; }
.gnav__item--dropdown .gnav__link::after { right: 4px; }
.gnav__toggle {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-right: 6px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: inherit;
}
.gnav__toggle:hover { background: rgba(127, 170, 255, .16); }
.gnav__toggle .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.gnav__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }

/* mega menu (services dropdown) */
.mega {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 10;
  width: min(880px, calc(100% - var(--gutter) * 2));
  padding: 28px;
  border-radius: var(--radius-lg);
  background: #fff;
  color: var(--text);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity .2s, transform .25s var(--ease), visibility 0s linear .25s;
  --focus-color: var(--blue);
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -26px; height: 26px; } /* hover bridge */
[data-dropdown].is-open > .mega,
.no-js [data-dropdown]:hover > .mega,
.no-js [data-dropdown]:focus-within > .mega {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition: opacity .2s, transform .25s var(--ease), visibility 0s;
}
.mega__inner { display: grid; grid-template-columns: 210px 1fr; gap: 28px; }
.mega__intro { padding-right: 24px; border-right: 1px solid var(--border); }
.mega__title { margin-top: 8px; font-size: 1.25rem; }
.mega__text { margin-top: 10px; font-size: .8125rem; line-height: 1.8; color: var(--muted); }
.mega__intro .link-arrow { margin-top: 16px; font-size: .875rem; }
.mega__list { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 0; }
.mega__link {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  transition: background-color .2s;
}
.mega__link:hover { background: var(--bg-alt); color: var(--text); }
.mega__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--grad-tint);
  color: var(--blue);
  flex: none;
}
.mega__icon .icon { width: 22px; height: 22px; }
.mega__body { display: flex; flex-direction: column; min-width: 0; }
.mega__name { font-weight: 700; font-size: .9375rem; line-height: 1.5; }
.mega__desc { font-size: .75rem; line-height: 1.6; color: var(--muted); letter-spacing: .02em; }

.site-header__actions { display: flex; align-items: center; gap: 8px; margin-left: 16px; }
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 6px 12px;
  border: 1px solid currentColor;
  border-color: rgba(127, 150, 190, .5);
  border-radius: var(--radius-pill);
  color: inherit;
  font-family: var(--font-en);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
  white-space: nowrap;
}
.lang-switch:hover { color: inherit; border-color: currentColor; }
.lang-switch .icon { width: 18px; height: 18px; }
.site-header__cta { display: none; }
@media (min-width: 1024px) {
  .site-header__cta { display: inline-flex; }
  .site-header__cta.is-active { box-shadow: 0 0 0 3px rgba(22, 194, 213, .45); }
}
@media (max-width: 379.98px) {
  .site-logo__sub { display: none; }
  .lang-switch { padding: 6px 10px; }
  .lang-switch .icon { display: none; }
}

.menu-toggle {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: inherit;
}
.menu-toggle:hover { background: rgba(127, 170, 255, .16); }
.menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .3s var(--ease), opacity .2s;
}
.menu-toggle__bars { position: relative; }
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle__bars::before { top: -7px; }
.menu-toggle__bars::after { top: 7px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 1024px) {
  .menu-toggle { display: none; }
}

/* 07 Drawer (mobile nav) --------------------------------------------------- */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 300;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s linear .35s;
  --focus-color: var(--blue);
}
.drawer.is-open { visibility: visible; pointer-events: auto; transition: visibility 0s; }
.drawer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 21, 40, .55);
  opacity: 0;
  transition: opacity .3s;
}
.drawer.is-open .drawer__overlay { opacity: 1; }
.drawer__panel {
  position: absolute;
  inset: 0 0 0 auto;
  display: flex;
  flex-direction: column;
  width: min(90vw, 400px);
  background: #fff;
  color: var(--text);
  box-shadow: var(--shadow-lg);
  transform: translateX(100%);
  transition: transform .35s var(--ease);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: var(--header-h);
  padding: 0 12px 0 20px;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.drawer__close {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: var(--bg-alt);
  color: var(--navy);
}
.drawer__close:hover { background: var(--blue-050); }
.drawer__nav { padding: 8px 20px 0; }
.drawer__list { margin: 0; }
.drawer__list > li { border-bottom: 1px solid var(--border); }
.drawer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  padding: 10px 4px;
  color: var(--text);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
}
.drawer__link:hover { color: var(--blue); }
.drawer__link .icon { width: 20px; height: 20px; color: var(--blue); }
.drawer__link.is-active { color: var(--blue); }
.drawer__sub { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 16px; }
.drawer__sublink {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--bg-alt);
  color: var(--text);
  font-size: .8125rem;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
}
.drawer__sublink:hover { background: var(--blue-050); color: var(--blue); }
.drawer__sublink .icon { width: 20px; height: 20px; color: var(--blue); }
.drawer__foot { display: grid; gap: 12px; margin-top: auto; padding: 24px 20px 32px; }
.drawer__contact { display: grid; gap: 4px; font-size: .875rem; color: var(--muted); }
.drawer__contact a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; color: var(--text); font-weight: 700; text-decoration: none; }
.drawer__contact .icon { width: 18px; height: 18px; color: var(--blue); }
.drawer .lang-switch { justify-self: start; color: var(--navy); border-color: var(--border-strong); }
@media (min-width: 1024px) {
  .drawer { display: none; }
}

/* 08 Hero (top page) ------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: min(100svh, 860px);
  padding: calc(var(--header-h) + clamp(32px, 6vw, 80px)) 0 clamp(56px, 7vw, 104px);
  color: #fff;
  background: var(--grad-deep);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("/assets/img/pattern-grid.svg?v=7badcd5611") repeat;
  -webkit-mask-image: radial-gradient(120% 90% at 70% 40%, #000 30%, transparent 75%);
  mask-image: radial-gradient(120% 90% at 70% 40%, #000 30%, transparent 75%);
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 70vmax;
  height: 70vmax;
  right: -25vmax;
  bottom: -35vmax;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(22, 194, 213, .22), transparent);
  pointer-events: none;
}
.hero__inner { position: relative; display: grid; gap: 32px; align-items: center; width: 100%; }
@media (min-width: 1024px) {
  .hero__inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; }
}
.hero__content { position: relative; z-index: 1; }
.hero__eyebrow { color: var(--cyan); }
.hero__title {
  margin-top: 20px;
  font-size: var(--fs-display);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: .04em;
}
html[lang="en"] .hero__title { line-height: 1.12; letter-spacing: -.025em; font-weight: 800; }
.text-gradient {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.hero__lead {
  margin-top: 24px;
  max-width: 36em;
  font-size: clamp(.9375rem, .89rem + .25vw, 1.0625rem);
  line-height: 2;
  color: rgba(255, 255, 255, .86);
}
html[lang="en"] .hero__lead { line-height: 1.75; }
.hero__actions { margin-top: 36px; }
.hero .hero__keywords { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.hero__visual { position: relative; justify-self: center; width: min(100%, 460px); }
.hero__visual img { width: 100%; height: auto; }
@media (min-width: 1024px) {
  .hero__visual { width: 100%; max-width: 620px; justify-self: end; margin-right: calc(-1 * var(--gutter)); }
}
@media (max-width: 1023.98px) {
  .hero__visual { margin-top: 8px; opacity: .95; }
}
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 20px;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, .7);
  font-family: var(--font-en);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .24em;
  text-decoration: none;
  transform: translateX(-50%);
}
.hero__scroll::after {
  content: "";
  width: 1px;
  height: 40px;
  background: linear-gradient(rgba(255, 255, 255, .8), rgba(255, 255, 255, 0));
}
@media (min-width: 1024px) and (min-height: 900px) {
  .hero__scroll { display: flex; }
}

/* Page hero (sub pages) + breadcrumb */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: calc(var(--header-h) + clamp(28px, 4vw, 56px)) 0 clamp(48px, 6vw, 80px);
  color: #fff;
  background: var(--grad-deep);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("/assets/img/pattern-grid.svg?v=7badcd5611") repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 70%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 70%);
}
.page-hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: -10%;
  bottom: 0;
  z-index: -1;
  width: min(70%, 900px);
  background: url("/assets/img/pattern-mesh.svg?v=1d8cd966c3") center / cover no-repeat;
  opacity: .9;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%);
  mask-image: linear-gradient(90deg, transparent, #000 45%);
  pointer-events: none;
}
.page-hero__inner { position: relative; }
.page-hero__title {
  margin-top: 14px;
  font-size: var(--fs-h1);
  line-height: 1.4;
  letter-spacing: .06em;
}
html[lang="en"] .page-hero__title { letter-spacing: -.02em; line-height: 1.2; }
.page-hero__lead {
  margin-top: 18px;
  max-width: 44em;
  color: rgba(255, 255, 255, .84);
  font-size: var(--fs-md);
  line-height: 1.95;
}
.breadcrumb { margin-bottom: clamp(24px, 3.5vw, 44px); }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 0; margin: 0; padding: 0; list-style: none; font-size: .8125rem; line-height: 1.6; color: rgba(255, 255, 255, .72); }
.breadcrumb li { display: inline-flex; align-items: center; }
.breadcrumb li + li::before {
  content: "";
  width: 6px;
  height: 6px;
  margin: 0 .8em 0 .6em;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
  opacity: .7;
}
.breadcrumb a { color: rgba(255, 255, 255, .88); text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: #fff; font-weight: 400; }

/* In-page anchor nav (under page-hero) */
.page-nav { position: relative; z-index: 2; background: #fff; border-bottom: 1px solid var(--border); }
.page-nav__list { display: flex; gap: 4px; margin: 0; overflow-x: auto; scrollbar-width: none; }
.page-nav__list::-webkit-scrollbar { display: none; }
.page-nav__list a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 56px;
  padding: 0 16px;
  color: var(--text);
  font-size: .875rem;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.page-nav__list a:hover { color: var(--blue); border-bottom-color: var(--blue); }
.page-nav__list .icon { width: 16px; height: 16px; color: var(--blue); }
@media (max-width: 767.98px) {
  .page-nav .container { padding-inline: 0; }
  .page-nav .page-nav__list { padding-inline: calc(var(--gutter) - 12px); scroll-padding-inline: var(--gutter); } /* beats ul[class] reset */
  .page-nav__list a { padding-inline: 12px; }
  /* fade the trailing edge while more links are hidden (main.js toggles .is-scrollable / .is-at-end) */
  .page-nav__list.is-scrollable:not(.is-at-end) {
    -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent);
    mask-image: linear-gradient(90deg, #000 82%, transparent);
  }
}

/* 09 Sections & headings --------------------------------------------------- */
.section { position: relative; padding-block: var(--section-y); }
.section--tight { padding-block: clamp(48px, 3rem + 2vw, 80px); }
.section--flush-top { padding-top: 0; }
.section--alt { background: var(--bg-alt); }
.section--tint { background: var(--grad-tint); }
.section--dots { background-image: url("/assets/img/pattern-dots.svg?v=2cd25b0718"); background-repeat: repeat; }
.section--alt.section--dots { background-color: var(--bg-alt); }
.section--dark {
  color: #fff;
  background: var(--navy);
  background-image: url("/assets/img/pattern-dots-light.svg?v=822cf62551"), var(--grad-deep);
}
.section--dark .section-lead, .section--dark .text-muted { color: var(--on-dark-muted); }
.section-head { max-width: 780px; margin-bottom: clamp(32px, 2rem + 1.5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; max-width: none; }
.section-head--split > :first-child { max-width: 780px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7em;
  margin: 0;
  color: var(--cyan-ink);
  font-family: var(--font-en);
  font-size: .8125rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-accent);
  flex: none;
}
.hero .eyebrow, .page-hero .eyebrow, .section--dark .eyebrow, .cta-band .eyebrow { color: var(--cyan); }
.section-title {
  margin-top: 14px;
  font-size: var(--fs-h2);
  line-height: 1.5;
  letter-spacing: .06em;
}
html[lang="en"] .section-title { line-height: 1.25; letter-spacing: -.018em; }
.section-lead { margin-top: 18px; color: var(--muted); font-size: var(--fs-md); line-height: 2; }
html[lang="en"] .section-lead { line-height: 1.75; }
.section-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 16px; margin-top: clamp(32px, 4vw, 56px); }
.subhead { font-size: var(--fs-h3); line-height: 1.6; }
.subhead--bar { padding-left: 14px; border-left: 4px solid; border-image: var(--grad-accent) 1; }

/* 10 Card grid & cards ----------------------------------------------------- */
.card-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(16px, 1.6vw, 24px); margin: 0; }
@media (min-width: 600px) {
  .card-grid--2, .card-grid--3, .card-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .card-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 2.4vw, 32px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.card--link:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card--link:focus-within { box-shadow: var(--shadow), 0 0 0 3px var(--blue); }
.card--link .stretched-link:focus-visible { outline: none; }
.card--flat { box-shadow: none; background: var(--bg-alt); border-color: transparent; }
.card--dark { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .14); color: #fff; box-shadow: none; }
.card--dark .card__text { color: var(--on-dark-muted); }
.card--dark .card__icon { background: rgba(255, 255, 255, .08); color: var(--cyan); }
.card__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: var(--grad-tint);
  color: var(--blue);
}
.card__icon .icon { width: 28px; height: 28px; }
.card__label {
  display: block;
  margin-bottom: 8px;
  color: var(--cyan-ink);
  font-family: var(--font-en);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.card--dark .card__label { color: var(--cyan); }
.card__title { font-size: var(--fs-h3); line-height: 1.55; }
.card__title a { color: inherit; text-decoration: none; }
.card__text { margin-top: 12px; color: var(--muted); font-size: .9375rem; line-height: 1.9; }
html[lang="en"] .card__text { line-height: 1.7; }
.card__list { margin-top: 14px; display: grid; gap: 6px; font-size: .9375rem; }
.card__foot { margin-top: auto; padding-top: 20px; }

/* Feature card (compact "提供サービス" item) */
.feature-card {
  position: relative;
  display: flex;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}
.feature-card__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--blue-050);
  color: var(--blue);
  flex: none;
}
.feature-card__icon .icon { width: 20px; height: 20px; }
.feature-card__title { font-size: 1rem; line-height: 1.6; }
.feature-card__text { margin-top: 6px; color: var(--muted); font-size: .875rem; line-height: 1.85; }
html[lang="en"] .feature-card__text { line-height: 1.65; }

/* Check list */
.check-list { display: grid; gap: 10px; margin: 0; }
.check-list > li { position: relative; padding-left: 30px; line-height: 1.8; }
.check-list > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .3em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--blue-050) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E5EFF' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.section--dark .check-list > li::before { background-color: rgba(255, 255, 255, .1); }

/* 11 Service cards --------------------------------------------------------- */
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 2.4vw, 32px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--grad-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::before, .service-card:focus-within::before { transform: scaleX(1); }
.service-card:focus-within { box-shadow: var(--shadow), 0 0 0 3px var(--blue); }
.service-card .stretched-link:focus-visible { outline: none; }
.service-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.service-card__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--grad-tint);
  color: var(--blue);
  transition: background .3s, color .3s;
}
.service-card__icon .icon { width: 28px; height: 28px; }
.service-card:hover .service-card__icon { background: linear-gradient(135deg, var(--blue), var(--cyan)); color: #fff; }
.service-card__en {
  color: var(--cyan-ink);
  font-family: var(--font-en);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.service-card__title { font-size: var(--fs-h3); line-height: 1.5; }
.service-card__title a { color: var(--text); text-decoration: none; }
.service-card__text { margin-top: 12px; color: var(--muted); font-size: .9375rem; line-height: 1.9; }
html[lang="en"] .service-card__text { line-height: 1.7; }
.service-card .tags { margin-top: 18px; }
.service-card__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 22px;
  color: var(--blue);
  font-size: .875rem;
  font-weight: 700;
}
.service-card__more .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.service-card:hover .service-card__more .icon { transform: translateX(4px); }

/* 12 Strengths ------------------------------------------------------------- */
.strengths { display: grid; gap: clamp(16px, 2vw, 24px); margin: 0; counter-reset: strength; }
@media (min-width: 768px) {
  .strengths { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.strength {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 20px;
  align-content: start;
  padding: clamp(24px, 2.6vw, 36px);
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.strength::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(22, 194, 213, .14), transparent);
  pointer-events: none;
}
.strength__num {
  grid-row: span 3;
  font-family: var(--font-en);
  font-size: clamp(2.25rem, 1.8rem + 1.6vw, 3.25rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.03em;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.strength__label {
  color: var(--cyan-ink);
  font-family: var(--font-en);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.strength__title { font-size: var(--fs-h3); line-height: 1.55; }
.strength__text { margin-top: 8px; color: var(--muted); font-size: .9375rem; line-height: 1.9; }
html[lang="en"] .strength__text { line-height: 1.7; }
@media (max-width: 599.98px) {
  .strength { column-gap: 16px; }
  .strength__num { grid-row: span 2; font-size: 2.25rem; }
  .strength__text { grid-column: 1 / -1; margin-top: 12px; }
}
.section--dark .strength { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .14); box-shadow: none; }
.section--dark .strength__text { color: var(--on-dark-muted); }
.section--dark .strength__label { color: var(--cyan); }
.section--dark .strength__num { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; }

/* 13 Process steps --------------------------------------------------------- */
.steps { display: grid; gap: 0; margin: 0; }
.step {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  column-gap: 18px;
  padding-bottom: 28px;
}
.step:last-child { padding-bottom: 0; }
.step::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 60px;
  bottom: 4px;
  width: 2px;
  background: linear-gradient(var(--blue-100), var(--blue-100)) ;
}
.step:last-child::before { display: none; }
.step__num {
  grid-row: span 2;
  position: relative;
  z-index: 1;
  display: grid;
  place-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--blue-100);
  color: var(--blue);
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 1.125rem;
  line-height: 1;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.step__label { display: block; margin-bottom: 2px; font-size: .5625rem; letter-spacing: .14em; color: var(--cyan-ink); font-weight: 700; }
.step__title { align-self: center; padding-top: 4px; font-size: 1.0625rem; line-height: 1.6; }
.step__text { margin-top: 6px; color: var(--muted); font-size: .9063rem; line-height: 1.85; }
html[lang="en"] .step__text { line-height: 1.65; }
.section--alt .step__num { background: #fff; }
.section--dark .step__num { background: var(--navy); border-color: rgba(22, 194, 213, .5); color: #fff; }
.section--dark .step__label { color: var(--cyan); }
.section--dark .step__text { color: var(--on-dark-muted); }
.section--dark .step::before { background: rgba(255, 255, 255, .16); }
@media (min-width: 1024px) {
  .steps { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 20px; }
  .step { grid-template-columns: minmax(0, 1fr); padding-bottom: 0; text-align: left; }
  .step::before { left: 72px; right: -14px; top: 33px; bottom: auto; width: auto; height: 2px; background: linear-gradient(90deg, var(--blue-100), var(--blue-100)); }
  .step__num { grid-row: auto; width: 64px; height: 64px; font-size: 1.25rem; }
  .step__title { margin-top: 18px; padding-top: 0; }
  .steps--cards .step { padding: 24px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: #fff; }
  .steps--cards .step::before { left: calc(100% - 4px); right: auto; width: 28px; top: 56px; }
}
.steps--compact .step__num { width: 48px; height: 48px; font-size: 1rem; }
.steps--compact .step { grid-template-columns: 48px minmax(0, 1fr); }
.steps--compact .step::before { left: 23px; top: 52px; }
@media (min-width: 1024px) {
  .steps--compact .step { grid-template-columns: minmax(0, 1fr); }
  .steps--compact .step::before { left: 60px; top: 25px; }
  .steps--compact .step__num { width: 52px; height: 52px; }
  .steps--compact .step__title { margin-top: 14px; font-size: 1rem; }
}

/* 14 Tabs (ARIA) ----------------------------------------------------------- */
/* [data-tabs] deep-link offset comes from html { scroll-padding-top } — do not add scroll-margin here */
.tabs__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 6px;
  border-radius: calc(var(--radius) + 6px);
  background: var(--bg-alt);
  border: 1px solid var(--border);
}
@media (min-width: 768px) {
  .tabs__list { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
.tabs__tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 72px;
  padding: 10px 6px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: var(--muted);
  font-size: .8125rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .04em;
  text-align: center;
  transition: background-color .2s, color .2s, box-shadow .2s, border-color .2s;
}
@media (min-width: 768px) {
  .tabs__tab { min-height: 84px; font-size: .875rem; }
}
.tabs__tab .icon { width: 24px; height: 24px; }
.tabs__tab:hover { color: var(--blue); background: #fff; border-color: var(--border); }
.tabs__tab[aria-selected="true"] {
  color: #fff;
  background: linear-gradient(135deg, var(--navy-700), var(--blue));
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(30, 94, 255, .28);
}
.tabs__tab[aria-selected="true"] .icon { color: var(--cyan); }
.tabs__panels { margin-top: clamp(32px, 4vw, 56px); }
.tabs__panel:focus-visible { outline-offset: 8px; border-radius: var(--radius); }
.tabs__panel.is-active { animation: tab-in .45s var(--ease); }
@keyframes tab-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* 15 Service panel (inside a tab panel) ------------------------------------ */
.svc__head {
  display: grid;
  gap: 24px;
  align-items: center;
  padding: clamp(24px, 3vw, 44px);
  border-radius: var(--radius-xl);
  background: var(--grad-deep);
  color: #fff;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  --focus-color: var(--cyan);
}
.svc__head::after {
  content: "";
  position: absolute;
  inset: 0 -20% 0 40%;
  z-index: -1;
  background: url("/assets/img/pattern-mesh.svg?v=1d8cd966c3") center / cover no-repeat;
  opacity: .7;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 50%);
  mask-image: linear-gradient(90deg, transparent, #000 50%);
}
@media (min-width: 768px) {
  .svc__head { grid-template-columns: minmax(0, 1fr) auto; gap: 40px; }
}
.svc__head .eyebrow { color: var(--cyan); }
.svc__title { margin-top: 12px; font-size: var(--fs-h2); line-height: 1.5; letter-spacing: .05em; }
html[lang="en"] .svc__title { line-height: 1.25; letter-spacing: -.018em; }
.svc__lead { margin-top: 16px; max-width: 46em; color: rgba(255, 255, 255, .86); line-height: 2; }
html[lang="en"] .svc__lead { line-height: 1.75; }
.svc__icon {
  display: grid;
  place-items: center;
  width: clamp(88px, 10vw, 128px);
  height: clamp(88px, 10vw, 128px);
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(30, 94, 255, .9), rgba(22, 194, 213, .9));
  color: #fff;
  box-shadow: 0 18px 40px rgba(7, 21, 40, .35);
}
.svc__icon .icon { width: 50%; height: 50%; stroke-width: 1.5; }
@media (max-width: 767.98px) {
  .svc__icon { order: -1; width: 64px; height: 64px; border-radius: 18px; }
}
.svc__block { margin-top: clamp(40px, 4.5vw, 64px); }
.svc__block-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  font-size: var(--fs-h3);
}
.svc__block-title::after { content: ""; flex: 1; height: 1px; background: var(--border); }

/* 16 Split / message / MVV / prose ----------------------------------------- */
.split { display: grid; gap: clamp(32px, 4vw, 64px); align-items: start; }
@media (min-width: 1024px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .split--5-7 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .split--7-5 { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .split--center { align-items: center; }
  .split--reverse > :first-child { order: 2; }
}
.split__sticky { position: static; }
@media (min-width: 1024px) {
  .split__sticky { position: sticky; top: calc(var(--header-h) + 32px); }
}

.message {
  position: relative;
  padding: clamp(28px, 4vw, 56px);
  border-radius: var(--radius-xl);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.message__quote { position: absolute; top: clamp(20px, 3vw, 36px); right: clamp(20px, 3vw, 36px); width: 48px; height: 48px; color: var(--blue-100); }
.message__title { font-size: clamp(1.25rem, 1.05rem + .9vw, 1.75rem); line-height: 1.6; padding-right: 56px; }
.message__body { margin-top: 24px; line-height: 2.05; }
html[lang="en"] .message__body { line-height: 1.8; }
.message__sign { margin-top: 32px; text-align: right; line-height: 1.6; }
.message__role { display: block; color: var(--muted); font-size: .875rem; }
.message__name { display: block; margin-top: 4px; font-size: 1.375rem; font-weight: 700; letter-spacing: .2em; }
html[lang="en"] .message__name { letter-spacing: .01em; }

.mvv { display: grid; gap: clamp(16px, 2vw, 24px); margin: 0; }
@media (min-width: 768px) {
  .mvv { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mvv > .mvv__item:last-child:nth-child(3) { grid-column: 1 / -1; }
  .mvv > .mvv__item:last-child:nth-child(3) .mvv__list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
}
.mvv__item { position: relative; padding: clamp(24px, 2.6vw, 36px); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.mvv__label { font-family: var(--font-en); font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 800; letter-spacing: -.01em; line-height: 1.1; background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mvv__ja { display: block; margin-top: 6px; color: var(--muted); font-size: .8125rem; font-weight: 700; letter-spacing: .12em; }
.mvv__title { margin-top: 18px; font-size: var(--fs-h3); line-height: 1.6; }
.mvv__text { margin-top: 10px; color: var(--muted); font-size: .9375rem; line-height: 1.9; }
.mvv__list { margin-top: 12px; display: grid; gap: 8px; }

.prose { max-width: 820px; line-height: 2; }
html[lang="en"] .prose { line-height: 1.8; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 {
  margin-top: 2.6em;
  padding-bottom: .6em;
  border-bottom: 1px solid var(--border);
  font-size: clamp(1.1875rem, 1.1rem + .4vw, 1.4375rem);
  line-height: 1.6;
  position: relative;
}
.prose h2::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 56px; height: 2px; background: var(--grad-accent); }
.prose h3 { margin-top: 2em; font-size: 1.0625rem; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.6em; }
.prose li + li { margin-top: .45em; }
.prose ol > li::marker { font-family: var(--font-en); font-weight: 700; color: var(--blue); }
.prose ul > li::marker { color: var(--blue); }
.prose a { word-break: break-all; }
.prose__meta { margin-top: 3em; padding-top: 1.5em; border-top: 1px solid var(--border); color: var(--muted); font-size: .875rem; text-align: right; }
.prose__box { padding: 20px 24px; border-radius: var(--radius); background: var(--bg-alt); border: 1px solid var(--border); }

/* 17 Definition table ------------------------------------------------------ */
.def-table { margin: 0; border-top: 1px solid var(--border); }
.def-table__row {
  display: grid;
  gap: 4px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--border);
}
.def-table dt { color: var(--navy-700); font-weight: 700; font-size: .875rem; letter-spacing: .08em; }
.def-table dd { margin: 0; line-height: 1.85; }
.def-table dd small, .def-table__note { display: block; color: var(--muted); font-size: .8125rem; }
@media (min-width: 768px) {
  .def-table__row { grid-template-columns: 200px minmax(0, 1fr); gap: 24px; padding: 22px 8px; align-items: baseline; }
  .def-table dt { position: relative; padding-left: 16px; font-size: .9375rem; }
  .def-table dt::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--grad-accent); }
}
.def-table--compact .def-table__row { padding: 14px 4px; }
@media (min-width: 768px) {
  .def-table--compact .def-table__row { grid-template-columns: 120px minmax(0, 1fr); padding: 16px 4px; }
}
.def-table--card { padding: 8px clamp(20px, 3vw, 40px); border: 1px solid var(--border); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); }
.def-table--card .def-table__row:last-child { border-bottom: 0; }

/* 18 Tag chips ------------------------------------------------------------- */
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border: 1px solid var(--blue-100);
  border-radius: var(--radius-pill);
  background: var(--blue-050);
  color: var(--navy-700);
  font-size: .8125rem;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: .02em;
  white-space: nowrap;
}
.tag--accent { background: var(--cyan-100); border-color: #B5ECF2; color: var(--cyan-ink-strong); }
.tag--outline { background: #fff; border-color: var(--border-strong); color: var(--text); }
.tags--sm .tag { padding: 2px 10px; font-size: .75rem; }
.tags--lg .tag { padding: 8px 16px; font-size: .9375rem; }
.tags--dark .tag, .hero .tag, .section--dark .tag {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .18);
  color: #fff;
}

/* 19 CTA band -------------------------------------------------------------- */
.cta-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(56px, 3.5rem + 3vw, 104px);
  color: #fff;
  background: var(--grad-cta);
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("/assets/img/pattern-mesh.svg?v=1d8cd966c3") right center / auto 100% no-repeat;
  opacity: .8;
  -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000 80%);
  mask-image: linear-gradient(90deg, transparent 20%, #000 80%);
}
.cta-band::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -10%;
  top: -60%;
  width: 60%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(22, 194, 213, .35), transparent);
}
.cta-band__inner { display: grid; gap: 32px; align-items: center; }
@media (min-width: 1024px) {
  .cta-band__inner { grid-template-columns: minmax(0, 1fr) auto; gap: 56px; }
}
.cta-band__title { margin-top: 14px; font-size: var(--fs-h2); line-height: 1.5; }
html[lang="en"] .cta-band__title { line-height: 1.25; }
.cta-band__text { margin-top: 14px; max-width: 40em; color: rgba(255, 255, 255, .86); }
.cta-band__actions { display: grid; gap: 16px; justify-items: start; }
@media (min-width: 600px) {
  .cta-band__actions { grid-auto-flow: column; align-items: center; }
}
@media (min-width: 1024px) {
  .cta-band__actions { grid-auto-flow: row; justify-items: stretch; min-width: 300px; }
}
.cta-band__tel {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 12px;
  align-items: center;
  color: #fff;
  text-decoration: none;
}
.cta-band__tel:hover { color: #fff; }
.cta-band__tel .icon { grid-row: span 2; width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.cta-band__tel-num { font-family: var(--font-en); font-size: 1.5rem; font-weight: 700; letter-spacing: .02em; line-height: 1.2; }
.cta-band__tel-note { font-size: .8125rem; color: rgba(255, 255, 255, .92); }

/* 20 News list ------------------------------------------------------------- */
.news-list { margin: 0; border-top: 1px solid var(--border); }
.news-item {
  display: grid;
  grid-template-columns: auto 1fr;
  justify-content: start;
  gap: 6px 16px;
  align-items: center;
  padding: 22px 4px;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 768px) {
  .news-item { grid-template-columns: 100px 110px minmax(0, 1fr); padding: 26px 8px; }
}
.news-item__date { font-family: var(--font-en); font-weight: 600; color: var(--muted); letter-spacing: .06em; font-size: .9375rem; }
.news-item__cat {
  justify-self: start;
  padding: 2px 12px;
  border-radius: var(--radius-pill);
  background: var(--blue-050);
  color: var(--blue-600);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  white-space: nowrap;
}
.news-item__title { grid-column: 1 / -1; font-weight: 400; line-height: 1.8; }
@media (min-width: 768px) {
  .news-item__title { grid-column: auto; }
}
.news-item__title a { color: var(--text); text-decoration: none; }
.news-item__title a:hover { color: var(--blue); text-decoration: underline; }

/* 21 Forms & validation ---------------------------------------------------- */
.form { display: grid; gap: 24px; }
.form-grid { display: grid; gap: 24px; }
@media (min-width: 768px) {
  .form-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.form-field { display: grid; gap: 8px; align-content: start; min-width: 0; }
.form-label { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-weight: 700; font-size: .9375rem; line-height: 1.5; }
.badge-required, .badge-optional {
  display: inline-flex;
  align-items: center;
  padding: 1px 8px;
  border-radius: 4px;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.7;
}
.badge-required { background: var(--danger); color: #fff; }
.badge-optional { background: #E7ECF3; color: var(--muted); }
.form-hint { color: var(--muted); font-size: .8125rem; line-height: 1.7; }
.form-control {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  font-size: 1rem; /* ≥16px prevents iOS zoom */
  line-height: 1.6;
  letter-spacing: .02em;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
  -webkit-appearance: none;
  appearance: none;
}
.form-control::placeholder { color: #8A97A8; opacity: 1; }
.form-control:hover { border-color: #9AA9BD; }
.form-control:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(30, 94, 255, .18); }
textarea.form-control { min-height: 200px; resize: vertical; line-height: 1.8; }
select.form-control {
  padding-right: 48px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B6B80' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 16px center / 18px no-repeat;
  cursor: pointer;
}
.form-field.is-invalid .form-control, .form-control[aria-invalid="true"] { border-color: var(--danger); background-color: #FFFAFA; }
.form-field.is-invalid .form-control:focus, .form-control[aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(196, 43, 43, .16); }
.form-field.is-valid .form-control { border-color: var(--success); }
.form-error {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  color: var(--danger);
  font-size: .8125rem;
  font-weight: 700;
  line-height: 1.6;
}
.form-error::before {
  content: "!";
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  margin-top: .15em;
  border-radius: 50%;
  background: var(--danger);
  color: #fff;
  font-size: .625rem;
  font-weight: 700;
  flex: none;
}
.form-counter { justify-self: end; color: var(--muted); font-family: var(--font-en); font-size: .75rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.form-counter.is-over { color: var(--danger); font-weight: 700; }
.form-check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; line-height: 1.7; }
.form-check input {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  margin: .15em 0 0;
  border: 1.5px solid var(--border-strong);
  border-radius: 6px;
  background: #fff;
  flex: none;
  cursor: pointer;
  transition: background-color .2s, border-color .2s;
}
.form-check input:checked {
  border-color: var(--blue);
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.form-check input:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.form-check .badge-required { margin-left: 8px; vertical-align: 1px; }
.form-field.is-invalid .form-check input { border-color: var(--danger); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; padding-top: 8px; }
.form-actions .btn { min-width: min(100%, 280px); }
.form-panel { padding: clamp(24px, 4vw, 48px); border: 1px solid var(--border); border-radius: var(--radius-xl); background: #fff; box-shadow: var(--shadow); }

/* 22 Notice boxes ---------------------------------------------------------- */
.notice {
  --notice-fg: var(--info);
  --notice-bg: var(--info-bg);
  --notice-bd: var(--info-border);
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--notice-bd);
  border-left-width: 4px;
  border-radius: var(--radius);
  background: var(--notice-bg);
  color: var(--text);
  line-height: 1.8;
}
.notice:focus { outline: none; }
.notice:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.notice__icon { width: 22px; height: 22px; margin-top: .2em; color: var(--notice-fg); flex: none; }
.notice__body { min-width: 0; flex: 1; }
.notice__body > * + * { margin-top: .6em; }
.notice__title { color: var(--notice-fg); font-weight: 700; }
.notice__actions { display: flex; flex-wrap: wrap; gap: 8px 12px; margin-top: 14px; }
.notice ul { padding-left: 1.2em; }
.notice--success { --notice-fg: var(--success); --notice-bg: var(--success-bg); --notice-bd: var(--success-border); }
.notice--warning { --notice-fg: var(--warning); --notice-bg: var(--warning-bg); --notice-bd: var(--warning-border); }
.notice--error { --notice-fg: var(--danger); --notice-bg: var(--danger-bg); --notice-bd: var(--danger-border); }
.notice--info { --notice-fg: var(--info); --notice-bg: var(--info-bg); --notice-bd: var(--info-border); }

/* 23 Map embed / contact info / company summary ---------------------------- */
.map-embed {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  background: var(--bg-alt);
  border: 1px solid var(--border);
}
@media (min-width: 768px) { .map-embed { aspect-ratio: 16 / 9; } }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.access { display: grid; gap: clamp(24px, 3vw, 40px); }
@media (min-width: 1024px) { .access { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; } }

.info-list { display: grid; gap: 16px; margin: 0; }
.info-list__item { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; }
.info-list__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--grad-tint); color: var(--blue); }
.info-list__icon .icon { width: 22px; height: 22px; }
.info-list__label { display: block; color: var(--muted); font-size: .8125rem; font-weight: 700; letter-spacing: .08em; }
.info-list__value { display: block; font-weight: 700; line-height: 1.6; }
.info-list__value a { color: var(--text); text-decoration: none; }
.info-list__value a:hover { color: var(--blue); text-decoration: underline; }
.info-list__value--lg { font-family: var(--font-en); font-size: 1.375rem; letter-spacing: .02em; }
.info-list__note { display: block; color: var(--muted); font-size: .8125rem; }

.contact-layout { display: grid; gap: clamp(32px, 4vw, 48px); }
@media (min-width: 1024px) { .contact-layout { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; } }
.contact-aside { display: grid; gap: 20px; }
@media (min-width: 1024px) { .contact-aside { position: sticky; top: calc(var(--header-h) + 24px); } }
.contact-card { padding: 28px 24px; border-radius: var(--radius-lg); background: var(--bg-alt); border: 1px solid var(--border); }
.contact-card__title { margin-bottom: 18px; font-size: 1.0625rem; }

.company-summary { display: grid; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (min-width: 1024px) { .company-summary { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }

/* 24 Footer & back-to-top -------------------------------------------------- */
.site-footer {
  position: relative;
  color: var(--on-dark-muted);
  background: var(--navy-900);
  font-size: .875rem;
  line-height: 1.85;
}
.site-footer a { color: var(--on-dark-muted); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__main { display: grid; gap: 40px; padding-block: clamp(48px, 6vw, 80px) 40px; }
@media (min-width: 1024px) { .site-footer__main { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 64px; } }
.site-footer .site-logo { color: #fff; }
.site-footer .site-logo:hover { color: #fff; text-decoration: none; }
.site-footer__tagline { margin-top: 16px; color: #fff; font-weight: 700; }
.site-footer__address { margin-top: 16px; }
.site-footer__contact { display: grid; gap: 6px; margin: 14px 0 0; }
.site-footer__contact li { display: flex; align-items: center; gap: 8px; }
.site-footer__contact .icon { width: 18px; height: 18px; color: var(--cyan); }
.site-footer__contact a { color: #fff; font-family: var(--font-en); font-weight: 600; letter-spacing: .02em; }
.site-footer__nav { display: grid; gap: 32px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .site-footer__nav { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.footer-col__title { margin-bottom: 12px; color: #fff; font-family: var(--font-en); font-size: .75rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.footer-col__list { display: grid; gap: 4px; margin: 0; }
.footer-col__list a { display: inline-block; padding: 4px 0; }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 24px 32px;
  padding-right: max(var(--gutter), 76px); /* keep clear of .back-to-top */
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .8125rem;
}
.site-footer__copy { letter-spacing: .02em; }
.site-footer__tm { flex: 1 0 100%; margin: 0; color: var(--on-dark-muted); font-size: .75rem; line-height: 1.7; }
.site-footer__langs { display: flex; gap: 6px; align-items: center; margin: 0; }
.site-footer__langs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.site-footer__langs [aria-current="true"] { color: #fff; font-weight: 700; }

.back-to-top {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 90;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  box-shadow: 0 8px 24px rgba(7, 21, 40, .3);
  border: 1px solid rgba(255, 255, 255, .14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s, transform .3s var(--ease), visibility 0s linear .3s, background-color .2s;
  --focus-color: var(--blue);
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .3s var(--ease), visibility 0s, background-color .2s; }
.back-to-top:hover { background: var(--blue); color: #fff; }
.back-to-top .icon { width: 22px; height: 22px; }
.no-js .back-to-top { opacity: 1; visibility: visible; transform: none; }

/* Error page (404) */
.error-page { text-align: center; }
.error-page__code {
  font-family: var(--font-en);
  font-size: clamp(5rem, 3rem + 10vw, 9rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* 25 Reveal animation & utilities ------------------------------------------ */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="left"] { transform: translateX(-24px); }
.js [data-reveal="right"] { transform: translateX(24px); }
.js [data-reveal="zoom"] { transform: scale(.96); }
[data-reveal-delay="1"] { transition-delay: .08s !important; }
[data-reveal-delay="2"] { transition-delay: .16s !important; }
[data-reveal-delay="3"] { transition-delay: .24s !important; }
[data-reveal-delay="4"] { transition-delay: .32s !important; }
[data-reveal-delay="5"] { transition-delay: .40s !important; }
[data-reveal-delay="6"] { transition-delay: .48s !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.u-text-center { text-align: center; }
.u-text-right { text-align: right; }
.u-text-muted { color: var(--muted); }
.u-text-sm { font-size: var(--fs-sm); }
.u-nowrap { white-space: nowrap; }
.u-ib { display: inline-block; }          /* keep a JA phrase together: <span class="u-ib">…</span> */
.u-mt-0 { margin-top: 0 !important; }
.u-mt-8 { margin-top: 8px !important; }
.u-mt-16 { margin-top: 16px !important; }
.u-mt-24 { margin-top: 24px !important; }
.u-mt-32 { margin-top: 32px !important; }
.u-mt-48 { margin-top: 48px !important; }
.u-mt-64 { margin-top: 64px !important; }
.u-mb-0 { margin-bottom: 0 !important; }
.u-mb-16 { margin-bottom: 16px !important; }
.u-mb-24 { margin-bottom: 24px !important; }
.u-mb-32 { margin-bottom: 32px !important; }
.u-mx-auto { margin-inline: auto; }
.u-maxw-narrow { max-width: var(--container-narrow); }
@media (max-width: 767.98px) { .u-hide-sp { display: none !important; } }
@media (min-width: 768px) { .u-hide-pc { display: none !important; } }
.u-br-pc { display: none; }
@media (min-width: 768px) { .u-br-pc { display: inline; } }
.u-br-sp { display: inline; }
@media (min-width: 768px) { .u-br-sp { display: none; } }

@media print {
  .site-header, .drawer, .back-to-top, .cta-band, .site-footer__nav { display: none !important; }
  .hero, .page-hero { padding-top: 24px; color: #000; background: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
