@charset "UTF-8";
/* ============================================================
   あとのこと（atonokoto.jp）
   記事ページ用スタイルシート
   株式会社ピアラ／2026年12月1日
   ------------------------------------------------------------
   本文HTMLで使っているclass名は以下の12種類だけです。
   lead / toc / cmp / st / box / caution / src /
   cta / btn / faq / notes / rel / eyecatch / meta
   ============================================================ */

:root {
  --red: #3e4e66;          /* あとのこと：落ち着いたスレートブルー */
  --red-deep: #141b27;
  --ink: #1f2328;
  --ink-sub: #566070;
  --line: #e2e5ea;
  --bg-soft: #f5f7f9;
  --bg-quote: #f2f5f9;
  --max: 760px;
}

/* ---------- ベース ---------- */
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans",
               "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  font-size: 17px;
  line-height: 1.9;
  background: #fff;
}
article { max-width: var(--max); margin: 0 auto; padding: 0 20px 80px; }
article img { max-width: 100%; height: auto; }
a { color: var(--red); }
a:hover { opacity: .75; }

/* ---------- 見出し ---------- */
h1 {
  font-size: 30px;
  line-height: 1.5;
  margin: 36px 0 20px;
  padding-bottom: 20px;
  border-bottom: 3px solid var(--red);
}
h2 {
  font-size: 23px;
  line-height: 1.55;
  margin: 56px 0 18px;
  padding-left: 14px;
  border-left: 5px solid var(--red);
}
h3 { font-size: 19px; margin: 36px 0 12px; }
p { margin: 0 0 1.5em; }

/* ---------- 冒頭まわり ---------- */
.meta { color: var(--ink-sub); font-size: 14px; margin-bottom: 10px; }
.pr {
  color: var(--ink-sub);
  font-size: 13px;
  margin: 0 0 20px;
  padding: 5px 10px;
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--bg-soft);
}
.eyecatch { display: block; width: 100%; margin-bottom: 28px; }
.lead {
  background: var(--bg-soft);
  padding: 22px 24px;
  border-radius: 6px;
  margin-bottom: 36px;
}

/* ---------- 目次 ---------- */
.toc {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 28px 20px;
  margin-bottom: 44px;
  background: #fafafa;
}
.toc h2 {
  font-size: 17px;
  border-left: none;
  padding-left: 0;
  margin: 18px 0 10px;
}
.toc ol { margin: 0; padding-left: 1.3em; }
.toc li { margin-bottom: 6px; }

