/**
 * Guide Pages Styles
 * ガイドページ用スタイル
 */

/* パンくずリスト */
.guide-page .breadcrumb {
  padding: 16px 0;
}

.guide-page .breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
}

.guide-page .breadcrumb li {
  display: flex;
  align-items: center;
}

.guide-page .breadcrumb li:not(:last-child)::after {
  content: ">";
  margin-left: 8px;
  color: var(--gray-400);
}

.guide-page .breadcrumb a {
  color: var(--primary);
  text-decoration: none;
}

.guide-page .breadcrumb a:hover {
  text-decoration: underline;
}

.guide-page .breadcrumb li[aria-current="page"] {
  color: var(--gray-600);
}

/* ヒーローセクション */
.guide-hero {
  padding: 60px 0;
  text-align: center;
  color: white;
  margin-bottom: 40px;
}

.guide-hero h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
}

.guide-hero p {
  font-size: 16px;
  opacity: 0.9;
}

/* ヒーローのカラーバリエーション */
.guide-hero.search {
  background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
}

.guide-hero.interview {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.guide-hero.work {
  background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
}

.guide-hero.site {
  background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
}

/* コンテンツセクション */
.guide-content {
  padding-bottom: 60px;
}

.guide-section {
  margin-bottom: 48px;
}

.guide-section h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary);
}

.guide-section h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--gray-800);
  margin: 24px 0 12px;
}

.guide-section p {
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 16px;
}

/* リスト */
.guide-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.guide-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  color: var(--gray-700);
  line-height: 1.6;
}

.guide-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
}

.guide-list li strong {
  color: var(--gray-900);
}

/* チェックリスト */
.guide-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.guide-checklist li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
  color: var(--gray-700);
  line-height: 1.6;
}

.guide-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  background: var(--success);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

/* ステップリスト */
.guide-steps {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  counter-reset: step;
}

.guide-steps li {
  position: relative;
  padding-left: 40px;
  margin-bottom: 16px;
  color: var(--gray-700);
  line-height: 1.6;
  counter-increment: step;
}

.guide-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
}

/* ヒント/ポイントボックス */
.guide-tip {
  background: var(--primary-bg);
  border-left: 4px solid var(--primary);
  padding: 20px;
  border-radius: 0 8px 8px 0;
  margin: 20px 0;
}

.guide-tip strong {
  display: block;
  color: var(--primary);
  margin-bottom: 8px;
  font-size: 14px;
}

.guide-tip p {
  margin: 0;
  color: var(--gray-700);
}

/* カードグリッド */
.guide-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

.guide-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 24px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.guide-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.guide-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-900);
  margin: 0 0 8px;
}

.guide-card p {
  font-size: 14px;
  color: var(--gray-600);
  margin: 0;
  line-height: 1.6;
}

/* Q&A */
.guide-qa {
  margin: 20px 0;
}

.qa-item {
  margin-bottom: 20px;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  overflow: hidden;
}

.qa-question {
  background: var(--gray-50);
  padding: 16px 20px;
  font-weight: 600;
  color: var(--gray-900);
}

.qa-answer {
  padding: 16px 20px;
  color: var(--gray-700);
  line-height: 1.7;
}

/* タイムライン */
.guide-timeline {
  margin: 20px 0;
  padding-left: 20px;
  border-left: 3px solid var(--primary);
}

.timeline-item {
  position: relative;
  padding: 0 0 24px 24px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -11px;
  top: 4px;
  width: 16px;
  height: 16px;
  background: var(--primary);
  border: 3px solid white;
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--primary-bg);
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-time {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 4px;
}

.timeline-content {
  color: var(--gray-700);
  line-height: 1.6;
}

/* Good/NG リスト */
.guide-dos-donts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 20px 0;
}

.guide-dos-donts .dos,
.guide-dos-donts .donts {
  padding: 20px;
  border-radius: 12px;
}

.guide-dos-donts .dos {
  background: #ecfdf5;
  border: 1px solid #10b981;
}

.guide-dos-donts .donts {
  background: #fef2f2;
  border: 1px solid #ef4444;
}

.guide-dos-donts h3 {
  margin: 0 0 12px;
  font-size: 16px;
}

.guide-dos-donts .dos h3 {
  color: #059669;
}

.guide-dos-donts .donts h3 {
  color: #dc2626;
}

.guide-dos-donts ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.guide-dos-donts li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
  font-size: 14px;
}

.guide-dos-donts .dos li::before {
  content: "○";
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: bold;
}

.guide-dos-donts .donts li::before {
  content: "×";
  position: absolute;
  left: 0;
  color: #ef4444;
  font-weight: bold;
}

/* CTA セクション */
.guide-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 40px;
  border-radius: 16px;
  text-align: center;
  margin-top: 48px;
}

.guide-cta h2 {
  color: white;
  border-bottom: none;
  margin-bottom: 12px;
  padding-bottom: 0;
}

.guide-cta p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 24px;
}

.guide-cta .btn-primary {
  display: inline-block;
  background: white;
  color: var(--primary);
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.guide-cta .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* レスポンシブ */
@media (max-width: 768px) {
  .guide-hero {
    padding: 40px 0;
  }

  .guide-hero h1 {
    font-size: 24px;
  }

  .guide-section h2 {
    font-size: 20px;
  }

  .guide-section h3 {
    font-size: 16px;
  }

  .guide-dos-donts {
    grid-template-columns: 1fr;
  }

  .guide-cta {
    padding: 32px 20px;
  }

  .guide-cards {
    grid-template-columns: 1fr;
  }
}
