@charset "utf-8";

/* =========================================================
   資料室（library.html）専用スタイル
   共通部分は style.css を先に読み込むこと
   ※ 現時点は PC レイアウトのみ
   ========================================================= */

:root {
  --paper-warm: #f6f3ec;
  --gold-deep: #8a6f3c;
}

/* ---------- 下層ページのヘッダー（帯あり） ---------- */
.gnav-bar { padding: 20px 0; background: var(--navy-deep); }

.gnav--solid {
  position: relative;
  top: auto;
  left: auto;
  transform: none;
  margin: 0 auto;
}

/* ---------- パンくず ---------- */
.crumb {
  display: flex;
  align-items: center;
  height: 60px;
  background: var(--paper);
}

.crumb__inner {
  width: min(var(--container-w), 100% - var(--gutter) * 2);
  margin: 0 auto;
  font-size: 16px;
  line-height: 32px;
  color: var(--navy);
}

.crumb__inner span { margin: 0 12px; }
.crumb__inner a { transition: color .25s ease; }
.crumb__inner a:hover { color: var(--gold); }

/* 資料室の見出しは 48px */
.sec-head__title--lib { font-size: 48px; line-height: 64px; letter-spacing: 1px; }

/* =========================================================
   FV
   ========================================================= */
.lhero {
  position: relative;
  display: flex;
  align-items: center;
  height: 850px;
  padding: 100px 0 200px;
  overflow: hidden;
  background:
    repeating-linear-gradient(90deg, rgba(0, 0, 0, .02) 0 2px, rgba(0, 0, 0, 0) 2px 6px),
    var(--paper-warm);
}

.lhero__inner {
  display: flex;
  align-items: center;
  gap: 67px;
  width: min(1404px, 100% - var(--gutter) * 2);
  margin: 0 auto;
}

.lhero__body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.lhero__badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 10px;
  height: 60px;
  padding: 5px 20px;
  background: linear-gradient(107deg, #9e8149 0.7%, #745820 100%);
  font-family: var(--f-serif);
  font-weight: 600;
  font-size: 24px;
  line-height: 34px;
  color: #fff;
}

.lhero__badge svg { width: 40px; height: 40px; flex: none; }

.lhero__title {
  margin-top: -30px;
  font-family: var(--f-serif);
  font-weight: 600;
  font-size: 64px;
  line-height: 80px;
  color: var(--navy-deep);
}

.lhero__rule {
  width: 760px;
  max-width: 100%;
  height: 6px;
  margin-top: -30px;
  background: linear-gradient(90deg, #877304 0%, rgba(1, 12, 33, 0) 100%);
}

.lhero__text {
  font-weight: 400;
  font-size: 20px;
  line-height: 32px;
  letter-spacing: .2em;
  color: var(--navy-deep);
}

.lhero__text b { font-weight: 700; }

/* ---------- 本棚 ---------- */
.shelf { flex: none; width: 550px; margin: 0; padding-left: 32px; }

.shelf__row {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 374px;
}

.shelf__slot {
  flex: 0 1 33px;
  min-width: 8px;
  border: 1px solid rgba(158, 129, 73, .35);
  border-bottom: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .4) 0%, rgba(255, 255, 255, 0) 100%);
}

.shelf__slot:nth-of-type(1) { height: 359px; }
.shelf__slot:nth-of-type(2) { height: 344px; }
.shelf__slot:nth-of-type(3) { height: 363px; }
.shelf__slot:nth-of-type(4) { height: 337px; }
.shelf__slot:nth-of-type(5) { height: 352px; }

.shelf__board {
  height: 12px;
  background: linear-gradient(180deg, #ddd3bf 0%, #bfb196 100%);
  box-shadow: 0 8px 24px rgba(10, 20, 48, .06), 0 1px 2px rgba(10, 20, 48, .06);
}

.shelf__note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 70px;
  margin: 0;
  padding-top: 16px;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 1px;
  color: var(--muted);
}

.shelf__note b {
  font-family: var(--f-en);
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--gold-deep);
}

/* ---------- 棚に並ぶ背表紙 ---------- */
.spine {
  position: relative;
  flex: 0 1 44px;
  min-width: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 44px;
  height: 374px;
  padding: 18px 0 20px;
  background: linear-gradient(180deg, #052864 0%, #0c1b52 45%, #010c21 100%);
  overflow: hidden;
  box-shadow: 2px 0 6px rgba(10, 20, 48, .18);
  transition: transform .35s cubic-bezier(.22, .61, .36, 1);
}

/* 高さを少しずつ変えて、並べたときに棚らしく見せる */
.spine:nth-of-type(2) { height: 366px; }
.spine:nth-of-type(3) { height: 371px; }
.spine:nth-of-type(4) { height: 362px; }
.spine:nth-of-type(5) { height: 369px; }

.spine:hover { transform: translateY(-10px); }

.spine__no {
  flex: none;
  font-family: var(--f-en);
  font-weight: 700;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 1px;
  color: var(--gold-light);
  writing-mode: vertical-rl;
}

.spine__rule {
  flex: none;
  width: 18px;
  height: 1px;
  background: rgba(232, 184, 92, .5);
}

.spine__title {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  writing-mode: vertical-rl;
  font-weight: 600;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 1px;
  color: #fff;
}

.spine__logo {
  flex: none;
  width: 16px;
  height: auto;
  opacity: .85;
}

/* ---------- 冊子の表紙 ---------- */
.cover {
  position: relative;
  flex: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 267px;
  height: 374px;
  padding: 24px;
  overflow: hidden;
  background: linear-gradient(160deg, #052864 0%, #0c1b52 45%, #010c21 100%);
  box-shadow: 0 24px 64px rgba(0, 8, 26, .32);
}

.cover::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 8px;
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, .14) 0%, rgba(255, 255, 255, 0) 100%);
}

