:root {
  --bg: #ffffff;
  --bg-soft: #f7fafa;
  --surface: #ffffff;
  --surface-muted: #f3f7f7;
  --line: #dde5e5;
  --line-strong: #bfd5d8;
  --text: #080b0c;
  --muted: #667274;
  --soft: #3b4749;
  --accent: #64bdc9;
  --accent-soft: #e7f8fa;
  --shadow: 0 18px 60px rgba(22, 41, 43, 0.08);
  --max: 1180px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 6px;
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Noto Sans JP", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 86% 16%, rgba(100, 189, 201, 0.12), transparent 22rem),
    linear-gradient(180deg, rgba(246, 250, 250, 0.95), rgba(255, 255, 255, 0) 26rem);
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px var(--gutter);
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 1px 0 rgba(8, 11, 12, 0.02);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  display: none;
}

.brand strong {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.08em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 650;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #208593;
}

.nav-contact {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius);
  padding: 0 18px;
  background: var(--text);
  color: white !important;
  box-shadow: var(--shadow);
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 70svh;
  padding: clamp(72px, 12vw, 148px) var(--gutter) clamp(82px, 12vw, 152px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  right: -6vw;
  bottom: 8%;
  width: min(850px, 62vw);
  height: min(360px, 36vw);
  pointer-events: none;
  background:
    repeating-radial-gradient(ellipse at 50% 55%, transparent 0 10px, rgba(100, 189, 201, 0.18) 11px 12px, transparent 13px 22px);
  border-radius: 50%;
  transform: rotate(-8deg);
  opacity: 0.8;
}

.hero::after {
  content: "";
  position: absolute;
  right: 8vw;
  bottom: 24%;
  width: 34vw;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(100, 189, 201, 0.7), transparent);
  transform: rotate(-10deg);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 660px;
}

.section-label {
  margin: 0 0 20px;
  color: #4aaebe;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.4;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--text);
  line-height: 1.05;
  text-wrap: balance;
}

h1 {
  font-size: clamp(5rem, 12vw, 10.5rem);
  font-weight: 850;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(2rem, 4.2vw, 4rem);
  font-weight: 760;
}

h3 {
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
}

p,
dd {
  line-break: strict;
  text-wrap: pretty;
  word-break: normal;
  overflow-wrap: break-word;
}

p {
  overflow-wrap: normal;
}

.hero-subtitle {
  margin: 18px 0 0;
  color: var(--text);
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  font-weight: 760;
  line-height: 1.5;
}

.hero-lead {
  max-width: 530px;
  margin: 18px 0 0;
  color: var(--soft);
  font-size: 1rem;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0 22px;
  font-size: 0.92rem;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.button-primary {
  background: var(--text);
  color: white;
}

.button-disabled,
.button[aria-disabled="true"] {
  cursor: not-allowed;
  background: #8b9799;
  color: white;
  box-shadow: none;
}

.button-disabled:hover,
.button[aria-disabled="true"]:hover {
  transform: none;
  box-shadow: none;
}

.button-secondary {
  border-color: var(--line);
  background: white;
  color: var(--text);
}

.section-wrap {
  width: min(var(--max), calc(100% - var(--gutter) * 2));
  margin: 0 auto;
  padding: clamp(66px, 10vw, 124px) 0;
}

.intro,
.company,
.commerce-hero,
.commerce-cta,
.principles,
.network {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 7vw, 112px);
  align-items: start;
}

.intro {
  grid-template-columns: minmax(430px, 0.95fr) minmax(0, 1.05fr);
}

.intro-title {
  font-size: clamp(2.4rem, 4vw, 3.55rem);
  line-height: 1.08;
}

.intro-title span {
  display: block;
  white-space: nowrap;
}

.intro p,
.principle-list p,
.commerce-hero p,
.commerce-cta p,
.section-heading p {
  margin: 0;
  color: var(--soft);
  font-size: clamp(1rem, 1.32vw, 1.12rem);
  line-height: 1.9;
}

.service-band {
  padding: clamp(68px, 10vw, 122px) var(--gutter);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, var(--bg-soft));
}

.section-heading {
  width: min(var(--max), 100%);
  margin: 0 auto clamp(42px, 6vw, 70px);
}

.section-heading.compact {
  margin-bottom: 32px;
}

.section-heading h2 {
  max-width: 780px;
  margin-bottom: 18px;
}

