/* =========================
   MedType トップページ専用CSS
   ========================= */

/* Lightningの余白を抑制 */
body.home .site-content {
  padding: 0;
}

/* 全体 */
body.home .medtype-front {
  max-width: 980px;
  margin: 0 auto;
  padding: 24px 16px 72px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
               "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  color: #222;
}

/* =========================
   HERO
   ========================= */

body.home .medtype-front .hero {
  text-align: center;
  padding: 56px 16px 64px;
}

body.home .medtype-front .hero h1 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 20px;
}

body.home .medtype-front .hero h1 span {
  color: #2f7df6;
}

body.home .medtype-front .hero p {
  font-size: 1rem;
  color: #555;
  line-height: 1.8;
  max-width: 560px;
  margin: 0 auto;
}

/* =========================
   CTA BUTTON
   ========================= */

body.home .medtype-front .cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 32px;
  padding: 16px 32px;
  min-width: 220px;
  background: linear-gradient(135deg, #2f7df6, #4fa3ff);
  color: #fff !important;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(47, 125, 246, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body.home .medtype-front .cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(47, 125, 246, 0.4);
}

/* 補足テキスト */
body.home .medtype-front .cta-note {
  margin-top: 12px;
  font-size: 0.85rem;
  color: #777;
}

/* =========================
   FEATURE BOX
   ========================= */

body.home .medtype-front .features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 64px;
}

body.home .medtype-front .feature {
  background: #f7f9fc;
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
}

body.home .medtype-front .feature h3 {
  font-size: 1.05rem;
  margin-bottom: 12px;
}

body.home .medtype-front .feature p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.6;
}

/* =========================
   STEP
   ========================= */

body.home .medtype-front .steps {
  margin-top: 72px;
}

