/* 下層ページ（会社概要・決算公告）。公式な情報なので歪みは入れず、平らに組む。色と書体はトップと同じ */
:root {
  --bg: #E6E6E6;
  --ink: #000F00;
  --ash: #7A857D;
  --jp: "游ゴシック体", YuGothic, "Yu Gothic Medium", "游ゴシック Medium", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  --en: "Josefin Sans", "游ゴシック体", YuGothic, "Yu Gothic Medium", "Yu Gothic", sans-serif;
  --pad: clamp(16px, 2.2vw, 32px);
  --rule: 1px solid var(--ink);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--jp); font-weight: 500; font-size: 14px; line-height: 1.8; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
h1, h2, h3, p, dl, dd { margin: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px var(--pad); border-bottom: var(--rule); font-family: var(--en); font-size: 12px; font-weight: 600; letter-spacing: .04em; }
.top img { width: 36px; height: auto; display: block; }
.top nav { display: flex; gap: 18px; }
.top nav a { text-decoration: none; }
.top nav a:hover, .top nav a[aria-current="page"] { border-bottom: 1px solid currentColor; }

main { max-width: 880px; margin: 0 auto; padding: clamp(40px, 7vw, 96px) var(--pad) 96px; }
.page-title { font-family: var(--jp); font-weight: 700; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.4; margin-bottom: 40px; }

/* 会社概要の表 */
.facts > div { display: grid; grid-template-columns: 11em 1fr; gap: 16px; padding: 14px 0; border-top: var(--rule); }
.facts > div:last-child { border-bottom: var(--rule); }
.facts dt { font-weight: 700; }
.facts small { display: block; font-size: 12px; }

/* 決算公告 */
.notice { padding: 32px 0 48px; border-top: var(--rule); }
.notice + .notice { margin-top: 24px; }
.notice h2 { font-size: 18px; font-weight: 700; margin-bottom: 16px; }
.notice__head { margin-bottom: 24px; }
.notice__head p { margin: 0; }
.bs { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 13px; }
.bs caption { text-align: left; font-weight: 700; padding-bottom: 8px; }
.bs th, .bs td { padding: 6px 8px; border-bottom: 1px solid color-mix(in srgb, var(--ink) 25%, transparent); vertical-align: top; }
.bs th { text-align: left; font-weight: 500; }
.bs td { text-align: right; white-space: nowrap; }
.bs .grp th { font-weight: 700; }
.bs .sub th { padding-left: 1.5em; }
.bs .sub2 th { padding-left: 3em; }
.bs .sum th, .bs .sum td { font-weight: 700; border-bottom: var(--rule); }
.bs-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.note { margin-top: 20px; font-size: 12px; }

/* 未確定の項目：本人の確認が要る。deploy.sh の公開前の検査が data-pending を見て止める */
.pending { background: #fff3a8; padding: 0 4px; }

.foot { padding: 24px var(--pad); border-top: var(--rule); font-family: var(--en); font-size: 12px; font-weight: 600; letter-spacing: .04em; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot a { text-decoration: none; }

@media (max-width: 720px) {
  .facts > div { grid-template-columns: 1fr; gap: 2px; }
  .bs-wrap { grid-template-columns: 1fr; }
}
