:root {
  color-scheme: light;
  --ink: #271620;
  --muted: #614d58;
  --pink: #ffb7c5;
  --paper: #fcf5f5;
  --shell: #fffafa;
  --line: #eddae0;
  --primary: #8e2450;
  --night: #1c111b;
  --night-ink: #fff5f8;
  --night-muted: #dec2cd;
  --sans: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, system-ui, sans-serif;
  --serif: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif CJK JP", "Georgia", serif;
  --wrap: min(1160px, calc(100% - 2 * clamp(16px, 5vw, 42px)));
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.8 var(--sans); }
a { color: inherit; text-underline-offset: .2em; }
a:focus-visible, summary:focus-visible { outline: 2px solid #a53365; outline-offset: 4px; }
.dark a:focus-visible { outline-color: var(--pink); }
img { max-width: 100%; height: auto; vertical-align: middle; }
p, h1, h2, h3, figure { margin: 0; }
[id] { scroll-margin-top: 24px; }
.wrap { width: var(--wrap); margin-inline: auto; }
.skip { position: absolute; z-index: 5; top: 10px; left: 12px; padding: 10px 16px; background: #fff; color: #35212d; transform: translateY(-160%); }
.skip:focus { transform: none; }
.header { position: relative; z-index: 2; background: var(--night); color: var(--night-ink); border-bottom: 1px solid #412b39; }
.header-inner { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; }
.brand { text-decoration: none; display: inline-flex; align-items: center; flex-shrink: 0; gap: 10px; font-size: 1.13rem; font-weight: 760; letter-spacing: -.035em; line-height: 1.15; }
.brand img { height: 39px; width: 39px; border-radius: 11px; }
.nav { display: flex; align-items: center; flex-wrap: wrap; gap: 2px clamp(10px, 2.2vw, 31px); }
.nav a { display: inline-flex; min-height: 44px; align-items: center; font-size: .87rem; color: var(--night-muted); font-weight: 650; text-decoration: none; }
.nav a:hover, .nav a[aria-current] { color: #fff; text-decoration: underline; }
.header-actions { display: flex; align-items: center; gap: clamp(10px, 2vw, 20px); }
.nav-button { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 14px; border: 1px solid #7a4b60; border-radius: 100px; color: #ffdae4; font-size: .86rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.nav-button:hover { background: var(--pink); color: #2f1324; }
.dark { color: var(--night-ink); background: var(--night); }
.hero { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(ellipse at 73% 50%, #543047 0%, #281825 41%, #1c111b 73%); }
.sakura { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.sakura-petal {
  position: absolute;
  inset-block: -18px 0;
  left: var(--petal-left);
  width: var(--petal-size);
  animation: sakura-fall var(--petal-duration) linear var(--petal-delay) infinite;
}
.sakura-petal::before {
  content: "";
  display: block;
  width: 100%;
  height: var(--petal-size);
  border-radius: 0 100% 0 100%;
  background: radial-gradient(ellipse at 40% 35%, #ffd6e0, #ffb7c5 50%, #e8729a);
  animation: sakura-turn var(--petal-duration) linear var(--petal-delay) infinite;
}
@keyframes sakura-fall {
  0% { transform: translate3d(0, 0, 0); opacity: 0; }
  14% { opacity: .63; }
  86% { opacity: .38; }
  100% { transform: translate3d(var(--petal-drift), 100%, 0); opacity: 0; }
}
@keyframes sakura-turn { to { transform: rotate(560deg); } }
.hero-layout { position: relative; min-height: 615px; padding-block: 70px 76px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: clamp(20px, 4vw, 58px); }
.kicker { display: flex; align-items: center; gap: .72em; margin-bottom: .95rem; color: var(--primary); font-size: .83rem; font-weight: 750; letter-spacing: .075em; }
.kicker::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.dark .kicker { color: #ffc2d1; }
h1, h2 { font-family: var(--serif); font-weight: 740; letter-spacing: -.035em; }
.hero h1 { font-size: clamp(2.75rem, 6.55vw, 5.95rem); line-height: 1.22; }
.hero h1:lang(ja) { font-size: clamp(2.72rem, 6vw, 4.75rem); }
.hero h1 span { color: var(--pink); }
.hero-copy { max-width: 43ch; text-wrap: pretty; margin-top: 26px; color: var(--night-muted); font-size: clamp(1rem, 1.65vw, 1.16rem); }
.stores { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 30px; }
.store { display: inline-flex; flex-direction: column; justify-content: center; align-items: flex-start; min-height: 57px; padding: 7px 21px 9px; border-radius: 13px; border: 1px solid #8b5872; color: var(--night-ink); text-decoration: none; font-weight: 760; font-size: 1rem; line-height: 1.2; }
.store small { display: block; font-size: .68rem; margin-bottom: 3px; font-weight: 650; }
.store.is-primary { background: var(--pink); border-color: var(--pink); color: #291421; }
.store:hover { background: #ffdae4; color: #321628; border-color: #ffdae4; }
.app-store-rating { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .55em; margin-top: 12px; color: var(--night-muted); font-size: .875rem; line-height: 1.5; }
.app-store-rating-star, .app-store-rating-score strong { color: var(--pink); }
.app-store-rating-score { white-space: nowrap; }
.app-store-rating-score strong { font-size: 1.25rem; line-height: 1; }
.hero-art { position: relative; isolation: isolate; min-width: 0; min-height: 472px; display: grid; place-items: center; }
.orbits { position: absolute; width: min(97%, 444px); aspect-ratio: 1; border-radius: 50%; z-index: -1; background: linear-gradient(141deg, #c4708d 0%, #965172 66%, #663f59 100%); box-shadow: 0 0 68px #d672a044; }
.orbits::before, .orbits::after { content: ""; position: absolute; border-radius: inherit; border: 1px solid #ffcee169; inset: -15px; }
.orbits::after { inset: 13px; border-color: #ffe5ef5e; }
.hero-art::before { content: ""; position: absolute; width: 490px; height: 490px; border: 1px solid #d889ac44; border-radius: 50%; transform: translate(-13%, 5%); z-index: -2; }
.phone { position: relative; border: 1px solid #c591a9; background: #21131f; padding: 8px; width: min(100%, 238px); border-radius: 30px; box-shadow: 0 18px 44px #21132280, 0 0 0 3px #46283c; overflow: hidden; }
.hero-art .phone { transform: rotate(6deg); }
.phone img { display: block; width: 100%; height: auto; border-radius: 22px; }
.section { padding-block: clamp(57px, 8vw, 100px); }
.section-head { max-width: 670px; margin-bottom: 30px; }
.section-head h2 { font-size: clamp(1.95rem, 4vw, 3.2rem); line-height: 1.28; }
.section-head p, .lede { margin-top: 12px; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2.2vw, 25px); }
.topic { display: flex; flex-direction: column; min-width: 0; position: relative; padding: 25px clamp(16px, 2.6vw, 30px); background: var(--shell); border: 1px solid var(--line); border-radius: 22px; text-decoration: none; box-shadow: 0 8px 15px #571f3307; }
.topic:hover { border-color: #c1859d; box-shadow: 0 12px 26px #571f3311; }
.topic-mark { display: grid; place-items: center; margin-bottom: 20px; width: 54px; height: 46px; border-radius: 12px; background: #f5d8e2; color: #792345; font-size: .73rem; font-weight: 850; letter-spacing: .045em; }
.topic:nth-child(2) .topic-mark { background: #f4d7e2; }
.topic:nth-child(3) .topic-mark { background: #efdeeb; color: #633458; }
.topic h3 { font-size: clamp(1.16rem, 2.4vw, 1.46rem); line-height: 1.4; margin-bottom: 10px; }
.topic p { color: var(--muted); font-size: .925rem; margin-bottom: 18px; }
.topic .arrow { margin-top: auto; color: #812347; font-size: .88rem; font-weight: 740; }
.showcase { background: #f4e3e9; border-block: 1px solid #ead4de; }
.screens { --screen-gap: clamp(10px, 1.6vw, 18px); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--screen-gap); }
.screen-tile { min-width: 0; border: 1px solid #e9cdd9; background: #fbf1f5; border-radius: 24px; padding: 20px 8px 16px; text-align: center; }
.screen-tile .phone { margin-inline: auto; width: min(100%, 178px); border-width: 0; border-radius: 24px; padding: 5px; box-shadow: 0 10px 18px #43203735; }
.screen-tile .phone img { border-radius: 19px; }
.screen-tile figcaption { margin-top: 15px; font-size: .93rem; font-weight: 700; }
.faq { max-width: 820px; }
details { background: var(--shell); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 9px; }
summary { min-height: 48px; display: list-item; cursor: pointer; padding: 12px 18px; font-weight: 680; }
details p { padding: 0 19px 16px; color: var(--muted); }
.download { padding-block: 60px; background: linear-gradient(120deg,#291829,#572b46); }
.download .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 15px 40px; }
.download h2 { font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.28; }
.download p { margin-top: 7px; color: var(--night-muted); }
.download .stores { margin-top: 0; }
.footer { padding-block: 28px; border-top: 1px solid #442b3d; background: var(--night); color: var(--night-muted); font-size: .84rem; }
.footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 18px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer a { display: inline-flex; align-items: center; min-height: 40px; }
.guide-hero { padding-block: clamp(38px, 8vw, 94px); background: radial-gradient(ellipse at 78% 0%, #663a58 0%, #291827 61%); }
.guide-hero h1 { max-width: 21ch; text-wrap: balance; font-size: clamp(2.25rem, 5.85vw, 4.7rem); line-height: 1.19; }
.guide-hero h1:lang(ja) { max-width: 1100px; font-size: clamp(2.1rem, 5.2vw, 4.45rem); }
.guide-hero p { max-width: 62ch; text-wrap: pretty; color: var(--night-muted); margin-top: 20px; }
.guide-hero .kicker { color: #ffc2d1; margin-top: 0; max-width: none; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 27px; font-size: .84rem; color: #f1d6df; }
.article { padding-block: clamp(30px, 6vw, 69px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 290px); align-items: start; gap: clamp(24px, 7vw, 94px); }
.prose { max-width: 73ch; min-width: 0; }
.prose section { margin-bottom: 31px; }
.prose h2, .related h2 { font-size: clamp(1.4rem, 3.05vw, 2.05rem); line-height: 1.4; margin-bottom: 10px; }
.prose p + p { margin-top: .7em; }
.prose ol { padding-inline-start: 1.5em; }
.prose li + li { margin-top: 6px; }
.prose a, .related a { color: var(--primary); }
.aside { background: #fff8f9; border: 1px solid var(--line); border-radius: 16px; padding: 18px 21px; line-height: 1.55; }
.aside h2 { font-size: 1.35rem; }
.related ul { margin: 0; padding: 0; list-style: none; }
.related a { display: flex; align-items: center; min-height: 43px; padding-block: 6px; }
.related li + li { border-top: 1px solid var(--line); }
@media (max-width: 850px) {
  .header-inner { flex-wrap: wrap; min-height: auto; padding-block: 12px 5px; gap: 4px 12px; }
  .nav { order: 3; flex-basis: 100%; justify-content: flex-start; gap: 3px 19px; }
  .hero-layout { min-height: 520px; padding-block: 48px; }
  .hero-art { min-height: 330px; }
  .hero-art .phone { width: min(82%, 185px); }
  .screens { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-art::before { width: 340px; height: 340px; }
}
@media (max-width: 620px) {
  .sakura-petal:nth-child(3n) { display: none; }
  .hero-layout, .article { grid-template-columns: minmax(0, 1fr); }
  .hero-layout { gap: 16px; padding-block: 36px 42px; }
  .hero-copy { margin-top: 19px; }
  .stores { margin-top: 23px; }
  .hero-art { margin-top: 14px; min-height: 320px; }
  .hero-art .phone { width: min(75%, 155px); }
  .orbits { width: min(76%, 285px); }
  .hero-art::before { width: min(95%, 322px); height: auto; aspect-ratio: 1; }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .screens { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .screen-tile:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc((100% - var(--screen-gap)) / 2); }
}
@media (max-width: 400px) {
  .hero h1:lang(en) { font-size: clamp(1.95rem, 9vw, 2.3rem); }
}
@media (max-width: 370px) {
  .brand { font-size: 1rem; gap: 7px; }
  .brand img { width: 32px; height: 32px; }
  .header-actions { gap: 8px; }
  .nav-button { padding-inline: 9px; font-size: .76rem; }
  .header-inner .nav { gap: 4px 12px; }
  .nav a { font-size: .76rem; }
  .hero h1, .hero h1:lang(ja) { font-size: clamp(2.1rem, 11.5vw, 2.65rem); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sakura { display: none; }
}

.phrase { white-space: nowrap; }

.locale-switch { position: relative; margin: 0; padding: 0; background: transparent; border: 0; }
.locale-switch summary { display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 3px; color: var(--night-ink); font-size: .84rem; white-space: nowrap; }
.locale-switch summary::after { content: ""; width: 6px; height: 6px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.locale-switch[open] summary::after { transform: translateY(2px) rotate(225deg); }
.locale-switch ul { position: absolute; top: 100%; right: 0; min-width: 128px; margin: 0; padding: 5px; list-style: none; background: #2d1a29; border: 1px solid #7a4b60; border-radius: 12px; }
.locale-switch a { display: flex; align-items: center; min-height: 40px; padding: 3px 10px; color: var(--night-ink); text-decoration: none; white-space: nowrap; }
.locale-switch a:hover, .locale-switch a[aria-current] { color: var(--pink); }
