/* ============================================================
   column-chugata-resume.css
   /column/chugata/resume/ 固有スタイル。
   共通は guide-common.css を再利用し、ここでは記載例ボックス等のみ定義する。
   一種・二種・8t限定は「見出し＋ラベル」で区別し、背景色だけで区別しない。
   ============================================================ */

/* 記事メタ（更新日・制度情報確認日） */
.resume-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 14px;
  color: var(--guide-muted);
  font-size: 0.82rem;
}

.resume-article-meta__category {
  padding: 2px 12px;
  background: var(--guide-soft);
  border: 1px solid var(--guide-border);
  border-radius: 999px;
  font-weight: 700;
}

.resume-lede {
  margin-top: 18px !important;
  line-height: 1.9;
}

/* 冒頭の結論・まとめカード */
.resume-conclusion-card,
.resume-summary-card {
  margin: 8px 0 0;
  padding: clamp(20px, 4vw, 30px);
  background: var(--guide-gold-pale);
  border: 1px solid #f0e2a6;
  border-radius: 16px;
}

.resume-conclusion-card ul,
.resume-summary-card ul {
  margin: 0;
  padding-left: 1.3em;
  display: grid;
  gap: 10px;
}

.resume-conclusion-card li,
.resume-summary-card li {
  line-height: 1.8;
}

/* 各種チェックリスト・範囲リスト */
.resume-check-list,
.resume-range-list {
  margin: 4px 0 0;
  padding-left: 1.3em;
  display: grid;
  gap: 10px;
}

.resume-check-list li,
.resume-range-list li {
  line-height: 1.8;
}

.resume-range-list {
  list-style: none;
  padding-left: 0;
}

.resume-range-list li {
  padding: 10px 16px;
  background: var(--guide-soft);
  border: 1px solid var(--guide-border);
  border-radius: 10px;
  font-weight: 700;
}

/* 本文中に免許証の条件文言を差し込む場合の目印（色だけに頼らない下線付き） */
.resume-inline-example {
  padding: 1px 6px;
  background: var(--guide-soft);
  border-bottom: 2px solid var(--guide-gold);
  font-weight: 700;
  white-space: nowrap;
}

/* 記載例ボックス（figure/figcaption）。テキストは選択・コピー可能。 */
.resume-example {
  margin: 20px 0;
  padding: clamp(18px, 3.5vw, 26px);
  background: #fff;
  border: 1px solid var(--guide-border);
  border-left: 5px solid var(--guide-gold);
  border-radius: 12px;
}

.resume-example__caption {
  display: inline-block;
  margin-bottom: 12px;
  padding: 3px 14px;
  background: var(--guide-gold-dark);
  color: #fff;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.resume-example__text {
  margin: 0 !important;
  font-size: clamp(1.05rem, 3.4vw, 1.3rem);
  font-weight: 700;
  line-height: 1.7;
  color: var(--guide-ink);
  /* 長い免許名称を途中で隠さず、はみ出させない */
  overflow-wrap: anywhere;
  word-break: normal;
}

.resume-example__label {
  margin: 18px 0 8px !important;
  color: var(--guide-muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.resume-example__text--sub {
  font-size: clamp(0.98rem, 3vw, 1.12rem);
  font-weight: 600;
  color: #4a5456;
}

/* よくある質問 */
.resume-faq-item {
  margin-top: 16px;
  padding: 16px 20px;
  background: var(--guide-soft);
  border: 1px solid var(--guide-border);
  border-radius: 12px;
}

.resume-faq-item h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  line-height: 1.6;
}

.resume-faq-item p {
  margin: 0 !important;
  line-height: 1.8;
}

/* 出典リスト */
.resume-source-list {
  margin: 4px 0 0;
  padding-left: 1.3em;
  display: grid;
  gap: 10px;
}

.resume-source-list a {
  color: #285f7d;
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.resume-source-list__ext {
  margin-left: 4px;
  color: var(--guide-muted);
  font-size: 0.78rem;
}

/* 関連ページカード */
.resume-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 4px;
}

.resume-related-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--guide-border);
  border-radius: 14px;
  color: inherit;
  text-decoration: none;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.resume-related-card:hover,
.resume-related-card:focus-visible {
  box-shadow: 0 8px 22px rgba(45, 52, 54, 0.12);
  transform: translateY(-2px);
}

.resume-related-card strong {
  font-size: 1.02rem;
  color: var(--guide-ink);
}

.resume-related-card span {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--guide-muted);
}

@media (max-width: 600px) {
  .resume-conclusion-card ul,
  .resume-summary-card ul {
    padding-left: 1.15em;
  }
  .resume-inline-example {
    white-space: normal;
  }
}