body.home .medtype-front .step {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

body.home .medtype-front .step-number {
  width: 36px;
  height: 36px;
  background: #2f7df6;
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

body.home .medtype-front .step-content h4 {
  font-size: 1rem;
  margin-bottom: 6px;
}

body.home .medtype-front .step-content p {
  font-size: 0.9rem;
  color: #555;
}

/* =========================
   MOBILE
   ========================= */

@media (max-width: 600px) {
  body.home .medtype-front .hero {
    padding: 40px 8px 48px;
  }

  body.home .medtype-front .hero h1 {
    font-size: 1.5rem;
  }

  body.home .medtype-front .cta-primary {
    width: 100%;
    max-width: 320px;
  }
}

/* =========================
   診断ページ 共通
========================= */

.medtype-diagnosis {
  max-width: 680px;
  margin: 0 auto;
  padding: 16px;
}

/* =========================
   進捗表示
========================= */

.progress-area {
  margin-bottom: 24px;
  text-align: center;
}

.progress-text {
  font-size: 14px;
  margin-bottom: 6px;
}

.progress-bar {
  background: #e5e7eb;
  height: 6px;
  border-radius: 999px;
  overflow: hidden;
}

#progressFill {
  height: 100%;
  width: 0;
  background: #2563eb;
  transition: width 0.3s ease;
}

.progress-sub {
  font-size: 12px;
  color: #666;
  margin-top: 6px;
}

/* =========================
   質問エリア
========================= */

.question {
  display: none;
}

.question h2 {
  font-size: 18px;
  margin-bottom: 8px;
}

.question p {
  font-size: 16px;
  margin-bottom: 20px;
  line-height: 1.5;
}

/* =========================
   選択肢（ボタン化）
========================= */

.choice {
  display: block;
  margin-bottom: 12px;
}

.choice input {
  display: none;
}

.choice {
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #fff;
}

/* ホバー */
.choice:hover {
  border-color: #2563eb;
  background: #f0f6ff;
}

/* 選択中 */
.choice input:checked + span,
.choice input:checked {
  /* spanを使わない構造なので下で上書き */
}

/* input:checked を使うため擬似的に */
.choice:has(input:checked) {
  border-color: #2563eb;
  background: #2563eb;
  color: #fff;
}

/* =========================
   前へボタン
========================= */

.nav {
  margin-top: 20px;
}

.nav button {
  background: none;
  border: none;
  color: #2563eb;
  font-size: 14px;
  cursor: pointer;
}

/* =========================
   送信ボタン
========================= */

.submit-area {
  display: none;
  text-align: center;
  margin-top: 40px;
}

.cta-primary {
  background: #2563eb;
  color: #fff;
  border: none;
  padding: 16px 24px;
  font-size: 16px;
  border-radius: 999px;
  cursor: pointer;
  width: 100%;
}

/* =========================
   MedType 診断ページ 共通
========================= */

body.page-template-page-diagnosis .medtype-diagnosis {
  max-width: 720px;
  margin: 0 auto;
  padding: 20px 16px 40px;
}

/* =========================
   STEP0：属性入力
========================= */

.step-attr {
  text-align: center;
}

.step-attr h2 {
  font-size: 22px;
  margin-bottom: 8px;
}

.attr-lead {
  font-size: 14px;
  color: #555;
  margin-bottom: 24px;
}

.attr-block {
  margin-bottom: 24px;
  text-align: left;
}

.attr-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

/* 属性ボタン */

.attr-btn {
  display: block;
  margin-bottom: 12px;
}

.attr-btn input {
  display: none;
}

.attr-btn span {
  display: block;
  padding: 14px 16px;
  border-radius: 12px;
  border: 2px solid #e5e7eb;
  background: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.attr-btn span:hover {
  border-color: #2563eb;
  background: #f0f6ff;
}

.attr-btn input:checked + span {
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
}

/* セレクトボックス */

.step-attr select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 2px solid #e5e7eb;
  font-size: 15px;
  background: #fff;
}

/* =========================
   満足度ボタン
========================= */

.satisfaction {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.sat-btn {
  flex: 1;
  text-align: center;
}

.sat-btn input {
  display: none;
}

.sat-btn span {
  display: block;
  padding: 10px 0;
  border-radius: 10px;
  border: 2px solid #e5e7eb;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sat-btn input:checked + span {
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
}

.sat-note {
  font-size: 12px;
  color: #666;
  margin-left: 4px;
}

/* =========================
   進捗バー
========================= */

.progress-area {
  margin-bottom: 24px;
  text-align: center;
}

.progress-text {
  font-size: 14px;
  margin-bottom: 6px;
}

.progress-bar {
  height: 6px;
  background: #e5e7eb;
  border-radius: 999px;
  overflow: hidden;
}

#progressFill {
  height: 100%;
  width: 0;
  background: #2563eb;
  transition: width 0.3s ease;
}

.progress-sub {
  font-size: 12px;
  color: #666;
  margin-top: 6px;
}

/* =========================
   質問エリア
========================= */

.question {
  display: none;
}

.question h2 {
  font-size: 18px;
  margin-bottom: 8px;
}

.question p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* =========================
   選択肢（トップと統一）
========================= */

.choice {
  display: block;
  margin-bottom: 12px;
}

.choice input {
  display: none;
}

.choice span {
  display: block;
  padding: 14px 16px;
  border-radius: 12px;
  border: 2px solid #e5e7eb;
  background: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.choice span:hover {
  border-color: #2563eb;
  background: #f0f6ff;
}

.choice input:checked + span {
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
}

/* =========================
   ナビ・送信
========================= */

.nav {
  margin-top: 20px;
}

.nav button {
  background: none;
  border: none;
  color: #2563eb;
  font-size: 14px;
  cursor: pointer;
}

/* 送信 */

.submit-area {
  display: none;
  margin-top: 40px;
  text-align: center;
}

.cta-primary {
  width: 100%;
  padding: 16px;
  border-radius: 999px;
  border: none;
  background: #2563eb;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.cta-primary:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* 共通 */
.site-content {
  padding: 20px;
}

.medtype-diagnosis h2 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.attr-block {
  margin-bottom: 20px;
}

.attr-btn, .choice, .sat-btn {
  display: block;
  margin: 5px 0;
  cursor: pointer;
}

.cta-primary {
  display: inline-block;
  padding: 10px 20px;
  background: #4CAF50;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: 0.3s;
}

.cta-primary:hover {
  background: #45a049;
}

.progress-bar {
  width: 100%;
  background: #eee;
  border-radius: 8px;
  overflow: hidden;
  height: 10px;
  margin: 10px 0;
}

#progressFill {
  width: 0;
  height: 100%;
  background: #4CAF50;
  transition: width 0.3s;
}

.question {
  margin-bottom: 30px;
}

.submit-area {
  text-align: center;
  margin-top: 20px;
}

.result-page .result-summary {
  background: #f0f0f0;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 20px;
}

.response-list ol {
  padding-left: 20px;
}

.back-btn {
  text-align: center;
  margin-top: 30px;
}

/* ===== ヘッダー全体 ===== */
.medtype-header {
  background-color: #4CAF50; /* 緑系 */
  color: #fff;
  padding: 10px 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* 内側コンテナ */
.medtype-header .header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

/* ロゴ */
.medtype-header .site-logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
}

/* CTAボタン */
.medtype-header .header-cta {
  background-color: #fff;
  color: #4CAF50;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s, color 0.3s;
}

.medtype-header .header-cta:hover {
  background-color: #45a049;
  color: #fff;
}

/* ===== モバイル対応 ===== */
@media (max-width: 768px) {
  .medtype-header .header-inner {
    flex-direction: column;
    gap: 8px;
  }

  .medtype-header .site-logo {
    font-size: 1.3rem;
  }

  .medtype-header .header-cta {
    padding: 6px 12px;
    font-size: 0.9rem;
  }
}

/* 医療従事者専用ブロックを明確に */
.worker-only {
  display: none;
  background: #f8fafc;
  border: 2px dashed #c7d2fe;
  padding: 16px;
  border-radius: 14px;
  margin-top: 16px;
}
/* 満足度：押しやすく */
.satisfaction {
  justify-content: space-between;
}

.sat-btn span {
  min-width: 44px;
  font-weight: 600;
}

/* 質問カード */
.question {
  background: #ffffff;
  border-radius: 18px;
  padding: 24px 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

/* checked状態を確実に反映（:has 非依存） */
.choice input:checked + span {
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
}

/* 診断ページ専用スタートボタン */
body.page-template-page-diagnosis #startBtn {
  width: 100%;
  padding: 16px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #4f83ff);
  color: #fff;
}

.progress-text {
  font-weight: 600;
}

/* =========================
   診断ページ CSS 強制上書き
========================= */

body.page-template-page-diagnosis .medtype-diagnosis {
  max-width: 720px !important;
  margin: 0 auto !important;
  padding: 16px !important;
}

/* STEP0 */
body.page-template-page-diagnosis .step-attr {
  display: block !important;
}

body.page-template-page-diagnosis .attr-block {
  margin-bottom: 24px !important;
}

/* worker-only（医療従事者） */
body.page-template-page-diagnosis .worker-only {
  display: none;
  background: #f8fafc !important;
  border: 2px dashed #c7d2fe !important;
  padding: 16px !important;
  border-radius: 14px !important;
}

/* 進捗 */
body.page-template-page-diagnosis .progress-area {
  display: none;
  margin-bottom: 24px !important;
}

/* 質問カード */
body.page-template-page-diagnosis .question {
  display: none;
  background: #fff !important;
  border-radius: 18px !important;
  padding: 24px 20px !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06) !important;
}

/* 質問文 */
body.page-template-page-diagnosis .question p {
  font-size: 16px !important;
  line-height: 1.6 !important;
}

/* 選択肢 */
body.page-template-page-diagnosis .choice span {
  display: block !important;
  padding: 14px 16px !important;
  border-radius: 12px !important;
  border: 2px solid #e5e7eb !important;
  background: #fff !important;
}

/* 選択中 */
body.page-template-page-diagnosis .choice input:checked + span {
  background: #2563eb !important;
  border-color: #2563eb !important;
  color: #fff !important;
}

/* ナビ */
body.page-template-page-diagnosis .nav button {
  color: #2563eb !important;
  font-size: 14px !important;
}

/* 送信 */
body.page-template-page-diagnosis .submit-area {
  display: none;
  margin-top: 32px !important;
}

/* =========================
   MedType 診断ページ（質問表示）
   ========================= */

.medtype-diagnosis {
  max-width: 720px;
  margin: 0 auto;
  padding: 20px 16px 48px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
               "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
}

/* =========================
   STEP0 属性入力
========================= */

#stepAttr h2 {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 16px;
}

