/* =========================================================
   AIの窓口 for Business — 診断フロー オーバーレイ
   "Stratus Tenderness" Visual Philosophy
   ========================================================= */

.diagnose-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  animation: overlayFadeIn 0.6s ease both;
}

.diagnose-overlay[hidden] { display: none; }

@keyframes overlayFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* 背景 */
.diagnose-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 1200px 600px at 70% 0%, rgba(255, 235, 215, 0.65), transparent 70%),
    radial-gradient(ellipse 800px 500px at 0% 90%, rgba(252, 213, 206, 0.5), transparent 70%),
    radial-gradient(ellipse 900px 600px at 100% 100%, rgba(200, 215, 235, 0.55), transparent 70%),
    linear-gradient(to bottom,
      var(--sky-top) 0%,
      var(--sky-upper) 25%,
      var(--sky-mid) 55%,
      var(--sky-lower) 85%,
      var(--sky-bottom) 100%);
  backdrop-filter: blur(8px);
}

.diagnose-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.04) 0%, transparent 1.5%),
    radial-gradient(circle at 80% 60%, rgba(255, 255, 255, 0.04) 0%, transparent 1.5%);
  background-size: 80px 80px, 100px 100px;
  opacity: 0.5;
}

/* 閉じるボタン */
.diagnose-close {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 10;
  width: 48px;
  height: 48px;
  border: none;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--deep-sky);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(180, 200, 220, 0.3);
  transition: transform 0.3s ease, background 0.3s ease;
}

.diagnose-close:hover {
  transform: rotate(90deg) scale(1.1);
  background: rgba(255, 255, 255, 0.95);
}

/* 音声 ON/OFF ボタン */
.diagnose-voice-toggle {
  position: fixed;
  top: 24px;
  right: 84px;
  z-index: 10;
  width: 48px;
  height: 48px;
  border: none;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--deep-sky);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(180, 200, 220, 0.3);
  transition: all 0.3s ease;
}

.diagnose-voice-toggle:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: scale(1.05);
}

.diagnose-voice-toggle.muted {
  color: var(--whisper);
  opacity: 0.7;
}

.diagnose-voice-toggle.speaking {
  background: linear-gradient(135deg, var(--gold), var(--peach));
  color: var(--deep-sky);
  animation: voicePulse 1.6s ease-in-out infinite;
}

@keyframes voicePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(244, 211, 94, 0.5); }
  50%      { box-shadow: 0 0 0 12px rgba(244, 211, 94, 0); }
}

/* 声を選ぶ・設定ボタン */
.diagnose-voice-settings {
  position: fixed;
  top: 24px;
  right: 144px;
  z-index: 10;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--soft-ink);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(180, 200, 220, 0.3);
  transition: all 0.3s ease;
}

.diagnose-voice-settings:hover {
  background: rgba(255, 255, 255, 0.95);
  color: var(--deep-sky);
  transform: rotate(45deg);
}

/* 声選択モーダル */
.voice-picker {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(20, 30, 50, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: voicePickerFade 0.3s ease both;
}

.voice-picker[hidden] { display: none; }

@keyframes voicePickerFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.voice-picker-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.97), rgba(255, 250, 240, 0.95));
  border-radius: 28px;
  padding: 36px 32px;
  max-width: 460px;
  width: 100%;
  position: relative;
  box-shadow: 0 24px 64px rgba(180, 200, 220, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.8);
  max-height: 85vh;
  overflow-y: auto;
}

.voice-picker-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border: none;
  background: rgba(180, 200, 220, 0.2);
  color: var(--soft-ink);
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: all 0.25s ease;
}

.voice-picker-close:hover {
  background: rgba(180, 200, 220, 0.4);
  color: var(--deep-sky);
}

.voice-picker-title {
  font-family: var(--serif-jp);
  font-size: 20px;
  font-weight: 700;
  color: var(--deep-sky);
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.voice-picker-hint {
  font-size: 13px;
  color: var(--soft-ink);
  line-height: 1.85;
  letter-spacing: 0.03em;
  margin-bottom: 24px;
}

.voice-picker-section {
  margin-bottom: 24px;
}

.voice-picker-label {
  display: block;
  font-family: var(--serif-jp);
  font-size: 13px;
  font-weight: 700;
  color: var(--deep-sky);
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.voice-picker-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.voice-picker-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.7);
  border: 1.5px solid rgba(180, 200, 220, 0.4);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.25s ease;
  font-size: 13.5px;
  color: var(--deep-sky);
  font-family: var(--sans-jp);
}

.voice-picker-item:hover {
  border-color: var(--gold);
  background: rgba(255, 250, 235, 0.9);
}

.voice-picker-item.selected {
  border-color: var(--gold);
  background: linear-gradient(135deg, rgba(255, 250, 240, 0.95), rgba(252, 213, 206, 0.4));
  box-shadow: 0 4px 16px rgba(244, 211, 94, 0.25);
}

.voice-picker-item input[type="radio"] {
  width: 16px;
  height: 16px;
  accent-color: var(--gold);
  cursor: pointer;
}

.voice-picker-item-name {
  font-family: var(--serif-jp);
  font-weight: 500;
}

.voice-picker-item-tag {
  margin-left: auto;
  font-size: 11px;
  font-family: var(--serif-lat);
  font-style: italic;
  color: var(--gold-deep);
  letter-spacing: 0.1em;
}

.voice-picker-slider {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  background: linear-gradient(to right, rgba(180, 200, 220, 0.4), var(--gold));
  border-radius: 3px;
  outline: none;
}

.voice-picker-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, var(--gold), var(--peach));
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(244, 211, 94, 0.5);
}

