:root {
  --purple: #9013fe;
  --purple-50: #f6ecff;
  --purple-100: #eedcff;
  --purple-200: #deb8ff;
  --purple-900: #24073f;
  --pink: #ff23aa;
  --pink-ink: #cc0088;
  --pink-50: #ffedf8;
  --blue: #4a90e2;
  --blue-ink: #2f6fbf;
  --blue-50: #f1f6fd;
  --yellow: #ffdb00;
  --yellow-50: #fffad9;
  --bg: #f5f5f5;
  --surface: #ffffff;
  --text: #4a4a4a;
  --text-2: #737373;
  --hairline: #ebebeb;
  --disabled-fill: #e9e9e9;
  --disabled-text: #8a8a8a;
  --heading: var(--purple-900);
  --stage-950: #0e0218;
  --stage-900: #1a052e;
  --stage-700: #5b1a9e;
  --stage-low: #7fb2ee;
  --stage-high: #ff6cc4;
  --on-stage-3: #b9a6cc;
  --stage-outline: rgba(255, 255, 255, 0.7);
  --bar-fill: rgba(238, 220, 255, 0.16);
  --bar-line: rgba(222, 184, 255, 0.4);
  --bar-divider: rgba(222, 184, 255, 0.5);
  --thought: rgba(236, 216, 255, 0.86);
  --thought-solid: rgba(236, 216, 255, 0.9);

  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 12px;
  --space-lg: 16px;
  --space-xl: 24px;
  --space-xxl: 32px;
  --min-tap: 44px;
  --space-section-sp: 40px;
  --space-section-pc: 80px;
  --page-gutter-pc: 64px;

  --radius-jacket: 10px;
  --radius-input: 14px;
  --radius-card: 16px;
  --radius-card-large: 20px;
  --radius-pill: 999px;
  --radius-phone: 28px;
  --radius-phone-sm: 18px;
  --radius-thought: 22px;

  --shadow-1: 0 1px 2px rgba(36, 7, 63, 0.06), 0 4px 14px rgba(36, 7, 63, 0.06);
  --shadow-2: 0 2px 4px rgba(36, 7, 63, 0.06), 0 12px 32px rgba(36, 7, 63, 0.14);
  --stage-glow: 0 0 18px rgba(255, 35, 170, 0.55);

  --font-sans: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  --font-numeral: Outfit, "Hiragino Sans", "Noto Sans JP", sans-serif;

  --gutter: var(--space-lg);
  --content-max: 1280px;
  --range-gradient: linear-gradient(90deg, var(--blue), var(--purple) 55%, var(--pink));

  color-scheme: light;
}

@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/outfit-400.woff2") format("woff2");
}

@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/outfit-600.woff2") format("woff2");
}

@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/outfit-700.woff2") format("woff2");
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

html:lang(en) {
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html:lang(ko) {
  --font-sans: "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
}

html:lang(zh-Hant) {
  --font-sans: "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
}

html:lang(ja) body {
  line-break: strict;
}

html:lang(ko) body {
  word-break: keep-all;
}

html:lang(en) body,
html:lang(ko) body {
  overflow-wrap: break-word;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

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

img {
  height: auto;
}

a {
  color: var(--purple);
}

a:hover {
  color: var(--heading);
}

button {
  font: inherit;
}

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

.stage :focus-visible,
.site-header :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--purple-200);
}

.np {
  display: inline-block;
}

.num {
  font-family: var(--font-numeral);
}

.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.palt {
  font-feature-settings: "palt";
}