#stepAttr .attr-block {
  margin-bottom: 24px;
}

#stepAttr p {
  font-size: 0.95rem;
  margin-bottom: 8px;
  font-weight: 600;
}

/* radio / select 共通 */
#stepAttr label {
  display: block;
  margin-bottom: 10px;
  font-size: 0.95rem;
  cursor: pointer;
}

#stepAttr select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 2px solid #e5e7eb;
  font-size: 0.95rem;
}

/* 開始ボタン */
#startBtn {
  width: 100%;
  padding: 16px;
  border-radius: 999px;
  border: none;
  font-size: 1rem;
  font-weight: 700;
  background: #2563eb;
  color: #fff;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

#startBtn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* =========================
   進捗表示
========================= */

#progress {
  text-align: center;
  font-size: 0.9rem;
  margin: 24px 0 12px;
  color: #555;
}

/* =========================
   質問エリア
========================= */

#questionArea {
  margin-top: 24px;
}

#questionArea p {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 24px;
}

/* =========================
   回答ボタン（1〜5）
========================= */

.answer-btn {
  display: block;
  width: 100%;
  margin-bottom: 12px;
  padding: 16px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 14px;
  border: 2px solid #e5e7eb;
  background: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
}

/* ホバー */
.answer-btn:hover {
  border-color: #2563eb;
  background: #f0f6ff;
}