.voice-picker-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, var(--gold), var(--peach));
  border-radius: 50%;
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 8px rgba(244, 211, 94, 0.5);
}

.voice-picker-pitch-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 11px;
  color: var(--whisper);
  letter-spacing: 0.04em;
}

#pitch-value {
  color: var(--gold-deep);
  font-weight: 700;
  font-family: ui-monospace, monospace;
}

.voice-picker-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}

.voice-picker-test,
.voice-picker-save {
  border: none;
  font-family: var(--serif-jp);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 14px 20px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.25s ease;
}

.voice-picker-test {
  background: rgba(255, 255, 255, 0.8);
  color: var(--deep-sky);
  border: 1.5px solid rgba(180, 200, 220, 0.5);
}

.voice-picker-test:hover {
  border-color: var(--gold);
  background: rgba(255, 250, 240, 0.95);
}

.voice-picker-save {
  background: linear-gradient(135deg, var(--gold), var(--peach));
  color: var(--deep-sky);
  box-shadow: 0 6px 20px rgba(244, 211, 94, 0.35);
}

.voice-picker-save:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(244, 211, 94, 0.5);
}

@media (max-width: 600px) {
  .diagnose-voice-settings {
    top: 14px;
    right: 114px;
    width: 36px;
    height: 36px;
  }
}

/* そらの「話している」発光エフェクト */
.diagnose-sora.speaking .diagnose-sora-img-wrap::before {
  background: radial-gradient(circle at center,
    rgba(255, 235, 200, 0.9) 0%,
    rgba(252, 213, 206, 0.6) 35%,
    transparent 65%);
  animation: speakingGlow 1.4s ease-in-out infinite;
}

@keyframes speakingGlow {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.05); }
}

/* ステージ：そらと質問の2カラム */
.diagnose-stage {
  flex: 1;
  width: 100%;
  margin: 0 auto;
  padding: 80px max(24px, 4vw) 60px;
  min-height: 100vh;
  position: relative;
}

/* ─── そら（左側に固定表示・常時画面に居る）─── */
.diagnose-sora {
  position: fixed;
  top: 50%;
  left: max(20px, 4vw);
  transform: translateY(-50%);
  width: clamp(300px, 36vw, 540px);
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  z-index: 5;
}

.diagnose-sora-bubble {
  pointer-events: auto;
}

.diagnose-sora-img-wrap {
  width: 100%;
  max-width: 520px;
  position: relative;
  animation: floatY 7s ease-in-out infinite;
}

.diagnose-sora-img-wrap::before {
  content: '';
  position: absolute;
  inset: -10%;
  background: radial-gradient(circle at center,
    rgba(255, 245, 230, 0.6) 0%,
    rgba(252, 213, 206, 0.35) 40%,
    transparent 70%);
  filter: blur(40px);
  z-index: -1;
}

.diagnose-sora-img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 12px 36px rgba(220, 200, 220, 0.5));
  transition: opacity 0.5s ease;
}

.diagnose-sora-img.fading {
  opacity: 0;
}

/* そらの吹き出し */
.diagnose-sora-bubble {
  margin-top: 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.85), rgba(255, 245, 235, 0.7));
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  padding: 24px 32px;
  max-width: 460px;
  position: relative;
  box-shadow: 0 8px 28px rgba(180, 200, 220, 0.25);
  backdrop-filter: blur(14px);
}

.diagnose-sora-bubble::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 18px;
  height: 18px;
  background: rgba(255, 255, 255, 0.85);
  border-top: 1px solid rgba(255, 255, 255, 0.8);
  border-left: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 4px 0 0 0;
}

.diagnose-sora-msg {
  font-family: var(--serif-jp);
  font-size: 16px;
  line-height: 2;
  color: var(--deep-sky);
  letter-spacing: 0.03em;
  text-align: center;
}

/* ─── 質問エリア（右側、そらの分の余白を確保）─── */
.diagnose-content {
  margin-left: clamp(320px, 40vw, 600px);
  max-width: 720px;
  width: calc(100% - clamp(320px, 40vw, 600px));
  padding-right: 20px;
}

/* プログレス */
.diagnose-progress {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin-bottom: 48px;
}

.prog-step {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 1.5px solid rgba(180, 200, 220, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif-jp);
  font-size: 15px;
  font-weight: 700;
  color: var(--whisper);
  transition: all 0.4s ease;
}

.prog-step.prog-active {
  background: linear-gradient(135deg, var(--gold), var(--peach));
  border-color: var(--gold);
  color: var(--deep-sky);
  box-shadow: 0 4px 16px rgba(244, 211, 94, 0.4);
  transform: scale(1.1);
}

.prog-step.prog-done {
  background: rgba(244, 211, 94, 0.3);
  border-color: var(--gold);
  color: var(--gold-deep);
}

.prog-line {
  flex: 0 0 32px;
  height: 1px;
  background: rgba(180, 200, 220, 0.5);
}

/* ステップ */
.diagnose-step {
  animation: stepFadeIn 0.6s ease both;
}

.diagnose-step[hidden] { display: none; }

@keyframes stepFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.diagnose-eyebrow {
  font-family: var(--serif-lat);
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.4em;
  color: var(--soft-ink);
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 16px;
}

.diagnose-question {
  font-family: var(--serif-jp);
  font-weight: 500;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.65;
  letter-spacing: 0.04em;
  color: var(--deep-sky);
  text-align: center;
  margin-bottom: 16px;
}

.diagnose-hint {
  font-size: 13px;
  color: var(--soft-ink);
  text-align: center;
  margin-bottom: 36px;
  letter-spacing: 0.03em;
}

