/* =============================================================
 * 部品 sheet: 釣果の記録シート（作る・印刷する・PDF を配る）
 * - 画面用は .col-page .cx-sheet…
 * - 紙そのもの（.cx-sheet-paper）は、記事の中（.col-page）と、
 *   印刷用の入れ物（.cx-sheet-printroot。印刷のときだけ body の直下に作る／PDF 用ページの body）で同じ見た目
 * - 紙は 794×1122px（A4・96dpi）で組み、画面では縮小して見せる
 * ============================================================= */

/* ---------- 外わく ---------- */
/* 幅: スマホでは本文幅いっぱい。広い画面では本文（760px）より広く、最大 1000px まで（100cqw は .col-page の内側の幅） */
.col-page .cx-sheet-fig { display: block; }
@supports (width: 1cqw) {
    .col-page .cx-sheet-fig {
        margin-left: min(0px, calc((100% - min(var(--col-wide), 100cqw)) / 2));
        margin-right: min(0px, calc((100% - min(var(--col-wide), 100cqw)) / 2));
    }
}
.col-page .cx-sheet-fig__cap { margin-top: 8px; font-size: 13.5px; line-height: 1.7; color: var(--col-ink-2); }
.col-page .cx-sheet {
    padding: 16px 0 18px;
    background: var(--col-surface);
    border-top: 1px solid var(--col-line);
    border-bottom: 1px solid var(--col-line);
    line-height: 1.7;
}
.col-page .cx-sheet [hidden] { display: none !important; }
.col-page .cx-sheet__cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
.col-page .cx-sheet__panel,
.col-page .cx-sheet__preview { min-width: 0; }

.col-page .cx-sheet__lead { font-size: 15px; line-height: 1.75; color: var(--col-ink); }
.col-page .cx-sheet__legend {
    margin: 16px 0 8px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: .06em;
    color: var(--col-navy);
}

/* ---------- ボタン共通の土台（サイトの button の見た目を消す） ---------- */
.col-page .cx-sheet button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
    font: inherit;
    letter-spacing: inherit;
    text-transform: none;
    text-shadow: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}
.col-page .cx-sheet button:focus { outline: none; }
.col-page .cx-sheet button:focus-visible,
.col-page .cx-sheet a:focus-visible { outline: 3px solid rgba(76, 195, 240, .85); outline-offset: 2px; }

/* ---------- 切り替え（釣りの種類・1枚に書く回数） ---------- */
.col-page .cx-sheet__seg {
    display: grid;
    grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 4px;
    padding: 4px;
    background: #e9eef4;
    border-radius: 14px;
}
.col-page .cx-sheet .cx-sheet__seg--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.col-page .cx-sheet__seg--two .cx-sheet__segbtn { flex-direction: row; }
.col-page .cx-sheet__seg--two .cx-sheet__segbtn span { text-align: left; }
.col-page .cx-sheet__segbtn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px 6px;
    min-height: 56px;
    padding: 6px 4px;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--col-ink-2);
    background: transparent;
    border: 0;
    border-radius: 10px;
    transition: background-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.col-page .cx-sheet__segbtn svg { flex: none; }
.col-page .cx-sheet__segbtn span { min-width: 0; text-align: center; white-space: nowrap; }
.col-page .cx-sheet__segbtn small { display: block; font-size: 12px; font-weight: 400; line-height: 1.3; opacity: .85; }
.col-page .cx-sheet__segbtn:hover { color: var(--col-navy); }
.col-page .cx-sheet__segbtn[aria-pressed="true"] {
    color: #fff;
    background: var(--col-navy);
    box-shadow: 0 2px 8px rgba(13, 79, 140, .28);
}

