@charset "utf-8";
/* 3案に共通する骨組み。色と書体は各テーマ（themes/a.css 等）が決める。
   ここに書くのは「どの案でも同じもの」だけにする。案ごとの見た目を
   ここへ書くと、テーマを増やしたときに効かなくなる。 */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

h1, h2, h3, p, ul, figure, address { margin: 0; }
ul { list-style: none; padding: 0; }

.inner { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.inner.narrow { max-width: 760px; }

/* ---------- ログイン中だけ出る帯 ---------- */
.adminbar {
  background: #16232e; color: #e6edf2; font-size: 13px;
  display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center;
  padding: 7px 20px;
}
.adminbar a { color: #9fc6e8; text-decoration: none; }
.adminbar a:hover { text-decoration: underline; }
.adminbar-name { opacity: .75; }
.adminbar-themes { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.adminbar-themes b { color: #fff; }

/* ---------- ヘッダー・フッター ---------- */
.site-head { border-bottom: 1px solid var(--rule); background: var(--head-bg, var(--bg)); }
.site-head .inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding-top: 16px; padding-bottom: 16px;
}
.site-logo { font-family: var(--font-head); font-size: 17px; font-weight: 600; letter-spacing: .05em; }
.site-logo a { text-decoration: none; }
.site-logo span {
  font-family: var(--font-num); letter-spacing: .22em; font-size: 12px;
  color: var(--muted); margin-left: 10px;
}
.site-nav { display: flex; gap: 18px; font-size: 13px; }
.site-nav a { color: var(--muted); text-decoration: none; }
.site-nav a:hover { color: var(--ink); }

.site-main { padding: 34px 0 60px; }

.site-foot { border-top: 1px solid var(--rule); background: var(--surface); }
.site-foot .inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 30px;
  padding-top: 34px; padding-bottom: 26px;
}
.foot-h {
  font-family: var(--font-num); font-size: 13px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 10px;
}
.foot-arch ul { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; }
.foot-arch a { color: var(--muted); text-decoration: none; }
.foot-arch a:hover { color: var(--ink); }
.foot-arch span { color: var(--muted); opacity: .6; margin-left: 4px; font-size: 11px; }
.site-foot address { font-style: normal; font-size: 13px; color: var(--muted); line-height: 1.9; }
.site-foot address a { text-decoration: none; }
.copy {
  border-top: 1px solid var(--rule); text-align: center;
  font-size: 11px; color: var(--muted); padding: 12px 0;
}

/* ---------- 見出し・絞り込み・ページ送り ---------- */
.page-head { margin-bottom: 4px; }
.page-eyebrow {
  font-family: var(--font-num); font-size: 12px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--muted);
}
.page-title { font-family: var(--font-head); font-size: 28px; font-weight: 600; letter-spacing: .08em; }

.brandfilter {
  display: flex; flex-wrap: wrap; gap: 16px; font-size: 13px;
  border-bottom: 1px solid var(--rule); padding-bottom: 10px; margin: 18px 0 4px;
}
.brandfilter a { color: var(--muted); text-decoration: none; padding-bottom: 10px; margin-bottom: -11px; }
.brandfilter a:hover { color: var(--ink); }
.brandfilter .on, .brandfilter span.on {
  color: var(--ink); font-weight: 600; border-bottom: 2px solid var(--ink);
  padding-bottom: 10px; margin-bottom: -11px;
}

.pager {
  display: flex; align-items: center; justify-content: center; gap: 20px;
  margin-top: 36px; font-size: 13px;
}
.pager a { color: var(--ink); text-decoration: none; border: 1px solid var(--rule); padding: 8px 18px; }
.pager a:hover { border-color: var(--ink); }
.pager-now { color: var(--muted); font-family: var(--font-num); letter-spacing: .1em; }

.empty { color: var(--muted); padding: 40px 0; }
.notfound { padding: 60px 0; }
.notfound h1 { font-family: var(--font-head); font-size: 24px; margin-bottom: 12px; }

/* ブランドの目印と下書きの印は共通で持つ（案ごとに色だけ変える） */
.brandtag {
  font-style: normal; font-size: 11px; letter-spacing: .08em; color: #fff;
  background: var(--brand-alta); padding: 3px 10px; border-radius: 2px;
}
.brandtag.is-awaichi { background: var(--brand-awaichi); }
.a-draft {
  font-style: normal; font-size: 11px; color: #fff; background: #9aa4ad;
  padding: 2px 8px; border-radius: 2px; margin-left: 8px;
}

.crumb { font-size: 12px; color: var(--muted); margin-bottom: 18px; }
.crumb a { text-decoration: none; }

.a-embed { margin-top: 14px; }
.a-embed iframe { max-width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; }

figcaption { font-size: 12px; color: var(--muted); margin-top: 6px; }

@media (max-width: 700px) {
  .site-foot .inner { grid-template-columns: 1fr; }
  .site-nav { display: none; }
  .adminbar-themes { margin-left: 0; width: 100%; }
}
