:root {
  --bg: oklch(1 0 0);
  --ink: oklch(0.15 0 0);
  --muted: oklch(0.42 0 0);
  --soft: oklch(0.955 0 0);
  --line: oklch(0.86 0 0);
  --blue: #0067b8;
  --blue-dark: #005da6;
  --black: oklch(0.055 0.006 248);
  --max: 1200px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
  line-height: 1.7;
}

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

a {
  color: inherit;
}

.official-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(18px, 4vw, 46px);
  border-top: 1px solid var(--line);
  background: oklch(0.98 0 0);
  color: var(--muted);
}

.official-footer__brand,
.official-footer__links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.official-footer__brand strong {
  color: var(--ink);
}

.official-footer__links a {
  min-height: 36px;
  text-decoration: none;
}

.official-footer__links a:hover {
  color: var(--blue-dark);
}

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

h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: 0;
  text-wrap: balance;
}

h1 {
  max-width: 9em;
  margin-bottom: 22px;
  color: white;
  font-size: clamp(2.2rem, 4.4vw, 4.4rem);
  font-weight: 900;
}

h1 span {
  display: block;
  white-space: nowrap;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.9rem, 3.2vw, 3.1rem);
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.15rem, 1.7vw, 1.5rem);
}

.mock-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 64px;
  padding: 12px clamp(18px, 4vw, 46px);
  border-bottom: 1px solid var(--line);
  background: oklch(1 0 0 / 0.96);
  backdrop-filter: blur(8px);
}

.mock-brand,
.mock-nav,
.mock-actions,
.hero-actions {
  display: flex;
  align-items: center;
}

.mock-brand {
  gap: 10px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(2, 8px);
  grid-template-rows: repeat(2, 8px);
  gap: 2px;
}

.brand-grid i {
  display: block;
}

.brand-grid i:nth-child(1) {
  background: var(--blue);
}

.brand-grid i:nth-child(2) {
  background: oklch(0.2 0 0);
}

.brand-grid i:nth-child(3) {
  background: oklch(0.58 0 0);
}

.brand-grid i:nth-child(4) {
  background: oklch(0.84 0 0);
}

.mock-nav {
  gap: 4px;
  color: var(--muted);
  font-size: 0.94rem;
}

.mock-nav a,
.text-action {
  min-height: 38px;
  padding: 7px 12px;
  text-decoration: none;
}

.mock-actions {
  gap: 14px;
  white-space: nowrap;
}

.solid-action,
.outline-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 4px;
  font-weight: 900;
  text-decoration: none;
  transition: transform 180ms var(--ease), background 180ms var(--ease);
}

.solid-action {
  background: var(--blue);
  color: white;
}

.solid-action:hover,
.outline-action:hover {
  transform: translateY(-1px);
}

.solid-action:hover {
  background: var(--blue-dark);
}

.outline-action {
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
}

.large {
  min-height: 50px;
  padding-inline: 24px;
}

.pricing-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  align-items: stretch;
  min-height: calc(100svh - 64px);
  background:
    radial-gradient(circle at 75% 30%, oklch(0.34 0.014 248 / 0.35), transparent 28%),
    linear-gradient(135deg, var(--black), oklch(0.095 0.01 248));
  color: white;
}

.pricing-hero--concept {
  grid-template-columns: minmax(0, 700px) minmax(0, 704px);
  justify-content: center;
  column-gap: clamp(28px, 4vw, 72px);
  padding-inline: clamp(24px, 3.5vw, 48px);
}

.pricing-hero--concept .hero-copy {
  padding-inline: 0;
}

.hero-copy {
  align-self: center;
  max-width: 840px;
  padding: clamp(46px, 7vw, 88px) clamp(24px, 5vw, 72px);
}

.hero-copy p:not(.product-label) {
  max-width: 58ch;
  color: oklch(0.86 0 0);
  font-size: clamp(1.02rem, 1.25vw, 1.18rem);
  line-height: 1.85;
  text-wrap: pretty;
}

.product-label,
.section-label {
  margin-bottom: 14px;
  color: var(--blue-dark);
  font-weight: 900;
}