/* ---------- チップ ---------- */
.col-page .cx-sheet__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.col-page .cx-sheet__chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 44px;
    max-width: 100%;
    padding: 6px 15px 6px 10px;
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.3;
    text-align: left;
    color: var(--col-ink);
    background: #fff;
    border: 1.5px solid rgba(14, 42, 61, .22);
    border-radius: 999px;
    transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .12s ease;
}
.col-page .cx-sheet__chip small { font-size: 12px; font-weight: 400; }
.col-page .cx-sheet__chip:hover { border-color: var(--col-navy); }
.col-page .cx-sheet__chip:active { transform: scale(.97); }
.col-page .cx-sheet__check {
    position: relative;
    flex: none;
    width: 22px;
    height: 22px;
    border: 1.5px solid rgba(14, 42, 61, .3);
    border-radius: 50%;
    background: #fff;
    transition: background-color .18s ease, border-color .18s ease;
}
.col-page .cx-sheet__check::after {
    content: "";
    position: absolute;
    left: 6.5px;
    top: 3px;
    width: 6px;
    height: 10px;
    border-right: 2.5px solid var(--col-navy-900);
    border-bottom: 2.5px solid var(--col-navy-900);
    transform: rotate(45deg) scale(0);
    transition: transform .2s cubic-bezier(.2, 1.4, .4, 1);
}
.col-page .cx-sheet__chipn {
    flex: none;
    min-width: 1.1em;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    color: var(--col-navy);
}
.col-page .cx-sheet__chip[aria-pressed="true"] { color: #fff; background: var(--col-navy-800); border-color: var(--col-navy-800); }
.col-page .cx-sheet__chip[aria-pressed="true"] .cx-sheet__check { background: var(--col-gold-hi); border-color: var(--col-gold-hi); }
.col-page .cx-sheet__chip[aria-pressed="true"] .cx-sheet__check::after { transform: rotate(45deg) scale(1); }
.col-page .cx-sheet__chip[aria-pressed="true"] .cx-sheet__chipn { color: var(--col-gold-hi); }

/* ---------- 状態の一文・操作ボタン ---------- */
.col-page .cx-sheet__status { min-height: 3.4em; margin-top: 12px; font-size: 13px; line-height: 1.7; color: var(--col-ink-2); }
.col-page .cx-sheet__note { color: var(--col-gold-deep); font-weight: 700; }
.col-page .cx-sheet__actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 6px; }

