:root {
  color-scheme: light;
  --ink: #4b405b;
  --heading: #3f3654;
  --muted: #6b6076;
  --blue: #dfeefb;
  --peach: #ffe7bd;
  --pink: #ffe0ea;
  --mint: #d9f5ef;
  --violet: #747bbb;
  --orange: #ff8b24;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Zen Maru Gothic", "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Yu Gothic Rounded", "Hiragino Sans", "Yu Gothic", Meiryo, system-ui, sans-serif;
  background:
    radial-gradient(circle at 18px 18px, rgba(255, 255, 255, 0.95) 0 9px, transparent 10px),
    radial-gradient(circle at 78px 62px, rgba(255, 255, 255, 0.62) 0 6px, transparent 7px),
    linear-gradient(180deg, #e9f9ff 0%, #dff5ff 48%, #eefcff 100%);
  background-size: 96px 96px, 96px 96px, auto;
}

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

.scene {
  position: relative;
  min-height: 100vh;
  padding: 34px 18px 70px;
  overflow: hidden;
}

.scene::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image: url("data:image/svg+xml,%3Csvg width='260' height='150' viewBox='0 0 260 150' xmlns='http://www.w3.org/2000/svg'%3E%3Cg transform='rotate(-18 130 75)'%3E%3Ctext x='6' y='48' fill='%235b95b1' fill-opacity='0.15' font-family='Comic Sans MS, Arial Rounded MT Bold, sans-serif' font-size='22' font-weight='700'%3ENankairu Studio%3C/text%3E%3Ctext x='68' y='118' fill='%235b95b1' fill-opacity='0.12' font-family='Comic Sans MS, Arial Rounded MT Bold, sans-serif' font-size='20' font-weight='700'%3ENankairu Studio%3C/text%3E%3C/g%3E%3C/svg%3E");
  background-size: 260px 150px;
  background-repeat: repeat;
  pointer-events: none;
}

.scene::before {
  content: "";
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -3;
  height: 31vh;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(207, 239, 250, 0.52));
  box-shadow: none;
}

.monitor {
  display: none;
}

.monitor__frame {
  height: 478px;
  border: 22px solid #050506;
  border-bottom-width: 72px;
  border-radius: 24px;
  background: #eefcfc;
  box-shadow: 0 34px 60px rgba(30, 45, 53, 0.18);
}

.monitor__frame::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #32323a;
  transform: translateX(-50%);
}

.monitor__screen {
  height: 100%;
  background:
    linear-gradient(90deg, rgba(190, 229, 216, 0.45), transparent 16%, transparent 84%, rgba(190, 229, 216, 0.45)),
    #f8ffff;
}

.monitor__stand {
  width: 118px;
  height: 66px;
  margin: 0 auto;
  background: linear-gradient(90deg, #c6d0d3, #f4f6f6 45%, #b7c2c6);
}

.monitor__base {
  width: 250px;
  height: 18px;
  margin: 0 auto;
  border-radius: 50% 50% 8px 8px;
  background: linear-gradient(90deg, #d9e0e2, #fff, #ccd5d9);
  box-shadow: 0 10px 20px rgba(41, 54, 58, 0.12);
}

.poster {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100vw - 36px));
  margin: 0 auto;
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 26px 58px rgba(60, 132, 162, 0.18);
  text-align: center;
}

.hero {
  position: relative;
  min-height: 0;
  padding: 0;
  overflow: hidden;
}

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

.hero h1,
.band h2,
.usage h2,
.purchase h2,
.check-button,
.store-button {
  font-feature-settings: "palt";
}

.hero--image img {
  width: 100%;
  height: auto;
}

