@font-face {
  font-family: "KCC ChaSaem";
  src: url("assets/fonts/KCCChassam.otf") format("opentype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

:root {
  color-scheme: light;
  --paper: #f7f3e8;
  --paper-deep: #eee7d8;
  --paper-light: #fffdf6;
  --ink: #282821;
  --muted: #6c6961;
  --blue: #2f668b;
  --blue-dark: #214b66;
  --blue-light: #a9c8d8;
  --coral: #c96f4f;
  --line: rgb(40 40 33 / 16%);
  --line-light: rgb(247 243 232 / 22%);
  --shadow: 0 2rem 5rem rgb(40 40 33 / 18%);
  --shell: min(76rem, calc(100% - 3rem));
  --display-font: "KCC ChaSaem", "Apple SD Gothic Neo", sans-serif;
  --body-font: "KCC ChaSaem", "Apple SD Gothic Neo", sans-serif;
}

html[lang="en"] body { word-break: normal; overflow-wrap: anywhere; }
html[lang="ja"] {
  --display-font: "Hiragino Maru Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
  --body-font: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
}
html[lang="ja"] body {
  word-break: normal;
  overflow-wrap: anywhere;
  line-break: strict;
  font-synthesis: none;
}
html[lang="ja"] h1,
html[lang="ja"] h2,
html[lang="ja"] h3 {
  overflow-wrap: anywhere;
  line-break: strict;
  letter-spacing: -0.035em;
}

* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; }

body {
  min-width: 20rem;
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body-font);
  font-size: 1rem;
  line-height: 1.6;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -2;
  inset: 0;
  background:
    radial-gradient(circle at 16% 2%, rgb(255 255 255 / 62%), transparent 24rem),
    repeating-linear-gradient(to bottom, transparent 0, transparent 2.9rem, rgb(40 40 33 / 6%) 2.95rem, transparent 3rem),
    var(--paper);
  content: "";
}

body::after {
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: 0.16;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E");
  content: "";
}

a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; font: inherit; }
img { display: block; max-width: 100%; }
figure, blockquote { margin: 0; }
h1, h2, h3, p { margin-top: 0; }

h1, h2, h3 {
  font-family: var(--display-font);
  font-weight: 400;
  letter-spacing: -0.045em;
}

::selection { color: var(--paper-light); background: var(--blue); }
:focus-visible { outline: 0.18rem solid var(--coral); outline-offset: 0.3rem; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 1rem;
  left: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  color: var(--paper-light);
  background: var(--ink);
  transform: translateY(-180%);
  transition: transform 180ms ease;
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 50%;
  display: flex;
  width: var(--shell);
  min-height: 5.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-bottom: 1px solid var(--line);
  transform: translateX(-50%);
}

.brand, .footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.2rem;
  text-decoration: none;
}

.brand img, .footer-brand img { border-radius: 27%; }
.header-tools { display: flex; align-items: center; gap: clamp(0.7rem, 1.8vw, 1.4rem); }
.primary-nav, .site-footer nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2rem); }
.primary-nav a, .site-footer nav a { position: relative; text-decoration: none; }

.language-switcher {
  display: flex;
  padding: 0.18rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgb(255 253 246 / 72%);
  box-shadow: 0 0.35rem 1rem rgb(40 40 33 / 6%);
}

