/* ほしくず観測所の LP の見た目。
   色はゲームと同じ：夜空の紺・夕焼けの桃と橙・星くずの金・札のクリーム。明るい夜の 1 つの形だけ（暗い形は作らない）。
   書体は Noto Sans JP（同梱の切り出し）。台本は使わない。 */

@font-face { font-family: "HK Sans"; src: url("fonts/NotoSansJP-sub.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }

:root {
  color-scheme: light;
  --navy: #2b3768; --navy2: #3a4a8c; --deep: #1f2752;
  --sky: #5b6fc4; --dusk: #f2a98f; --peach: #ffd6a8;
  --gold: #f6c95f; --gold-d: #e3a93c; --gold-t: #8a5d12;
  --cream: #fffaf0; --paper: #fbf6ea; --band: #eef0fa; --rule: #dcd8ea;
  --ink: #232a4d; --muted: #5a6188;
  --sans: "HK Sans", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", system-ui, sans-serif;
  --r: 18px;
  --sh: 0 1px 2px rgba(35,42,77,.06), 0 12px 30px rgba(35,42,77,.12);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-weight: 400; font-size: 16px; line-height: 1.9; letter-spacing: .02em; overflow-x: clip; }
p { margin: 0 0 1em; text-wrap: pretty; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy2); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--gold-d); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-weight: 800; line-height: 1.4; letter-spacing: .04em; margin: 0; word-break: keep-all; overflow-wrap: anywhere; }
.nb { display: inline-block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; }

/* 頭の帯（sticky。fixed にしない） */
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(251,246,234,.94); border-bottom: 1px solid var(--rule); }
@supports (backdrop-filter: blur(6px)) { .site-head { background: rgba(251,246,234,.82); backdrop-filter: blur(8px); } }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; min-height: 48px; min-width: 0; }
.brand img { width: 36px; height: 36px; border-radius: 10px; box-shadow: 0 0 0 1px var(--rule); }
.brand b { display: block; font-weight: 800; font-size: 18px; letter-spacing: .08em; line-height: 1.15; white-space: nowrap; }
.brand small { display: block; font-size: 11.5px; color: var(--muted); letter-spacing: .1em; line-height: 1.35; white-space: nowrap; }
.site-nav { display: flex; align-items: center; gap: 2px; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 600; white-space: nowrap; border-radius: 99px; }
.site-nav a:hover { background: var(--band); }
.site-nav a.lang { min-width: 48px; justify-content: center; margin-left: 6px; border: 1px solid var(--rule); background: var(--cream); font-size: 13px; padding: 0 14px; }
@media (max-width: 860px) { .site-nav a:not(.lang) { display: none; } }
@media (max-width: 380px) { .brand small { display: none; } }
@media (max-width: 340px) { .brand { gap: 8px; } .brand b { font-size: 15px; } .site-nav a.lang { margin-left: 4px; padding: 0 10px; } }
:lang(en) body, body:lang(en) { letter-spacing: 0; line-height: 1.75; }
:lang(en) h1, :lang(en) h2, :lang(en) h3, :lang(en) .brand b, :lang(en) .tagline, :lang(en) .kick { letter-spacing: 0; }
:lang(en) .hero h1 { font-size: clamp(40px, 9.6vw, 62px); line-height: 1.12; letter-spacing: 0; }
:lang(en) h1, :lang(en) h2, :lang(en) h3 { overflow-wrap: normal; }