/* 選択肢ボタン */
.diagnose-options {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.diagnose-option {
  display: block;
  padding: 22px 32px 22px 28px;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  border-radius: 22px;
  text-align: left;
  cursor: pointer;
  font-family: var(--sans-jp);
  color: var(--deep-sky);
  box-shadow: 0 4px 20px rgba(180, 200, 220, 0.18);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.diagnose-option .opt-main,
.diagnose-option .opt-sub {
  display: block;
}

.diagnose-option .opt-main {
  margin-bottom: 6px;
}

/* 右端に小さな矢印 */
.diagnose-option::after {
  content: '→';
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--whisper);
  font-size: 18px;
  font-weight: 300;
  transition: transform 0.3s ease, color 0.3s ease;
}

.diagnose-option:hover::after {
  transform: translateY(-50%) translateX(4px);
  color: var(--gold-deep);
}

.diagnose-option::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(244, 211, 94, 0.15), rgba(252, 213, 206, 0.2));
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.diagnose-option:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  box-shadow: 0 12px 32px rgba(244, 211, 94, 0.25);
}

.diagnose-option:hover::before { opacity: 1; }

.diagnose-option.selected {
  border-color: var(--gold);
  background: linear-gradient(135deg, rgba(255, 250, 240, 0.95), rgba(252, 213, 206, 0.6));
  box-shadow: 0 8px 32px rgba(244, 211, 94, 0.4);
}

.opt-main {
  font-family: var(--serif-jp);
  font-size: 17px;
  font-weight: 500;
  color: var(--deep-sky);
  letter-spacing: 0.05em;
}

.opt-sub {
  font-size: 13px;
  color: var(--soft-ink);
  letter-spacing: 0.02em;
  line-height: 1.65;
}

/* 戻るボタン */
.diagnose-back {
  margin: 32px auto 0;
  display: block;
  background: none;
  border: none;
  color: var(--soft-ink);
  font-size: 13px;
  cursor: pointer;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.05em;
  transition: all 0.25s ease;
}

.diagnose-back:hover {
  background: rgba(255, 255, 255, 0.5);
  color: var(--deep-sky);
}

/* ─── サマリー ─── */
.diagnose-summary-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(255, 245, 235, 0.6));
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  border-radius: 28px;
  padding: 36px 40px;
  margin: 36px 0;
  box-shadow: 0 12px 40px rgba(180, 200, 220, 0.25);
  backdrop-filter: blur(16px);
}

.diagnose-summary-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px dashed rgba(180, 200, 220, 0.4);
}

.diagnose-summary-row:last-child { border-bottom: none; }

.sum-label {
  font-family: var(--serif-lat);
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--soft-ink);
  text-transform: uppercase;
}

.sum-value {
  font-family: var(--serif-jp);
  font-size: 16px;
  font-weight: 500;
  color: var(--deep-sky);
  letter-spacing: 0.04em;
  line-height: 1.6;
}

.diagnose-summary-msg {
  text-align: center;
  font-family: var(--serif-jp);
  font-size: 16px;
  line-height: 2;
  color: var(--deep-sky);
  margin-bottom: 32px;
  letter-spacing: 0.04em;
}

.diagnose-summary-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.diagnose-restart {
  background: none;
  border: none;
  color: var(--soft-ink);
  font-size: 13px;
  cursor: pointer;
  padding: 10px 18px;
  letter-spacing: 0.05em;
  transition: color 0.25s ease;
}

.diagnose-restart:hover { color: var(--deep-sky); }

/* ─── チャット ─── */
.diagnose-chat-area {
  margin-top: 32px;
}

.diagnose-chat-messages {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 24px;
  padding: 24px;
  min-height: 280px;
  max-height: 480px;
  overflow-y: auto;
  margin-bottom: 18px;
  backdrop-filter: blur(12px);
}

.chat-msg {
  margin-bottom: 18px;
  animation: msgSlide 0.4s ease both;
}

@keyframes msgSlide {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.chat-msg-sora {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.chat-msg-sora .chat-bubble {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 245, 235, 0.85));
  border: 1px solid rgba(255, 255, 255, 0.8);
  padding: 16px 22px;
  border-radius: 18px 18px 18px 4px;
  font-family: var(--serif-jp);
  font-size: 14.5px;
  line-height: 1.95;
  color: var(--deep-sky);
  letter-spacing: 0.03em;
  max-width: 80%;
}

.chat-msg-sora .chat-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-image: url('/images/sora/avatar_circle.png');
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 2px 8px rgba(180, 200, 220, 0.3);
}

.chat-msg-user {
  display: flex;
  justify-content: flex-end;
}

.chat-msg-user .chat-bubble {
  background: linear-gradient(135deg, rgba(244, 211, 94, 0.5), rgba(252, 213, 206, 0.55));
  border: 1px solid rgba(244, 211, 94, 0.4);
  padding: 14px 22px;
  border-radius: 18px 18px 4px 18px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--deep-sky);
  max-width: 80%;
}

/* チャット入力 */
.diagnose-chat-input-area {
  background: rgba(255, 255, 255, 0.7);
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  border-radius: 22px;
  padding: 14px 18px;
  backdrop-filter: blur(12px);
}

.diagnose-chat-input {
  width: 100%;
  border: none;
  background: transparent;
  font-family: var(--sans-jp);
  font-size: 15px;
  color: var(--deep-sky);
  resize: none;
  letter-spacing: 0.03em;
  line-height: 1.7;
}

.diagnose-chat-input:focus { outline: none; }

.diagnose-chat-input::placeholder {
  color: var(--whisper);
}

.diagnose-chat-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(180, 200, 220, 0.25);
}