.cover--flat { box-shadow: 0 18px 44px rgba(0, 8, 26, .28); }

.cover__series {
  font-family: var(--f-en);
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 3px;
  color: var(--gold-light);
}

.cover__name {
  margin-top: 4px;
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: 24px;
  line-height: 36px;
  color: #fff;
}

.cover__no {
  margin-top: 12px;
  font-family: var(--f-en);
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, .8);
}

.cover__rule {
  display: block;
  width: 219px;
  height: 2px;
  margin: 74px 0 16px;
  background: linear-gradient(90deg, #e8b85c 0%, rgba(232, 184, 92, .06) 100%);
}

.cover__title {
  font-family: var(--f-serif);
  font-weight: 600;
  font-size: 16px;
  line-height: 28px;
  color: #fff;
}

.cover__logo { width: 40px; height: 30px; margin-top: 16px; object-fit: contain; }

/* =========================================================
   01 無償教材
   ========================================================= */
.textbook {
  position: relative;
  padding: 250px 0 120px;
  background: #fff;
}

.textbook__inner { display: flex; flex-direction: column; gap: 100px; }

.tb-block { display: flex; flex-direction: column; gap: 60px; }

.pn--library { top: -371px; }

/* 資料室のラベルは明るい背景に載るので濃紺 */
.pn--library .pn__label { color: var(--ink); }

/* ---------- 見開き ---------- */
.spread {
  display: grid;
  grid-template-columns: 583fr 817fr;
  background: var(--paper-warm);
  box-shadow: 0 8px 17px rgba(0, 0, 0, .1), 0 32px 32px rgba(0, 0, 0, .09),
              0 71px 43px rgba(0, 0, 0, .05), 0 126px 50px rgba(0, 0, 0, .01);
}

.spread__left {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.spread__right {
  padding: 40px;
  background: #fff;
  box-shadow: -1px 0 0 #ddd3bf;
}

.spread__label {
  display: flex;
  align-items: baseline;
  gap: 16px;
  height: 48px;
}

.spread__no {
  font-family: var(--f-en);
  font-weight: 600;
  font-size: 16px;
  line-height: 28px;
  letter-spacing: 3px;
  color: var(--gold-deep);
}

.spread__label b {
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: 32px;
  line-height: 48px;
  letter-spacing: 1px;
  color: var(--ink);
}

.spread__title {
  margin-top: 16px;
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: 36px;
  line-height: 52px;
  color: var(--ink);
}

.spread__sub {
  margin-top: 8px;
  font-weight: 700;
  font-size: 20px;
  line-height: 32px;
  color: var(--muted);
}

.colophon {
  margin-top: 40px;
  padding-top: 16px;
  border-top: 2px solid var(--navy-deep);
}

.colophon__cap {
  display: flex;
  justify-content: space-between;
  font-family: var(--f-en);
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 3px;
  color: #7a8499;
}

.colophon__list { margin: 18px 0 0; }

.colophon__list > div {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 12px 0;
}

.colophon__list dt {
  flex: none;
  font-weight: 700;
  font-size: 16px;
  line-height: 28px;
  color: var(--muted);
}

.colophon__list > div::after {
  content: "";
  order: 1;
  flex: 1 1 auto;
  height: 1px;
  background: var(--line);
}

.colophon__list dd {
  order: 2;
  margin: 0;
  text-align: right;
  font-weight: 700;
  font-size: 20px;
  line-height: 32px;
  color: var(--ink);
}

.colophon__list dd small {
  display: block;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: var(--muted);
}

/* アップロードしたPDFのURLが入るので、長くなっても折り返せるようにしておく */
.colophon__url {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 12px;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.6;
  color: var(--gold-deep);
  text-align: right;
}

/* URL の文字。色や大きさは親（.colophon__url）から受け継ぐ */
.colophon__go { color: inherit; word-break: break-all; transition: color .25s ease; }
.colophon__go:hover { color: var(--gold); }

/* 押すとクリップボードにコピーされる。動かしているのは main.js */
.colophon__copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: inherit;
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  color: var(--muted);
  cursor: pointer;
  transition: border-color .25s ease, color .25s ease;
}

.colophon__copy:hover { border-color: var(--gold); color: var(--gold-deep); }

/* コピーできたら、印だけチェックに変わる。
   文字を変えると幅が動いてURLがずれるので、印だけにしている */
.colophon__copy-ok { display: none; }
.colophon__copy.is-done { border-color: var(--gold); color: var(--gold-deep); }
.colophon__copy.is-done .colophon__copy-ok { display: inline-flex; }
.colophon__copy.is-done > svg:first-child { display: none; }

.colophon__copy svg { width: 14px; height: 14px; }

/* ---------- 発行予定 ---------- */
.series {
  display: flex;
  align-items: center;
  gap: 72px;
  border-bottom: 1px solid var(--line-soft);
}

.series__text {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 20px;
  line-height: 32px;
  color: var(--ink);
}

.series__text b { font-weight: 700; }

.series__issues { flex: 1 1 auto; display: flex; gap: 20px; }

.issue {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 23px 24px;
  background: var(--paper-warm);
}

.issue--next { background: var(--paper); }

.issue__no {
  font-family: var(--f-en);
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 3px;
  color: var(--gold);
}

.issue--next .issue__no { color: #7a8499; }

.issue b { font-weight: 700; font-size: 20px; line-height: 32px; color: var(--ink); }

.issue__date { font-size: 16px; line-height: 24px; color: var(--muted); }

/* ---------- 明るい背景のリード ---------- */
.lead--light .lead__title,
.lead--light .lead__text { color: var(--navy-deep); }

.lead--light .lead__rule {
  background: linear-gradient(90deg, #043187 0%, rgba(1, 12, 33, 0) 100%);
}

.lead__rule--short { width: 550px; }

/* ---------- 目次 ---------- */
.toc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 2px solid var(--navy-deep);
  border-bottom: 1px solid var(--line);
}

.toc__part { min-height: 329px; padding: 40px 32px; }

.toc__part:nth-child(2n) { border-left: 1px solid var(--line-soft); }
.toc__part:nth-child(n+3) { border-top: 1px solid var(--line-soft); }

.toc__label {
  font-weight: 700;
  font-size: 16px;
  line-height: 28px;
  color: var(--gold-deep);
}

.toc__title {
  margin-top: 4px;
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: 32px;
  line-height: 48px;
  color: var(--ink);
}

.toc__list { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }

.toc__list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-weight: 500;
  font-size: 16px;
  line-height: 28px;
  color: var(--ink);
}

.toc__list li span {
  flex: none;
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: 20px;
  color: var(--gold-deep);
}

/* ---------- 巻末 ---------- */
.back-matter {
  display: grid;
  grid-template-columns: 550fr 770fr;
  gap: 80px;
  padding-bottom: 48px;
}

.tickets { display: flex; flex-direction: column; gap: 20px; }

.ticket {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px;
  background: var(--paper-warm);
  -webkit-mask-image:
    radial-gradient(20px 10px at 100% 50%, transparent 98%, #000 100%),
    radial-gradient(20px 10px at 0 50%, transparent 98%, #000 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    radial-gradient(20px 10px at 100% 50%, transparent 98%, #000 100%),
    radial-gradient(20px 10px at 0 50%, transparent 98%, #000 100%);
  mask-composite: intersect;
}

.ticket__ic {
  flex: none;
  width: 58px;
  height: 62px;
  padding-right: 25px;
  border-right: 1px solid var(--gold);
  box-sizing: content-box;
  object-fit: contain;
}

.ticket__body { flex: 1 1 auto; min-width: 0; }

.ticket__cap {
  font-family: var(--f-en);
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 3px;
  color: var(--gold-deep);
}

.ticket__body b {
  display: block;
  margin-top: 4px;
  font-weight: 700;
  font-size: 20px;
  line-height: 32px;
  color: var(--ink);
}

.ticket__note {
  display: block;
  margin-top: 4px;
  font-size: 16px;
  line-height: 24px;
  color: var(--muted);
}

/* ---------- この冊子について ---------- */
.honest {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 56px 40px;
  background: var(--paper-warm);
}

.honest__label {
  font-weight: 700;
  font-size: 16px;
  line-height: 28px;
  color: var(--gold-deep);
}

.honest__big {
  font-family: var(--f-serif);
  font-weight: 600;
  font-size: 36px;
  line-height: 52px;
  color: var(--ink);
}

.honest__sub { font-size: 20px; line-height: 32px; color: var(--navy); }

.honest__why {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 16px;
  font-family: var(--f-serif);
  font-weight: 600;
  font-size: 24px;
  line-height: 36px;
  color: var(--gold-deep);
}

.honest__why span {
  flex: none;
  width: 40px;
  height: 2px;
  background: var(--gold);
}

/* ---------- ダウンロードバー ---------- */
.dl-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 26px 30px;
  border-top: 4px solid var(--navy);
  background: #fff;
  box-shadow: 0 3px 6px rgba(0, 0, 0, .1), 0 11px 11px rgba(0, 0, 0, .09),
              0 24px 14px rgba(0, 0, 0, .05), 0 42px 17px rgba(0, 0, 0, .01);
}

.dl-bar__text b {
  display: block;
  font-weight: 700;
  font-size: 26px;
  line-height: 40px;
  color: var(--ink);
}

.dl-bar__text span {
  display: block;
  margin-top: 3px;
  font-size: 19px;
  line-height: 32px;
  color: var(--muted);
}

.dl-bar__btn {
  flex: none;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 32px;
  background: var(--navy);
  color: #fff;
  transition: filter .25s ease;
}

.dl-bar__btn:hover { filter: brightness(1.25); }

.dl-bar__btn svg { width: 24px; height: 24px; flex: none; }

.dl-bar__btn b { display: block; font-weight: 700; font-size: 20px; line-height: 30px; }
.dl-bar__btn small { display: block; font-size: 16px; line-height: 24px; }

/* =========================================================
   02 自治体・施設の方へ
   ========================================================= */
.dist {
  padding: 120px 0;
  overflow: hidden;
  background: radial-gradient(50% 50% at 50% 50%, #043187 0%, #0a1430 100%);
}

.dist .sec-head { margin-bottom: 80px; }

.permit { padding: 40px; background: var(--paper-warm); }

.permit__inner {
  position: relative;
  padding: 64px;
  border: 1px solid rgba(158, 129, 73, .35);
  background: #fff;
}

.permit__inner::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(158, 129, 73, .35);
  pointer-events: none;
}

.permit__head { text-align: center; }

.permit__cap {
  font-family: var(--f-en);
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 3px;
  color: var(--gold-deep);
}

.permit__title {
  position: relative;
  margin-top: 12px;
  padding-bottom: 12px;
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: 36px;
  line-height: 52px;
  color: var(--ink);
}

.permit__title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 44px;
  height: 2px;
  margin-left: -22px;
  background: var(--gold);
}

.permit__lead {
  width: 882px;
  max-width: 100%;
  margin: 40px auto 0;
  font-size: 20px;
  line-height: 40px;
  color: var(--navy-deep);
}

.permit__lead u {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
  text-decoration-skip-ink: none;
}

.permit__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 40px;
  width: 880px;
  max-width: 100%;
  margin: 30px auto 0;
  padding-top: 8px;
  border-top: 1px solid var(--line-soft);
}

.permit__list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
  font-weight: 700;
  font-size: 20px;
  line-height: 32px;
  color: var(--ink);
}

