html, body {
  margin: 0;
  padding: 0;
}

button {
  appearance: none;
  -webkit-appearance: none;
}

.nono-root {
  --ivory: #FAF6F0;
  --beige: #F1E7D9;
  --rose: #E3C0B9;
  --gold: #C9A46B;
  --sage: #B7C6AC;
  --ink: #3B3430;
  --ink-soft: #746B62;
  --line: rgba(59,52,48,0.10);
  --white: #FFFFFF;

  font-family: 'Zen Kaku Gothic New', 'Hiragino Sans', sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #FCF9F4 0%, #F8F1E7 100%);
  min-height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  box-sizing: border-box;
}
.nono-root *, .nono-root *::before, .nono-root *::after {
  box-sizing: border-box;
}
.nono-shell {
  width: 100%;
  max-width: 460px;
  min-height: 100vh;
  padding: 0 20px 56px;
  position: relative;
}
.nono-serif {
  font-family: 'Shippori Mincho', serif;
}

/* ---------- Hero decoration ---------- */
.hero-wrap {
  position: relative;
  height: 260px;
  margin: 0 -20px 8px;
  overflow: hidden;
}
.hero-blur {
  position: absolute;
  border-radius: 50%;
  filter: blur(28px);
  opacity: 0.55;
}
.blob1 { width: 220px; height: 220px; background: radial-gradient(circle at 35% 30%, #E9CFC6, transparent 70%); top: -40px; left: -30px; }
.blob2 { width: 180px; height: 180px; background: radial-gradient(circle at 60% 40%, #CFDFC5, transparent 70%); top: 30px; right: -50px; }
.blob3 { width: 160px; height: 160px; background: radial-gradient(circle at 50% 50%, #E4CE9E, transparent 70%); bottom: -50px; left: 60px; }

.hero-petals {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-52%);
  width: 150px; height: 150px;
}
.petal {
  position: absolute;
  width: 62px; height: 90px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  top: 50%; left: 50%;
  transform-origin: 50% 100%;
  opacity: 0.85;
  mix-blend-mode: multiply;
}
.hero-core {
  position: absolute;
  top: 50%; left: 50%;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #FFFDF8, #D9B98A 75%);
  transform: translate(-50%,-50%);
  box-shadow: 0 0 18px rgba(201,164,107,0.55);
}
.hero-ring {
  position: absolute;
  top: 50%; left: 50%;
  width: 210px; height: 210px;
  border-radius: 50%;
  border: 1px solid rgba(201,164,107,0.35);
  transform: translate(-50%,-50%);
}
.hero-dot {
  position: absolute;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(201,164,107,0.55);
}

/* ---------- Start screen ---------- */
.brand {
  text-align: center;
  letter-spacing: 0.22em;
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 22px;
}
.start-title {
  text-align: center;
  font-size: 27px;
  line-height: 1.6;
  font-weight: 600;
  margin: 14px 0 18px;
}
.start-sub {
  text-align: center;
  font-size: 14.5px;
  line-height: 2;
  color: var(--ink-soft);
  margin-bottom: 26px;
}
.start-note {
  text-align: center;
  font-size: 11.5px;
  line-height: 1.9;
  color: var(--ink-soft);
  opacity: 0.85;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-bottom: 32px;
}
.btn-primary {
  display: block;
  width: 100%;
  padding: 17px 0;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-family: 'Shippori Mincho', serif;
  font-size: 16px;
  letter-spacing: 0.08em;
  color: #fff;
  background: linear-gradient(135deg, #CDA772 0%, #BE8F62 100%);
  box-shadow: 0 10px 24px -8px rgba(190,143,98,0.55);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary:active { transform: translateY(1px) scale(0.99); }

/* ---------- Quiz screen ---------- */
.quiz-head {
  padding-top: 26px;
  margin-bottom: 22px;
}
.quiz-count {
  text-align: center;
  font-family: 'Shippori Mincho', serif;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  margin-bottom: 12px;
}
.progress-track {
  height: 4px;
  width: 100%;
  background: rgba(59,52,48,0.08);
  border-radius: 4px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #D9B98A, #C08C7C);
  border-radius: 4px;
  transition: width 0.45s ease;
}
.q-card {
  background: var(--white);
  border-radius: 22px;
  padding: 30px 24px 26px;
  box-shadow: 0 14px 40px -20px rgba(80,64,48,0.28);
  animation: fadeUp 0.42s ease both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.q-text {
  font-family: 'Shippori Mincho', serif;
  font-size: 18px;
  line-height: 1.75;
  margin-bottom: 24px;
  white-space: pre-line;
}
.opt-btn {
  display: block;
  width: 100%;
  text-align: left;
  padding: 15px 18px;
  margin-bottom: 11px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #FCFAF6;
  font-family: inherit;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.1s ease;
}
.opt-btn:last-child { margin-bottom: 0; }
.opt-btn:active { transform: scale(0.99); }
.opt-btn.selected {
  border-color: #C9A46B;
  background: #FBF3E6;
}
.opt-btn:disabled { cursor: default; }
.back-row {
  margin-top: 18px;
  text-align: center;
}
.back-btn {
  background: none;
  border: none;
  color: var(--ink-soft);
  font-size: 13px;
  letter-spacing: 0.05em;
  cursor: pointer;
  padding: 8px 12px;
}
.back-btn:disabled { visibility: hidden; }

/* ---------- Result screen ---------- */
.result-wrap {
  padding-top: 30px;
  animation: fadeIn 0.75s ease both;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.result-eyebrow {
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--ink-soft);
  margin-bottom: 10px;
}
.result-title {
  text-align: center;
  font-family: 'Shippori Mincho', serif;
  font-size: 25px;
  font-weight: 600;
  margin-bottom: 18px;
}
.result-catch {
  text-align: center;
  font-size: 15px;
  line-height: 2;
  white-space: pre-line;
  color: var(--ink);
  margin-bottom: 26px;
}
.result-card {
  border-radius: 24px;
  padding: 28px 24px;
  margin-bottom: 18px;
}
.result-message p {
  font-size: 14.5px;
  line-height: 2;
  margin: 0 0 16px;
  color: var(--ink);
}
.result-message p:last-child { margin-bottom: 0; }
.divider {
  height: 1px;
  background: rgba(59,52,48,0.12);
  margin: 22px 0;
}
.mini-block { margin-bottom: 16px; }
.mini-label {
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  margin-bottom: 5px;
}
.mini-value {
  font-size: 14.5px;
  line-height: 1.7;
}

/* ---------- サブエネルギー ---------- */
.sub-card {
  background: #FCFAF6;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px 22px 24px;
  margin-bottom: 18px;
}
.sub-eyebrow {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ink-soft);
  margin-bottom: 8px;
  text-align: center;
}
.sub-name {
  font-family: 'Shippori Mincho', serif;
  font-size: 17px;
  text-align: center;
  margin-bottom: 12px;
}
.sub-desc {
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--ink);
  text-align: center;
}

/* ---------- エネルギーバランス ---------- */
.balance-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px 22px;
  margin-bottom: 18px;
}
.balance-title {
  font-family: 'Shippori Mincho', serif;
  font-size: 15.5px;
  text-align: center;
  margin-bottom: 6px;
}
.balance-note {
  font-size: 12px;
  line-height: 1.9;
  color: var(--ink-soft);
  text-align: center;
  margin-bottom: 20px;
}
.bal-row {
  display: flex;
  align-items: center;
  margin-bottom: 13px;
}
.bal-row:last-child { margin-bottom: 0; }
.bal-label {
  width: 92px;
  flex-shrink: 0;
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.bal-track {
  flex: 1;
  height: 6px;
  border-radius: 6px;
  background: rgba(59,52,48,0.07);
  overflow: hidden;
  margin: 0 10px;
}
.bal-fill {
  height: 100%;
  border-radius: 6px;
  transition: width 0.6s ease;
}

.common-msg {
  text-align: center;
  font-family: 'Shippori Mincho', serif;
  font-size: 14.5px;
  line-height: 1.9;
  white-space: pre-line;
  color: var(--ink-soft);
  margin: 26px 0 20px;
}

/* ---------- オーダーブレスレット ---------- */
.order-card {
  background: #FCFAF6;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 28px;
}
.order-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #F4EDE3;
}
.order-body-wrap {
  padding: 20px 20px 22px;
}
.order-title {
  font-family: 'Shippori Mincho', serif;
  font-size: 17.5px;
  line-height: 1.8;
  text-align: center;
  font-weight: 600;
  margin: 0 0 14px;
}
.order-lead {
  font-size: 14.5px;
  line-height: 2;
  text-align: center;
  color: var(--ink);
  margin: 0 0 16px;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.order-note {
  font-size: 12.5px;
  line-height: 1.95;
  text-align: center;
  color: var(--ink-soft);
  margin: 0 0 16px;
}
.order-guide {
  font-size: 12.5px;
  line-height: 1.9;
  text-align: center;
  color: var(--ink-soft);
  margin: 0 0 14px;
}
.order-copy-btn {
  display: block;
  width: 100%;
  margin: 0 0 10px;
  padding: 14px 12px;
  border-radius: 999px;
  border: 1px solid var(--gold);
  background: #FFFFFF;
  color: #8A6A3E;
  font-family: 'Shippori Mincho', serif;
  font-size: 14.5px;
  letter-spacing: 0.05em;
  cursor: pointer;
  box-sizing: border-box;
}
.order-copy-btn:active {
  background: #FBF3E6;
}
.order-status {
  font-size: 12.5px;
  line-height: 1.9;
  text-align: center;
  color: var(--ink);
  background: #FFFFFF;
  border: 1px solid rgba(201,164,107,0.35);
  border-radius: 14px;
  padding: 12px 14px;
  margin: 0 0 12px;
  white-space: pre-line;
}
.order-cta {
  display: block;
  width: 100%;
  padding: 16px 12px;
  border: none;
  border-radius: 999px;
  text-align: center;
  text-decoration: none;
  font-family: 'Shippori Mincho', serif;
  font-size: 15.5px;
  letter-spacing: 0.06em;
  color: #fff;
  background: linear-gradient(135deg, #CDA772 0%, #BE8F62 100%);
  box-shadow: 0 10px 24px -8px rgba(190,143,98,0.55);
  cursor: pointer;
  box-sizing: border-box;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.order-cta:visited,
.order-cta:hover {
  color: #fff;
}
.order-cta:active {
  transform: translateY(1px) scale(0.99);
}
.order-hint {
  font-size: 12px;
  line-height: 1.9;
  text-align: center;
  color: var(--ink-soft);
  margin: 12px 0 0;
}
.order-copy-text {
  margin: 0 0 12px;
  padding: 12px 14px;
  background: #FFFFFF;
  border: 1px dashed rgba(201,164,107,0.5);
  border-radius: 12px;
  font-family: inherit;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--ink);
  white-space: pre-wrap;
  word-break: break-word;
  text-align: left;
  user-select: all;
  -webkit-user-select: all;
}
.nono-toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%) translateY(8px);
  max-width: min(420px, calc(100% - 32px));
  background: #FFFFFF;
  color: var(--ink);
  border: 1px solid rgba(201,164,107,0.45);
  font-size: 13px;
  line-height: 1.75;
  text-align: center;
  padding: 12px 18px;
  border-radius: 16px;
  box-shadow: 0 12px 30px -14px rgba(80,64,48,0.45);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  white-space: pre-line;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.nono-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.nono-toast[hidden] {
  display: none !important;
}

@media (max-width: 360px) {
  .order-body-wrap {
    padding: 18px 16px 20px;
  }
  .order-title {
    font-size: 16.5px;
  }
  .order-lead {
    font-size: 14px;
  }
}
.share-box {
  background: #FCFAF6;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
  text-align: center;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.8;
  margin-bottom: 14px;
}
.share-actions {
  margin-bottom: 10px;
}
.share-btn {
  display: block;
  width: 100%;
  padding: 13px 0;
  border-radius: 999px;
  border: 1px solid var(--gold);
  background: transparent;
  color: #8A6A3E;
  font-family: 'Shippori Mincho', serif;
  font-size: 14px;
  letter-spacing: 0.05em;
  cursor: pointer;
  margin-bottom: 8px;
}
.share-btn:last-child {
  margin-bottom: 0;
}
.share-btn:active {
  background: #FBF3E6;
}
.share-msg {
  text-align: center;
  font-size: 12.5px;
  color: var(--ink-soft);
  margin: 10px 0 20px;
}
.shop-btn {
  display: block;
  width: 100%;
  padding: 15px 0;
  border-radius: 999px;
  border: 1px solid var(--gold);
  background: transparent;
  color: #8A6A3E;
  font-family: 'Shippori Mincho', serif;
  font-size: 14.5px;
  letter-spacing: 0.05em;
  cursor: pointer;
  margin-bottom: 10px;
}
.shop-msg {
  text-align: center;
  font-size: 12.5px;
  color: var(--ink-soft);
  margin-bottom: 20px;
}
.restart-btn {
  display: block;
  width: 100%;
  padding: 16px 0;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #CDA772 0%, #BE8F62 100%);
  color: #fff;
  font-family: 'Shippori Mincho', serif;
  font-size: 15px;
  letter-spacing: 0.06em;
  cursor: pointer;
  box-shadow: 0 10px 24px -8px rgba(190,143,98,0.5);
}