.diagnose-mic {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: 1px solid rgba(180, 200, 220, 0.4);
  color: var(--soft-ink);
  font-size: 12px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.25s ease;
  letter-spacing: 0.04em;
}

.diagnose-mic:hover {
  background: rgba(255, 255, 255, 0.7);
  color: var(--deep-sky);
  border-color: var(--gold);
}

.diagnose-mic.recording {
  background: linear-gradient(135deg, var(--gold), var(--peach));
  color: var(--deep-sky);
  border-color: var(--gold);
  animation: micPulse 1.4s ease-in-out infinite;
}

@keyframes micPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(244, 211, 94, 0.6); }
  50%      { box-shadow: 0 0 0 12px rgba(244, 211, 94, 0); }
}

.diagnose-send {
  background: linear-gradient(135deg, var(--gold), var(--peach));
  color: var(--deep-sky);
  border: none;
  font-weight: 700;
  font-size: 13px;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  letter-spacing: 0.06em;
  box-shadow: 0 4px 14px rgba(244, 211, 94, 0.35);
  transition: all 0.25s ease;
}

.diagnose-send:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(244, 211, 94, 0.5);
}

/* =========================================================
   ─── 設計図 出力画面 ───────────────────────────────
   ========================================================= */

.diagnose-blueprint .diagnose-question { margin-bottom: 8px; }