.wrap {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

@media (max-width: 767px) {
  .only-pc {
    display: none !important;
  }
}

@media (min-width: 768px) {
  :root {
    --gutter: 32px;
  }

  .only-sp {
    display: none !important;
  }
}

@media (min-width: 1024px) {
  :root {
    --gutter: var(--page-gutter-pc);
  }
}

.eyebrow {
  color: var(--purple);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.section-title {
  margin-top: 6px;
  color: var(--heading);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
}

@media (min-width: 1024px) {
  .eyebrow {
    font-size: 14px;
  }

  .section-title {
    margin-top: var(--space-sm);
    font-size: 36px;
  }
}

.pill {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  height: 24px;
  padding: 0 10px;
  border-radius: var(--radius-pill);
  background: var(--purple-50);
  color: var(--purple);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

@media (min-width: 1024px) {
  .pill {
    height: 26px;
    padding: 0 12px;
    font-size: 12px;
  }
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 30px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--bg);
  color: var(--heading);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

.chip svg {
  flex: none;
  width: 15px;
  height: 15px;
}

@media (min-width: 1024px) {
  .chip {
    gap: 6px;
  }

  .chip svg {
    width: 16px;
    height: 16px;
  }
}

.benefit-bar {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 8px;
  min-height: 30px;
  padding: 3px 12px;
  border: 1px solid var(--bar-line);
  border-radius: var(--radius-pill);
  background: var(--bar-fill);
  color: var(--purple-50);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.benefit-bar li + li::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 11px;
  margin-right: 8px;
  background: var(--bar-divider);
  vertical-align: -1px;
}

.benefit-bar .num {
  font-size: 14px;
}

@media (min-width: 1024px) {
  .benefit-bar {
    gap: 4px 10px;
    min-height: 32px;
    padding: 3px 14px;
    font-size: 13px;
  }

  .benefit-bar li + li::before {
    height: 12px;
    margin-right: 10px;
  }

  .benefit-bar .num {
    font-size: 15px;
  }
}

.store-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.store-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 56px;
  padding: 8px 12px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}

.store-btn svg {
  flex: none;
  width: 20px;
  height: 20px;
}

.store-btn--ios svg {
  width: 20px;
  height: 20px;
}

.store-btn--android svg {
  width: 18px;
  height: 18px;
}

.store-btn__label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  white-space: nowrap;
}

.store-btn__free {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.02em;
  opacity: 0.72;
}

.store-btn--primary {
  background: var(--surface);
  color: var(--heading);
}

.store-btn--primary:hover {
  background: var(--purple-50);
  color: var(--heading);
}

@media (min-width: 768px) {
  .store-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
  }

  .store-btn {
    display: inline-flex;
    gap: 10px;
    padding-right: 28px;
    padding-left: 28px;
    border-radius: var(--radius-pill);
    font-size: 16px;
  }

  .store-btn--ios svg {
    width: 22px;
    height: 22px;
  }

  .store-btn--android svg {
    width: 20px;
    height: 20px;
  }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  min-height: var(--min-tap);
  color: var(--surface);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}

.brand:hover {
  color: var(--surface);
}

.brand svg {
  flex: none;
  width: 32px;
  height: 32px;
}

.brand__old {
  white-space: nowrap;
}

@media (max-width: 767px) {
  .site-header .brand__name {
    display: flex;
    flex-direction: column;
  }

  .site-header .brand__old {
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.04em;
    opacity: 0.82;
  }

  .site-header .brand__sep {
    display: none;
  }
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  color: var(--surface);
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

html:not(.js) .site-header {
  position: absolute;
}

.site-header.is-stuck {
  background: rgba(26, 5, 46, 0.96);
  box-shadow: 0 1px 0 rgba(222, 184, 255, 0.14), 0 6px 20px rgba(14, 2, 24, 0.35);
}

.site-header__inner {
  transition: padding 0.25s ease;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding-top: var(--space-md);
  padding-bottom: var(--space-md);
}

.site-header__tools {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.site-header--bar,
html:not(.js) .site-header--bar {
  position: sticky;
  background: var(--stage-900);
}

.site-header--bar .site-header__inner {
  padding-top: var(--space-lg);
  padding-bottom: var(--space-lg);
}

.site-nav {
  display: none;
}

.round-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: var(--min-tap);
  height: var(--min-tap);
  padding: 0 12px;
  border: 0;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.14);
  color: var(--purple-50);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  list-style: none;
}

.round-btn::-webkit-details-marker {
  display: none;
}

.round-btn::marker {
  content: "";
}

.round-btn:hover {
  background: rgba(255, 255, 255, 0.22);
}

.round-btn svg {
  flex: none;
}

