:root {
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --paper: #f5f5f7;
}

* {
  box-sizing: border-box;
}

html {
  scroll-snap-type: y proximity;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.hero,
.chapter {
  position: relative;
  min-height: 100vh;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px 64px;
}

.social {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 40;
  display: block;
  width: 70px;
  text-decoration: none;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.14));
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.social:hover,
.social:focus-visible {
  transform: scale(1.04);
  opacity: 0.92;
}

.social-qr {
  display: block;
  width: 70px;
  height: auto;
  border-radius: 10px;
}

@media (max-width: 720px) {
  .social {
    top: 10px;
    right: 10px;
    width: 57px;
  }

  .social-qr {
    width: 57px;
  }
}

.stage {
  position: relative;
  width: min(1080px, 94vw);
  aspect-ratio: 1024 / 576;
  container-type: inline-size;
}

.stage img {
  display: block;
  width: 100%;
  height: 100%;
  user-select: none;
  -webkit-user-drag: none;
}

h1 {
  position: absolute;
  z-index: 2;
  left: 14.6%;
  top: 12.4%;
  width: 70.9%;
  height: 17.53%;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-family: "Arial Black", "Helvetica Neue", sans-serif;
  font-weight: 900;
  font-size: 13.5cqw;
  letter-spacing: -0.035em;
  line-height: 0.75;
  transform: scaleX(0.93);
  transform-origin: center center;
  pointer-events: none;
  user-select: none;
}

.daruma {
  position: absolute;
  z-index: 3;
  left: 3.4%;
  bottom: 4%;
  width: 27%;
  color: #1d1d1f;
  text-align: left;
  pointer-events: none;
  user-select: none;
}

.daruma h2 {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.7cqw;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.daruma p {
  margin: 0.5em 0 0;
  font-size: 1.12cqw;
  font-weight: 450;
  line-height: 1.35;
}

.scrub {
  height: 500vh;
  scroll-snap-align: none;
}

.scrub-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.size-scene {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.size-title {
  position: absolute;
  top: 36px;
  left: 24px;
  right: 24px;
  margin: 0;
  text-align: center;
  font-family: "Arial Black", "Helvetica Neue", sans-serif;
  font-size: clamp(52.8px, 8.4vw, 105.6px);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.9;
}

.size-stage {
  position: relative;
  width: min(1080px, 94vw);
  aspect-ratio: 16 / 9;
  container-type: inline-size;
}

.size-stage img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}

.size-copy {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 8cqw;
  margin-top: 1.2%;
  opacity: 0;
  color: #3a3a3c;
  pointer-events: none;
}

.size-copy.show {
  opacity: 1;
}

.size-copy p {
  position: absolute;
  margin: 0;
  text-align: center;
}

.size-copy .measure,
.size-copy .name {
  line-height: 1;
}

.size-copy .measure {
  top: 0;
  color: #1d1d1f;
  font-size: 4.6cqw;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.size-copy .name {
  top: 5.3cqw;
  color: #6e6e73;
  font-size: 1.55cqw;
  font-weight: 450;
}

.size-copy .measure.mini,
.size-copy .name.mini {
  left: 30%;
  width: 38%;
  transform: translateX(-50%);
}

.size-copy .measure.standard,
.size-copy .name.standard {
  left: 46%;
  width: 38%;
}

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

.cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cue-down {
  position: relative;
  width: 12px;
  height: 16px;
  animation: cue-bob 1.6s ease-in-out infinite;
}

.cue-down::before,
.cue-down::after {
  content: "";
  position: absolute;
  left: 1px;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.cue-down::before {
  top: 0;
}

.cue-down::after {
  top: 6px;
}

@keyframes cue-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(5px);
  }
}

.copy {
  text-align: center;
  max-width: 640px;
}

.copy h2 {
  margin: 0;
  font-family: "Arial Black", "Helvetica Neue", sans-serif;
  font-size: clamp(52.8px, 8.4vw, 105.6px);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.9;
}

.copy p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.4;
}

.compare {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 48px;
  margin-top: 48px;
}

.compare figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.compare img {
  height: 240px;
  width: auto;
  display: block;
}

.compare figcaption {
  color: var(--muted);
  font-size: 14px;
}

