/* ========== shindan.css — 診断ページ専用スタイル ========== */

/* Wrap */
.shindan-wrap {
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
}

/* ---- LP ---- */
.shindan-lp {
  text-align: left;
}

.shindan-lp__h1 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 1.25rem;
  color: var(--ink);
}

.shindan-lp__lead {
  font-size: 15px;
  line-height: 1.95;
  color: var(--ink);
  margin-bottom: 2rem;
}

.shindan-lp__note {
  font-size: 13px;
  color: var(--ink-2);
  text-align: center;
  margin-top: 0.75rem;
}

/* Resume banner */
.shindan-resume {
  background: var(--blue-2);
  border: 1px solid var(--blue);
  border-radius: 6px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}

.shindan-resume p {
  font-size: 14px;
  margin-bottom: 0.75rem;
  color: var(--ink);
}

.shindan-resume__btns {
  display: flex;
  gap: 0.75rem;
}

.shindan-resume__yes {
  flex: 1;
  padding: 0.6rem 1rem;
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
}

.shindan-resume__yes:hover {
  background: #c05a1e;
}

.shindan-resume__no {
  flex: 1;
  padding: 0.6rem 1rem;
  background: var(--paper);
  color: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
}

.shindan-resume__no:hover {
  background: var(--paper-2);
}

/* ---- Progress bar ---- */
.shindan-progress {
  margin-bottom: 1.5rem;
}

.shindan-progress__bar-wrap {
  height: 8px;
  background: var(--line);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.4rem;
}

.shindan-progress__bar {
  height: 100%;
  background: var(--orange);
  border-radius: 4px;
  transition: width 0.3s ease;
}

.shindan-progress__label {
  font-size: 13px;
  color: var(--ink-2);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.shindan-progress__pct {
  font-weight: 500;
  color: var(--orange);
}

/* ---- Question ---- */
.shindan-q {
  margin-bottom: 1.25rem;
}

.shindan-q__num {
  font-size: 12px;
  color: var(--ink-2);
  margin-bottom: 0.35rem;
  letter-spacing: 0.04em;
}

.shindan-q__text {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.55;
  color: var(--ink);
}

/* ---- Options ---- */
.shindan-options {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.shindan-opt {
  display: block;
  width: 100%;
  min-height: 56px;
  padding: 0 1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  line-height: 1.5;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.shindan-opt:hover {
  border-color: var(--blue);
  background: var(--blue-2);
}

.shindan-opt--selected {
  border-color: var(--blue);
  border-width: 2px;
  background: var(--blue-2);
}

/* ---- Back link ---- */
.shindan-back {
  display: inline-block;
  font-size: 13px;
  color: var(--ink-2);
  margin-top: 0.5rem;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  text-decoration: underline;
}

.shindan-back:hover {
  color: var(--ink);
}

/* ---- Analyzing (演出) ---- */
.shindan-analyzing {
  text-align: center;
  padding: 3rem 1rem;
}

.shindan-analyzing__text {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.8;
}

/* ---- Result ---- */
.shindan-result {
  /* 通常フロー内表示 */
}

.shindan-result__section {
  margin-bottom: 2rem;
}

/* ① 回答引用分析 */
.shindan-analysis {
  border-left: 3px solid var(--blue);
  padding: 0.75rem 1rem;
  background: var(--blue-2);
  margin-bottom: 1rem;
  border-radius: 0 6px 6px 0;
}

.shindan-analysis p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink);
  margin: 0;
}

.shindan-analysis p + p {
  margin-top: 0.75rem;
}

/* ② 可能性提示 */
.shindan-level {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.shindan-level__label {
  font-size: 13px;
  color: var(--ink-2);
  margin-bottom: 0.35rem;
}

.shindan-level__value {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.shindan-level__value--high {
  color: #c0392b;
}

.shindan-level__value--mid {
  color: #e67e22;
}

.shindan-level__value--low {
  color: var(--blue);
}

.shindan-score-bar-wrap {
  height: 10px;
  background: var(--line);
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.shindan-score-bar {
  height: 100%;
  background: var(--orange);
  border-radius: 5px;
}

.shindan-score-label {
  font-size: 12px;
  color: var(--ink-2);
  margin-bottom: 0.75rem;
}

.shindan-level__caveat {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.75;
  border-top: 1px solid var(--line);
  padding-top: 0.75rem;
  margin-top: 0.75rem;
}

/* ③ 相談先カード */
.shindan-cta-section {
  margin-bottom: 2rem;
}

.shindan-cta-section h2 {
  margin-bottom: 0.75rem;
}

.shindan-cta-body {
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink);
  margin-bottom: 1.25rem;
}

.shindan-offer-cards {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.shindan-offer-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem;
}

.shindan-offer-card--primary {
  border-color: var(--blue);
  background: var(--blue-2);
}

.shindan-offer-card__name {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.3rem;
}

.shindan-offer-card__desc {
  font-size: 13px;
  color: var(--ink-2);
  margin-bottom: 0.75rem;
}

.shindan-offer-card__btn {
  display: block;
  width: 100%;
  padding: 0.7rem;
  background: var(--orange);
  color: #fff;
  border-radius: 6px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.shindan-offer-card__btn:hover {
  background: #c05a1e;
  color: #fff;
  text-decoration: none;
}

.shindan-offer-card--secondary .shindan-offer-card__btn {
  background: var(--paper);
  color: var(--blue);
  border: 1px solid var(--blue);
}

.shindan-offer-card--secondary .shindan-offer-card__btn:hover {
  background: var(--blue-2);
  color: var(--blue);
}

.shindan-q14-note {
  font-size: 13px;
  color: var(--ink-2);
  border-left: 3px solid var(--line);
  padding-left: 0.75rem;
  margin-bottom: 0.75rem;
  line-height: 1.75;
}

/* .shindan-q15-note removed in v2 (unified to .shindan-q14-note) */

/* ④ エンド */
.shindan-end {
  padding: 1.25rem;
  background: var(--blue-2);
  border-left: 3px solid var(--blue);
  border-radius: 0 8px 8px 0;
  margin-bottom: 1.5rem;
}

.shindan-end__testimony {
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.shindan-end__subtext {
  font-size: 13px;
  color: var(--ink-2);
  margin-top: 0.75rem;
}

/* noscript */
.shindan-noscript {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.shindan-noscript p {
  font-size: 14px;
  color: var(--ink-2);
  margin-bottom: 0.5rem;
}

/* PR label */
.shindan-pr {
  font-size: 12px;
  color: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 2px 8px;
  display: inline-block;
  margin-bottom: 1.5rem;
}

/* Visually hidden loading state */
.shindan-hidden {
  display: none !important;
}
