/* ============================================================
   佐藤組 公式ウェブサイト スタイル
   ============================================================ */
:root {
  --navy: #1E2F5C;
  --navy-soft: #E9EDF5;
  --red: #C2272D;
  --red-dark: #8E1A1F;
  --red-soft: #FBF1F1;
  --ink: #1A1D24;
  --sub: #5A6170;
  --line: #CDD2DA;
  --paper: #FFFFFF;
  --tint: #F7F8FA;
  --marker: #FFE45C;
  --grid: #E3E6EB;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { font-size: 100%; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: "BIZ UDPGothic", "Hiragino Sans", "Yu Gothic", sans-serif;
  line-height: 1.8; overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
a { color: var(--navy); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
:focus-visible { outline: 3px solid var(--marker); outline-offset: 2px; }
.mincho { font-family: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif; }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--marker); color: var(--ink); padding: 8px 12px; }
.skip:focus { left: 8px; top: 8px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- ヘッダー ---------- */
.util { background: var(--navy); color: #fff; font-size: .8125rem; }
.util .wrap { display: flex; justify-content: space-between; align-items: center; gap: 4px 16px; flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px; }
.fs { display: flex; align-items: center; gap: 6px; }
.fs button { font: inherit; color: var(--navy); background: #fff; border: 0; border-radius: 3px; padding: 2px 10px; cursor: pointer; line-height: 1.6; }
.fs button[aria-pressed="true"] { background: var(--marker); font-weight: 700; }

.masthead { background: var(--paper); border-bottom: 4px solid var(--navy); }
.masthead .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; min-width: 0; }
.emblem { width: 56px; height: 56px; flex: none; }
.emblem.small { width: 40px; height: 40px; }
.brand-names { display: block; min-width: 0; }
.org-kana { display: block; font-size: .75rem; color: var(--sub); letter-spacing: .12em; line-height: 1.4; }
.org-name { display: block; font-weight: 900; font-size: 1.625rem; line-height: 1.2; }
.org-sub { display: block; font-size: .75rem; color: var(--sub); line-height: 1.5; }
.head-right { display: flex; align-items: center; gap: 18px; font-size: .8125rem; color: var(--sub); }
.head-cta { display: inline-block; background: var(--red); color: #fff; text-decoration: none; font-weight: 700; padding: 6px 16px; border-radius: 3px; }
.head-cta:hover { background: var(--red-dark); }
.menu-btn { display: none; }

.gnav { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.drawer-head { display: none; }
.gnav-list { list-style: none; margin: 0 auto; padding: 0 8px; max-width: 1040px; display: flex; }
.gnav-item { position: relative; }
.gnav-item.home-only { display: none; }
.gnav-item > a {
  display: block; padding: 12px 15px 10px; white-space: nowrap; text-decoration: none;
  color: var(--ink); font-weight: 700; font-size: .9375rem; border-bottom: 3px solid transparent;
}
.gnav-item > a:hover, .gnav-item.is-current > a { border-bottom-color: var(--navy); color: var(--navy); }
.gnav-item.has-sub > a::after {
  content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg);
}
.sub {
  list-style: none; margin: 0; padding: 6px 0; position: absolute; left: 0; top: 100%; min-width: 230px;
  background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--navy);
  box-shadow: 0 10px 24px rgba(30, 47, 92, .14); display: none;
}
.gnav-item:hover .sub, .gnav-item:focus-within .sub { display: block; }
.sub a { display: block; padding: 8px 16px; color: var(--ink); text-decoration: none; font-size: .9375rem; }
.sub a:hover { background: var(--navy-soft); color: var(--navy); }
.gnav a[aria-current="page"] { color: var(--red); }

@media (max-width: 899px) {
  .head-right { display: none; }
  .masthead { position: sticky; top: 0; z-index: 20; }
  .masthead .wrap { padding-top: 8px; padding-bottom: 8px; }
  .emblem { width: 44px; height: 44px; }
  .org-name { font-size: 1.375rem; }
  .org-kana, .org-sub { font-size: .6875rem; }
  .menu-btn {
    display: flex; flex-direction: column; align-items: center; gap: 2px; flex: none;
    font: inherit; font-size: .6875rem; font-weight: 700; color: var(--navy);
    background: none; border: 1px solid var(--line); border-radius: 4px; padding: 10px 10px 4px; cursor: pointer;
  }
  .bars, .bars::before, .bars::after { display: block; width: 22px; height: 2px; background: var(--navy); }
  .bars { position: relative; margin: 6px 0 8px; }
  .bars::before, .bars::after { content: ""; position: absolute; left: 0; }
  .bars::before { top: -7px; }
  .bars::after { top: 7px; }
  .gnav { display: none; position: fixed; inset: 0; z-index: 50; overflow-y: auto; border: 0; }
  .gnav.open { display: block; }
  .drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: var(--navy); color: #fff; font-weight: 700; position: sticky; top: 0; }
  .drawer-close { font: inherit; font-weight: 700; color: var(--navy); background: #fff; border: 0; border-radius: 3px; padding: 4px 14px; cursor: pointer; }
  .gnav-list { display: block; padding: 0 0 40px; }
  .gnav-item.home-only { display: block; }
  .gnav-item > a { padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .gnav-item.has-sub > a::after { display: none; }
  .sub { display: block; position: static; border: 0; box-shadow: none; padding: 0; background: var(--tint); min-width: 0; }
  .sub a { padding: 12px 16px 12px 32px; border-bottom: 1px solid var(--line); }
}

/* ---------- ページ見出し ---------- */
.page-head { background: var(--navy-soft); border-bottom: 1px solid var(--line); }
.page-head .wrap { padding-top: 14px; padding-bottom: 36px; }
.crumbs ol { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; font-size: .8125rem; color: var(--sub); }
.crumbs li + li::before { content: "＞"; margin: 0 6px; color: var(--sub); }
.page-head h1 { margin: 0; font-weight: 900; font-size: clamp(1.875rem, 6vw, 2.75rem); line-height: 1.3; }
.page-lead { margin: 12px 0 0; max-width: 40em; }

/* ---------- トップの大見出し ---------- */
.hero { background: var(--navy-soft); border-bottom: 1px solid var(--line); overflow: hidden; }
.hero .wrap { position: relative; padding-top: 44px; padding-bottom: 52px; }
.hero-kicker { margin: 0 0 10px; font-size: .9375rem; color: var(--sub); }
.hero h1 { margin: 0; font-weight: 900; font-size: clamp(2.125rem, 8vw, 3.75rem); line-height: 1.3; letter-spacing: .02em; max-width: 13em; }
.hero-body { margin: 18px 0 0; max-width: 32em; padding-right: 100px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero .stamp { position: absolute; right: 16px; bottom: 28px; background: rgba(255,255,255,.35); }
.hero .stamp.go { animation-delay: .55s; }
@media (max-width: 640px) {
  .hero-body { padding-right: 0; }
  .hero .stamp { position: static; margin: 22px 4px 0 auto; width: 92px; height: 92px; font-size: 1.5rem; }
}

/* ---------- ハンコ ---------- */
.stamp {
  width: 104px; height: 104px; border-radius: 50%;
  border: 4px solid var(--red); box-shadow: inset 0 0 0 3px var(--paper), inset 0 0 0 5px var(--red);
  color: var(--red); display: flex; align-items: center; justify-content: center;
  font-family: "Zen Old Mincho", serif; font-weight: 900; font-size: 1.75rem; line-height: 1.05;
  transform: rotate(-12deg); opacity: .9; pointer-events: none; user-select: none;
}
.stamp span { display: block; width: 1em; text-align: center; word-break: break-all; }
.stamp.go { animation: stampIn .5s cubic-bezier(.2,.9,.3,1.25) both; }
@keyframes stampIn {
  0%   { opacity: 0;  transform: scale(1.9) rotate(-12deg); }
  60%  { opacity: .9; transform: scale(.93) rotate(-12deg); }
  100% { opacity: .9; transform: scale(1)   rotate(-12deg); }
}
@media (prefers-reduced-motion: reduce) { .stamp.go { animation: none; } }

/* ---------- セクション共通 ---------- */
.sec { padding: 48px 0 8px; scroll-margin-top: 84px; }
.sec > h2, .h2 {
  margin: 0 0 22px; padding: 2px 0 10px 14px; font-family: "Zen Old Mincho", serif; font-weight: 900; font-size: 1.5rem; line-height: 1.4;
  border-left: 6px solid var(--navy); border-bottom: 1px solid var(--line);
}
.h3 { margin: 32px 0 12px; font-weight: 700; font-size: 1.1875rem; line-height: 1.5; display: flex; align-items: baseline; gap: 10px; }
.h3::before { content: ""; flex: none; width: 10px; height: 10px; background: var(--navy); transform: translateY(-1px); }
.lead { margin: 0 0 18px; max-width: 46em; }
.note { font-size: .8125rem; color: var(--sub); margin: 10px 0 0; }
.more { margin: 16px 0 0; text-align: right; }
.more a, .text-link { font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.more a::after, .text-link::after {
  content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg);
}
.more a:hover, .text-link:hover { text-decoration: underline; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-block; text-decoration: none; text-align: center;
  font: inherit; font-weight: 700; font-size: 1rem; cursor: pointer; line-height: 1.6;
  background: var(--red); color: #fff; border: 0; border-radius: 4px; padding: 12px 26px;
  box-shadow: 0 3px 0 var(--red-dark);
}
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--red-dark); }
.btn:disabled { background: #9AA0AA; box-shadow: 0 3px 0 #6E747E; cursor: wait; }
.btn-line {
  display: inline-block; text-decoration: none; text-align: center;
  font: inherit; font-weight: 700; cursor: pointer; line-height: 1.6;
  background: var(--paper); color: var(--navy); border: 2px solid var(--navy); border-radius: 4px; padding: 10px 20px;
}
.btn-line:hover { background: var(--navy-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.chip {
  font: inherit; font-size: .875rem; font-weight: 700; cursor: pointer; line-height: 1.6;
  padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink);
}
.chip:hover { border-color: var(--navy); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip.toggle[aria-pressed="false"] { color: var(--sub); text-decoration: line-through; background: var(--tint); }

/* ---------- 表 ---------- */
.table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.table th, .table td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; vertical-align: top; }
.table th { background: var(--navy-soft); font-weight: 700; }
.table tbody th { width: 9em; }
.table thead th { background: var(--navy); color: #fff; border-color: var(--navy); white-space: nowrap; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll .table { min-width: 560px; }
@media (max-width: 560px) {
  .table.stack, .table.stack tbody, .table.stack tr, .table.stack th, .table.stack td { display: block; width: auto; }
  .table.stack tr { border-top: 1px solid var(--line); }
  .table.stack th, .table.stack td { border-top: 0; }
  .table.stack th { padding-bottom: 6px; }
}

/* ---------- タグ・ニュース ---------- */
.tag { display: inline-block; font-size: .75rem; font-weight: 700; padding: 0 8px; border-radius: 2px; line-height: 1.8; white-space: nowrap; justify-self: start; }
.tag-重要 { background: var(--red); color: #fff; }
.tag-お詫び { background: var(--navy); color: #fff; }
.tag-速報 { background: var(--marker); color: var(--ink); }
.tag-お知らせ { border: 1px solid var(--sub); color: var(--sub); line-height: 1.65; }
.tag-IR { border: 1px solid var(--navy); color: var(--navy); line-height: 1.65; }
.news { list-style: none; margin: 0; padding: 0; border-top: 1px dotted var(--line); }
.news li { display: grid; grid-template-columns: auto auto 1fr; gap: 4px 12px; align-items: baseline; padding: 14px 2px; border-bottom: 1px dotted var(--line); }
.news time { color: var(--sub); font-size: .875rem; font-variant-numeric: tabular-nums; }
.news .ttl { min-width: 0; }
@media (max-width: 480px) {
  .news li { grid-template-columns: auto 1fr; }
  .news .ttl { grid-column: 1 / -1; }
}
.news-full details { border-bottom: 1px dotted var(--line); scroll-margin-top: 84px; }
.news-full details:first-child { border-top: 1px dotted var(--line); }
.news-full summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: auto auto 1fr auto; gap: 4px 12px; align-items: baseline; padding: 14px 2px; }
.news-full summary::-webkit-details-marker { display: none; }
.news-full summary::after { content: "＋"; color: var(--navy); font-weight: 700; }
.news-full details[open] summary::after { content: "－"; }
.news-full .ttl { font-weight: 700; }
.news-body { margin: 0 2px 16px; padding: 14px 16px; background: var(--tint); border-left: 4px solid var(--navy); }
.news-body p { margin: 0 0 8px; }
.news-body p:last-child { margin: 0; }
@media (max-width: 480px) {
  .news-full summary { grid-template-columns: auto 1fr auto; }
  .news-full summary .ttl { grid-column: 1 / 3; }
}
.empty { padding: 24px 0; color: var(--sub); }

/* ---------- トップページ ---------- */
.pickup { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 12px; }
.pick {
  display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: center; padding: 16px;
  border: 1px solid var(--line); border-left: 6px solid var(--navy); text-decoration: none; color: var(--ink);
}
.pick:hover { background: var(--navy-soft); }
.pick-icon { width: 52px; height: 52px; border-radius: 50%; background: var(--navy-soft); color: var(--navy); display: grid; place-items: center; font-family: "Zen Old Mincho", serif; font-weight: 900; font-size: 1.5rem; }
.pick:hover .pick-icon { background: var(--paper); }
.pick-title { display: block; font-weight: 700; font-size: 1.0625rem; color: var(--navy); line-height: 1.5; }
.pick-desc { display: block; font-size: .875rem; color: var(--sub); line-height: 1.6; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.stat { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 18px 16px; }
.stat-label { margin: 0; font-size: .875rem; color: var(--sub); font-weight: 700; }
.stat-num { margin: 4px 0 2px; font-family: "Zen Old Mincho", serif; font-weight: 900; font-size: 2.5rem; line-height: 1.2; color: var(--navy); font-variant-numeric: tabular-nums; }
.stat-num small { font-size: 1rem; margin-left: 4px; color: var(--ink); }
.stat-note { margin: 0; font-size: .75rem; color: var(--sub); }

.msg { display: grid; grid-template-columns: 200px 1fr; gap: 28px; align-items: start; }
@media (max-width: 640px) { .msg { grid-template-columns: 1fr; } .msg .portrait { max-width: 200px; } }
.recruit-banner { padding: 22px 20px; border: 2px solid var(--red); background: var(--red-soft); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; }
.rb-title { margin: 0; font-weight: 900; font-size: 1.375rem; line-height: 1.5; }
.recruit-banner p { margin: 2px 0 0; }

/* ---------- 組長 ---------- */
.portrait { position: relative; aspect-ratio: 3 / 4; background: var(--navy-soft); border: 1px solid var(--line); overflow: hidden; }
.portrait svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.portrait figcaption { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(30,47,92,.85); color: #fff; font-size: .75rem; padding: 6px 10px; line-height: 1.5; }
.profile-top { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: start; }
@media (max-width: 680px) { .profile-top { grid-template-columns: 1fr; } .profile-top .portrait { max-width: 240px; } }
.letter { position: relative; border: 1px solid var(--line); background: var(--tint); padding: 28px 24px 24px; }
.letter p { margin: 0 0 1em; }
.sign { margin: 24px 0 0; text-align: right; font-family: "Zen Old Mincho", serif; font-weight: 900; font-size: 1.125rem; line-height: 1.6; padding-right: 84px; min-height: 72px; position: relative; }
.sign small { display: block; font-family: "BIZ UDPGothic", sans-serif; font-weight: 400; font-size: .8125rem; color: var(--sub); }
.sign .stamp { position: absolute; right: 0; top: -6px; width: 72px; height: 72px; font-size: 1.125rem; border-width: 3px; box-shadow: inset 0 0 0 2px var(--tint), inset 0 0 0 3.5px var(--red); }
.quotes { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.quote { margin: 0; border: 1px solid var(--line); border-top: 4px solid var(--red); padding: 18px 18px 14px; }
.quote blockquote { margin: 0; font-family: "Zen Old Mincho", serif; font-weight: 900; font-size: 1.25rem; line-height: 1.55; }
.quote figcaption { margin-top: 10px; font-size: .875rem; color: var(--sub); }

/* ---------- 年表 ---------- */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline { --tl: 8.5em; }
.timeline li { display: grid; grid-template-columns: var(--tl) 1fr; gap: 14px; padding: 0 0 22px; position: relative; }
.timeline li::before {
  content: ""; position: absolute; left: calc(var(--tl) + 2px); top: .55em; width: 11px; height: 11px;
  border-radius: 50%; background: var(--paper); border: 3px solid var(--navy);
}
.timeline li::after { content: ""; position: absolute; left: calc(var(--tl) + 7px); top: 1.4em; bottom: -.3em; width: 1px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline .when { font-weight: 700; color: var(--navy); text-align: right; font-variant-numeric: tabular-nums; }
.timeline .what { padding-left: 26px; }

/* ---------- 規約 ---------- */
.rules { margin: 0; padding: 22px 22px 8px; list-style: none; counter-reset: art; border: 1px solid var(--line); background: var(--tint); }
.rules li { counter-increment: art; display: grid; grid-template-columns: 4.5em 1fr; gap: 8px; margin-bottom: 14px; }
.rules li::before { content: "第" counter(art) "条"; font-family: "Zen Old Mincho", serif; font-weight: 900; color: var(--navy); }
.enact { text-align: right; margin: 12px 0 0; font-size: .875rem; color: var(--sub); }

/* ---------- 理念 ---------- */
.philosophy { border: 1px solid var(--line); }
.philosophy > div { display: grid; grid-template-columns: 9em 1fr; border-bottom: 1px solid var(--line); }
.philosophy > div:last-child { border-bottom: 0; }
.philosophy dt { background: var(--navy); color: #fff; font-weight: 700; padding: 16px; display: flex; align-items: center; }
.philosophy dd { margin: 0; padding: 16px 20px; }
.philosophy .big { font-family: "Zen Old Mincho", serif; font-weight: 900; font-size: 1.5rem; line-height: 1.5; }
.philosophy ol { margin: 0; padding-left: 1.4em; }
@media (max-width: 560px) { .philosophy > div { grid-template-columns: 1fr; } .philosophy dt { padding: 8px 16px; } }

/* ---------- 組織図 ---------- */
.org { padding: 8px 0; }
.node { display: block; padding: 8px 12px; border: 2px solid var(--navy); background: var(--paper); line-height: 1.45; text-align: left; }
.node .r { display: block; font-size: .75rem; color: var(--sub); font-weight: 700; }
.node .n { display: block; font-weight: 700; font-size: .9375rem; }
.node.boss { display: inline-block; background: var(--navy); color: #fff; min-width: 180px; text-align: center; padding: 10px 16px; }
.node.boss .r { color: #C8D1E6; }
.node.boss .n { font-family: "Zen Old Mincho", serif; font-weight: 900; font-size: 1.25rem; }
.node.dept { background: var(--navy-soft); text-align: center; }
.node.dept .n { font-size: 1rem; }
.org-top { position: relative; padding-bottom: 24px; text-align: center; }
.org-top::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 2px; height: 24px; background: var(--line); }
.org-children { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; }
.org-children > li { position: relative; padding: 24px 8px 0; flex: 1 1 0; min-width: 0; }
.org-children > li::before, .org-children > li::after { content: ""; position: absolute; top: 0; width: 50%; height: 24px; border-top: 2px solid var(--line); }
.org-children > li::before { right: 50%; }
.org-children > li::after { left: 50%; border-left: 2px solid var(--line); }
.org-children > li:first-child::before, .org-children > li:last-child::after { border: 0; }
.org-children > li:last-child::before { border-right: 2px solid var(--line); }
.org-members { list-style: none; margin: 0 0 0 14px; padding: 6px 0 0 14px; border-left: 2px solid var(--line); display: grid; gap: 8px; }
.org-members li { position: relative; }
.org-members li::before { content: ""; position: absolute; left: -14px; top: 50%; width: 12px; border-top: 2px solid var(--line); }
.org-members .node { border-width: 1px; }
@media (max-width: 760px) {
  .org-top { text-align: left; padding-bottom: 0; }
  .org-top::after { display: none; }
  .org-children { display: block; margin-left: 20px; border-left: 2px solid var(--line); padding-top: 4px; }
  .org-children > li { padding: 14px 0 0 20px; }
  .org-children > li::before { right: auto; left: 0; top: 34px; width: 18px; height: 0; border: 0; border-top: 2px solid var(--line); }
  .org-children > li::after { display: none; }
  .org-children > li:first-child::before { border-top: 2px solid var(--line); }
  .org-children > li:last-child::before { border-right: 0; }
  .node.dept { display: inline-block; min-width: 160px; }
}

/* ---------- 事業 ---------- */
.biz { border: 1px solid var(--line); margin-bottom: 18px; }
.biz-head { display: flex; gap: 8px 14px; align-items: baseline; justify-content: space-between; flex-wrap: wrap; padding: 12px 18px; background: var(--navy); color: #fff; }
.biz-head h3 { margin: 0; font-family: "Zen Old Mincho", serif; font-weight: 900; font-size: 1.3125rem; }
.biz-head span { font-size: .8125rem; color: #C8D1E6; }
.biz-body { display: grid; grid-template-columns: 1.5fr 1fr; gap: 18px 24px; padding: 18px; }
.biz-body p { margin: 0; }
.kpi { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: .875rem; align-content: start; border-left: 3px solid var(--navy-soft); padding-left: 16px; }
.kpi dt { color: var(--sub); }
.kpi dd { margin: 0; font-weight: 700; }
@media (max-width: 680px) { .biz-body { grid-template-columns: 1fr; } }
.flow { list-style: none; margin: 0; padding: 0; counter-reset: fl; display: grid; gap: 12px; }
.flow li { counter-increment: fl; display: grid; grid-template-columns: 2.2em 1fr; gap: 14px; align-items: start; padding: 14px 16px; border: 1px solid var(--line); position: relative; }
.flow li::before { content: counter(fl); width: 2.2em; height: 2.2em; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; }
.flow li:not(:last-child)::after { content: ""; position: absolute; left: calc(16px + 1.1em - 1px); bottom: -13px; width: 2px; height: 12px; background: var(--navy); }
.flow b { display: block; }
.flow span { color: var(--sub); font-size: .9375rem; }

/* ---------- 構成員 ---------- */
.anchors { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; padding: 0; list-style: none; }
.anchors a { display: block; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: .875rem; font-weight: 700; }
.anchors a:hover { border-color: var(--navy); background: var(--navy-soft); }
.avatar {
  width: 112px; height: 112px; border-radius: 50%; flex: none;
  background: var(--navy-soft); border: 2px solid var(--navy); color: var(--navy);
  display: grid; place-items: center; font-family: "Zen Old Mincho", serif; font-weight: 900; font-size: 2.75rem; line-height: 1;
}
.avatar.sm { width: 56px; height: 56px; font-size: 1.5rem; border-width: 2px; }
.avatar.boss { background: var(--navy); color: #fff; }
.profile { display: grid; grid-template-columns: 112px 1fr; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 84px; }
.profile:first-of-type { border-top: 1px solid var(--line); }
.profile-role { margin: 0; color: var(--red); font-weight: 700; font-size: .875rem; }
.profile h3 { margin: 0 0 10px; font-family: "Zen Old Mincho", serif; font-weight: 900; font-size: 1.5rem; line-height: 1.4; }
.profile dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; }
.profile dt { color: var(--sub); font-size: .875rem; padding-top: 2px; }
.profile dd { margin: 0; }
.boss-comment { margin: 14px 0 0; padding: 10px 14px; background: var(--tint); border-left: 4px solid var(--red); font-size: .9375rem; }
.boss-comment b { color: var(--red); margin-right: 6px; }
@media (max-width: 560px) {
  .profile { grid-template-columns: 64px 1fr; gap: 14px; }
  .profile .avatar { width: 64px; height: 64px; font-size: 1.625rem; }
  .profile h3 { font-size: 1.25rem; }
}

/* ---------- 先輩メッセージ ---------- */
.interview { border: 1px solid var(--line); margin-bottom: 22px; scroll-margin-top: 84px; }
.iv-head { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; padding: 18px; background: var(--navy-soft); border-bottom: 1px solid var(--line); }
.iv-catch { margin: 0; font-family: "Zen Old Mincho", serif; font-weight: 900; font-size: 1.375rem; line-height: 1.5; }
.iv-who { margin: 4px 0 0; font-size: .875rem; color: var(--sub); }
.iv-who b { color: var(--ink); }
.iv-body { padding: 6px 18px 18px; }
.iv-body dt { margin-top: 16px; font-weight: 700; color: var(--navy); }
.iv-body dt::before { content: "Q. "; font-family: "Zen Old Mincho", serif; font-weight: 900; }
.iv-body dd { margin: 4px 0 0; }
.talk { border: 1px solid var(--line); padding: 8px 18px 18px; }
.talk-members { display: flex; flex-wrap: wrap; gap: 14px; margin: 12px 0 8px; padding: 0; list-style: none; }
.talk-members li { display: flex; align-items: center; gap: 8px; font-size: .875rem; font-weight: 700; }
.line { display: grid; grid-template-columns: 56px 1fr; gap: 12px; margin-top: 14px; align-items: start; }
.line .who { display: block; font-size: .75rem; color: var(--sub); font-weight: 700; margin-bottom: 2px; }
.line .say { background: var(--tint); border: 1px solid var(--line); border-radius: 0 10px 10px 10px; padding: 10px 14px; }
.line.mc .avatar { background: var(--paper); border-color: var(--line); color: var(--sub); font-size: .9375rem; }
.line.mc .say { background: var(--paper); }

/* ---------- SDGs ---------- */
.goals { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.goal { border: 1px solid var(--line); display: flex; flex-direction: column; }
.goal-head { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.goal-no { width: 44px; height: 44px; border-radius: 4px; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 1.125rem; font-variant-numeric: tabular-nums; }
.goal-head h3 { margin: 0; font-weight: 700; font-size: 1.0625rem; line-height: 1.5; }
.goal p { margin: 0; padding: 12px 16px 6px; font-size: .9375rem; }
.goal-progress { margin-top: auto; padding: 8px 16px 16px; }
.goal-progress .label { display: flex; justify-content: space-between; font-size: .8125rem; color: var(--sub); }
.goal-progress .label b { color: var(--ink); font-variant-numeric: tabular-nums; }
.bar { height: 8px; background: var(--grid); border-radius: 4px; overflow: hidden; margin-top: 4px; }
.bar span { display: block; height: 100%; background: var(--navy); border-radius: 0 4px 4px 0; }

/* ---------- 福利厚生 ---------- */
.perks { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 12px; }
.perk { border: 1px solid var(--line); padding: 16px; }
.perk h3 { margin: 0 0 6px; font-size: 1.0625rem; font-weight: 700; color: var(--navy); }
.perk p { margin: 0; font-size: .9375rem; }
.perk .fine { margin-top: 8px; font-size: .8125rem; color: var(--sub); }
.systems details { border: 1px solid var(--line); margin-bottom: 10px; }
.systems summary { cursor: pointer; padding: 14px 44px 14px 16px; font-weight: 700; list-style: none; position: relative; }
.systems summary::-webkit-details-marker { display: none; }
.systems summary::after { content: "＋"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--navy); }
.systems details[open] summary::after { content: "－"; }
.systems details[open] summary { border-bottom: 1px dotted var(--line); }
.systems .sys-body { padding: 4px 16px 14px; }
.systems .sys-body dl { margin: 10px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; font-size: .9375rem; }
.systems .sys-body dt { color: var(--sub); }
.systems .sys-body dd { margin: 0; }

/* ---------- IR ---------- */
.chart { border: 1px solid var(--line); padding: 16px 16px 12px; }
.chart-title { margin: 0; font-weight: 700; }
.chart-sub { margin: 0 0 12px; font-size: .8125rem; color: var(--sub); }
.chart-area { position: relative; height: 220px; margin: 0 0 0 36px; border-bottom: 1px solid var(--sub); display: flex; align-items: flex-end; gap: 4%; padding: 0 4%; }
.chart-grid { position: absolute; inset: 0; pointer-events: none; }
.chart-grid div { position: absolute; left: 0; right: 0; border-top: 1px solid var(--grid); }
.chart-grid span { position: absolute; left: -36px; width: 30px; text-align: right; transform: translateY(-50%); font-size: .75rem; color: var(--sub); font-variant-numeric: tabular-nums; }
.cbar { position: relative; flex: 1 1 0; height: 100%; display: flex; align-items: flex-end; cursor: default; }
.cbar i { display: block; width: 100%; background: var(--navy); border-radius: 4px 4px 0 0; }
.cbar:hover i, .cbar:focus i { background: #2F4A8C; }
.cbar .val { position: absolute; left: 50%; transform: translateX(-50%); font-size: .8125rem; font-weight: 700; color: var(--ink); white-space: nowrap; }
.cbar .tip {
  position: absolute; left: 50%; bottom: calc(100% + 6px); transform: translateX(-50%); white-space: nowrap;
  background: var(--ink); color: #fff; font-size: .75rem; padding: 4px 8px; border-radius: 3px; display: none; z-index: 2;
}
.cbar:hover .tip, .cbar:focus .tip { display: block; }
.chart-x { display: flex; gap: 4%; padding: 6px 4% 0; margin-left: 36px; }
.chart-x span { flex: 1 1 0; text-align: center; font-size: .8125rem; color: var(--sub); }
.dl-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.dl-list li { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 12px 4px; border-bottom: 1px solid var(--line); }
.dl-list .meta { display: block; font-size: .8125rem; color: var(--sub); }
.pending { font-size: .8125rem; font-weight: 700; color: var(--sub); border: 1px solid var(--line); border-radius: 3px; padding: 2px 10px; white-space: nowrap; }

/* ---------- 幹事抽選 ---------- */
.lottery { border: 2px solid var(--navy); }
.lottery-head { background: var(--navy); color: #fff; padding: 10px 16px; font-weight: 700; }
.lottery-body { padding: 20px 16px 22px; }
.lot-label { margin: 0 0 8px; font-weight: 700; }
.lot-label small { font-weight: 400; color: var(--sub); margin-left: 6px; }
.lot-center { text-align: center; padding-top: 6px; }
.lot-stage { position: relative; display: inline-grid; place-items: center; width: min(100%, 420px); min-height: 120px; padding: 12px 20px; border: 1px dashed var(--line); background: var(--tint); }
.lot-name { font-family: "Zen Old Mincho", serif; font-weight: 900; font-size: clamp(1.375rem, 5.5vw, 2rem); line-height: 1.35; }
.lot-name.idle { color: var(--line); }
.lot-stage .stamp { position: absolute; right: -14px; bottom: -22px; width: 76px; height: 76px; font-size: 1.25rem; background: rgba(255,255,255,.6); }
.lot-result { min-height: 1.8em; margin: 20px 0 16px; font-weight: 700; }
.lot-log { list-style: none; margin: 0; padding: 0; border-top: 1px dotted var(--line); }
.lot-log li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 2px; border-bottom: 1px dotted var(--line); font-size: .9375rem; }
.lot-log li span:first-child { color: var(--sub); }

/* ---------- よくあるご質問 ---------- */
.faq details { border: 1px solid var(--line); margin-bottom: 10px; background: var(--paper); }
.faq summary { cursor: pointer; padding: 14px 44px 14px 16px; font-weight: 700; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "＋"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--navy); }
.faq details[open] summary::after { content: "－"; }
.faq details[open] summary { border-bottom: 1px dotted var(--line); }
.faq .q, .faq .a { font-family: "Zen Old Mincho", serif; font-weight: 900; margin-right: 6px; }
.faq .q { color: var(--navy); }
.faq .a { color: var(--red); }
.faq .ans { padding: 14px 16px; margin: 0; }

/* ---------- 採用 ---------- */
.req th { width: 8em; white-space: nowrap; }
.jobs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 16px; }
.job { border: 1px solid var(--line); display: flex; flex-direction: column; }
.job-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 10px 14px; background: var(--navy-soft); border-bottom: 1px solid var(--line); }
.job-title { margin: 0; font-family: "Zen Old Mincho", serif; font-weight: 900; font-size: 1.1875rem; line-height: 1.4; }
.job-count { font-size: .8125rem; color: var(--sub); white-space: nowrap; }
.job-desc { margin: 0; padding: 12px 14px 6px; }
.job dl { margin: 0; padding: 4px 14px 14px; display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; font-size: .875rem; }
.job dt { color: var(--sub); }
.job dd { margin: 0; }
.job .btn-line { margin: auto 14px 14px; }
.lead-note { margin: -8px 0 18px; font-size: .875rem; color: var(--sub); }
.apply { border: 2px solid var(--navy); scroll-margin-top: 84px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--navy-soft); border-bottom: 1px solid var(--line); counter-reset: st; }
.steps li { counter-increment: st; padding: 10px 4px; text-align: center; font-size: .8125rem; font-weight: 700; color: var(--sub); line-height: 1.4; }
.steps li::before { content: counter(st); display: block; margin: 0 auto 4px; width: 1.9em; height: 1.9em; line-height: 1.8em; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); }
.steps li.now { color: var(--navy); }
.steps li.now::before { background: var(--navy); color: #fff; border-color: var(--navy); }
.steps li.done::before { content: "✓"; color: var(--navy); border-color: var(--navy); }
.apply-body { padding: 22px 16px 24px; }
.apply-body h3 { margin: 0 0 4px; font-family: "Zen Old Mincho", serif; font-weight: 900; font-size: 1.3125rem; line-height: 1.4; }
.apply-body h3:focus { outline: none; }
.apply-sub { margin: 0 0 16px; color: var(--sub); font-size: .875rem; }
.q-text { margin: 0 0 14px; font-weight: 700; font-size: 1.0625rem; }
.choices { display: grid; gap: 10px; }
.choice { font: inherit; text-align: left; cursor: pointer; line-height: 1.6; background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 4px; padding: 14px 16px 14px 46px; position: relative; }
.choice::before { content: ""; position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; border: 2px solid var(--line); background: var(--paper); }
.choice:hover { border-color: var(--navy); background: var(--navy-soft); }
.choice[aria-pressed="true"] { border-color: var(--navy); }
.choice[aria-pressed="true"]::before { border-color: var(--navy); box-shadow: inset 0 0 0 3px var(--paper); background: var(--navy); }
.back { display: inline-block; margin-top: 16px; font: inherit; font-size: .875rem; background: none; border: 0; color: var(--navy); text-decoration: underline; cursor: pointer; padding: 4px 0; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.actions.center { justify-content: center; }
.confirm { width: 100%; border-collapse: collapse; font-size: .9375rem; margin-bottom: 14px; }
.confirm th, .confirm td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; vertical-align: top; }
.confirm th { background: var(--navy-soft); font-weight: 700; width: 50%; }
.screening { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px dotted var(--line); }
.screening li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 2px; border-bottom: 1px dotted var(--line); }
.screening .st { font-weight: 700; color: var(--navy); text-align: right; }
.screening .st.wait { color: var(--sub); font-weight: 400; }
.verdict { text-align: center; }
.verdict .stamp.big { margin: 14px auto 18px; width: 128px; height: 128px; font-size: 2.375rem; }
.verdict-text { margin: 0 auto; max-width: 30em; font-weight: 700; font-size: 1.0625rem; }
.findings { max-width: 460px; margin: 22px auto; padding: 14px 18px; background: var(--tint); border: 1px solid var(--line); text-align: left; }
.findings-ttl { margin: 0 0 4px; font-weight: 700; color: var(--navy); }
.findings ul { margin: 0; padding-left: 1.2em; }

/* ---------- 構成員証・認定証 ---------- */
.idcard { position: relative; max-width: 460px; margin: 0 auto 14px; border: 2px solid var(--navy); border-radius: 10px; overflow: hidden; background: var(--paper); text-align: left; }
.idcard-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; background: var(--navy); color: #fff; padding: 8px 14px; }
.idcard-head .mincho { font-weight: 900; font-size: 1.125rem; }
.idcard-head .no { font-size: .8125rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.idcard-body { display: grid; grid-template-columns: 56px 1fr; gap: 14px; padding: 16px 14px 24px; }
.idcard-body .emblem { width: 56px; height: 56px; }
.idcard dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 3px 12px; font-size: .9375rem; padding-right: 56px; }
.idcard dt { color: var(--sub); white-space: nowrap; }
.idcard dd { margin: 0; font-weight: 700; }
.idcard .anon { font-family: "Zen Old Mincho", serif; font-weight: 900; font-size: 1.125rem; line-height: 1.4; }
@media (max-width: 480px) {
  .idcard-body { grid-template-columns: 1fr; padding-bottom: 20px; }
  .idcard-body .emblem { display: none; }
  .idcard dl { padding-right: 0; }
}
.idcard .seal { position: absolute; right: 14px; bottom: 14px; width: 62px; height: 62px; font-size: 1.0625rem; border-width: 3px; box-shadow: inset 0 0 0 2px var(--paper), inset 0 0 0 3.5px var(--red); opacity: .85; }

/* ---------- 難読地名クイズ ---------- */
.levels { display: grid; gap: 10px; }
.level-btn {
  font: inherit; text-align: left; cursor: pointer; width: 100%;
  display: grid; grid-template-columns: auto 1fr auto; gap: 4px 16px; align-items: center;
  background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-left: 6px solid var(--navy);
  border-radius: 0 4px 4px 0; padding: 14px 16px;
}
.level-btn:hover { background: var(--navy-soft); }
.lv-stars { color: var(--red); letter-spacing: .1em; font-size: 1rem; white-space: nowrap; }
.lv-name { font-family: "Zen Old Mincho", serif; font-weight: 900; font-size: 1.25rem; line-height: 1.4; }
.lv-name small { font-family: "BIZ UDPGothic", sans-serif; font-weight: 400; font-size: .8125rem; color: var(--sub); margin-left: 10px; }
.lv-best { font-size: .8125rem; color: var(--sub); text-align: right; white-space: nowrap; }
.lv-best b { color: var(--ink); }
@media (max-width: 560px) {
  .level-btn { grid-template-columns: 1fr auto; }
  .lv-stars { grid-column: 1 / -1; }
  .lv-name small { display: block; margin-left: 0; }
}
.quiz-box { border: 2px solid var(--navy); scroll-margin-top: 84px; }
.quiz-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--navy); color: #fff; padding: 10px 16px; font-weight: 700; font-size: .9375rem; }
.quiz-bar .score-now { font-variant-numeric: tabular-nums; }
.progress { height: 6px; background: var(--navy-soft); }
.progress span { display: block; height: 100%; background: var(--red); transition: width .3s; }
.quiz-body { padding: 28px 16px 24px; }
.q-place { text-align: center; margin: 0; }
.q-kanji { display: block; font-family: "Zen Old Mincho", serif; font-weight: 900; font-size: clamp(2.75rem, 14vw, 5.5rem); line-height: 1.15; letter-spacing: .06em; }
.q-where { display: block; margin-top: 10px; font-size: .875rem; color: var(--sub); }
.q-ask { text-align: center; margin: 10px 0 20px; font-weight: 700; }
.q-ask:focus { outline: none; }
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 560px; margin: 0 auto; }
@media (max-width: 420px) { .opts { grid-template-columns: 1fr; } }
.opt { font: inherit; font-size: 1.0625rem; font-weight: 700; cursor: pointer; padding: 14px 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 4px; color: var(--ink); line-height: 1.5; }
.opt:hover:not(:disabled) { border-color: var(--navy); background: var(--navy-soft); }
.opt:disabled { cursor: default; color: var(--sub); }
.opt.correct, .opt.correct:disabled { background: var(--navy); border-color: var(--navy); color: #fff; }
.opt.wrong, .opt.wrong:disabled { background: var(--red-soft); border-color: var(--red); color: var(--red); }
.judge { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 22px 0 4px; min-height: 64px; text-align: left; }
.mark { font-family: "Zen Old Mincho", serif; font-weight: 900; font-size: 3.25rem; line-height: 1; }
.mark.ok { color: var(--navy); }
.mark.ng { color: var(--red); }
.judge-text { font-weight: 700; }
.judge-text small { display: block; font-weight: 400; color: var(--sub); }
.quiz-next { text-align: center; margin-top: 14px; }
.result-score { text-align: center; margin: 4px 0 0; }
.result-score .big { font-family: "Zen Old Mincho", serif; font-weight: 900; font-size: 3.5rem; line-height: 1.1; color: var(--navy); font-variant-numeric: tabular-nums; }
.result-score .of { font-size: 1.25rem; font-weight: 700; margin-left: 4px; }
.result-rank { text-align: center; margin: 6px 0 18px; font-weight: 700; }
.result-rank .mincho { font-size: 1.5rem; font-weight: 900; color: var(--red); margin: 0 4px; }
.new-best { display: inline-block; margin-left: 8px; background: var(--marker); font-size: .75rem; padding: 0 8px; border-radius: 2px; vertical-align: middle; }
.review { width: 100%; border-collapse: collapse; font-size: .9375rem; margin: 18px 0; }
.review th, .review td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; vertical-align: top; }
.review thead th { font-size: .8125rem; color: var(--sub); font-weight: 700; border-bottom: 2px solid var(--navy); }
.review .k { font-family: "Zen Old Mincho", serif; font-weight: 900; font-size: 1.125rem; white-space: nowrap; }
.review .w { display: block; font-size: .75rem; color: var(--sub); }
.review .ox { font-family: "Zen Old Mincho", serif; font-weight: 900; font-size: 1.25rem; text-align: center; width: 2.5em; }
.review .ox.ok { color: var(--navy); }
.review .ox.ng { color: var(--red); }
.review .yours { font-size: .8125rem; color: var(--red); display: block; }

/* ---------- 組長の旅コラム ---------- */
.col-intro { display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: start; padding: 20px; border: 1px solid var(--line); background: var(--tint); }
.col-intro p { margin: 0 0 8px; }
.col-intro .sig { margin: 0; text-align: right; font-family: "Zen Old Mincho", serif; font-weight: 900; }
@media (max-width: 560px) { .col-intro { grid-template-columns: 1fr; } .col-intro .portrait { max-width: 120px; } }
.col-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.col-card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); border: 1px solid var(--line); background: var(--paper); }
.col-card:hover .col-title { text-decoration: underline; }
.eyecatch { position: relative; aspect-ratio: 16 / 9; background: var(--navy); color: #fff; display: grid; place-items: center; overflow: hidden; }
.eyecatch::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(255,255,255,.28); pointer-events: none; }
.ec-char { font-family: "Zen Old Mincho", serif; font-weight: 900; font-size: 4.5rem; line-height: 1; }
.ec-no { position: absolute; left: 18px; top: 14px; font-size: .75rem; font-weight: 700; color: #C8D1E6; }
.ec-area { position: absolute; right: 18px; bottom: 14px; font-size: .75rem; color: #C8D1E6; }
.col-card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.col-meta { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: .8125rem; color: var(--sub); margin: 0; }
.tag-cat { border: 1px solid var(--navy); color: var(--navy); line-height: 1.65; }
.col-title { margin: 0; font-family: "Zen Old Mincho", serif; font-weight: 900; font-size: 1.1875rem; line-height: 1.5; color: var(--navy); }
.col-lead { margin: 0; font-size: .875rem; color: var(--sub); }

.article { max-width: 760px; padding-top: 32px; }
.article .eyecatch { aspect-ratio: 21 / 9; }
.article .ec-char { font-size: clamp(4rem, 14vw, 6.5rem); }
.article-meta { margin: 16px 0 0; }
.article-lead { margin: 14px 0 18px; font-size: 1.0625rem; font-weight: 700; line-height: 1.8; }
.byline { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .875rem; color: var(--sub); }
.byline b { display: block; font-size: .9375rem; color: var(--ink); }
.article-body h2 { margin: 36px 0 10px; font-size: 1.25rem; font-weight: 700; line-height: 1.5; padding-left: 12px; border-left: 4px solid var(--red); }
.article-body p { margin: 0 0 1em; }
.word { margin: 36px 0 0; padding: 20px 22px; background: var(--navy); color: #fff; }
.word-label { margin: 0 0 6px; font-size: .8125rem; color: #C8D1E6; font-weight: 700; }
.word blockquote { margin: 0; font-family: "Zen Old Mincho", serif; font-weight: 900; font-size: 1.375rem; line-height: 1.6; }
.article .h2-sm { margin: 36px 0 12px; font-size: 1.125rem; font-weight: 700; padding-bottom: 6px; border-bottom: 2px solid var(--navy); }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 36px; }
.pager a { display: block; border: 1px solid var(--line); padding: 12px 14px; text-decoration: none; color: var(--ink); }
.pager a:hover { background: var(--navy-soft); }
.pager .dir { display: block; font-size: .75rem; color: var(--sub); font-weight: 700; }
.pager .t { display: block; font-weight: 700; line-height: 1.5; color: var(--navy); }
.pager .next { grid-column: 2; text-align: right; }
@media (max-width: 560px) { .pager { grid-template-columns: 1fr; } .pager .next { grid-column: auto; } }

/* ---------- サイトマップ・規程 ---------- */
.sitemap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 24px 32px; }
.sitemap h2 { margin: 0 0 8px; font-size: 1.0625rem; padding-bottom: 6px; border-bottom: 2px solid var(--navy); }
.sitemap ul { list-style: none; margin: 0; padding: 0; }
.sitemap li a { display: block; padding: 6px 0 6px 16px; position: relative; text-decoration: none; }
.sitemap li a::before { content: ""; position: absolute; left: 2px; top: 50%; width: 6px; height: 6px; border-right: 2px solid var(--navy); border-top: 2px solid var(--navy); transform: translateY(-50%) rotate(45deg); }
.sitemap li a:hover { text-decoration: underline; }
.prose { max-width: 46em; }
.prose h2 { margin: 40px 0 12px; font-size: 1.25rem; font-weight: 700; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { margin: 0 0 10px; }
.prose ol, .prose ul { padding-left: 1.4em; margin: 0 0 10px; }
.signature { text-align: right; margin-top: 32px; }

/* ---------- 404 ---------- */
.nf { text-align: center; padding: 56px 0 24px; }
.nf .code { font-family: "Zen Old Mincho", serif; font-weight: 900; font-size: clamp(4rem, 20vw, 8rem); line-height: 1; color: var(--navy); margin: 0; }
.nf p { margin: 12px 0; }

/* ---------- フッター ---------- */
.site-footer { margin-top: 64px; background: var(--navy); color: #fff; font-size: .875rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .wrap { padding-top: 36px; padding-bottom: 24px; }
.foot-grid { display: grid; grid-template-columns: 280px 1fr; gap: 28px 40px; }
@media (max-width: 899px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-title { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 1.25rem; }
.foot-title .emblem circle:first-child { fill: #fff; }
.foot-title .emblem circle:not(:first-child) { stroke: #1E2F5C; }
.foot-title .emblem text { fill: #1E2F5C; }
.foot-brand dl { margin: 14px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; }
.foot-brand dt { opacity: .75; }
.foot-brand dd { margin: 0; }
.foot-nav { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 20px 24px; }
.foot-head { display: block; font-weight: 700; padding-bottom: 6px; margin-bottom: 6px; border-bottom: 1px solid rgba(255,255,255,.25); }
.foot-col ul { list-style: none; margin: 0; padding: 0; }
.foot-col li a { display: block; padding: 3px 0; opacity: .85; font-size: .8125rem; }
.foot-bottom { margin-top: 32px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.25); }
.foot-extra { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: .8125rem; }
.copy { margin: 0; opacity: .7; font-size: .75rem; }