.phone {
  width: 128px;
  height: 279px;
  border: 3px solid var(--ink);
  border-radius: 28px;
  background: #fff;
  position: relative;
}

.phone::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  width: 52px;
  height: 12px;
  transform: translateX(-50%);
  background: var(--ink);
  border-radius: 8px;
}

.sheet {
  width: min(980px, 100%);
  margin: 36px 0 0;
  background: var(--paper);
}

.sides-chapter,
.color-chapter {
  display: block;
  height: 170vh;
  min-height: 170vh;
  padding: 0;
  scroll-snap-align: none;
}

.pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
}

.sides-chapter .pin {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px 64px;
  box-sizing: border-box;
}

.sheet-art {
  position: relative;
  flex: 1;
  min-width: 0;
  container-type: inline-size;
}

.sheet img {
  width: 100%;
  height: auto;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

.sheet p {
  position: absolute;
  margin: 0;
}

.sheet-title {
  top: 4.2%;
  left: 0;
  right: 0;
  text-align: center;
  font-family: "Arial Black", "Helvetica Neue", sans-serif;
  font-weight: 900;
  font-size: 4.4cqw;
  letter-spacing: -0.03em;
  line-height: 1;
}

.sheet-view {
  top: 86%;
  font-weight: 800;
  font-size: 2cqw;
  letter-spacing: 0.06em;
  text-align: center;
  line-height: 1;
}

.sheet-view.front {
  left: 16.5%;
  width: 12%;
}

.sheet-view.side {
  left: 45.1%;
  width: 14%;
}

.sheet-view.rear {
  left: 75.2%;
  width: 12%;
}

.color-chapter {
  position: relative;
  overflow: visible;
}

.color-chapter .pin {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-sizing: border-box;
  padding: 28px 24px 32px;
  overflow: hidden;
}

.color-chapter .copy {
  position: static;
  z-index: 2;
  flex: none;
  width: min(640px, calc(100% - 48px));
  max-width: none;
  transform: none;
  text-align: center;
}

.colors {
  position: relative;
  z-index: 1;
  flex: 0 1 auto;
  width: min(760px, 92vw, calc((100vh - 320px) * 1024 / 738));
  width: min(760px, 92vw, calc((100dvh - 320px) * 1024 / 738));
  height: auto;
  aspect-ratio: 1024 / 738;
  margin: 0;
  background: var(--paper);
  transform: translateX(-11%);
}

.colors img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  user-select: none;
  -webkit-user-drag: none;
  transition: opacity 0.28s ease;
}

.colors img.is-on {
  opacity: 1;
}

.stories {
  width: min(760px, calc(100% - 48px));
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 8px 0 0;
  padding: 0;
}

.color-chapter .stories {
  position: static;
  z-index: 2;
  flex: none;
  margin: 4px 0 0;
  transform: none;
}

.stories-note {
  grid-column: 1 / -1;
  margin: 0 0 10px;
  text-align: center;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.3;
}

.stories button {
  background: #fff;
  border: 2px solid transparent;
  border-radius: 20px;
  padding: 18px 8px 14px;
  text-align: center;
  font: inherit;
  font-size: 15px;
  color: inherit;
  cursor: pointer;
}

.stories button.is-on {
  border-color: var(--ink);
}

.stories button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
}

