/* 漫画「閉店後の、仕入れの集計」＋簡易チェック2画面（採用版 adopted-comic-simple-check-20261025 の見た目を、既存サイトのヘッダー・フッターの中へ移したもの） */
.pt {
  --pt-ink: #1d3a2a;
  --pt-ink-sub: #44594c;
  --pt-line: #d3dcd6;
  --pt-accent: #2f6b4a;
  --pt-accent-dark: #24543a;
  --pt-work-bg: #eaf3fb;
  --pt-work-line: #9cc0e0;
  --pt-work-strong: #23577f;
  --pt-owner-line: #c4ccc7;
  --pt-warm: #faf3e7;
  --pt-warm-line: #ecdfc8;
  --pt-notice-bg: #fff4e0;
  --pt-notice-ink: #6e3b00;
  --pt-notice-line: #d9a95e;
  --pt-focus: #1a5fb4;
  display: block;
  color: var(--pt-ink);
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic UI", "Yu Gothic", YuGothic, Meiryo, sans-serif;
  line-height: 1.85;
  letter-spacing: .02em;
  overflow-wrap: anywhere;
  line-break: strict;
}
@media (min-width: 768px) { .pt { font-size: 1.0625rem; } }
.pt:focus { outline: none; }
.pt p { margin: 0 0 1em; }
.pt p:last-child { margin-bottom: 0; }
.pt h1, .pt h2, .pt h3 { font-family: inherit; font-weight: 700; line-height: 1.45; letter-spacing: .04em; margin: 0; text-wrap: balance; }
.pt h1:focus, .pt h2:focus, .pt figure:focus { outline: none; }
.pt :focus-visible { outline: 3px solid var(--pt-focus); outline-offset: 3px; border-radius: 4px; }
.pt h1:focus-visible, .pt figure:focus-visible { outline: 3px solid var(--pt-focus); outline-offset: 4px; }
.pt .pt-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.pt [hidden] { display: none !important; }

.pt-wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.pt-narrow { max-width: 720px; }
@media (min-width: 768px) { .pt-wrap { padding: 0 32px; } }

.pt-steps { list-style: none; margin: 0 auto; padding: 14px 20px 10px; max-width: 720px; display: flex; gap: 4px 18px; flex-wrap: wrap; font-size: .8125rem; color: var(--pt-ink-sub); border-bottom: 1px solid var(--pt-line); }
@media (min-width: 768px) { .pt-steps { padding-left: 32px; padding-right: 32px; } }
.pt-steps li { padding-bottom: 2px; border-bottom: 2px solid transparent; }
.pt-steps li[aria-current="step"] { color: var(--pt-ink); font-weight: 700; border-bottom-color: var(--pt-accent); }
.pt-steps .pt-num { margin-right: .25em; }
.pt .manga-back { margin-bottom: 12px; }

.pt-view { padding: 24px 0 64px; }
.pt-title { font-size: clamp(1.5rem, 1.15rem + 1.6vw, 2.125rem); margin-bottom: 20px; }
.pt-lead { max-width: 40em; }
.pt-hint { font-size: .875rem; color: var(--pt-ink-sub); }
.pt-small { font-size: .8125rem; color: var(--pt-ink-sub); }