.bp-highlight {
  background: linear-gradient(135deg, var(--gold-deep), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

.bp-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.85), rgba(255, 250, 240, 0.75));
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  border-radius: 32px;
  padding: 44px 48px;
  margin-top: 32px;
  box-shadow:
    0 24px 80px rgba(180, 200, 220, 0.25),
    0 8px 32px rgba(244, 211, 94, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.bp-card-header {
  text-align: center;
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 1px dashed rgba(180, 200, 220, 0.4);
}

.bp-card-id {
  font-family: var(--serif-lat);
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.4em;
  color: var(--whisper);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.bp-card-title {
  font-family: var(--serif-jp);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  color: var(--deep-sky);
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.bp-card-summary {
  font-size: 14px;
  color: var(--soft-ink);
  line-height: 1.95;
  letter-spacing: 0.04em;
}

.bp-section {
  margin-bottom: 36px;
}

.bp-section h4 {
  font-family: var(--serif-jp);
  font-size: 16px;
  font-weight: 700;
  color: var(--deep-sky);
  letter-spacing: 0.08em;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}

/* 提案アーキテクチャ */
.bp-arch-list {
  list-style: none;
}

.bp-arch-list li {
  padding: 14px 18px;
  margin-bottom: 8px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 14px;
  border-left: 3px solid var(--gold);
  font-size: 14px;
  line-height: 1.75;
  color: var(--deep-sky);
  letter-spacing: 0.03em;
}

.bp-arch-list li strong {
  color: var(--gold-deep);
  font-weight: 700;
}

/* =========================================================
   ─── ひと目で分かる「3つの数字」 ────────────────────
   ========================================================= */
.bp-glance {
  margin: 8px 0 48px;
}

.bp-glance-eyebrow {
  font-family: var(--serif-lat);
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold-deep);
  text-align: center;
  margin-bottom: 8px;
}

.bp-glance-title {
  font-family: var(--serif-jp);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  color: var(--deep-sky);
  text-align: center;
  margin-bottom: 32px !important;
  letter-spacing: 0.06em;
  border-bottom: none !important;
  padding-bottom: 0 !important;
  display: block !important;
}

/* 「ほっとく」vs「はじめる」の2カード */
.bp-glance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 28px;
}

.bp-glance-card {
  padding: 32px 24px;
  border-radius: 24px;
  text-align: center;
  position: relative;
}

.bp-glance-stay {
  background: linear-gradient(135deg, rgba(180, 195, 215, 0.3), rgba(150, 165, 185, 0.2));
  border: 1.5px solid rgba(180, 195, 215, 0.5);
}

.bp-glance-start {
  background: linear-gradient(135deg, rgba(244, 211, 94, 0.35), rgba(252, 213, 206, 0.4));
  border: 1.5px solid var(--gold);
  box-shadow: 0 8px 32px rgba(244, 211, 94, 0.25);
}

.bp-glance-icon {
  font-size: 36px;
  line-height: 1;
  margin-bottom: 12px;
}

.bp-glance-label {
  font-family: var(--serif-jp);
  font-size: 14px;
  font-weight: 500;
  color: var(--deep-sky);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.bp-glance-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 12px;
  line-height: 1;
}

.bp-glance-sign {
  font-family: var(--serif-jp);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
}

.bp-glance-num {
  font-family: var(--serif-jp);
  font-size: clamp(32px, 4.6vw, 56px);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.bp-glance-yen {
  font-family: var(--serif-jp);
  font-size: clamp(16px, 1.8vw, 22px);
  font-weight: 500;
  margin-left: 4px;
}

.bp-glance-stay .bp-glance-sign,
.bp-glance-stay .bp-glance-num,
.bp-glance-stay .bp-glance-yen {
  color: #6B7382;
}

.bp-glance-start .bp-glance-sign,
.bp-glance-start .bp-glance-num,
.bp-glance-start .bp-glance-yen {
  color: var(--gold-deep);
}

.bp-glance-period {
  font-family: var(--serif-jp);
  font-size: 13px;
  letter-spacing: 0.06em;
}

.bp-glance-stay .bp-glance-period { color: #707684; }
.bp-glance-start .bp-glance-period { color: var(--gold-deep); }

/* 差し引き：明らかにプラス */
.bp-glance-net {
  background: linear-gradient(135deg, rgba(255, 250, 240, 0.95), rgba(252, 213, 206, 0.5));
  border: 2px solid var(--gold);
  border-radius: 28px;
  padding: 36px 28px;
  text-align: center;
  box-shadow:
    0 12px 40px rgba(244, 211, 94, 0.3),
    inset 0 0 28px rgba(255, 255, 255, 0.4);
}

.bp-glance-net-eq {
  margin-bottom: 20px;
}

.bp-glance-net-label {
  display: block;
  font-family: var(--serif-jp);
  font-size: clamp(14px, 1.3vw, 17px);
  color: var(--deep-sky);
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

.bp-glance-net-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
  line-height: 1.1;
}

.bp-glance-net-sign,
.bp-glance-net-num,
.bp-glance-net-yen {
  font-family: var(--serif-jp);
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold-deep), var(--gold), var(--peach-warm));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bp-glance-net-sign {
  font-size: clamp(28px, 3.6vw, 44px);
}

.bp-glance-net-num {
  font-size: clamp(48px, 7vw, 84px);
  letter-spacing: 0.02em;
}

.bp-glance-net-yen {
  font-size: clamp(20px, 2.4vw, 30px);
  margin-left: 6px;
}

.bp-glance-net-period {
  font-family: var(--serif-jp);
  font-size: clamp(14px, 1.3vw, 18px);
  color: var(--soft-ink);
  font-weight: 500;
  margin-left: 8px;
  letter-spacing: 0.04em;
}

.bp-glance-conclusion {
  padding-top: 18px;
  margin-top: 4px;
  border-top: 1px dashed rgba(180, 200, 220, 0.4);
  font-family: var(--serif-jp);
  font-size: clamp(14px, 1.3vw, 17px);
  line-height: 1.85;
  color: var(--deep-sky);
  letter-spacing: 0.04em;
}

.bp-glance-conclusion strong {
  font-weight: 700;
  color: var(--gold-deep);
}

.bp-glance-conclusion-light {
  display: inline-block;
  margin-top: 6px;
  color: var(--soft-ink);
  font-size: 0.92em;
}

/* 内訳への誘導 */
.bp-glance-readmore {
  text-align: center;
  margin-top: 18px;
  font-size: 12.5px;
  color: var(--whisper);
  letter-spacing: 0.04em;
}

.bp-glance-readmore-link {
  color: var(--soft-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.25s ease;
}

.bp-glance-readmore-link:hover { color: var(--gold-deep); }

/* 計算根拠の前置き */
.bp-calc-intro {
  font-size: 13.5px;
  color: var(--soft-ink);
  line-height: 1.95;
  letter-spacing: 0.04em;
  margin: 12px 0 24px;
}

.bp-calc-intro strong {
  color: var(--gold-deep);
  font-weight: 700;
}

/* ─── 2年スパン（補足表示・シンプル版） ─── */
.bp-twoyear {
  margin-top: 32px;
  padding: 28px 32px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 22px;
  border: 1px solid rgba(180, 200, 220, 0.4);
}

.bp-twoyear h4 {
  text-align: center;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 8px;
  display: inline-block;
  margin: 0 auto 24px !important;
  width: auto;
}

.bp-twoyear-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
  margin-bottom: 20px;
}

.bp-twoyear-side {
  text-align: center;
  padding: 18px 16px;
  border-radius: 16px;
}

.bp-twoyear-stay {
  background: rgba(180, 195, 215, 0.2);
}
.bp-twoyear-start {
  background: rgba(244, 211, 94, 0.18);
}

.bp-twoyear-label {
  font-family: var(--serif-jp);
  font-size: 13px;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.bp-twoyear-stay .bp-twoyear-label { color: #6B7382; }
.bp-twoyear-start .bp-twoyear-label { color: var(--gold-deep); }

.bp-twoyear-amount {
  font-family: var(--serif-jp);
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 28px);
  margin-bottom: 4px;
  line-height: 1.1;
}

.bp-twoyear-stay .bp-twoyear-amount { color: #6B7382; }
.bp-twoyear-start .bp-twoyear-amount { color: var(--gold-deep); }

.bp-twoyear-period {
  font-size: 11px;
  color: var(--soft-ink);
  letter-spacing: 0.1em;
  font-family: var(--serif-lat);
  font-style: italic;
  text-transform: uppercase;
}

.bp-twoyear-arrow {
  font-size: 22px;
  color: var(--gold-deep);
  font-weight: 300;
  text-align: center;
}

.bp-twoyear-conclusion {
  text-align: center;
  font-family: var(--serif-jp);
  font-size: 14px;
  line-height: 2;
  color: var(--deep-sky);
  letter-spacing: 0.04em;
  padding-top: 16px;
  border-top: 1px dashed rgba(180, 200, 220, 0.3);
}

.bp-twoyear-conclusion strong {
  font-size: 1.2em;
  color: var(--gold-deep);
  font-weight: 700;
}

.bp-twoyear-light {
  font-size: 12.5px;
  color: var(--soft-ink);
}

/* レスポンシブ */
@media (max-width: 600px) {
  .bp-glance-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .bp-twoyear-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .bp-twoyear-arrow {
    transform: rotate(90deg);
  }
}

/* ─── 計算の根拠 ─── */
.bp-calc-details {
  margin-bottom: 14px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(180, 200, 220, 0.15);
}

.bp-calc-summary {
  display: grid;
  grid-template-columns: 36px 1fr auto 24px;
  gap: 12px;
  align-items: center;
  padding: 18px 24px;
  cursor: pointer;
  font-family: var(--serif-jp);
  font-weight: 500;
  color: var(--deep-sky);
  letter-spacing: 0.04em;
  list-style: none;
  user-select: none;
  transition: background 0.3s ease;
}

.bp-calc-summary::-webkit-details-marker { display: none; }

.bp-calc-summary:hover {
  background: rgba(255, 255, 255, 0.4);
}

.bp-calc-summary-loss {
  background: linear-gradient(135deg, rgba(180, 195, 215, 0.25), rgba(150, 165, 185, 0.15));
}

.bp-calc-summary-invest {
  background: linear-gradient(135deg, rgba(255, 250, 235, 0.5), rgba(255, 245, 230, 0.4));
}

.bp-calc-summary-gain {
  background: linear-gradient(135deg, rgba(244, 211, 94, 0.25), rgba(252, 213, 206, 0.3));
}

.bp-calc-icon {
  font-size: 20px;
  line-height: 1;
  text-align: center;
}

.bp-calc-title {
  font-size: 16px;
  font-weight: 700;
}

.bp-calc-amount {
  font-family: var(--serif-jp);
  font-size: 14px;
  color: var(--soft-ink);
}

.bp-calc-amount strong {
  font-size: 18px;
  color: var(--deep-sky);
}

.bp-calc-summary-gain .bp-calc-amount strong {
  color: var(--gold-deep);
}

.bp-calc-toggle {
  font-size: 12px;
  color: var(--whisper);
  transition: transform 0.3s ease;
}

.bp-calc-details[open] .bp-calc-toggle {
  transform: rotate(180deg);
}

.bp-calc-list {
  list-style: none;
  padding: 8px 24px 24px;
  background: rgba(255, 255, 255, 0.5);
  border-top: 1px dashed rgba(180, 200, 220, 0.4);
}

.bp-calc-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 16px;
  padding: 12px 0;
  border-bottom: 1px dotted rgba(180, 200, 220, 0.3);
  align-items: baseline;
}

.bp-calc-item:last-child {
  border-bottom: none;
}

.bp-calc-label {
  font-family: var(--serif-jp);
  font-size: 13.5px;
  color: var(--deep-sky);
  letter-spacing: 0.03em;
}

.bp-calc-value {
  font-family: var(--serif-jp);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--deep-sky);
  text-align: right;
  letter-spacing: 0.02em;
}

.bp-calc-formula {
  grid-column: 1 / -1;
  font-family: ui-monospace, "SFMono-Regular", monospace;
  font-size: 11.5px;
  color: var(--soft-ink);
  background: rgba(244, 211, 94, 0.1);
  padding: 6px 12px;
  border-radius: 8px;
  border-left: 2px solid var(--gold);
  margin-top: 4px;
  letter-spacing: 0.02em;
}

.bp-calc-total-row {
  background: linear-gradient(135deg, rgba(244, 211, 94, 0.15), rgba(252, 213, 206, 0.2));
  border-radius: 12px;
  padding: 16px !important;
  margin-top: 8px;
  border: 1px solid rgba(244, 211, 94, 0.4) !important;
}

.bp-calc-total-row .bp-calc-label {
  font-weight: 700;
  font-size: 14px;
}

.bp-calc-total-value {
  font-size: 18px;
  color: var(--gold-deep);
}

/* 数字エリア */
.bp-num-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 18px 22px;
  margin-bottom: 8px;
  border-radius: 16px;
}

.bp-num-loss {
  background: linear-gradient(135deg, rgba(180, 200, 220, 0.25), rgba(150, 170, 190, 0.15));
  border: 1px solid rgba(180, 200, 220, 0.4);
}

.bp-num-invest, .bp-num-monthly {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(180, 200, 220, 0.3);
}

.bp-num-gain {
  background: linear-gradient(135deg, rgba(244, 211, 94, 0.2), rgba(252, 213, 206, 0.25));
  border: 1px solid rgba(244, 211, 94, 0.5);
  box-shadow: 0 4px 16px rgba(244, 211, 94, 0.15);
}

.bp-num-tag {
  font-family: var(--serif-lat);
  font-style: italic;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--soft-ink);
  display: block;
  margin-bottom: 4px;
}