.dots i {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: block;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

@media (max-width: 720px) {
  .compare {
    gap: 24px;
  }

  .compare img {
    height: 180px;
  }

  .phone {
    width: 96px;
    height: 209px;
    border-radius: 22px;
  }

  .copy p {
    font-size: 18px;
  }

  .stories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .color-chapter {
    height: auto;
    min-height: 0;
  }

  .color-chapter .pin {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: auto;
    min-height: 0;
    overflow: visible;
    gap: 16px;
    padding: 48px 16px 56px;
    box-sizing: border-box;
  }

  .color-chapter .copy {
    position: static;
    transform: none;
    width: 100%;
    margin: 0 0 8px;
  }

  .colors {
    position: relative;
    left: auto;
    top: auto;
    width: min(100%, 92vw);
    max-height: none;
    margin: 0;
    transform: translateX(-11%);
  }

  .color-chapter .stories {
    position: static;
    left: auto;
    bottom: auto;
    transform: none;
    width: 100%;
    margin-top: 8px;
  }

  .size-stage {
    aspect-ratio: auto;
    display: flex;
    flex-direction: column;
  }

  .size-stage img {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .size-copy {
    position: static;
    height: auto;
    margin-top: 0;
    opacity: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 18px 16px 0;
  }

  .size-copy p,
  .size-copy .measure.mini,
  .size-copy .measure.standard,
  .size-copy .name.mini,
  .size-copy .name.standard {
    position: static;
    left: auto;
    top: auto;
    width: auto;
    transform: none;
    text-align: center;
  }

  .size-copy .measure {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.04em;
  }

  .size-copy .name {
    font-size: 14px;
  }

  .size-copy .name {
    margin-bottom: 8px;
  }
}

.manga-chapter {
  position: relative;
  height: 220vh;
  scroll-snap-align: none;
  background:
    radial-gradient(circle at 78% 22%, rgba(238, 90, 168, 0.08), transparent 24%),
    linear-gradient(180deg, #fff 0%, #f7f7f8 100%);
}

.manga-sticky {
  position: sticky;
  top: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 96px 24px 104px;
}

.manga-shell {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.manga-kicker {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-align: center;
}

.manga-chapter h2 {
  margin: 0 0 42px;
  color: #080808;
  font-family: "Arial Black", "Helvetica Neue", sans-serif;
  font-size: clamp(52.8px, 8.4vw, 105.6px);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.9;
  text-align: center;
}

.manga-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.45fr);
  align-items: center;
  gap: clamp(44px, 7vw, 92px);
}

.manga-feature,
.manga-card {
  margin: 0;
}

.manga-feature {
  min-width: 0;
}

.manga-feature-art {
  position: relative;
  overflow: hidden;
  border: 8px solid #fff;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.14);
}

.manga-feature img {
  display: block;
  width: 100%;
  height: min(64vh, 710px);
  object-fit: cover;
  object-position: top center;
}

.manga-feature-tag {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 9px 12px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #111;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.manga-feature figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 4px 0;
}

.manga-feature figcaption span,
.manga-card figcaption span {
  color: #111;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.manga-feature figcaption strong {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.12em;
}

.manga-copy h3 {
  margin: 0;
  color: #080808;
  font-size: clamp(44px, 5.2vw, 70px);
  font-weight: 760;
  letter-spacing: -0.06em;
  line-height: 0.96;
}

.manga-copy > p {
  max-width: 620px;
  margin: 24px 0 0;
  color: #3d3d42;
  font-size: clamp(17px, 2vw, 23px);
  line-height: 1.42;
}

.manga-cta {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  margin-top: 30px;
  padding: 16px 28px;
  border: 2px solid #111;
  border-radius: 999px;
  color: #111;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.manga-cta b {
  font-size: 20px;
  line-height: 0;
}

.manga-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 38px;
}

.manga-card {
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.manga-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
}

.manga-card figcaption {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 14px 16px;
}

.manga-card figcaption small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

@media (max-width: 820px) {
  .manga-chapter {
    height: auto;
  }

  .manga-sticky {
    position: relative;
    top: auto;
    height: auto;
    min-height: 0;
    align-items: stretch;
    padding: 76px 18px 82px;
  }

  .manga-chapter h2 {
    margin-bottom: 34px;
  }

  .manga-layout {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .manga-feature {
    width: min(440px, 100%);
    margin: 0 auto;
  }

  .manga-feature img {
    height: auto;
    aspect-ratio: 9 / 14;
  }

  .manga-copy {
    text-align: center;
  }

  .manga-copy > p {
    margin-right: auto;
    margin-left: auto;
  }

  .manga-grid {
    text-align: left;
  }
}

@media (max-width: 560px) {
  .manga-copy h3 {
    font-size: clamp(40px, 13vw, 58px);
  }

  .manga-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .manga-card {
    display: grid;
    grid-template-columns: 44% 1fr;
    align-items: center;
  }

  .manga-card img {
    aspect-ratio: 1 / 1;
  }

  .manga-card figcaption {
    padding: 18px;
  }
}

.finale {
  position: relative;
  height: 170vh;
  scroll-snap-align: none;
  background: var(--paper);
}

.finale-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  overflow: hidden;
}

.finale h2 {
  position: absolute;
  top: 28px;
  left: 24px;
  right: 24px;
  z-index: 2;
  margin: 0;
  text-align: center;
  font-family: "Arial Black", "Helvetica Neue", sans-serif;
  font-size: clamp(52.8px, 8.4vw, 105.6px);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.9;
  opacity: 0;
}

.finale-slide {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 132px;
  background: var(--paper);
  overflow: hidden;
}

.finale-frame {
  position: relative;
  width: min(100%, calc((100vh - 156px) * 1024 / 682));
  width: min(100%, calc((100dvh - 156px) * 1024 / 682));
  aspect-ratio: 1024 / 682;
  max-height: calc(100dvh - 156px);
  transform-origin: center 62%;
  transform: scale(2) rotate(-2deg);
}

.finale-frame img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  background: transparent;
  opacity: 0;
  user-select: none;
  -webkit-user-drag: none;
}

