:root {
  color-scheme: light;
  --page: #f7f4ec;
  --surface: #fffdf8;
  --surface-2: #f1ecdf;
  --ink: #1f2933;
  --muted: #687078;
  --accent: #d6a536;
  --accent-2: #27466e;
  --accent-ink: #17263d;
  --line: rgba(31, 41, 51, 0.14);
  --shadow: 0 24px 70px rgba(27, 34, 45, 0.14);
  --radius: 30px;
  --display: "Noto Sans JP", system-ui, sans-serif;
  --body: "Noto Sans JP", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--page);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.8;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  transform: translateY(-160%);
  border-radius: 999px;
  background: #fff;
  color: #111;
  padding: 10px 18px;
  box-shadow: var(--shadow);
}

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

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: color-mix(in srgb, var(--page) 88%, transparent);
  box-shadow: 0 8px 30px rgba(18, 26, 35, 0.07);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.brand img {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 11px;
  object-fit: cover;
  box-shadow: 0 5px 18px rgba(15, 23, 42, 0.18);
}

.brand-mark,
.product-mark {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  background: linear-gradient(145deg, var(--accent), var(--accent-2));
  color: var(--accent-ink);
  font-family: var(--display);
  font-weight: 950;
  line-height: 1;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.18);
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  font-size: 0.78rem;
}

.brand span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.86rem;
  font-weight: 750;
}

.nav-links a { opacity: 0.72; transition: opacity 160ms ease; }
.nav-links a:hover { opacity: 1; }

.lang-switch {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 76%, transparent);
}

.lang-switch button {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  padding: 5px 10px;
  font-size: 0.73rem;
  font-weight: 850;
  cursor: pointer;
}

.lang-switch button.is-active {
  background: var(--ink);
  color: var(--surface);
}

.lang-en .ja,
.lang-ja .en { display: none !important; }

.hero {
  position: relative;
  min-height: 780px;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 140px 0 90px;
  isolation: isolate;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(430px, 1.06fr);
  align-items: center;
  gap: clamp(48px, 7vw, 100px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  background: currentColor;
}

.product-lockup {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.product-lockup img {
  width: 74px;
  height: 74px;
  border-radius: 22%;
  object-fit: cover;
  box-shadow: 0 16px 38px rgba(21, 31, 48, 0.2);
}

.product-mark {
  width: 74px;
  height: 74px;
  border-radius: 22%;
  font-size: 1.15rem;
}

.product-lockup span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-lockup b {
  display: block;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.3;
}

.display {
  margin: 0;
  max-width: 11em;
  font-family: var(--display);
  font-size: clamp(2.65rem, 6.2vw, 5.2rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.display .accent { color: var(--accent-2); }

.lead {
  max-width: 36em;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  font-weight: 520;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 850;
  line-height: 1.2;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button--primary {
  background: var(--ink);
  color: var(--surface);
  box-shadow: 0 14px 34px color-mix(in srgb, var(--ink) 28%, transparent);
}

.button--ghost {
  border-color: var(--line);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
}

.button svg { width: 18px; height: 18px; }

.status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 62%, transparent);
  padding: 7px 13px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
}

.status-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 20%, transparent);
}

.hero-stage {
  position: relative;
  min-height: 610px;
  display: grid;
  place-items: center;
}

.hero-stage::before {
  content: "";
  position: absolute;
  width: min(530px, 92%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 28%, transparent), transparent 68%);
  filter: blur(2px);
}

.phone {
  position: relative;
  z-index: 2;
  width: min(292px, 62vw);
  overflow: hidden;
  border: 9px solid #14171b;
  border-radius: 42px;
  background: #14171b;
  box-shadow: 0 32px 90px rgba(13, 20, 30, 0.34);
}

.phone::before {
  content: "";
  position: absolute;
  z-index: 4;
  top: 9px;
  left: 50%;
  width: 35%;
  height: 20px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #111418;
}

.phone img { width: 100%; height: auto; border-radius: 32px; }