.nav-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.nav-btn {
  padding: 10px 18px;
  border-radius: 6px;
  border: none;
  background: #e5e5e5;
  cursor: pointer;
}

.nav-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}


/* =========================
   結果ボタン
========================= */

#submitBtn {
  width: 100%;
  padding: 18px;
  margin-top: 32px;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #2563eb, #4f8cff);
  color: #fff;
  cursor: pointer;
}

/* =========================
   スマホ最適化
========================= */

@media (max-width: 600px) {
  #questionArea p {
    font-size: 1.05rem;
  }

  .answer-btn {
    padding: 14px;
    font-size: 0.95rem;
  }
}

/* =========================
   STEP0 見出し（Lightning対策）
========================= */

.medtype-diagnosis #stepAttr h2 {
  font-size: 1.6rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.4;
}

/* サブテキストがあれば */
.medtype-diagnosis #stepAttr .attr-lead {
  text-align: center;
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 28px;
}
/* =========================
   STEP0 属性入力：ボタン化UI
========================= */

/* ブロック余白 */
.medtype-diagnosis #stepAttr .attr-block {
  margin-bottom: 28px;
}

/* ラベルをボタン化 */
.medtype-diagnosis #stepAttr label {
  display: block;
  margin-bottom: 12px;
  cursor: pointer;
}

/* ラジオは非表示 */
.medtype-diagnosis #stepAttr input[type="radio"] {
  display: none;
}


/* ホバー */
.medtype-diagnosis #stepAttr label:hover {
  border-color: #2563eb;
  background: #f0f6ff;
}

/* 選択中 */
.medtype-diagnosis #stepAttr input[type="radio"]:checked + label,
.medtype-diagnosis #stepAttr label:has(input[type="radio"]:checked) {
  background: #2563eb;
  border-radius: 999px;
  border-color: #2563eb;
  color: #fff;
}

/* =========================
   満足度（横並びボタン）
========================= */

.medtype-diagnosis .worker-only label {
  display: inline-block;
  width: calc(20% - 6px);
  text-align: center;
  margin-right: 6px;
  margin-bottom: 10px;
  padding: 12px 0;
  border-radius: 10px;
  font-size: 14px;
}

/* ホバー */
.medtype-diagnosis .worker-only label:hover {
  border-color: #2563eb;
  background: #f0f6ff;
}

/* 選択中 */
.medtype-diagnosis .worker-only input[type="radio"]:checked + label,
.medtype-diagnosis .worker-only label:has(input[type="radio"]:checked) {
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
}

/* =========================
   セレクトボックス統一
========================= */

