:root {
  --bg: #fff7eb;
  --text: #1f2a36;
  --subtext: #4d5b68;
  --accent: #d46319;
  --accent-strong: #bb3f0c;
  --card: rgba(255, 255, 255, 0.84);
  --line: rgba(31, 42, 54, 0.14);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: "M PLUS Rounded 1c", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 183, 77, 0.34), transparent 28%),
    radial-gradient(circle at 82% 70%, rgba(255, 140, 66, 0.25), transparent 35%),
    linear-gradient(150deg, var(--bg) 0%, #fff 45%, #fff1db 100%);
  overflow-x: hidden;
}

.bg-shape {
  position: fixed;
  z-index: -1;
  border-radius: 999px;
  filter: blur(2px);
}

.shape-a {
  width: 280px;
  height: 280px;
  left: -90px;
  top: 100px;
  background: linear-gradient(135deg, #ffd796 0%, rgba(255, 130, 68, 0.54) 100%);
  animation: drift-a 10s ease-in-out infinite alternate;
}

.shape-b {
  width: 360px;
  height: 360px;
  right: -110px;
  bottom: 20px;
  background: linear-gradient(140deg, rgba(90, 183, 169, 0.5) 0%, rgba(255, 224, 161, 0.56) 100%);
  animation: drift-b 11s ease-in-out infinite alternate;
}

main {
  width: min(1120px, calc(100% - 32px));
  margin: 34px auto 58px;
  display: grid;
  gap: 34px;
}

.hero,
.doc,
.trust,
.problem-solution,
.features,
.scope,
.operation,
.steps,
.faq,
.final-cta {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--card);
  backdrop-filter: blur(4px);
}

.hero {
  padding: 48px 40px 36px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-strong);
  font-weight: 800;
  letter-spacing: 0.11em;
}

.hero h1 {
  margin: 0;
  font-family: "Zen Old Mincho", "Yu Mincho", serif;
  font-size: clamp(1.85rem, 4vw, 3.2rem);
  line-height: 1.25;
}

.lead {
  margin: 18px 0 0;
  max-width: 660px;
  color: var(--subtext);
  font-size: clamp(1rem, 1.7vw, 1.15rem);
  line-height: 1.9;
}

.sublead {
  margin: 10px 0 0;
  max-width: 760px;
  color: var(--subtext);
  line-height: 1.9;
}

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

.hero-note {
  margin: 12px 0 0;
  color: var(--subtext);
  font-size: 0.95rem;
}

.hero-note a {
  color: var(--accent-strong);
  font-weight: 700;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 800;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(130deg, var(--accent) 0%, #ff7f3f 100%);
  box-shadow: 0 10px 22px rgba(212, 99, 25, 0.26);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 25px rgba(212, 99, 25, 0.32);
}

.cta-ghost {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: none;
}

.cta-ghost:hover {
  box-shadow: 0 10px 20px rgba(31, 42, 54, 0.12);
}

.cta-large {
  margin-top: 12px;
  padding: 13px 28px;
}

.kpis {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.kpis li {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  display: grid;
  gap: 4px;
}

.kpis strong {
  font-size: 1.1rem;
}

.kpis span {
  color: var(--subtext);
  font-size: 0.92rem;
}

.trust,
.doc,
.problem-solution,
.features,
.scope,
.operation,
.steps,
.faq {
  padding: 30px 24px;
}

.doc h2,
.trust h2,
.problem-solution h2,
.features h2,
.scope h2,
.operation h2,
.steps h2,
.faq h2 {
  margin: 0 0 16px;
  font-family: "Zen Old Mincho", "Yu Mincho", serif;
}

.features h2 {
  grid-column: 1 / -1;
}

.doc p {
  margin: 0;
  color: var(--subtext);
  line-height: 1.8;
}

.doc-actions {
  margin-top: 14px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.trust-grid,
.ps-grid,
.features,
.scope-grid {
  display: grid;
  gap: 14px;
}

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

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

.trust-card,
.ps-card,
.feature-card,
.scope-card,
.faq-item {
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
}

.trust-card,
.ps-card {
  padding: 16px 14px 14px;
}

.feature-card,
.scope-card {
  padding: 20px 18px 18px;
}

.faq-item {
  padding: 14px 14px 13px;
}

.trust-card h3,
.ps-card h3,
.faq-item h3 {
  margin: 0;
  font-size: 1.02rem;
}

.feature-card h3,
.scope-card h3 {
  margin: 0;
  font-family: "Zen Old Mincho", "Yu Mincho", serif;
  font-size: 1.1rem;
}

.feature-carousel {
  margin-top: 14px;
  padding: 11px;
  border-radius: 13px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 206, 140, 0.36), transparent 34%),
    linear-gradient(165deg, #fff 0%, #fff8ef 100%);
}

.feature-carousel-viewport {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(31, 42, 54, 0.14);
  background: #eef3f7;
}

.feature-carousel-track {
  display: flex;
  transform: translateX(0);
  transition: transform 0.28s ease;
  touch-action: pan-y;
}

.feature-carousel-slide {
  margin: 0;
  flex: 0 0 100%;
  width: 100%;
  aspect-ratio: 9 / 16;
  background: #f4f7fb;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 8px;
  padding: 8px;
}

.feature-carousel-media {
  min-height: 0;
  border-radius: 9px;
  background: #dce5ee;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-carousel-slide img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.feature-carousel-caption {
  margin: 0;
  min-height: 1.4em;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--subtext);
  text-align: left;
}

.feature-carousel-controls {
  margin-top: 9px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
}

.carousel-nav {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.carousel-nav:not(:disabled):hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(31, 42, 54, 0.12);
}

.carousel-nav:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
}