.media-slot {
  position: relative;
  display: grid;
  min-height: 100%;
  place-content: center;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 72% 24%, color-mix(in srgb, var(--accent) 44%, transparent), transparent 30%),
    linear-gradient(155deg, color-mix(in srgb, var(--accent-2) 22%, var(--surface)), var(--surface));
  color: var(--ink);
  padding: 32px 20px;
  text-align: center;
}

.media-slot::before,
.media-slot::after {
  content: "";
  position: absolute;
  z-index: -1;
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  border-radius: 50%;
}

.media-slot::before { width: 190px; height: 190px; top: -90px; right: -70px; }
.media-slot::after { width: 120px; height: 120px; bottom: -55px; left: -40px; }
.media-slot--phone { aspect-ratio: 9 / 19.5; border-radius: 32px; }
.media-slot--gallery { aspect-ratio: 9 / 19.5; border-radius: 27px; }

.media-slot small {
  color: var(--accent-2);
  font-size: 0.62rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.media-slot b {
  display: block;
  max-width: 12em;
  margin-top: 12px;
  font-family: var(--display);
  font-size: clamp(1rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.media-slot .slot-note {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
}

.phone--back {
  position: absolute;
  z-index: 1;
  left: 1%;
  width: 230px;
  transform: rotate(-9deg) translateY(26px);
  opacity: 0.94;
}

.phone--front { transform: rotate(4deg); }

.floating-card {
  position: absolute;
  z-index: 4;
  max-width: 245px;
  border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line));
  border-radius: 22px;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  padding: 16px 18px;
  box-shadow: 0 18px 45px rgba(20, 29, 43, 0.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.floating-card small {
  display: block;
  margin-bottom: 3px;
  color: var(--accent-2);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.floating-card b { display: block; font-size: 0.92rem; line-height: 1.55; }
.floating-card--top { top: 9%; right: 0; }
.floating-card--bottom { bottom: 10%; left: 0; }

.section { position: relative; padding: 110px 0; }
.section--soft { background: var(--surface-2); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(260px, 0.38fr);
  align-items: end;
  gap: 50px;
  margin-bottom: 56px;
}

.kicker {
  margin: 0 0 13px;
  color: var(--accent-2);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.section-title {
  margin: 0;
  max-width: 16em;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.35rem);
  font-weight: 900;
  line-height: 1.24;
  letter-spacing: -0.035em;
}

.section-intro { margin: 0; color: var(--muted); font-size: 0.98rem; }

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

.feature-card {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 28px;
  box-shadow: 0 14px 36px rgba(24, 34, 48, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(24, 34, 48, 0.11);
}

.feature-number {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 15px;
  background: color-mix(in srgb, var(--accent) 18%, var(--surface));
  color: var(--accent-2);
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 950;
}

.feature-card h3 { margin: 44px 0 12px; font-size: 1.18rem; line-height: 1.45; }
.feature-card p { margin: 0; color: var(--muted); font-size: 0.9rem; }

.feature-card::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -55px;
  width: 130px;
  height: 130px;
  border: 1px solid color-mix(in srgb, var(--accent) 34%, transparent);
  border-radius: 50%;
}

.experience {
  overflow: hidden;
  background: var(--ink);
  color: var(--surface);
}

.experience::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 82% 18%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 30%);
}

.experience .kicker { color: var(--accent); }
.experience .section-intro { color: color-mix(in srgb, var(--surface) 66%, transparent); }

.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--surface) 16%, transparent);
  border-radius: 30px;
  background: color-mix(in srgb, var(--surface) 16%, transparent);
}

.experience-step {
  min-height: 250px;
  background: color-mix(in srgb, var(--ink) 94%, var(--surface));
  padding: 34px;
}

.experience-step span {
  color: var(--accent);
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.experience-step h3 { margin: 48px 0 10px; font-size: 1.3rem; }
.experience-step p { margin: 0; color: color-mix(in srgb, var(--surface) 64%, transparent); font-size: 0.9rem; }

.gallery-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: 22px;
}

.shot { margin: 0; }

.shot-frame {
  overflow: hidden;
  border: 7px solid var(--ink);
  border-radius: 34px;
  background: var(--ink);
  box-shadow: 0 22px 50px rgba(22, 31, 44, 0.16);
}

