@charset "UTF-8";
/* Shared styles for the problem-specific article pages */
.art h1 { font-size: 27px; line-height: 1.45; margin-bottom: 20px; }
.art .lede { font-size: 15px; margin-bottom: 8px; }
.art h2 { margin-top: 44px; }
.art h2:first-of-type { margin-top: 32px; }
.art h3 { font-size: 16px; margin-top: 28px; margin-bottom: 10px; }
.art p { font-size: 14.5px; line-height: 1.95; margin-bottom: 18px; }
.art ul { margin: 0 0 18px 22px; }
.art ul li { font-size: 14.5px; line-height: 1.9; color: var(--fg-sub); margin-bottom: 7px; }
.art strong { color: var(--fg); }

/* 付箋：本文中の「先に言っておくこと」 */
.callout {
  position: relative;
  padding: 24px 22px 20px;
  background: #fff6d3;
  margin: 30px 0 24px;
  box-shadow: 0 12px 18px -16px rgba(30, 42, 47, .55);
}
.callout::before {
  content: '';
  position: absolute; top: -10px; left: 28px;
  width: 72px; height: 20px;
  background: rgba(255, 255, 255, .75);
  border: 1px solid rgba(30, 42, 47, .08);
  transform: rotate(-3deg);
}
.callout p { margin: 0; font-size: 14px; color: #3d4a4f; }
.callout p + p { margin-top: 12px; }

.checklist { list-style: none; margin: 0 0 18px; padding: 0; }
.checklist li {
  position: relative;
  padding: 9px 0 9px 30px;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--fg-sub);
  border-bottom: 1px solid var(--border);
}
.checklist li:last-child { border-bottom: none; }
.checklist li::before {
  content: '';
  position: absolute;
  left: 4px; top: 17px;
  width: 13px; height: 7px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.crumb { font-size: 12px; color: var(--fg-sub); margin-bottom: 20px; }
.crumb a { color: var(--fg-sub); text-decoration: none; }
.crumb a:hover { color: var(--accent); }

.art-table {
  margin: 20px 0;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 10px;
}
.art-table table { width: 100%; border-collapse: collapse; min-width: 460px; }
.art-table th, .art-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 13.5px;
  line-height: 1.7;
}
.art-table thead th { background: var(--bg-sub); font-weight: 700; font-size: 12.5px; }
.art-table tbody tr:last-child td { border-bottom: none; }
.art-table tbody td:first-child { font-weight: 700; color: var(--fg); width: 30%; }
/* 2カラムの対比表は均等割り */
.art-table.split tbody td:first-child { width: 50%; font-weight: 400; color: var(--fg-sub); }

/* 相談用紙：記事の最後の申込み */
.endcta {
  position: relative;
  margin-top: 52px;
  padding: 32px 24px 28px;
  background: #fff;
  border: 1.5px solid var(--fg);
  border-radius: 6px;
  box-shadow: 8px 8px 0 #e5efeb;
  text-align: center;
}
.endcta::before {
  content: '相談\A無料';
  white-space: pre;
  box-sizing: border-box;
  position: absolute; top: -28px; right: 16px;
  width: 60px; height: 60px;
  border: 2.5px solid var(--shu); border-radius: 50%;
  background: #fff; color: var(--shu);
  font-size: 12px; font-weight: 700; line-height: 1.25;
  display: flex; align-items: center; justify-content: center; text-align: center;
  transform: rotate(10deg);
}
.endcta h3 { font-size: 18px; margin: 0 0 10px; }
.endcta p { font-size: 13.5px; margin-bottom: 22px; }
.endcta .cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  background: var(--accent);
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 4px 0 var(--accent-shadow);
  transition: background 0.15s;
}
.endcta .cta:hover { background: var(--accent-hover); }

.related { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); }
.related h3 { font-size: 13px; color: var(--fg-sub); margin-bottom: 10px; }
.related ul { list-style: none; margin: 0; padding: 0; }
.related ul li { margin-bottom: 8px; font-size: 13.5px; }

@media (max-width: 640px) {
  .art h1 { font-size: 22px; }
}
