/* lp/persona.css — 呼び名（十干ペルソナ）ページの共有スタイル（#4833/#4835）。
 * lp/kaya-lp.jsx のブランドトークン（navy #0D0B1E・gold #C9A96E・cream #F3ECDD・
 * Cormorant Garamond / Noto Serif JP,TC）を踏襲した、React 非依存の静的スタイル。
 * 全ロケールの persona ページから /persona.css として共有配信する。
 */

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

html, body {
  margin: 0;
  padding: 0;
  background: #F8F5F0;
  color: #332B40;
  font-family: 'Noto Sans JP', 'Noto Sans TC', -apple-system, system-ui, sans-serif;
}

.persona-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px clamp(20px, 5vw, 56px);
}

.persona-nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #0D0B1E;
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  letter-spacing: 0.16em;
  font-weight: 500;
}

.persona-nav-mark {
  width: 22px;
  height: 22px;
  flex: none;
}

.persona-lang-switch {
  display: flex;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: 0 0 0 0.5px rgba(201, 169, 110, 0.4);
}

.persona-lang-switch a {
  padding: 5px 12px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #A98A52;
  background: rgba(255, 255, 255, 0.7);
}

.persona-lang-switch a[aria-current='page'] {
  background: rgba(201, 169, 110, 0.85);
  color: #fff;
}

