/* ==========================================================
   新卒・第二新卒の退職かけこみ寺 スタイルシート
   テーマカラー: 若手・新入社員向け（フレッシュブルー、スカイブルー、安心のグリーン）
========================================================== */

:root {
  /* プライマリー・アクセントカラー */
  --primary-color: #2563eb;      /* 誠実・信頼のスマートロイヤルブルー */
  --primary-hover: #1d4ed8;
  --primary-light: #eff6ff;      /* 清潔感のあるアイシーブルー */
  --secondary-color: #0284c7;    /* スカイブルー */
  --secondary-light: #f0f9ff;    /* 淡いブルー */
  --accent-color: #e11d48;       /* 警告・重要用アクセント（ローズ） */
  --accent-orange: #ea580c;      /* CTA用アクティブオレンジ */
  --cta-green: #10b981;          /* LINE連携・安心の若葉グリーン */
  --cta-green-hover: #059669;

  /* テキスト・ベースカラー */
  --text-main: #1e293b;          /* スレートダーク */
  --text-sub: #475569;           /* 読みやすいグレー */
  --text-muted: #64748b;
  --bg-main: #f8fafc;            /* オフホワイト背景 */
  --bg-white: #ffffff;
  --border-color: #e2e8f0;
  --border-focus: #38bdf8;

  /* フォント & シャドウ */
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, Meiryo, sans-serif;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  --shadow-cta: 0 8px 24px rgba(16, 185, 129, 0.35);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
}

/* リセット & 基本設定 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ユーティリティ */
.text-accent {
  color: var(--accent-color);
}

.highlight {
  background: linear-gradient(transparent 65%, #fef08a 65%);
  font-weight: 700;
}

.section {
  padding: 64px 0;
}

@media (min-width: 768px) {
  .section {
    padding: 88px 0;
  }
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 40px;
}

.sub-heading {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  padding: 4px 12px;
  background-color: var(--primary-light);
  border-radius: 20px;
}

.section-title {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.4;
  margin-bottom: 12px;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.1rem;
  }
}

.section-desc {
  font-size: 0.95rem;
  color: var(--text-sub);
  max-width: 680px;
  margin: 0 auto;
}

/* ボタン共通 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border-radius: 9999px;
  transition: all 0.25s ease;
  cursor: pointer;
  text-align: center;
  border: none;
}

.btn-header {
  background-color: var(--cta-green);
  color: #fff;
  padding: 8px 18px;
  font-size: 0.85rem;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.3);
}

.btn-header:hover {
  background-color: var(--cta-green-hover);
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  padding: 16px 28px;
  font-size: 1.05rem;
  box-shadow: var(--shadow-cta);
  width: 100%;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(16, 185, 129, 0.45);
}

@media (min-width: 640px) {
  .btn-primary {
    width: auto;
    padding: 18px 36px;
    font-size: 1.15rem;
  }
}

/* パルスアニメーション */
.pulse-animation {
  animation: pulse 2.2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* ==========================================================
   1. ヘッダー
========================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 0;
}

/* ==========================================================
   ステマ規制（景品表示法）対応：PR告知バー
========================================================== */
.pr-notice-bar {
  background-color: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
  padding: 6px 0;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.pr-notice-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.pr-badge {
  background-color: #64748b;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 3px;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

.pr-text {
  letter-spacing: 0.02em;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  display: flex;
  flex-direction: column;
}

.header-logo a,
.logo-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.header-logo a:hover,
.logo-link:hover {
  opacity: 0.85;
}

.logo-badge {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--primary-color);
}

.logo-text {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

/* ==========================================================
   2. ファーストビュー (ヒーロー)
========================================================== */
.hero-section {
  background: linear-gradient(180deg, #eff6ff 0%, #f0f9ff 50%, var(--bg-main) 100%);
  padding: 48px 0 64px;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-container {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
  }
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #0369a1;
  background-color: #e0f2fe;
  padding: 6px 14px;
  border-radius: 9999px;
  margin-bottom: 16px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #0284c7;
  border-radius: 50%;
  display: inline-block;
  animation: blink 1.5s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-title {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--text-main);
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 2.3rem;
  }
}

.hero-sub {
  font-size: 0.98rem;
  color: var(--text-sub);
  line-height: 1.8;
  margin-bottom: 24px;
}

.hero-features-badge {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  color: #1e3a8a;
}

.check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background-color: #38bdf8;
  color: #fff;
  border-radius: 50%;
  font-size: 0.75rem;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.cta-micro-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ヒーローカード (比較) */
.hero-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.hero-card-header {
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 14px;
  margin-bottom: 16px;
}

.badge-status {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  background-color: var(--secondary-color);
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 6px;
}

.hero-card-header h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
}

.comparison-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.comparison-list li {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background-color: #f8fafc;
  border-left: 4px solid var(--primary-color);
}

.comp-bad {
  font-size: 0.85rem;
  color: #991b1b;
  text-decoration: line-through;
  margin-bottom: 3px;
}

.comp-good {
  font-size: 0.95rem;
  color: #1d4ed8;
}

/* ==========================================================
   3. 悩み共感セクション
========================================================== */
.empathy-section {
  background-color: #ffffff;
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 36px;
}

@media (min-width: 640px) {
  .problem-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.problem-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 24px;
  transition: transform 0.2s ease;
}

.problem-card:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1;
}