.hero-banner-button {
  position: absolute;
  left: 50%;
  bottom: 7.2%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48%;
  min-height: clamp(42px, 7vw, 70px);
  border-radius: 999px;
  background: linear-gradient(180deg, #878ec9, #7078ba);
  color: #fff;
  font-family: "Zen Maru Gothic", "M PLUS Rounded 1c", sans-serif;
  font-size: clamp(1.1rem, 3.2vw, 2rem);
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  text-shadow: 0 2px 0 rgba(84, 88, 145, 0.32);
  box-shadow: 0 5px 0 rgba(87, 91, 148, 0.18);
  transform: translateX(-50%);
}

.hero-banner-button:hover {
  filter: brightness(1.04);
}

.hero-banner-button:focus-visible {
  outline: 4px solid rgba(120, 128, 200, 0.7);
  outline-offset: 4px;
}

.hero-hotspot {
  position: absolute;
  left: 26%;
  top: 82%;
  width: 48%;
  height: 14%;
  border-radius: 999px;
}

.hero-hotspot:focus-visible {
  outline: 4px solid rgba(120, 128, 200, 0.7);
  outline-offset: 4px;
}

.sr-copy {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.band {
  padding: 34px 70px 40px;
}

.band h2,
.usage h2,
.purchase h2 {
  margin-bottom: 4px;
  font-size: 2.18rem;
  color: var(--heading);
  font-family: "Zen Maru Gothic", "M PLUS Rounded 1c", sans-serif;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.72);
}

.band p {
  margin-bottom: 15px;
  font-size: 1.06rem;
  color: var(--muted);
  font-family: "M PLUS Rounded 1c", "Zen Maru Gothic", sans-serif;
  font-weight: 800;
  line-height: 1.3;
}

.band--blue {
  background: linear-gradient(180deg, var(--blue), #e8f4fb);
}

.band--peach {
  background: linear-gradient(180deg, var(--peach), #ffe8c8);
}

.band--pink {
  background: linear-gradient(180deg, var(--pink), #ffe4ef);
}

.stamp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.stamp-card {
  min-height: 154px;
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 5px;
  padding: 12px 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.96);
}

.stamp-card--image-only {
  align-content: center;
}

.stamp-card--full {
  align-content: center;
  padding: 6px;
}

.stamp-card--full h3 {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.stamp-card h3 {
  min-height: 38px;
  margin-bottom: 0;
  font-size: 0.82rem;
  color: #50445f;
  font-family: "Zen Maru Gothic", "M PLUS Rounded 1c", sans-serif;
  font-weight: 900;
  line-height: 1.18;
}

.stamp-card img {
  width: auto;
  max-width: 98px;
  max-height: 92px;
  object-fit: contain;
}

.stamp-card--full img {
  width: 100%;
  max-width: 132px;
  max-height: 132px;
}

.usage {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: 28px;
  align-items: center;
  min-height: 268px;
  padding: 0 78px;
  overflow: hidden;
  background: linear-gradient(90deg, #d9f2ed, var(--mint));
}

.phone-demo {
  align-self: end;
  width: min(252px, 100%);
  height: auto;
  margin: 0 auto;
  border-radius: 28px 28px 0 0;
}

.usage__copy {
  text-align: left;
}

.usage p {
  margin: 0;
  font-size: 1.55rem;
  color: var(--heading);
  font-family: "Zen Maru Gothic", "M PLUS Rounded 1c", sans-serif;
  font-weight: 900;
  line-height: 1.2;
}

.purchase {
  display: grid;
  grid-template-columns: 1fr 1.35fr 1fr;
  gap: 10px;
  align-items: center;
  min-height: 256px;
  padding: 26px 36px 30px;
  background: #fff;
}

.purchase__icons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
  justify-items: center;
  align-items: center;
}

.purchase__icons img {
  max-width: 84px;
  max-height: 84px;
  object-fit: contain;
}

.purchase__icons--single {
  display: flex;
  justify-content: center;
}

.purchase__icons--single img {
  width: min(150px, 100%);
  max-width: 150px;
  max-height: none;
  border-radius: 8px;
}

.purchase h2 {
  margin-bottom: 10px;
}

.store-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 330px;
  min-height: 72px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffa247, #ff8422);
  color: #fff;
  font-family: "Zen Maru Gothic", "M PLUS Rounded 1c", sans-serif;
  font-size: 1.68rem;
  font-weight: 900;
  text-decoration: none;
}

.purchase p {
  margin: 8px 0 0;
  font-size: 1.62rem;
  color: var(--heading);
  font-family: "M PLUS Rounded 1c", "Zen Maru Gothic", sans-serif;
  font-weight: 900;
  line-height: 1;
}

.purchase p span {
  color: #18bd22;
}

.purchase small {
  display: block;
  margin-top: 4px;
  font-size: 0.72rem;
  color: var(--muted);
  font-family: "Zen Maru Gothic", "M PLUS Rounded 1c", sans-serif;
  font-weight: 850;
}

.copyright {
  padding: 12px 16px 14px;
  background: #fff;
  color: #8b8197;
  text-align: center;
}

.copyright small {
  font-family: "M PLUS Rounded 1c", "Zen Maru Gothic", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
}

@media (max-width: 640px) {
  .scene {
    padding: 20px 0 0;
  }

  .monitor {
    display: none;
  }

  .poster {
    width: min(760px, calc(100vw - 24px));
  }

  .hero {
    min-height: 0;
    padding: 0;
  }

  .band {
    padding: 26px 22px 30px;
  }

  .band h2,
  .usage h2,
  .purchase h2 {
    font-size: 1.48rem;
  }

  .band p {
    font-size: 0.86rem;
  }

  .stamp-card {
    min-height: 124px;
  }

  .stamp-card h3 {
    font-size: 0.64rem;
  }

  .stamp-card img {
    max-width: 72px;
    max-height: 68px;
  }

  .stamp-card--full img {
    max-width: 96px;
    max-height: 96px;
  }

  .usage {
    min-height: 210px;
    padding: 0 28px;
  }

  .phone-demo {
    width: 190px;
  }

  .purchase {
    min-height: 196px;
  }

  .store-button {
    min-width: min(300px, 72vw);
    min-height: 58px;
    font-size: 1.24rem;
  }
}

@media (max-width: 460px) {
  .hero {
    min-height: 0;
    padding: 0;
  }

  .band {
    padding: 22px 16px 26px;
  }

  .band h2,
  .usage h2,
  .purchase h2 {
    font-size: 1.34rem;
  }

  .stamp-grid {
    gap: 8px;
  }

  .stamp-card h3 {
    font-size: 0.66rem;
  }

  .usage {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 22px 20px 0;
  }

  .usage__copy {
    order: -1;
    text-align: center;
  }

  .phone-demo {
    margin: 0 auto;
  }

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

  .purchase__icons {
    grid-template-columns: repeat(4, 1fr);
  }
}
