:root {
  color-scheme: light;
  --canvas: #f8f6f1;
  --paper: #fffefa;
  --ink: #1c1b30;
  --muted: #59566a;
  --plum: #513587;
  --accent: #5b3c96;
  --line: #ded9e3;
  --night: #201a3b;
  --wrap: 1272px;
  font-family: "Pretendard Variable", Pretendard, "Malgun Gothic", "Apple SD Gothic Neo", Arial, sans-serif;
  font-synthesis: none;
  background: var(--canvas);
  color: var(--ink);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3, p, dd { word-break: keep-all; overflow-wrap: anywhere; }
a:focus-visible, button:focus-visible, select:focus-visible, video:focus-visible { outline: 3px solid #946ce8; outline-offset: 4px; }
.wrap { width: min(var(--wrap), calc(100% - 112px)); margin-inline: auto; }
.skip { position: fixed; top: 12px; left: 12px; z-index: 10; padding: 12px; background: white; transform: translateY(-150%); }
.skip:focus { transform: translateY(0); }
.header { position: sticky; top: 0; z-index: 5; background: var(--canvas); border-bottom: 1px solid #e9e4dd; }
.header-inner { min-height: 77px; display: flex; justify-content: space-between; align-items: center; gap: clamp(15px, 2vw, 30px); }
.brand { display: inline-block; flex-shrink: 0; }
.brand img { height: auto; width: 171px; }
.header nav { display: flex; align-items: center; gap: clamp(16px, 2vw, 34px); }
.header nav a, .header-app { font-size: .92rem; font-weight: 700; white-space: nowrap; }
.header nav a:hover, .footer a:hover { color: var(--plum); text-decoration: underline; text-underline-offset: 4px; }
.header-app { border: 1px solid #c9c3d4; border-radius: 40px; padding: 10px 19px; color: var(--muted); background: transparent; white-space: nowrap; }
.menu-toggle { display: none; }
.language-picker {
  appearance: none;
  flex-shrink: 0;
  border: 1px solid #bdb4cc;
  border-radius: 24px;
  padding: 8px 27px 8px 12px;
  min-height: 38px;
  background: linear-gradient(45deg, transparent 50%, var(--plum) 50%) right 14px center / 4px 4px no-repeat,
              linear-gradient(135deg, var(--plum) 50%, transparent 50%) right 10px center / 4px 4px no-repeat;
  color: var(--ink);
  font: inherit;
  font-size: .88rem;
  cursor: pointer;
}

.hero { padding: 44px 0 52px; }
.hero-grid { display: grid; grid-template-columns: .92fr 1.23fr; gap: clamp(25px, 3.3vw, 54px); align-items: center; }
.hero-copy { padding: 24px 0; }
.eyebrow { color: var(--plum); display: flex; gap: 9px; align-items: center; font-family: Arial, sans-serif; font-size: .76rem; font-weight: 750; line-height: 1.4; letter-spacing: .13em; }
.eyebrow::before { content: ""; width: 16px; height: 1px; background: currentColor; flex: none; }
h1 { margin-top: 26px; font-size: clamp(2.65rem, 4.72vw, 4.7rem); line-height: 1.14; letter-spacing: -.092em; font-weight: 800; }
h1 em { color: var(--plum); font-style: normal; }
html[lang="en"] :is(h1, h2) { letter-spacing: -.045em; }
html[lang="ja"] :is(h1, h2, h3, p, dd) { word-break: normal; }
.hero-lead { max-width: 420px; margin-top: 24px; font-size: clamp(1rem, 1.35vw, 1.14rem); line-height: 1.8; color: var(--muted); }
.actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 11px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 0 22px; border: 1px solid transparent; border-radius: 40px; font-size: .94rem; font-weight: 750; transition: background-color .18s ease, color .18s ease; }
.hero-ad-link { display: inline-block; margin-top: 17px; color: var(--plum); font-size: .94rem; font-weight: 750; text-decoration: underline; text-underline-offset: .22em; }
.primary { color: white; background: var(--plum); }
.primary:hover { background: #3f276d; }
.outline { color: var(--ink); border-color: #bdb4cc; background: transparent; }
.outline:hover { background: #ece7f5; }
.hero-visual {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 1.6vw, 22px);
  width: 100%;
  max-width: 620px;
  justify-self: center;
}
.hero-shot { min-width: 0; padding: clamp(5px, 1vw, 13px); border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.hero-shot figcaption { margin: 8px 0 1px; text-align: center; font-size: .875rem; line-height: 1.5; font-weight: 700; }
.hero-media { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: #f2e8dd; }
.hero-product, .phone-preview img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-product { object-fit: cover; object-position: 7% center; }
.phone-preview { background: #ede7f4; }
.phone-preview img { object-fit: contain; }

.intro { border-block: 1px solid var(--line); padding-block: 47px; }
.intro-grid { display: grid; grid-template-columns: .55fr 1fr; gap: 34px; align-items: start; }
.intro-grid > .eyebrow { margin-top: 9px; }
h2 { font-weight: 800; letter-spacing: -.075em; font-size: clamp(2rem, 3.4vw, 3.55rem); line-height: 1.24; }
.intro h2 { font-size: clamp(1.65rem, 2.65vw, 2.7rem); }
.intro p:not(.eyebrow), .section-lead { color: var(--muted); font-size: 1.06rem; line-height: 1.85; margin-top: 15px; max-width: 700px; }
.section { padding-block: clamp(68px, 7vw, 112px); }
.section-head h2, .product h2, .app h2 { margin-top: 15px; }

.how { background: var(--paper); }
.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; padding: 0; margin: 41px 0 0; border-block: 1px solid var(--line); }
.step-grid li { padding: 28px 30px 32px; }
.step-grid li:first-child { padding-left: 0; }
.step-grid li + li { border-left: 1px solid var(--line); }
.step-symbol { display: grid; place-items: center; position: relative; width: 46px; height: 46px; color: var(--plum); background: #eee7f7; border-radius: 50%; }
.step-symbol i { display: block; position: relative; width: 20px; height: 16px; }
.icon-film, .icon-camera { border: 1.6px solid currentColor; border-radius: 3px; }
.icon-film::before { content: ""; position: absolute; top: 3px; bottom: 3px; left: 4px; right: 4px; background: repeating-linear-gradient(135deg, currentColor 0 1px, transparent 1px 3px); }
.icon-camera::before { content: ""; position: absolute; inset: 3px 5px; border: 1.4px solid currentColor; border-radius: 50%; }
.icon-camera::after { content: ""; position: absolute; width: 8px; top: -4px; height: 3px; left: 4px; border: 1.4px solid currentColor; border-bottom: none; }
.icon-chart { border-bottom: 1.5px solid currentColor; background: linear-gradient(currentColor,currentColor) 1px 5px / 4px 10px no-repeat, linear-gradient(currentColor,currentColor) 8px 8px / 4px 7px no-repeat, linear-gradient(currentColor,currentColor) 15px 1px / 4px 14px no-repeat; }
.step-grid h3 { margin-top: 16px; font-size: 1.2rem; letter-spacing: -.035em; }
.step-grid p { margin-top: 11px; color: var(--muted); line-height: 1.75; }

.product { background: #f2edf6; }
.product-grid, .app-grid, .osaka-grid { display: grid; grid-template-columns: 1.13fr .87fr; align-items: center; gap: clamp(38px, 6vw, 94px); }
.packaging img { width: 100%; height: auto; border-radius: 13px; }
figcaption, .caption { margin-top: 12px; font-size: .84rem; line-height: 1.65; color: var(--muted); }
.product-details { margin-top: 24px; }
.product-details > div { display: grid; gap: 5px; padding-block: 14px; border-top: 1px solid #d6cbdf; }
dt { font-weight: 800; }
dd { color: var(--muted); line-height: 1.65; }

.app { background: var(--night); color: white; }
.app-grid { grid-template-columns: 1fr .75fr; }
.app .eyebrow { color: #cbb5f5; }
.app-copy > p:not(.eyebrow):not(.caption) { color: #e5ddef; line-height: 1.8; max-width: 530px; margin-top: 13px; }
.app-copy .app-tagline { font-size: 1.25rem; font-weight: 750; color: white; }
.app .caption { color: #c8bdd6; margin-top: 25px; max-width: 470px; }
.light { background: #f0e6ff; color: #33204f; }
.light:hover:not(:disabled) { background: white; }
.outline-light { color: white; background: transparent; border-color: #86769e; }
.outline-light:hover:not(:disabled) { background: #3c3157; }
button:disabled { cursor: default; opacity: .66; }
.app .availability-note { font-size: .9rem; }
.reel { position: relative; display: block; justify-self: center; width: min(100%, 244px); padding: 6px; background: #151124; border: 1px solid #786796; border-radius: 21px; box-shadow: 0 20px 64px #100b25b0; }
.reel img { width: 100%; height: auto; border-radius: 15px; }

.osaka-grid { grid-template-columns: 1fr 1fr; }
.osaka .button { margin-top: 26px; }
.osaka-plan { background: var(--paper); border: 1px solid var(--line); padding: clamp(20px, 4vw, 40px); border-radius: 14px; }
.osaka-plan h3 { margin-bottom: 17px; font-size: 1.28rem; letter-spacing: -.04em; }
.osaka-plan dl > div { padding: 13px 0; border-top: 1px solid var(--line); }
.osaka-plan dl > div:last-child { padding-bottom: 0; }
.osaka-plan dd { margin-top: 4px; }

.partnership { background: #f2edf6; }
.partnership-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 28px; }
.partnership-lead { margin-top: 16px; color: var(--plum); font-size: 1.12rem; line-height: 1.6; font-weight: 750; }
.partnership .section-lead { margin-top: 8px; }
.partnership-actions { display: flex; flex-wrap: wrap; gap: 11px; justify-self: start; }
#advertising:target { outline: 2px solid var(--plum); outline-offset: 3px; }

.footer { background: #ece8f0; }
.footer-top { min-height: 94px; display: flex; gap: 22px; justify-content: space-between; align-items: center; }
.footer-top > a:last-child { color: var(--plum); font-size: .97rem; }
.footer-bottom { padding-block: 17px 21px; border-top: 1px solid #d9d2e2; color: var(--muted); }
.footer-bottom small { font-size: .83rem; }

@media (max-width: 1050px) {
  .wrap { width: calc(100% - 72px); }
}
@media (max-width: 1050px) {
  html { scroll-padding-top: 75px; }
  .header-inner { min-height: 66px; gap: 12px; }
  .brand img { width: 146px; }
  .menu-toggle { display: inline-flex; padding: 7px 12px; border: 1px solid #bdb4cc; border-radius: 28px; background: none; color: var(--ink); font-size: .88rem; }
  .header-app { display: none; }
  .language-picker { margin-left: auto; }
  .menu-toggle { order: 1; }
  .header nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 8px 22px 15px; background: var(--canvas); border-bottom: 1px solid var(--line); }
  .menu-toggle[aria-expanded="true"] + nav { display: grid; gap: 0; }
  .header nav a { padding: 12px 0; }
  .header nav a + a { border-top: 1px solid var(--line); }
}
@media (max-width: 820px) {
  .wrap { width: calc(100% - 44px); }
  .hero { padding: 32px 0 38px; }
  .hero-grid { grid-template-columns: 1fr; gap: 27px; }
  .hero-copy { padding: 9px 0 0; }
  h1 { font-size: clamp(2.45rem, 8.8vw, 4.65rem); }
  .intro-grid { grid-template-columns: 1fr; gap: 13px; }
  .product-grid, .osaka-grid, .partnership-grid { grid-template-columns: 1fr; }
  .product-copy { grid-row: 1; }
  .packaging { max-width: 650px; }
}
@media (max-width: 520px) {
  .header-inner { gap: 8px; }
  .header .brand img { width: clamp(107px, 35vw, 146px); }
  .language-picker { padding-left: 8px; }
  .menu-toggle { padding-inline: 9px; }
  .intro { padding-block: 35px; }
  .step-grid { grid-template-columns: 1fr; margin-top: 26px; }
  .step-grid li, .step-grid li:first-child { display: grid; grid-template-columns: 46px 1fr; column-gap: 14px; padding: 18px 0; }
  .step-grid li + li { border-left: 0; border-top: 1px solid var(--line); }
  .step-symbol { grid-row: span 2; }
  .step-grid h3 { margin-top: 0; }
  .step-grid p { margin-top: 5px; }
  .app-grid { grid-template-columns: 1fr; }
  .reel { width: min(72%, 244px); }
  .footer-top { flex-wrap: wrap; justify-content: flex-start; padding-block: 21px; min-height: 0; gap: 13px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