.problem-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
}

.problem-icon img {
  width: 48px;
  height: 48px;
  display: block;
}

.problem-card h3 {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #991b1b;
}

.problem-card p {
  font-size: 0.9rem;
  color: var(--text-sub);
  line-height: 1.6;
}

.empathy-highlight {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-md);
  padding: 24px 28px;
  text-align: center;
}

.highlight-lead {
  font-size: 1.15rem;
  color: #1e3a8a;
  margin-bottom: 6px;
}

/* ==========================================================
   4. 法的根拠セクション
========================================================== */
.law-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.law-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.law-header {
  margin-bottom: 14px;
}

.law-badge {
  display: inline-block;
  background-color: #0369a1;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.law-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #991b1b;
}

.law-verdict {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
}

.law-verdict.invalid {
  background-color: #fee2e2;
  color: #b91c1c;
}

.law-body p {
  font-size: 0.92rem;
  color: var(--text-sub);
  line-height: 1.7;
}

/* ==========================================================
   5. 自分で交渉するリスク
========================================================== */
.risk-section {
  background-color: #fff;
}

.risk-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .risk-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.risk-card {
  background-color: #fff1f2;
  border: 1px solid #fecdd3;
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
}

.risk-num {
  font-size: 0.75rem;
  font-weight: 800;
  color: #e11d48;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.risk-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #9f1239;
  margin-bottom: 10px;
  line-height: 1.4;
}

.risk-card p {
  font-size: 0.88rem;
  color: #4c0519;
  line-height: 1.6;
}

.solution-bridge {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.bridge-tag {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.2);
  font-size: 0.8rem;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.bridge-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 12px;
}

@media (min-width: 768px) {
  .bridge-title {
    font-size: 1.6rem;
  }
}

.solution-bridge p {
  font-size: 0.95rem;
  opacity: 0.95;
  max-width: 680px;
  margin: 0 auto;
}

/* ==========================================================
   6. 有休残日数シミュレーター
========================================================== */
.sim-section {
  background: linear-gradient(180deg, var(--bg-main) 0%, #eff6ff 100%);
}

.sim-wrapper {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 32px 20px;
  border: 2px solid #bfdbfe;
  box-shadow: var(--shadow-md);
  max-width: 800px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .sim-wrapper {
    padding: 44px 36px;
  }
}

.sim-header {
  text-align: center;
  margin-bottom: 30px;
}

.sim-badge {
  display: inline-block;
  background-color: #2563eb;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.sim-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
}

@media (min-width: 768px) {
  .sim-title {
    font-size: 1.7rem;
  }
}

.sim-desc {
  font-size: 0.9rem;
  color: var(--text-sub);
}

.sim-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .form-grid {
    grid-template-columns: 1.15fr 0.85fr 1.2fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--text-main);
  background-color: #fff;
  transition: border-color 0.2s ease;
}

select.form-control {
  font-size: 0.9rem;
  padding: 10px 8px;
  cursor: pointer;
}

.form-control:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

.form-help {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.btn-calc {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #fff;
  padding: 14px;
  font-size: 1rem;
  margin-top: 10px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-calc:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

/* 計算結果表示 */
.sim-result {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 2px dashed #bfdbfe;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.result-box {
  background-color: #eff6ff;
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid #bfdbfe;
  text-align: center;
}

.result-point-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  text-align: left;
  margin-top: 16px;
  box-shadow: var(--shadow-sm);
}

.result-point-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 8px 0;
}

.result-point-card p {
  font-size: 0.9rem;
  color: var(--text-sub);
  line-height: 1.6;
}

.point-badge {
  display: inline-block;
  background: #dbeafe;
  color: #1e40af;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 9999px;
}

.warning-badge {
  background: #fee2e2;
  color: #991b1b;
}

.result-parent-alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin-top: 16px;
  text-align: left;
  font-size: 0.9rem;
  color: #1e40af;
  line-height: 1.6;
}

.result-parent-alert.info-mode {
  background: #f0f9ff;
  border-color: #bae6fd;
  color: #0369a1;
}

.result-parent-alert .alert-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.result-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.result-date-display {
  font-size: 1.05rem;
  color: var(--text-main);
  margin-bottom: 12px;
}

