@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;700;900&display=swap');

/* ════════════════════════════════
   ラッパー
════════════════════════════════ */
.kz-dino-wrap {
  font-family: 'Noto Serif JP', serif;
  background: #f8f3eb;
  border-radius: 4px;
  overflow: hidden;
}

/* ════════════════════════════════
   ヒーロー（ページタイトル）
════════════════════════════════ */
.kz-dino-hero {
  background: #142a1d;
  background-image:
    repeating-linear-gradient(45deg, rgba(200,144,42,.07) 0px, rgba(200,144,42,.07) 1px, transparent 1px, transparent 22px),
    repeating-linear-gradient(-45deg, rgba(200,144,42,.04) 0px, rgba(200,144,42,.04) 1px, transparent 1px, transparent 22px);
  padding: 52px 40px 46px;
}

.kz-dino-badge {
  display: inline-block;
  background: #c8902a;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  padding: 5px 14px;
  border-radius: 2px;
  margin-bottom: 18px;
  font-family: sans-serif;
}

.kz-dino-wrap .hero-title,
.kz-dino-title {
  color: #f3ead9 !important;
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  font-weight: 900;
  line-height: 1.6;
  margin: 0 !important;
  padding: 0 !important;
  letter-spacing: -.01em;
}

.kz-dino-title-note {
  font-size: .62em;
  font-weight: 400;
  opacity: .55;
  margin-left: 4px;
}

/* ════════════════════════════════
   章見出し（第2章以降）
════════════════════════════════ */
.kz-dino-chapter {
  background: #f0ebe0;
  border-top: 4px solid #c8902a;
  padding: 28px 40px 26px;
}

.kz-dino-chapter-label {
  display: block;
  font-size: 11px;
  color: #c8902a;
  font-weight: 700;
  letter-spacing: .14em;
  font-family: sans-serif;
  margin-bottom: 8px;
}

.kz-dino-wrap .kz-dino-chapter-title {
  font-size: clamp(1.1rem, 2.2vw, 1.6rem) !important;
  font-weight: 900 !important;
  color: #1a2e22 !important;
  line-height: 1.55 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
  letter-spacing: -.01em;
}

/* ════════════════════════════════
   本文エリア
════════════════════════════════ */
.kz-dino-content {
  padding: 40px 38px 46px;
  max-width: 860px;
  box-sizing: border-box;
}

/* ════════════════════════════════
   目次
════════════════════════════════ */
.kz-toc {
  border: 1px solid #d4c9b0;
  border-radius: 8px;
  overflow: hidden;
  margin: 0 0 34px;
}

.kz-toc-head {
  background: #142a1d;
  padding: 13px 20px;
}

.kz-toc-head-title {
  font-size: 13px;
  font-weight: 700;
  color: #f3ead9;
  letter-spacing: .14em;
  font-family: sans-serif;
}

.kz-toc-body {
  background: #fdfaf6;
  padding: 18px 20px 16px;
}

.kz-toc-item {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px dashed #e0d8cc;
}

.kz-toc-item:last-child {
  border-bottom: none;
}

.kz-toc-num {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: #c8902a;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  font-family: sans-serif;
  line-height: 1;
}

.kz-toc-num--key {
  background: #142a1d;
  outline: 2px solid #c8902a;
  outline-offset: 1px;
}

.kz-toc-text {
  font-size: .93rem;
  font-weight: 700;
  color: #1a2e22;
  line-height: 1.55;
}

.kz-toc-item--key .kz-toc-text {
  color: #142a1d;
}

.kz-toc-sublist {
  padding: 2px 0 6px 36px;
}

.kz-toc-sub {
  font-size: .84rem;
  color: #5a4a2a;
  padding: 3px 0 3px 12px;
  border-left: 2px solid #d4c9b0;
  margin-bottom: 2px;
  line-height: 1.5;
}

/* ════════════════════════════════
   悩みカード
════════════════════════════════ */
.kz-dino-pain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 34px;
}

.kz-dino-pain-card {
  background: #fff;
  border-left: 4px solid #c8902a;
  border-radius: 0 6px 6px 0;
  padding: 18px 20px 18px 22px;
  font-size: .93rem;
  line-height: 1.78;
  color: #1a1a1a;
  position: relative;
}

.kz-dino-pain-card::before {
  content: '"';
  position: absolute;
  top: -6px;
  left: 10px;
  font-size: 3.8rem;
  color: #c8902a;
  opacity: .15;
  font-family: Georgia, serif;
  line-height: 1;
  pointer-events: none;
}

/* ════════════════════════════════
   リード文
════════════════════════════════ */
.kz-dino-lead {
  font-size: 1rem;
  line-height: 2;
  color: #1a1a1a;
  border-left: 3px solid #c8902a;
  padding-left: 18px;
  margin-bottom: 26px;
}

/* ════════════════════════════════
   図解マップ
════════════════════════════════ */
.kz-dino-map-wrap {
  margin: 0 0 28px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #d9d0c0;
}