.persona-hero {
  margin: 8px auto 32px;
  padding: clamp(32px, 6vw, 56px) clamp(20px, 6vw, 48px);
  max-width: 640px;
  border-radius: 28px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(130% 90% at 50% -10%, #2A2156 0%, #0D0B1E 72%);
  box-shadow: 0 0 0 1px rgba(201, 169, 110, 0.45), 0 24px 60px rgba(13, 11, 30, 0.24);
  color: #F3ECDD;
  text-align: center;
}

.persona-heading {
  margin: 0 0 20px;
  font-family: 'Cormorant Garamond', 'Noto Serif JP', 'Noto Serif TC', serif;
  font-size: clamp(28px, 5.2vw, 40px);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.35;
  color: #F2D589;
}

.persona-heading-stem {
  color: rgba(242, 213, 137, 0.72);
  font-size: 0.72em;
}

.persona-keyword {
  margin: 0 0 18px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #C9A96E;
}

.persona-lead {
  margin: 0 0 14px;
  font-size: clamp(15px, 2.4vw, 17px);
  line-height: 1.9;
  color: #F3ECDD;
}

.persona-invite {
  margin: 0 0 28px;
  font-size: 14px;
  line-height: 1.85;
  color: rgba(243, 236, 221, 0.78);
}

.persona-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 26px;
  border-radius: 999px;
  background: linear-gradient(100deg, #F0D294, #C9A96E);
  box-shadow: 0 12px 26px rgba(13, 11, 30, 0.28);
  color: #0D0B1E;
  font-family: 'Noto Sans JP', 'Noto Sans TC', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  touch-action: manipulation;
}

.persona-footer {
  padding: 24px clamp(20px, 5vw, 56px) 40px;
  display: flex;
  justify-content: center;
  gap: 18px;
  font-size: 12px;
  color: #7E6332;
}

.persona-footer a {
  color: inherit;
  text-decoration: none;
}

@media (prefers-reduced-motion: no-preference) {
  .persona-hero { transition: box-shadow 200ms ease; }
}

/* 「あなたの呼び名を調べる」ミニ診断（#4848）。宵の帳トークンのライト面
 * （白カード・ゴールドの縁取り）で hero の下に置く。生年月日はここで
 * 完結し、送信・保存はしない（lp/persona.mjs 参照）。 */
.persona-quiz {
  margin: 0 auto 40px;
  padding: clamp(24px, 5vw, 40px) clamp(20px, 5vw, 40px);
  max-width: 640px;
  border-radius: 24px;
  background: #FFFFFF;
  box-shadow: 0 0 0 1px rgba(201, 169, 110, 0.28), 0 16px 40px rgba(13, 11, 30, 0.08);
  text-align: center;
}

.persona-quiz-heading {
  margin: 0 0 10px;
  font-family: 'Cormorant Garamond', 'Noto Serif JP', 'Noto Serif TC', serif;
  font-size: clamp(20px, 3.6vw, 26px);
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #0D0B1E;
}

.persona-quiz-note {
  margin: 0 0 24px;
  font-size: 12px;
  line-height: 1.7;
  color: #7E6332;
}

.persona-quiz-body {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.persona-quiz-label {
  font-size: 13px;
  color: #332B40;
}

.persona-quiz-input {
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 12px;
  border: 1px solid rgba(201, 169, 110, 0.5);
  background: #F8F5F0;
  color: #332B40;
  font-family: inherit;
  font-size: 16px; /* iOS はタップ対象の入力欄が16px未満だとフォーカス時に自動ズームする */
}

.persona-quiz-button {
  min-height: 44px;
  padding: 10px 22px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(100deg, #F0D294, #C9A96E);
  color: #0D0B1E;
  font-family: 'Noto Sans JP', 'Noto Sans TC', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  touch-action: manipulation;
}

.persona-quiz-result {
  margin: 24px 0 0;
  font-size: 15px;
  line-height: 1.8;
  color: #332B40;
}

.persona-quiz-result[hidden] {
  display: none;
}

.persona-quiz-link {
  margin-left: 8px;
  color: #A98A52;
  font-weight: 700;
  text-decoration: underline;
}

/* 他9種への案内（#5098）。footer 直前・persona-quiz と同じ白カードトーン。 */
.persona-related {
  margin: 0 auto 32px;
  padding: clamp(20px, 5vw, 32px) clamp(20px, 5vw, 40px);
  max-width: 640px;
  border-radius: 24px;
  background: #FFFFFF;
  box-shadow: 0 0 0 1px rgba(201, 169, 110, 0.28), 0 16px 40px rgba(13, 11, 30, 0.08);
}

.persona-related-heading {
  margin: 0 0 14px;
  font-family: 'Cormorant Garamond', 'Noto Serif JP', 'Noto Serif TC', serif;
  font-size: clamp(16px, 3vw, 19px);
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #0D0B1E;
  text-align: center;
}

.persona-related-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
}

.persona-related-link {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 4px 4px;
  color: #7E6332;
  font-size: 13px;
  text-decoration: underline;
}

/* /persona/ ハブページ（#5098）。10 種を1枚のカードに縦積みで並べる。 */
.persona-hub-hero {
  margin: 8px auto 24px;
  padding: 0 clamp(20px, 6vw, 48px);
  max-width: 640px;
  text-align: center;
}

.persona-hub-heading {
  margin: 0;
  font-family: 'Cormorant Garamond', 'Noto Serif JP', 'Noto Serif TC', serif;
  font-size: clamp(24px, 4.6vw, 34px);
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.5;
  color: #0D0B1E;
}

.persona-hub-list {
  margin: 0 auto 40px;
  padding: 0;
  max-width: 640px;
  list-style: none;
  display: grid;
  gap: 12px;
}

.persona-hub-item {
  padding: clamp(16px, 4vw, 22px) clamp(18px, 4vw, 28px);
  border-radius: 20px;
  background: #FFFFFF;
  box-shadow: 0 0 0 1px rgba(201, 169, 110, 0.28), 0 12px 30px rgba(13, 11, 30, 0.06);
}

.persona-hub-link {
  display: block;
  margin: 0 0 6px;
  font-family: 'Cormorant Garamond', 'Noto Serif JP', 'Noto Serif TC', serif;
  font-size: clamp(16px, 3.2vw, 19px);
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #0D0B1E;
  text-decoration: none;
}

.persona-hub-lead {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  color: #5F5570;
}
