:root {
  --navy-950: #020d1b;
  --navy-900: #06182d;
  --navy-800: #0b2747;
  --blue-700: #134f8f;
  --cyan: #78c5ee;
  --gold: #c9921f;
  --gold-light: #edbd4f;
  --ink: #081a31;
  --muted: #52647a;
  --line: #d9e0e8;
  --surface: #ffffff;
  --soft: #f5f7fa;
  --container: 1120px;
  --radius: 4px;
  --font: "Noto Sans JP", "Inter", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
summary,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.series-container,
.series-header__inner {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.series-header {
  position: fixed;
  z-index: 50;
  top: 0;
  right: 0;
  left: 0;
  color: #fff;
  background: rgba(2, 13, 27, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  transition: background 180ms ease;
}

.series-header[data-scrolled] {
  background: rgba(2, 13, 27, 0.96);
}

.series-header__inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  gap: 36px;
}

.series-brand {
  flex: 0 0 auto;
}

.series-brand img {
  width: 190px;
  height: auto;
}

.series-nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  gap: 28px;
}

.series-nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.series-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  background: var(--gold-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.series-nav a:hover::after {
  transform: scaleX(1);
}

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 800;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--gold {
  color: #101a28;
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.button--gold:hover {
  background: #f5ca63;
}

.button--outline {
  color: #fff;
  background: rgba(2, 13, 27, 0.3);
  border-color: rgba(237, 189, 79, 0.78);
}

.button--outline:hover {
  border-color: var(--gold-light);
  background: rgba(255, 255, 255, 0.07);
}

.button--header {
  min-height: 42px;
  padding-inline: 18px;
  font-size: 12px;
}

.series-menu {
  display: none;
  margin-left: auto;
  position: relative;
}

.series-menu summary {
  width: 44px;
  height: 44px;
  display: grid;
  place-content: center;
  gap: 5px;
  cursor: pointer;
  list-style: none;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
}

.series-menu summary::-webkit-details-marker {
  display: none;
}

.series-menu summary span {
  width: 20px;
  height: 1px;
  background: #fff;
}

.series-menu nav {
  position: absolute;
  top: 54px;
  right: 0;
  width: min(280px, calc(100vw - 32px));
  display: grid;
  padding: 10px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 44px rgba(2, 13, 27, 0.2);
}

.series-menu nav a {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  font-weight: 700;
}

.series-menu nav a:last-child {
  color: #fff;
  background: var(--navy-800);
  border-bottom: 0;
}

.series-hero {
  position: relative;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--navy-950);
}

.series-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 13, 27, 0.98) 0%, rgba(2, 13, 27, 0.88) 42%, rgba(2, 13, 27, 0.24) 78%, rgba(2, 13, 27, 0.08) 100%);
}

.series-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.series-hero__inner {
  position: relative;
  z-index: 2;
  padding-top: 108px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--gold);
  font-family: "Inter", var(--font);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.eyebrow {
  color: var(--cyan);
}

.series-hero h1 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(43px, 4.5vw, 64px);
  line-height: 1.36;
  letter-spacing: 0.02em;
}

.series-hero__lead {
  max-width: 660px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.9;
}

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

.series-hero__note {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 12px;
}

.value-section,
.product-section,
.price-section,
.trust-section {
  padding: 104px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 50px;
}

.section-heading--split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  align-items: end;
  gap: 72px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.45;
  letter-spacing: 0.02em;
}

.section-heading > p:last-child,
.section-heading--split > p {
  margin: 18px 0 0;
  color: var(--muted);
}

.section-heading--split > p {
  margin: 0;
}

.value-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.value-list article {
  min-height: 230px;
  display: flex;
  gap: 24px;
  padding: 42px 32px 42px 0;
  border-right: 1px solid var(--line);
}

.value-list article:not(:first-child) {
  padding-left: 32px;
}

.value-list article:last-child {
  padding-right: 0;
  border-right: 0;
}

.value-list__number {
  flex: 0 0 auto;
  color: var(--gold);
  font-family: "Inter", sans-serif;
  font-size: 22px;
  font-weight: 700;
}

.value-list h3,
.value-list p {
  margin: 0;
}

.value-list h3 {
  font-size: 21px;
}

.value-list p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

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

.product-group {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 36px;
  padding: 34px 0;
  border-top: 1px solid #cbd4de;
}

.product-group:last-child {
  border-bottom: 1px solid #cbd4de;
}

.product-group__heading {
  display: flex;
  gap: 18px;
}

.product-group__heading > span {
  color: var(--gold);
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 800;
}

.product-group__heading h3,
.product-group__heading p {
  margin: 0;
}

.product-group__heading h3 {
  font-size: 20px;
}

.product-group__heading p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.product-card {
  position: relative;
  min-height: 190px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-content: start;
  gap: 16px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 180ms ease, transform 180ms ease;
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
}

.product-card img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.product-card p,
.product-card h4,
.product-card span {
  margin: 0;
}

.product-card p {
  color: var(--blue-700);
  font-size: 11px;
  font-weight: 700;
}

.product-card h4 {
  margin-top: 2px;
  font-family: "Inter", var(--font);
  font-size: 16px;
  line-height: 1.4;
}

.product-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

.product-card b {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 2px 8px;
  color: #175686;
  background: #eaf6fc;
  font-size: 10px;
}

.product-card b.is-live {
  color: #176140;
  background: #e7f5ee;
}

.product-card b.is-preparing {
  color: #706035;
  background: #f5f1e5;
}

.flow-section {
  padding: 104px 0;
  color: #fff;
  background: var(--navy-900);
}

.flow-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 92px;
}

.flow-section .section-heading h2 {
  font-size: clamp(30px, 2.4vw, 34px);
}

.section-kicker--light {
  color: var(--cyan);
}