.carousel-dot {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 999px;
  background: rgba(31, 42, 54, 0.24);
  cursor: pointer;
  padding: 0;
}

.carousel-dot.is-active {
  background: var(--accent);
}

.feature-carousel-status {
  margin: 8px 0 0;
  color: var(--subtext);
  text-align: center;
  font-size: 0.9rem;
}

.feature-carousel.is-empty .feature-carousel-viewport {
  display: none;
}

.trust-card p,
.ps-card p,
.feature-card p,
.faq-item p {
  margin: 10px 0 0;
  color: var(--subtext);
  line-height: 1.8;
}

.ps-card .solve {
  margin-top: 9px;
  font-weight: 700;
  color: #264556;
}

.scope-card ul {
  margin: 12px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 9px;
  color: var(--subtext);
  line-height: 1.7;
}

.flow-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.flow-list li {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
}

.flow-list span {
  align-self: start;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(130deg, #ffc87b 0%, #ff9042 100%);
  color: #fff;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 6px 10px;
}

.flow-list strong {
  font-size: 1.02rem;
}

.flow-list p {
  margin: 8px 0 0;
  color: var(--subtext);
  line-height: 1.8;
}

.steps ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.steps li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
}

.steps li span {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #ffc06e 0%, #ff8b3d 100%);
  color: #fff;
  font-weight: 800;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.final-cta {
  padding: 36px 30px;
  text-align: center;
}

.final-cta h2 {
  margin: 0;
  font-family: "Zen Old Mincho", "Yu Mincho", serif;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
}

.final-cta p {
  margin: 10px 0 0;
  color: var(--subtext);
}

.final-actions {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: reveal-in 0.72s ease forwards;
}

.delay-1 {
  animation-delay: 0.14s;
}

.delay-2 {
  animation-delay: 0.24s;
}

.delay-3 {
  animation-delay: 0.34s;
}

.delay-4 {
  animation-delay: 0.44s;
}

.delay-5 {
  animation-delay: 0.54s;
}

.delay-6 {
  animation-delay: 0.64s;
}

.delay-7 {
  animation-delay: 0.74s;
}

.delay-8 {
  animation-delay: 0.84s;
}

.delay-9 {
  animation-delay: 0.94s;
}

@keyframes reveal-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift-a {
  from {
    transform: translate(0, 0);
  }
  to {
    transform: translate(28px, -20px);
  }
}

@keyframes drift-b {
  from {
    transform: translate(0, 0);
  }
  to {
    transform: translate(-20px, 14px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .feature-carousel-track,
  .carousel-nav {
    transition: none;
  }
}

@media (max-width: 940px) {
  .trust-grid,
  .ps-grid,
  .features,
  .scope-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .hero {
    padding: 34px 18px 28px;
  }

  .trust,
  .doc,
  .problem-solution,
  .features,
  .scope,
  .operation,
  .steps,
  .faq,
  .final-cta {
    padding-left: 16px;
    padding-right: 16px;
  }

  .kpis {
    grid-template-columns: 1fr;
  }

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

  .feature-carousel {
    padding: 9px;
  }

  .feature-carousel-slide {
    aspect-ratio: 10 / 16;
  }

  .cta {
    width: 100%;
  }
}
