/* =====================================================
 * cc-intro（場の入口）
 * ===================================================== */
.cc-intro {
  background: #fff;
  padding: 56px 0 48px;
  text-align: center;
}

/* 内側の横幅制御（広すぎ防止） */
.cc-intro-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ロゴ：場の印（主張しない） */
.cc-intro-logo {
  margin-bottom: 24px;
}

.cc-intro-logo img {
  width: 100%;
  max-width: 140px; /* 120〜160px の中間 */
  height: auto;
  opacity: 0.95; /* わずかに抑える */
}

/* キャッチコピー */
.cc-intro-catch {
  color: #222;
  font-size: 15px;
  line-height: 2.0; /* 1.9〜2.1 */
  margin: 0 0 32px;
}

.cc-intro-catch strong {
  font-weight: 600; /* 太すぎない */
}

/* セクションタイトル */
.cc-intro-title {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  color: #111;
}

/* スマホ微調整 */
@media (max-width: 768px) {
  .cc-intro {
    padding: 40px 0 36px;
  }

  .cc-intro-logo img {
    max-width: 120px;
  }

  .cc-intro-catch {
    font-size: 14px;
    line-height: 2.0;
  }

  .cc-intro-title {
    font-size: 16px;
  }
}

.cc-intro-catch strong {
  font-weight: 600;
  font-size: 16px;   /* 今より +1px 程度 */
  letter-spacing: 0.02em;
}

/* =====================================================
 * プロフィール写真：中央・円形（信頼の置き方）
 * ===================================================== */

/* 写真ブロック全体を中央へ */
.consultant-single .consultant-header {
  text-align: center;
}

/* 写真ラッパー */
.consultant-single .consultant-photo {
  display: inline-block;
  margin: 0 auto 24px;
}

/* 写真そのもの */
.consultant-single .consultant-photo img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #e6f0f2; /* ごく薄い安心色 */
  background: #fff;
}

/* 名前ブロックも中央寄せ */
.consultant-single .consultant-names {
  text-align: center;
}

/* 名前の余白調整 */
.consultant-single .consultant-name {
  margin-top: 8px;
}

/* スマホ */
@media (max-width: 768px) {
  .consultant-single .consultant-photo img {
    width: 140px;
    height: 140px;
  }
}

/* =====================================================
 * セクションカード（影なし・安心設計）
 * ===================================================== */
.consultant-single section:not(.cc-intro):not(.consultant-header):not(.consultant-actions) {
  background: #fff;
  border: 1px solid #e6eef2;
  border-radius: 8px;
  padding: 24px 28px;
  margin: 0 0 32px;
}

/* 見出し */
.consultant-single section h2 {
  font-size: 17px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e6eef2;
}

/* テキスト */
.consultant-single section p,
.consultant-single section li {
  font-size: 14px;
  line-height: 1.9;
}

/* 名前ブロック全体 */
.consultant-names {
  text-align: center;
  margin-top: 20px;
}

/* 名前 */
.consultant-name-main {
  margin-bottom: 10px; /* ← 間を作る */
}

/* 呼び名 */
.consultant-name-sub {
  margin-top: 6px;     /* ← 少し余白 */
}

.consultant-name-main { margin-bottom: 10px; }
.consultant-name-sub  { margin-top: 6px; }

.card-section {
  background: #fff;
  border-radius: 8px;
  padding: 24px;
  margin-top: 32px;
}

/* ====== badges (旧ミラーステーション風：色分け) ====== */
.consultant-badges{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  justify-content:center;
  margin:14px 0 8px;
}

.cc-badge{
  font-size:12px;
  padding:6px 12px;
  border-radius:999px;
  font-weight:600;
  line-height:1;
  white-space:nowrap;
}

/* 国家資格 */
.badge-cc-national{
  background:#1f4fa3;
  color:#fff;
}

