/* ハイパー経理部長のページ共通（/hyper-keiri/）。ゲームの朝の街・木の机・藍と朱に合わせる */
body.hk-page {
  --hk-ink: #183d46;
  --hk-muted: #52656a;
  --hk-paper: #fffefb;
  --hk-canvas: #f3f5f3;
  --hk-line: #d5dfde;
  --hk-teal: #205c63;
  --hk-coral: #c64f36;
  --hk-coral-2: #a53e2b;
  --hk-oak: #ddbd95;
  --hk-oak-2: #b98f62;
  --hk-note: #fff0c2;
  background: var(--hk-canvas);
  color: var(--hk-ink);
}
.hk-page ::selection { background: var(--hk-coral); color: #fff; }
.hk-page main a { color: var(--hk-teal); }
.hk-page .site-header { margin-bottom: -88px; position: relative; z-index: 5; }
.hk-page .site-header .container { background: rgba(255, 254, 251, .86); border-color: var(--hk-line); }

.hk-wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.hk-sec { padding: 88px 0; }
.hk-sec.is-paper { background: var(--hk-paper); border-top: 1px solid var(--hk-line); border-bottom: 1px solid var(--hk-line); }
.hk-sec.is-desk { background: linear-gradient(180deg, var(--hk-oak), #e7cba6); }
.hk-kicker { display: inline-block; margin: 0 0 12px; padding: 4px 12px; border-radius: 6px; background: var(--hk-note); color: #815c11; font-size: 13px; line-height: 20px; font-weight: 700; letter-spacing: .08em; }
.hk-h2 { margin: 0 0 16px; font-size: 34px; line-height: 46px; font-weight: 800; color: var(--hk-ink); text-wrap: balance; }
.hk-lead { margin: 0; max-width: 760px; font-size: 17px; line-height: 30px; color: var(--hk-muted); }
.hk-lead strong { color: var(--hk-ink); }

/* ヒーロー。朝の街の絵を背に、左に題字と文、右に端末の画面 */
.hk-hero { position: relative; overflow: hidden; padding: 152px 0 72px; background: #f1a56b; }
.hk-hero-art { position: absolute; inset: 0; }
.hk-hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }
.hk-hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(24, 61, 70, .88) 0%, rgba(24, 61, 70, .84) 44%, rgba(24, 61, 70, .66) 58%, rgba(24, 61, 70, .1) 100%); }
.hk-hero .hk-wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; }
.hk-logo { display: block; width: min(100%, 480px); height: auto; margin: 0 0 24px -6px; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .28)); }
.hk-title { margin: 0; font-size: 0; }
.hk-catch { margin: 0 0 14px; font-size: 40px; line-height: 54px; font-weight: 800; color: #fff; text-wrap: balance; }
.hk-catch em { font-style: normal; color: var(--hk-note); }
.hk-hero-text { margin: 0 0 20px; max-width: 520px; font-size: 17px; line-height: 30px; color: #eaf1f0; }
.hk-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
.hk-chips li { padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .34); color: #fff; font-size: 13px; line-height: 20px; }
.hk-chips li.is-hot { background: var(--hk-note); border-color: var(--hk-note); color: #6b4a08; font-weight: 700; }
.hk-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 20px; }
.hk-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 14px; font-size: 16px; font-weight: 700; text-decoration: none; }
.hk-page main a.hk-btn-primary { background: var(--hk-coral); color: #fff; box-shadow: 0 6px 0 var(--hk-coral-2); }
.hk-page main a.hk-btn-primary:hover { transform: translateY(1px); box-shadow: 0 5px 0 var(--hk-coral-2); }
.hk-page main a.hk-btn-ghost { background: rgba(255, 255, 255, .92); color: var(--hk-ink); }
.hk-status { margin: 0; font-size: 14px; line-height: 24px; color: #eaf1f0; }
.hk-status b { color: var(--hk-note); }
.hk-page main .hk-status a { color: #fff; }
.hk-phone { justify-self: center; width: min(100%, 320px); padding: 10px; border-radius: 40px; background: #13262b; box-shadow: 0 30px 60px rgba(0, 0, 0, .38); transform: rotate(2deg); }
.hk-phone img { display: block; width: 100%; height: auto; border-radius: 30px; }
.hk-crumb { padding: 20px 0 0; font-size: 13px; color: var(--hk-muted); }
.hk-crumb span { margin: 0 8px; }

/* 3つの約束 */
.hk-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 40px 0 0; padding: 0; list-style: none; }
.hk-points li { padding: 24px; border-radius: 18px; background: var(--hk-paper); border: 2px solid var(--hk-line); }
.hk-points b { display: block; margin: 0 0 8px; font-size: 19px; line-height: 28px; }
.hk-points span { font-size: 15px; line-height: 26px; color: var(--hk-muted); }
.hk-points .no { display: inline-grid; place-items: center; width: 40px; height: 40px; margin: 0 0 12px; border-radius: 50%; background: var(--hk-coral); color: #fff; font-weight: 800; }

/* 遊び方。画面と文を左右に、交互に */
.hk-steps { display: grid; gap: 56px; margin: 48px 0 0; padding: 0; list-style: none; }
.hk-step { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 48px; align-items: center; }
.hk-step:nth-child(even) { grid-template-columns: 280px minmax(0, 1fr); }
.hk-step:nth-child(even) .hk-step-text { order: 2; }
.hk-step-no { display: inline-block; margin: 0 0 8px; font-size: 13px; font-weight: 800; letter-spacing: .12em; color: var(--hk-coral); }
.hk-step h3 { margin: 0 0 12px; font-size: 25px; line-height: 36px; font-weight: 800; }
.hk-step p { margin: 0 0 10px; font-size: 16px; line-height: 29px; color: var(--hk-muted); }
.hk-step p strong { color: var(--hk-ink); }
.hk-shot { margin: 0; }
.hk-shot img { display: block; width: 100%; height: auto; border-radius: 22px; border: 6px solid #13262b; box-shadow: 0 16px 34px rgba(24, 61, 70, .22); }

/* 会社の一覧 */
.hk-companies { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; margin: 36px 0 0; padding: 0; list-style: none; }
.hk-co { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px; border-radius: 16px; background: var(--hk-paper); box-shadow: 0 3px 0 rgba(24, 61, 70, .12); }
.hk-co img { width: 76px; height: 76px; border-radius: 12px; }
.hk-co b { display: block; font-size: 16px; line-height: 24px; }
.hk-co span { display: block; font-size: 13px; line-height: 20px; color: var(--hk-muted); }
.hk-co .tag { display: inline-block; margin: 0 0 2px; padding: 1px 8px; border-radius: 6px; font-size: 11px; line-height: 18px; font-weight: 700; color: #fff; background: var(--hk-teal); }
.hk-co .tag.free { background: var(--hk-coral); }
.hk-co .tag.pack { background: #815c11; }

/* 登場人物 */
.hk-cast { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 36px 0 0; padding: 0; list-style: none; }
.hk-cast li { padding: 16px 16px 20px; border-radius: 18px; background: var(--hk-canvas); border: 2px solid var(--hk-line); text-align: center; }
.hk-cast img { display: block; width: 100%; max-width: 180px; height: 200px; margin: 0 auto 10px; object-fit: contain; object-position: bottom; }
.hk-cast b { display: block; font-size: 16px; }
.hk-cast span { font-size: 13px; line-height: 21px; color: var(--hk-muted); }

/* 料金 */
.hk-price { width: 100%; margin: 32px 0 0; border-collapse: collapse; background: var(--hk-paper); border-radius: 16px; overflow: hidden; }
.hk-price th, .hk-price td { padding: 14px 18px; border-bottom: 1px solid var(--hk-line); text-align: left; font-size: 15px; line-height: 24px; }
.hk-price thead th { background: var(--hk-teal); color: #fff; font-size: 13px; letter-spacing: .06em; }
.hk-price td.yen { white-space: nowrap; font-weight: 800; text-align: right; }
.hk-price tr:last-child td { border-bottom: 0; }
.hk-note { margin: 16px 0 0; font-size: 14px; line-height: 24px; color: var(--hk-muted); }
.hk-caution { margin: 32px 0 0; padding: 20px 24px; border-radius: 14px; background: var(--hk-note); color: #5f4208; font-size: 15px; line-height: 27px; }
.hk-table { width: 100%; margin: 28px 0 0; border-collapse: collapse; }
.hk-table th, .hk-table td { padding: 12px 0; border-bottom: 1px solid var(--hk-line); text-align: left; font-size: 15px; line-height: 25px; vertical-align: top; }
.hk-table th { width: 140px; color: var(--hk-muted); font-weight: 600; }
.hk-links { display: flex; flex-wrap: wrap; gap: 12px; margin: 36px 0 0; }
.hk-page main .hk-links a { padding: 12px 20px; border-radius: 12px; border: 2px solid var(--hk-line); background: var(--hk-paper); color: var(--hk-ink); font-weight: 700; text-decoration: none; }

/* STEP 2 の下に並べる、仕訳の例（伝票の形） */
.hk-entries { grid-column: 1 / -1; order: 3; margin: 8px 0 0; }
.hk-entries-h { margin: 0 0 18px; font-size: 19px; line-height: 28px; font-weight: 800; color: var(--hk-ink); }
.hk-entries-h span { display: block; margin: 4px 0 0; font-size: 15px; line-height: 26px; font-weight: 400; color: var(--hk-muted); }
.hk-entry-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.hk-entry { display: flex; flex-direction: column; padding: 18px 18px 16px; border-radius: 14px; background: #fff; border: 2px solid var(--hk-line); border-top: 6px solid var(--hk-teal); }
.hk-entry-top { margin: 0 0 8px; font-size: 12px; line-height: 20px; font-weight: 700; color: var(--hk-muted); }
.hk-entry-lv { display: inline-block; margin: 0 8px 0 0; padding: 1px 8px; border-radius: 5px; background: var(--hk-note); color: #6b4a08; }
.hk-entry-doc { margin: 0 0 12px; font-size: 14px; line-height: 23px; color: var(--hk-ink); }
.hk-entry-t { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 14px; line-height: 20px; font-variant-numeric: tabular-nums; }
.hk-entry-t th { padding: 4px 6px; background: var(--hk-canvas); border-bottom: 2px solid var(--hk-teal); font-size: 12px; font-weight: 700; color: var(--hk-teal); text-align: left; }
.hk-entry-t th + th, .hk-entry-t td + td { border-left: 2px solid var(--hk-teal); }
.hk-entry-t td { padding: 6px; border-bottom: 1px dashed var(--hk-line); vertical-align: top; color: var(--hk-ink); }
.hk-entry-t td b { display: block; font-weight: 700; text-align: right; }
.hk-entry-why { margin: auto 0 0; padding: 12px 0 0; font-size: 13px; line-height: 21px; color: var(--hk-muted); }

@media (max-width: 1080px) {
  .hk-entry-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .hk-hero { padding: 128px 0 56px; }
  .hk-hero .hk-wrap { grid-template-columns: 1fr; gap: 32px; }
  .hk-hero-art::after { background: linear-gradient(180deg, rgba(24, 61, 70, .78), rgba(24, 61, 70, .5)); }
  .hk-catch { font-size: 30px; line-height: 42px; }
  .hk-phone { width: 240px; transform: none; }
  .hk-sec { padding: 64px 0; }
  .hk-h2 { font-size: 27px; line-height: 38px; }
  .hk-points { grid-template-columns: 1fr; }
  .hk-step, .hk-step:nth-child(even) { grid-template-columns: 1fr; gap: 24px; }
  .hk-step:nth-child(even) .hk-step-text { order: 0; }
  .hk-shot { max-width: 260px; margin: 0 auto; }
  .hk-entry-list { grid-template-columns: 1fr; }
  .hk-cast { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 画面には出さず、検索エンジンと読み上げにだけ渡す文字 */
.hk-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
