:root {
  --bg: #e4f1f8;
  --panel: rgba(255, 255, 255, 0.9);
  --panel-solid: #fbfdff;
  --panel-soft: #edf6fa;

  --text: #05080c;
  --muted: #0d1117;

  --accent: #6ec0e8;
  --accent-soft: #98d9f2;
  --accent-deep: #2f86b0;

  --highlight: #57abd3;
  --highlight-soft: #7fc7e7;

  --line: rgba(47, 134, 176, 0.16);
  --shadow: 0 18px 42px rgba(25, 60, 85, 0.1);

  --radius: 24px;
  --container: 1180px;

  --header-expanded: 82px;
  --header-collapsed: 82px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-collapsed) + 20px);
}

body {
  margin: 0;
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Hiragino Sans",
    "Yu Gothic",
    "Meiryo",
    sans-serif;
  background:
    radial-gradient(circle at top right, rgba(110, 192, 232, 0.22), transparent 30%),
    radial-gradient(circle at top left, rgba(167, 214, 235, 0.28), transparent 28%),
    linear-gradient(180deg, #eef7fb 0%, #e2f0f8 48%, #d6e9f4 100%);
  color: var(--text);
  line-height: 1.72;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(16, 24, 32, 0.045) 0.5px, transparent 0.5px);
  background-size: 4px 4px;
  opacity: 0.04;
}

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

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

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 40;
  background: rgba(236, 246, 251, 0.76);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition:
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.site-header.scrolled {
  background: rgba(236, 246, 251, 0.93);
  border-color: var(--line);
}

.site-header.is-collapsed {
  background: rgba(236, 246, 251, 0.97);
  border-color: var(--line);
  box-shadow: 0 10px 24px rgba(25, 60, 85, 0.07);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: var(--header-expanded);
  overflow: visible;
  transition:
    min-height 220ms ease,
    padding 220ms ease;
}

.site-header.is-collapsed .header-inner {
  min-height: var(--header-collapsed);
}

.site-nav,
.trial-button,
.brand {
  transition:
    opacity 220ms ease,
    transform 220ms ease,
    filter 220ms ease;
}

.site-header.is-collapsed .site-nav,
.site-header.is-collapsed .trial-button {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-4px) scale(0.985);
  filter: none;
}

.site-header.is-collapsed .brand {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  justify-content: center;
  text-align: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.brand-text {
  font-family: "Inter", sans-serif;
  font-size: clamp(1.3rem, 1.45vw, 1.55rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: 0.01em;
  white-space: nowrap;
  color: #0d1720;
  display: inline-block;
  padding-bottom: 0.04em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  color: #111418;
  font-size: 0.95rem;
  font-weight: 600;
}

.site-nav a {
  position: relative;
  white-space: nowrap;
  transition: color 180ms ease, opacity 180ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.22rem;
  width: 100%;
  height: 1px;
  background: var(--accent-deep);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

/* ---------- Buttons ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

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

.button-primary {
  background: linear-gradient(135deg, #5aaed8, #3f95c0 52%, #2b7ca4);
  color: #f9fdff;
  box-shadow: none;
}

.button-secondary {
  border-color: rgba(47, 134, 176, 0.16);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
}

.button-secondary:hover {
  border-color: rgba(47, 134, 176, 0.28);
  background: rgba(255, 255, 255, 0.9);
}

.trial-button {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  min-width: 132px;
  text-align: center;
  line-height: 1.05;
  padding: 0.82rem 1.1rem;
  flex-shrink: 0;
}

.trial-button span:first-child {
  font-size: 0.88rem;
  font-weight: 700;
}

.trial-button span:last-child {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  opacity: 0.92;
}

/* ---------- Main layout ---------- */

main {
  position: relative;
}

.hero,
.section {
  scroll-margin-top: calc(var(--header-collapsed) + 20px);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.54), rgba(214, 233, 244, 0.68)),
    radial-gradient(circle at 78% 28%, rgba(110, 192, 232, 0.18), transparent 28%),
    radial-gradient(circle at 18% 18%, rgba(167, 214, 235, 0.18), transparent 32%),
    linear-gradient(180deg, #f1f8fc 0%, #e2f0f8 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(228, 241, 248, 0.2));
}

.hero-content {
  position: relative;
  padding: calc(var(--header-expanded) + 2.75rem) 0 5rem;
}

.hero-content-split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 2rem;
  align-items: center;
}

.hero-main-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent-deep);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 700;
}

