:root {
  color-scheme: light;
  --bg: #ffffff;
  --surface: #ffffff;
  --muted-surface: #f5f8fb;
  --ink: #141d2f;
  --muted: #667386;
  --line: #dbe3ec;
  --blue: #174f8f;
  --blue-strong: #0d3568;
  --blue-soft: #e9f1fb;
  --teal: #147d78;
  --focus: #d98600;
  --policy-bg: #0d3568;
  --policy-ink: #ffffff;
  --policy-border: #082647;
  --header-height: 68px;
  --shell: 1120px;
  --page-x: clamp(1rem, 4vw, 3rem);
  --section-y: clamp(4.5rem, 8vw, 6.5rem);
  --scroll-progress: 0;
  --font-sans: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0b111c;
  --surface: #101827;
  --muted-surface: #0f1927;
  --ink: #edf5ff;
  --muted: #adbed2;
  --line: #27374f;
  --blue: #75b7ff;
  --blue-strong: #9dccff;
  --blue-soft: #102842;
  --teal: #58d1c9;
  --policy-bg: #071a30;
  --policy-ink: #f2f8ff;
  --policy-border: #1f5789;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0b111c;
    --surface: #101827;
    --muted-surface: #0f1927;
    --ink: #edf5ff;
    --muted: #adbed2;
    --line: #27374f;
    --blue: #75b7ff;
    --blue-strong: #9dccff;
    --blue-soft: #102842;
    --teal: #58d1c9;
    --policy-bg: #071a30;
    --policy-ink: #f2f8ff;
    --policy-border: #1f5789;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
}

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

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

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

a:hover {
  color: var(--blue);
}

button {
  cursor: pointer;
  font: inherit;
  letter-spacing: 0;
}

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

.icon-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  transform: translateY(-150%);
  background: var(--blue-strong);
  color: #fff;
  padding: 0.55rem 0.8rem;
  transition: transform 140ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.scroll-progress {
  position: fixed;
  z-index: 90;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  transform: scaleX(var(--scroll-progress));
  transform-origin: left center;
  background: var(--blue-strong);
  pointer-events: none;
}

.section-shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding-inline: var(--page-x);
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: var(--header-height);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 96%, transparent);
  padding: 0 1rem;
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 1 1 auto;
  gap: 0.65rem;
  min-width: 0;
  font-size: 0.98rem;
  font-weight: 800;
}

.brand img {
  width: 28px;
  height: 28px;
}

.brand span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2rem);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0.35rem;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left center;
  background: currentColor;
  content: "";
  transition: transform 180ms ease;
}

.site-nav a.is-active {
  color: var(--blue-strong);
}

.site-nav a.is-active::after,
.site-nav a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 0.5rem;
  margin-left: auto;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}

.icon-button:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.nav-toggle {
  display: none;
}

.theme-icon--moon {
  display: none;
}

:root[data-theme="dark"] .theme-icon--sun {
  display: none;
}

:root[data-theme="dark"] .theme-icon--moon {
  display: block;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-icon--sun {
    display: none;
  }

  :root:not([data-theme="light"]) .theme-icon--moon {
    display: block;
  }
}

.hero {
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, var(--bg), color-mix(in srgb, var(--bg) 88%, var(--blue-soft)));
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.44fr);
  gap: clamp(2.5rem, 7vw, 5.5rem);
  align-items: end;
  min-height: min(720px, calc(100svh - var(--header-height)));
  padding-block: clamp(5rem, 10vw, 8rem) clamp(3.5rem, 7vw, 5.5rem);
}

.kicker {
  margin: 0 0 1rem;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1.35;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.18;
  overflow-wrap: anywhere;
}

h1 {
  max-width: 12ch;
  margin-bottom: 1.4rem;
  font-size: clamp(3.1rem, 7.4vw, 6.4rem);
  font-weight: 850;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.8rem, 3.7vw, 3rem);
}

h3 {
  margin-bottom: 0.35rem;
  font-size: 1.05rem;
}

