/* 会社の年賀状じまい（/hagaki-jimai/）。日英共通。
   最初の画面は 会社名 → はがき｜メール｜お知らせの切り替え → 選んだ1つの文面 → 「この文面をコピー」1つ → 間に合う出し方の小さな1行。
   隠した2つの文面も visibility で組み続ける（はがきの字の大きさを枠で測るため・一致の表で3点を比べるため）。
   条件（範囲と言い方）・時期の帯と出し方の札・一致の表は <details> に畳む（2026-11-12 Hayato「情報量が多い」「ボタン一つに」）。
   はがきは画面でも印刷でも同じ要素（#hj-card）で、印刷のときだけ body の直下へ移す（app.js の beforeprint） */
[hidden] { display: none !important; }
.hj-h1-sub { display: block; margin-top: 6px; font-size: .52em; font-weight: 500; color: var(--ink-soft, #4b5563); letter-spacing: .01em; }
.hj { --line: var(--hairline, #e5e7eb); --soft: var(--ink-soft, #4b5563); --acc: var(--accent, #b45309);
  --ok: #166534; --ok-bg: #ecfdf3; --ok-bar: #15803d; --late: #9a3412; --late-bg: #fff7ed; --late-bar: #f59e0b; --past: #6b7280;
  --vermilion: #c2410c;
  border: 1px solid var(--line); background: var(--panel, #fff); margin-bottom: 8px; }
.hj-sec { padding: 18px 18px 20px; border-top: 1px solid var(--line); }
.hj-sec:first-child { border-top: 0; }
.hj-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; position: relative; }

/* ---- 最初の画面: 会社名・切り替え・1つの文面・コピー ---- */
.hj-name-main { max-width: 520px; font-size: 14px; }
.hj-name-main input { min-height: 52px; font-size: 18px; font-weight: 700; }
.hj-tabs { display: flex; margin: 18px 0 0; border-bottom: 1px solid var(--ink, #1f2937); }
.hj-tab { flex: 0 1 auto; min-width: 7em; min-height: 44px; padding: 0 18px; margin-bottom: -1px; border: 1px solid transparent; border-bottom: 0; background: none; font: inherit; font-size: 15px; font-weight: 500; color: var(--soft); cursor: pointer; }
.hj-tab:hover { color: var(--ink, #1f2937); }
.hj-tab.is-on { border-color: var(--ink, #1f2937); background: #fff; color: var(--ink, #1f2937); font-weight: 700; }
.hj-tab:focus-visible { outline: 2px solid var(--acc); outline-offset: -2px; }
.hj-panes { position: relative; padding-top: 14px; }
.hj-pane { margin: 0; min-width: 0; }
.hj-pane:not(.is-on) { position: absolute; left: 0; right: 0; top: 14px; visibility: hidden; pointer-events: none; }
.hj-paneinfo { display: block; margin-top: 6px; font-size: 12px; color: var(--soft); }
.hj-printlink { padding: 0; border: 0; background: none; font: inherit; font-size: 13px; color: var(--accent-dark, #92400e); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.hj-ontime { margin: 12px 0 0; font-size: 12.5px; line-height: 1.6; color: var(--soft); }
.hj-checksec { padding-top: 14px; padding-bottom: 14px; }
.hj-checksec .hj-check { margin-top: 0; }

/* ---- 畳んだ条件と時期 ---- */
.hj-more > summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; margin: -18px -18px -20px; padding: 16px 18px 16px 40px; position: relative; cursor: pointer; list-style: none; }
.hj-more > summary::-webkit-details-marker { display: none; }
.hj-more > summary::before { content: ""; position: absolute; left: 20px; top: 23px; width: 0; height: 0; border-left: 7px solid var(--ink, #1f2937); border-top: 5px solid transparent; border-bottom: 5px solid transparent; transition: transform .12s; }
.hj-more[open] > summary { margin-bottom: 12px; }
.hj-more[open] > summary::before { transform: rotate(90deg); }
.hj-more > summary b { font-size: 16px; }
.hj-more > summary span { font-size: 13px; color: var(--soft); }
.hj-more > summary:hover b { text-decoration: underline; text-underline-offset: 3px; }
.hj-more > summary:focus-visible { outline: 2px solid var(--acc); outline-offset: -2px; }

.hj-todayline { margin: 0 0 12px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: 14px; color: var(--soft); }
.hj-todayline b { font-family: var(--mono); font-size: 15px; font-weight: 500; color: var(--ink, #1f2937); }
.hj-datex summary { cursor: pointer; font-size: 13px; color: var(--soft); text-decoration: underline; text-underline-offset: 3px; }
.hj-datex-in { display: flex; gap: 6px; margin-top: 6px; }
.hj-datex input { min-height: 36px; padding: 0 8px; border: 1px solid var(--hairline-strong, #d1d5db); font: inherit; font-family: var(--mono); font-size: 14px; }
.hj-datex button { min-height: 36px; padding: 0 10px; border: 1px solid var(--hairline-strong, #d1d5db); background: #fff; font: inherit; font-size: 13px; cursor: pointer; }

/* ---- 時期の帯 ---- */
.hj-band-scroll { overflow-x: auto; overscroll-behavior-x: contain; margin: 0 -18px; padding: 0 18px 4px; scrollbar-width: thin; }
.hj-band { position: relative; min-width: 640px; height: 214px; }
.hj-axis { position: absolute; left: 0; right: 0; top: 0; height: 20px; border-bottom: 1px solid var(--line); }
.hj-month { position: absolute; top: 0; padding-left: 5px; border-left: 1px solid #9ca3af; font-family: var(--mono); font-size: 12px; line-height: 20px; color: var(--soft); white-space: nowrap; }
.hj-past { position: absolute; left: 0; top: 20px; bottom: 0; background: repeating-linear-gradient(135deg, rgba(107,114,128,.07) 0 6px, transparent 6px 12px); pointer-events: none; }
.hj-ev { position: absolute; top: 20px; bottom: 0; width: 0; border-left: 1px dashed #6b7280; pointer-events: none; z-index: 2; }
.hj-ev .hj-ev-n { position: absolute; top: 34px; left: -10px; }
.hj-ev-n { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--ink, #1f2937); color: #fff; font-family: var(--mono); font-size: 11px; font-weight: 500; flex: none; }
.hj-nodeliv { position: absolute; top: 58px; bottom: 0; background: repeating-linear-gradient(90deg, #1f2937 0 1px, transparent 1px 3px); opacity: .35; pointer-events: none; z-index: 1; }
.hj-lanes { position: absolute; left: 0; right: 0; top: 62px; display: grid; gap: 6px; }
.hj-lane { position: relative; display: block; width: 100%; height: 44px; padding: 0; border: 1px solid var(--line); background: #fafafa; cursor: pointer; overflow: hidden; font: inherit; color: inherit; text-align: left;
  transition: border-color .12s, box-shadow .12s; }
.hj-lane:hover:not(:disabled) { border-color: var(--ink, #1f2937); }
.hj-lane:active:not(:disabled) .hj-lane-name { transform: scale(.98); }
.hj-lane.is-on { border-color: var(--ink, #1f2937); box-shadow: inset 0 0 0 1px var(--ink, #1f2937); }
.hj-lane:disabled { cursor: not-allowed; }
.hj-seg { position: absolute; top: 0; bottom: 0; display: block; }
.hj-seg.s-ok { background: #bbf7d0; }
.hj-seg.s-late { background: repeating-linear-gradient(135deg, #fde68a 0 5px, #fef3c7 5px 10px); }
.hj-seg.s-wait { background: repeating-linear-gradient(90deg, #e5e7eb 0 2px, transparent 2px 6px); }
.hj-lane.is-on .hj-seg.s-ok { background: #4ade80; }
.hj-lane.is-on .hj-seg.s-late { background: repeating-linear-gradient(135deg, #fbbf24 0 5px, #fde68a 5px 10px); }
.hj-lane.is-past .hj-seg { filter: grayscale(1); opacity: .5; }
.hj-lane-name { position: sticky; left: 0; z-index: 5; display: inline-flex; align-items: center; gap: 8px; height: 100%; padding: 0 10px; background: linear-gradient(90deg, rgba(255,255,255,.96) 75%, rgba(255,255,255,0)); transition: transform .08s; }
.hj-lane-name b { font-size: 14px; }
.hj-lane-name em { font-style: normal; font-size: 12px; font-weight: 700; padding: 0 6px; border: 1px solid currentColor; line-height: 18px; }
.hj-lane.is-ok .hj-lane-name em { color: var(--ok); background: var(--ok-bg); }
.hj-lane.is-late .hj-lane-name em { color: var(--late); background: var(--late-bg); }
.hj-lane.is-past .hj-lane-name { color: var(--past); }
.hj-now { position: absolute; top: 20px; bottom: 0; width: 0; border-left: 2px solid var(--vermilion); z-index: 4; pointer-events: none; }
.hj-now-pin { position: absolute; top: 4px; left: -2px; padding: 0 8px; background: var(--vermilion); color: #fff; font-size: 12px; font-weight: 700; line-height: 22px; white-space: nowrap; }
.hj-now.is-right .hj-now-pin { left: auto; right: -2px; }
.hj-legend { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 8px 0 0; font-size: 12px; color: var(--soft); }
.hj-legend span::before { content: ""; display: inline-block; width: 18px; height: 10px; margin-right: 6px; vertical-align: -1px; border: 1px solid #d1d5db; }
.hj-legend .lg-ok::before { background: #4ade80; }
.hj-legend .lg-late::before { background: repeating-linear-gradient(135deg, #fbbf24 0 4px, #fde68a 4px 8px); }
.hj-legend .lg-wait::before { background: repeating-linear-gradient(90deg, #d1d5db 0 2px, #fff 2px 5px); }
.hj-legend .lg-no::before { background: repeating-linear-gradient(90deg, #6b7280 0 1px, #fff 1px 3px); }
.hj-events { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 4px; font-size: 13px; line-height: 1.55; }
.hj-events li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.hj-events .hj-ev-n { transform: translateY(4px); }
.hj-events b { font-family: var(--mono); font-weight: 500; white-space: nowrap; }
.hj-src-tag { font-size: 11px; color: var(--soft); padding: 0 5px; border: 1px solid var(--line); text-decoration: none; }
.hj-src-tag:hover { border-color: var(--soft); }

.hj-matsu { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 14px 0 0; padding: 0; border: 0; }
.hj-matsu legend { float: left; margin-right: 12px; font-size: 13px; font-weight: 700; }

/* 出し方の札 */
.hj-methods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 0 4px; }
.hj-when .hj-band-scroll { margin-top: 18px; }
.hj-m { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 12px 14px 14px; border: 1px solid var(--hairline-strong, #d1d5db); background: #fff; text-align: left; font: inherit; color: inherit; cursor: pointer;
  transition: transform .08s ease, border-color .12s, box-shadow .12s; }
.hj-m:hover { border-color: var(--ink, #1f2937); }
.hj-m:active { transform: scale(.985); }
.hj-m.is-on { border-color: var(--ink, #1f2937); box-shadow: inset 0 0 0 2px var(--ink, #1f2937); background: #fff; }
.hj-m.is-on::after { content: "✓"; position: absolute; top: 10px; right: 12px; display: grid; place-items: center; width: 22px; height: 22px; background: var(--ink, #1f2937); color: #fff; font-size: 13px; }
.hj-m.is-past { opacity: .5; cursor: not-allowed; background: #f9fafb; }
.hj-m.is-past:hover { border-color: var(--hairline-strong, #d1d5db); }
.hj-m.is-past:active { transform: none; }
.hj-m-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding-right: 26px; }
.hj-m-badge { font-size: 12px; font-weight: 700; padding: 0 7px; line-height: 20px; border: 1px solid currentColor; }
.hj-m.is-ok .hj-m-badge { color: var(--ok); background: var(--ok-bg); }
.hj-m.is-late .hj-m-badge { color: var(--late); background: var(--late-bg); }
.hj-m.is-past .hj-m-badge { color: var(--past); }
.hj-m-name { font-size: 17px; }
.hj-m-sub { font-size: 12.5px; color: var(--soft); line-height: 1.5; }
.hj-m-facts { display: grid; gap: 2px; margin-top: 2px; padding-top: 8px; border-top: 1px solid var(--line); }
.hj-m-row { display: grid; grid-template-columns: 5.6em minmax(0, 1fr); gap: 6px; font-size: 13px; line-height: 1.5; }
.hj-m-row small { font-size: 11.5px; color: var(--soft); padding-top: 1px; }
.hj-m-row span { font-weight: 700; }
.hj-m-note { font-size: 12.5px; line-height: 1.55; color: var(--ink, #1f2937); }
.hj-m.is-past .hj-m-note { color: var(--soft); }
.hj-jump { margin: 10px 0 0; font-size: 14px; font-weight: 700; }
.hj-jump a { color: var(--accent-dark, #92400e); }
.hj-fine { margin: 12px 0 0; font-size: 12.5px; line-height: 1.65; color: var(--soft); }

/* ---- 条件 ---- */
.hj-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hj-chips label { position: relative; }
.hj-chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.hj-chips span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 14px; border: 1px solid var(--hairline-strong, #d1d5db); background: #fff;
  font-size: 14.5px; font-weight: 500; cursor: pointer; transition: transform .08s ease, background-color .12s, border-color .12s; user-select: none; }
.hj-chips label:hover span { border-color: var(--ink, #1f2937); }
.hj-chips input:active + span { transform: scale(.97); }
.hj-chips input:checked + span { border-color: var(--ink, #1f2937); background: var(--ink, #1f2937); color: #fff; font-weight: 700; }
.hj-chips input:focus-visible + span { outline: 2px solid var(--acc); outline-offset: 2px; }
.hj-chips.sm span { min-height: 36px; font-size: 13px; padding: 0 12px; }
.hj-chips.lg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hj-chips.lg span { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; width: 100%; min-height: 64px; padding: 8px 16px; }
.hj-chips.lg b { font-size: 16px; }
.hj-chips.lg small { font-size: 12px; font-weight: 500; opacity: .8; }
.hj-q { margin: 0; padding: 0; border: 0; min-width: 0; }
.hj-q legend { padding: 0; margin-bottom: 8px; font-size: 14px; font-weight: 700; }
.hj-q legend small { margin-left: 10px; font-size: 12px; font-weight: 500; color: var(--soft); }
.hj-q-scope { margin-bottom: 16px; }
.hj-q-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px 18px; }
.hj-names { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; margin-top: 16px; }
.hj-name { display: grid; gap: 4px; font-size: 13px; font-weight: 700; }
.hj-name small { font-family: var(--mono); font-weight: 400; color: var(--soft); }
.hj-name input { width: 100%; min-width: 0; min-height: 44px; padding: 0 12px; border: 1px solid var(--hairline-strong, #d1d5db); background: #fff; font: inherit; font-size: 16px; font-weight: 500; }
.hj-name input:focus { border-color: var(--ink, #1f2937); box-shadow: 0 0 0 1px var(--ink, #1f2937); outline: none; }
.hj-help { margin: 10px 0 0; font-size: 12.5px; line-height: 1.6; color: var(--soft); }

/* ---- 3点 ---- */
.hj-out { background: #fcfbf8; }
.hj-check { margin-top: 20px; border: 1px solid var(--line); border-left: 6px solid var(--ok-bar); background: #fff; padding: 10px 14px; }
.hj-check > summary { cursor: pointer; list-style: none; }
.hj-check > summary::-webkit-details-marker { display: none; }
.hj-check > summary::after { content: "表を見る"; margin-left: auto; font-size: 12px; color: var(--soft); text-decoration: underline; text-underline-offset: 3px; }
.hj-check[open] > summary::after { content: "閉じる"; }
.hj-check[open] > summary { margin-bottom: 8px; }
:lang(en) .hj-check > summary::after { content: "Show table"; }
:lang(en) .hj-check[open] > summary::after { content: "Hide"; }
.hj-check[data-ok="0"] { border-left-color: #dc2626; background: #fef2f2; }
.hj-check-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0; font-size: 13px; color: var(--soft); }
.hj-check-badge { font-size: 15px; color: var(--ok); }
.hj-check-badge::before { content: "✓ "; }
.hj-check[data-ok="0"] .hj-check-badge { color: #b91c1c; }
.hj-check[data-ok="0"] .hj-check-badge::before { content: "✕ "; }
.hj-check-wrap { overflow-x: auto; }
.hj-check-t { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.hj-check-v { display: none; }
.hj-check-t th, .hj-check-t td { padding: 6px 8px; border-top: 1px solid var(--line); text-align: left; white-space: nowrap; }
.hj-check-t thead th { border-top: 0; font-size: 12px; color: var(--soft); }
.hj-check-t tbody th { font-size: 12px; color: var(--soft); font-weight: 700; width: 7.5em; }
.hj-check-t td.is-ok { font-weight: 700; }
.hj-check-t td.is-ok::after { content: " ✓"; color: var(--ok); }
.hj-check-t td.is-ng { color: #b91c1c; font-weight: 700; }
.hj-check-t td.is-ng::after { content: " ✕"; }

.hj-sub-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin: 0 0 8px; font-size: 15px; }
.hj-sub-h span { font-size: 12px; font-weight: 500; color: var(--soft); }
.hj-cardbox { margin: 0; min-width: 0; }
.hj-card-frame { width: 100%; max-width: 100mm; aspect-ratio: 100 / 148; position: relative; overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 6px 18px rgba(31,41,55,.10); background: #fffdf8; }
.hj-card { position: absolute; left: 0; top: 0; width: 100mm; height: 148mm; background: #fffdf8; color: #1c1917; transform: scale(var(--k, 1)); transform-origin: 0 0;
  font-family: "Noto Serif JP", "Noto Serif CJK JP", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif; font-weight: 500; }
.hj-card-in { position: absolute; left: 8mm; top: 8mm; width: 84mm; height: 132mm; writing-mode: vertical-rl; font-size: var(--fs, 4.4mm); line-height: 1.8; letter-spacing: .04em; overflow: hidden; font-feature-settings: "vpal" 0; }
.hj-card-in p { margin: 0; }
.hj-k-head { font-weight: 700; }
.hj-k-head.is-gashi { font-size: 2.2em; letter-spacing: .3em; line-height: 1.5; padding-inline-start: .3em; margin-block-end: .25em; }
.hj-k-head.is-gashi.is-long { font-size: 1.35em; letter-spacing: .12em; padding-inline-start: .6em; margin-block-end: .3em; }
.hj-k-head.is-title { font-size: 1.12em; letter-spacing: .08em; padding-inline-start: 1.5em; margin-block-end: .35em; }
.hj-k-p { text-indent: 1em; }
.hj-k-close { text-align: end; }
.hj-k-date { margin-block-start: .7em !important; padding-inline-start: 2em; }
.hj-k-from { margin-block-start: .2em; }
.hj-k-co, .hj-k-rep { text-align: end; }
.hj-k-rep { font-size: 1.06em; letter-spacing: .08em; }
.hj-fit { margin: 8px 0 0; font-size: 12px; color: var(--soft); }
.hj-fit.is-ng { color: #b91c1c; font-weight: 700; }
.hj-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin: 14px 0 0; }
.hj-btn { min-height: 48px; padding: 0 28px; border: 1px solid var(--ink, #1f2937); background: #fff; color: var(--ink, #1f2937); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; transition: transform .08s ease, background-color .12s; }
.hj-btn:active { transform: scale(.97); }
.hj-btn.is-main { background: var(--ink, #1f2937); color: #fff; }
.hj-btn.is-main:hover { background: #111827; }
.hj-msg { font-size: 13px; font-weight: 700; color: var(--ok); }
.hj-edited { font-size: 12px; color: var(--late); }
.hj-textbox { min-width: 0; }
.hj-subject { display: flex; align-items: stretch; border: 1px solid var(--hairline-strong, #d1d5db); border-bottom: 0; background: #fff; }
.hj-subject span { display: grid; place-items: center; padding: 0 10px; border-right: 1px solid var(--line); background: #f9fafb; font-size: 12px; font-weight: 700; color: var(--soft); white-space: nowrap; }
.hj-subject input { flex: 1; min-width: 0; min-height: 40px; padding: 0 10px; border: 0; font: inherit; font-size: 14px; font-weight: 700; outline: none; }
.hj-textbox textarea { display: block; width: 100%; padding: 10px 12px; border: 1px solid var(--hairline-strong, #d1d5db); background: #fff; font: inherit; font-size: 14px; line-height: 1.75; resize: vertical; color: var(--ink, #1f2937); }
.hj-textbox textarea:focus, .hj-subject:focus-within { border-color: var(--ink, #1f2937); outline: none; }
.hj-cta { display: grid; gap: 2px; margin-top: 14px; padding: 12px 16px; border: 1px solid var(--acc); border-left-width: 6px; background: var(--accent-wash, #fffbeb); color: var(--ink, #1f2937); text-decoration: none; transition: transform .08s ease; }
.hj-cta b { font-size: 15px; color: var(--accent-dark, #92400e); }
.hj-cta b::after { content: " →"; }
.hj-cta span { font-size: 12.5px; color: var(--soft); }
.hj-cta:hover b { text-decoration: underline; }
.hj-cta:active { transform: scale(.99); }
.hj-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.hj-next { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.hj-next a { display: grid; gap: 2px; padding: 12px 18px; border-left: 1px solid var(--line); color: var(--ink, #1f2937); text-decoration: none; }
.hj-next a:first-child { border-left: 0; }
.hj-next a:hover b { text-decoration: underline; }
.hj-next b { font-size: 14px; }
.hj-next span { font-size: 12px; color: var(--soft); }

.hj-about-h { margin: 22px 0 8px; font-size: 16px; }
.hj-src { margin: 0; font-size: 13.5px; line-height: 1.65; }
.hj-src dt { margin-top: 10px; font-weight: 700; }
.hj-src dd { margin: 2px 0 0 1.2em; color: var(--soft); }
.hj-all { margin-top: 12px; font-size: 14px; }

@media (max-width: 760px) {
  .hj-methods { grid-template-columns: minmax(0, 1fr); }
  .hj-m-facts { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .hj-sec { padding: 16px 14px 18px; }
  .hj-band-scroll { margin: 0 -14px; padding: 0 14px 4px; }
  .hj-chips.lg, .hj-names { grid-template-columns: minmax(0, 1fr); }
  .hj-next { grid-template-columns: minmax(0, 1fr); }
  .hj-next a { border-left: 0; border-top: 1px solid var(--line); }
  .hj-next a:first-child { border-top: 0; }
  .hj-more > summary { margin: -16px -14px -18px; padding: 14px 14px 14px 36px; }
  .hj-more > summary::before { left: 16px; top: 21px; }
  .hj-card-frame { margin: 0 auto; }
  .hj-check-h { display: none; }
  .hj-check-v { display: table; }
  .hj-check-t th, .hj-check-t td { padding: 6px 4px; font-size: 13px; }
  /* 3つの切り替えを1行に収める（英語の「Site notice」が375幅で折り返したため・2026-11-12） */
  .hj-tab { flex: 1 1 0; min-width: 0; padding: 0 6px; white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  .hj *, .hj *::before, .hj *::after { transition: none !important; }
}

/* ---- 印刷: はがき（同じ要素）だけを原寸で ---- */
@media print {
  @page { size: 100mm 148mm; margin: 0; }
  html, body { margin: 0 !important; padding: 0 !important; background: #fff !important; }
  body > *:not(.hj-card) { display: none !important; }
  .hj-card { position: relative !important; transform: none !important; box-shadow: none !important; background: #fff !important; break-after: avoid; break-inside: avoid; }
}