/* 夜空（星の点） */
.sky { position: absolute; inset: 0; pointer-events: none; opacity: .9;
  background-image:
    radial-gradient(1.6px 1.6px at 8% 14%, #fff 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 22% 38%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 35% 9%, #fff6d0 50%, transparent 51%),
    radial-gradient(1.3px 1.3px at 48% 30%, #fff 50%, transparent 51%),
    radial-gradient(1.8px 1.8px at 63% 12%, #fff 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 74% 34%, #fff 50%, transparent 51%),
    radial-gradient(2.2px 2.2px at 88% 18%, #fff6d0 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 94% 44%, #fff 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 15% 60%, #fff 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 56% 52%, #fff 50%, transparent 51%); }

/* 最初の画面：夜空から夕焼けへ */
.hero { position: relative; color: #fff; padding: 44px 0 56px; overflow: hidden;
  background: linear-gradient(180deg, var(--deep) 0%, var(--navy) 34%, var(--sky) 66%, #c98fb0 86%, var(--dusk) 100%); }
.hero .wrap { position: relative; display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) { .hero { padding: 72px 0 88px; } .hero .wrap { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; } }
.kick { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 15px; font-weight: 600; letter-spacing: .14em; color: #ffe7a8; }
.star { width: 14px; height: 14px; background: var(--gold); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); flex: none; }
.hero h1 { font-size: clamp(44px, 11vw, 76px); line-height: 1.2; letter-spacing: .08em; margin-bottom: 18px; text-shadow: 0 2px 18px rgba(255,214,140,.45), 0 2px 0 rgba(20,24,60,.35); }
.tagline { font-size: clamp(21px, 4.6vw, 28px); font-weight: 700; line-height: 1.6; letter-spacing: .05em; margin: 0 0 18px; color: #fff6dc; }
.hero .lead { font-size: 16px; max-width: 32em; color: rgba(255,255,255,.94); }
.hero-meta { margin: 20px 0 22px; }
.soon { display: inline-flex; align-items: center; gap: 8px; padding: 7px 18px 7px 14px; border-radius: 99px; background: var(--cream); color: var(--navy); font-weight: 800; font-size: 15px; letter-spacing: .1em; box-shadow: 0 0 0 2px var(--gold), 0 6px 18px rgba(20,24,60,.25); }
.soon::before { content: ""; width: 10px; height: 10px; background: var(--gold-d); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px; border-radius: 99px; font: 700 16px/1.2 var(--sans); text-decoration: none; letter-spacing: .06em; }
.btn-gold { background: var(--gold); color: var(--navy); box-shadow: 0 6px 0 var(--gold-d), 0 10px 22px rgba(20,24,60,.25); }
.btn-gold:hover { background: #ffd673; color: var(--navy); }
.hero-art { margin: 0; position: relative; }
.hero-art img { border-radius: 22px; box-shadow: 0 0 0 3px rgba(255,246,220,.55), 0 20px 50px rgba(15,20,55,.45); }
.hero-art figcaption, .art-cap, .closing-art figcaption { font-size: 12px; letter-spacing: .1em; opacity: .8; margin-top: 8px; text-align: right; }

/* 段 */
.sec { padding: 72px 0; }
@media (min-width: 960px) { .sec { padding: 80px 0; } }
.sec.band { background: var(--band); background-image: radial-gradient(ellipse at 50% 0%, rgba(255,255,255,.7), rgba(255,255,255,0) 60%); }
.folio { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; color: var(--muted); font-size: 14px; font-weight: 700; letter-spacing: .16em; }
.folio .no { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--gold); font-size: 14px; letter-spacing: 0; box-shadow: 0 0 0 4px rgba(246,201,95,.35); }
.folio::after { content: ""; flex: 1; max-width: 220px; height: 0; border-top: 2px dashed var(--rule); }
.sec h2 { font-size: clamp(27px, 5.6vw, 40px); margin-bottom: 16px; color: var(--navy); }
.sec .lead { font-size: 16.5px; max-width: 40em; }
.art-cap { color: var(--muted); }

/* 観測所の 3 つ */
.cast { display: grid; gap: 18px; margin-top: 28px; }
@media (min-width: 720px) { .cast { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.cast-card { background: var(--cream); border-radius: var(--r); box-shadow: var(--sh); overflow: hidden; padding-bottom: 6px; }
.cast-card .pic img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.cast-card h3 { font-size: 21px; color: var(--navy); margin: 16px 20px 6px; }
.cast-card p { margin: 0 20px 16px; font-size: 15.5px; }

/* 画面の写真（スマホの枠） */
.phone { margin: 0; border-radius: 26px; padding: 7px; background: var(--deep); box-shadow: var(--sh); }
.phone img { border-radius: 20px; width: 100%; }

/* 遊び方 */
.steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 28px; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 26px; } }
.step { display: grid; gap: 16px; align-content: start; }
.step .phone { max-width: 300px; width: 100%; margin: 0 auto; }
.step .no { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: var(--navy); font-weight: 800; margin-bottom: 8px; }
.step h3 { font-size: 21px; color: var(--navy); margin-bottom: 6px; }
.step p { font-size: 15.5px; }

/* 見どころ */
.moments { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 28px; }
@media (min-width: 720px) { .moments { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.moment .phone { max-width: 300px; margin: 0 auto 14px; }
.moment h3 { font-size: 20px; color: var(--navy); margin-bottom: 4px; }
.moment p { font-size: 15.5px; }

/* 特長 */
.features { display: grid; gap: 20px; margin-top: 28px; }
@media (min-width: 860px) { .features { grid-template-columns: repeat(2, 1fr); gap: 22px; } }
.feature { display: grid; grid-template-columns: 190px 1fr; gap: 18px; align-items: center; background: var(--cream); border-radius: var(--r); padding: 18px; box-shadow: var(--sh); border-top: 4px solid var(--gold); }
.feature .crop { margin: 0; }
.feature .crop img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; box-shadow: 0 0 0 3px var(--deep); }
.feature h3 { font-size: 19px; color: var(--navy); margin-bottom: 6px; }
.feature p { font-size: 15px; margin: 0; }
@media (max-width: 560px) { .feature { grid-template-columns: 1fr; } }

/* 開発中の注釈（そのページの言語の1行だけ） */
.dev-note { margin: 30px auto 0; max-width: 760px; padding: 14px 20px; border-radius: 14px; background: rgba(255,255,255,.7); border: 1px solid var(--rule); color: var(--muted); font-size: 13px; line-height: 1.7; }
.dev-note p { margin: 0; font-weight: 700; color: var(--ink); }

/* よくある質問 */
.faq { margin-top: 24px; display: grid; gap: 12px; max-width: 820px; }
.faq details { background: var(--cream); border-radius: 14px; box-shadow: var(--sh); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 52px 16px 20px; min-height: 56px; font-weight: 700; color: var(--navy); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; background: var(--band); display: grid; place-items: center; font-size: 18px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0; padding: 0 20px 18px; font-size: 15.5px; }

/* 締め */
.closing { position: relative; overflow: hidden; color: #fff; text-align: center; padding: 72px 0 80px;
  background: linear-gradient(180deg, var(--deep) 0%, var(--navy) 40%, var(--sky) 75%, #d79bb0 100%); }
.closing .wrap { position: relative; display: grid; justify-items: center; gap: 14px; }
.closing-icon { width: 96px; height: 96px; border-radius: 24px; box-shadow: 0 0 0 3px var(--gold), 0 0 40px rgba(246,201,95,.55); }
.closing-name { margin: 6px 0 0; font-size: 18px; font-weight: 800; letter-spacing: .14em; color: #ffe7a8; }
.closing h2 { font-size: clamp(24px, 6vw, 44px); text-shadow: 0 2px 16px rgba(255,214,140,.4); margin-bottom: 6px; }
.closing-art { margin: 28px 0 0; width: 100%; max-width: 360px; }
.closing-art img { border-radius: 22px; box-shadow: 0 0 0 3px rgba(255,246,220,.5), 0 20px 50px rgba(15,20,55,.4); }

/* 足 */
.site-foot { padding: 28px 0 40px; font-size: 13px; color: var(--muted); }
.site-foot .links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 8px; }
.site-foot a { display: inline-flex; align-items: center; min-height: 44px; }