.bp-num-loss .bp-num-tag { color: #8B7373; }
.bp-num-gain .bp-num-tag { color: var(--gold-deep); }

.bp-num-desc {
  font-size: 13px;
  color: var(--deep-sky);
  letter-spacing: 0.03em;
  font-family: var(--serif-jp);
}

.bp-num-value {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.bp-currency {
  font-family: var(--serif-jp);
  font-size: 18px;
  font-weight: 500;
  color: var(--deep-sky);
}

.bp-num {
  font-family: var(--serif-jp);
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 700;
  color: var(--deep-sky);
  letter-spacing: 0.02em;
  line-height: 1;
}

.bp-num-loss .bp-num {
  color: #6B6B7A;
  text-decoration-thickness: 0;
}

.bp-num-gain .bp-num {
  color: var(--gold-deep);
}

.bp-unit {
  font-size: 13px;
  color: var(--soft-ink);
  letter-spacing: 0.04em;
}

/* 比較セクション */
.bp-compare-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: stretch;
  margin-bottom: 28px;
}

.bp-compare-side {
  text-align: center;
  padding: 28px 22px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bp-compare-stay {
  background: linear-gradient(135deg, rgba(180, 195, 215, 0.35), rgba(150, 165, 185, 0.25));
  border: 1.5px solid rgba(180, 195, 215, 0.5);
}

.bp-compare-start {
  background: linear-gradient(135deg, rgba(244, 211, 94, 0.4), rgba(252, 213, 206, 0.5));
  border: 1.5px solid var(--gold);
  box-shadow: 0 8px 28px rgba(244, 211, 94, 0.3);
}

.bp-compare-title {
  font-family: var(--serif-jp);
  font-size: 14px;
  font-weight: 500;
  color: var(--deep-sky);
  margin-bottom: 12px;
  letter-spacing: 0.06em;
}

.bp-compare-amount {
  font-family: var(--serif-jp);
  font-weight: 700;
  font-size: clamp(26px, 3vw, 36px);
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 6px;
  line-height: 1;
}

.bp-compare-stay .bp-compare-amount { color: #6B7382; }
.bp-compare-start .bp-compare-amount { color: var(--gold-deep); }

.bp-compare-sign {
  font-size: 0.7em;
  margin-right: 2px;
}

.bp-compare-unit {
  font-size: 0.5em;
  font-weight: 500;
  color: var(--soft-ink);
}

.bp-compare-period {
  font-size: 11px;
  color: var(--soft-ink);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-family: var(--serif-lat);
  font-style: italic;
}

.bp-vs {
  font-family: var(--serif-lat);
  font-style: italic;
  font-size: 22px;
  font-weight: 700;
  color: var(--whisper);
  align-self: center;
  letter-spacing: 0.1em;
}

.bp-conclusion {
  text-align: center;
  padding: 24px 28px;
  background: linear-gradient(135deg, rgba(255, 250, 235, 0.85), rgba(252, 213, 206, 0.5));
  border-radius: 18px;
  border: 1px solid rgba(244, 211, 94, 0.45);
}

.bp-conclusion-text {
  font-family: var(--serif-jp);
  font-size: 15px;
  line-height: 1.95;
  color: var(--deep-sky);
  letter-spacing: 0.04em;
}

.bp-conclusion-text strong {
  font-weight: 700;
  font-size: 17px;
  color: var(--gold-deep);
}

#bp-net-gain {
  font-size: 22px;
  font-family: var(--serif-jp);
}

/* =========================================================
   ─── そらの情念セクション ──────────────────────────
   ========================================================= */

.bp-passion {
  margin: 64px -48px;
  padding: 72px 56px 80px;
  background: linear-gradient(180deg,
    rgba(255, 250, 240, 0.6) 0%,
    rgba(255, 235, 215, 0.7) 50%,
    rgba(252, 213, 206, 0.6) 100%);
  border-radius: 32px;
  position: relative;
  overflow: hidden;
}

.bp-passion::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse at 30% 0%, rgba(255, 235, 200, 0.5), transparent 60%),
    radial-gradient(ellipse at 70% 100%, rgba(252, 213, 206, 0.4), transparent 60%);
  pointer-events: none;
}