.highlight-date {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: #1d4ed8;
  margin-top: 4px;
}

.result-message {
  font-size: 0.95rem;
  color: var(--text-sub);
  margin-bottom: 16px;
  line-height: 1.6;
}

.result-advice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background-color: #ffffff;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  text-align: left;
  font-size: 0.85rem;
  color: #1e40af;
}

.advice-icon {
  font-size: 1.2rem;
  line-height: 1;
}

/* ==========================================================
   7. 解決策：退職代行Jobsの特徴
========================================================== */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 48px;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 16px;
}

.card-icon-wrap {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.card-icon-wrap img {
  width: 48px;
  height: 48px;
  display: block;
}

.feature-card-content {
  flex-grow: 1;
}

.reason-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-color);
  background-color: #dbeafe;
  color: #1d4ed8;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
}

.feature-card-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
  line-height: 1.4;
}

.feature-card-content p {
  font-size: 0.88rem;
  color: var(--text-sub);
  line-height: 1.6;
}

/* 比較テーブル */
.price-table-box {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.table-title {
  text-align: center;
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.table-responsive {
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 500px;
  text-align: center;
  font-size: 0.9rem;
}

.comparison-table th,
.comparison-table td {
  padding: 12px 14px;
  border: 1px solid var(--border-color);
}

@media (max-width: 640px) {
  .comparison-table th,
  .comparison-table td {
    padding: 10px 6px;
    font-size: 0.85rem;
  }
}

.comparison-table th {
  background-color: #f1f5f9;
  font-weight: 700;
}

.comparison-table .table-highlight {
  background-color: #f8faff;
  border-left: 2px solid var(--primary-color);
  border-right: 2px solid var(--primary-color);
}

.comparison-table thead .table-highlight {
  background-color: #dbeafe;
  color: #1e40af;
  font-size: 1rem;
}

.badge-ok {
  color: #15803d;
  font-weight: 700;
}

.badge-ng {
  color: #b91c1c;
}

/* ==========================================================
   8. 利用の流れ (4ステップ)
========================================================== */
.flow-section {
  background-color: #ffffff;
}

.step-flow {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .step-flow {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step-item {
  background-color: var(--bg-main);
  border-radius: var(--radius-md);
  padding: 24px 18px;
  text-align: center;
  position: relative;
  border: 1px solid var(--border-color);
}

.step-badge {
  display: inline-block;
  background-color: var(--secondary-color);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 2px 10px;
  border-radius: 9999px;
  margin-bottom: 12px;
}

.step-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon img {
  width: 52px;
  height: 52px;
  display: block;
}

.step-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-item p {
  font-size: 0.85rem;
  color: var(--text-sub);
  line-height: 1.6;
}

/* ==========================================================
   9. よくある質問 (FAQ)
========================================================== */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  text-align: left;
  gap: 12px;
}

.faq-toggle {
  font-size: 1.4rem;
  line-height: 1;
  color: var(--primary-color);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background-color: #f8fafc;
}

.faq-answer p {
  padding: 16px 20px;
  font-size: 0.9rem;
  color: var(--text-sub);
  line-height: 1.7;
  border-top: 1px solid var(--border-color);
}

/* ==========================================================
   10. CTA エリア (アフィリエイト差し込み対応)
========================================================== */
.cta-section {
  background: linear-gradient(180deg, #eff6ff 0%, #dbeafe 100%);
  padding: 72px 0;
}

.cta-box {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 40px 20px;
  box-shadow: 0 16px 32px rgba(37, 99, 235, 0.12);
  border: 2px solid #93c5fd;
  text-align: center;
  max-width: 840px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .cta-box {
    padding: 56px 40px;
  }
}

.cta-urgency-badge {
  display: inline-block;
  background-color: #fee2e2;
  color: #b91c1c;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.cta-main-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.35;
  margin-bottom: 14px;
}

@media (min-width: 768px) {
  .cta-main-title {
    font-size: 2rem;
  }
}

.cta-lead {
  font-size: 0.95rem;
  color: var(--text-sub);
  max-width: 640px;
  margin: 0 auto 32px;
}

.cta-button-container {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

/* アフィリエイトスロット */
.affiliate-tag-slot {
  width: 100%;
  max-width: 560px;
  display: flex;
  justify-content: center;
}

.btn-cta {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #ffffff;
  width: 100%;
  padding: 18px 24px;
  border-radius: 9999px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(16, 185, 129, 0.4);
  transition: all 0.25s ease;
}

.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(16, 185, 129, 0.5);
  background: linear-gradient(135deg, #047857 0%, #059669 100%);
}

.cta-btn-sub {
  font-size: 0.85rem;
  font-weight: 700;
  opacity: 0.95;
  margin-bottom: 2px;
}

.cta-btn-main {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

@media (min-width: 640px) {
  .cta-btn-main {
    font-size: 1.4rem;
  }
}

.cta-guarantee-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 20px;
  margin-bottom: 16px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #1e40af;
}

.cta-bottom-note {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================
   11. フッター
========================================================== */
.site-footer {
  background-color: #0f172a;
  color: #94a3b8;
  padding: 48px 0 24px;
  font-size: 0.85rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.footer-disclaimer {
  font-size: 0.78rem;
  line-height: 1.7;
}

.footer-copy {
  border-top: 1px solid #1e293b;
  padding-top: 20px;
  text-align: center;
  font-size: 0.75rem;
  color: #64748b;
}

/* モバイル表示切り替え */
.mobile-only {
  display: inline;
}

@media (min-width: 768px) {
  .mobile-only {
    display: none;
  }
}

/* ==========================================================
   12. 公式アフィリエイトリンク・ボタン装飾 (規約遵守)
   ※HTMLタグやリンクコード自体は1文字も改変せず、外側CSSで美しく装飾
========================================================== */
.official-cta-card {
  width: 100%;
  max-width: 580px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.official-cta-card.main-cta,
.official-cta-card.bottom-main-cta {
  margin: 0 auto;
}

.cta-micro-badge,
.cta-banner-lead {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  color: #1e40af;
  background-color: #dbeafe;
  padding: 4px 16px;
  border-radius: 9999px;
  margin-bottom: 4px;
}

.cta-banner-lead {
  font-size: 0.95rem;
  padding: 6px 20px;
  background-color: #eff6ff;
  border: 1px solid #bfdbfe;
}

.cta-official-caption {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* 公式ボタン（aタグ）のスタイリング */
.official-btn-slot {
  width: 100%;
  display: flex;
  justify-content: center;
}

.official-btn-slot a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #ffffff !important;
  font-size: 1.25rem;
  font-weight: 800;
  text-decoration: none;
  padding: 16px 24px;
  border-radius: 9999px;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
  transition: all 0.25s ease;
  cursor: pointer;
  position: relative;
  text-align: center;
}

/* ボタン内のリード文をCSS擬似要素で自然に追加 */
.official-btn-slot a::before {
  content: "👉 LINEで無料相談（公式）";
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

/* 「退職代行Jobs」のテキストをカッコで分かりやすく補足 */
.official-btn-slot a {
  font-size: 1.15rem;
}

.official-btn-slot a:hover {
  background: linear-gradient(135deg, #047857 0%, #059669 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(16, 185, 129, 0.5);
  color: #ffffff !important;
}

/* アクセストレードの1x1計測タグをレイアウト崩れなく安全に配置 */
.official-btn-slot a img,
.table-price-link a img {
  position: absolute;
  width: 1px !important;
  height: 1px !important;
  opacity: 0;
  pointer-events: none;
}

/* シミュレーター結果内のCTA */
.sim-cta-wrap {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed #bfdbfe;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.sim-cta-prompt {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1e40af;
}

/* 比較テーブル内の料金リンク */
.table-price-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.table-price-link a {
  font-size: 1.05rem;
  font-weight: 800;
  color: #1d4ed8 !important;
  text-decoration: underline;
  transition: color 0.2s ease;
  line-height: 1.35;
  text-align: center;
  display: inline-block;
  max-width: 6.2em;
  word-break: break-all;
}

@media (max-width: 480px) {
  .table-price-link a {
    font-size: 0.92rem;
    max-width: 6.2em;
  }
}

.table-price-link a:hover {
  color: #1e40af !important;
}

.price-sub-caption {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: normal;
  text-align: center;
  white-space: nowrap;
}

/* ==========================================================
   13. フッターリンク & プライバシーポリシーページ
========================================================== */
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 18px;
  font-size: 0.8rem;
  line-height: 1.6;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: underline;
  white-space: nowrap; /* リンクの途中で変に改行されるのを防ぎ、単語ごとに横並びを維持 */
  display: inline-block;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

@media (max-width: 640px) {
  .footer-links {
    gap: 8px 12px;
    font-size: 0.74rem;
    padding: 0 10px;
  }
}

.legal-page-section {
  background-color: var(--bg-main);
  padding: 48px 0 80px;
}

.legal-container {
  max-width: 840px;
}

.legal-box {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
  .legal-box {
    padding: 56px 48px;
  }
}

.legal-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 12px;
}

.legal-update {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.legal-section {
  margin-bottom: 32px;
}

.legal-section h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1e40af;
  margin-bottom: 12px;
  border-left: 4px solid var(--primary-color);
  padding-left: 10px;
}

.legal-section p {
  font-size: 0.92rem;
  color: var(--text-sub);
  line-height: 1.8;
  margin-bottom: 12px;
}

.legal-table-wrap {
  overflow-x: auto;
  margin-top: 12px;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.legal-table th,
.legal-table td {
  padding: 12px 14px;
  border: 1px solid var(--border-color);
  text-align: left;
}

.legal-table th {
  background-color: #f8fafc;
  width: 140px;
  font-weight: 700;
  color: var(--text-main);
}

.legal-table td {
  color: var(--text-sub);
}

.legal-back-area {
  text-align: center;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}

/* ==========================================================
   14. お問い合わせページ
========================================================== */
.contact-page-section {
  background-color: var(--bg-main);
  padding: 48px 0 80px;
}

.contact-container {
  max-width: 760px;
}

.contact-box {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
  .contact-box {
    padding: 56px 48px;
  }
}

.contact-header {
  text-align: center;
  margin-bottom: 28px;
}

.contact-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 12px;
}

.contact-lead {
  font-size: 0.92rem;
  color: var(--text-sub);
  line-height: 1.7;
}

.contact-notice {
  background-color: #fffbeb;
  border: 1px solid #fef3c7;
  border-left: 4px solid #f59e0b;
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 32px;
  font-size: 0.85rem;
  color: #92400e;
}

.contact-notice strong {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 4px;
}

.contact-notice a {
  color: #b45309;
  font-weight: 700;
  text-decoration: underline;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge-required {
  background-color: #e11d48;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-main);
  background-color: #ffffff;
  transition: all 0.2s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

.form-item-help {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.form-privacy-agree {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 0;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-main);
  cursor: pointer;
}

.checkbox-label a {
  color: var(--primary-color);
  font-weight: 700;
  text-decoration: underline;
}

.form-submit-area {
  text-align: center;
}

.btn-submit {
  min-width: 240px;
  padding: 16px 40px;
  font-size: 1.1rem;
}

.contact-direct-mail {
  text-align: center;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.contact-direct-mail a {
  color: var(--primary-color);
  font-weight: 700;
  text-decoration: underline;
}

/* ==========================================================
   15. サイトマップページ
========================================================== */
.sitemap-page-section {
  background-color: var(--bg-main);
  padding: 48px 0 80px;
}

.sitemap-container {
  max-width: 860px;
}

.sitemap-box {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
  .sitemap-box {
    padding: 56px 48px;
  }
}

.sitemap-header {
  text-align: center;
  margin-bottom: 36px;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 16px;
}

.sitemap-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
}

.sitemap-lead {
  font-size: 0.92rem;
  color: var(--text-sub);
}

.sitemap-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .sitemap-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.sitemap-card {
  background-color: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
}

.sitemap-card-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #1e40af;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #bfdbfe;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sitemap-card-title a {
  color: #1e40af;
  text-decoration: underline;
}

.sitemap-card-title a:hover {
  color: #1d4ed8;
}

.sitemap-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sitemap-list li a {
  font-size: 0.92rem;
  color: #0369a1;
  text-decoration: underline;
  display: inline-block;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.sitemap-list li a:hover {
  color: #0c4a6e;
}

.sitemap-item-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
  line-height: 1.5;
}

.sitemap-back-area {
  text-align: center;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}

/* ==========================================================
   16. 退職届テンプレート・記事ページ用スタイル
========================================================== */
.breadcrumb-nav {
  background-color: #f1f5f9;
  padding: 10px 0;
  font-size: 0.8rem;
  border-bottom: 1px solid #e2e8f0;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  gap: 8px;
}

.breadcrumb-list li + li::before {
  content: ">";
  color: var(--text-muted);
  margin-right: 8px;
}

.breadcrumb-list a {
  color: var(--primary-color);
  text-decoration: underline;
}

.article-main {
  background-color: var(--bg-main);
  padding: 40px 0 80px;
}

.article-container {
  max-width: 860px;
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 32px 20px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
  .article-container {
    padding: 56px 48px;
  }
}

.article-header {
  margin-bottom: 28px;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 20px;
}

.article-category-badge {
  display: inline-block;
  background-color: var(--secondary-light);
  color: var(--secondary-color);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 12px;
  border: 1px solid #bae6fd;
}

.article-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.4;
  margin-bottom: 12px;
}

@media (min-width: 768px) {
  .article-title {
    font-size: 2rem;
  }
}

.article-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.article-intro-card {
  background: linear-gradient(135deg, #eff6ff 0%, #f0f9ff 100%);
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 36px;
  line-height: 1.8;
  font-size: 0.95rem;
  color: var(--text-main);
}

.intro-lead {
  font-weight: 700;
  color: #1e40af;
  margin-bottom: 12px;
}

/* 目次 */
.toc-box {
  background-color: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 48px;
}

.toc-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toc-title::before {
  content: "📑";
}

.toc-list {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toc-list li a {
  color: #0369a1;
  text-decoration: underline;
  font-size: 0.92rem;
  line-height: 1.5;
}

.toc-list li a:hover {
  color: #0284c7;
}

/* 記事セクション */
.article-section {
  margin-bottom: 56px;
}

.section-badge-num {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--primary-color);
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.article-section-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.4;
}

@media (min-width: 768px) {
  .article-section-title {
    font-size: 1.6rem;
  }
}

.article-section p {
  font-size: 0.95rem;
  color: var(--text-sub);
  line-height: 1.8;
  margin-bottom: 16px;
}

/* 違いテーブル */
.diff-table-wrap {
  overflow-x: auto;
  margin: 20px 0;
}

.diff-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 540px;
  text-align: left;
  font-size: 0.9rem;
}

.diff-table th,
.diff-table td {
  padding: 12px 16px;
  border: 1px solid var(--border-color);
}

.diff-table th {
  background-color: #f1f5f9;
  font-weight: 700;
}

.diff-table .table-highlight {
  background-color: #eff6ff;
  font-weight: 700;
  color: #1e40af;
}

.diff-table thead .table-highlight {
  background-color: #dbeafe;
  color: #1e40af;
}

/* ポイントボックス */
.point-box {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  margin: 24px 0;
  font-size: 0.92rem;
  line-height: 1.7;
}

.point-box.tip {
  background-color: #eff6ff;
  border-left: 4px solid #3b82f6;
  color: #1e3a8a;
}

.point-box.warning {
  background-color: #fffbeb;
  border-left: 4px solid #f59e0b;
  color: #92400e;
}

.point-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.point-box strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 4px;
}

/* 理由ルール */
.reason-rule-box {
  background-color: #fef2f2;
  border: 1px solid #fecdd3;
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 28px;
}

.reason-rule-box h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #991b1b;
  margin-bottom: 8px;
}

.reason-rule-box p {
  font-size: 0.9rem;
  color: #4c0519;
  margin-bottom: 0;
}

/* テンプレートカード（新卒ブルー系） */
.template-card,
.template-box {
  background-color: #ffffff;
  border: 2px solid #bfdbfe;
  border-radius: var(--radius-md);
  margin-bottom: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  max-width: 100%;
  box-sizing: border-box;
}

.template-header {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.template-type,
.template-badge {
  background-color: #ffffff;
  color: #1d4ed8;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 9999px;
  display: inline-block;
}

.template-header h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
  color: #ffffff;
}

.template-body {
  padding: 20px;
  background-color: #f8fafc;
  max-width: 100%;
  box-sizing: border-box;
}

.template-code,
.template-text {
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  padding: 18px;
  font-family: inherit;
  font-size: 0.92rem;
  line-height: 1.85;
  white-space: pre-wrap !important;
  word-break: break-all !important;
  overflow-wrap: break-word !important;
  color: var(--text-main);
  margin-bottom: 14px;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

.btn-copy {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  border: none;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
}

.btn-copy:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

.btn-copy.copied {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-copy:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-copy.copied {
  background: #059669;
}

.template-notes {
  padding: 12px 20px;
  background-color: #ffffff;
  border-top: 1px solid #e2e8f0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.template-notes p {
  margin: 0;
}

/* 封筒ガイド */
.envelope-guide-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 20px;
}

@media (min-width: 768px) {
  .envelope-guide-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.guide-item {
  background-color: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
}

.guide-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
}

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.9rem;
}

.check-list li::before {
  content: "✔ ";
  color: var(--primary-color);
  font-weight: 700;
}

/* 封筒モックアップ */
.envelope-visual-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.envelope-mockup {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin: 12px 0;
}

.mockup-face {
  width: 120px;
  height: 190px;
  background-color: #ffffff;
  border: 2px solid #94a3b8;
  border-radius: 4px;
  padding: 12px 8px;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.mock-tag {
  font-size: 0.7rem;
  font-weight: 700;
  color: #64748b;
  text-align: center;
  margin-bottom: 16px;
}

.mock-text-center {
  writing-mode: vertical-rl;
  margin: auto;
  font-size: 1rem;
  letter-spacing: 0.3em;
  font-weight: 700;
  color: var(--text-main);
}

.mock-text-left {
  writing-mode: vertical-rl;
  position: absolute;
  bottom: 14px;
  left: 18px;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--text-sub);
}

.envelope-caption {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* 郵送方法カード */
.mail-method-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 24px 0;
}

@media (min-width: 640px) {
  .mail-method-cards {
    grid-template-columns: 1fr 1fr;
  }
}

.mail-card {
  background-color: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
}

.mail-card.highlight-card {
  border-color: #f43f5e;
  background-color: #fff1f2;
}

.mail-tag {
  display: inline-block;
  background-color: #0284c7;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.mail-tag.danger {
  background-color: #e11d48;
}

.mail-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.mail-card p {
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 12px;
}

.mail-fee {
  font-size: 0.8rem;
  font-weight: 700;
  color: #1e40af;
}

/* トラップリスト */
.trap-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 20px 0;
}

.trap-item {
  background-color: #ffffff;
  border: 1px solid #fee2e2;
  border-left: 4px solid #ef4444;
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.trap-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.trap-text h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #991b1b;
  margin-bottom: 6px;
  line-height: 1.4;
}

.trap-text p {
  font-size: 0.88rem;
  color: var(--text-sub);
  line-height: 1.6;
  margin: 0;
}

/* 記事内CTA */
.article-cta-section {
  margin: 48px 0;
}

.article-cta-box {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 2px solid #93c5fd;
  border-radius: var(--radius-lg);
  padding: 36px 20px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.15);
}

@media (min-width: 768px) {
  .article-cta-box {
    padding: 48px 36px;
  }
}

.cta-mini-tag {
  display: inline-block;
  background-color: #fee2e2;
  color: #b91c1c;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.article-cta-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.4;
  margin-bottom: 14px;
}

@media (min-width: 768px) {
  .article-cta-title {
    font-size: 1.7rem;
  }
}

.article-cta-desc {
  font-size: 0.92rem;
  color: var(--text-sub);
  max-width: 640px;
  margin: 0 auto 24px;
  line-height: 1.7;
}

.cta-features-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  max-width: 480px;
  margin: 0 auto 28px;
  text-align: left;
}

@media (min-width: 640px) {
  .cta-features-list {
    grid-template-columns: 1fr;
  }
}

.c-feat {
  font-size: 0.88rem;
  font-weight: 700;
  color: #1e40af;
  background-color: #ffffff;
  padding: 8px 14px;
  border-radius: 6px;
  border: 1px solid #bfdbfe;
}

.article-official-btn-area {
  display: flex;
  justify-content: center;
}

/* 関連記事セクション */
.article-related-section {
  margin-top: 56px;
  padding-top: 36px;
  border-top: 2px solid #e2e8f0;
}

.related-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 20px;
  text-align: center;
}

.related-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .related-card-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.related-card {
  display: flex;
  gap: 14px;
  background-color: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.related-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary-color);
  box-shadow: var(--shadow-sm);
}

.related-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.related-card-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.related-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary-color);
}

