@charset "utf-8";
/*
 * TUTURIGACHI 2026 / 総務部
 * Copyright (C) 2026 Tuturigachi Language Solutions Corp. All Rights Reserved.
 * daicho.css  資料台帳・続紙・発見者控え
 */

.dc { --hk-green: #30752a; --hk-green-hi: #3a8433; --hk-cream: #f2eebc; --hk-cream-hi: #f7f4d4; --dc-shu: #c8322a; }

/* ---- 注記・結び ---- */
.dc-note { margin: 4px 0 18px; padding-left: 1em; text-indent: -1em; font-size: 11px; line-height: 1.8; color: var(--sumi-sub, #54595a); }
.dc-foot { margin: 26px 0 0; padding: 10px 0 0; font-size: 12px; line-height: 1.8; border-top: 1px dotted var(--jimu-gray-500, #7b8283); }
.dc-foot p { margin: 0 0 6px; }
.dc-foot .t-links { display: flex; flex-wrap: wrap; gap: 0 22px; }
.dc-empty { margin: 18px 0; padding: 18px 16px; font-size: 13px; text-align: center; color: var(--sumi-sub, #54595a); background: var(--shironezumi-50, #f4f7f8); border: 1px solid var(--jimu-gray-300, #d3d8d9); }

.dc-table { width: 100%; margin: 0 0 6px; border-collapse: collapse; font-size: 12px; line-height: 1.55; }
.dc-table th, .dc-table td { padding: 7px 10px; border: 1px solid var(--jimu-gray-300, #d3d8d9); text-align: left; vertical-align: middle; }
.dc-table thead th { padding-top: 5px; padding-bottom: 5px; font-weight: normal; font-size: 11px; letter-spacing: .06em; white-space: nowrap; color: var(--fukagawa-teal-800, #1f4a56); background: var(--shironezumi-50, #f4f7f8); }
.dc-table tbody th { font-weight: normal; color: var(--fukagawa-teal-800, #1f4a56); background: var(--shironezumi-50, #f4f7f8); }
.dc-table .is-num { text-align: right; white-space: nowrap; }
.dc-table .is-c { text-align: center; }
.dc-table time, .dc-date { white-space: nowrap; }
.dc-tag { white-space: nowrap; }
.dc-found { table-layout: fixed; }
.dc-found th:nth-child(1) { width: 42%; }
.dc-found th:nth-child(3) { width: 18%; }
.dc--tsugi .dc-table { table-layout: fixed; }
.dc--tsugi .dc-table th:nth-child(1) { width: 16px; }
.dc--tsugi .dc-table th:nth-child(2) { width: 60px; }
.dc--tsugi .dc-table th:nth-child(4) { width: 108px; }
.dc--tsugi .dc-table th:nth-child(5) { width: 88px; }
.dc--tsugi .dc-table th:nth-child(6) { width: 96px; }
.dc--finders .dc-table th:nth-child(2) { width: 60px; }

.dc-places { width: auto; min-width: 320px; }
.dc-places tbody th { width: 160px; }
.dc-places td { width: 150px; }
.dc-places tfoot th, .dc-places tfoot td { border-top: 3px double var(--sumi, #2b2f30); font-weight: bold; background: #fff; color: var(--sumi, #2b2f30); }
.dc-count b { margin: 0 .2em; font: bold 15px/1 var(--font-agency-heading, serif); color: var(--sumi, #2b2f30); }

.dc-code { font: 13px/1.4 var(--font-agency-heading, serif); letter-spacing: .04em; white-space: nowrap; }
.dc-code--plain { color: var(--sumi, #2b2f30); }
.dc-first img { width: 18px; height: auto; margin-right: 5px; vertical-align: -3px; }

.dc-sheet { position: relative; box-sizing: border-box; margin: 18px 0 0; padding: 14px 16px 12px; background: #fff; border: 1px solid var(--sumi, #2b2f30); box-shadow: 2px 2px 0 var(--shironezumi, #e9edee); }
.dc-sheet__head { display: flex; align-items: flex-end; gap: 12px; margin: 0 0 8px; padding: 0 0 7px; border-bottom: 1.5px solid var(--sumi, #2b2f30); }
.dc-sheet__title { margin: 0; font: 600 20px/1 var(--font-agency-heading, serif); letter-spacing: .5em; white-space: nowrap; }
.dc-sheet__meta { display: grid; grid-template-columns: auto auto; margin: 0 0 0 auto; font-size: 10.5px; line-height: 1.35; border-top: 1px solid var(--jimu-gray-500, #7b8283); border-left: 1px solid var(--jimu-gray-500, #7b8283); }
.dc-sheet__meta dt, .dc-sheet__meta dd { margin: 0; padding: 2px 7px; border-right: 1px solid var(--jimu-gray-500, #7b8283); border-bottom: 1px solid var(--jimu-gray-500, #7b8283); white-space: nowrap; }
.dc-sheet__meta dt { color: var(--sumi-sub, #54595a); background: var(--shironezumi-50, #f4f7f8); letter-spacing: .08em; }
.dc-sheet__meta dd { font-family: var(--font-agency-heading, serif); font-size: 11.5px; }
.dc-sheet__lead { margin: 0 0 10px; font-size: 11px; line-height: 1.7; color: var(--sumi-sub, #54595a); word-break: keep-all; overflow-wrap: anywhere; }
.dc-sheet .dc-table th, .dc-sheet .dc-table td { border-color: var(--sumi, #2b2f30); }
.dc-sheet .dc-table thead th { color: var(--sumi-sub, #54595a); }
.dc-sheet__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 6px 14px; margin: 12px 0 0; padding: 10px 0 4px; font-size: 11px; border-top: 1px dotted var(--jimu-gray-500, #7b8283); }
.dc-row-frog th, .dc-row-frog td { background: var(--shironezumi-50, #f4f7f8); }
.dc-table td.is-none::before { content: "—"; color: var(--jimu-gray-500, #7b8283); }
.dc-table tr.is-off td { background: var(--shironezumi-50, #f4f7f8); }
.dc-n { width: 34px; font: 13px/1 var(--font-agency-heading, serif); }
.dc-name { font: 13px/1.4 var(--font-agency-heading, serif); overflow-wrap: anywhere; }
.dc-host { font: 11px/1.4 var(--font-agency-en, sans-serif); color: var(--sumi-sub, #54595a); white-space: nowrap; }
.dc-care { display: inline-block; margin-left: 8px; padding: 0 5px; font: 10px/16px var(--font-agency-ja, sans-serif); letter-spacing: .04em; white-space: nowrap; vertical-align: 1px; color: var(--fukagawa-teal-700, #1d5a66); border: 3px double var(--fukagawa-teal-700, #1d5a66); }

.dc a.dc-back, .dc a.dc-back:visited {
  display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 14px; font-size: 11.5px; font-weight: bold; letter-spacing: .04em;
  color: #fff; text-decoration: none; white-space: nowrap; background: var(--hk-green); border-radius: 13px;
}
.dc a.dc-back::before { content: "←"; color: var(--hk-cream); }
.dc a.dc-back:hover { background: var(--hk-green-hi); color: #fff; }
.dc a.dc-back:focus-visible { outline: 2px solid var(--hk-green); outline-offset: 2px; }

.dc-mark { position: relative; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; width: 60px; height: 52px; margin: -4px 0; vertical-align: middle; color: var(--dc-shu); text-decoration: none; -webkit-tap-highlight-color: transparent; }
.dc a.dc-mark, .dc a.dc-mark:visited, .dc a.dc-mark:hover { color: var(--dc-shu); cursor: pointer; }
.dc-mark__name { display: block; padding: 0 3px; font: 11px/1.25 var(--font-agency-heading, serif); word-break: break-all; text-align: center; }
.dc-mark.is-drawn .dc-mark__name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dc-seal { display: block; width: 46px; height: auto; }
.dc-seal.is-oval { width: 56px; }
.dc-seal.is-done { width: 38px; }
.dc-mark--frog img { display: block; width: 34px; height: auto; }
.dc-mark.is-done { cursor: default; }
.dc-mark--small { width: 34px; height: 26px; margin: -4px 6px -4px 0; }
.dc-mark--small .dc-seal.is-done { width: 26px; }
.dc-mark--large { width: 112px; height: 112px; margin: 0; }
.dc-mark--large .dc-seal { width: 104px; }
.dc-mark--large .dc-seal.is-oval { width: 112px; }
.dc-mark--large .dc-mark__name { font-size: 15px; }

@media (hover: hover) {
  .dc a.dc-mark:hover, .dc a.dc-out:hover { background: var(--hk-cream-hi); }
}
.dc a.dc-mark:focus-visible, .dc a.dc-out:focus-visible { outline: 2px solid var(--hk-green); outline-offset: -2px; background: var(--hk-cream-hi); }
.dc a.is-open { background: var(--hk-cream); }

.dc-card { display: flex; align-items: center; gap: 18px; margin: 18px 0 16px; padding: 14px 18px; background: #fff; border: 1px solid var(--sumi, #2b2f30); box-shadow: 2px 2px 0 var(--shironezumi, #e9edee); }
.dc-card__seal { flex: none; display: flex; align-items: center; justify-content: center; width: 120px; height: 120px; border: 1px solid var(--sumi, #2b2f30); }
.dc-card__body { min-width: 0; }
.dc-card__no { margin: 0; font: 13px/1.4 var(--font-agency-heading, serif); letter-spacing: .08em; color: var(--fukagawa-teal-800, #1f4a56); }
.dc-card__name { margin: 4px 0 6px; font: 600 22px/1.35 var(--font-agency-heading, serif); letter-spacing: .04em; overflow-wrap: anywhere; }
.dc-card__first { margin: 0; font-size: 12px; color: var(--sumi-sub, #54595a); }
.dc-card--off { display: block; }
.dc-card--off .dc-card__line { margin: 8px 0 0; font-size: 13px; line-height: 1.8; }

.dc-wrap { position: relative; }
.dc-exit {
  position: absolute; z-index: 30; box-sizing: border-box; width: 420px; max-width: 100%; margin: 0; padding: 10px 14px 12px;
  font-size: 11.5px; line-height: 1.7; color: var(--sumi, #2b2f30); text-align: left;
  background: #fff; border: 1px solid var(--jimu-gray-500, #7b8283); border-top: 2px solid var(--fukagawa-teal-500, #4c7e85);
  box-shadow: 0 10px 22px -14px rgb(0 0 0 / 0.5);
}
.dc-exit[hidden] { display: none; }
.dc-exit::before {
  content: ""; position: absolute; top: -7px; left: var(--dc-notch, 50%); width: 10px; height: 10px; margin-left: -5px;
  background: #fff; border-top: 2px solid var(--fukagawa-teal-500, #4c7e85); border-left: 1px solid var(--fukagawa-teal-500, #4c7e85); transform: rotate(45deg);
}
.dc-exit:focus { outline: none; }
.dc-exit__head { position: relative; margin: 0 0 4px; padding: 0 0 0 12px; font-weight: bold; color: var(--fukagawa-teal-700, #1d5a66); }
.dc-exit__head::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; background: var(--kusumi-gold-600, #a28856); }
.dc-exit__text { margin: 0; word-break: keep-all; overflow-wrap: anywhere; }
.dc-exit__to { margin: 2px 0 0; font-size: 10.5px; color: var(--sumi-sub, #54595a); word-break: break-all; }
.dc-exit__to b { font: normal 11px var(--font-agency-en, sans-serif); color: var(--sumi, #2b2f30); }
.dc-exit__buttons { display: flex; justify-content: flex-end; gap: 8px; margin: 9px 0 0; }
.dc .dc-exit__btn, .dc .dc-exit__btn:visited {
  display: inline-flex; align-items: center; justify-content: center; gap: 5px; height: 28px; margin: 0; padding: 0 16px;
  font: 12px/1 var(--font-agency-ja, sans-serif); color: var(--hk-green); text-decoration: none; white-space: nowrap; cursor: pointer;
  border: 0; border-radius: 14px; background: var(--hk-cream);
}
.dc .dc-exit__btn:hover { background: var(--hk-cream-hi); color: var(--hk-green); }
.dc a.dc-exit__btn--go, .dc a.dc-exit__btn--go:visited { color: #fff; font-weight: bold; letter-spacing: .04em; background: var(--hk-green); }
.dc a.dc-exit__btn--go:hover { color: #fff; background: var(--hk-green-hi); }
.dc-exit__btn--go::after { content: "→"; color: var(--hk-cream); }
.dc-exit__btn:focus-visible { outline: 2px solid var(--hk-green); outline-offset: 2px; }

@media (max-width: 760px) {
  .dc-places { width: 100%; min-width: 0; }
  .dc-places tbody th { width: auto; }
  .dc-places td { width: 46%; }
  .dc-table { font-size: 13px; }
  .dc-code { font-size: 14px; }
  .dc-found th, .dc-found td { padding-left: 8px; padding-right: 8px; }
  .dc-found th:nth-child(1) { width: 36%; }
  .dc-found th:nth-child(3) { width: 12%; }
  .dc-found .dc-code { font-size: 13px; letter-spacing: 0; }
  .dc-first { white-space: nowrap; }
  .dc-first img { width: 16px; margin-right: 3px; }

  .dc-stack, .dc-stack tbody, .dc-stack tr, .dc-stack td, .dc-stack tbody th { display: block; }
  .dc--tsugi .dc-table { table-layout: auto; }
  .dc-stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .dc-stack { border-top: 1px solid var(--jimu-gray-300, #d3d8d9); }
  .dc-stack tr { position: relative; min-height: 64px; padding: 10px 12px 10px 84px; border: 1px solid var(--jimu-gray-300, #d3d8d9); border-top: 0; }
  .dc-stack td, .dc-stack tbody th { padding: 1px 0; border: 0; background: none; text-align: left; }
  .dc-stack [data-label]::before { content: attr(data-label) "："; display: inline-block; min-width: 6.2em; font: 11px/1.6 var(--font-agency-ja, sans-serif); letter-spacing: .04em; color: var(--sumi-sub, #54595a); }
  .dc-stack .dc-c-mark { position: absolute; left: 10px; top: 10px; }
  .dc-stack .dc-c-mark::before { display: none; }
  .dc-stack td:empty:not(.dc-c-mark), .dc-stack td.is-none, .dc-stack td.is-frog { display: none; }
  .dc-stack tr.is-off { min-height: 0; padding-left: 12px; }
  .dc-stack .dc-mark { width: 64px; height: 56px; margin: 0; }
  .dc-stack .dc-mark--small { width: 30px; height: 24px; margin: -3px 6px -3px 0; }
  .dc-stack .dc-n { width: auto; }
  .dc-stack .dc-n::after { content: "番"; }
  .dc-stack .dc-n.is-frog::after { content: none; }
  .dc-stack .dc-name { font-size: 15px; }
  .dc-sheet .dc-stack, .dc-sheet .dc-stack tr { border-color: var(--sumi, #2b2f30); }
  .dc-stack .dc-row-frog { background: var(--shironezumi-50, #f4f7f8); }
  .dc-stack .dc-care { margin-left: 6px; }
  .dc-stack--plain tr { min-height: 0; padding-left: 12px; }

  .dc-sheet { padding: 12px 10px 12px; }
  .dc-sheet__head { flex-wrap: wrap; gap: 6px 10px; }
  .dc-sheet__title { font-size: 18px; }
  .dc-sheet__lead { font-size: 12px; }
  .dc-sheet__foot { font-size: 12.5px; justify-content: space-between; }
  .dc a.dc-back { height: 40px; padding: 0 18px; font-size: 14px; border-radius: 20px; }

  .dc-card { gap: 14px; padding: 12px; }
  .dc-card__seal { width: 96px; height: 96px; }
  .dc-mark--large { width: 92px; height: 92px; }
  .dc-mark--large .dc-seal { width: 84px; }
  .dc-mark--large .dc-seal.is-oval { width: 90px; }
  .dc-card__name { font-size: 20px; }

  .dc-exit { width: 100%; padding: 12px 14px 14px; font-size: 14px; }
  .dc-exit__to { font-size: 12.5px; }
  .dc-exit__to b { font-size: 13px; }
  .dc-exit__buttons { gap: 10px; margin-top: 12px; }
  .dc .dc-exit__btn, .dc a.dc-exit__btn--go { height: 44px; padding: 0 20px; font-size: 15px; border-radius: 22px; }
}


.dc--te .dc-soumu .t-lead { margin-bottom: 0; }
.dc-soumu__last { margin: 0; font-size: 13px; line-height: 1.95; }

.dc-te-line { margin: 8px 0 30px; line-height: 0; }
.dc-te-line img { display: block; max-width: 100%; height: auto; }

.dc-te-sheet { display: table; margin: 0 0 6px; }
.dc-tanto { display: flex; width: max-content; margin: 0 0 8px auto; font-size: 11px; line-height: 1; border: 1px solid var(--jimu-gray-300, #d3d8d9); }
.dc-tanto dt { display: flex; align-items: center; margin: 0; padding: 0 9px; letter-spacing: .12em; color: var(--fukagawa-teal-800, #1f4a56); background: var(--shironezumi-50, #f4f7f8); border-right: 1px solid var(--jimu-gray-300, #d3d8d9); }
.dc-tanto dd { position: relative; display: flex; align-items: center; margin: 0; padding: 0 40px 0 12px; height: 32px; }
.dc-tanto__name { font: 13px/1 var(--font-agency-heading, serif); letter-spacing: .08em; color: var(--sumi, #2b2f30); }
.dc-tanto__hand { position: absolute; right: 8px; top: 50%; margin-top: -10px; }
.dc-te-by { margin: 6px 0 0; font-size: 11px; line-height: 1.6; text-align: right; color: var(--sumi-sub, #54595a); }

.dc--te .dc-count { white-space: nowrap; }
.dc-te-num.is-drawn { margin: 0 .35em; }
.dc-te-num.is-drawn .dc-te-typed { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dc-te-fig { display: inline-flex; align-items: flex-end; gap: 2px; vertical-align: -3px; }
.dc-te-fig img { display: block; }
.dc-te-tally { display: inline-flex; align-items: flex-end; gap: 5px; margin-right: 12px; vertical-align: -3px; }
.dc-te-tally:empty { display: none; }
.dc-te-tally img { display: block; }
.dc--te .dc-places td, .dc--te .dc-places th { padding-top: 8px; padding-bottom: 8px; }

.dc-sheet__meta dd.dc-kihyo { position: relative; padding-right: 32px; }
.dc-kihyo__hand { position: absolute; right: 3px; top: 50%; margin-top: -11px; }

.dc--finders .dc-tanto { margin-top: 4px; }

.dc-te-find { display: inline-block; margin-left: 16px; line-height: 0; vertical-align: middle; }
.dc-te-find img { display: block; }

@media (max-width: 760px) {
  .dc-te-line { margin: 10px 0 26px; }
  .dc-te-sheet { display: block; }
  .dc-te-find { display: block; margin: 6px 0 2px; }
}

.dc--mitsuke .dc-tanto { margin-top: 4px; }
.dc-mk-count { margin: -4px 0 14px; font-size: 12px; line-height: 1.7; color: var(--sumi-sub, #54595a); }
.dc-mk-count a { margin-left: 1em; }
.dc-mk { table-layout: auto; }
.dc-mk .dc-c-mark { width: 64px; }
.dc-mk .dc-code { white-space: nowrap; }
.dc-mk-links { text-align: right; white-space: nowrap; }
.dc-mk-links a { margin-left: 16px; }
.dc-mk-links small { font-size: 10.5px; }
.dc--mitsuke .dc-note { margin-top: 12px; }
@media (max-width: 760px) {
  .dc-mk-links { text-align: left; white-space: normal; }
  .dc-mk-links a { display: inline-block; margin: 4px 16px 0 0; }
  .dc-mk .dc-c-mark { width: auto; }
}