.kz-dino-map-wrap svg {
  display: block;
}

.kz-dino-map-caption {
  background: #ede8de;
  border-top: 1px solid #d9d0c0;
  padding: 10px 16px;
  font-size: .8rem;
  color: #5a4a30;
  text-align: center;
  font-family: sans-serif;
}

/* ════════════════════════════════
   本文段落
════════════════════════════════ */
.kz-dino-body {
  font-size: .94rem;
  line-height: 2;
  color: #383838;
  margin-bottom: 20px;
}

/* ════════════════════════════════
   解決策・結論ボックス
════════════════════════════════ */
.kz-dino-solution {
  background: #142a1d;
  border-radius: 8px;
  padding: 28px 32px;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}

.kz-dino-solution::after {
  content: '';
  position: absolute;
  bottom: -34px;
  right: -34px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(200,144,42,.13);
  pointer-events: none;
}

.kz-dino-sol-badge {
  display: inline-block;
  background: #c8902a;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  padding: 4px 12px;
  border-radius: 2px;
  margin-bottom: 12px;
  font-family: sans-serif;
}

.kz-dino-solution p {
  font-size: .94rem;
  line-height: 2;
  color: #ddd3c0;
  margin: 0;
}

/* ════════════════════════════════
   締め段落
════════════════════════════════ */
.kz-dino-closing {
  font-size: .94rem;
  line-height: 2;
  color: #383838;
  border-top: 1px solid #d9d0c0;
  padding-top: 22px;
  margin: 0;
}

/* ════════════════════════════════
   比較表
════════════════════════════════ */
.kz-tbl-wrap {
  overflow-x: auto;
  margin-bottom: 36px;
  border-radius: 8px;
  border: 1px solid #d4c9b0;
  box-shadow: 0 2px 8px rgba(20,42,29,.06);
}

.kz-dino-tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: .86rem;
  font-family: sans-serif;
  min-width: 580px;
}

.kz-dino-tbl thead th {
  background: #142a1d;
  color: #f3ead9;
  padding: 13px 16px;
  text-align: left;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: .03em;
}

.kz-dino-tbl tbody tr {
  border-bottom: 1px solid #e0d8cc;
}

.kz-dino-tbl tbody tr:last-child {
  border-bottom: none;
}

.kz-dino-tbl tbody td {
  padding: 13px 16px;
  vertical-align: top;
  color: #2a2a2a;
  background: #fff;
  line-height: 1.7;
}

.kz-dino-tbl-amber td {
  background: #fef8ee;
}

.kz-dino-tbl-amber td:first-child {
  border-left: 3px solid #c8902a;
}

.kz-dino-tbl-green td {
  background: #f0f7f2;
}

.kz-dino-tbl-green td:first-child {
  border-left: 3px solid #1c6240;
}

.kz-dino-tbl-ref td {
  background: #f6f4f0;
  color: #6a6058;
}

/* ════════════════════════════════
   ツアー紹介カード
════════════════════════════════ */
.kz-dino-tour {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 28px;
  border: 1px solid #d4c9b0;
  box-shadow: 0 2px 10px rgba(20,42,29,.07);
}

.kz-dino-tour-head {
  padding: 22px 28px 20px;
}

.kz-dino-tour-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  padding: 4px 12px;
  border-radius: 2px;
  margin-bottom: 10px;
  font-family: sans-serif;
}

.kz-dino-tour-name {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 900;
  line-height: 1.5;
  margin: 0;
}

.kz-dino-tour-body {
  padding: 24px 28px 26px;
  background: #fff;
}

/* アンバー variant（WOW RIDE） */
.kz-dino-tour--amber .kz-dino-tour-head {
  background: #c8902a;
}
.kz-dino-tour--amber .kz-dino-tour-tag {
  background: rgba(255,255,255,.22);
  color: #fff8ec;
}
.kz-dino-tour--amber .kz-dino-tour-name {
  color: #fff8ec;
}

/* グリーン variant（あわら恐竜号） */
.kz-dino-tour--green .kz-dino-tour-head {
  background: #142a1d;
  background-image: repeating-linear-gradient(45deg, rgba(200,144,42,.05) 0px, rgba(200,144,42,.05) 1px, transparent 1px, transparent 20px);
}
.kz-dino-tour--green .kz-dino-tour-tag {
  background: rgba(200,144,42,.25);
  color: #f0d898;
}
.kz-dino-tour--green .kz-dino-tour-name {
  color: #f3ead9;
}

/* 参考 variant（えちぜん鉄道） */
.kz-dino-tour--ref .kz-dino-tour-head {
  background: #4a5a4e;
}
.kz-dino-tour--ref .kz-dino-tour-tag {
  background: rgba(255,255,255,.18);
  color: #d8e8d8;
}
.kz-dino-tour--ref .kz-dino-tour-name {
  color: #eef4ee;
}