.related-card-body h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.4;
  margin: 0;
}

.related-card-body p {
  font-size: 0.8rem;
  color: var(--text-sub);
  margin: 0;
  line-height: 1.5;
}

/* トップページ内 特集ガイドバナー */
.article-banner-section {
  background-color: #ffffff;
  padding: 56px 0;
}

.feature-guide-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .feature-guide-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

.feature-guide-box {
  background: linear-gradient(135deg, #eff6ff 0%, #e0f2fe 100%);
  border: 2px solid #7dd3fc;
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-guide-box:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.feature-guide-badge {
  display: inline-block;
  background-color: var(--primary-color);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 9999px;
  margin-bottom: 12px;
}

.feature-guide-badge.warning-badge {
  background-color: #ea580c;
}

.feature-guide-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.4;
  margin-bottom: 12px;
}

@media (min-width: 768px) {
  .feature-guide-title {
    font-size: 1.4rem;
  }
}

.feature-guide-desc {
  font-size: 0.9rem;
  color: var(--text-sub);
  margin-bottom: 24px;
  line-height: 1.7;
}








/* ==========================================================
   15. ビジュアル強化スタイル（殺風景解消・写真画像対応）
========================================================== */
.empathy-visual-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 32px;
}

@media (min-width: 768px) {
  .empathy-visual-card {
    flex-direction: row;
    align-items: center;
  }
}

