/* ==========================================================
   案内ページ（会則・規約／商品・ライセンス／サイトマップ）用
   2026-09-13 追加。配色トークンは mc-article.css の :root を使う。
   ========================================================== */

/* ── ページ見出し ───────────────────────────── */
.mc-pagehead {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy2) 100%);
  color: #fff;
  padding: 46px 0 42px;
}
.mc-pagehead .eyebrow {
  margin: 0 0 12px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .22em;
  color: var(--gold-lt);
}
.mc-pagehead h1 {
  color: #fff;
  font-size: clamp(24px, 3.8vw, 36px);
  font-weight: 700;
  text-wrap: balance;
}
.mc-pagehead .lead {
  max-width: 58ch;
  margin: 18px 0 0;
  font-size: 14.5px;
  line-height: 2;
  color: #d6cfbf;
}
.mc-pagehead .lead a { color: var(--gold-lt); }

/* ── 資料カード（会則・規約）───────────────── */
ul.doc-cards {
  list-style: none; margin: 0 0 34px; padding: 0;
  display: grid; gap: 13px;
}
ul.doc-cards a {
  display: grid; gap: 4px;
  background: var(--white); border: 1px solid var(--line);
  border-left: 4px solid var(--gold); border-radius: 9px;
  padding: 19px 23px; text-decoration: none; color: var(--ink2);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
ul.doc-cards a:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 20px rgba(12, 27, 51, .08);
  border-left-color: var(--gold-lt);
}
.dc-label {
  justify-self: start;
  font-size: 11px; font-weight: 700; letter-spacing: .06em;
  color: var(--navy); background: var(--gold-pale);
  padding: 2px 10px; border-radius: 3px; margin-bottom: 3px;
}
.dc-title {
  font-family: var(--serif); font-size: 17px; font-weight: 700;
  color: var(--ink); line-height: 1.55;
}
.dc-sum { font-size: 13.5px; line-height: 1.9; }
.dc-more {
  margin-top: 6px; font-size: 12.5px; font-weight: 700; color: var(--gold-dk);
}

/* ── ライセンスのカード ─────────────────────── */
ul.lic-cards {
  list-style: none; margin: 0 0 34px; padding: 0;
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}
ul.lic-cards a {
  display: grid; gap: 5px; height: 100%;
  background: var(--white); border: 1px solid var(--line);
  border-top: 4px solid var(--gold); border-radius: 10px;
  padding: 21px 23px; text-decoration: none; color: var(--ink2);
  transition: transform .2s, box-shadow .2s;
}
ul.lic-cards a:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(12, 27, 51, .09);
}
.lc-name {
  font-family: var(--serif); font-size: 18px; font-weight: 700; color: var(--ink);
  line-height: 1.5;
}
.lc-who {
  font-size: 12px; font-weight: 700; color: var(--gold-dk);
  letter-spacing: .03em; margin-bottom: 5px;
}
.lc-body { font-size: 13.5px; line-height: 1.95; }
.ext { font-size: .8em; color: var(--gold-dk); }

/* ── 注意書きの箱 ───────────────────────────── */
.note-box {
  background: var(--gold-pale);
  border-left: 4px solid var(--gold);
  border-radius: 0 8px 8px 0;
  padding: 19px 24px;
  margin: 30px 0;
}
.note-box b {
  display: block; font-family: var(--serif); font-size: 15.5px;
  color: var(--ink); margin-bottom: 7px;
}
.note-box p { margin: 0; font-size: 13.5px; line-height: 1.95; }
.note-box p + p { margin-top: 9px; }

/* ── 関連ページ ─────────────────────────────── */
.rel { border-top: 1px solid var(--line2); padding-top: 26px; margin-top: 34px; }
.rel h2 {
  font-size: 13px; font-weight: 700; letter-spacing: .18em;
  color: var(--gold-dk); margin: 0 0 14px;
}
.rel ul { list-style: none; margin: 0; padding: 0; }
.rel li {
  padding: 9px 0; border-top: 1px solid var(--line);
  font-size: 13.5px;
}
.rel li:first-child { border-top: 0; }
.rel li a { font-weight: 700; }

/* ── サイトマップ ───────────────────────────── */
.sm-grid {
  display: grid; gap: 26px;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  margin-bottom: 12px;
}
.sm-group h2 {
  font-size: 15px; font-weight: 700;
  padding-bottom: 9px; margin: 0 0 4px;
  border-bottom: 2px solid var(--gold);
  color: var(--ink);
}
.sm-group ul { list-style: none; margin: 0; padding: 0; }
.sm-group li { border-bottom: 1px solid var(--line); }
.sm-group a {
  display: block; padding: 11px 4px;
  color: var(--ink2); text-decoration: none;
  transition: padding-left .2s, color .2s;
}
.sm-group a:hover { padding-left: 9px; color: var(--gold-dk); }
.sm-t { display: block; font-size: 14px; font-weight: 700; color: var(--ink); line-height: 1.6; }
.sm-group a:hover .sm-t { color: var(--gold-dk); }
.sm-d { display: block; font-size: 12px; color: var(--ink3); margin-top: 2px; }

