/* ========================================
   HIROGARU ソリューションファインダー
   finder.css
======================================== */

body {
  background: #f8f9fa;
  font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
}

/* ---- 固定「最初に戻る」ボタン ---- */
.btn-fixed-restart {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  background: #fff;
  border: 1.5px solid #d0d0d0;
  border-radius: 24px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  color: #555;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
  transition: background 0.2s, color 0.2s;
  display: none;
}
.btn-fixed-restart:hover {
  background: #f0f0f0;
  color: #222;
}

/* ---- ラッパー ---- */
.finder-wrap {
  max-width: 1000px;
  margin: 60px auto 100px;
  padding: 0 32px;
}

/* ---- サイトヘッダー（固定表示） ---- */
.site-header {
  text-align: center;
  margin-bottom: 48px;
}
.site-header .step-label {
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 10px;
}
.site-header h2 {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.5;
}
.site-header p {
  color: #333;
  font-size: 17px;
  margin-top: 12px;
}

/* ---- ステップヘッダー（各ステップ内） ---- */
.step-header {
  text-align: center;
  margin-bottom: 36px;
}
.step-header .step-label {
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 10px;
}
.step-header h2 {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
}
.step-header p {
  color: #333;
  font-size: 16px;
  margin-top: 10px;
}

/* ---- パンくず ---- */
.breadcrumb-step {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
  align-items: center;
}
.breadcrumb-step .crumb {
  font-size: 14px;
  color: #aaa;
}
.breadcrumb-step .crumb.active {
  color: #0d6efd;
  font-weight: 600;
}
.breadcrumb-step .sep {
  color: #ccc;
  font-size: 14px;
}

/* ---- 戻るボタン ---- */
.btn-back {
  background: none;
  border: none;
  color: #888;
  font-size: 16px;
  padding: 0;
  cursor: pointer;
  margin-bottom: 24px;
  display: block;
}
.btn-back:hover {
  color: #333;
}

/* ---- 選択肢カード ---- */
.choice-card {
  background: #fff;
  border: 1.5px solid #e0e0e0;
  border-radius: 14px;
  padding: 24px 28px;
  margin-bottom: 14px;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.choice-card:hover {
  border-color: #0d6efd;
  box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.08);
}
.choice-card.selected {
  border-color: #0d6efd;
  background: #f0f5ff;
}
.choice-card .choice-icon {
  font-size: 28px;
  min-width: 40px;
  text-align: center;
  margin-top: 2px;
}
.choice-card .choice-text h5 {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 6px;
}
.choice-card .choice-text p {
  font-size: 15px;
  color: #444;
  margin: 0;
  line-height: 1.6;
}

/* ---- 複数選択ヒント ---- */
.multi-hint {
  font-size: 15px;
  color: #555;
  text-align: center;
  margin-bottom: 24px;
}

/* ---- 診断結果を見るボタン ---- */
.btn-next {
  width: 100%;
  padding: 16px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 12px;
  margin-top: 20px;
}

/* ---- リダイレクトカード ---- */
.redirect-card {
  background: #fff;
  border-radius: 16px;
  border: 1.5px solid #e0e0e0;
  padding: 48px 40px;
  text-align: center;
}
.redirect-card .redirect-icon {
  font-size: 56px;
  margin-bottom: 20px;
}
.redirect-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #1a1a1a;
}
.redirect-card p {
  color: #333;
  font-size: 17px;
  margin-bottom: 28px;
  line-height: 1.8;
}

/* ---- ソリューション表示エリア ---- */
.solution-wrap {
  background: #fff;
  border-radius: 16px;
  border: 1.5px solid #e0e0e0;
  padding: 40px;
  margin-bottom: 24px;
}
.solution-wrap h3 {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
}
.solution-tag {
  display: inline-block;
  font-size: 13px;
  padding: 4px 14px;
  border-radius: 20px;
  background: #e8f0fe;
  color: #1a56db;
  font-weight: 600;
  margin-bottom: 14px;
}
.solution-intro {
  font-size: 16px;
  color: #333;
  line-height: 1.8;
  margin-top: 10px;
  margin-bottom: 0;
  padding: 16px 20px;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid #0d6efd;
}

/* ---- 各ソリューションセクション ---- */
.solution-section {
  border-top: 1px solid #f0f0f0;
  padding-top: 28px;
  margin-top: 28px;
}
.solution-section h5 {
  font-size: 19px;
  font-weight: 700;
  color: #0d6efd;
  margin-bottom: 12px;
}
.solution-section p {
  font-size: 16px;
  color: #222;
  line-height: 1.9;
}
.solution-section ul {
  font-size: 16px;
  color: #222;
  line-height: 1.9;
  padding-left: 1.5em;
}
.solution-section ul li {
  margin-bottom: 6px;
}
.solution-section strong {
  color: #1a1a1a;
}

/* ---- CTAエリア ---- */
.cta-area {
  text-align: center;
  margin-top: 32px;
  padding: 40px;
  background: #fff;
  border-radius: 16px;
  border: 1.5px solid #e0e0e0;
}
.cta-area .btn {
  padding: 16px 40px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 12px;
}
.cta-lead {
  color: #1a1a1a;
  font-size: 17px;
  line-height: 1.9;
  margin-bottom: 24px;
}

/* ---- ローディング ---- */
.loading-area {
  text-align: center;
  padding: 60px 0;
  color: #555;
  font-size: 17px;
}
.loading-area .spinner-border {
  margin-bottom: 12px;
}

/* ---- レスポンシブ（タブレット）---- */
@media (max-width: 768px) {
  .finder-wrap {
    padding: 0 20px;
  }
  .site-header h2 {
    font-size: 24px;
  }
  .step-header h2 {
    font-size: 20px;
  }
}

/* ---- レスポンシブ（スマートフォン）---- */
@media (max-width: 576px) {
  .finder-wrap {
    margin-top: 32px;
    padding: 0 16px;
  }
  .site-header h2 {
    font-size: 20px;
  }
  .step-header h2 {
    font-size: 18px;
  }
  .choice-card .choice-text h5 {
    font-size: 16px;
  }
  .solution-wrap,
  .cta-area {
    padding: 24px 20px;
  }
  .redirect-card {
    padding: 28px 20px;
  }
  .cta-area .btn {
    width: 100%;
    margin-right: 0 !important;
  }
}
