/* ────────────────────────────────────────────────────────────
   見てからweb — お知らせ / コラム 一覧・記事ページ共通スタイル
   index.html とは独立した素のHTMLページ（works/nysk.html と同方式）で使用。
   ────────────────────────────────────────────────────────────*/
:root {
  --paper: #f6f1e8;
  --paper-2: #ede5d3;
  --paper-3: #fdfaf3;
  --ink: #1a1815;
  --ink-soft: #6b635a;
  --line: #d8cfb9;
  --vermillion: #c4452d;
  --vermillion-2: #a8341c;
  --vermillion-soft: rgba(196, 69, 45, 0.08);
  --bar: 56px;
}

* { box-sizing: border-box; }
html { background: var(--paper); scroll-behavior: auto; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans JP", system-ui, sans-serif;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

/* ── 上部バー（works/nysk.html と同じ役割） ── */
.ar-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--bar);
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  background: rgba(246, 241, 232, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.ar-bar .home { display: flex; align-items: center; text-decoration: none; }
.ar-bar .home img { height: 24px; width: auto; display: block; }
.ar-bar .cta {
  margin-left: auto;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper-3);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.2s ease;
}
.ar-bar .cta:hover { background: var(--vermillion); }

/* ── ページ本体の枠 ── */
.ar-main {
  max-width: 760px;
  margin: 0 auto;
  padding: calc(var(--bar) + 40px) 22px 80px;
}

/* ── パンくず ── */
.ar-crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: var(--ink-soft);
  margin-bottom: 28px;
}
.ar-crumb a { color: var(--ink-soft); text-decoration: none; }
.ar-crumb a:hover { color: var(--vermillion); text-decoration: underline; }
.ar-crumb .sep { opacity: 0.5; }

/* ── ページ見出し（一覧用） ── */
.ar-pagehead { margin-bottom: 8px; }
.ar-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--vermillion);
  margin-bottom: 8px;
}
.ar-pagehead h1 {
  font-size: 30px;
  font-weight: 800;
  margin: 0 0 6px;
  letter-spacing: 0.02em;
}
.ar-pagehead p { margin: 0; color: var(--ink-soft); font-size: 15px; }

/* ── 一覧リスト ── */
.ar-list {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.ar-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 4px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  transition: background 0.2s ease, padding-left 0.2s ease;
}
.ar-item:hover { background: var(--vermillion-soft); padding-left: 14px; }
.ar-item-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  width: 190px;
}
.ar-item-date { font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.ar-item-cat {
  font-size: 11px;
  font-weight: 700;
  color: var(--vermillion);
  border: 1px solid var(--vermillion);
  border-radius: 999px;
  padding: 2px 10px;
  white-space: nowrap;
}
.ar-item-title { flex: 1; font-size: 16px; font-weight: 500; }
.ar-item-arrow { flex-shrink: 0; color: var(--vermillion); font-weight: 700; }

/* ── 空状態（記事0件） ── */
.ar-empty {
  margin: 36px 0 0;
  padding: 56px 24px;
  border: 1px dashed var(--line);
  border-radius: 14px;
  text-align: center;
  color: var(--ink-soft);
  background: var(--paper-3);
}
.ar-empty strong { display: block; font-size: 17px; color: var(--ink); margin-bottom: 6px; }

/* ── 記事本文 ── */
.ar-article-head { margin-bottom: 28px; padding-bottom: 24px; border-bottom: 2px solid var(--ink); }
.ar-article-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.ar-article-meta .date { font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.ar-article-meta .cat {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: var(--vermillion);
  border-radius: 999px;
  padding: 3px 12px;
}
.ar-article-head h1 { font-size: 28px; font-weight: 800; margin: 0; line-height: 1.5; }

.ar-body { font-size: 16px; }
.ar-body h2 {
  font-size: 21px;
  font-weight: 800;
  margin: 44px 0 16px;
  padding-left: 14px;
  border-left: 5px solid var(--vermillion);
  line-height: 1.5;
}
.ar-body h3 { font-size: 18px; font-weight: 700; margin: 32px 0 12px; }
.ar-body p { margin: 0 0 20px; }
.ar-body ul, .ar-body ol { margin: 0 0 20px; padding-left: 1.4em; }
.ar-body li { margin-bottom: 8px; }
.ar-body a { color: var(--vermillion); font-weight: 600; }
.ar-body img { max-width: 100%; height: auto; border-radius: 12px; margin: 8px 0 24px; display: block; }
.ar-body blockquote {
  margin: 0 0 24px;
  padding: 14px 18px;
  background: var(--paper-2);
  border-radius: 10px;
  color: var(--ink-soft);
}
.ar-body hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }

/* ── 記事末尾・一覧への導線 ── */
.ar-foot {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}
.ar-back { color: var(--ink-soft); text-decoration: none; font-size: 14px; font-weight: 600; }
.ar-back:hover { color: var(--vermillion); }
.ar-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--vermillion);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: background 0.2s ease;
}
.ar-cta:hover { background: var(--vermillion-2); }

/* ── モバイル ── */
@media (max-width: 640px) {
  .ar-pagehead h1 { font-size: 24px; }
  .ar-article-head h1 { font-size: 22px; }
  .ar-item { flex-wrap: wrap; gap: 6px 12px; }
  .ar-item:hover { padding-left: 4px; }
  .ar-item-meta { width: auto; }
  .ar-item-title { flex-basis: 100%; font-size: 15px; }
  .ar-item-arrow { display: none; }
  .ar-foot { flex-direction: column-reverse; align-items: stretch; }
  .ar-cta { justify-content: center; }
  .ar-back { text-align: center; }
}