.menu > .round-btn {
  padding: 0;
}

.popover {
  position: relative;
}

.popover__panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 30;
  min-width: 200px;
  padding: var(--space-sm);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-2);
  color: var(--text);
}

.popover__panel a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  min-height: var(--min-tap);
  padding: 0 12px;
  border-radius: 10px;
  color: var(--heading);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
}

.popover__panel a:hover {
  background: var(--bg);
  color: var(--heading);
}

.popover__panel a:focus-visible {
  outline-color: var(--purple);
  outline-offset: -3px;
}

.lang-menu a[aria-current],
html:lang(ja) .lang-menu a[hreflang="ja"],
html:lang(en) .lang-menu a[hreflang="en"],
html:lang(ko) .lang-menu a[hreflang="ko"],
html:lang(zh-Hant) .lang-menu a[hreflang="zh-Hant"] {
  color: var(--purple);
  font-weight: 700;
}

.lang-menu a[aria-current]::after,
html:lang(ja) .lang-menu a[hreflang="ja"]::after,
html:lang(en) .lang-menu a[hreflang="en"]::after,
html:lang(ko) .lang-menu a[hreflang="ko"]::after,
html:lang(zh-Hant) .lang-menu a[hreflang="zh-Hant"]::after {
  content: "";
  width: 12px;
  height: 7px;
  margin-top: -3px;
  border-bottom: 2.5px solid currentColor;
  border-left: 2.5px solid currentColor;
  transform: rotate(-45deg);
}

.menu .popover__panel {
  min-width: 240px;
}

.menu__cta {
  margin-top: var(--space-xs);
  justify-content: center !important;
  background: var(--purple);
  color: var(--surface) !important;
  font-weight: 800 !important;
}

.menu__cta:hover {
  background: var(--heading) !important;
}

.header-cta {
  display: none;
  align-items: center;
  height: var(--min-tap);
  padding: 0 22px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--purple);
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.header-cta:hover {
  background: var(--purple-50);
  color: var(--purple);
}

@media (max-width: 359px) {
  .store-btn {
    gap: 6px;
    padding-right: 8px;
    padding-left: 8px;
    font-size: 14px;
  }

  .brand {
    font-size: 16px;
  }

  .lang-btn__name {
    display: none;
  }

  .lang-btn {
    padding: 0;
  }
}

