/* =============================================
   LifeFlow 簡易診断 — Stylesheet
   ============================================= */

/* ----- フォームセクション ----- */

.shindan-section {
  background: var(--color-white);
  padding: 80px max(40px, 10vw) 100px;
}

.shindan-inner {
  max-width: 480px;
  margin: 0 auto;
}

.shindan-lead {
  font-family: var(--font-serif);
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 2.0;
  color: var(--color-text-main);
  margin-bottom: 52px;
}

.shindan-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.shindan-input {
  width: 100%;
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 300;
  color: var(--color-text-main);
  background: var(--color-offwhite);
  border: 1px solid var(--color-border);
  padding: 16px 20px;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
  transition: border-color 0.2s ease;
}

.shindan-input:focus {
  border-color: var(--color-text-sub);
}

.shindan-btn {
  font-family: var(--font-jp);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.92);
  background: var(--color-navy);
  border: none;
  padding: 18px 32px;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.shindan-btn:hover {
  opacity: 0.75;
}

.shindan-error {
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: #c0392b;
  margin-top: 8px;
  line-height: 1.8;
}

/* ----- 結果セクション ----- */

.shindan-result {
  background: var(--color-navy);
  padding: 96px max(40px, 10vw) 100px;
}

.shindan-result-inner {
  max-width: 560px;
  margin: 0 auto;
}

.result-eyebrow {
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.38em;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 32px;
}

.result-type {
  font-family: var(--font-serif);
  font-size: clamp(56px, 12vw, 96px);
  font-weight: 400;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.1;
  margin-bottom: 16px;
}

.result-flow {
  font-family: var(--font-serif);
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 400;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.50);
  margin-bottom: 52px;
}

.result-desc {
  font-family: var(--font-serif);
  font-size: clamp(15px, 1.8vw, 18px);
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 2.3;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 72px;
}

.result-cta-note {
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.28);
  margin-bottom: 20px;
}

.result-line-btn {
  display: inline-block;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.30);
  padding: 16px 32px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.result-line-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.55);
}

.result-retry {
  display: inline-block;
  margin-top: 28px;
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.28);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: color 0.2s ease;
}

.result-retry:hover {
  color: rgba(255, 255, 255, 0.55);
}

/* ----- Compat image ----- */
.result-compat-img-wrap {
  margin: 0 0 52px;
  text-align: center;
}
.result-compat-img {
  max-width: 100%;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
}
.result-compat-note {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.25);
  margin-top: 10px;
}

/* ----- Responsive ----- */

@media (max-width: 768px) {
  .shindan-section {
    padding: 60px 28px 80px;
  }

  .shindan-result {
    padding: 72px 28px 80px;
  }

  .result-line-btn {
    display: block;
    text-align: center;
    padding: 18px 24px;
  }
}