.permit__list li svg { flex: none; width: 22px; height: 22px; }

.permit__closing {
  margin-top: 38px;
  padding-top: 8px;
  font-family: var(--f-serif);
  font-weight: 600;
  font-size: 32px;
  line-height: 48px;
  text-align: center;
  color: var(--ink);
}

.clauses {
  width: 880px;
  max-width: 100%;
  margin: 40px auto 0;
  padding-top: 48px;
  border-top: 2px solid var(--navy-deep);
}

.clauses__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}

.clauses__head b {
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: 24px;
  line-height: 36px;
  color: var(--ink);
}

.clauses__head span {
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 1px;
  color: #7a8499;
}

.clauses__list li {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 12px 0;
  font-size: 20px;
  line-height: 32px;
  color: var(--ink);
}

.clauses__list li svg { flex: none; width: 32px; height: 32px; }

.permit__seal {
  position: absolute;
  right: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(158, 129, 73, .12);
  opacity: .9;
  transform: rotate(12deg);
}

.permit__seal img { width: 40px; height: 30px; opacity: .8; object-fit: contain; }

/* =========================================================
   03 年次中立性レポート
   ========================================================= */
.report {
  padding: 120px 0;
  overflow: hidden;
  background: var(--paper);
}

.report .sec-head { margin-bottom: 64px; }