.hero-lead {
  max-width: 760px;
  margin-bottom: 1rem;
  color: var(--ink);
  font-size: clamp(1.25rem, 2.6vw, 2rem);
  font-weight: 750;
  line-height: 1.55;
}

.hero-text {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  border-bottom: 1px solid currentColor;
  color: var(--blue-strong);
  font-weight: 800;
}

.text-link--strong {
  border: 1px solid var(--blue-strong);
  background: var(--blue-strong);
  color: #fff;
  padding: 0.6rem 0.9rem;
}

.text-link--strong:hover {
  color: #fff;
  background: var(--blue);
}

.scope-panel {
  border-left: 1px solid var(--line);
  padding-left: clamp(1.25rem, 3vw, 2rem);
}

.scope-panel__title {
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.scope-panel ol {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.scope-panel li {
  display: grid;
  grid-template-columns: 2.3rem minmax(0, 1fr);
  gap: 0.8rem;
  border-top: 1px solid var(--line);
  padding: 1rem 0;
  transition: background-color 180ms ease, box-shadow 180ms ease;
}

.scope-panel li:hover {
  background: color-mix(in srgb, var(--blue-soft) 52%, transparent);
  box-shadow: inset 2px 0 0 var(--blue);
}

.scope-panel span {
  grid-row: 1 / span 2;
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 850;
}

.scope-panel strong,
.scope-panel small {
  display: block;
  grid-column: 2;
}

.scope-panel small {
  color: var(--muted);
  font-size: 0.88rem;
}

.section {
  padding: var(--section-y) 0;
  background: var(--bg);
}

.section--compact {
  padding-top: clamp(3rem, 6vw, 5rem);
}

.section--muted {
  border-block: 1px solid var(--line);
  background: var(--muted-surface);
}

.section-head {
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

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

.service-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding: clamp(1.15rem, 3vw, 1.65rem) 0;
  transition: background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.service-row:hover {
  background: color-mix(in srgb, var(--blue-soft) 44%, transparent);
  box-shadow: inset 2px 0 0 var(--blue);
  transform: translateX(2px);
}

.row-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  background: var(--muted-surface);
  color: var(--blue);
}

.row-icon .icon {
  width: 1rem;
  height: 1rem;
}

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

.compact-grid,
.two-column,
.contact-grid,
.policy-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.36fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.two-column--top {
  align-items: start;
}

.plain-list,
.check-list,
.tag-list,
.contact-notes {
  margin: 0;
  padding: 0;
  list-style: none;
}

.plain-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.plain-list li {
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
  color: var(--ink);
  font-weight: 750;
  transition: background-color 180ms ease, box-shadow 180ms ease;
}

.plain-list li:hover {
  background: color-mix(in srgb, var(--blue-soft) 42%, transparent);
  box-shadow: inset 2px 0 0 var(--blue);
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(1.5rem, 5vw, 4rem);
}

.check-list li {
  display: flex;
  gap: 0.65rem;
  border-bottom: 1px solid var(--line);
  padding: 0.9rem 0;
  color: var(--ink);
  font-weight: 700;
  transition: background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.check-list li:hover {
  background: color-mix(in srgb, var(--blue-soft) 42%, transparent);
  box-shadow: inset 2px 0 0 var(--teal);
  transform: translateX(2px);
}

.check-list .icon {
  flex: 0 0 auto;
  margin-top: 0.25rem;
  color: var(--teal);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-list li {
  min-width: 0;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 0.48rem 0.68rem;
  color: var(--muted);
  font-weight: 750;
  line-height: 1.2;
  overflow-wrap: anywhere;
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.tag-list li:hover {
  border-color: var(--blue);
  color: var(--blue-strong);
  transform: translateY(-2px);
}

.policy-section {
  border-block: 1px solid var(--policy-border);
  background: var(--policy-bg);
  color: var(--policy-ink);
}

.policy-grid {
  padding-block: clamp(3.8rem, 7vw, 5.5rem);
}

.policy-section .kicker,
.policy-section h2,
.policy-section p {
  color: var(--policy-ink);
}

.policy-section p {
  margin: 0;
  font-size: clamp(1.02rem, 2vw, 1.15rem);
}

.contact-copy {
  max-width: 720px;
}

.contact-copy p {
  color: var(--muted);
  font-size: clamp(1.02rem, 2vw, 1.14rem);
}

.contact-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  margin-top: 1.5rem;
}

.contact-notes li {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 0.85rem;
  color: var(--ink);
  font-weight: 750;
  transition: background-color 180ms ease, box-shadow 180ms ease;
}

.contact-notes li:hover {
  background: color-mix(in srgb, var(--blue-soft) 42%, transparent);
  box-shadow: inset 2px 0 0 var(--blue);
}

.js-enabled .scroll-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 620ms ease,
    transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

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

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg);
  color: var(--muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem var(--page-x);
}

.footer-brand {
  margin-bottom: 0.2rem;
  color: var(--ink);
  font-weight: 850;
}

.copyright {
  margin: 0;
  font-size: 0.92rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.15rem;
  font-size: 0.9rem;
  font-weight: 750;
}

.subpage {
  min-height: 70vh;
}

.page-hero {
  border-bottom: 1px solid var(--line);
  background: var(--muted-surface);
  padding: clamp(4rem, 8vw, 6rem) 0;
}

.page-hero h1 {
  max-width: none;
  margin-bottom: 0.8rem;
  font-size: clamp(2.5rem, 6vw, 4.2rem);
}

.page-hero p:last-child {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
}

.prose {
  max-width: 820px;
}

.prose h2 {
  margin: 2rem 0 0.5rem;
  font-size: 1.35rem;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p {
  color: var(--muted);
}

.policy-date {
  margin-top: 2.5rem;
  font-size: 0.95rem;
}

.not-found {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: 1.5rem;
}

.not-found__main {
  width: min(520px, 100%);
  text-align: center;
}

.not-found__main img {
  margin: 0 auto 1rem;
}

.not-found__main h1 {
  max-width: none;
  font-size: clamp(2rem, 8vw, 3.5rem);
}

@media (max-width: 900px) {
  .hero-grid,
  .compact-grid,
  .two-column,
  .contact-grid,
  .policy-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    align-items: start;
    min-height: auto;
  }

  .scope-panel {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 1rem 0 0;
  }

  .section-head {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 780px) {
  :root {
    --header-height: 64px;
  }

  .site-header {
    padding: 0 0.8rem;
  }

  .brand span {
    max-width: 42vw;
  }

  .icon-button {
    width: 40px;
    height: 40px;
  }

  .nav-toggle {
    display: inline-grid;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0.8rem;
    left: 0.8rem;
    display: none;
    border: 1px solid var(--line);
    background: var(--surface);
    padding: 0.55rem;
  }

  .site-header.is-open .site-nav {
    display: grid;
    gap: 0.15rem;
  }

  .site-nav a {
    padding: 0.35rem 0.55rem;
  }

  .site-nav a:hover {
    background: var(--muted-surface);
  }

  .hero-links,
  .text-link {
    width: 100%;
  }

  .text-link {
    justify-content: center;
  }

  .check-list,
  .contact-notes {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .hero-grid {
    padding-block: 4rem 3rem;
  }

  h1 {
    font-size: clamp(2.7rem, 15vw, 4rem);
  }

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

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

  .tag-list li {
    display: grid;
    min-height: 40px;
    place-items: center;
    text-align: center;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-nav {
    display: grid;
    gap: 0.55rem;
  }
}

@media (max-width: 360px) {
  .brand span {
    max-width: 36vw;
  }

  .tag-list {
    grid-template-columns: 1fr;
  }
}

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

  .js-enabled .scroll-reveal {
    opacity: 1;
    transform: none;
  }
}