.bp-passion::after {
  content: '✦';
  position: absolute;
  top: 24px;
  right: 32px;
  font-size: 28px;
  color: var(--gold);
  opacity: 0.5;
}

/* 区切り */
.bp-passion-divider {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}

.bp-passion-divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.bp-passion-divider-text {
  font-family: var(--serif-lat);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.4em;
  color: var(--gold-deep);
  text-transform: uppercase;
}

/* コンテンツ */
.bp-passion-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.bp-passion-content p {
  font-family: var(--serif-jp);
  color: var(--deep-sky);
  letter-spacing: 0.06em;
  line-height: 2.2;
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}

.bp-passion.revealed p {
  opacity: 1;
  transform: translateY(0);
}

/* 段階的フェードイン */
.bp-passion.revealed p:nth-child(1) { transition-delay: 0.2s; }
.bp-passion.revealed p:nth-child(2) { transition-delay: 0.6s; }
.bp-passion.revealed > * > p:nth-of-type(1) { transition-delay: 1.2s; }
.bp-passion.revealed > * > p:nth-of-type(2) { transition-delay: 1.6s; }
.bp-passion.revealed > * > p:nth-of-type(3) { transition-delay: 2.0s; }
.bp-passion.revealed > * > p:nth-of-type(4) { transition-delay: 2.4s; }

.bp-passion-opening {
  font-size: clamp(16px, 1.5vw, 19px);
}

.bp-passion-bridge {
  font-size: clamp(16px, 1.6vw, 20px);
  color: var(--soft-ink);
}

.bp-passion-bridge strong {
  color: var(--gold-deep);
  font-weight: 700;
}

.bp-passion-vision {
  margin: 56px 0;
}

.bp-passion-vision p {
  font-size: clamp(15px, 1.45vw, 18px);
}

.bp-passion-vision strong {
  color: var(--deep-sky);
  font-weight: 700;
  position: relative;
  background: linear-gradient(transparent 60%, rgba(244, 211, 94, 0.3) 60%);
}

.bp-passion-vision em {
  font-style: normal;
  color: var(--gold-deep);
  font-weight: 700;
}

.bp-passion-emphasis {
  margin-top: 40px !important;
  font-size: clamp(16px, 1.6vw, 20px) !important;
  padding: 28px 32px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  border-left: 3px solid var(--gold);
  box-shadow: 0 4px 20px rgba(244, 211, 94, 0.15);
}

.bp-passion-future {
  margin: 56px 0;
}

.bp-passion-future p {
  font-size: clamp(15px, 1.5vw, 19px);
}

.bp-passion-declaration {
  font-size: clamp(20px, 2.2vw, 28px) !important;
  line-height: 1.8 !important;
  margin-bottom: 40px !important;
}

