/* データ横丁 — 瓦版スタイル */
:root {
  --paper: #FBFAF7;
  --ink: #111111;
  --sub: #555049;
  --line: #111111;
  --accent: #FF8210;      /* テーマカラー：面・帯・ボタンに使う */
  --accent-ink: #A84C00;  /* 小さな文字用の濃いオレンジ */
  --photo: #E4E1DA;
  --serif: 'Zen Old Mincho', serif;
  --sans: 'Zen Kaku Gothic New', sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.85;
}
a { color: var(--ink); }
a:hover { color: var(--accent-ink); }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lead-photo { margin: 0; border: 1px solid var(--line); background: var(--photo); aspect-ratio: 16 / 9; overflow: hidden; }
.lead-photo img { width: 100%; height: 100%; object-fit: cover; }
.lead-dek { margin: 0; font-size: 17px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .wrap { padding: 0 18px; } }

/* ---------- 題字（ヘッダー） ---------- */
.masthead { padding-top: 28px; }
.masthead-shops { display: block; width: 100%; height: auto; margin-bottom: -2px; }
.masthead-band {
  background: var(--accent);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 10px 24px; padding: 16px 24px;
}
.band-logo img { display: block; width: 230px; height: auto; }
.masthead-band .tagline { margin: 0; font-size: 14px; font-weight: 700; line-height: 1.6; text-align: right; }
@media (max-width: 640px) {
  .masthead { padding-top: 16px; }
  .masthead-band { padding: 12px 16px; }
  .band-logo img { width: 170px; }
  .masthead-band .tagline { text-align: left; font-size: 13px; }
}
.nav {
  border-bottom: 4px double var(--line);
  display: flex; flex-wrap: wrap; align-items: center; gap: 0 28px;
  font-weight: 700; font-size: 15px;
}
.nav a { text-decoration: none; min-height: 48px; display: inline-flex; align-items: center; }
.nav a[aria-current="page"] { box-shadow: inset 0 -4px 0 var(--accent); }
.nav .nav-cta { margin-left: auto; }
@media (max-width: 760px) { .nav { gap: 0 18px; font-size: 14px; } .nav .nav-cta { margin-left: 0; } }

/* ---------- 共通の部品 ---------- */
.kicker { font-size: 13px; font-weight: 700; color: var(--accent-ink); letter-spacing: 0.04em; }
.label {
  display: inline-block; background: var(--accent); color: var(--ink);
  font-size: 12px; font-weight: 700; padding: 1px 10px; letter-spacing: 0.05em;
}
.serif { font-family: var(--serif); }
.btn {
  display: inline-flex; align-items: center; min-height: 48px; padding: 10px 22px;
  font-weight: 700; text-decoration: none; border: 2px solid var(--ink);
}
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #333; color: var(--paper); }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { background: #FF9A40; color: var(--ink); }
.more { font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; }