.empathy-img-wrap {
  width: 100%;
}

@media (min-width: 768px) {
  .empathy-img-wrap {
    width: 44%;
    flex-shrink: 0;
  }
}

.empathy-nurse-img,
.empathy-shinsotsu-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

@media (min-width: 768px) {
  .empathy-nurse-img,
  .empathy-shinsotsu-img {
    height: 100%;
    min-height: 270px;
  }
}

.empathy-visual-body {
  padding: 22px;
  flex: 1;
}

@media (min-width: 768px) {
  .empathy-visual-body {
    padding: 28px 32px;
  }
}

.empathy-card-tag {
  display: inline-block;
  background-color: #fee2e2;
  color: #b91c1c;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.empathy-card-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.4;
  margin-bottom: 12px;
}

@media (min-width: 768px) {
  .empathy-card-title {
    font-size: 1.4rem;
  }
}

.empathy-card-desc {
  font-size: 0.92rem;
  color: var(--text-sub);
  line-height: 1.7;
  margin: 0;
}

/* 解決策ハイライトバナー */
.solution-highlight-banner {
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, #eff6ff 0%, #f0f9ff 100%);
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.08);
  margin-bottom: 36px;
}

@media (min-width: 768px) {
  .solution-highlight-banner {
    flex-direction: row;
    align-items: center;
  }
}

