/* sora / style.css — 夜空テーマ（きみの空）モバイルファースト */
:root {
  --bg-top: #0b0d26;
  --bg-mid: #141238;
  --bg-bottom: #1e1440;
  --card: rgba(255, 255, 255, 0.05);
  --card-border: rgba(201, 180, 88, 0.35);
  --gold: #c9b458;
  --gold-bright: #e8d9a0;
  --text: #f0eee6;
  --text-dim: #b8bad8;
  --shadow: rgba(0, 0, 0, 0.4);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 55%, var(--bg-bottom) 100%);
  background-attachment: fixed;
  min-height: 100vh;
  line-height: 1.8;
  position: relative;
}

/* 星空（軽量: radial-gradientの点描） */
.stars {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(255,255,255,0.9) 50%, transparent 51%),
    radial-gradient(1px 1px at 28% 62%, rgba(255,255,255,0.6) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 41% 33%, rgba(232,217,160,0.9) 50%, transparent 51%),
    radial-gradient(1px 1px at 55% 78%, rgba(255,255,255,0.7) 50%, transparent 51%),
    radial-gradient(1px 1px at 63% 12%, rgba(255,255,255,0.8) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 74% 48%, rgba(232,217,160,0.8) 50%, transparent 51%),
    radial-gradient(1px 1px at 86% 25%, rgba(255,255,255,0.6) 50%, transparent 51%),
    radial-gradient(1px 1px at 92% 70%, rgba(255,255,255,0.8) 50%, transparent 51%),
    radial-gradient(1px 1px at 8% 85%, rgba(255,255,255,0.5) 50%, transparent 51%),
    radial-gradient(1px 1px at 35% 92%, rgba(232,217,160,0.6) 50%, transparent 51%);
  background-size: 100% 100%;
}

.wrap {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
  padding: 24px 18px 48px;
}

/* ---------- 見出し ---------- */
.hero { text-align: center; padding-top: 10vh; }

.hero-eyebrow {
  color: var(--gold);
  letter-spacing: 0.25em;
  font-size: 0.8rem;
  text-align: center;
  margin-bottom: 8px;
}

.site-title {
  font-family: 'Shippori Mincho', serif;
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--gold-bright);
  letter-spacing: 0.15em;
  text-shadow: 0 0 24px rgba(201, 180, 88, 0.35);
  margin-bottom: 20px;
}

.hero-lead {
  color: var(--text-dim);
  font-size: 0.95rem;
  margin-bottom: 36px;
}

.page-title {
  font-family: 'Shippori Mincho', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold-bright);
  letter-spacing: 0.1em;
  text-align: center;
  margin: 12px 0 24px;
}

/* ---------- ボタン ---------- */
.hero-buttons { display: flex; flex-direction: column; gap: 14px; align-items: center; }

.btn {
  display: inline-block;
  width: 100%;
  max-width: 320px;
  min-height: 52px;
  padding: 13px 24px;
  border-radius: 999px;
  font-size: 1.05rem;
  font-weight: 500;
  font-family: inherit;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: linear-gradient(135deg, #d4bf6a, #b09a3e);
  color: #1a1530;
  border: none;
  box-shadow: 0 4px 18px rgba(201, 180, 88, 0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--gold-bright);
  border: 1px solid var(--card-border);
}

.btn.copied {
  background: linear-gradient(135deg, #9ed4a0, #6ab06e);
}

.btn-submit { display: block; margin: 28px auto 8px; }

/* ---------- フォーム ---------- */
.back {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.9rem;
}

fieldset.person {
  border: 1px solid var(--card-border);
  border-radius: 16px;
  background: var(--card);
  padding: 18px 16px 8px;
  margin-bottom: 20px;
}

fieldset.person legend {
  padding: 0 10px;
  color: var(--gold-bright);
  font-weight: 500;
}

.field { margin-bottom: 18px; }

.field > label {
  display: block;
  font-size: 0.85rem;
  color: var(--gold-bright);
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}

.row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }

select, input[type="text"] {
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  min-height: 48px;
  padding: 8px 12px;
}
select:disabled { opacity: 0.35; }
select:focus, input[type="text"]:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}
select option { color: #1a1530; background: #fff; }

input[type="text"] { width: 100%; }
input::placeholder { color: rgba(240, 238, 230, 0.4); }

.unit { color: var(--text-dim); font-size: 0.9rem; }

.check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: var(--text-dim);
  font-size: 0.95rem;
  min-height: 44px;
  cursor: pointer;
}
.check input { width: 22px; height: 22px; accent-color: var(--gold); }

.privacy {
  color: var(--text-dim);
  font-size: 0.78rem;
  text-align: center;
  margin-top: 28px;
  opacity: 0.85;
}

/* ---------- 結果ページ ---------- */
.person-result {
  border: 1px solid var(--card-border);
  border-radius: 16px;
  background: var(--card);
  padding: 20px 16px;
  margin-bottom: 24px;
}

.person-heading {
  font-family: 'Shippori Mincho', serif;
  color: var(--gold-bright);
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.birth-summary {
  color: var(--text-dim);
  font-size: 0.85rem;
  text-align: center;
  margin-bottom: 8px;
}

.noon-note {
  color: var(--gold-bright);
  font-size: 0.85rem;
  text-align: center;
  margin-bottom: 8px;
}

.wheel { margin: 8px auto 20px; max-width: 420px; }
.wheel svg { display: block; width: 100%; height: auto; }

.list-title {
  font-family: 'Shippori Mincho', serif;
  color: var(--gold-bright);
  font-size: 1.1rem;
  text-align: center;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}

ul.planets { list-style: none; }

li.planet {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
li.planet:last-child { border-bottom: none; }

.planet-glyph {
  font-size: 1.5rem;
  color: var(--gold);
  width: 36px;
  text-align: center;
  flex-shrink: 0;
}

.planet-main { display: flex; flex-direction: column; }

.planet-name { font-weight: 500; font-size: 1rem; }

.planet-sign { color: var(--gold-bright); font-size: 0.95rem; }
.planet-sign .rx { color: var(--text-dim); font-size: 0.8em; }

.planet-hint { color: var(--text-dim); font-size: 0.8rem; }

/* ---------- 導線ブロック ---------- */
.cta {
  border: 1px solid var(--gold);
  border-radius: 16px;
  background: rgba(201, 180, 88, 0.08);
  padding: 24px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}

.cta-text { font-size: 0.95rem; }
.cta-text strong { color: var(--gold-bright); }

.cta-note {
  color: var(--text-dim);
  font-size: 0.75rem;
  opacity: 0.85;
}

.new-link { text-align: center; margin-top: 24px; }
.new-link a { color: var(--text-dim); font-size: 0.9rem; }

/* ---------- フッター ---------- */
.foot {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.75rem;
  padding: 20px 0 32px;
  opacity: 0.7;
  position: relative;
}

/* pair: 少し広い画面では2カラム */
@media (min-width: 860px) {
  .wrap.pair-wide { max-width: 1000px; }
}