.pricing-hero .product-label {
  color: white;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-device-wall {
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: clamp(18px, 3vw, 40px);
}

.hero-device-wall img {
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 1px solid oklch(1 0 0 / 0.7);
  border-radius: 8px;
  object-fit: cover;
}

.hero-pricing-model,
.hero-answer-list {
  align-self: center;
  display: grid;
  gap: 14px;
  padding: clamp(24px, 4vw, 56px);
}

.hero-answer-list {
  width: 100%;
  justify-self: start;
  padding-inline: 0;
}

.model-row,
.hero-answer-list div {
  min-height: 168px;
  padding: clamp(20px, 2.4vw, 28px) clamp(24px, 3vw, 34px);
  border: 1px solid oklch(1 0 0 / 0.38);
  border-radius: 8px;
  background: oklch(1 0 0 / 0.08);
}

.model-row span,
.model-row strong,
.hero-answer-list span,
.hero-answer-list strong {
  display: block;
}

.model-row span,
.hero-answer-list span {
  margin-bottom: 10px;
  color: oklch(0.78 0 0);
  font-weight: 900;
}

.model-row strong,
.hero-answer-list strong {
  margin-bottom: 10px;
  font-size: clamp(1.45rem, 2.05vw, 2rem);
  line-height: 1.15;
}

.model-row p,
.hero-answer-list p {
  max-width: 36em;
  margin: 0;
  color: oklch(0.88 0 0);
  font-size: clamp(0.96rem, 1.05vw, 1.04rem);
  font-weight: 700;
  line-height: 1.7;
}

.model-plus {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: -8px auto;
  border: 1px solid oklch(1 0 0 / 0.32);
  border-radius: 999px;
  background: white;
  color: var(--ink);
  font-size: 1.7rem;
  font-weight: 900;
}

.campaign-banner,
.problem-section,
.answer-section,
.monthly-section,
.usage-section,
.devices-section,
.renewal-section,
.closing-cta {
  padding: clamp(58px, 7.5vw, 96px) clamp(18px, 4vw, 46px);
}

.campaign-banner {
  display: grid;
  grid-template-columns: minmax(360px, 0.48fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(18px, 3vw, 36px);
  max-width: var(--max);
  margin: 0 auto clamp(18px, 3vw, 28px);
  padding: clamp(18px, 2.5vw, 26px);
  border: 1px solid oklch(0.2 0 0);
  border-radius: 8px;
  background: oklch(0.12 0 0);
  color: white;
}

.campaign-banner[hidden] {
  display: none;
}

.campaign-banner span,
.campaign-banner strong {
  display: block;
}

.campaign-banner span {
  margin-bottom: 6px;
  color: oklch(0.78 0 0);
  font-weight: 800;
}

.campaign-banner strong {
  font-size: clamp(1.35rem, 2.4vw, 2.1rem);
  line-height: 1.22;
  word-break: keep-all;
  overflow-wrap: normal;
}

.campaign-banner p {
  margin: 0;
  color: oklch(0.9 0 0);
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  font-weight: 700;
}

.campaign-banner--device {
  margin-top: calc(clamp(30px, 5vw, 54px) * -0.42);
}

.problem-section {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(340px, 1.04fr);
  align-items: center;
  gap: clamp(28px, 5vw, 76px);
  max-width: calc(var(--max) + 92px);
  margin: 0 auto;
  padding-bottom: clamp(34px, 5vw, 62px);
}

.problem-copy p:not(.section-label) {
  max-width: 64ch;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.25vw, 1.18rem);
  text-wrap: pretty;
}

.problem-list {
  display: grid;
  gap: 10px;
}

.problem-list div {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  font-weight: 900;
}

.section-copy p:not(.section-label),
.centered p,
.closing-cta p,
.renewal-section p:not(.section-label) {
  color: var(--muted);
  font-size: clamp(1.02rem, 1.25vw, 1.18rem);
  text-wrap: pretty;
}

.centered {
  max-width: var(--max);
  margin: 0 auto clamp(30px, 5vw, 54px);
  text-align: center;
}

.centered p {
  max-width: 760px;
  margin-inline: auto;
}

.answer-section {
  background: white;
  padding-top: clamp(42px, 5.8vw, 72px);
}

.answer-section .section-copy {
  max-width: var(--max);
  margin: 0 auto clamp(28px, 5vw, 50px);
}

.answer-section .section-copy p:not(.section-label) {
  max-width: 760px;
}

.split-explain,
.principle-grid,
.monthly-ledger {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: var(--max);
  margin: 0 auto;
}

.principle-grid,
.monthly-ledger {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.split-explain article,
.principle-grid article,
.monthly-ledger article {
  min-height: 260px;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.split-explain span,
.principle-grid span,
.monthly-ledger span,
.device-price-grid span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--blue-dark);
  font-weight: 900;
}

.principle-grid h3 {
  margin-bottom: 16px;
}

.split-explain strong {
  display: block;
  margin-bottom: 16px;
  font-size: clamp(1.65rem, 2.7vw, 2.5rem);
  line-height: 1.15;
}

.split-explain p,
.principle-grid p,
.monthly-ledger p {
  margin-bottom: 0;
  color: var(--muted);
}

.monthly-section {
  background: var(--black);
  color: white;
  padding-block: clamp(68px, 8.5vw, 108px);
}

.monthly-section .section-label,
.monthly-section .centered p {
  color: oklch(0.84 0 0);
}

.monthly-ledger article {
  border-color: oklch(1 0 0 / 0.18);
  background: oklch(1 0 0 / 0.08);
}

.monthly-ledger span {
  color: oklch(0.76 0 0);
}

.monthly-ledger strong {
  display: block;
  margin-bottom: 16px;
  color: white;
  font-size: clamp(1.46rem, 2.35vw, 2.18rem);
  line-height: 1.15;
  word-break: keep-all;
}

.monthly-ledger p {
  color: oklch(0.84 0 0);
}

.usage-section {
  background: var(--soft);
}

.usage-highlight,
.tier-list,
.device-price-grid {
  max-width: var(--max);
  margin: 0 auto;
}

.usage-highlight {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.usage-highlight div,
.tier-list div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.usage-highlight div {
  min-height: 132px;
  padding: 22px;
}

.usage-highlight span,
.usage-highlight strong {
  display: block;
}

.usage-highlight span,
.tier-list span {
  color: var(--muted);
  font-weight: 800;
}

.usage-highlight strong {
  margin-top: 8px;
  font-size: clamp(1.24rem, 2vw, 1.72rem);
  line-height: 1.15;
  white-space: nowrap;
}

.tier-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.tier-list div {
  display: grid;
  gap: 4px;
  min-height: 96px;
  padding: 18px;
}

.tier-list strong {
  font-size: 1.18rem;
}

.device-price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.device-price-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.device-price-grid img {
  width: 100%;
  aspect-ratio: 16 / 11;
  background: var(--black);
  object-fit: cover;
}

.device-price-grid article > div {
  padding: clamp(22px, 2.6vw, 30px);
}

.device-price-grid article > div > span {
  margin-right: 8px;
  vertical-align: middle;
}

.campaign-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin: 0 0 14px;
  padding: 0 10px;
  border-radius: 999px;
  background: oklch(0.12 0 0);
  color: white;
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 900;
  vertical-align: middle;
}

.campaign-chip[hidden] {
  display: none;
}

.device-price-grid dl {
  display: grid;
  gap: 8px;
  margin: 20px 0 0;
}

.device-price-grid dl div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: baseline;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.device-price-grid dt {
  color: var(--muted);
  font-weight: 800;
}

.device-price-grid dd {
  margin: 0;
  font-weight: 900;
  text-align: right;
  white-space: nowrap;
}

.renewal-section {
  max-width: var(--max);
  margin: 0 auto;
}

.renewal-section {
  padding-top: clamp(42px, 5.8vw, 72px);
}

.renewal-copy h2,
.renewal-copy p:not(.section-label) {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.renewal-copy .section-label {
  color: var(--muted);
  text-align: center;
}

.renewal-copy h2 {
  font-size: clamp(1.75rem, 2.55vw, 2.35rem);
  line-height: 1.24;
  text-wrap: balance;
}

.renewal-copy h2 span {
  display: block;
}

.renewal-copy p:not(.section-label) {
  margin-bottom: clamp(22px, 3.5vw, 34px);
}

.renewal-rule {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.82fr;
  gap: 0;
  max-width: 920px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.renewal-rule div {
  padding: 20px 22px;
  background: white;
}

.renewal-rule div + div {
  border-left: 1px solid var(--line);
}

.renewal-rule span,
.renewal-rule strong {
  display: block;
}

.renewal-rule span {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.renewal-rule strong {
  font-size: clamp(1.12rem, 1.55vw, 1.42rem);
  line-height: 1.2;
  white-space: nowrap;
}

.closing-cta {
  background: var(--black);
  color: white;
  padding-block: clamp(64px, 8vw, 104px);
  text-align: center;
}

.closing-cta .section-label,
.closing-cta p {
  color: oklch(0.86 0 0);
}

.closing-cta h2,
.closing-cta p {
  max-width: 760px;
  margin-inline: auto;
}

.closing-cta h2 span {
  display: block;
}

.closing-cta .hero-actions {
  justify-content: center;
}

@media (max-width: 980px) {
  .mock-nav {
    display: none;
  }

  .pricing-hero,
  .problem-section,
  .split-explain,
  .principle-grid,
  .monthly-ledger,
  .campaign-banner,
  .usage-highlight,
  .device-price-grid {
    grid-template-columns: 1fr;
  }

  .pricing-hero {
    min-height: auto;
  }

  .pricing-hero--concept {
    padding-inline: 0;
  }

  .problem-section,
  .answer-section,
  .monthly-section,
  .usage-section,
  .devices-section,
  .renewal-section,
  .closing-cta {
    padding-block: 56px;
  }

  .renewal-section {
    grid-template-columns: 1fr;
  }

  .renewal-rule {
    grid-template-columns: 1fr;
  }

  .renewal-rule div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .problem-section {
    padding-bottom: 32px;
  }

  .answer-section {
    padding-top: 40px;
  }

  .pricing-hero .hero-copy {
    padding-bottom: 32px;
  }

  .pricing-hero--concept .hero-copy {
    padding-inline: clamp(24px, 5vw, 72px);
  }

  .hero-answer-list {
    gap: 12px;
    padding-inline: clamp(18px, 4vw, 46px);
    padding-top: 0;
  }

  .hero-answer-list div {
    min-height: 0;
    padding-block: 22px;
  }

  .hero-device-wall {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: none;
    padding-top: 0;
  }

  .hero-device-wall img {
    aspect-ratio: 1;
  }

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

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

  .mock-brand span:last-child {
    max-width: 160px;
    white-space: normal;
    line-height: 1.2;
  }

  .text-action {
    display: none;
  }

  .problem-section,
  .answer-section,
  .monthly-section,
  .usage-section,
  .devices-section,
  .renewal-section,
  .closing-cta {
    padding-block: 46px;
  }

  .problem-section {
    padding-bottom: 28px;
  }

  .answer-section {
    padding-top: 34px;
  }

  .hero-device-wall {
    grid-auto-flow: column;
    grid-auto-columns: minmax(238px, 84vw);
    grid-template-columns: none;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .hero-device-wall::-webkit-scrollbar {
    display: none;
  }

  .hero-device-wall img {
    scroll-snap-align: center;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions a {
    width: 100%;
  }

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

  .campaign-banner {
    gap: 12px;
    padding: 18px;
  }

  .campaign-banner strong {
    font-size: clamp(1.22rem, 6.2vw, 1.52rem);
  }

  .campaign-banner p {
    font-size: 0.95rem;
  }

  .device-price-grid dl div {
    display: grid;
    gap: 2px;
  }

  .device-price-grid dd {
    text-align: left;
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .solid-action,
  .outline-action {
    transition: none;
  }
}
