:root {
  color-scheme: light;
  --page-bg: #f1f5f9;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --text: #233842;
  --text-soft: #526773;
  --muted: #718390;
  --border: #dbe5ea;
  --primary: #006b63;
  --primary-strong: #00534d;
  --primary-soft: #dff7f2;
  --shadow: 0 18px 50px rgba(35, 56, 66, 0.09);
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --page-bg: #10171d;
  --surface: #182229;
  --surface-soft: #202d35;
  --text: #e1e9ed;
  --text-soft: #bdcbd1;
  --muted: #93a5af;
  --border: #33444d;
  --primary: #57f1db;
  --primary-strong: #8df8e8;
  --primary-soft: #173e3b;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--page-bg);
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 88% 0%, rgba(45, 212, 191, 0.12), transparent 30rem),
    var(--page-bg);
  color: var(--text);
  font-family: Inter, "Noto Sans JP", "Yu Gothic UI", Meiryo, system-ui, sans-serif;
  line-height: 1.75;
}

a {
  color: var(--primary);
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--primary-strong);
}

[hidden] {
  display: none !important;
}

.site-header {
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(16px);
}

.header-inner,
.page-shell,
.site-footer {
  width: min(100% - 2rem, 960px);
  margin-inline: auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.7rem;
}

.language-switch {
  display: inline-flex;
  padding: 0.2rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-soft);
}

.language-switch button {
  border: 0;
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
}

.language-switch button[aria-pressed="true"] {
  background: var(--primary);
  color: #fff;
}

:root[data-theme="dark"] .language-switch button[aria-pressed="true"] {
  color: #09201d;
}

.page-shell {
  padding-block: clamp(2.5rem, 7vw, 5rem);
}

.eyebrow {
  margin: 0 0 0.5rem;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.25;
  letter-spacing: -0.025em;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.4rem);
}

h2 {
  margin: 2.5rem 0 0.75rem;
  font-size: clamp(1.3rem, 3vw, 1.75rem);
}

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

p,
ul,
ol,
dl {
  margin-block: 0.7rem;
}

ul,
ol {
  padding-left: 1.4rem;
}

.lede {
  max-width: 48rem;
  margin-top: 1rem;
  color: var(--text-soft);
  font-size: 1.08rem;
}

.meta-line {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.content-card,
.price-card,
.notice {
  border: 1px solid var(--border);
  border-radius: 1.2rem;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.content-card {
  margin-top: 2rem;
  padding: clamp(1.25rem, 4vw, 2.5rem);
}

.notice {
  margin-top: 1.5rem;
  padding: 1rem 1.15rem;
  border-color: color-mix(in srgb, var(--primary) 34%, var(--border));
  background: var(--primary-soft);
  box-shadow: none;
}

.pricing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(17rem, 0.85fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.price-card {
  padding: 1.5rem;
}

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

.price-value {
  margin: 0.15rem 0;
  color: var(--text);
  font-size: clamp(2.3rem, 7vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.1;
}

.price-note {
  color: var(--text-soft);
}

.price-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.price-list div {
  padding: 0.8rem;
  border-radius: 0.8rem;
  background: var(--surface-soft);
}

.price-list dt {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.price-list dd {
  margin: 0;
  font-weight: 800;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.55rem 1rem;
  border: 1px solid var(--primary);
  border-radius: 0.8rem;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

:root[data-theme="dark"] .button {
  color: #09201d;
}

.button.secondary {
  background: transparent;
  color: var(--primary);
}

.public-nav,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
}

.public-nav {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.public-nav a,
.site-footer a {
  font-size: 0.9rem;
  font-weight: 700;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1.25rem;
  padding-block: 1.5rem 2.5rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.85rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 720px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 420px) {
  .header-inner {
    align-items: flex-start;
  }

  .brand span {
    max-width: 8.5rem;
    line-height: 1.25;
  }

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