h1,
h2,
h3,
blockquote,
strong {
  margin-top: 0;
  font-family: "Inter", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  line-height: 1.08;
  color: #05080c;
}

h1 {
  font-size: clamp(2.35rem, 5.2vw, 5rem);
  margin-bottom: 1.25rem;
  max-width: 11ch;
  font-weight: 700;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  margin-bottom: 1.2rem;
  font-weight: 700;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
  font-weight: 700;
  line-height: 1.2;
}

blockquote {
  font-weight: 700;
}

p {
  margin: 0 0 1rem;
  color: #0b0f14;
}

.hero-copy {
  max-width: 64ch;
  color: #0b0f14;
  font-weight: 500;
  font-size: 1.05rem;
}

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

.section {
  position: relative;
  padding: 6rem 0;
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 2.5rem;
  align-items: start;
}

.section-intro {
  max-width: 72ch;
  color: #16202a;
  margin-bottom: 0;
}

/* ---------- Shared cards / panels ---------- */

.feature-card,
.level-card,
.gallery-point-card,
.fit-card,
.pricing-card,
.final-panel,
.atmosphere-panel,
.hero-info-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 251, 254, 0.98));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.feature-card,
.level-card,
.gallery-point-card,
.fit-card,
.pricing-card,
.hero-info-card {
  border-radius: var(--radius);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.feature-card:hover,
.level-card:hover,
.gallery-point-card:hover,
.fit-card:hover,
.pricing-card:hover,
.hero-info-card:hover {
  transform: translateY(-3px);
  border-color: rgba(47, 134, 176, 0.26);
  box-shadow: 0 20px 44px rgba(25, 60, 85, 0.12);
}

/* ---------- Hero side panel ---------- */

.hero-info-panel {
  display: grid;
  gap: 1rem;
}

.hero-info-card {
  padding: 1.35rem 1.35rem 1.2rem;
}

.hero-info-card strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 0.45rem;
  line-height: 1.25;
}

.hero-info-card p {
  margin: 0;
  color: #18222d;
  line-height: 1.75;
  font-size: 0.96rem;
}