.pt-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  width: 100%; max-width: 420px; min-height: 52px; padding: 12px 24px;
  font: inherit; font-weight: 700; line-height: 1.5; text-align: center; text-decoration: none;
  color: #fff; background: var(--pt-accent); border: 2px solid var(--pt-accent); border-radius: 999px;
  cursor: pointer;
}
.pt-btn:hover { background: var(--pt-accent-dark); border-color: var(--pt-accent-dark); }
.pt-btn--ghost { color: var(--pt-accent); background: #fff; }
.pt-btn--ghost:hover { color: #fff; }
.pt-btn--sm { width: auto; min-height: 44px; padding: 8px 18px; font-size: .9375rem; }
.pt-arrow { font-size: 1.1em; }
.pt-actions { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 32px; }
.pt-actions .pt-small { text-align: center; max-width: 30em; }

.pt-cell { border-radius: 8px; padding: 10px 14px; display: block; }
.pt-cell.work { background: var(--pt-work-bg); border: 1px solid var(--pt-work-line); }
.pt-cell.owner { background: #fff; border: 1px solid var(--pt-owner-line); }
.pt-cell-k { display: block; margin: 0 0 2px; font-size: .8125rem; font-weight: 700; }
.pt-cell.work .pt-cell-k { color: var(--pt-work-strong); }
.pt-cell.owner .pt-cell-k { color: var(--pt-ink-sub); }
.pt-cell-v { display: block; margin: 0; white-space: pre-wrap; }
.pt-pair { display: grid; gap: 8px; }
@media (min-width: 600px) { .pt-pair { grid-template-columns: 1fr 1fr; } }

/* comic */
.pt-jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.pt-chip {
  min-height: 44px; min-width: 44px; padding: 0 14px;
  font: inherit; font-size: .875rem; color: var(--pt-ink);
  background: #fff; border: 1px solid var(--pt-owner-line); border-radius: 999px; cursor: pointer;
}
.pt-chip:hover { border-color: var(--pt-accent); }
.pt-load-note {
  margin: 16px 0 0; padding: 10px 14px; font-size: .875rem;
  background: var(--pt-notice-bg); color: var(--pt-notice-ink); border: 1px solid var(--pt-notice-line); border-radius: 8px;
}
.pt-manga { display: flex; flex-direction: column; gap: 28px; margin: 24px -20px 0; }
@media (min-width: 480px) { .pt-manga { margin: 24px auto 0; max-width: 640px; } }
.pt-manga figure { margin: 0; scroll-margin-top: 84px; }
.pt-frame { position: relative; aspect-ratio: 2 / 3; background: #f2f5f3; border: 1px solid var(--pt-line); overflow: hidden; }
.pt-frame--insert { aspect-ratio: 3 / 4; }
@media (min-width: 480px) { .pt-frame { border-radius: 6px; } }
.pt-frame img { display: block; width: 100%; height: auto; }
.pt-frame.is-loaded { aspect-ratio: auto; background: none; border-color: transparent; }
.pt-frame.is-missing {
  aspect-ratio: auto; min-height: 140px; display: flex; align-items: center; justify-content: center;
  background: #f7f8f7; border: 2px dashed var(--pt-owner-line);
}
.pt-frame.is-missing img { display: none; }
.pt-missing { margin: 0; padding: 16px; font-weight: 700; color: var(--pt-ink-sub); text-align: center; }
.pt-manga figcaption {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px;
  margin-top: 6px; padding: 0 20px; font-size: .8125rem; color: var(--pt-ink-sub);
}
@media (min-width: 480px) { .pt-manga figcaption { padding: 0; } }
.pt-manga figcaption a { color: var(--pt-accent); }

.pt-summary-heading { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; scroll-margin-top: 84px; }
.pt-summary-art { margin: 0; }
.pt-summary-art img { display: block; width: 100%; height: auto; }

/* summary */
.pt-summary { background: var(--pt-warm); border-top: 1px solid var(--pt-warm-line); padding: 40px 0 56px; margin-top: 48px; }
.pt-credit { margin-top: 12px; font-size: .8125rem; color: var(--pt-ink-sub); }

.pt-try { margin-top: 36px; background: #fff; border: 2px solid var(--pt-accent); border-radius: 16px; padding: 24px 20px; }
@media (min-width: 600px) { .pt-try { padding: 32px; } }
.pt-try-eyebrow { margin: 0 0 4px; font-size: .875rem; font-weight: 700; color: var(--pt-accent); text-align: center; }
.pt-try h3 { font-size: clamp(1.25rem, 1.1rem + .8vw, 1.5rem); text-align: center; margin-bottom: 16px; }
.pt-sample { border: 1px dashed var(--pt-owner-line); border-radius: 12px; padding: 14px; margin: 0 0 16px; }
.pt-sample-head { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-weight: 700; }
.pt-sample-mark { font-size: .75rem; padding: 0 8px; border-radius: 4px; background: #eef1ef; color: var(--pt-ink-sub); }
.pt-try .pt-actions { margin-top: 20px; }

/* pick */
.pt-picks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
@media (min-width: 900px) { .pt-picks { grid-template-columns: 1fr 1fr; } }
.pt-pick {
  display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 14px; cursor: pointer;
  background: #fff; border: 2px solid var(--pt-line); border-radius: 12px; font-weight: 700;
}
.pt-pick:hover { border-color: var(--pt-work-line); }
.pt-pick:has(input:checked) { border-color: var(--pt-work-strong); background: var(--pt-work-bg); }
.pt-pick:has(input:focus-visible) { outline: 3px solid var(--pt-focus); outline-offset: 3px; }
.pt-pick input { flex: none; width: 24px; height: 24px; margin: 0; accent-color: var(--pt-work-strong); cursor: pointer; }

.pt fieldset { border: 0; margin: 20px 0 0; padding: 0; min-width: 0; }
.pt-count { margin: 12px 0 0; font-size: .9375rem; font-weight: 700; color: var(--pt-work-strong); }
.pt-field { margin-top: 28px; }
.pt-field label { display: block; font-weight: 700; margin-bottom: 4px; }
.pt textarea {
  display: block; width: 100%; min-height: 6em; margin-top: 8px; padding: 12px;
  font: inherit; line-height: 1.7; color: var(--pt-ink); background: #fff;
  border: 2px solid #96a59c; border-radius: 8px; resize: vertical;
}
.pt textarea:focus-visible { outline: 3px solid var(--pt-focus); outline-offset: 2px; }

/* confirm */
.pt-banner {
  margin: 0 0 20px; padding: 12px 16px; font-weight: 700;
  background: var(--pt-notice-bg); color: var(--pt-notice-ink); border: 2px solid var(--pt-notice-line); border-radius: 10px;
}
.pt-sheet { border: 1px solid var(--pt-line); border-radius: 12px; padding: 16px; }
.pt-sheet-k { margin: 0 0 10px; font-weight: 700; }
.pt-sheet-k:not(:first-child) { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--pt-line); }
.pt-res-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pt-res-item h3 { font-size: 1rem; margin-bottom: 6px; }
.pt-sheet-v { margin: 0; white-space: pre-wrap; }
.pt-none { margin: 0; color: var(--pt-ink-sub); }
.pt-notes { margin-top: 20px; font-size: .9375rem; color: var(--pt-ink-sub); }
.pt-notes ul { margin: 0; padding-left: 1.4em; }