.solution-img-wrap {
  width: 100%;
}

@media (min-width: 768px) {
  .solution-img-wrap {
    width: 42%;
    flex-shrink: 0;
  }
}

.solution-nurse-img,
.solution-shinsotsu-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

@media (min-width: 768px) {
  .solution-nurse-img,
  .solution-shinsotsu-img {
    height: 100%;
    min-height: 290px;
  }
}

.solution-content-wrap {
  padding: 22px;
  flex: 1;
}

@media (min-width: 768px) {
  .solution-content-wrap {
    padding: 28px 32px;
  }
}

.solution-badge-pill {
  display: inline-block;
  background: #059669;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 12px;
}

.solution-lead-heading {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.4;
  margin-bottom: 12px;
}

@media (min-width: 768px) {
  .solution-lead-heading {
    font-size: 1.5rem;
  }
}

.solution-lead-desc {
  font-size: 0.92rem;
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 16px;
}

.solution-check-points {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (min-width: 640px) {
  .solution-check-points {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
  }
}

.s-check {
  font-size: 0.84rem;
  font-weight: 700;
  color: #1e40af;
  background-color: #ffffff;
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid #bfdbfe;
}

/* CTA解放感ビジュアル */
.cta-relief-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  background: #f8faff;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 28px;
  text-align: left;
}