.hero-info-label {
  display: inline-block;
  margin-bottom: 0.7rem;
  color: var(--accent-deep);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ---------- Strengths ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.feature-card {
  padding: 1.8rem;
}

.feature-card p {
  margin-bottom: 0;
  color: #18222d;
}

/* ---------- Levels ---------- */

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

.level-card {
  padding: 1.55rem;
}

.level-card h3 {
  margin-bottom: 0.7rem;
}

.level-card p {
  margin-bottom: 0;
  color: #18222d;
}

.level-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(110, 192, 232, 0.16);
  color: var(--accent-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Gallery section ---------- */

.atmosphere-panel,
.final-panel {
  border-radius: calc(var(--radius) + 4px);
}

.atmosphere-panel {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  overflow: hidden;
}

.atmosphere-copy {
  padding: 2.25rem;
}

.atmosphere-copy p:last-of-type {
  margin-bottom: 0;
}

.atmosphere-copy blockquote {
  margin: 2rem 0 0;
  color: var(--accent-deep);
  font-size: clamp(1.35rem, 2.15vw, 1.95rem);
  line-height: 1.2;
}

.gallery-points {
  padding: 1.2rem;
  display: grid;
  gap: 1rem;
  align-content: center;
  background:
    radial-gradient(circle at 30% 28%, rgba(110, 192, 232, 0.12), transparent 18%),
    linear-gradient(135deg, rgba(237, 246, 250, 0.98), rgba(216, 231, 241, 0.94));
}

.gallery-point-card {
  padding: 1.35rem;
  background: rgba(255, 255, 255, 0.85);
}

.gallery-point-card h3 {
  font-size: 1.12rem;
  margin-bottom: 0.55rem;
}

.gallery-point-card p {
  margin-bottom: 0;
  color: #18222d;
  font-size: 0.95rem;
}

/* ---------- Fit ---------- */

.fit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
}

.fit-card {
  padding: 1.55rem;
}

.fit-card p {
  margin-bottom: 0;
  color: #18222d;
}

/* ---------- Pricing ---------- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
  margin-top: 2rem;
}

.pricing-card {
  padding: 1.75rem;
}

.pricing-card-header {
  margin-bottom: 1.35rem;
}

.pricing-card-header h3 {
  margin-bottom: 0.7rem;
}

.pricing-card-header p:last-child {
  margin-bottom: 0;
  color: #18222d;
}

.pricing-kicker {
  margin: 0 0 0.8rem;
  color: var(--accent-deep);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.74rem;
  font-weight: 700;
}

.pricing-plan-list {
  display: grid;
  gap: 0.9rem;
}

.pricing-plan-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0 0.95rem;
  border-top: 1px solid rgba(47, 134, 176, 0.12);
}

.pricing-plan-item:first-child {
  border-top: 1px solid rgba(47, 134, 176, 0.12);
}

.pricing-plan-item strong {
  display: block;
  margin-bottom: 0.22rem;
  font-size: 1rem;
  line-height: 1.25;
}

.pricing-plan-item p {
  margin: 0;
  color: #27333e;
  font-size: 0.94rem;
}

.pricing-plan-item span {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent-deep);
  white-space: nowrap;
}

.pricing-note {
  margin: 1.15rem 0 0;
  font-size: 0.9rem;
  color: #32404d;
}

/* ---------- Comparison ---------- */

.comparison-layout {
  gap: 3rem;
}

.comparison-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

/* ---------- Final CTA ---------- */

.final-panel {
  padding: 2.35rem;
  text-align: center;
}

.final-panel p {
  max-width: 64ch;
  margin-left: auto;
  margin-right: auto;
  color: #16202a;
}

.final-panel .button {
  margin-top: 0.4rem;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 3rem 0 2.4rem;
  border-top: 1px solid var(--line);
  background: rgba(220, 238, 248, 0.9);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(260px, 1.05fr) minmax(0, 2fr);
  gap: 56px;
  align-items: start;
}

.footer-brand-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.footer-brand-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.footer-logo {
  width: 164px;
  height: auto;
  border-radius: 16px;
}

.footer-tagline {
  margin: 0;
  max-width: 34ch;
  line-height: 1.9;
}

.footer-tagline,
.footer-col a,
.footer-bottom-inner p {
  color: #2d373f;
}

.footer-nav-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  align-items: start;
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.footer-heading {
  position: relative;
  margin: 0 0 10px;
  padding-bottom: 12px;
  color: var(--accent-deep);
  font-size: 1.04rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.footer-heading::after {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  margin-top: 10px;
  background: currentColor;
  opacity: 0.42;
}

.footer-col a {
  line-height: 1.6;
  transition: color 180ms ease, transform 180ms ease;
}

.footer-col a:hover {
  color: var(--text);
  transform: translateX(2px);
}

.footer-bottom {
  margin-top: 42px;
  padding-top: 20px;
  border-top: 1px solid rgba(47, 134, 176, 0.1);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-bottom-inner p {
  margin: 0;
  font-size: 0.86rem;
  opacity: 0.9;
}

/* ---------- Reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

/* ---------- 1120px ---------- */

@media (max-width: 1120px) {
  .hero-content-split,
  .atmosphere-panel,
  .split-layout,
  .pricing-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

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

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

  .hero-main-copy {
    max-width: none;
  }

  .hero-info-panel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gallery-points {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ---------- 1100px ---------- */

@media (max-width: 1100px) {
  :root {
    --header-expanded: 148px;
    --header-collapsed: 148px;
  }

  .header-inner {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 0.95rem;
    padding: 0.5rem;
  }

  .site-nav {
    order: 2;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.9rem 1.1rem;
  }

  .trial-button {
    order: 3;
  }
}

/* ---------- 900px ---------- */

@media (max-width: 900px) {
  .hero-info-panel,
  .gallery-points {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .level-grid,
  .fit-grid,
  .pricing-grid,
  .footer-nav-grid {
    grid-template-columns: 1fr;
  }

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

  .comparison-actions .button {
    width: 100%;
  }
}

/* ---------- 760px ---------- */

@media (max-width: 760px) {
  :root {
    --header-expanded: 150px;
    --header-collapsed: 64px;
  }

  .container {
    width: min(calc(100% - 1.25rem), var(--container));
  }

  .header-inner {
    min-height: var(--header-expanded);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.9rem;
    padding: 1rem 0.75rem;
  }

  .brand {
    order: 1;
    justify-content: center;
    text-align: center;
  }

  .brand-text {
    font-size: 1.45rem;
    white-space: normal;
    text-align: center;
  }

  .trial-button {
    order: 2;
    width: min(280px, 100%);
    min-width: 0;
    padding: 0.9rem 1.25rem;
  }

  .trial-button span:first-child {
    font-size: 0.88rem;
  }

  .trial-button span:last-child {
    font-size: 0.72rem;
  }

  .site-nav {
    order: 3;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    row-gap: 0.7rem;
    column-gap: 0;
    justify-items: center;
    align-items: center;
    text-align: center;
    font-size: 0.9rem;
    padding: 0 0 0.15rem;
  }

  .site-nav a {
    width: 100%;
    text-align: center;
    white-space: nowrap;
  }

  .site-nav a:nth-child(1) { grid-column: 1 / span 2; }
  .site-nav a:nth-child(2) { grid-column: 3 / span 2; }
  .site-nav a:nth-child(3) { grid-column: 5 / span 2; }
  .site-nav a:nth-child(4) { grid-column: 2 / span 2; }
  .site-nav a:nth-child(5) { grid-column: 4 / span 2; }

  .site-header.is-collapsed .header-inner {
    min-height: var(--header-collapsed);
    height: var(--header-collapsed);
    padding: 0 0.75rem;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0;
  }

  .site-header.is-collapsed .site-nav,
  .site-header.is-collapsed .trial-button {
    display: none;
  }

  .site-header.is-collapsed .brand {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    order: initial;
    width: max-content;
    margin: 0;
  }

  .site-header.is-collapsed .brand-text {
    font-size: 1.08rem;
    white-space: nowrap;
    text-align: center;
  }

  .hero-content {
    padding: calc(var(--header-expanded) + 2rem) 0 4rem;
  }

  .hero-content-split {
    gap: 1.4rem;
  }

  .section {
    padding: 4.5rem 0;
  }

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

  .hero-actions .button,
  .final-panel .button {
    width: 100%;
  }

  .feature-card,
  .level-card,
  .gallery-point-card,
  .fit-card,
  .pricing-card {
    padding: 1.4rem;
  }

  .atmosphere-copy {
    padding: 1.6rem;
  }

  .gallery-points {
    padding: 1rem;
  }

  .pricing-plan-item {
    grid-template-columns: 1fr;
    gap: 0.45rem;
    align-items: start;
  }

  .footer-inner {
    text-align: center;
    gap: 36px;
  }

  .footer-brand-block {
    align-items: center;
    text-align: center;
  }

  .footer-nav-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .footer-col {
    align-items: center;
    text-align: center;
  }

  .footer-heading {
    text-align: center;
  }

  .footer-heading::after {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-tagline {
    text-align: center;
  }
}

/* ---------- 520px ---------- */

@media (max-width: 520px) {
  h1 {
    max-width: none;
    font-size: clamp(2.1rem, 11vw, 2.8rem);
  }

  h2 {
    font-size: clamp(1.65rem, 8vw, 2.2rem);
  }

  h3 {
    font-size: 1.26rem;
  }

  .site-nav {
    gap: 0.72rem;
  }

  .hero-copy,
  .section-intro,
  .feature-card p,
  .level-card p,
  .gallery-point-card p,
  .fit-card p,
  .pricing-card p,
  .final-panel p,
  .atmosphere-copy p {
    font-size: 0.96rem;
  }

  .footer-logo {
    width: 148px;
  }

  .final-panel {
    padding: 1.75rem 1.2rem;
  }
}