.report__layout {
  display: grid;
  grid-template-columns: 594fr 726fr;
  column-gap: 80px;
  align-items: start;
}

.report__text {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 20px;
  line-height: 32px;
  color: var(--ink);
}

.report__text mark {
  padding: 0;
  background: linear-gradient(180deg, rgba(158, 129, 73, 0) 66%, rgba(158, 129, 73, .35) 66%);
  font-weight: 700;
  color: var(--ink);
}

.report__link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 12px;
  margin-top: 16px;
  font-weight: 700;
  font-size: 16px;
  line-height: 28px;
  letter-spacing: 1px;
  color: var(--gold-deep);
}

.report__link svg { width: 18px; height: 18px; flex: none; transition: transform .25s ease; }
.report__link:hover svg { transform: translateX(5px); }

.ledger__cap {
  margin-bottom: 12px;
  font-family: var(--f-en);
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 3px;
  color: var(--gold-deep);
}

.ledger table { width: 100%; border-collapse: collapse; }

.ledger th {
  padding: 11px 12px;
  border-top: 2px solid var(--navy-deep);
  border-bottom: 1px solid var(--navy-deep);
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 1px;
  text-align: left;
  color: var(--muted);
}

.ledger td {
  padding: 40px 12px;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
  font-size: 18px;
  line-height: 28px;
  color: var(--ink);
}

.ledger td span {
  display: inline-block;
  margin-left: 12px;
  padding: 2px 12px;
  border-radius: 999px;
  background: var(--line-soft);
  font-weight: 400;
  font-size: 14px;
  color: var(--muted);
}

.ledger th:first-child, .ledger td:first-child { width: 126px; }
.ledger th:last-child, .ledger td:last-child { width: 194px; }

/* =========================================================
   04 セミナー・イベント
   ========================================================= */
.events {
  padding: 120px 0;
  overflow: hidden;
  background: #fff;
}

.events .sec-head { margin-bottom: 80px; }

.presents {
  display: flex;
  align-items: center;
  gap: 80px;
  margin-bottom: 80px;
}

.presents__logo {
  flex: none;
  width: 392px;
  font-family: var(--f-en);
  font-weight: 700;
  font-size: 80px;
  line-height: 80px;
  letter-spacing: 1px;
  color: var(--navy);
}

.presents__logo span {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1px var(--gold);
}

.presents__lead {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 20px;
  line-height: 32px;
  color: var(--ink);
}

.presents__lead mark {
  padding: 0;
  background: linear-gradient(180deg, rgba(158, 129, 73, 0) 66%, rgba(158, 129, 73, .35) 66%);
  font-weight: 700;
  color: var(--ink);
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 24px;
}

.event {
  display: flex;
  flex-direction: column;
  min-height: 292px;
  padding: 32px 24px;
  background: var(--paper);
  transition: transform .3s ease, box-shadow .3s ease;
}