.sm-sites {
  margin-top: 40px; padding: 26px 28px;
  background: var(--navy); border-radius: 12px; color: #c9c2b2;
}
.sm-sites h2 {
  font-size: 16px; color: #fff; margin: 0 0 8px;
}
.sm-sites > p { font-size: 13px; margin: 0 0 18px; color: #a9a294; }
.sm-sites ul {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 11px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.sm-sites a {
  display: block; height: 100%;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(212, 175, 80, .3);
  border-radius: 8px; padding: 15px 18px;
  text-decoration: none; transition: background .2s, transform .2s;
}
.sm-sites a:hover { background: rgba(255, 255, 255, .11); transform: translateY(-2px); }
.ss-n {
  display: block; font-family: var(--serif); font-size: 15.5px;
  font-weight: 700; color: #fff;
}
.ss-n .ext { color: var(--gold-lt); }
.ss-d { display: block; font-size: 12.5px; color: #a9a294; margin-top: 5px; line-height: 1.7; }

@media (max-width: 700px) {
  .mc-pagehead { padding: 34px 0 30px; }
  ul.doc-cards a, ul.lic-cards a { padding: 17px 19px; }
  .sm-grid { gap: 20px; }
  .sm-sites { padding: 22px 20px; }
}

/* ── タイアップ・導入実績 ─────────────────────── */
.tu-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; }
.tu-btn {
  appearance: none; cursor: pointer;
  background: var(--white); border: 1px solid var(--line2);
  border-radius: 999px; padding: 8px 17px;
  font-family: var(--sans); font-size: 13px; font-weight: 700;
  color: var(--ink2); transition: .2s;
}
.tu-btn span {
  margin-left: 7px; font-size: 11px; font-weight: 400; color: var(--ink3);
  font-variant-numeric: tabular-nums;
}
.tu-btn:hover { border-color: var(--gold); }
.tu-btn.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }
.tu-btn.is-on span { color: var(--gold-lt); }

ul.tu-cards {
  list-style: none; margin: 0 0 34px; padding: 0;
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.tu-card {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line);
  border-radius: 10px; padding: 20px 22px;
}
.tu-meta { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; }
.tu-kind {
  font-size: 11px; font-weight: 700; letter-spacing: .04em;
  padding: 2px 10px; border-radius: 3px; color: #fff;
}
.tu-0 { background: #1f4f7a; }   /* 企業 */
.tu-1 { background: #3d6a1d; }   /* 自治体 */
.tu-2 { background: #a8410f; }   /* メディア */
.tu-3 { background: #6b3d8a; }   /* 教育 */
.tu-4 { background: var(--gold-dk); } /* 書籍 */
.tu-year {
  font-size: 12px; color: var(--ink3); font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.tu-org {
  font-size: 12.5px; font-weight: 700; color: var(--gold-dk);
  letter-spacing: .02em; margin-bottom: 4px;
}
.tu-title {
  font-family: var(--serif); font-size: 16.5px; font-weight: 700;
  color: var(--ink); line-height: 1.6; margin: 0 0 9px;
}
.tu-body { font-size: 13.5px; line-height: 1.95; margin: 0 0 14px; }
.tu-links {
  margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: baseline;
}
.tu-main { font-size: 13px; font-weight: 700; text-decoration: none; }
.tu-main:hover { text-decoration: underline; text-underline-offset: 4px; }
.tu-extra a { font-size: 12px; color: var(--ink3); text-decoration: none; }
.tu-extra a:hover { color: var(--gold-dk); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 700px) {
  .tu-card { padding: 17px 19px; }
  .tu-btn { font-size: 12px; padding: 7px 14px; }
}

/* タイアップ：画像つきカードは横2段に */
.tu-card.tu-wide { grid-column: 1 / -1; }
.tu-fig {
  float: right; margin: 0 0 14px 20px; max-width: 180px;
}
.tu-fig img {
  display: block; width: 100%; height: auto;
  border: 1px solid var(--line); border-radius: 6px;
  box-shadow: 0 3px 12px rgba(12, 27, 51, .10);
}
.tu-fig figcaption {
  margin-top: 7px; font-size: 10.5px; line-height: 1.6; color: var(--ink3); text-align: center;
}
.tu-card.tu-wide::after { content: ''; display: block; clear: both; }
@media (max-width: 560px) {
  .tu-fig { float: none; margin: 0 auto 16px; max-width: 150px; }
}