.bp-passion-declaration strong {
  background: linear-gradient(135deg, var(--deep-sky), var(--gold-deep) 70%, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

.bp-passion-future em {
  font-style: normal;
  color: var(--gold-deep);
  font-weight: 700;
}

.bp-passion-future strong {
  color: var(--deep-sky);
  font-weight: 700;
}

.bp-passion-promise {
  margin: 56px 0;
  padding: 36px 32px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(255, 245, 235, 0.6));
  border-radius: 24px;
  border: 1px solid rgba(244, 211, 94, 0.4);
}

.bp-passion-promise p {
  font-size: clamp(16px, 1.6vw, 20px);
  margin-bottom: 24px !important;
}

.bp-passion-promise p:last-child { margin-bottom: 0 !important; }

.bp-passion-promise strong {
  color: var(--gold-deep);
  font-weight: 700;
  font-size: 1.08em;
}

/* 最終断言 */
.bp-passion-final {
  margin: 64px 0;
  padding: 48px 32px;
  background: linear-gradient(135deg, rgba(244, 211, 94, 0.2), rgba(252, 213, 206, 0.3));
  border: 2px solid var(--gold);
  border-radius: 28px;
  box-shadow:
    0 16px 48px rgba(244, 211, 94, 0.3),
    inset 0 0 32px rgba(255, 255, 255, 0.4);
}

.bp-passion-conclusion {
  font-size: clamp(16px, 1.5vw, 19px) !important;
  margin-bottom: 16px !important;
}

.bp-passion-affirmation {
  font-family: var(--serif-jp);
  font-size: clamp(28px, 4vw, 48px) !important;
  font-weight: 700;
  line-height: 1.6 !important;
  letter-spacing: 0.08em;
  margin: 24px 0 !important;
  color: var(--deep-sky);
}

.bp-passion-keyword {
  font-size: 1.25em;
  background: linear-gradient(135deg, var(--gold-deep), var(--gold), var(--peach-warm));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  position: relative;
}

.bp-passion-keyword::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.bp-passion-promise-final {
  font-size: clamp(15px, 1.4vw, 17px) !important;
  color: var(--soft-ink) !important;
  margin-top: 24px !important;
  margin-bottom: 0 !important;
}

.bp-passion-invite {
  font-family: var(--serif-jp);
  font-size: clamp(20px, 2.2vw, 28px) !important;
  font-weight: 700;
  letter-spacing: 0.12em !important;
  line-height: 1.6 !important;
  background: linear-gradient(135deg, var(--gold-deep), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-top: 56px !important;
}

.bp-passion-cite {
  display: block;
  margin-top: 32px;
  font-family: var(--serif-lat);
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0.3em;
  color: var(--gold-deep);
}

/* レスポンシブ */
@media (max-width: 600px) {
  .bp-passion {
    margin: 32px -22px;
    padding: 48px 28px 56px;
    border-radius: 24px;
  }

  .bp-passion-final {
    padding: 32px 22px;
  }

  .bp-passion-emphasis,
  .bp-passion-promise {
    padding: 24px 22px;
  }
}

/* 旧そらメッセージ（互換性のため残し、非表示にしたい場合は適宜） */
.bp-sora-msg {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(255, 245, 235, 0.6));
  border-left: 3px solid var(--gold);
  border-radius: 16px;
  padding: 24px 32px;
  margin: 32px 0;
}

.bp-sora-msg p {
  font-family: var(--serif-jp);
  font-size: 14.5px;
  line-height: 2.05;
  color: var(--deep-sky);
  letter-spacing: 0.03em;
}

.bp-sora-msg strong {
  background: linear-gradient(transparent 60%, rgba(244, 211, 94, 0.4) 60%);
  font-weight: 700;
}

.bp-sora-msg cite {
  display: block;
  margin-top: 12px;
  text-align: right;
  font-family: var(--serif-lat);
  font-style: italic;
  font-size: 13px;
  color: var(--gold-deep);
  letter-spacing: 0.18em;
}

/* CTA */
.bp-actions {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.bp-apply-btn {
  width: 100%;
  max-width: 440px;
}

.bp-restart {
  background: none;
  border: none;
  color: var(--soft-ink);
  font-size: 13px;
  cursor: pointer;
  padding: 8px 16px;
  letter-spacing: 0.05em;
}

.bp-restart:hover { color: var(--deep-sky); }

/* ─── レスポンシブ ─── */
@media (max-width: 980px) {
  .diagnose-stage {
    padding: 70px 20px 40px;
  }

  .diagnose-sora {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    transform: none;
    flex-direction: row;
    align-items: flex-end;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0));
    padding: 12px 16px 8px;
    gap: 12px;
  }

  .diagnose-sora-img-wrap {
    max-width: 100px;
    flex-shrink: 0;
  }

  .diagnose-sora-bubble {
    flex: 1;
    max-width: none;
    padding: 14px 18px;
    margin-top: 0;
  }

  .diagnose-sora-bubble::before {
    display: none;
  }

  .diagnose-sora-msg { font-size: 13px; line-height: 1.75; }

  .diagnose-content {
    margin-left: 0;
    width: 100%;
    padding: 0 0 180px 0;
  }
}

@media (max-width: 600px) {
  .diagnose-close {
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
  }

  .diagnose-voice-toggle {
    top: 14px;
    right: 64px;
    width: 40px;
    height: 40px;
  }

  .bp-card {
    padding: 28px 22px;
    border-radius: 24px;
  }

  .bp-num-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .bp-compare-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .bp-vs {
    text-align: center;
  }

  .diagnose-summary-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .diagnose-option {
    padding: 18px 22px;
    grid-template-columns: 44px 1fr;
    gap: 12px;
  }

  .opt-emoji { font-size: 24px; }
  .opt-main { font-size: 15px; }
  .opt-sub { font-size: 12px; }

  .prog-line { flex-basis: 16px; }
  .prog-step { width: 30px; height: 30px; font-size: 13px; }
}