.service-grid {
  display: grid;
  width: min(var(--max), 100%);
  margin: 0 auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.service-item {
  min-height: 260px;
  padding: clamp(24px, 4vw, 36px);
  border-right: 1px solid var(--line);
}

.service-item:last-child {
  border-right: 0;
}

.service-icon {
  display: block;
  min-height: 42px;
  margin-bottom: 34px;
  color: var(--accent);
  font-size: 1.9rem;
  line-height: 1;
}

.service-item p,
.policy-grid p,
.notice-panel p {
  color: var(--muted);
  line-height: 1.85;
}

.service-item p {
  margin: 16px 0 0;
}

.principle-list {
  display: grid;
  gap: 22px;
}

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

.company-list,
.disclosure-list {
  display: grid;
  margin: 0;
  border-top: 1px solid var(--line);
}

.company-list div,
.disclosure-list div {
  display: grid;
  grid-template-columns: minmax(150px, 0.32fr) minmax(0, 1fr);
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

dt {
  color: var(--text);
  font-size: 0.83rem;
  font-weight: 800;
}

dd {
  margin: 0;
  color: var(--soft);
  line-height: 1.8;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 30px var(--gutter);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: white;
}

.site-footer strong {
  color: var(--text);
  font-size: 1.4rem;
  letter-spacing: 0.08em;
}

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

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  justify-content: flex-end;
  font-size: 0.9rem;
}

.site-footer a {
  color: var(--soft);
  text-decoration: none;
}

.site-footer a:hover {
  color: #208593;
}

.commerce-page {
  background: white;
}

.commerce-page::before {
  background:
    radial-gradient(circle at 84% 10%, rgba(100, 189, 201, 0.1), transparent 24rem),
    linear-gradient(180deg, rgba(246, 250, 250, 0.95), rgba(255, 255, 255, 0) 22rem);
}

.commerce-hero {
  padding-top: clamp(74px, 11vw, 134px);
}

.commerce-hero h1 {
  max-width: 760px;
  font-size: clamp(2.3rem, 4.6vw, 4.7rem);
}

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

.commerce-hero h1 span + span {
  margin-top: 0.2em;
  color: var(--soft);
  font-size: 0.48em;
  line-height: 1.2;
}

.notice {
  padding-top: 0;
}

.notice-panel {
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-muted);
}

.notice-panel h2 {
  margin-bottom: 16px;
  font-size: clamp(1.55rem, 3vw, 2.65rem);
}

.commerce-grid {
  padding-top: 0;
}

.disclosure-list {
  background: white;
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.policy-grid article {
  min-height: 210px;
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}

.policy-grid h3 {
  margin-bottom: 14px;
}

.commerce-cta {
  align-items: center;
}

@media (max-width: 780px) {
  .hero {
    min-height: auto;
  }

  .intro,
  .company,
  .principles,
  .network,
  .commerce-hero,
  .commerce-cta {
    grid-template-columns: 1fr;
  }

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

  .service-item {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

@media (max-width: 640px) {
  .site-header {
    padding: 18px;
  }

  .brand strong {
    font-size: 1.2rem;
  }

  .nav-toggle {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: white;
    color: var(--text);
  }

  .nav-toggle span[aria-hidden="true"],
  .nav-toggle span[aria-hidden="true"]::before,
  .nav-toggle span[aria-hidden="true"]::after {
    display: block;
    width: 17px;
    height: 2px;
    background: currentColor;
    content: "";
  }

  .nav-toggle span[aria-hidden="true"]::before {
    transform: translateY(-6px);
  }

  .nav-toggle span[aria-hidden="true"]::after {
    transform: translateY(4px);
  }

  .site-nav {
    position: absolute;
    top: 70px;
    right: 18px;
    display: none;
    width: min(290px, calc(100vw - 36px));
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: white;
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 16px 18px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .nav-contact {
    display: block;
    min-height: 0;
    border-radius: 0;
    padding: 16px 18px !important;
    background: white;
    color: var(--text) !important;
    box-shadow: none;
  }

  .section-wrap {
    width: min(100% - 36px, var(--max));
  }

  .hero {
    padding: 74px 18px 84px;
  }

  .hero::before {
    right: -60vw;
    bottom: 12%;
    width: 120vw;
    height: 46vw;
  }

  h1 {
    font-size: clamp(4.3rem, 24vw, 6.3rem);
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

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

  .site-footer {
    flex-direction: column;
    padding: 30px 18px;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

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