@media (min-width: 640px) {
  .cta-relief-card {
    flex-direction: row;
    padding: 22px;
    gap: 22px;
  }
}

.cta-relief-img-wrap {
  width: 100%;
  max-width: 200px;
  flex-shrink: 0;
  margin: 0 auto;
}

.cta-nurse-img,
.cta-shinsotsu-img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  display: block;
}

.cta-relief-text {
  flex: 1;
}

.cta-relief-quote {
  font-size: 1.15rem;
  font-weight: 800;
  color: #1e40af;
  margin-bottom: 6px;
}

.cta-relief-sub {
  font-size: 0.88rem;
  color: var(--text-sub);
  line-height: 1.6;
  margin: 0;
}

/* 記事下層ページ用アイキャッチ画像 */
.article-eyecatch-wrap {
  margin-bottom: 28px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.article-eyecatch-img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  display: block;
}




.sister-sites-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #e5e7eb;
  margin-bottom: 12px;
  letter-spacing: 0.03em;
}

.sister-sites-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 20px;
}

.sister-sites-links a {
  color: #94a3b8;
  font-size: 0.78rem;
  text-decoration: underline;
  transition: color 0.2s ease;
  line-height: 1.5;
}

.sister-sites-links a:hover {
  color: #ffffff;
}

@media (max-width: 640px) {
  .sister-sites-links {
    flex-direction: column;
    gap: 8px;
  }
}

