/* 調査レポート詳細ページ 共通スタイル（研究会名義） */
:root {
  --ink: #1c1e26; --gray: #5a5e6b; --light: #9095a3;
  --line: #e2e4ea; --accent: #2f3e7e; --accent-hover: #24316a;
  --accent-soft: #eef0f7; --paper: #ffffff; --bg: #f7f8fa;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', 'Hiragino Sans', -apple-system, sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}
.site-header {
  background: var(--paper); border-bottom: 1px solid var(--line);
  padding: 14px 24px;
}
.site-header-inner {
  max-width: 960px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.site-header .brand { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; color: var(--ink); text-decoration: none; }
.site-header .brand span { color: var(--accent); }
.site-header .back { font-size: 12px; color: var(--gray); text-decoration: none; white-space: nowrap; }
.site-header .back:hover { color: var(--accent); }
.container { max-width: 960px; margin: 0 auto; padding: 48px 24px 80px; }
.hero { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: start; }
.cover-wrap { position: sticky; top: 24px; }
.cover-img {
  width: 100%; display: block; border: 1px solid var(--line);
  border-radius: 6px; box-shadow: 0 10px 28px rgba(28,30,38,0.14);
  background: #fff;
}
.doc-label { font-size: 11px; letter-spacing: 0.22em; color: var(--accent); font-weight: 700; margin-bottom: 12px; }
h1.doc-title { font-size: 26px; font-weight: 700; line-height: 1.6; letter-spacing: 0.01em; }
.doc-sub { font-size: 14px; color: var(--gray); margin-top: 8px; }
.meta-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 24px; }
.chip {
  font-size: 11px; font-weight: 600; color: var(--gray);
  background: var(--paper); border: 1px solid var(--line);
  padding: 4px 12px; border-radius: 100px;
}
.doc-desc { font-size: 14px; color: var(--gray); }
.doc-points { margin: 20px 0 28px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 20px 24px; }
.doc-points .pt-title { font-size: 11px; letter-spacing: 0.18em; color: var(--accent); font-weight: 700; margin-bottom: 10px; }
.doc-points ul { list-style: none; }
.doc-points li {
  font-size: 13.5px; padding: 7px 0 7px 22px; position: relative;
  border-bottom: 1px solid var(--accent-soft);
}
.doc-points li:last-child { border-bottom: none; }
.doc-points li::before {
  content: ""; position: absolute; left: 2px; top: 16px;
  width: 8px; height: 8px; border-radius: 2px; background: var(--accent);
}
/* form */
.dl-form {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 16px; padding: 28px; box-shadow: 0 4px 16px rgba(28,30,38,0.05);
}
.dl-form h2 { font-size: 16px; font-weight: 700; }
.dl-form .note { font-size: 12px; color: var(--light); margin-top: 4px; }
.dl-form label { display: block; font-size: 12px; font-weight: 600; color: var(--gray); margin: 16px 0 6px; }
.dl-form label .req { color: var(--accent); }
.dl-form input {
  width: 100%; padding: 11px 14px; font-size: 14px; font-family: inherit;
  border: 1px solid var(--line); border-radius: 8px; background: #fff;
}
.dl-form input:focus { outline: 2px solid var(--accent-soft); border-color: var(--accent); }
.dl-form button {
  width: 100%; margin-top: 22px; padding: 13px; font-size: 14px; font-weight: 700;
  font-family: inherit; color: #fff; background: var(--accent);
  border: none; border-radius: 100px; cursor: pointer; transition: background 0.2s;
}
.dl-form button:hover { background: var(--accent-hover); }
.dl-form button[disabled] { opacity: 0.6; cursor: not-allowed; }
.form-status { margin-top: 14px; font-size: 13px; line-height: 1.8; }
.form-status.success { color: var(--accent); font-weight: 600; }
.form-status.error { color: #c0392b; }
.privacy-note { font-size: 11px; color: var(--light); margin-top: 12px; }
.privacy-note a { color: var(--gray); }
/* related */
.related { margin-top: 56px; }
.related h2 { font-size: 13px; letter-spacing: 0.18em; color: var(--accent); font-weight: 700; margin-bottom: 16px; }
.related-card {
  display: flex; gap: 16px; align-items: center; text-decoration: none; color: inherit;
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 20px; transition: box-shadow 0.2s, transform 0.2s;
}
.related-card:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(28,30,38,0.08); }
.related-card img { width: 56px; border: 1px solid var(--line); border-radius: 3px; }
.related-card .rc-title { font-size: 14px; font-weight: 700; line-height: 1.6; }
.related-card .rc-note { font-size: 12px; color: var(--gray); margin-top: 2px; }
.site-footer { text-align: center; font-size: 11px; color: var(--light); padding: 24px; border-top: 1px solid var(--line); background: var(--paper); }
/* ─ ライブラリ（一覧）ページ ─ */
.lib-head { text-align: center; margin-bottom: 40px; }
.lib-label { font-size: 11px; letter-spacing: 0.22em; color: var(--accent); font-weight: 700; }
.lib-title { font-size: 26px; font-weight: 700; margin-top: 8px; letter-spacing: 0.02em; }
.lib-desc { font-size: 14px; color: var(--gray); margin-top: 12px; }
.lib-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.lib-card {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  padding: 20px; text-decoration: none; color: inherit;
}
.lib-card.available { cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; border-color: #c9cfe4; }
.lib-card.available:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(28,30,38,0.08); }
.lib-thumb { width: 104px; flex-shrink: 0; border: 1px solid var(--line); border-radius: 3px; box-shadow: 0 5px 14px rgba(28,30,38,0.14); }
.lib-main { display: flex; flex-direction: column; gap: 6px; }
.lib-badge {
  align-self: flex-start; font-size: 10px; font-weight: 700;
  letter-spacing: 0.08em; padding: 2px 10px; border-radius: 100px;
  background: var(--line); color: var(--gray);
}
.lib-card-title { font-size: 14.5px; font-weight: 700; line-height: 1.6; }
.lib-card-desc { font-size: 12px; color: var(--gray); line-height: 1.75; }
.lib-card-cta { font-size: 12.5px; font-weight: 700; color: var(--accent); margin-top: 2px; }
@media (max-width: 720px) {
  .lib-grid { grid-template-columns: 1fr; }
  .lib-title { font-size: 21px; }
}
@media (max-width: 720px) {
  .hero { grid-template-columns: 1fr; gap: 28px; }
  .cover-wrap { position: static; max-width: 220px; margin: 0 auto; }
  h1.doc-title { font-size: 21px; }
  .container { padding: 32px 20px 64px; }
}