/* 技能士1級 */
.badge-cc-1{
  background:linear-gradient(135deg,#d4af37,#f5e08e);
  color:#333;
}

/* 技能士2級 */
.badge-cc-2{
  background:#3aa37a;
  color:#fff;
}

/* その他 */
.badge-sub{
  background:#e5e7eb;
  color:#333;
}

/* 登録番号 */
.cc-license-number{
  font-size:12px;
  color:#555;
  text-align:center;
  margin:0 0 18px;
}

/* 名前まわりに“間”を作る */
.consultant-name-main{ margin:10px 0 6px; text-align:center; }
.consultant-name-sub { margin:0 0 18px; text-align:center; color:#555; }

/* リスト共通（カード内の読みやすさ） */
.cc-list{
  margin:0;
  padding-left:1.2em;
}
.cc-list li{
  margin:0 0 6px;
  line-height:1.7;
}

/* =====================================================
   Mirror Station Design Final
   ===================================================== */

/* ===== 全体背景 ===== */
.consultant-single {
  background: #f8fafc;
}

/* ===== セクション間のリズム ===== */
.consultant-single section {
  margin-bottom: 36px;
}

/* ===== カード共通 ===== */
.card-section {
  background: #ffffff;
  border-radius: 14px;
  padding: 26px 28px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  border: 1px solid #eef2f7;
}

/* ===== カード見出し ===== */
.card-section h2 {
  font-size: 16px;
  font-weight: 700;
  color: #1e3a8a;
  margin-bottom: 14px;
  padding-left: 10px;
  border-left: 4px solid #3b82f6;
}

/* ===== プロフィール周り ===== */
.consultant-header {
  text-align: center;
  margin-bottom: 40px;
}

.consultant-photo img {
  border-radius: 50%;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

/* ===== 名前 ===== */
.consultant-name-main {
  font-size: 18px;
  font-weight: 700;
  margin-top: 18px;
}

.consultant-name-sub {
  font-size: 14px;
  color: #64748b;
  margin-top: 6px;
}

/* ===== ラベル ===== */
.cc-label {
  display: inline-block;
  font-size: 11px;
  color: #64748b;
  margin-right: 6px;
}

/* ===== 資格バッジ ===== */
.consultant-badges {
  justify-content: center;
  margin-top: 14px;
}

.cc-badge {
  font-size: 12px;
  padding: 7px 14px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

/* 国家資格 */
.badge-cc-national {
  background: linear-gradient(135deg, #2563eb, #1e40af);
  color: #fff;
}

/* 技能士2級 */
.badge-cc-2 {
  background: linear-gradient(135deg, #22c55e, #15803d);
  color: #fff;
}

/* 技能士1級 */
.badge-cc-1 {
  background: linear-gradient(135deg, #facc15, #ca8a04);
  color: #3b2f00;
}

/* ===== その他資格リスト ===== */
.cc-list li {
  line-height: 1.8;
  padding-left: 0.2em;
}

/* ===== 一言メッセージ ===== */
.consultant-message blockquote {
  background: #f1f5f9;
  border-left: 5px solid #60a5fa;
  padding: 18px 22px;
  border-radius: 10px;
  color: #334155;
  line-height: 1.8;
}

/* ===== CTA ===== */
.consultant-cta {
  display: inline-block;
  background: linear-gradient(135deg, #2563eb, #1e40af);
  color: #fff;
  padding: 14px 34px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.35);
  transition: transform .2s ease, box-shadow .2s ease;
}

.consultant-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(37, 99, 235, 0.45);
}

/* =====================================================
   CTA Spacing Fix – Mirror Station
   ===================================================== */

/* CTA全体をカードから切り離す */
.consultant-actions {
  margin-top: 56px;      /* ← ここが一番効く */
  padding-top: 32px;
  text-align: center;
}

/* メインCTAの間 */
.consultant-cta {
  display: inline-block;
  margin-bottom: 22px;   /* 下の導線と距離を取る */
}

/* 戻るリンクを弱く */
.consultant-back {
  margin-top: 6px;
}

/* CTAユニット全体 */
.consultant-actions {
  margin-top: 56px;
  padding-top: 32px;
  text-align: center;
}

/* 誘導文 */
.cta-note {
  margin-bottom: 16px;
  font-size: 14px;
  color: #475569;
  line-height: 1.8;
}

/* メインCTA */
.consultant-cta {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 9999px;
  font-size: 15px;
  font-weight: 600;
}

/* =====================================================
   Consultation CTA - Mirror Station
===================================================== */

.consultant-actions {
  margin-top: 90px;
  padding-top: 60px;
  border-top: 1px solid #e6edf4;
  text-align: center;
}

.cta-note {
  font-size: 16px;
  margin-bottom: 40px;
  color: #444;
  letter-spacing: .05em;
}

.consultant-cta-group {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 560px;
  margin: 0 auto 45px;
}

.consultant-cta {
  display: block;
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: .3s ease;
}

/* 学生 */
.consultant-cta.student {
  background: #4da3c4;
  color: #fff;
}
.consultant-cta.student:hover {
  background: #3b8aa7;
}

/* 個人 */
.consultant-cta.personal {
  background: #2f9ea0;
  color: #fff;
}
.consultant-cta.personal:hover {
  background: #278a8c;
}

/* 受験者 */
.consultant-cta.exam {
  background: #8e7cc3;
  color: #fff;
}
.consultant-cta.exam:hover {
  background: #7564ab;
}

/* 指名なし */
.consultant-cta.general {
  background: #eef2f5;
  color: #555;
}
.consultant-cta.general:hover {
  background: #e2e6ea;
}

.consultant-back a {
  font-size: 14px;
  color: #666;
  text-decoration: none;
}
.consultant-back a:hover {
  text-decoration: underline;
}