/* 「慣れたら足す項目」: スマホ幅では、最初はたたんでおく */
.col-page .cx-sheet .cx-sheet__more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 48px;
    padding: 6px 16px;
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--col-navy);
    background: #fff;
    border: 1.5px dashed rgba(14, 42, 61, .4);
    border-radius: 999px;
}
.col-page .cx-sheet__more svg { flex: none; transition: transform .2s ease; }
.col-page .cx-sheet__more[aria-expanded="true"] svg { transform: rotate(45deg); }
.col-page .cx-sheet__morebox { display: none; margin-top: 10px; }
.col-page .cx-sheet__morebox.is-open { display: block; }
.col-page .cx-sheet__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 52px;
    padding: 8px 8px;
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.3;
    border: 0;
    border-radius: 999px;
    transition: transform .16s ease, box-shadow .16s ease, background-color .18s ease, color .18s ease;
}
.col-page .cx-sheet__btn svg { flex: none; }
.col-page .cx-sheet__btn:hover { transform: translateY(-1px); }
.col-page .cx-sheet__btn--print {
    color: #fff;
    background: linear-gradient(180deg, #1a6dba 0%, #0d4f8c 55%, #0b3f72 100%);
    box-shadow: 0 6px 18px rgba(13, 79, 140, .28);
}
.col-page .cx-sheet__btn--ex { color: var(--col-navy); background: #fff; box-shadow: inset 0 0 0 2px var(--col-navy); }
.col-page .cx-sheet__btn--ex[aria-pressed="true"] { color: #fff; background: #1f4fa3; box-shadow: inset 0 0 0 2px #1f4fa3; }
.col-page .cx-sheet__fine { margin-top: 10px; font-size: 12.5px; line-height: 1.7; color: var(--col-ink-2); }

/* ---------- プレビュー（紙を縮めて見せる台） ---------- */
.col-page .cx-sheet__stage {
    position: relative;
    container-type: inline-size;
    width: 100%;
    aspect-ratio: 794 / 1122;
}
.col-page .cx-sheet__stage::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #fff;
    border-radius: 3px;
    box-shadow: 0 1px 2px rgba(7, 21, 38, .10), 0 6px 16px rgba(7, 21, 38, .10);
    transform: rotate(-1.1deg) translate(-3px, 4px);
}
.col-page .cx-sheet__stage .cx-sheet-paper {
    position: absolute;
    left: 0;
    top: 0;
    transform-origin: 0 0;
    transform: scale(tan(atan2(100cqw, 794px)));
    background: linear-gradient(180deg, #fffefb 0%, #fdfbf4 100%);
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(7, 21, 38, .10), 0 14px 34px rgba(7, 21, 38, .16);
}
@supports not (transform: scale(tan(atan2(1px, 2px)))) {
    .col-page .cx-sheet__stage { overflow: hidden; }
}
/* スマホ幅だけ: 「大きく見る」で紙を拡大し、わくの中で動かして読む */
.col-page .cx-sheet__scroll { padding: 6px 6px 12px; margin: -6px -6px -12px; }
.col-page .cx-sheet__preview.is-zoom .cx-sheet__scroll {
    max-height: 70vh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    background: #e9eef4;
    border-radius: var(--col-r-sm);
}
.col-page .cx-sheet__preview.is-zoom .cx-sheet__stage { width: 230%; }
.col-page .cx-sheet__preview.is-zoom .cx-sheet__stage::before { display: none; }
.col-page .cx-sheet .cx-sheet__zoom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 44px;
    margin: 14px auto 0;
    padding: 6px 18px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--col-navy);
    background: #fff;
    border: 1.5px solid rgba(14, 42, 61, .22);
    border-radius: 999px;
}
.col-page .cx-sheet:not(.is-ready) .cx-sheet__zoom { visibility: hidden; }
.col-page .cx-sheet__cap { margin-top: 12px; font-size: 12.5px; line-height: 1.6; text-align: center; color: var(--col-ink-2); }

/* ---------- PDF のリンク ---------- */
.col-page .cx-sheet__dl { margin-top: 20px; padding-top: 4px; border-top: 1px solid var(--col-line); }
.col-page .cx-sheet__dllist { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.col-page .cx-sheet a.cx-sheet__dlitem {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 76px;
    padding: 12px 16px;
    color: var(--col-navy);
    text-decoration: none;
    background: #fff;
    border: 1px solid var(--col-line);
    border-radius: var(--col-r-sm);
    transition: box-shadow .16s ease, transform .16s ease, border-color .16s ease;
}
.col-page .cx-sheet a.cx-sheet__dlitem:hover { transform: translateY(-1px); border-color: var(--col-navy); box-shadow: 0 8px 22px rgba(7, 21, 38, .12); }
.col-page .cx-sheet__dlitem svg { flex: none; }
.col-page .cx-sheet__dltext { display: flex; flex-direction: column; min-width: 0; }
.col-page .cx-sheet__dltitle { font-size: 15.5px; font-weight: 700; line-height: 1.5; color: var(--col-navy-800); }
.col-page .cx-sheet__dldesc { font-size: 13px; line-height: 1.6; color: var(--col-ink); }
.col-page .cx-sheet__dlmeta { font-size: 12px; line-height: 1.6; color: var(--col-ink-2); }

@container (min-width: 620px) {
    .col-page .cx-sheet {
        padding: 22px 22px 20px;
        background: var(--col-surface);
        border: 1px solid var(--col-line);
        border-radius: var(--col-r);
    }
    .col-page .cx-sheet__seg { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); }
    .col-page .cx-sheet__segbtn { flex-direction: row; min-height: 48px; font-size: 14px; }
    .col-page .cx-sheet__segbtn span { text-align: left; }
    .col-page .cx-sheet__btn { font-size: 15px; }
    .col-page .cx-sheet .cx-sheet__zoom { display: none; }
    .col-page .cx-sheet .cx-sheet__more { display: none; }
    .col-page .cx-sheet__morebox { display: block; margin-top: 0; }
    .col-page .cx-sheet__actions { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
    .col-page .cx-sheet__dllist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .col-page .cx-sheet__preview { max-width: 560px; margin: 0 auto; width: 100%; }
}
@container (min-width: 900px) {
    .col-page .cx-sheet { padding: 26px 28px 24px; }
    .col-page .cx-sheet__cols { grid-template-columns: minmax(0, 370px) minmax(0, 1fr); gap: 30px; align-items: start; }
    .col-page .cx-sheet__legend:first-of-type { margin-top: 14px; }
    .col-page .cx-sheet__preview { max-width: none; position: sticky; top: 16px; }
}

/* =============================================================
 * 紙（記事の中・印刷・PDF で共通）
 * ============================================================= */
.cx-sheet-printroot { display: none; }
body.cx-sheet-printroot { display: block; margin: 0; padding: 24px 0; background: #e9eef4; }
body.cx-sheet-printroot .cx-sheet-paper { margin: 0 auto; box-shadow: 0 10px 30px rgba(7, 21, 38, .18); }
.cx-sheet-printroot,
.cx-sheet-printroot * ,
.cx-sheet-printroot *::before,
.cx-sheet-printroot *::after { box-sizing: border-box; }

:is(.col-page, .cx-sheet-printroot) .cx-sheet-paper {
    --cxp-ink: #0b1f3a;
    --cxp-sub: #55677a;
    --cxp-line: #56616f;
    --cxp-rule: #8a94a0;
    --cxp-pen: #1f4fa3;
    position: relative;
    display: flex;
    flex-direction: column;
    width: 794px;
    height: 1122px;
    padding: 38px 42px 24px;
    overflow: hidden;
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "YuGothic", Meiryo, sans-serif;
    font-feature-settings: "palt";
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: .02em;
    text-align: left;
    color: var(--cxp-ink);
    background: #fff;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}
:is(.col-page, .cx-sheet-printroot) .cx-sheet-paper__head {
    flex: none;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    height: 58px;
    padding-bottom: 10px;
    border-bottom: 3px solid #d2b503;
}
:is(.col-page, .cx-sheet-printroot) .cx-sheet-paper__title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 27px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .06em;
    white-space: nowrap;
}
:is(.col-page, .cx-sheet-printroot) .cx-sheet-paper__title svg { flex: none; width: 40px; height: 24px; color: #0d4f8c; }
:is(.col-page, .cx-sheet-printroot) .cx-sheet-paper__meta { display: flex; align-items: center; gap: 10px; min-width: 0; padding-bottom: 3px; }
:is(.col-page, .cx-sheet-printroot) .cx-sheet-paper__type {
    padding: 2px 12px;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.6;
    white-space: nowrap;
    border: 1.5px solid var(--cxp-ink);
    border-radius: 999px;
}
:is(.col-page, .cx-sheet-printroot) .cx-sheet-paper__exnote {
    padding: 2px 10px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.6;
    white-space: nowrap;
    color: #fff;
    background: var(--cxp-pen);
    border-radius: 4px;
    opacity: 0;
    transition: opacity .25s ease;
}
:is(.col-page, .cx-sheet-printroot) .cx-sheet-paper.is-example .cx-sheet-paper__exnote { opacity: 1; }

:is(.col-page, .cx-sheet-printroot) .cx-sheet-paper__body {
    flex: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 955px;
    margin-top: 12px;
}
:is(.col-page, .cx-sheet-printroot) .cx-sheet-paper__trip { flex: 1 1 0; display: flex; min-height: 0; }
:is(.col-page, .cx-sheet-printroot) .cx-sheet-paper__tab {
    flex: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 28px;
    color: #fff;
    background: var(--cxp-ink);
    border-radius: 6px 0 0 6px;
}
:is(.col-page, .cx-sheet-printroot) .cx-sheet-paper__tab b { font-size: 19px; font-weight: 700; line-height: 1; }
:is(.col-page, .cx-sheet-printroot) .cx-sheet-paper__tab span { font-size: 11px; line-height: 1.15; writing-mode: vertical-rl; letter-spacing: .12em; }
:is(.col-page, .cx-sheet-printroot) .cx-sheet-paper[data-layout="1"] .cx-sheet-paper__tab { display: none; }

:is(.col-page, .cx-sheet-printroot) .cx-sheet-paper__grid {
    position: relative;
    flex: 1 1 0;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: minmax(0, 1fr);
    min-width: 0;
    border-top: 1px solid var(--cxp-line);
    border-left: 1px solid var(--cxp-line);
}
:is(.col-page, .cx-sheet-printroot) .cx-sheet-paper__cell {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    padding: 3px 10px 6px;
    overflow: hidden;
    background: rgba(255, 255, 255, .6);
    border-right: 1px solid var(--cxp-line);
    border-bottom: 1px solid var(--cxp-line);
    transform-origin: 50% 50%;
}
:is(.col-page, .cx-sheet-printroot) .cx-sheet-paper__cell.is-leaving { z-index: 2; pointer-events: none; }
:is(.col-page, .cx-sheet-printroot) .cx-sheet-paper__label {
    flex: none;
    display: flex;
    align-items: center;
    height: 19px;
    font-size: 13px;
    font-weight: 700;
    line-height: 19px;
    white-space: nowrap;
    overflow: hidden;
}
:is(.col-page, .cx-sheet-printroot) .cx-sheet-paper__label small { margin-left: 8px; font-size: 10.5px; font-weight: 400; color: var(--cxp-sub); }
:is(.col-page, .cx-sheet-printroot) .cx-sheet-paper__n {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 17px;
    height: 17px;
    margin-right: 6px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    font-feature-settings: normal;
    color: #fff;
    background: #0d4f8c;
    border-radius: 50%;
}

/* 書く場所 */
:is(.col-page, .cx-sheet-printroot) .cx-sheet-paper__w { position: relative; flex: 1 1 0; min-width: 0; min-height: 0; }
:is(.col-page, .cx-sheet-printroot) .cx-sheet-paper__w--lines {
    /* 罫線は下から 29px おき。項目名のすぐ下（上の 14px）には引かない */
    background: repeating-linear-gradient(to top, var(--cxp-rule) 0, var(--cxp-rule) 1px, transparent 1px, transparent 29px) left bottom / 100% calc(100% - 14px) no-repeat;
}
:is(.col-page, .cx-sheet-printroot) .cx-sheet-paper__w--rows { display: flex; flex-direction: column; }
:is(.col-page, .cx-sheet-printroot) .cx-sheet-paper__prow { flex: 1 1 0; min-width: 0; min-height: 0; }
:is(.col-page, .cx-sheet-printroot) .cx-sheet-paper__time {
    flex: 2 1 0;
    align-self: stretch;
    display: flex;
    align-items: flex-end;
    gap: 0 2px;
    min-width: 44px;
    max-width: 120px;
}
:is(.col-page, .cx-sheet-printroot) .cx-sheet-paper__prow,
:is(.col-page, .cx-sheet-printroot) .cx-sheet-paper__w--parts {
    display: flex;
    align-items: flex-end;
    gap: 0 6px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--cxp-sub);
    white-space: nowrap;
}
:is(.col-page, .cx-sheet-printroot) .cx-sheet-paper__pre { flex: none; }
:is(.col-page, .cx-sheet-printroot) .cx-sheet-paper__gap { flex: none; width: 12px; }
:is(.col-page, .cx-sheet-printroot) .cx-sheet-paper__slot {
    position: relative;
    flex: 1 1 0;
    align-self: stretch;
    min-width: 16px;
    border-bottom: 1px solid var(--cxp-rule);
}
:is(.col-page, .cx-sheet-printroot) .cx-sheet-paper__opts { flex: none; display: inline-flex; gap: 0 9px; }
:is(.col-page, .cx-sheet-printroot) .cx-sheet-paper__opts + .cx-sheet-paper__opts { margin-left: 8px; padding-left: 13px; border-left: 1px solid var(--cxp-rule); }
:is(.col-page, .cx-sheet-printroot) .cx-sheet-paper__opt { position: relative; color: var(--cxp-ink); }
:is(.col-page, .cx-sheet-printroot) .cx-sheet-paper__opt.is-ex::after {
    content: "";
    position: absolute;
    inset: -3px -7px -2px;
    border: 1.8px solid var(--cxp-pen);
    border-radius: 50%;
    opacity: 0;
    transform: rotate(-7deg) scale(.6);
    transition: opacity .25s ease, transform .3s cubic-bezier(.2, 1.3, .4, 1);
    transition-delay: calc(var(--d, 0) * 1ms);
}
:is(.col-page, .cx-sheet-printroot) .cx-sheet-paper.is-example .cx-sheet-paper__opt.is-ex::after { opacity: 1; transform: rotate(-7deg) scale(1); }

/* ポイントの図 */
:is(.col-page, .cx-sheet-printroot) .cx-sheet-paper__w--map {
    margin-top: 2px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='19' height='19'%3E%3Ccircle cx='9.5' cy='9.5' r='1' fill='%238a94a0'/%3E%3C/svg%3E");
    background-size: 19px 19px;
    border: 1px dashed var(--cxp-rule);
    border-radius: 6px;
}

/* 記入例（手書き風） */
:is(.col-page, .cx-sheet-printroot) .cx-sheet-paper__ex {
    position: absolute;
    left: 6px;
    bottom: 1px;
    max-width: calc(100% - 8px);
    font-family: "Zen Kurenaido", "Klee One", "Yomogi", "UD Digi Kyokasho N-R", "Hiragino Maru Gothic ProN", "Noto Sans JP", sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: .03em;
    white-space: nowrap;
    color: var(--cxp-pen);
    opacity: 0;
    transform: translateY(4px) rotate(-1.2deg);
    transform-origin: 0 100%;
    transition: opacity .3s ease, transform .3s ease;
    transition-delay: calc(var(--d, 0) * 1ms);
    pointer-events: none;
}
:is(.col-page, .cx-sheet-printroot) .cx-sheet-paper__slot .cx-sheet-paper__ex { left: 50%; max-width: none; transform: translate(-50%, 4px) rotate(-1.2deg); }
:is(.col-page, .cx-sheet-printroot) .cx-sheet-paper__w--lines .cx-sheet-paper__ex { white-space: normal; }
:is(.col-page, .cx-sheet-printroot) .cx-sheet-paper__ex--map { inset: 6px; max-width: none; transform: none; }
:is(.col-page, .cx-sheet-printroot) .cx-sheet-paper__ex--map svg { display: block; width: 100%; height: 100%; font-family: inherit; }
:is(.col-page, .cx-sheet-printroot) .cx-sheet-paper.is-example .cx-sheet-paper__ex { opacity: 1; transform: rotate(-1.2deg); }
:is(.col-page, .cx-sheet-printroot) .cx-sheet-paper.is-example .cx-sheet-paper__slot .cx-sheet-paper__ex { transform: translate(-50%, 0) rotate(-1.2deg); }
:is(.col-page, .cx-sheet-printroot) .cx-sheet-paper.is-example .cx-sheet-paper__ex--map { transform: none; }

/* 行が低いとき: 項目名を左、書く場所を右に */
:is(.col-page, .cx-sheet-printroot) .cx-sheet-paper__grid.is-tight .cx-sheet-paper__cell { flex-direction: row; align-items: stretch; gap: 14px; padding: 2px 8px 4px; }
:is(.col-page, .cx-sheet-printroot) .cx-sheet-paper__grid.is-tight .cx-sheet-paper__label { align-self: center; max-width: 52%; font-size: 12px; }
:is(.col-page, .cx-sheet-printroot) .cx-sheet-paper__ls { display: none; }
:is(.col-page, .cx-sheet-printroot) .cx-sheet-paper__grid.is-tight .cx-sheet-paper__lf,
:is(.col-page, .cx-sheet-printroot) .cx-sheet-paper__grid.is-tight .cx-sheet-paper__label small { display: none; }
:is(.col-page, .cx-sheet-printroot) .cx-sheet-paper__grid.is-tight .cx-sheet-paper__ls { display: inline; }
:is(.col-page, .cx-sheet-printroot) .cx-sheet-paper__grid.is-tight .cx-sheet-paper__w--lines .cx-sheet-paper__ex { white-space: nowrap; }
:is(.col-page, .cx-sheet-printroot) .cx-sheet-paper__grid.is-tight .cx-sheet-paper__slot { min-width: 12px; }
:is(.col-page, .cx-sheet-printroot) .cx-sheet-paper__grid.is-tight .cx-sheet-paper__prow,
:is(.col-page, .cx-sheet-printroot) .cx-sheet-paper__grid.is-tight .cx-sheet-paper__w--parts { font-size: 12px; gap: 0 4px; }
:is(.col-page, .cx-sheet-printroot) .cx-sheet-paper__grid.is-tight .cx-sheet-paper__opts { gap: 0 6px; }
:is(.col-page, .cx-sheet-printroot) .cx-sheet-paper__grid.is-tight .cx-sheet-paper__ex { font-size: 17px; line-height: 20px; }
:is(.col-page, .cx-sheet-printroot) .cx-sheet-paper__grid.is-tight .cx-sheet-paper__w--map { margin: 1px 0 0; }

:is(.col-page, .cx-sheet-printroot) .cx-sheet-paper__foot {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: 28px;
    margin-top: 7px;
    font-size: 10.5px;
    line-height: 1.4;
    letter-spacing: .04em;
    white-space: nowrap;
    color: var(--cxp-sub);
}

/* ---------- 動きを減らす設定 ---------- */
@media (prefers-reduced-motion: reduce) {
    .col-page .cx-sheet__segbtn,
    .col-page .cx-sheet__chip,
    .col-page .cx-sheet__check,
    .col-page .cx-sheet__check::after,
    .col-page .cx-sheet__more svg,
    .col-page .cx-sheet__btn,
    .col-page .cx-sheet a.cx-sheet__dlitem,
    :is(.col-page, .cx-sheet-printroot) .cx-sheet-paper__ex,
    :is(.col-page, .cx-sheet-printroot) .cx-sheet-paper__exnote,
    :is(.col-page, .cx-sheet-printroot) .cx-sheet-paper__opt.is-ex::after { transition: none; }
    .col-page .cx-sheet__btn:hover,
    .col-page .cx-sheet a.cx-sheet__dlitem:hover,
    .col-page .cx-sheet__chip:active { transform: none; }
}

/* =============================================================
 * 印刷
 * - 「印刷する」を押したときだけ、sheet.js が html に .cx-sheet-printing を付け、
 *   紙を body の直下（.cx-sheet-printroot）に作る。その間だけ、ほかを全部かくす
 * - 目印が無いふつうの印刷（記事そのものの印刷）には、何も手を出さない
 * ============================================================= */
@media print {
    html.cx-sheet-printing,
    html.cx-sheet-printing body {
        width: auto !important;
        height: auto !important;
        /* Bootstrap 4 は印刷時に body へ min-width: 992px を入れる（紙が 80% に縮む）ので、目印があるときだけ消す */
        min-width: 0 !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        background: #fff !important;
    }
    html.cx-sheet-printing body > *:not(.cx-sheet-printroot) { display: none !important; }
    html.cx-sheet-printing .cx-sheet-printroot { display: block !important; margin: 0; padding: 0; }
    html.cx-sheet-printing .cx-sheet-printroot .cx-sheet-paper,
    body.cx-sheet-printroot .cx-sheet-paper {
        margin: 0;
        box-shadow: none;
        background: #fff;
        break-inside: avoid;
        page-break-inside: avoid;
    }
    body.cx-sheet-printroot { padding: 0; background: #fff; }
}