.language-switcher button {
  min-width: 2.25rem;
  min-height: 2rem;
  padding: 0.26rem 0.52rem 0.2rem;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.language-switcher button:hover { color: var(--ink); }
.language-switcher button[aria-pressed="true"] {
  color: var(--paper-light);
  background: var(--ink);
  transform: rotate(-1.5deg);
}

.primary-nav > a:not(.nav-cta)::after, .site-footer nav a::after {
  position: absolute;
  right: 0;
  bottom: -0.2rem;
  left: 0;
  height: 0.12rem;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.primary-nav > a:hover::after, .primary-nav > a:focus-visible::after,
.site-footer nav a:hover::after, .site-footer nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  padding: 0.55rem 1rem 0.48rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.nav-cta:hover { color: var(--paper-light); background: var(--ink); transform: translateY(-0.1rem); }

.hero {
  position: relative;
  display: grid;
  width: var(--shell);
  min-height: min(58rem, 100svh);
  margin: 0 auto;
  padding: clamp(8.5rem, 15vw, 11rem) 0 clamp(5rem, 8vw, 8rem);
  grid-template-columns: minmax(0, 0.92fr) minmax(26rem, 1.08fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  overflow: clip;
}

.hero-copy { position: relative; z-index: 2; max-width: 37rem; }
.eyebrow, .section-index, .card-index { color: var(--blue); font-size: 0.89rem; letter-spacing: 0.08em; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.35rem;
}

.eyebrow span {
  width: 1.4rem;
  height: 1.4rem;
  border: 0.14rem solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  transform: rotate(-20deg);
}

.hero h1 {
  max-width: 10ch;
  margin-bottom: 1.7rem;
  font-size: clamp(3.8rem, 7.1vw, 7.4rem);
  line-height: 0.96;
}

.hero h1 em {
  position: relative;
  display: block;
  width: max-content;
  max-width: 100%;
  color: var(--blue);
  font-style: normal;
}

.hero h1 em::after {
  position: absolute;
  right: 0;
  bottom: -0.06em;
  left: 3%;
  height: 0.12em;
  border-top: 0.055em solid currentColor;
  border-radius: 50%;
  content: "";
  transform: rotate(-0.8deg);
}

html[lang="en"] .hero h1 { max-width: 11ch; font-size: clamp(3.5rem, 6.4vw, 6.8rem); }
html[lang="en"] .hero h1 em { width: auto; }
html[lang="ja"] .hero h1 {
  max-width: 100%;
  font-size: clamp(2.8rem, 5.8vw, 6.3rem);
  line-height: 1.05;
  letter-spacing: -0.055em;
}
html[lang="ja"] .hero h1 em { width: auto; }

.hero-lead {
  max-width: 31rem;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: clamp(1.13rem, 1.7vw, 1.42rem);
  line-height: 1.7;
}

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.15rem 1.6rem; }

.button {
  display: inline-flex;
  min-height: 3.6rem;
  align-items: center;
  justify-content: space-between;
  gap: 2.2rem;
  padding: 0.85rem 1.25rem 0.75rem;
  border: 1px solid transparent;
  border-radius: 0.8rem 1.05rem 0.82rem 0.95rem;
  font-size: 1.05rem;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.button:hover { transform: translateY(-0.18rem) rotate(-0.35deg); }
.button-primary { color: var(--paper-light); background: var(--blue); box-shadow: 0 0.65rem 0 var(--blue-dark); }
.button-primary:hover { box-shadow: 0 0.85rem 0 var(--blue-dark); }
.button-secondary { border-color: var(--ink); background: var(--paper-light); box-shadow: 0 0.52rem 0 var(--ink); }
.button-secondary:hover { box-shadow: 0 0.72rem 0 var(--ink); }
.text-link { color: var(--blue); text-decoration-thickness: 0.1rem; text-underline-offset: 0.26rem; }

.privacy-line {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 2.1rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.privacy-mark { position: relative; width: 1.05rem; height: 1.05rem; border: 1px solid var(--muted); border-radius: 50%; }
.privacy-mark::after { position: absolute; top: 50%; left: 50%; width: 0.25rem; height: 0.25rem; border-radius: 50%; background: var(--coral); content: ""; transform: translate(-50%, -50%); }

.hero-stage { position: relative; min-height: clamp(35rem, 55vw, 45rem); isolation: isolate; }
.hero-stage::before { position: absolute; z-index: -2; top: 9%; right: -18%; width: 36rem; max-width: 80vw; aspect-ratio: 1; border-radius: 50%; background: rgb(47 102 139 / 10%); content: ""; }

.hero-orbit {
  position: absolute;
  z-index: -1;
  top: 8%;
  right: -3%;
  width: min(34rem, 72vw);
  aspect-ratio: 1;
  border: 1px solid rgb(47 102 139 / 34%);
  border-radius: 50%;
  transform: rotate(-12deg) skewX(10deg);
}

.hero-orbit::before, .hero-orbit::after { position: absolute; border-radius: 50%; background: var(--coral); content: ""; }
.hero-orbit::before { top: 7%; left: 19%; width: 0.7rem; height: 0.7rem; }
.hero-orbit::after { right: 6%; bottom: 24%; width: 0.38rem; height: 0.38rem; }

.phone {
  overflow: hidden;
  border: 0.42rem solid var(--ink);
  border-radius: clamp(1.7rem, 4vw, 3rem);
  background: var(--ink);
  box-shadow: var(--shadow);
}

.phone > img, .phone > figure > img { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }

.hero-phone { position: absolute; top: 50%; left: 50%; width: clamp(12rem, 19vw, 16.6rem); aspect-ratio: 1320 / 2868; transform-origin: 50% 85%; }
.hero-phone-front { z-index: 3; transform: translate(-49%, -47%) rotate(1.5deg); animation: hero-phone-in 850ms 120ms cubic-bezier(0.22, 1, 0.36, 1) both; }
.hero-phone-back { z-index: 1; opacity: 0.92; transform: translate(-102%, -44%) rotate(-9deg) scale(0.9); animation: hero-left-in 900ms 240ms cubic-bezier(0.22, 1, 0.36, 1) both; }
.hero-phone-side { z-index: 2; opacity: 0.96; transform: translate(8%, -38%) rotate(8deg) scale(0.88); animation: hero-right-in 900ms 320ms cubic-bezier(0.22, 1, 0.36, 1) both; }

.hero-annotation {
  position: absolute;
  z-index: 4;
  right: -2%;
  bottom: 4%;
  padding: 1rem 1.25rem 0.85rem;
  border: 1px solid var(--line);
  background: var(--paper-light);
  box-shadow: 0 1rem 2.5rem rgb(40 40 33 / 14%);
  font-size: 0.95rem;
  line-height: 1.35;
  transform: rotate(-2.5deg);
}

.hero-annotation span { color: var(--coral); font-size: 2.4rem; }
@keyframes hero-phone-in { from { opacity: 0; transform: translate(-49%, -37%) rotate(6deg) scale(0.92); } }
@keyframes hero-left-in { from { opacity: 0; transform: translate(-82%, -38%) rotate(-2deg) scale(0.82); } }
@keyframes hero-right-in { from { opacity: 0; transform: translate(-5%, -32%) rotate(2deg) scale(0.8); } }

.principles {
  display: grid;
  width: var(--shell);
  margin: 0 auto clamp(6rem, 11vw, 11rem);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  grid-template-columns: repeat(3, 1fr);
}

.principles p { display: flex; min-height: 8.5rem; align-items: center; gap: 1.1rem; margin: 0; padding: 1.5rem clamp(1rem, 2.4vw, 2.2rem); }
.principles p + p { border-left: 1px solid var(--line); }
.principles strong { color: var(--blue); font-size: clamp(1.8rem, 3vw, 2.7rem); font-weight: 400; white-space: nowrap; }
.principles span { max-width: 7rem; color: var(--muted); font-size: 0.9rem; line-height: 1.35; }

.widget-feature {
  width: var(--shell);
  margin: 0 auto;
  padding: clamp(7rem, 12vw, 12rem) 0;
}

.widget-heading {
  display: grid;
  width: 100%;
  margin-bottom: clamp(2.5rem, 5vw, 5rem);
  grid-template-columns: minmax(0, 1.15fr) minmax(17rem, 0.55fr);
  align-items: end;
  gap: 3rem;
}

.widget-heading .section-index { grid-column: 1 / -1; }
.widget-heading h2 { margin: 0; }
.widget-heading > p:last-child { margin: 0 0 0.7rem; color: var(--muted); font-size: 1.08rem; line-height: 1.7; }

.widget-spotlight {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 2.5rem 1.2rem 2.8rem 1.6rem;
  background: var(--paper-light);
  grid-template-columns: minmax(0, 1.05fr) minmax(19rem, 0.75fr);
  align-items: stretch;
}

.widget-image-wrap {
  position: relative;
  display: grid;
  min-height: 36rem;
  padding: clamp(1rem, 3vw, 2.5rem);
  overflow: hidden;
  background: #e5edef;
  place-items: center;
}

.widget-image-wrap::before {
  position: absolute;
  width: min(32rem, 82%);
  aspect-ratio: 1;
  border: 1px solid rgb(47 102 139 / 25%);
  border-radius: 50%;
  content: "";
  transform: translate(-38%, -34%);
}

.widget-image-wrap img { position: relative; width: min(32rem, 100%); height: auto; border: 1px solid var(--line); box-shadow: 0 2rem 4rem rgb(40 40 33 / 14%); transform: rotate(-1deg); }
.widget-spotlight figcaption { display: flex; min-width: 0; flex-direction: column; justify-content: center; padding: clamp(2.2rem, 5vw, 4.5rem); }
.widget-platform-label { margin-bottom: 1.1rem; color: var(--coral); font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; }
.widget-spotlight h3 { margin-bottom: 1.5rem; color: var(--blue); font-size: clamp(2.6rem, 4.8vw, 4.5rem); line-height: 1.04; }
.widget-caption { margin-bottom: 2rem; color: var(--muted); font-size: 1.05rem; }
.widget-sizes { display: grid; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.widget-sizes p { display: flex; min-height: 3.7rem; align-items: center; justify-content: space-between; gap: 1rem; margin: 0; }
.widget-sizes p + p { border-top: 1px solid var(--line); }
.widget-sizes strong { color: var(--blue); font-size: 1rem; font-weight: 400; }
.widget-sizes span { color: var(--muted); }

.section-heading { width: var(--shell); margin-right: auto; margin-left: auto; }
.section-index, .card-index { margin-bottom: 1rem; }
.section-heading h2, .promise h2, .closing h2 { font-size: clamp(3rem, 6.2vw, 6rem); line-height: 1.02; }

.story {
  position: relative;
  padding: clamp(6rem, 10vw, 10rem) 0;
  overflow: clip;
  color: var(--paper);
  background: var(--ink);
}

.story::before {
  position: absolute;
  inset: 0;
  opacity: 0.38;
  background:
    linear-gradient(90deg, transparent 0 73%, rgb(247 243 232 / 5%) 73% 73.1%, transparent 73.1%),
    repeating-linear-gradient(to bottom, transparent 0, transparent 3.4rem, rgb(247 243 232 / 8%) 3.46rem, transparent 3.5rem);
  content: "";
  pointer-events: none;
}

.story-heading {
  position: relative;
  z-index: 1;
  display: grid;
  margin-bottom: 3rem;
  grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 0.6fr);
  align-items: end;
  gap: 3rem;
}

.story-heading .section-index { grid-column: 1 / -1; color: var(--blue-light); }
.story-heading h2 { margin-bottom: 0; }
.story-heading > p:last-child { margin: 0 0 0.7rem; color: #b7b1a5; font-size: 1.08rem; }

.story-layout {
  position: relative;
  z-index: 1;
  display: grid;
  width: var(--shell);
  margin: 0 auto;
  grid-template-columns: minmax(0, 0.82fr) minmax(24rem, 1.18fr);
  gap: clamp(3rem, 9vw, 8rem);
}

.story-steps { margin: 0; padding: 0; list-style: none; }
.story-step { display: flex; min-height: 66svh; flex-direction: column; justify-content: center; opacity: 0.34; transition: opacity 320ms ease, transform 320ms ease; }
.story-step:focus-visible { outline-color: var(--coral); }
.story-step.is-active { opacity: 1; transform: translateX(0.6rem); }
.step-number { width: fit-content; margin-bottom: 2rem; padding-bottom: 0.35rem; border-bottom: 0.14rem solid var(--coral); color: var(--blue-light); font-size: 0.9rem; letter-spacing: 0.12em; }
.story-step h3 { margin-bottom: 1.5rem; font-size: clamp(2.7rem, 4.7vw, 4.5rem); line-height: 1.04; }
.story-step > p:last-of-type { max-width: 27rem; margin: 0; color: #b7b1a5; font-size: 1.08rem; }
.step-preview { display: none; }

.story-visual { position: sticky; top: 8svh; display: grid; height: 84svh; min-height: 38rem; place-items: center; }
.story-meta { position: absolute; top: 50%; right: 0; display: flex; flex-direction: column; align-items: center; gap: 0.8rem; color: #77736b; font-size: 0.85rem; transform: translateY(-50%); }
.story-current { color: var(--coral); }
.story-rule { width: 1px; height: 6rem; background: var(--line-light); }

.story-device {
  position: relative;
  width: min(20rem, 52vh);
  aspect-ratio: 1320 / 2868;
  border-color: #0f0f0d;
  box-shadow: 0 3rem 8rem rgb(0 0 0 / 45%), 0 0 0 1px rgb(247 243 232 / 13%);
}

.story-screen {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  opacity: 0;
  clip-path: inset(12% 0 0 0 round 2.5rem);
  transform: translateY(1.8rem) scale(0.98);
  transition: opacity 500ms ease, clip-path 650ms cubic-bezier(0.22, 1, 0.36, 1), transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
}

.story-screen.is-active { z-index: 2; opacity: 1; clip-path: inset(0 round 2.5rem); transform: translateY(0) scale(1); }
.story-caption { position: absolute; bottom: 6%; left: 0; margin: 0; color: var(--blue-light); font-size: 0.95rem; }
.story-caption::before { display: inline-block; width: 2.7rem; height: 1px; margin-right: 0.7rem; background: currentColor; content: ""; vertical-align: middle; }

.showcase { padding: clamp(7rem, 12vw, 12rem) 0; overflow: hidden; }
.showcase-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(17rem, 0.38fr); align-items: end; gap: 3rem; }
.showcase-heading h2 { margin-bottom: 0; }
.showcase-heading > p { margin: 0 0 0.7rem; color: var(--muted); }

.showcase-toolbar { display: grid; width: var(--shell); margin: 3.2rem auto 1.5rem; grid-template-columns: auto minmax(5rem, 1fr) auto; align-items: center; gap: 1.2rem; }
.gallery-status { margin: 0; font-size: 0.9rem; letter-spacing: 0.08em; }
.gallery-current { color: var(--coral); }
.gallery-progress { height: 1px; overflow: hidden; background: var(--line); }
.gallery-progress span { display: block; width: 25%; height: 100%; background: var(--blue); transform: scaleX(var(--gallery-progress, 1)); transform-origin: left; transition: transform 300ms ease; }
.gallery-buttons { display: flex; gap: 0.55rem; }

.gallery-button {
  display: grid;
  width: 2.9rem;
  height: 2.9rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  place-items: center;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.gallery-button:hover { color: var(--paper-light); background: var(--ink); transform: rotate(-6deg); }

.showcase-rail {
  display: flex;
  width: 100%;
  gap: 1.2rem;
  padding: 0 max(1.5rem, calc((100vw - 76rem) / 2));
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  scroll-padding-inline: max(1.5rem, calc((100vw - 76rem) / 2));
  scroll-snap-type: x mandatory;
}

.showcase-rail::-webkit-scrollbar { display: none; }

.gallery-card {
  position: relative;
  display: grid;
  flex: 0 0 min(64rem, calc(100vw - 4.5rem));
  min-height: 43rem;
  padding: clamp(2rem, 5vw, 4.5rem);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 2.5rem 1.2rem 2.8rem 1.6rem;
  background: var(--paper-deep);
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.78fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 6rem);
  scroll-snap-align: center;
  scroll-snap-stop: always;
}

.gallery-card::before { position: absolute; right: -6rem; bottom: -12rem; width: 31rem; aspect-ratio: 1; border: 1px solid rgb(47 102 139 / 26%); border-radius: 50%; content: ""; }
.gallery-card-date { background: #e6edf0; }
.gallery-card-history { color: var(--paper-light); background: var(--blue-dark); }
.gallery-card-history .card-index, .gallery-card-history .screen-note { color: var(--blue-light); }
.gallery-card-history .gallery-copy > p:not(.card-index, .screen-note) { color: #d4d0c7; }
.gallery-card-local { background: #efdcd3; }
.gallery-copy { position: relative; z-index: 2; min-width: 0; }
.gallery-copy h3 { margin-bottom: 1.6rem; font-size: clamp(2.8rem, 5vw, 5rem); line-height: 1.04; }
.gallery-copy > p:not(.card-index, .screen-note) { max-width: 28rem; color: var(--muted); font-size: 1.08rem; }
.screen-note { max-width: 26rem; margin: 2.4rem 0 0; padding-top: 1rem; border-top: 1px solid currentColor; color: var(--blue); font-size: 0.88rem; }

@media (max-width: 52rem) {
  .gallery-copy > p:not(.card-index), .screen-note { max-width: 100%; }
}

.annotated-device { position: relative; z-index: 2; justify-self: center; width: min(18rem, 100%); aspect-ratio: 1320 / 2868; overflow: visible; }
.annotated-device > img { width: 100%; height: 100%; overflow: hidden; border-radius: inherit; object-fit: cover; }

.hotspot {
  position: absolute;
  top: var(--hotspot-y);
  left: var(--hotspot-x);
  z-index: 4;
  width: 1.7rem;
  height: 1.7rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgb(247 243 232 / 86%);
  box-shadow: 0 0 0 0.18rem var(--blue);
  cursor: help;
  transform: translate(-50%, -50%);
}

.hotspot-dot { position: absolute; inset: 0.42rem; border-radius: 50%; background: var(--coral); }
.hotspot::before { position: absolute; inset: -0.55rem; border: 1px solid var(--blue); border-radius: 50%; content: ""; animation: hotspot-pulse 2.2s ease-out infinite; }

.hotspot-label {
  position: absolute;
  top: 50%;
  left: calc(100% + 0.8rem);
  width: max-content;
  max-width: 11rem;
  padding: 0.65rem 0.8rem 0.55rem;
  border: 1px solid rgb(40 40 33 / 15%);
  border-radius: 0.65rem;
  color: var(--ink);
  background: var(--paper-light);
  box-shadow: 0 0.8rem 2rem rgb(40 40 33 / 18%);
  font-size: 0.76rem;
  line-height: 1.35;
  opacity: 0;
  overflow-wrap: anywhere;
  pointer-events: none;
  transform: translate(0.5rem, -50%);
  transition: opacity 180ms ease, transform 180ms ease;
}

.hotspot-right .hotspot-label { right: calc(100% + 0.8rem); left: auto; transform: translate(-0.5rem, -50%); }
.hotspot:hover .hotspot-label, .hotspot:focus-visible .hotspot-label, .hotspot.is-open .hotspot-label { opacity: 1; transform: translate(0, -50%); }

@keyframes hotspot-pulse {
  0% { opacity: 0.72; transform: scale(0.62); }
  70%, 100% { opacity: 0; transform: scale(1.35); }
}

.reminder-feature {
  display: grid;
  width: var(--shell);
  margin: 0 auto;
  padding: clamp(7rem, 12vw, 12rem) 0;
  grid-template-columns: minmax(20rem, 0.8fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(3rem, 9vw, 8rem);
}

.reminder-visual { position: relative; min-height: clamp(38rem, 55vw, 48rem); }
.reminder-visual::before { position: absolute; top: 7%; left: -12%; width: 86%; aspect-ratio: 1; border: 1px solid rgb(47 102 139 / 28%); border-radius: 50%; content: ""; }
.reminder-phone { position: absolute; top: 50%; left: 42%; width: min(21rem, 72%); aspect-ratio: 1320 / 2868; transform: translate(-50%, -50%) rotate(-2deg); }
.push-preview {
  position: absolute;
  z-index: 3;
  top: 28%;
  right: 0;
  display: grid;
  width: min(24rem, 76%);
  min-height: 5.7rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgb(40 40 33 / 13%);
  border-radius: 1.25rem;
  background: rgb(255 253 246 / 94%);
  box-shadow: 0 1.5rem 3.5rem rgb(40 40 33 / 22%);
  grid-template-columns: 2.6rem minmax(0, 1fr) auto;
  align-items: start;
  gap: 0.75rem;
  backdrop-filter: blur(0.8rem);
  transform: rotate(1.5deg);
}

.push-preview-mark { position: relative; width: 2.6rem; height: 2.6rem; border: 0.14rem solid var(--blue); border-radius: 28%; }
.push-preview-mark::before { position: absolute; inset: 0.55rem; border: 0.14rem solid var(--coral); border-radius: 50%; content: ""; }
.push-preview p { min-width: 0; margin: 0; line-height: 1.35; }
.push-preview strong, .push-preview span { display: block; }
.push-preview strong { margin-bottom: 0.2rem; font-size: 0.86rem; font-weight: 400; }
.push-preview span { color: var(--muted); font-size: 0.78rem; overflow-wrap: anywhere; }
.push-preview time { color: var(--muted); font-size: 0.7rem; white-space: nowrap; }
.reminder-copy .section-index { color: var(--coral); }
.reminder-copy h2 { margin-bottom: 1.7rem; font-size: clamp(3rem, 6.2vw, 6rem); line-height: 1.02; }
.reminder-lead { max-width: 35rem; margin-bottom: 2.5rem; color: var(--muted); font-size: 1.1rem; }
.reminder-points { border-bottom: 1px solid var(--line); }
.reminder-points p { display: grid; margin: 0; padding: 1.1rem 0 0.95rem; border-top: 1px solid var(--line); grid-template-columns: minmax(7rem, 0.38fr) minmax(0, 1fr); gap: 1.3rem; }
.reminder-points strong { color: var(--blue); font-weight: 400; }
.reminder-points span { color: var(--muted); }

.promise {
  position: relative;
  display: grid;
  min-height: 58rem;
  padding: clamp(7rem, 11vw, 11rem) max(1.5rem, calc((100vw - 76rem) / 2));
  overflow: hidden;
  color: var(--paper);
  background: var(--blue-dark);
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.75fr);
  grid-template-rows: auto 1fr;
  gap: 4rem clamp(3rem, 8vw, 8rem);
}

.promise::before { position: absolute; inset: 0; opacity: 0.38; background: repeating-linear-gradient(to bottom, transparent 0, transparent 3.4rem, rgb(247 243 232 / 9%) 3.46rem, transparent 3.5rem); content: ""; }
.promise-copy, .promise blockquote, .promise-notes { position: relative; z-index: 2; }
.promise-copy .section-index { color: var(--blue-light); }
.promise-copy h2 { margin-bottom: 1.6rem; }
.promise-copy > p:last-child { max-width: 35rem; color: #d4d0c7; font-size: 1.12rem; }

.promise blockquote {
  align-self: end;
  padding: 2.5rem;
  border: 1px solid var(--line-light);
  border-radius: 50% 48% 46% 52%;
  text-align: center;
  transform: rotate(3deg);
}

.promise blockquote p { margin-bottom: 1.4rem; color: var(--paper-light); font-size: clamp(2.8rem, 5vw, 4.8rem); line-height: 1.05; }
.promise blockquote footer { color: var(--blue-light); font-size: 0.88rem; }
.promise-notes { align-self: end; }
.promise-notes p { display: flex; margin: 0; padding: 1.2rem 0 1rem; border-top: 1px solid var(--line-light); justify-content: space-between; gap: 2rem; color: #d4d0c7; }
.promise-notes span { color: var(--blue-light); letter-spacing: 0.04em; }
.promise-orbit { position: absolute; top: -12rem; right: 0; width: min(38rem, 90vw); aspect-ratio: 1; border: 1px solid rgb(169 200 216 / 30%); border-radius: 50%; }
.promise-orbit::after { position: absolute; right: 18%; bottom: 7%; width: 1rem; height: 1rem; border-radius: 50%; background: var(--coral); content: ""; }

.closing {
  position: relative;
  display: grid;
  width: var(--shell);
  min-height: 50rem;
  margin: 0 auto;
  padding: clamp(7rem, 12vw, 12rem) 0 0;
  overflow: hidden;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.55fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
}

.closing-copy { position: relative; z-index: 2; padding-bottom: 7rem; }
.closing-copy h2 { max-width: 13ch; margin-bottom: 1.7rem; }
.closing-copy > p:not(.section-index) { max-width: 34rem; margin-bottom: 2.3rem; color: var(--muted); font-size: 1.1rem; }
.download-actions { display: flex; max-width: 30rem; flex-direction: column; align-items: flex-start; gap: 1.25rem; }
.closing-button { width: min(24rem, 100%); }

.closing-phone {
  align-self: end;
  width: min(22rem, 100%);
  aspect-ratio: 1320 / 2868;
  border-bottom: 0;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
  box-shadow: 0 -1rem 5rem rgb(40 40 33 / 17%);
  transform: translateY(14%);
}

.closing-mark { position: absolute; top: 7rem; right: 24%; width: 7.5rem; height: 7.5rem; border: 1px solid var(--blue); border-radius: 50%; transform: rotate(-20deg); }
.closing-mark::after, .closing-mark span { position: absolute; border-radius: 50%; background: var(--coral); content: ""; }
.closing-mark::after { top: -0.35rem; right: 1rem; width: 0.65rem; height: 0.65rem; }
.closing-mark span { right: -0.2rem; bottom: 1.6rem; width: 0.35rem; height: 0.35rem; }

.site-footer {
  display: grid;
  width: var(--shell);
  min-height: 9rem;
  margin: 0 auto;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer > p { margin: 0; text-align: right; }

[data-reveal] { transition: opacity 650ms ease, transform 650ms cubic-bezier(0.22, 1, 0.36, 1); }
.js [data-reveal]:not(.is-visible) { opacity: 0; transform: translateY(1.6rem); }

@media (max-width: 68rem) {
  .hero { grid-template-columns: minmax(0, 0.9fr) minmax(24rem, 1.1fr); gap: 1rem; }
  .hero h1 { font-size: clamp(3.6rem, 7.4vw, 5.6rem); }
  .hero-phone { width: clamp(11rem, 21vw, 14.5rem); }
  .story-layout { gap: 4rem; }
  .gallery-card { grid-template-columns: minmax(0, 1fr) minmax(15rem, 0.62fr); }
}

@media (max-width: 52rem) {
  :root { --shell: min(100% - 2rem, 43rem); }
  .site-header { min-height: 4.8rem; }
  .primary-nav > a:first-child { display: none; }
  .hero { min-height: auto; padding-top: 8.5rem; grid-template-columns: 1fr; }
  .hero-copy { max-width: 39rem; }
  .hero h1 { max-width: 11ch; font-size: clamp(3.5rem, 13vw, 6rem); }
  .hero-stage { min-height: min(38rem, 115vw); }
  .hero-phone { width: clamp(11rem, 38vw, 15rem); }
  .hero-phone-back { transform: translate(-104%, -43%) rotate(-9deg) scale(0.87); }
  .hero-phone-side { transform: translate(4%, -38%) rotate(8deg) scale(0.85); }
  .hero-annotation { right: 0; bottom: 0; }
  .principles { grid-template-columns: 1fr; }
  .principles p { min-height: 6.5rem; }
  .principles p + p { border-top: 1px solid var(--line); border-left: 0; }
  .principles span { max-width: none; }
  .widget-heading, .story-heading, .showcase-heading, .story-layout, .reminder-feature, .promise, .closing { grid-template-columns: 1fr; }
  .widget-heading { gap: 1.5rem; }
  .widget-spotlight { grid-template-columns: 1fr; }
  .widget-image-wrap { min-height: 0; padding: 1.4rem; }
  .widget-image-wrap img { width: min(15rem, 68vw); }
  .widget-spotlight figcaption { order: -1; padding: 1.8rem 1.5rem 1.5rem; }
  .widget-spotlight h3 { margin-bottom: 0.85rem; font-size: clamp(2.2rem, 10vw, 3rem); }
  .widget-caption { margin-bottom: 1.25rem; font-size: 0.94rem; }
  .widget-sizes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .widget-sizes p { min-height: 4.25rem; padding: 0.55rem 0.2rem; flex-direction: column; align-items: flex-start; justify-content: center; gap: 0.2rem; }
  .widget-sizes p + p { border-top: 0; border-left: 1px solid var(--line); padding-left: 0.75rem; }
  .story-heading { gap: 1.5rem; }
  .story-layout { gap: 0; }
  .story-visual { display: none; }
  .story-step, .story-step.is-active { min-height: auto; padding: 4.5rem 0; opacity: 1; transform: none; }
  .story-step + .story-step { border-top: 1px solid var(--line-light); }
  .story-step > p:last-of-type { margin-bottom: 2.3rem; }
  .step-preview { display: block; width: min(18rem, 78vw); aspect-ratio: 1320 / 2868; align-self: center; border-color: #0f0f0d; }
  .showcase-heading { gap: 1.5rem; }
  .gallery-card {
    flex-basis: calc(100vw - 2rem);
    height: auto;
    min-height: 0;
    padding: 1.35rem 1.15rem 1.5rem;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    align-content: start;
    gap: 0.9rem;
  }
  .gallery-copy { padding: 0 0.2rem; }
  .gallery-copy h3 { margin-bottom: 0.65rem; font-size: clamp(2rem, 9vw, 2.85rem); line-height: 1.02; }
  .gallery-copy > p:not(.card-index, .screen-note) { margin-bottom: 0.55rem; font-size: 0.92rem; line-height: 1.45; }
  .screen-note { margin-top: 0.65rem; padding-top: 0.55rem; font-size: 0.76rem; line-height: 1.4; }
  .annotated-device { width: min(13.5rem, 55vw); align-self: start; }
  .reminder-feature { gap: 2.5rem; }
  .reminder-copy { order: -1; }
  .reminder-visual { min-height: clamp(42rem, 165vw, 48rem); }
  .reminder-phone { left: 45%; width: min(19rem, 72vw); }
  .push-preview { right: 0; width: min(22rem, 86%); }
  .promise { min-height: auto; gap: 4rem; }
  .promise blockquote { width: min(26rem, 100%); justify-self: center; }
  .promise-notes { order: 3; }
  .closing { padding-top: 8rem; }
  .closing-copy { padding-bottom: 0; }
  .closing-phone { width: min(19rem, 76vw); justify-self: center; }
  .site-footer { grid-template-columns: 1fr; justify-items: start; }
  .site-footer > p { text-align: left; }

  html[lang="ja"] .section-heading h2,
  html[lang="ja"] .reminder-copy h2,
  html[lang="ja"] .promise h2,
  html[lang="ja"] .closing h2 {
    font-size: clamp(2.35rem, 11vw, 3.2rem);
    line-height: 1.12;
  }

  html[lang="ja"] .story-step h3,
  html[lang="ja"] .gallery-copy h3,
  html[lang="ja"] .widget-spotlight h3 {
    font-size: clamp(2.2rem, 9.7vw, 3rem);
    line-height: 1.12;
  }
}

@media (max-width: 34rem) {
  .site-header { gap: 0.5rem; }
  .brand { gap: 0.5rem; font-size: 1rem; }
  .brand span { display: none; }
  .brand img { width: 2rem; height: 2rem; }
  .header-tools { gap: 0.45rem; }
  .language-switcher button { min-width: 1.95rem; padding-right: 0.38rem; padding-left: 0.38rem; }
  .nav-cta { padding-right: 0.8rem; padding-left: 0.8rem; font-size: 0.86rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-actions .button { width: min(100%, 20rem); }
  .hero-lead br { display: none; }
  .hero-stage { min-height: 31rem; }
  .hero-phone { width: 10.8rem; }
  .hero-phone-back { transform: translate(-99%, -40%) rotate(-9deg) scale(0.78); }
  .hero-phone-side { transform: translate(1%, -35%) rotate(8deg) scale(0.78); }
  .hero-annotation { right: -0.3rem; padding: 0.75rem 0.85rem 0.65rem; font-size: 0.78rem; }
  .hero-annotation span { font-size: 1.9rem; }
  .section-heading h2, .promise h2, .closing h2 { font-size: clamp(2.8rem, 14vw, 4rem); }
  .showcase-toolbar { grid-template-columns: auto 1fr; }
  .gallery-progress { grid-column: 1 / -1; grid-row: 2; }
  .gallery-buttons { justify-self: end; }
  .hotspot-label { max-width: 7.5rem; font-size: 0.7rem; }
  .push-preview { top: 25%; padding: 0.75rem; grid-template-columns: 2.25rem minmax(0, 1fr) auto; gap: 0.55rem; }
  .push-preview-mark { width: 2.25rem; height: 2.25rem; }
  .promise-notes p { flex-direction: column; gap: 0.3rem; }
  .widget-sizes p { min-height: 4.25rem; }
  .site-footer nav { align-items: flex-start; flex-direction: column; gap: 0.7rem; }
}

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