.flow-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.flow-list li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 26px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.flow-list li > span {
  color: var(--gold-light);
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 800;
}

.flow-list h3,
.flow-list p {
  margin: 0;
}

.flow-list h3 {
  font-size: 19px;
}

.flow-list p {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

.price-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
}

.price-list article {
  min-height: 248px;
  padding: 32px;
  border-right: 1px solid var(--line);
}

.price-list article:last-child {
  border-right: 0;
}

.price-list__featured {
  color: #fff;
  background: var(--navy-900);
}

.price-list p,
.price-list h3,
.price-list strong,
.price-list span {
  margin: 0;
}

.price-list p {
  color: var(--muted);
  font-size: 12px;
}

.price-list__featured p,
.price-list__featured span {
  color: rgba(255, 255, 255, 0.68);
}

.price-list h3 {
  margin-top: 8px;
  font-family: "Inter", sans-serif;
  font-size: 26px;
}

.price-list strong {
  display: block;
  margin-top: 26px;
  color: var(--gold);
  font-size: 23px;
}

.price-list__featured strong {
  color: var(--gold-light);
}

.price-list span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

.price-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 11px;
}

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

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-grid article {
  min-height: 215px;
  padding: 34px;
  border-right: 1px solid var(--line);
}

.trust-grid article:last-child {
  border-right: 0;
}

.trust-grid span {
  color: var(--gold);
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.trust-grid h3,
.trust-grid p {
  margin: 0;
}

.trust-grid h3 {
  margin-top: 14px;
  font-size: 18px;
}

.trust-grid p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.related-service {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  margin-top: 46px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.related-service img {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.related-service p,
.related-service h3,
.related-service span {
  margin: 0;
}

.related-service p {
  color: var(--blue-700);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.related-service h3 {
  margin-top: 3px;
  font-size: 22px;
}

.related-service span {
  color: var(--muted);
  font-size: 13px;
}

.related-service > a {
  color: var(--blue-700);
  font-size: 14px;
  font-weight: 800;
}

.final-cta {
  color: #fff;
  background: var(--navy-950);
}

.final-cta__inner {
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.final-cta p,
.final-cta h2 {
  margin: 0;
}

.final-cta p {
  color: var(--cyan);
  font-size: 13px;
  font-weight: 700;
}

.final-cta h2 {
  margin-top: 8px;
  font-size: clamp(25px, 3vw, 38px);
}

.series-footer {
  color: rgba(255, 255, 255, 0.68);
  background: #010914;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.series-footer__inner {
  min-height: 96px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.series-footer img {
  width: 150px;
  height: auto;
}

.series-footer nav {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 26px;
  font-size: 11px;
}

.series-footer p {
  margin: 0;
  font-size: 11px;
}

[data-reveal] {
  opacity: 1;
  transform: none;
}

.js-ready [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.js-ready [data-reveal][data-visible="true"] {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .series-nav,
  .button--header {
    display: none;
  }

  .series-menu {
    display: block;
  }

  .product-group {
    grid-template-columns: 1fr;
  }

  .flow-layout {
    gap: 54px;
  }
}

@media (max-width: 780px) {
  .series-container,
  .series-header__inner {
    width: min(calc(100% - 32px), var(--container));
  }

  .series-header__inner {
    min-height: 68px;
  }

  .series-brand img {
    width: 170px;
  }

  .series-hero {
    min-height: 680px;
    align-items: flex-end;
  }

  .series-hero::after {
    background: linear-gradient(180deg, rgba(2, 13, 27, 0.24) 0%, rgba(2, 13, 27, 0.72) 36%, rgba(2, 13, 27, 0.98) 72%);
  }

  .series-hero__image {
    object-position: 68% center;
  }

  .series-hero__inner {
    padding-top: 130px;
    padding-bottom: 52px;
  }

  .series-hero h1 {
    font-size: clamp(36px, 10vw, 50px);
    line-height: 1.38;
  }

  .series-hero__lead {
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.8;
  }

  .desktop-break {
    display: none;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 26px;
  }

  .hero-actions .button {
    min-height: 50px;
    gap: 10px;
    padding: 0 12px;
    font-size: 13px;
  }

  .value-section,
  .product-section,
  .price-section,
  .trust-section,
  .flow-section {
    padding: 72px 0;
  }

  .section-heading,
  .section-heading--split {
    display: block;
    margin-bottom: 34px;
  }

  .section-heading--split > p {
    margin-top: 20px;
  }

  .section-heading h2 {
    font-size: 30px;
  }

  .value-list,
  .product-grid,
  .flow-layout,
  .price-list,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .value-list article {
    min-height: 0;
    padding: 28px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .value-list article:not(:first-child) {
    padding-left: 0;
  }

  .value-list article:last-child {
    border-bottom: 0;
  }

  .product-group {
    gap: 22px;
    padding: 30px 0;
  }

  .product-grid {
    gap: 8px;
  }

  .product-card {
    min-height: 130px;
  }

  .flow-layout {
    gap: 28px;
  }

  .price-list article {
    min-height: 0;
    padding: 28px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .price-list article:last-child {
    border-bottom: 0;
  }

  .trust-grid article {
    min-height: 0;
    padding: 28px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-grid article:last-child {
    border-bottom: 0;
  }

  .related-service {
    grid-template-columns: 54px 1fr;
    gap: 16px;
  }

  .related-service img {
    width: 50px;
    height: 50px;
  }

  .related-service > a {
    grid-column: 1 / -1;
  }

  .final-cta__inner {
    min-height: 300px;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
  }

  .series-footer__inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 30px 0;
  }

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

@media (max-width: 390px) {
  .series-hero {
    min-height: 720px;
  }

  .hero-actions {
    grid-template-columns: 1fr;
  }
}

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

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}