/* ---------- 比較表 ---------- */
table.cmp {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 28px;
  font-size: 15.5px;
  line-height: 1.7;
}
table.cmp th, table.cmp td {
  border: 1px solid var(--line);
  padding: 11px 13px;
  text-align: left;
  vertical-align: top;
}
table.cmp th { background: var(--bg-soft); font-weight: 600; }
table.cmp tr:first-child th { background: #eee; }
table.cmp td:first-child { background: #fafafa; font-weight: 600; width: 23%; }

/* 横スクロール（スマホ） */
@media (max-width: 600px) {
  table.cmp { display: block; overflow-x: auto; white-space: nowrap; }
  table.cmp td, table.cmp th { white-space: normal; min-width: 7em; }
}

/* ---------- 番号つきリスト ---------- */
ol.st { counter-reset: st; list-style: none; padding: 0; margin: 8px 0 28px; }
ol.st li {
  counter-increment: st;
  position: relative;
  padding: 0 0 18px 48px;
  margin-bottom: 18px;
  border-bottom: 1px dotted var(--line);
}
ol.st li:last-child { border-bottom: none; }
ol.st li::before {
  content: counter(st);
  position: absolute; left: 0; top: 2px;
  width: 30px; height: 30px; line-height: 30px;
  text-align: center; border-radius: 50%;
  background: var(--red); color: #fff;
  font-size: 15px; font-weight: 700;
}
ol.st li strong { display: block; margin-bottom: 4px; }
ol.st li span { display: block; color: #333; }

/* ---------- 補足ボックス ---------- */
.box {
  background: var(--bg-soft);
  border-radius: 6px;
  padding: 20px 24px;
  margin: 8px 0 32px;
}
.box p:last-child { margin-bottom: 0; }

/* ---------- 条文の引用枠 ---------- */
.caution {
  background: var(--bg-quote);
  border-left: 4px solid var(--red);
  padding: 18px 22px;
  margin: 8px 0 28px;
}
.caution p { margin-bottom: .8em; }
.caution p:last-child { margin-bottom: 0; }
.src { font-size: 13.5px; color: var(--ink-sub); margin: -14px 0 28px; }
.caution .src { margin: 0; }

/* ---------- CTA ---------- */
.cta {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-deep) 100%);
  color: #fff;
  border-radius: 8px;
  padding: 32px 30px;
  margin: 48px 0;
  text-align: center;
}
.cta h2 {
  color: #fff; border-left: none; padding-left: 0;
  margin: 0 0 14px; font-size: 21px;
}
.cta p { text-align: left; font-size: 15.5px; margin-bottom: 24px; }
.btn {
  display: inline-block;
  background: #fff;
  color: var(--red);
  font-weight: 700;
  text-decoration: none;
  padding: 15px 44px;
  border-radius: 6px;
}
.btn:hover { opacity: .88; }

/* ---------- FAQ ---------- */
.faq dl { margin: 0; }
.faq dt {
  font-weight: 700;
  margin-top: 24px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.faq dd { margin: 12px 0 0; color: #333; }

/* ---------- 注釈 ---------- */
.notes {
  margin-top: 56px;
  padding: 22px 24px;
  background: #fafafa;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-sub);
}
.notes h2 { font-size: 16px; border-left: none; padding-left: 0; margin: 0 0 12px; }

/* ---------- 関連記事 ---------- */
.rel { margin-top: 48px; }
.rel h2 { font-size: 19px; }
.rel ul { padding-left: 1.2em; }
.rel li { margin-bottom: 10px; }

/* ---------- スマホ ---------- */
@media (max-width: 600px) {
  body { font-size: 16px; }
  article { padding: 0 16px 60px; }
  h1 { font-size: 24px; }
  h2 { font-size: 20px; margin-top: 44px; }
  .lead, .box, .caution, .notes { padding: 18px 16px; }
  .cta { padding: 26px 18px; }
  .btn { display: block; padding: 15px 0; }
}

/* ============================================================
   TOPページ用（/ のみで使用）
   hero / eyebrow / br-pc / sec-head / clusters / cl /
   cl-top / n / cl-body / who / cl-more / band / arts / art /
   thumb / ex
   ============================================================ */

.hero { margin: 36px 0 52px; }
.hero .eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 700; letter-spacing: .08em;
  color: #fff; background: var(--red);
  padding: 5px 14px; border-radius: 3px; margin-bottom: 18px;
}
.hero h1 {
  font-size: 34px; line-height: 1.45;
  margin: 0 0 22px; padding: 0; border: none;
}
.hero .lead { margin-bottom: 0; }
@media (max-width: 600px) {
  .hero h1 { font-size: 25px; }
  .br-pc { display: none; }
}

.sec-head {
  font-size: 15px; font-weight: 700; letter-spacing: .06em;
  color: var(--red);
  border-left: none; padding: 0 0 10px;
  margin: 56px 0 24px;
  border-bottom: 2px solid var(--red);
}

.clusters { display: grid; gap: 22px; }
.cl { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.cl-top {
  display: flex; align-items: center; gap: 14px;
  background: var(--bg-soft);
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
}
.cl-top .n {
  font-size: 20px; font-weight: 700; color: var(--red);
  font-family: Georgia, serif; line-height: 1;
}
.cl-top h3 { margin: 0; font-size: 19px; }
.cl-body { padding: 18px 22px 20px; }
.cl-body .who {
  font-size: 14.5px; color: var(--ink-sub);
  margin: 0 0 14px; padding-bottom: 12px;
  border-bottom: 1px dotted var(--line);
}
.cl-body ul { margin: 0; padding-left: 1.2em; }
.cl-body li { margin-bottom: 9px; font-size: 15.5px; line-height: 1.7; }
.cl-more { margin: 16px 0 0; font-size: 14.5px; font-weight: 700; }
.cl-more a::after { content: " →"; }

.band {
  background: var(--bg-quote);
  border-left: 4px solid var(--red);
  padding: 20px 24px;
  margin: 44px 0;
  font-size: 15.5px;
}
.band p { margin: 0; }

.arts { display: grid; gap: 24px; }
.art {
  display: block; text-decoration: none; color: inherit;
  border: 1px solid var(--line); border-radius: 8px; overflow: hidden;
}
.art:hover { opacity: 1; border-color: var(--red); }
.art .thumb { display: block; width: 100%; height: auto; }
.art h3 {
  margin: 16px 20px 8px; font-size: 17.5px; line-height: 1.55;
  color: var(--red);
}
.art .ex {
  margin: 0 20px 18px; font-size: 14.5px; line-height: 1.75; color: #333;
}

@media (min-width: 720px) {
  .arts { grid-template-columns: repeat(3, 1fr); }
  .art h3 { font-size: 16px; margin: 14px 16px 8px; }
  .art .ex { font-size: 13.5px; margin: 0 16px 16px; }
}

/* ============================================================
   ヘッダ・フッタ・パンくず（全ページ共通）
   ============================================================ */

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

.site-head {
  border-bottom: 1px solid var(--line);
  background: #fff;
  position: sticky; top: 0; z-index: 10;
}
.site-head .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 14px; padding-bottom: 14px;
}
.site-name { margin: 0; font-size: 17px; font-weight: 700; }
.site-name a { color: var(--ink); text-decoration: none; }
.gnav { display: flex; gap: 20px; font-size: 14.5px; }
.gnav a { color: var(--ink-sub); text-decoration: none; }
.gnav a:hover { color: var(--red); opacity: 1; }

.breadcrumb {
  font-size: 13px; color: var(--ink-sub);
  margin: 20px 0 0;
}
.breadcrumb a { color: var(--ink-sub); }

.site-foot {
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 40px 0 32px;
  font-size: 14px; line-height: 1.8; color: var(--ink-sub);
}
.foot-name { font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.site-foot ul {
  list-style: none; padding: 0; margin: 20px 0 0;
  display: flex; flex-wrap: wrap; gap: 8px 20px;
}
.site-foot a { color: var(--ink-sub); }
.copy { margin: 22px 0 0; font-size: 12.5px; }

@media (max-width: 600px) {
  .site-head .wrap { flex-direction: column; align-items: flex-start; gap: 10px; }
  .gnav { gap: 16px; font-size: 13.5px; }
  .wrap { padding: 0 16px; }
}

/* 規約系ページ */
.doc h2 { font-size: 19px; margin-top: 40px; }
.doc dl { margin: 0 0 1.5em; }
.doc dt { font-weight: 700; margin-top: 16px; }
.doc dd { margin: 6px 0 0; }