@media (min-width: 1024px) {
  .brand {
    gap: var(--space-md);
    font-size: 20px;
    letter-spacing: 0.04em;
  }

  .brand svg {
    width: 40px;
    height: 40px;
  }

  .site-header__inner {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .site-header.is-stuck .site-header__inner {
    padding-top: var(--space-md);
    padding-bottom: var(--space-md);
  }

  .site-header--bar .site-header__inner {
    padding-top: var(--space-lg);
    padding-bottom: var(--space-lg);
  }

  .site-header__tools {
    gap: var(--space-xl);
  }

  .header-cta {
    display: inline-flex;
  }

  .site-nav {
    display: flex;
    align-items: center;
    gap: var(--space-xxl);
  }

  .site-nav a {
    color: var(--purple-50);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
  }

  .site-nav a:hover {
    color: var(--surface);
    text-decoration: underline;
    text-underline-offset: 6px;
  }

  .menu {
    display: none;
  }

  .lang-btn {
    background: transparent;
    padding: 0 10px;
    font-size: 14px;
  }

  .lang-btn:hover {
    background: rgba(255, 255, 255, 0.14);
  }
}

.stage {
  position: relative;
  overflow: hidden;
  background: radial-gradient(90% 120% at 50% 0%, var(--stage-700) 0%, var(--purple-900) 55%, var(--stage-900) 100%);
  color: var(--surface);
}

.range-bar {
  height: 8px;
  border-radius: var(--radius-pill);
  background: var(--range-gradient);
}

.range-bar--glow {
  box-shadow: 0 0 16px rgba(255, 35, 170, 0.55);
}

@media (min-width: 1024px) {
  .stage {
    background: radial-gradient(80% 120% at 50% 0%, var(--stage-700) 0%, var(--purple-900) 50%, var(--stage-900) 100%);
  }

  .range-bar {
    height: 10px;
  }

  .range-bar--glow {
    box-shadow: var(--stage-glow);
  }
}

.final {
  padding: 48px 0 40px;
  text-align: center;
}

.final__beam {
  position: absolute;
  top: -40px;
  width: 50px;
  height: 440px;
  pointer-events: none;
}

.final__beam--a {
  left: 12%;
  transform: rotate(24deg);
  background: linear-gradient(180deg, rgba(246, 236, 255, 0.2), rgba(246, 236, 255, 0));
}

.final__beam--b {
  display: none;
  right: 24%;
  width: 56px;
  transform: rotate(-20deg);
  background: linear-gradient(180deg, rgba(255, 108, 196, 0.22), rgba(255, 108, 196, 0));
}

.final .wrap {
  position: relative;
}

.final__title {
  font-size: 26px;
  font-weight: 900;
  line-height: 1.45;
}

.final .benefit-bar {
  margin-top: var(--space-md);
}

.final .range-bar {
  width: 220px;
  max-width: 100%;
  margin: 18px auto 0;
}

.final .store-buttons {
  margin-top: var(--space-xl);
}

@media (min-width: 768px) {
  .final .store-buttons {
    justify-content: center;
  }
}

@media (min-width: 1024px) {
  .final {
    padding: 76px 0 78px;
  }

  .final__beam--a {
    left: 22%;
    top: -60px;
    width: 90px;
    height: 520px;
    background: linear-gradient(180deg, rgba(246, 236, 255, 0.22), rgba(246, 236, 255, 0));
  }

  .final__beam--b {
    display: block;
    top: -60px;
    height: 520px;
  }

  .final__title {
    font-size: 44px;
    line-height: 1.3;
  }

  .final .benefit-bar {
    margin-top: var(--space-lg);
  }

  .final .range-bar {
    width: 360px;
    margin-top: 26px;
  }

  .final .store-buttons {
    margin-top: var(--space-xxl);
  }
}

.site-footer {
  padding: 32px 0 36px;
  background: var(--stage-950);
  color: var(--purple-200);
}

.site-footer a {
  color: var(--purple-200);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--surface);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-footer .brand {
  min-height: 0;
  font-size: 15px;
}

.site-footer .brand:hover {
  color: var(--surface);
  text-decoration: none;
}

.site-footer .brand svg {
  width: 26px;
  height: 26px;
}

.site-footer__nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--space-lg);
  margin-top: var(--space-lg);
  font-size: 14px;
  line-height: 1.4;
}

.site-footer__nav a {
  display: flex;
  align-items: center;
  min-height: 40px;
}

.site-footer__nav .site-footer__wide {
  grid-column: 1 / -1;
}

.other-apps-wrap {
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(222, 184, 255, 0.16);
}

.other-apps-wrap__title {
  color: var(--on-stage-3);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

/* スマホ：2列（各50%）。768px以上は横並び */
.other-apps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-sm) 12px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.other-apps li {
  min-width: 0;
}

.other-apps a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: var(--min-tap);
  color: var(--purple-200);
}

.other-apps__icon {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.other-apps__name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.site-footer__legal {
  margin-top: var(--space-md);
  color: var(--on-stage-3);
  font-size: 11px;
  line-height: 1.7;
}

@media (min-width: 768px) {
  .site-footer__top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md) var(--space-xxl);
  }

  .site-footer__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0 28px;
    margin-top: 0;
  }

  .other-apps {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm) var(--space-xl);
  }
}

@media (min-width: 1024px) {
  .site-footer {
    padding: 44px 0 40px;
  }

  .site-footer .brand {
    gap: 10px;
    font-size: 16px;
    letter-spacing: 0;
  }

  .site-footer .brand svg {
    width: 28px;
    height: 28px;
  }

  .other-apps-wrap {
    margin-top: var(--space-xl);
    padding-top: var(--space-xl);
  }

  .site-footer__legal {
    margin-top: var(--space-xl);
    font-size: 12px;
    line-height: 1.8;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .site-header__inner {
    transition: none;
  }
}