.shot-frame img { width: 100%; height: auto; border-radius: 27px; }

.shot:nth-child(even) { padding-top: 54px; }
.shot figcaption { padding: 18px 4px 0; }
.shot figcaption b { display: block; margin-bottom: 3px; font-size: 0.92rem; }
.shot figcaption span { color: var(--muted); font-size: 0.78rem; }

.trust-card {
  display: grid;
  grid-template-columns: 0.35fr 0.65fr;
  align-items: center;
  gap: 50px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 38px;
  background: var(--surface);
  padding: clamp(34px, 6vw, 72px);
  box-shadow: var(--shadow);
}

.trust-mark {
  display: grid;
  min-height: 220px;
  place-items: center;
  border-radius: 30px;
  background: color-mix(in srgb, var(--accent) 16%, var(--surface-2));
  color: var(--accent-2);
}

.trust-mark svg { width: 82px; height: 82px; }
.trust-copy h2 { margin: 0; font-family: var(--display); font-size: clamp(1.8rem, 3.4vw, 2.75rem); line-height: 1.35; }
.trust-copy p { margin: 18px 0 0; color: var(--muted); }

.tag-list { display: flex; flex-wrap: wrap; gap: 9px; margin: 26px 0 0; padding: 0; list-style: none; }
.tag-list li { border: 1px solid var(--line); border-radius: 999px; padding: 7px 12px; color: var(--muted); font-size: 0.75rem; font-weight: 800; }

.cta-band { padding-top: 0; }
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-radius: 34px;
  background: var(--accent-2);
  color: #fff;
  padding: clamp(32px, 6vw, 62px);
}