.section { padding: 48px 0; border-bottom: 1px solid var(--line); }
.section:last-of-type { border-bottom: 0; }
.section-head { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.section-head h2 {
  margin: 0; font-family: var(--serif); font-weight: 900; font-size: 32px; white-space: nowrap;
}
.section-head::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
@media (max-width: 640px) { .section-head h2 { font-size: 26px; white-space: normal; } }

/* ---------- 一面（トップ） ---------- */
.front { display: flex; flex-wrap: wrap; gap: 40px; padding: 40px 0; border-bottom: 1px solid var(--line); }
.lead { flex: 999 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.lead h1 { margin: 0; font-family: var(--serif); font-weight: 900; font-size: 40px; line-height: 1.4; }
.lead h1 a { text-decoration: none; }
.side { flex: 1 1 300px; border-left: 1px solid var(--line); padding-left: 32px; display: flex; flex-direction: column; gap: 26px; }
.side h2 { margin: 0 0 6px; font-family: var(--serif); font-weight: 900; font-size: 22px; }
.side p { margin: 0; font-size: 15px; }
.side-block + .side-block { border-top: 1px solid var(--line); padding-top: 22px; }
@media (max-width: 960px) {
  .lead h1 { font-size: 32px; }
  .side { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 24px; }
}

.list-item { display: block; text-decoration: none; padding: 12px 0; border-bottom: 1px dotted var(--line); font-size: 15px; }
.list-item .date { display: block; font-size: 12px; color: var(--sub); }

/* 活動案内（罫線のマス目） */
.grid-ruled {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.grid-ruled > * {
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 24px; text-decoration: none; display: flex; flex-direction: column; gap: 6px; min-height: 190px;
}
a.cell:hover { background: #FFF1E3; color: var(--ink); }
.cell .no { font-family: var(--serif); font-weight: 900; font-size: 24px; line-height: 1.2; letter-spacing: 0.04em; }
.cell .no span { display: inline-block; background: var(--accent); padding: 0 8px; }
.cell .name { font-weight: 900; font-size: 19px; }
.cell .desc { font-size: 14px; color: #3A3631; flex: 1; }
.cell .go { font-size: 13px; font-weight: 700; color: var(--accent-ink); }

/* 広告枠 */
.ad { border: 3px solid var(--line); padding: 6px; }
.ad-inner {
  border: 1px solid var(--line); padding: 36px; background: var(--accent);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
}
.ad-inner .small { margin: 0; font-size: 14px; font-weight: 700; letter-spacing: 0.2em; }
.ad-inner .big { margin: 6px 0; font-family: var(--serif); font-weight: 900; font-size: 52px; line-height: 1.2; }
.ad-inner p { margin: 0; font-size: 17px; }
@media (max-width: 640px) { .ad-inner { padding: 24px; } .ad-inner .big { font-size: 36px; } }

/* 参加方法 */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.step { border-top: 4px solid var(--ink); padding-top: 14px; display: flex; flex-direction: column; gap: 6px; }
.step .num { font-family: var(--serif); font-weight: 900; font-size: 28px; }
.step h3 { margin: 0; font-size: 18px; }
.step p { margin: 0; font-size: 15px; color: #3A3631; flex: 1; }

/* ---------- 下層ページ ---------- */
.page-head { padding: 40px 0 28px; border-bottom: 1px solid var(--line); }
.page-head h1 { margin: 6px 0 0; font-family: var(--serif); font-weight: 900; font-size: 44px; line-height: 1.3; }
.page-head p { margin: 12px 0 0; max-width: 720px; }
@media (max-width: 640px) { .page-head h1 { font-size: 32px; } }

.columns { display: flex; flex-wrap: wrap; gap: 40px; }
.columns .main { flex: 999 1 560px; min-width: 0; }
.columns .aside { flex: 1 1 260px; }
.prose { max-width: 760px; }
.prose h2 { font-family: var(--serif); font-weight: 900; font-size: 24px; margin: 36px 0 8px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin: 0 0 1em; }
.signature { text-align: right; font-weight: 700; }
.note { font-size: 13px; color: var(--sub); border: 1px dashed var(--sub); padding: 10px 14px; margin: 0 0 24px; }

.table-wrap { overflow-x: auto; }
table.roster { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.roster th, .roster td { text-align: left; vertical-align: top; padding: 12px 14px 12px 0; border-bottom: 1px solid #CFCBC2; }
.roster th { font-size: 13px; color: var(--sub); font-weight: 700; border-bottom: 2px solid var(--ink); }
.roster td:first-child { font-weight: 700; white-space: nowrap; }
.roster caption { text-align: left; font-family: var(--serif); font-weight: 900; font-size: 22px; padding-bottom: 10px; }

.sponsors { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin-bottom: 32px; }
.sponsors > * { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 18px; font-weight: 700; min-height: 84px; display: flex; align-items: center; }
.sponsors .open { color: var(--accent-ink); }

.media-list { list-style: none; margin: 0 0 32px; padding: 0; }
.media-list li { border-bottom: 1px dotted var(--line); padding: 12px 0; display: flex; flex-wrap: wrap; gap: 2px 20px; }
.media-list .outlet { flex: 0 0 180px; font-size: 13px; font-weight: 700; color: var(--sub); }
.media-list a { flex: 1 1 360px; }

/* フォーム */
.form { display: flex; flex-direction: column; gap: 20px; max-width: 640px; }
.form label { font-weight: 700; display: block; margin-bottom: 6px; }
.form .req { font-size: 12px; color: var(--accent-ink); margin-left: 6px; }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; padding: 12px 14px; border: 1.5px solid var(--ink); background: #FFFFFF; border-radius: 0;
}
.form textarea { min-height: 180px; resize: vertical; }
.form .hidden { position: absolute; left: -9999px; }
.form button { align-self: flex-start; font: inherit; cursor: pointer; }

/* ---------- フッター ---------- */
.footer { border-top: 4px double var(--line); margin-top: 24px; padding: 32px 0 48px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 24px; font-size: 14px; }
.footer .logo { width: 180px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.footer nav a { min-height: 36px; display: inline-flex; align-items: center; }
.footer .copy { width: 100%; color: var(--sub); margin: 0; }

@media (max-width: 640px) { .lead h1 { font-size: 26px; } .lead-dek { font-size: 16px; } }

/* ---------- 記事ページ ---------- */
.article { max-width: 800px; margin: 0 auto; padding: 40px 0 24px; }
.article-head h1 { margin: 10px 0 24px; font-family: var(--serif); font-weight: 900; font-size: 36px; line-height: 1.45; }
.article-hero { margin: 0 0 32px; border: 1px solid var(--line); }
.article-hero img { width: 100%; }
@media (max-width: 640px) { .article-head h1 { font-size: 26px; } }

.article-body { font-size: 16.5px; line-height: 2; }
.article-body > * { max-width: 800px; margin-left: auto; margin-right: auto; }
.article-body p { margin: 0 0 1.3em; }
.article-body h2 {
  font-family: var(--serif); font-weight: 900; font-size: 24px; line-height: 1.5;
  margin: 2.2em auto 0.8em; padding-top: 0.6em; border-top: 2px solid var(--ink);
}
.article-body h3 { font-size: 19px; margin: 1.8em auto 0.6em; }
.article-body h4 { font-size: 17px; margin: 1.6em auto 0.5em; }
.article-body figure { margin: 1.8em auto; }
.article-body figure img { border: 1px solid #CFCBC2; }
.article-body figcaption { font-size: 13px; color: var(--sub); margin-top: 8px; line-height: 1.6; }
.article-body ul, .article-body ol { padding-left: 1.4em; margin: 0 auto 1.3em; }
.article-body li { margin-bottom: 0.4em; }
.article-body blockquote { margin: 1.6em auto; padding: 4px 0 4px 20px; border-left: 4px solid var(--accent); color: #3A3631; }
.article-body hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em auto; }
.article-body table { width: 100%; border-collapse: collapse; font-size: 15px; }
.article-body th, .article-body td { border: 1px solid #CFCBC2; padding: 8px 10px; text-align: left; vertical-align: top; }
.article-body .table-wrap { overflow-x: auto; }
.article-body .align-right { text-align: right; }
.article-body .align-center { text-align: center; }
.article-body .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px 28px; }
.article-body .cols > div { display: contents; }
.article-body .col > :first-child { margin-top: 0; }
.article-body .video { position: relative; aspect-ratio: 16 / 9; margin: 1.4em auto; }
.article-body .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.article-body .embed-link { word-break: break-all; font-size: 14px; }
.article-body a { word-break: break-word; }

/* 記事一覧のカード */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px 24px; margin-bottom: 20px; }
.post-card { text-decoration: none; display: flex; flex-direction: column; gap: 8px; }
.post-thumb { display: block; aspect-ratio: 1200 / 630; border: 1px solid var(--line); background: var(--photo); overflow: hidden; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-thumb .noimg { display: flex; height: 100%; align-items: center; justify-content: center; font-family: var(--serif); font-weight: 900; color: var(--sub); }
.post-meta .date { font-size: 12px; color: var(--sub); margin-left: 6px; }
.post-title { font-weight: 700; line-height: 1.6; }
.post-card:hover .post-title { color: var(--accent-ink); text-decoration: underline; }
.article-body.narrow { max-width: 800px; margin: 0 auto; }
.article-body hr + h2 { border-top: 0; padding-top: 0; }

/* プロフィール（ひとたち） */
.group-title { font-family: var(--serif); font-weight: 900; font-size: 22px; margin: 36px 0 16px; }
.profiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin-bottom: 12px; }
.profile { display: flex; gap: 18px; align-items: flex-start; padding: 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.profile img { width: 104px; height: 104px; object-fit: cover; flex: 0 0 auto; border-radius: 50%; background: var(--photo); }
.profile h4 { margin: 0; font-size: 18px; }
.profile .role { margin: 2px 0 8px; font-size: 13px; font-weight: 700; color: var(--accent-ink); line-height: 1.6; }
.profile .bio { font-size: 13px; line-height: 1.75; color: #3A3631; }
.profile .bio p { margin: 0; }
@media (max-width: 640px) { .profiles { grid-template-columns: 1fr; } .profile img { width: 80px; height: 80px; } }
.form .label-row { display: flex; align-items: baseline; gap: 6px; margin-bottom: 6px; }
.form .label-row label { margin-bottom: 0; }

/* ===== 罫線を減らす調整（2026-11-15） ===== */
:root { --tint: #F3EFE6; --hair: #E3DDD1; }
.nav { border-bottom: 1px solid var(--line); }
.section { border-bottom: 0; padding: 56px 0 8px; }
.section-head { margin-bottom: 24px; }
.section-head::after { content: none; }
.front { border-bottom: 0; padding-bottom: 16px; }
.side { border-left: 0; padding-left: 0; gap: 18px; }
.side-block { background: var(--tint); padding: 22px 24px; }
.side-block + .side-block { border-top: 0; padding-top: 22px; }
@media (max-width: 960px) { .side { border-top: 0; padding-top: 0; } }
.list-item { border-bottom: 1px solid var(--hair); }
.side-block .list-item:last-of-type { border-bottom: 0; }
.lead h1 a { text-decoration: none; }
.lead-sub { display: inline-block; margin-top: 6px; font-size: 0.55em; font-weight: 700; color: var(--sub); }
.lead-photo { border: 0; }
.lead-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.page-head { border-bottom: 0; }

/* 活動案内：罫線のマス目 → 色面のタイル */
.grid-ruled { border: 0; gap: 14px; }
.grid-ruled > * { border: 0; background: var(--tint); }
a.cell:hover { background: #FBE6CF; }

/* 広告枠：二重線をやめて色面だけに */
.ad { border: 0; padding: 0; }
.ad-inner { border: 0; }

/* 参加方法：上の太線をやめる */
.step { border-top: 0; padding-top: 0; }
.step .num { color: var(--accent-ink); }

/* ひとたち・協賛 */
.profiles { border: 0; gap: 14px; }
.profile { border: 0; background: var(--tint); }
.sponsors { border: 0; gap: 10px; }
.sponsors > * { border: 0; background: var(--tint); }

/* 記事 */
.article-body h2 { border-top: 0; padding-top: 0; }
.article-body hr { border-top: 1px solid var(--hair); }
.media-list li { border-bottom: 1px solid var(--hair); }
.roster th, .roster td { border-bottom-color: var(--hair); }
.post-thumb { border: 0; }

/* フッター */
.footer { border-top: 1px solid var(--line); }