.event--dark {
  background: linear-gradient(160deg, #0c1b52 0%, #010c21 100%);
  color: #fff;
}

.event:hover { transform: translateY(-6px); box-shadow: 0 16px 32px rgba(10, 20, 48, .12); }

.event__ic {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: contain;
  box-shadow: 0 4px 12px rgba(10, 20, 48, .1);
}

.event--dark .event__ic { box-shadow: none; }

.event__title {
  margin-top: 24px;
  font-weight: 700;
  font-size: 24px;
  line-height: 36px;
  color: var(--ink);
}

.event--dark .event__title { color: #fff; }

.event__target {
  margin-top: 8px;
  font-size: 16px;
  line-height: 28px;
  color: var(--muted);
}

.event--dark .event__target { color: rgba(255, 255, 255, .75); }

.event__go {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 20px;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 1px;
  color: var(--gold-light);
}

.event__go svg { width: 19px; height: 19px; flex: none; transition: transform .25s ease; }
.event--dark:hover .event__go svg { transform: translateX(5px); }

/* ---------- タイムテーブル ---------- */
.hours { margin-top: 80px; padding-top: 8px; }

.hours__cap {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
}

.hours__cap b { font-weight: 700; font-size: 20px; line-height: 32px; color: var(--ink); }

.hours__cap span {
  font-family: var(--f-en);
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 3px;
  color: var(--gold-deep);
}

.hours__bar { display: flex; height: 46px; }

.hours__seg {
  display: flex;
  align-items: center;
  padding: 0 16px;
  font-weight: 700;
  font-size: 16px;
  line-height: 28px;
}

.hours__seg--recep { flex: 0 0 255px; background: #f4ecdc; color: var(--gold-deep); }
.hours__seg--main { flex: 1 1 auto; background: var(--navy); color: #fff; }

.hours__ticks { position: relative; height: 52px; margin-top: 12px; }

.hours__tick {
  position: absolute;
  top: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hours__tick::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  width: 1px;
  height: 10px;
  background: var(--navy-deep);
}

.hours__tick--a { left: 0; }
.hours__tick--b { left: 255px; }
.hours__tick--c { right: 0; text-align: right; }
.hours__tick--c::before { left: auto; right: 0; }

.hours__tick b {
  font-family: var(--f-en);
  font-weight: 600;
  font-size: 24px;
  line-height: 24px;
  color: var(--ink);
}

.hours__tick span { font-size: 16px; line-height: 24px; color: var(--muted); }

/* =========================================================
   05 ニュース
   ========================================================= */
.news {
  padding: 120px 0;
  background: var(--paper);
}


/* =========================================================
   751px〜1200px：内容幅が足りなくなる箇所を組み替える
   ========================================================= */
@media (max-width: 1200px) and (min-width: 751px) {
  .lhero { display: block; height: auto; padding: 80px 0 170px; }
  .lhero__inner { display: block; }
  .lhero__title { margin-top: -20px; font-size: 52px; line-height: 76px; }
  .lhero__rule { margin-top: -20px; }

  .shelf { width: 100%; margin-top: 60px; padding-left: 0; }

  .textbook { padding: 0 0 120px; }
  .textbook__inner { padding-top: 120px; }

  .pn--library {
    position: relative;
    top: -110px;
    left: 0;
    margin-bottom: -60px;
  }

  .permit__inner { padding: 48px 40px 64px; }
  .permit__lead,
  .permit__list,
  .clauses { width: 100%; }

  .event-grid { grid-template-columns: repeat(2, 1fr); }

  /* このページの内容は 2 列に */
  .pn--library .pn__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    height: auto;
  }

  .pn--library .pn__list > li { flex: none; min-height: 200px; }
  .pn--library .pn__list > li::before { display: block; }
  .pn--library .pn__list > li:nth-child(2n+1)::before { display: none; }
  .pn--library .pn__list > li:nth-child(n+3) { box-shadow: inset 0 1px 0 var(--line-soft); }
}

@media (max-width: 1100px) and (min-width: 751px) {
  .spread { grid-template-columns: 1fr; }
  .spread__right { box-shadow: 0 -1px 0 #ddd3bf; }

  .toc { grid-template-columns: 1fr; }
  .toc__part { min-height: 0; padding: 40px 0; }
  .toc__part:nth-child(2n) { border-left: 0; }
  .toc__part:nth-child(n+2) { border-top: 1px solid var(--line-soft); }

  .back-matter { grid-template-columns: 1fr; gap: 50px; }
  .lead__rule--short { width: 100%; }

  .series { display: block; }
  .series__issues { margin-top: 30px; }

  .report__layout { display: block; }
  .ledger { margin-top: 50px; }

  .presents { display: block; }
  .presents__logo { width: 100%; }
  .presents__lead { margin-top: 30px; }
}

@media (max-width: 900px) and (min-width: 751px) {
  .dl-bar { display: block; }
  .dl-bar__btn { justify-content: center; margin-top: 30px; }

  .colophon__list > div { display: block; border-bottom: 1px solid var(--line); }
  .colophon__list > div::after { display: none; }
  .colophon__list dd { margin-top: 4px; text-align: left; }
}


/* =========================================================
   750px 以下：SP レイアウト（1rem = 10 設計px）
   ========================================================= */
@media (max-width: 750px) {

  /* ---------- ヘッダーの帯（SP は固定ヘッダー） ---------- */
  .gnav-bar { padding: 0; background: none; }

  /* ---------- パンくず ---------- */
  .crumb {
    margin-top: 11rem;
    height: 8rem;
  }

  .crumb__inner {
    width: calc(100% - var(--gutter) * 2);
    font-size: 2.4rem;
    line-height: 1.6;
  }

  .crumb__inner span { margin: 0 1rem; }

  /* 見出し */
  .sec-head__title--lib { font-size: 4.8rem; line-height: 1.5; letter-spacing: .02em; }

  /* =========================================================
     FV
     ========================================================= */
  .lhero {
    display: block;
    height: auto;
    padding: 8rem 0 14rem;
    background:
      repeating-linear-gradient(90deg, rgba(0, 0, 0, .02) 0 .2rem, rgba(0, 0, 0, 0) .2rem .6rem),
      var(--paper-warm);
  }

  .lhero__inner {
    display: block;
    width: calc(100% - var(--gutter) * 2);
  }

  .lhero__body { gap: 4rem; }

  .lhero__badge {
    gap: 1.2rem;
    height: 6.4rem;
    padding: .5rem 2.4rem;
    font-size: 2.8rem;
    line-height: 1.4;
  }

  .lhero__badge svg { width: 4rem; height: 4rem; }

  .lhero__title { margin-top: 0; font-size: 5.2rem; line-height: 1.5; }

  .lhero__rule { width: 100%; height: .6rem; margin-top: 0; }

  .lhero__text { font-size: 2.6rem; line-height: 1.9; letter-spacing: .06em; }

  /* ---------- 本棚 ---------- */
  .shelf { width: 100%; margin-top: 6rem; padding-left: 0; }

  .shelf__row { gap: 1.2rem; height: 37.4rem; }

  .shelf__slot { width: 3.3rem; }

  .spine { width: 5.6rem; height: 37.4rem; gap: 1.2rem; padding: 1.8rem 0 2rem; }
  .spine:nth-of-type(2) { height: 36.6rem; }
  .spine:nth-of-type(3) { height: 37.1rem; }
  .spine:nth-of-type(4) { height: 36.2rem; }
  .spine:nth-of-type(5) { height: 36.9rem; }
  .spine__no { font-size: 1.8rem; letter-spacing: .2rem; }
  .spine__rule { width: 2.4rem; }
  .spine__title { font-size: 1.5rem; letter-spacing: 0; line-height: 1.45; }
  .spine__logo { width: 2.4rem; }

  .shelf__slot:nth-of-type(1) { height: 35.9rem; }
  .shelf__slot:nth-of-type(2) { height: 34.4rem; }
  .shelf__slot:nth-of-type(3) { height: 36.3rem; }
  .shelf__slot:nth-of-type(4) { height: 33.7rem; }
  .shelf__slot:nth-of-type(5) { height: 35.2rem; }

  .shelf__board { height: 1.2rem; }

  .shelf__note {
    gap: 2rem;
    padding-top: 1.6rem;
    font-size: 2.2rem;
    line-height: 1.5;
  }

  /* ---------- 冊子の表紙 ---------- */
  .cover {
    width: 26.7rem;
    height: 37.4rem;
    padding: 2.4rem;
  }

  .cover::after { width: .8rem; }

  .cover__series { font-size: 1.8rem; line-height: 1.5; letter-spacing: .18em; }
  .cover__name { margin-top: .4rem; font-size: 2.6rem; line-height: 1.5; }
  .cover__no { margin-top: 1.2rem; font-size: 1.8rem; line-height: 1.5; letter-spacing: .18em; }
  .cover__rule { width: 100%; height: .2rem; margin: 5rem 0 1.4rem; }
  .cover__title { font-size: 1.8rem; line-height: 1.7; }
  .cover__logo { width: 4rem; height: 3rem; margin-top: 1.4rem; }

  /* =========================================================
     01 無償教材
     ========================================================= */
  .textbook { padding: 0 0 10rem; }

  .textbook__inner { gap: 8rem; padding-top: 10rem; }

  .tb-block { gap: 5rem; }

  .pn--library {
    position: relative;
    top: -8rem;
    left: 0;
    margin-bottom: -4rem;
  }

  /* ---------- 見開き ---------- */
  .spread { display: block; }

  .spread__left { padding: 5rem 3rem; }

  .spread__right { padding: 4rem 3rem 5rem; box-shadow: 0 -1px 0 #ddd3bf; }

  .spread__label { gap: 1.6rem; height: auto; }
  .spread__no { font-size: 2rem; line-height: 1.6; letter-spacing: .18em; }
  .spread__label b { font-size: 3.2rem; line-height: 1.5; }

  .spread__title { margin-top: 1.2rem; font-size: 3.6rem; line-height: 1.5; }
  .spread__sub { margin-top: 1rem; font-size: 2.4rem; line-height: 1.6; }

  .colophon { margin-top: 3.2rem; padding-top: 1.6rem; border-top-width: .2rem; }

  .colophon__cap { font-size: 2rem; line-height: 1.4; letter-spacing: .18em; }

  .colophon__list { margin-top: 1.4rem; }

  .colophon__list > div {
    display: block;
    gap: 0;
    padding: 1.4rem 0;
    border-bottom: 1px solid var(--line);
  }

  .colophon__list > div::after { display: none; }

  .colophon__list dt { font-size: 2.2rem; line-height: 1.5; }

  .colophon__list dd {
    margin-top: .4rem;
    text-align: left;
    font-size: 2.6rem;
    line-height: 1.6;
  }

  .colophon__list dd small { font-size: 2.1rem; line-height: 1.5; }

  .colophon__url { gap: 1.2rem; font-size: 2.4rem; flex-wrap: wrap; }
  .colophon__copy { gap: .6rem; padding: .4rem 1.4rem; font-size: 1.9rem; line-height: 1.6; }
  .colophon__copy svg { width: 1.8rem; height: 1.8rem; }

  /* ---------- 発行予定 ---------- */
  .series {
    display: block;
    padding-bottom: 4rem;
  }

  .series__text { font-size: 2.6rem; line-height: 1.8; }

  .series__issues { margin-top: 3rem; gap: 2rem; }

  .issue { padding: 2rem 2.2rem; gap: .4rem; }
  .issue__no { font-size: 2rem; line-height: 1.4; letter-spacing: .18em; }
  .issue b { font-size: 2.6rem; line-height: 1.5; }
  .issue__date { font-size: 2.2rem; line-height: 1.5; }

  /* ---------- 目次 ---------- */
  .lead__rule--short { width: 100%; }

  .toc { grid-template-columns: 1fr; border-top-width: .2rem; }

  .toc__part { min-height: 0; padding: 4rem 0; }

  .toc__part:nth-child(2n) { border-left: 0; }
  .toc__part:nth-child(n+2) { border-top: 1px solid var(--line-soft); }

  .toc__label { font-size: 2.2rem; line-height: 1.6; }
  .toc__title { margin-top: .6rem; font-size: 3.4rem; line-height: 1.5; }

  .toc__list { margin-top: 2rem; gap: 1.4rem; }

  .toc__list li { gap: 1.2rem; font-size: 2.4rem; line-height: 1.6; }
  .toc__list li span { font-size: 2.8rem; }

  /* ---------- 巻末 ---------- */
  .back-matter {
    grid-template-columns: 1fr;
    gap: 5rem;
    padding-bottom: 5rem;
  }

  .tickets { gap: 2rem; }

  .ticket {
    gap: 2rem;
    padding: 2.4rem 2rem;
    -webkit-mask-image:
      radial-gradient(2rem 1rem at 100% 50%, transparent 98%, #000 100%),
      radial-gradient(2rem 1rem at 0 50%, transparent 98%, #000 100%);
    mask-image:
      radial-gradient(2rem 1rem at 100% 50%, transparent 98%, #000 100%),
      radial-gradient(2rem 1rem at 0 50%, transparent 98%, #000 100%);
  }

  .ticket__ic { width: 5.4rem; height: 5.8rem; padding-right: 2rem; }

  .ticket__cap { font-size: 2rem; line-height: 1.4; letter-spacing: .18em; }
  .ticket__body b { margin-top: .4rem; font-size: 2.6rem; line-height: 1.6; }
  .ticket__note { margin-top: .4rem; font-size: 2.2rem; line-height: 1.5; }

  /* ---------- この冊子について ---------- */
  .honest { gap: 1.6rem; padding: 5rem 3rem; }

  .honest__label { font-size: 2.2rem; line-height: 1.6; }
  .honest__big { font-size: 3.4rem; line-height: 1.55; }
  .honest__sub { font-size: 2.4rem; line-height: 1.75; }

  .honest__why {
    align-items: flex-start;
    gap: 1.6rem;
    padding-top: 1.6rem;
    font-size: 2.6rem;
    line-height: 1.6;
  }

  .honest__why span { width: 4rem; height: .2rem; margin-top: 2rem; }

  /* ---------- ダウンロードバー ---------- */
  .dl-bar {
    display: block;
    padding: 3rem;
    border-top-width: .4rem;
  }

  .dl-bar__text b { font-size: 3rem; line-height: 1.5; }
  .dl-bar__text span { margin-top: .6rem; font-size: 2.2rem; line-height: 1.6; }

  .dl-bar__btn {
    justify-content: center;
    gap: 1.6rem;
    margin-top: 3rem;
    padding: 2.4rem 3rem;
  }

  .dl-bar__btn svg { width: 3rem; height: 3rem; }
  .dl-bar__btn b { font-size: 2.8rem; line-height: 1.5; }
  .dl-bar__btn small { font-size: 2.2rem; line-height: 1.5; }

  /* =========================================================
     02 自治体・施設の方へ
     ========================================================= */
  .dist { padding: 10rem 0; }

  .dist .sec-head { margin-bottom: 5rem; }

  .permit { padding: 2rem; }

  .permit__inner { padding: 4rem 2.4rem 6rem; }

  .permit__inner::before { inset: .6rem; }

  .permit__cap { font-size: 2rem; line-height: 1.4; letter-spacing: .16em; }

  .permit__title {
    margin-top: 1.2rem;
    padding-bottom: 1.6rem;
    font-size: 3.4rem;
    line-height: 1.5;
  }

  .permit__title::after { width: 4.4rem; height: .2rem; margin-left: -2.2rem; }

  .permit__lead {
    width: 100%;
    margin-top: 3rem;
    font-size: 2.4rem;
    line-height: 1.85;
  }

  .permit__lead u { text-decoration-thickness: .3rem; text-underline-offset: .3rem; }

  .permit__list {
    grid-template-columns: 1fr;
    width: 100%;
    margin-top: 2.4rem;
  }

  .permit__list li {
    gap: 1.4rem;
    padding: 1.6rem 0;
    font-size: 2.4rem;
    line-height: 1.6;
  }

  .permit__list li svg { width: 2.4rem; height: 2.4rem; }

  .permit__closing {
    margin-top: 3rem;
    font-size: 2.8rem;
    line-height: 1.6;
  }

  .clauses {
    width: 100%;
    margin-top: 3.4rem;
    padding-top: 3rem;
    border-top-width: .2rem;
  }

  .clauses__head { display: block; margin-bottom: 1.2rem; }
  .clauses__head b { font-size: 2.8rem; line-height: 1.5; }
  .clauses__head span { display: block; margin-top: .4rem; font-size: 2rem; line-height: 1.5; }

  .clauses__list li { gap: 1.4rem; padding: 1.2rem 0; font-size: 2.4rem; line-height: 1.6; }
  .clauses__list li svg { width: 3rem; height: 3rem; }

  .permit__seal { right: 1.6rem; bottom: 1.6rem; width: 7.2rem; height: 7.2rem; }
  .permit__seal img { width: 4rem; height: 3rem; }

  /* =========================================================
     03 年次中立性レポート
     ========================================================= */
  .report { padding: 10rem 0; }

  .report .sec-head { margin-bottom: 5rem; }

  .report__layout { display: block; }

  .report__text { gap: 1.6rem; font-size: 2.6rem; line-height: 1.85; }

  .report__link { margin-top: 1.6rem; font-size: 2.2rem; line-height: 1.6; }
  .report__link svg { width: 2.4rem; height: 2.4rem; }

  .ledger { margin-top: 5rem; }

  .ledger__cap { margin-bottom: 1.2rem; font-size: 2rem; line-height: 1.4; letter-spacing: .18em; }

  .ledger th {
    padding: 1.2rem .8rem;
    border-top-width: .2rem;
    font-size: 2rem;
    line-height: 1.5;
  }

  .ledger td {
    padding: 2.4rem .8rem;
    font-size: 2.2rem;
    line-height: 1.6;
  }

  .ledger td span { margin-left: 0; display: block; width: fit-content; margin-top: .6rem; font-size: 1.9rem; }

  .ledger th:first-child, .ledger td:first-child { width: 12rem; }
  .ledger th:last-child, .ledger td:last-child { width: 16rem; }

  /* =========================================================
     04 セミナー・イベント
     ========================================================= */
  .events { padding: 10rem 0; }

  .events .sec-head { margin-bottom: 5rem; }

  .presents { display: block; margin-bottom: 5rem; }

  .presents__logo { width: 100%; font-size: 6.4rem; line-height: 1.1; }

  .presents__lead { margin-top: 3rem; font-size: 2.6rem; line-height: 1.8; }

  .event-grid { grid-template-columns: 1fr; gap: 2.4rem; padding-top: 0; }

  .event { min-height: 0; padding: 3.2rem 3rem 3.6rem; }

  .event__ic { width: 6rem; height: 6rem; }

  .event__title { margin-top: 2rem; font-size: 3rem; line-height: 1.5; }
  .event__target { margin-top: .8rem; font-size: 2.4rem; line-height: 1.6; }

  .event__go { padding-top: 2rem; font-size: 2.2rem; line-height: 1.5; }
  .event__go svg { width: 2.4rem; height: 2.4rem; }

  /* ---------- タイムテーブル ---------- */
  .hours { margin-top: 6rem; }

  .hours__cap { margin-bottom: 1.2rem; }
  .hours__cap b { font-size: 2.6rem; line-height: 1.6; }
  .hours__cap span { font-size: 2rem; line-height: 1.4; letter-spacing: .18em; }

  .hours__bar { height: 5.6rem; }

  .hours__seg { padding: 0 1.6rem; font-size: 2.2rem; line-height: 1.5; }
  .hours__seg--recep { flex: 0 0 18rem; }

  .hours__ticks { height: 6.4rem; margin-top: 1.4rem; }

  .hours__tick::before { top: -1.4rem; height: 1.2rem; }

  .hours__tick--b { left: 18rem; }

  .hours__tick b { font-size: 2.8rem; line-height: 1.2; }
  .hours__tick span { font-size: 2.2rem; line-height: 1.5; }

  /* =========================================================
     05 ニュース
     ========================================================= */
  .news { padding: 10rem 0; }

}

/* =========================================================
   FV の入場アニメーション
   ========================================================= */
.js .lhero__badge,
.js .lhero__title,
.js .lhero__rule,
.js .lhero__text,
.js .shelf { animation: fvIn 1s cubic-bezier(.22, .61, .36, 1) both; }

.js .lhero__badge { animation-delay: .1s; }
.js .lhero__title { animation-delay: .24s; }
.js .lhero__rule  { animation-delay: .38s; }
.js .lhero__text  { animation-delay: .48s; }
.js .shelf        { animation-delay: .34s; }

/* ---------- ホバー ---------- */
.spread,
.ticket,
.issue { transition: transform .35s ease, box-shadow .35s ease; }

.spread:hover { transform: translateY(-4px); }

.cover { transition: transform .45s cubic-bezier(.22, .61, .36, 1); }
.spread:hover .cover { transform: translateY(-8px) rotate(-1.5deg); }

.ticket:hover { transform: translateX(4px); }

/* コピーのボタンは、ボタン自体に乗ったときだけ光らせる
   （指定は上の .colophon__copy:hover にまとめてある） */

.rules-none {}

/* 棚の表紙もPDFへのリンク。押せることが分かるように少し浮かせる */
.shelf .cover:hover { transform: translateY(-8px); }