/* ==========================================================
   姉妹サイト相互リンク（ボタンデザイン）
========================================================== */
.footer-sister-sites {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

.sister-sites-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #d6d3d1;
  margin-bottom: 14px;
  letter-spacing: 0.05em;
}

.sister-sites-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 14px;
}

.sister-site-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9999px;
  padding: 8px 18px;
  font-size: 0.82rem;
  color: #f3f4f6;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.sister-site-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
  transform: translateY(-1px);
}

.sister-site-arrow {
  font-size: 0.75rem;
  opacity: 0.7;
  transition: transform 0.2s ease;
}

.sister-site-btn:hover .sister-site-arrow {
  opacity: 1;
  transform: translateX(2px);
}

@media (max-width: 480px) {
  .sister-sites-links {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
    max-width: 320px;
    margin: 0 auto;
  }
  .sister-site-btn {
    width: 100%;
    padding: 10px 16px;
    font-size: 0.85rem;
  }
}


/* 実務ガイドカード内ボタン＆レスポンシブ最適化 */
.feature-guide-box {
  background: linear-gradient(135deg, #f0f7ff 0%, #e6f2ff 100%);
  border: 2px solid #bae6fd;
}

.feature-guide-box .btn {
  width: 100%;
  max-width: 340px;
  padding: 14px 20px;
  font-size: 0.98rem;
  font-weight: 800;
  border-radius: 9999px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #ffffff !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.feature-guide-box .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  filter: brightness(1.05);
}

@media (min-width: 992px) {
  .feature-guide-grid.three-cols {
    grid-template-columns: repeat(3, 1fr);
  }
}