.finale-frame img:first-child {
  opacity: 1;
}

.ask {
  position: relative;
  height: 290vh;
  scroll-snap-align: none;
  background: var(--paper);
}

.ask-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  overflow: hidden;
}

.ask h2 {
  position: absolute;
  top: 36px;
  left: 24px;
  right: 24px;
  z-index: 2;
  margin: 0;
  text-align: center;
  color: var(--ink);
  font-family: "Arial Black", "Helvetica Neue", sans-serif;
  font-size: clamp(52.8px, 8.4vw, 105.6px);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.9;
  opacity: 1;
}

.ask-slide {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  overflow: hidden;
}

.ask-frame {
  position: relative;
  display: block;
  width: min(100%, calc(100vh * 1024 / 576));
  width: min(100%, calc(100dvh * 1024 / 576));
  aspect-ratio: 1024 / 576;
  max-height: 100%;
  line-height: 0;
}

.ask-frame img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  background: transparent;
  opacity: 0;
  will-change: opacity, transform;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.ask-frame img[data-layer="2"].is-settled,
.ask-frame img[data-layer="4"].is-settled {
  animation: ask-settle-left 0.85s cubic-bezier(0.22, 0.82, 0.28, 1) both;
  transform-origin: center center;
}

.ask-frame img[data-layer="3"].is-settled {
  animation: ask-settle-right 0.85s cubic-bezier(0.22, 0.82, 0.28, 1) both;
  transform-origin: center center;
}

.ask-frame img[data-layer="6"].is-tapping {
  animation: ask-tap 1.15s ease-in-out infinite;
  transform-origin: 43% 57%;
}

@keyframes ask-settle-left {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  45% {
    transform: translate3d(22px, 0, 0) scale(1.012);
  }
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes ask-settle-right {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  45% {
    transform: translate3d(-22px, 0, 0) scale(1.012);
  }
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes ask-tap {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  35% {
    transform: translate3d(-10px, -16px, 0) scale(0.96);
  }
  48% {
    transform: translate3d(-6px, -10px, 0) scale(1);
  }
  62% {
    transform: translate3d(-10px, -16px, 0) scale(0.97);
  }
}

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

  .cue-down {
    animation: none;
  }

  .scrub {
    height: auto;
  }

  .scrub-sticky {
    position: relative;
    height: auto;
    min-height: 100vh;
  }

  .size-copy {
    opacity: 1;
    transition: none;
  }

  .colors img {
    transition: none;
  }

  .finale {
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
  }

  .finale-sticky {
    position: relative;
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
  }

  .finale h2,
  .finale-frame {
    transform: none;
    opacity: 1;
  }

  .finale-frame img {
    opacity: 0;
  }

  .finale-frame img:last-child {
    opacity: 1;
  }

  .manga-chapter {
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
  }

  .manga-sticky {
    position: relative;
    min-height: 0;
  }

  .ask {
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
  }

  .ask-sticky {
    position: relative;
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
  }

  .ask h2 {
    opacity: 1;
  }

  .ask-frame img {
    opacity: 1;
  }

  .ask-frame img[data-layer="2"].is-settled,
  .ask-frame img[data-layer="3"].is-settled,
  .ask-frame img[data-layer="4"].is-settled,
  .ask-frame img[data-layer="6"].is-tapping {
    animation: none;
  }

  .sides-chapter,
  .color-chapter {
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
  }

  .pin {
    position: relative;
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
  }
}