.cta-inner h2 { margin: 0; font-family: var(--display); font-size: clamp(1.8rem, 3.6vw, 3rem); line-height: 1.25; }
.cta-inner p { margin: 10px 0 0; color: rgba(255,255,255,0.7); }
.cta-inner .button { flex: 0 0 auto; background: #fff; color: var(--accent-ink); box-shadow: none; }

.site-footer { padding: 40px 0 54px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); padding-top: 28px; color: var(--muted); font-size: 0.78rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; font-weight: 750; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 600ms ease, transform 600ms ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ってやつ — 夜のことば帳 */
body.theme-tteyatsu {
  --page: #f5f0e2;
  --surface: #fffaf0;
  --surface-2: #ebe3cf;
  --ink: #1e3155;
  --muted: #6d7480;
  --accent: #e1aa36;
  --accent-2: #c95748;
  --accent-ink: #1e3155;
  --line: rgba(30, 49, 85, 0.16);
  --display: "Klee One", "Noto Sans JP", sans-serif;
  --body: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
}

.theme-tteyatsu .hero {
  color: #fffaf0;
  background:
    radial-gradient(circle at 12% 22%, rgba(225,170,54,.16) 0 2px, transparent 3px),
    radial-gradient(circle at 82% 28%, rgba(255,250,240,.22) 0 1px, transparent 2px),
    radial-gradient(circle at 71% 82%, rgba(225,170,54,.14) 0 2px, transparent 3px),
    linear-gradient(145deg, #142644 0%, #1f3760 60%, #263e68 100%);
  background-size: 130px 130px, 95px 95px, 170px 170px, auto;
}

.theme-tteyatsu .hero .lead,
.theme-tteyatsu .hero .product-lockup span { color: rgba(255,250,240,.7); }
.theme-tteyatsu .hero .eyebrow,
.theme-tteyatsu .hero .display .accent { color: #f0c65f; }
.theme-tteyatsu .hero .button--primary { background: #e1aa36; color: #1e3155; }
.theme-tteyatsu .hero .button--ghost,
.theme-tteyatsu .hero .status-pill { border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.08); color: rgba(255,255,255,.78); }
.theme-tteyatsu .site-header:not(.is-scrolled),
.theme-timbli .site-header:not(.is-scrolled) { color: #fffaf0; }
.theme-tteyatsu .site-header:not(.is-scrolled) .lang-switch,
.theme-timbli .site-header:not(.is-scrolled) .lang-switch { border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.06); }
.theme-tteyatsu .site-header:not(.is-scrolled) .lang-switch button.is-active,
.theme-timbli .site-header:not(.is-scrolled) .lang-switch button.is-active { background: #fffaf0; color: #1a2638; }
.theme-tteyatsu .hero-stage::before { background: radial-gradient(circle, rgba(225,170,54,.22), transparent 68%); }
.theme-tteyatsu .feature-card { border-radius: 22px 31px 24px 28px; }

/* Timbli — 祭囃子とステージライト */
body.theme-timbli {
  --page: #f5e7c5;
  --surface: #fff5da;
  --surface-2: #ead5a7;
  --ink: #171718;
  --muted: #70624d;
  --accent: #efc75e;
  --accent-2: #b83d2b;
  --accent-ink: #171718;
  --line: rgba(74, 51, 29, 0.19);
  --display: "Shippori Mincho", "Noto Serif JP", serif;
}

.theme-timbli .hero {
  color: #fff6df;
  background:
    repeating-linear-gradient(90deg, transparent 0 64px, rgba(239,199,94,.045) 64px 65px),
    radial-gradient(circle at 76% 12%, rgba(184,61,43,.36), transparent 38%),
    linear-gradient(150deg, #141414, #25170f 66%, #351a11);
}

.theme-timbli .hero::after {
  inset: auto -10% -180px;
  height: 360px;
  border: 2px solid rgba(239,199,94,.16);
  border-radius: 50%;
}
.theme-timbli .hero .lead,
.theme-timbli .hero .product-lockup span { color: rgba(255,246,223,.68); }
.theme-timbli .hero .eyebrow,
.theme-timbli .hero .display .accent { color: #efc75e; }
.theme-timbli .hero .button--primary { background: #b83d2b; }
.theme-timbli .hero .button--ghost,
.theme-timbli .hero .status-pill { border-color: rgba(239,199,94,.24); background: rgba(255,255,255,.05); color: rgba(255,246,223,.75); }
.theme-timbli .feature-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, #b83d2b, #efc75e); }

/* すなもじ — 砂浜のまなび場 */
body.theme-sunamoji {
  --page: #fff3dc;
  --surface: #fffaf0;
  --surface-2: #dff4f2;
  --ink: #69462f;
  --muted: #806c5e;
  --accent: #ef706f;
  --accent-2: #2f9eaa;
  --accent-ink: #583825;
  --line: rgba(105, 70, 47, 0.15);
  --display: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
  --body: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
}

.theme-sunamoji .hero {
  background:
    radial-gradient(circle at 12% 24%, rgba(255,255,255,.9) 0 6%, transparent 6.3%),
    radial-gradient(circle at 90% 18%, rgba(255,255,255,.65) 0 9%, transparent 9.3%),
    linear-gradient(180deg, #c9f0f4 0%, #e6f7ee 55%, #fff0cf 100%);
}
.theme-sunamoji .hero::after {
  inset: auto -10% -80px;
  height: 180px;
  border-radius: 50% 50% 0 0;
  background: rgba(255,255,255,.48);
  transform: rotate(-3deg);
}
.theme-sunamoji .feature-card { border-width: 2px; border-radius: 42px; }
.theme-sunamoji .phone { border-color: #fff; background: #fff; box-shadow: 0 28px 75px rgba(51,117,124,.24); }
.theme-sunamoji .phone::before { background: #fff; }
.theme-sunamoji .sunacchi {
  position: absolute;
  z-index: 4;
  right: -22px;
  bottom: 3%;
  width: 190px;
  filter: drop-shadow(0 18px 22px rgba(62, 90, 86, .22));
}

/* たまごダイナソー — 静かな森の習慣 */
body.theme-tamago {
  --page: #f4f1e8;
  --surface: #fffdf7;
  --surface-2: #e4eadc;
  --ink: #303b2d;
  --muted: #6c7467;
  --accent: #e4b657;
  --accent-2: #63845a;
  --accent-ink: #303b2d;
  --line: rgba(48, 59, 45, 0.14);
  --display: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
}

.theme-tamago .hero {
  background:
    radial-gradient(ellipse at 10% 80%, rgba(99,132,90,.16), transparent 32%),
    radial-gradient(ellipse at 92% 18%, rgba(228,182,87,.18), transparent 27%),
    linear-gradient(135deg, #f8f5ec, #e8eee2);
}
.theme-tamago .hero::before {
  width: 460px;
  height: 460px;
  right: -130px;
  top: 80px;
  border: 1px solid rgba(99,132,90,.16);
  border-radius: 50%;
  box-shadow: -90px 130px 0 -40px rgba(228,182,87,.08), -240px -35px 0 -85px rgba(99,132,90,.09);
}
.theme-tamago .phone { border-color: #f7f6f0; background: #f7f6f0; }
.theme-tamago .phone::before { background: #f7f6f0; }
.theme-tamago .feature-card { border-radius: 38px 24px 38px 24px; }

/* AI Furby — maker lab */
body.theme-ai-furby {
  --page: #080d16;
  --surface: #111a28;
  --surface-2: #0d1420;
  --ink: #edf8ff;
  --muted: #94a8b8;
  --accent: #7cf3c9;
  --accent-2: #a678ff;
  --accent-ink: #081019;
  --line: rgba(162, 212, 231, 0.17);
  --display: "Noto Sans JP", system-ui, sans-serif;
  color-scheme: dark;
}

.theme-ai-furby .site-header.is-scrolled { background: rgba(8,13,22,.88); }
.theme-ai-furby .hero {
  background:
    linear-gradient(rgba(124,243,201,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,243,201,.045) 1px, transparent 1px),
    radial-gradient(circle at 76% 28%, rgba(166,120,255,.25), transparent 35%),
    #080d16;
  background-size: 38px 38px, 38px 38px, auto, auto;
}
.theme-ai-furby .hero .display .accent,
.theme-ai-furby .hero .eyebrow { color: var(--accent); }
.theme-ai-furby .hero .button--primary { background: var(--accent); color: #07131a; }
.theme-ai-furby .hero .button--ghost,
.theme-ai-furby .hero .status-pill { border-color: var(--line); background: rgba(255,255,255,.04); color: var(--muted); }
.theme-ai-furby .feature-card { background: linear-gradient(145deg, #111a28, #0d1521); }
.theme-ai-furby .feature-number { background: rgba(124,243,201,.1); color: var(--accent); }
.theme-ai-furby .experience { background: #0b111c; }
.theme-ai-furby .lab-stage {
  position: relative;
  width: min(560px, 100%);
  aspect-ratio: 1.05;
  display: grid;
  place-items: center;
  border: 1px solid rgba(124,243,201,.22);
  border-radius: 44px;
  background: radial-gradient(circle at center, rgba(166,120,255,.16), transparent 56%), rgba(255,255,255,.025);
  box-shadow: inset 0 0 80px rgba(124,243,201,.04), 0 38px 90px rgba(0,0,0,.38);
}
.theme-ai-furby .lab-stage img { width: 78%; filter: drop-shadow(0 0 30px rgba(124,243,201,.12)); }
.theme-ai-furby .lab-core {
  position: relative;
  z-index: 3;
  display: grid;
  width: 190px;
  aspect-ratio: 1;
  place-content: center;
  border: 1px solid rgba(124,243,201,.5);
  border-radius: 42%;
  background: linear-gradient(145deg, rgba(124,243,201,.12), rgba(166,120,255,.16));
  box-shadow: 0 0 58px rgba(124,243,201,.12), inset 0 0 34px rgba(124,243,201,.08);
  text-align: center;
}
.theme-ai-furby .lab-core small { color: var(--accent); font-size: .62rem; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.theme-ai-furby .lab-core b { display: block; margin-top: 8px; font-size: 1.3rem; letter-spacing: .04em; }
.theme-ai-furby .signal {
  position: absolute;
  border: 1px solid rgba(124,243,201,.24);
  border-radius: 50%;
  animation: signal 3.4s ease-out infinite;
}
.theme-ai-furby .signal:nth-child(2) { width: 68%; height: 68%; }
.theme-ai-furby .signal:nth-child(3) { width: 90%; height: 90%; animation-delay: 1.1s; }
.theme-ai-furby .video-wrap { overflow: hidden; border: 1px solid var(--line); border-radius: 30px; background: #000; box-shadow: var(--shadow); }
.theme-ai-furby .video-wrap iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }

.theme-ai-furby .media-slot {
  background:
    linear-gradient(rgba(124,243,201,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,243,201,.07) 1px, transparent 1px),
    radial-gradient(circle at center, rgba(166,120,255,.22), transparent 55%),
    #0b1420;
  background-size: 24px 24px, 24px 24px, auto, auto;
  color: var(--ink);
}

.theme-ai-furby .media-slot small { color: var(--accent); }

.system-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: stretch;
  gap: 12px;
  margin-top: 44px;
}

.system-node {
  position: relative;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  padding: 24px;
}

.system-node::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: -19px;
  z-index: 3;
  width: 26px;
  transform: translateY(-50%);
  color: var(--accent);
  font-weight: 900;
  text-align: center;
}

.system-node:last-child::after { content: none; }
.system-node small { color: var(--accent); font-size: .65rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.system-node b { margin: 26px 0 7px; font-size: 1rem; line-height: 1.4; }
.system-node p { margin: 0; color: var(--muted); font-size: .78rem; }

.demo-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    radial-gradient(circle at 84% 20%, color-mix(in srgb, var(--accent-2) 25%, transparent), transparent 32%),
    var(--surface);
  padding: clamp(30px, 6vw, 64px);
  box-shadow: var(--shadow);
}

.demo-card h3 { margin: 0; font-family: var(--display); font-size: clamp(1.7rem, 3.2vw, 2.7rem); }
.demo-card p { max-width: 44em; margin: 12px 0 0; color: var(--muted); }

@keyframes signal {
  0% { transform: scale(.72); opacity: 0; }
  28% { opacity: .75; }
  100% { transform: scale(1.05); opacity: 0; }
}

@media (max-width: 1000px) {
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 720px; }
  .hero-stage { min-height: 580px; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .system-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .system-node::after { content: none; }
  .shot:nth-child(even) { padding-top: 34px; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 72px; }
  .shell { width: min(100% - 28px, 1180px); }
  .header-inner { min-height: 66px; }
  .brand span { display: none; }
  .nav-links { display: none; }
  .hero { padding: 112px 0 68px; }
  .hero-grid { gap: 24px; }
  .display { font-size: clamp(2.45rem, 12vw, 4rem); }
  .lead { font-size: .96rem; }
  .hero-stage { min-height: 510px; }
  .phone--back { left: -8%; width: 205px; }
  .floating-card { max-width: 205px; padding: 13px 15px; }
  .floating-card--top { right: -5%; }
  .floating-card--bottom { left: -4%; }
  .section { padding: 82px 0; }
  .section-head { grid-template-columns: 1fr; gap: 18px; margin-bottom: 38px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 235px; }
  .feature-card h3 { margin-top: 30px; }
  .experience-grid { grid-template-columns: 1fr; }
  .experience-step { min-height: 210px; }
  .experience-step h3 { margin-top: 32px; }
  .gallery-track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 5px 20px 28px; margin-inline: -14px; }
  .shot { flex: 0 0 min(72vw, 300px); scroll-snap-align: center; }
  .shot:nth-child(even) { padding-top: 0; }
  .trust-card { grid-template-columns: 1fr; gap: 28px; border-radius: 30px; }
  .trust-mark { min-height: 160px; }
  .cta-inner { align-items: flex-start; flex-direction: column; }
  .demo-card { align-items: flex-start; flex-direction: column; }
  .system-flow { grid-template-columns: 1fr; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .theme-sunamoji .sunacchi { width: 135px; right: -2%; }
}

@media (max-width: 440px) {
  .product-lockup img { width: 62px; height: 62px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .hero-stage { min-height: 465px; }
  .phone { width: 235px; border-width: 7px; border-radius: 36px; }
  .phone img { border-radius: 29px; }
  .phone--back { width: 178px; }
  .floating-card { max-width: 175px; }
}

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