/* ════════════════════════════════
   用語解説ボックス
════════════════════════════════ */
.kz-dino-glossary {
  background: #fef8ee;
  border-left: 3px solid #c8902a;
  border-radius: 0 6px 6px 0;
  padding: 16px 20px 16px 20px;
  margin: 6px 0 18px;
}

.kz-dino-glossary-badge {
  display: inline-block;
  background: #c8902a;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  padding: 3px 10px;
  border-radius: 2px;
  margin-bottom: 8px;
  font-family: sans-serif;
}

.kz-dino-glossary-title {
  font-size: .95rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.kz-dino-glossary-body {
  font-size: .88rem;
  line-height: 1.9;
  color: #3a3a3a;
  margin: 0;
}

/* ════════════════════════════════
   ポイントハイライト
════════════════════════════════ */
.kz-dino-point {
  background: #f0f7f2;
  border-left: 3px solid #1c6240;
  border-radius: 0 6px 6px 0;
  padding: 16px 18px;
  margin: 6px 0 18px;
}

.kz-dino-point p {
  font-size: .93rem;
  line-height: 1.9;
  color: #1a2e22;
  margin: 0;
}

/* ════════════════════════════════
   章見出し variant：重要ポイント
════════════════════════════════ */
.kz-dino-chapter--key {
  background: #fef8ee;
}

/* ════════════════════════════════
   章内サブ見出し
════════════════════════════════ */
.kz-dino-wrap .kz-dino-sub-head {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem) !important;
  font-weight: 900 !important;
  color: #142a1d !important;
  border-left: 3px solid #c8902a !important;
  border-top: none !important;
  border-right: none !important;
  border-bottom: none !important;
  background: none !important;
  padding: 2px 0 2px 14px !important;
  margin: 28px 0 16px !important;
  line-height: 1.5;
}

/* ════════════════════════════════
   FAQ カード
════════════════════════════════ */
.kz-dino-faq-card {
  border: 1px solid #d4c9b0;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: 0 1px 6px rgba(20,42,29,.05);
}

.kz-dino-faq-q {
  background: #fef8ee;
  padding: 16px 20px 16px 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.kz-dino-faq-a {
  background: #fff;
  padding: 16px 20px 16px 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border-top: 1px solid #e8e0d4;
}

.kz-dino-faq-badge {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  font-family: sans-serif;
  margin-top: 1px;
}

.kz-dino-faq-badge--q {
  background: #c8902a;
  color: #fff;
}

.kz-dino-faq-badge--a {
  background: #1c6240;
  color: #fff;
}

.kz-dino-faq-q-text {
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.75;
  color: #1a1a1a;
  margin: 0;
}

.kz-dino-faq-a-text {
  font-size: .92rem;
  line-height: 1.95;
  color: #383838;
  margin: 0;
}

/* ════════════════════════════════
   CTAボタン
════════════════════════════════ */
.kz-dino-cta {
  background: #f0ebe0;
  border: 1px solid #d4c9b0;
  border-radius: 8px;
  padding: 24px 28px 28px;
  margin: 28px 0 0;
  text-align: center;
}

.kz-dino-cta-label {
  font-size: .88rem;
  font-weight: 700;
  color: #5a3a10;
  font-family: sans-serif;
  margin-bottom: 16px;
  letter-spacing: .04em;
}

.kz-dino-cta-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.kz-dino-cta-btn {
  display: block;
  background: #c8902a;
  color: #fff !important;
  text-align: center;
  padding: 18px 16px;
  border-radius: 6px;
  font-family: sans-serif;
  text-decoration: none !important;
  transition: opacity .2s;
}

.kz-dino-cta-btn--dark {
  background: #142a1d;
}

.kz-dino-cta-btn:hover {
  opacity: .85;
}

.kz-dino-cta-btn-label {
  display: block;
  font-size: .72rem;
  opacity: .82;
  margin-bottom: 5px;
  letter-spacing: .06em;
}

.kz-dino-cta-btn-name {
  display: block;
  font-size: .94rem;
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 6px;
}

.kz-dino-cta-btn-sub {
  display: block;
  font-size: .72rem;
  opacity: .75;
}

/* ════════════════════════════════
   モバイル対応
════════════════════════════════ */
@media (max-width: 640px) {
  .kz-dino-hero {
    padding: 36px 22px 32px;
  }
  .kz-dino-chapter {
    padding: 22px 22px 20px;
  }
  .kz-dino-content {
    padding: 28px 20px 34px;
  }
  .kz-dino-pain-grid {
    grid-template-columns: 1fr;
  }
  .kz-dino-tour-head {
    padding: 18px 20px 16px;
  }
  .kz-dino-tour-body {
    padding: 20px 20px 22px;
  }
  .kz-dino-solution {
    padding: 22px 20px;
  }
  .kz-dino-cta-wrap {
    grid-template-columns: 1fr;
  }
  .kz-dino-cta {
    padding: 20px 18px 22px;
  }
}