.medtype-diagnosis select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 2px solid #e5e7eb;
  font-size: 15px;
  background: #fff;
}

/* 診断質問エリアを強制表示 */
.medtype-diagnosis #questionArea {
  display: block !important;
  min-height: 200px;
  margin-top: 24px;
}

/* 質問1問の表示 */
.medtype-diagnosis .question {
  display: block;
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* 選択肢 */
.medtype-diagnosis .choice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 16px;
  margin-top: 12px;
  border: 2px solid #ddd;
  border-radius: 999px;
  cursor: pointer;
}

.medtype-diagnosis .choice input {
  display: none;
}

#questionArea.disabled {
  pointer-events: none;
  opacity: 0.85;
}


/* 送信エリアが質問を邪魔しないように */
.medtype-diagnosis .submit-area {
  display: none;
}
/* ラジオ本体は完全に隠す */
.medtype-diagnosis .attr-btn input[type="radio"] {
  display: none;
}

/* ボタン見た目 */
.medtype-diagnosis .attr-btn span {
  display: block;
  padding: 14px 18px;
  border: 2px solid #ddd;
  border-radius: 999px;
  margin-bottom: 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #fff;
}

/* hover */
.medtype-diagnosis .attr-btn span:hover {
  border-color: #4b79ff;
  border-radius: 999px;
}

/* 選択中 */
.medtype-diagnosis .attr-btn input[type="radio"]:checked + span {
  border-color: #4b79ff;
  background: #4b79ff;
  color: #fff;
  font-weight: bold;
}

/* =========================
 MedType 結果ページ
========================= */

.medtype-result {
  max-width: 720px;
  margin: 40px auto 80px;
  padding: 32px 24px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  line-height: 1.8;
}

/* タイプ名 */
.medtype-result h1 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-align: center;
  color: #2c3e50;
}

/* タイプ説明 */
.medtype-result > p {
  font-size: 1rem;
  margin-bottom: 28px;
  color: #555;
}

/* セクション見出し */
.medtype-result h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 28px 0 12px;
  padding-left: 10px;
  border-left: 4px solid #4fa3f7;
  color: #2c3e50;
}

/* リスト共通 */
.medtype-result ul {
  list-style: none;
  padding: 0;
  margin: 0 0 8px;
}

.medtype-result ul li {
  background: #f7f9fb;
  margin-bottom: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.95rem;
  color: #333;
}

/* 向いていない環境 */
.medtype-result ul.avoid li {
  background: #fff3f3;
  color: #a94442;
  border: 1px solid #f0caca;
}

/* アドバイス */
.medtype-result .advice {
  margin-top: 12px;
  padding: 14px 16px;
  background: #f0f6ff;
  border-left: 4px solid #4fa3f7;
  border-radius: 8px;
  font-size: 0.95rem;
  color: #2c3e50;
}

/* 有料版CTA */
.medtype-result .premium-cta {
  margin-top: 32px;
  text-align: center;
}

.medtype-result .premium-cta a {
  display: inline-block;
  padding: 14px 24px;
  background: linear-gradient(135deg, #4fa3f7, #2d7ff9);
  color: #fff;
  border-radius: 30px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.3s ease;
}

.medtype-result .premium-cta a:hover {
  opacity: 0.85;
}

/* =========================
 モバイル対応
========================= */
@media (max-width: 600px) {
  .medtype-result {
    padding: 24px 16px;
  }

  .medtype-result h1 {
    font-size: 1.5rem;
  }
}

.medtype-result .result-lead {
  text-align: center;
  font-size: 1rem;
  margin-bottom: 20px;
  color: #555;
}

.medtype-result .result-lead strong {
  font-size: 1.2rem;
  color: #2d7ff9;
}

.medtype-result .job-note {
  font-size: 0.85rem;
  color: #777;
  margin-top: 6px;
}

/* タブナビ */
.premium-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.premium-tabs button {
  padding: 8px 14px;
  border: none;
  border-radius: 20px;
  background: #eee;
  cursor: pointer;
  font-size: 14px;
}

.premium-tabs button.active {
  background: #2c7be5;
  color: #fff;
  font-weight: bold;
}

/* タブ中身 */
.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}