/*
  site.css — デザイン乙「特集号の表紙」（タスク382・2026-10-03 代表決定）
  見立て：サイト全体を自社の雑誌の1号として組む。トップ＝表紙、お困りごと別＝目次、悩みページ＝特集記事、
          各ページ末尾の相談＝裏表紙、フッター＝奥付、会社のこと＝発行元のページ。
  守ること（14_見た目の決まり）：墨と白に差し色は緑青1色。罫線で区切り、カード・角丸・影・グラデーションは使わない。
          開いた瞬間の演出は「句点が打たれる」1つだけ。動きを減らす設定では止める。
  JSが使うのは data-* だけ。クラス名は自由に変えてよい（テンプレートと一緒に）。
*/

/* ===== 色と文字（2色刷り：墨＋緑青） ===== */
:root {
  --sumi: #18191b;       /* 墨：文字・裏表紙 */
  --paper: #ffffff;      /* 白：紙 */
  --nezumi: #5b5d60;     /* 鼠：添え書き */
  --kei: #d2d3d0;        /* 罫：細い線 */
  --rokusho: #2b6a59;    /* 緑青：差し色（白地の上） */
  --rokusho-dk: #215446; /* 緑青：押したとき */
  --rokusho-hi: #8ccab5; /* 緑青：差し色（墨・写真の上） */
  --betsuzuri: #eef0ee;  /* 別刷り（まいぷれ小樽の面） */
  --warn-bg: #fff6d6;
  --warn-line: #b98c00;
  --error: #b3261e;
  --mincho: "Zen Old Mincho", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  --gothic: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  --m: 48px;    /* 紙の左右の余白 */
  --gap: 24px;
  --sec: 128px; /* セクションの上下 */
  --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 12'%3E%3Cpath d='M0 6h28M23 1l5 5-5 5' fill='none' stroke='%23000' stroke-width='1.4'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--sumi); font-family: var(--gothic); font-size: 17px; line-height: 1.95; letter-spacing: .02em; text-wrap: pretty; overflow-wrap: anywhere; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .22em; }
p, figure, ul, ol, dl, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--mincho); font-weight: 700; letter-spacing: -.01em; line-height: 1.35; word-break: keep-all; overflow-wrap: anywhere; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--rokusho); outline-offset: 4px; }
[hidden] { display: none !important; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 60; background: var(--sumi); color: #fff; padding: 8px 14px; }
.skip:focus { left: 8px; }
.tel { font-feature-settings: "tnum"; letter-spacing: .06em; white-space: nowrap; }

.wrap { max-width: calc(1280px + var(--m) * 2); margin: 0 auto; padding: 0 var(--m); }
.g { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.g > * { min-width: 0; }
.sec { padding: var(--sec) 0; }
.sec + .sec { border-top: 1px solid var(--kei); }
.h2 { font-size: clamp(34px, 3.6vw, 48px); font-weight: 900; letter-spacing: -.02em; line-height: 1.25; }

/* 句点（名乗りの「。」）。開いた瞬間の演出はこれ1つ：句点が打たれる */
.kuten { display: inline-block; color: var(--rokusho); transform-origin: 28% 72%; animation: stamp .46s cubic-bezier(.2, .9, .25, 1.25) .4s both; }
@keyframes stamp { from { opacity: 0; transform: scale(2.4); } to { opacity: 1; transform: scale(1); } }

/* 矢印（罫線と同じ細さ） */
.links a::after, .more::after, .btn::after, .toc-row__go::before, .news-list__go::before, .pager a::after, .contents__h a::after {
  content: ""; display: inline-block; flex: none; width: 30px; height: 12px; background: currentColor;
  -webkit-mask: var(--arrow) no-repeat center / contain; mask: var(--arrow) no-repeat center / contain;
  transition: transform .2s;
}
.links { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 28px; }
.links__sep { display: none; }
.links a, .more { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: 15px; letter-spacing: .04em; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 4px; line-height: 1.5; }
.links a:hover::after, .more:hover::after { transform: translateX(4px); }

/* 相談ボタン（1種類だけ） */
.btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; background: var(--rokusho); color: #fff; border: 0; border-radius: 0; text-decoration: none; font-weight: 700; font-size: 17px; letter-spacing: .08em; line-height: 1.5; padding: 20px 28px 20px 30px; cursor: pointer; transition: background .2s; }
.btn:hover { background: var(--rokusho-dk); }
.btn:hover::after { transform: translateX(4px); }
.btn[disabled] { opacity: .65; cursor: wait; }
.btn--tel { background: transparent; color: inherit; border: 1px solid currentColor; padding: 19px 27px 19px 29px; }
.btn--tel::after { display: none; }
.btn--tel:hover { background: transparent; color: var(--rokusho); }
.notes { margin-top: 18px; font-size: 14px; line-height: 1.85; color: var(--nezumi); }
.notes b { font-weight: 700; color: var(--sumi); }

/* 柱とノンブル（各面の足もと） */
.folio { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 18px; margin-top: 104px; font-size: 11px; letter-spacing: .22em; color: var(--nezumi); line-height: 1.6; }
.folio b { font-weight: 700; font-size: 12px; letter-spacing: .06em; color: var(--sumi); font-feature-settings: "tnum"; }
.folio--r { justify-content: flex-end; }
.folio--r b { order: 2; }

/* ===== 柱（ヘッダー） ===== */
.mast { position: relative; z-index: 20; color: var(--sumi); }
.mast__in { display: flex; align-items: flex-start; gap: 28px; padding-top: 28px; padding-bottom: 18px; border-bottom: 1px solid var(--kei); }
.mast__name { display: block; flex: none; text-decoration: none; font-family: var(--mincho); font-weight: 900; font-size: 27px; line-height: 1.1; letter-spacing: .06em; white-space: nowrap; }
.mast__name small, .menu__name small { display: block; font-family: var(--gothic); font-weight: 400; font-size: 11px; letter-spacing: .3em; margin-bottom: 6px; opacity: .85; }
.mast__sub { font-size: 11.5px; line-height: 1.7; letter-spacing: .14em; padding-left: 22px; border-left: 1px solid var(--kei); margin-top: 3px; color: var(--nezumi); }
.gnav { margin-left: auto; padding-top: 8px; }
.gnav ul { display: flex; align-items: center; gap: 26px; font-size: 14px; letter-spacing: .08em; }
.gnav a { text-decoration: none; white-space: nowrap; }
.gnav a:hover { text-decoration: underline; text-underline-offset: 6px; }
.gnav a[aria-current="page"] { border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.mast__cta { flex: none; margin-top: 8px; font-size: 14px; letter-spacing: .08em; font-weight: 700; text-decoration: none; white-space: nowrap; border-bottom: 2px solid var(--rokusho); padding-bottom: 3px; line-height: 1.95; }
.mast__cta:hover { color: var(--rokusho); }
.menu { display: none; }

/* 表紙の上に重ねる柱（トップだけ） */
.mast--over { position: absolute; top: 0; left: 0; right: 0; color: #fff; }
.build-banner ~ .mast--over { top: 34px; }
.mast--over .mast__in { border-bottom-color: rgba(255, 255, 255, .32); }
.mast--over .mast__sub { color: rgba(255, 255, 255, .92); border-left-color: rgba(255, 255, 255, .4); }
.mast--over .mast__cta { border-bottom-color: var(--rokusho-hi); }
.mast--over .mast__cta:hover { color: var(--rokusho-hi); }

/* メニュー（900px以下）：<details> なのでJSが無くても開閉できる */
.menu__btn { display: inline-flex; align-items: center; gap: 8px; list-style: none; cursor: pointer; font-size: 13px; letter-spacing: .14em; padding: 6px 0 6px 10px; position: relative; z-index: 42; user-select: none; }
.menu__btn::-webkit-details-marker { display: none; }
.menu__btn i { display: block; width: 20px; height: 7px; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; }
.menu__close { display: none; }
.menu[open] .menu__btn { color: #fff; }
.menu[open] .menu__btn i { height: 0; border-bottom: 0; }
.menu[open] .menu__open { display: none; }
.menu[open] .menu__close { display: inline; }
.menu:not([open]) .menu__panel { display: none; }
.menu__panel { position: fixed; inset: 0; z-index: 41; overflow: auto; background: var(--sumi); color: #fff; padding: 20px var(--m) 48px; }
.menu__name { font-family: var(--mincho); font-weight: 900; font-size: 21px; line-height: 1.1; letter-spacing: .06em; padding: 0 0 14px; border-bottom: 1px solid rgba(255, 255, 255, .25); }
.menu__list { margin-top: 8px; }
.menu__list li { border-bottom: 1px solid rgba(255, 255, 255, .18); }
.menu__list a { display: block; padding: 15px 0; font-family: var(--mincho); font-weight: 700; font-size: 23px; text-decoration: none; }
.menu__list a[aria-current="page"] { color: var(--rokusho-hi); }
.menu__act { margin-top: 30px; }
.menu__act .btn { display: flex; width: 100%; }
.menu__panel .notes, .menu__panel .notes b { color: rgba(255, 255, 255, .78); }
.menu__panel .notes b { color: #fff; }
html.is-menu-open { overflow: hidden; }

/* ===== 表紙（トップ） ===== */
.cover { position: relative; height: 100vh; height: 100svh; min-height: 640px; max-height: 980px; overflow: hidden; background: #111214; color: #fff; display: flex; flex-direction: column; }
.cover__photo, .cover__photo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.cover__photo img { object-fit: cover; object-position: 50% 50%; }
.cover__body { position: relative; z-index: 2; margin-top: auto; padding-bottom: 30px; width: 100%; }
.cover__title { font-weight: 900; font-size: min(10.3vw, 144px); line-height: 1.08; letter-spacing: -.045em; margin-left: -.06em; }
.cover__title .kuten { color: var(--rokusho-hi); }
.cover__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .32); }
.cover__lead { font-size: clamp(18px, 1.75vw, 23px); font-weight: 700; letter-spacing: .06em; line-height: 1.6; word-break: keep-all; overflow-wrap: anywhere; }
.cover__go { display: inline-flex; align-items: center; gap: 14px; font-size: 13.5px; letter-spacing: .12em; text-decoration: none; white-space: nowrap; padding-bottom: 4px; }
.cover__go span { opacity: .8; }
.cover__go::after { content: ""; width: 24px; height: 12px; margin: 0 -4px; background: currentColor; -webkit-mask: var(--arrow) no-repeat center / contain; mask: var(--arrow) no-repeat center / contain; transform: rotate(90deg); }
.cover__go:hover { color: var(--rokusho-hi); }

/* ===== 目次（トップ） ===== */
.toc { padding-top: var(--sec); }
.toc__mark { grid-column: 1 / 2; grid-row: 1 / 2; writing-mode: vertical-rl; font-size: 13px; letter-spacing: .42em; line-height: 1; padding-top: 6px; }
.toc__h { grid-column: 2 / 8; grid-row: 1 / 2; font-size: clamp(40px, 4.6vw, 62px); font-weight: 900; letter-spacing: -.03em; line-height: 1.15; }
.toc__lead { grid-column: 9 / 13; grid-row: 1 / 2; align-self: end; font-size: 15.5px; line-height: 1.95; }
.toc__list { grid-column: 1 / -1; grid-row: 2; margin-top: 72px; }
.toc__cta { grid-column: 2 / 9; grid-row: 3; margin-top: 64px; }
.toc__since { margin-top: 22px; font-size: 14px; color: var(--nezumi); }
.toc .folio { grid-row: 4; }

.toc-list { border-top: 3px solid var(--sumi); }
.toc-list > li { border-bottom: 1px solid var(--kei); }
.toc-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: baseline; padding: 30px 0 28px; text-decoration: none; }
.toc-row__no { grid-column: 1 / 2; font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--rokusho); font-feature-settings: "tnum"; }
.toc-row__ttl { grid-column: 2 / 8; font-family: var(--mincho); font-weight: 700; font-size: clamp(22px, 2.25vw, 30px); line-height: 1.4; letter-spacing: -.01em; word-break: keep-all; overflow-wrap: anywhere; }
.toc-row__sub { grid-column: 8 / 12; font-size: 14.5px; line-height: 1.75; color: var(--nezumi); word-break: keep-all; overflow-wrap: anywhere; text-wrap: balance; }
.toc-row__go { grid-column: 12 / 13; justify-self: end; align-self: center; display: flex; }
.toc-row:hover .toc-row__ttl { color: var(--rokusho); }
.toc-row:hover .toc-row__go::before { transform: translateX(6px); }
.toc-list > li.toc-list__else { border-bottom-color: var(--sumi); }
.toc-list__else .toc-row__ttl { font-family: var(--gothic); font-size: 17px; letter-spacing: .04em; }

/* ===== 私たちのやり方（4段組） ===== */
.way__grid { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 3px solid var(--sumi); }
.way__h { padding: 30px var(--gap) 0 0; }
.way__item { padding: 30px var(--gap) 0; border-left: 1px solid var(--kei); }
.way__item:last-child { padding-right: 0; }
.way__item h3 { font-size: clamp(21px, 1.9vw, 25px); line-height: 1.45; margin-bottom: 16px; min-height: 2.9em; }
.way__item p { font-size: 16px; line-height: 1.95; text-align: justify; text-justify: inter-character; }

/* ===== できること（トップ） ===== */
.svc__h { grid-column: 1 / 8; }
.svc__body { display: contents; }
.svc__body > ul { grid-column: 1 / -1; margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--gap); border-top: 1px solid var(--sumi); }
.svc__body > ul > li { word-break: keep-all; overflow-wrap: anywhere; display: flex; gap: 18px; padding: 20px 0 19px; border-bottom: 1px solid var(--kei); font-size: 17px; line-height: 1.7; }
.svc__body > ul > li::before { content: ""; flex: none; width: 14px; height: 1px; margin-top: .85em; background: var(--sumi); }
.svc__body > p:not(.links) { grid-column: 1 / 8; margin-top: 30px; font-size: 15px; }
.svc__body > p.links { grid-column: 8 / 13; justify-content: flex-end; margin-top: 30px; }

/* ===== まいぷれ小樽（別刷りの面） ===== */
.sec.insert { background: var(--betsuzuri); border-top: 0; }
.insert + .sec { border-top: 0; }
.insert__h { grid-column: 1 / 6; font-size: clamp(34px, 3.6vw, 50px); }
.insert__body { grid-column: 7 / 13; align-self: start; margin-top: 8px; padding-left: 28px; border-left: 2px solid var(--rokusho); }
.insert__body p:not(.links) { text-align: justify; text-justify: inter-character; }
.insert__body .links { margin-top: 22px; }

/* ===== 代表あいさつ ===== */
.greet__fig { grid-column: 1 / 6; }
.greet__fig img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; background: #2a2b2d; }
.greet__text { grid-column: 7 / 13; align-self: center; }
.greet__body { margin-top: 34px; }
.greet__body > p:first-child { font-family: var(--mincho); font-weight: 700; font-size: clamp(21px, 2vw, 27px); line-height: 1.75; letter-spacing: -.005em; }
.greet__body > p:nth-child(2) { margin-top: 26px; font-size: 15px; letter-spacing: .14em; }
.greet__body .links { margin-top: 26px; }

/* ===== お知らせ ===== */
.news__h { grid-column: 1 / 5; }
.news__list { grid-column: 5 / 13; }
.news__all { grid-column: 5 / 13; margin-top: 26px; }
.news-list { border-top: 1px solid var(--sumi); }
.news-list > li { border-bottom: 1px solid var(--kei); }
.news-list a { display: grid; grid-template-columns: 11em minmax(0, 1fr) 30px; gap: var(--gap); align-items: baseline; padding: 22px 0; text-decoration: none; }
.news-list time { font-size: 13.5px; letter-spacing: .06em; color: var(--nezumi); font-feature-settings: "tnum"; }
.news-list__t { word-break: keep-all; overflow-wrap: anywhere; text-wrap: balance; }
.news-list__go { display: flex; align-self: center; }
.news-list a:hover .news-list__t { color: var(--rokusho); }
.news-list a:hover .news-list__go::before { transform: translateX(4px); }
.news-list__empty { padding: 22px 0; color: var(--nezumi); }

/* ===== 裏表紙（各ページ末尾の相談）と奥付 ===== */
.back { background: var(--sumi); color: #fff; padding: var(--sec) 0 calc(var(--sec) - 20px); }
.back__h { grid-column: 1 / 10; font-size: clamp(40px, 5.4vw, 76px); font-weight: 900; letter-spacing: -.035em; line-height: 1.12; }
.back__lead { grid-column: 1 / 8; margin-top: 30px; word-break: keep-all; overflow-wrap: anywhere; }
.back__act { grid-column: 1 / 9; margin-top: 44px; }
.back__btns { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; }
.back__or { font-size: 14px; color: rgba(255, 255, 255, .78); }
.back .notes { color: rgba(255, 255, 255, .72); }
.back .notes b { color: #fff; }
.back--slim { padding: 72px 0; }
.back--slim .back__act { margin-top: 0; }
.okuzuke { background: var(--sumi); color: rgba(255, 255, 255, .78); border-top: 1px solid rgba(255, 255, 255, .22); padding: 56px 0 40px; font-size: 13.5px; line-height: 1.95; }
.okuzuke__co { grid-column: 1 / 7; }
.okuzuke__co b { display: block; margin-bottom: 10px; font-family: var(--mincho); font-weight: 700; font-size: 21px; letter-spacing: .1em; color: #fff; }
.okuzuke__nav { grid-column: 8 / 13; }
.okuzuke__nav ul { display: grid; grid-template-columns: 1fr 1fr; gap: 6px var(--gap); }
.okuzuke__nav a { text-decoration: none; }
.okuzuke__nav a:hover, .okuzuke__nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; }
.okuzuke__c { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 44px; font-size: 12px; letter-spacing: .1em; color: rgba(255, 255, 255, .55); }
.okuzuke__c small { font-size: inherit; }
.okuzuke__issue { letter-spacing: .22em; }

/* スマホの固定ボタン（表紙・扉を過ぎてから出す。site.js） */
.dock { display: none; }

/* ===== 扉（下層ページの書き出し） ===== */
.opener { padding: 56px 0 96px; }
.opener__bar { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 24px; border-top: 3px solid var(--sumi); padding-top: 14px; font-size: 13px; letter-spacing: .08em; }
.opener__no { font-weight: 700; letter-spacing: .14em; color: var(--rokusho); font-feature-settings: "tnum"; }
.opener__date { color: var(--nezumi); font-feature-settings: "tnum"; letter-spacing: .06em; }
.crumb { margin-left: auto; color: var(--nezumi); }
.crumb ol { display: flex; flex-wrap: wrap; justify-content: flex-end; }
.crumb li + li::before { content: "／"; margin: 0 .9em; }
.crumb a { text-decoration: none; border-bottom: 1px solid var(--kei); }
.crumb a:hover { color: var(--sumi); border-color: var(--sumi); }
.opener__h1 { grid-column: 1 / -1; margin-top: 72px; font-size: clamp(44px, 6.4vw, 88px); font-weight: 900; letter-spacing: -.045em; line-height: 1.16; }
.opener__h1.has-kuten::after { content: "。"; display: inline-block; color: var(--rokusho); transform-origin: 28% 72%; animation: stamp .46s cubic-bezier(.2, .9, .25, 1.25) .35s both; }
.opener__lead { grid-column: 7 / 12; margin-top: 56px; font-size: 17px; line-height: 2; }
.opener__lead > * + * { margin-top: 1em; }
.opener__lead p { text-align: justify; text-justify: inter-character; }
.opener__lead .note { font-size: 13.5px; line-height: 1.85; color: var(--nezumi); text-align: left; }
.opener__lead .note small { font-size: inherit; }
/* お知らせ・事例の記事は見出しが長いので、扉の文字を一段小さく */
.doc--news .opener__h1, .doc--works .opener__h1 { font-size: clamp(30px, 3.5vw, 46px); letter-spacing: -.02em; line-height: 1.35; }

/* ===== 本文（小見出しを左に出す組み方） ===== */
.article__body { padding-bottom: 112px; }
.part { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); padding: 52px 0 88px; border-top: 1px solid var(--sumi); }
.part > * { min-width: 0; }
.part > h2 { grid-column: 1 / 4; font-size: clamp(22px, 2.05vw, 27px); font-weight: 900; line-height: 1.5; padding-right: 12px; }
.part__main { grid-column: 4 / 10; }
.part__wide { grid-column: 4 / 13; }
.part--cost .part__main p:first-child { font-weight: 700; }

/* 原稿（Markdown）の組み方 */
.prose > * + * { margin-top: 1.15em; }
.prose p { text-align: justify; text-justify: inter-character; }
.prose h2 { font-size: clamp(22px, 2vw, 26px); font-weight: 900; margin-top: 2.2em; }
.prose h3 { font-size: clamp(20px, 1.8vw, 24px); font-weight: 700; line-height: 1.5; }
.prose h3:not(:first-child) { margin-top: 40px; padding-top: 36px; border-top: 1px solid var(--kei); }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose h3 + * { margin-top: 12px; }
.prose ul > li { position: relative; padding-left: 26px; }
.prose ul > li + li { margin-top: .5em; }
.prose ul > li::before { content: ""; position: absolute; left: 0; top: .98em; width: 14px; height: 1px; background: var(--sumi); }
.prose ol { counter-reset: n; }
.prose ol > li { position: relative; padding-left: 2.2em; counter-increment: n; }
.prose ol > li + li { margin-top: .6em; }
.prose ol > li::before { content: counter(n) "."; position: absolute; left: 0; font-weight: 700; color: var(--rokusho); font-feature-settings: "tnum"; }
.prose strong { font-weight: 700; }
.prose a:not(.btn) { text-decoration-thickness: 1px; }
.prose a:not(.btn):hover { color: var(--rokusho); }
.prose .links { margin-top: 18px; }
.prose .note { font-size: 13px; line-height: 1.85; color: var(--nezumi); text-align: left; }
.prose .note small { font-size: inherit; }
.prose blockquote { padding-left: 20px; border-left: 2px solid var(--rokusho); }
.prose hr { border: 0; border-top: 1px solid var(--kei); }
.prose img { margin: 1.4em 0; }
.md-table { overflow-x: auto; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.8; border-top: 1px solid var(--sumi); }
.prose th, .prose td { padding: 14px 16px 13px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--kei); }
.prose thead th { font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--nezumi); }
.prose tbody th, .prose td:first-child { font-weight: 700; white-space: nowrap; padding-right: 24px; }
.md-draft { padding: 10px 14px; border: 2px dashed var(--warn-line); background: var(--warn-bg); font-size: 13px; line-height: 1.8; text-align: left; }
.md-draft p { text-align: left; }
.map-embed iframe { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; border: 0; filter: grayscale(1); }

/* こんな状況ではありませんか（お客さんの声）＝特集記事の最初の小見出し */
.feature .article__body > .part:first-child .prose > ul > li { padding: 16px 0 15px; border-bottom: 1px solid var(--kei); font-family: var(--mincho); font-weight: 700; font-size: clamp(19px, 1.75vw, 23px); line-height: 1.6; word-break: keep-all; overflow-wrap: anywhere; }
.feature .article__body > .part:first-child .prose > ul > li::before { display: none; }
.feature .article__body > .part:first-child .prose > ul > li + li { margin-top: 0; }
.feature .article__body > .part:first-child .prose > ul > li:first-child { padding-top: 0; }
.feature .article__body > .part:first-child .part__main { grid-column: 4 / 13; }

/* 電話の帯（ホームページの悩みページだけ） */
.tel-band { grid-column: 4 / 13; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin: -40px 0 56px; padding: 22px 0 22px 24px; border-left: 2px solid var(--rokusho); }
.tel-band__text { flex: 1 1 100%; font-weight: 700; }
.tel-band__hours { font-size: 14px; color: var(--nezumi); }

/* 進め方 */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--kei); }
.steps li { padding: 22px var(--gap) 0 0; }
.steps li + li { padding-left: var(--gap); border-left: 1px solid var(--kei); }
.steps b { display: block; margin-bottom: 8px; font-size: 17px; line-height: 1.6; }
.steps b span { display: block; margin-bottom: 10px; font-size: 13px; letter-spacing: .14em; color: var(--rokusho); font-feature-settings: "tnum"; }
.steps p { font-size: 15px; line-height: 1.9; }

/* 事例（CMSに許諾つきの事例があるときだけ） */
.works-list { border-top: 1px solid var(--sumi); }
.works-list > li { border-bottom: 1px solid var(--kei); }
.works-list a { display: grid; gap: 4px; padding: 22px 0; text-decoration: none; }
.works-list img { width: 100%; max-width: 480px; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 12px; }
.works-list__client { font-size: 13px; letter-spacing: .08em; color: var(--nezumi); }
.works-list__t { font-family: var(--mincho); font-weight: 700; font-size: 22px; line-height: 1.5; word-break: keep-all; overflow-wrap: anywhere; }
.works-list__summary { font-size: 15px; color: var(--nezumi); }
.works-list a:hover .works-list__t { color: var(--rokusho); }

/* 前後の記事 */
.pager { border-top: 3px solid var(--sumi); }
.pager__in { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: var(--gap); align-items: center; padding-top: 26px; padding-bottom: 30px; }
.pager a { display: flex; align-items: center; gap: 16px; min-width: 0; text-decoration: none; }
.pager__label { display: block; min-width: 0; }
.pager__n, .pager__t { display: block; }
.pager a.pager__prev::after { display: none; }
a.pager__prev::before { content: ""; flex: none; width: 30px; height: 12px; background: currentColor; -webkit-mask: var(--arrow) no-repeat center / contain; mask: var(--arrow) no-repeat center / contain; transform: scaleX(-1); }
.pager__next { justify-content: flex-end; text-align: right; }
.pager__n { font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--rokusho); }
.pager__t { margin-top: 2px; font-family: var(--mincho); font-weight: 700; font-size: 19px; line-height: 1.5; word-break: keep-all; overflow-wrap: anywhere; }
.pager a:hover .pager__t { color: var(--rokusho); }
.pager a.pager__toc { font-size: 13px; letter-spacing: .16em; padding: 8px 18px; border-left: 1px solid var(--kei); border-right: 1px solid var(--kei); white-space: nowrap; }
.pager a.pager__toc::after { display: none; }

/* ===== 目次ページ（お困りごと別） ===== */
.contents { grid-column: 1 / -1; border-top: 3px solid var(--sumi); }
.contents__item { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); padding: 36px 0 38px; border-bottom: 1px solid var(--kei); }
.contents__item:last-child { border-bottom-color: var(--sumi); }
.contents__no { grid-column: 1 / 2; padding-top: .55em; font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--rokusho); font-feature-settings: "tnum"; }
.contents__h { grid-column: 2 / 7; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.45; }
.contents__h a { display: inline; text-decoration: none; }
.contents__h a::after { display: none; }
.contents__h a:hover { color: var(--rokusho); }
.contents__body { grid-column: 7 / 13; font-size: 15.5px; }
.contents__body > p:first-child { color: var(--nezumi); }
.contents__body > p + p { margin-top: .7em; }
.contents__body a { white-space: nowrap; font-weight: 700; }

/* ===== できること・まいぷれ小樽・プライバシーポリシー ===== */
.doc--service .prose h3 + p + p { font-size: 14.5px; color: var(--nezumi); }
.doc--mypl .opener { background: var(--betsuzuri); }
.doc--mypl .opener__lead .links { margin-top: 1.4em; }
.doc--privacy .part__main { grid-column: 4 / 13; }
.doc--privacy .part__main > p, .doc--privacy .part__main > h3 { max-width: 40em; }
.doc--privacy .prose table { font-size: 14px; }
.doc--privacy .prose td:first-child { white-space: normal; width: 34%; }

/* ===== お知らせ・事例の記事 ===== */
.entry { grid-column: 4 / 10; }
.entry__eyecatch img { width: 100%; }
.entry__client { font-size: 13px; letter-spacing: .08em; color: var(--nezumi); }
.entry__back { grid-column: 4 / 10; margin-top: 56px; }
.list-page { padding-bottom: 112px; }
.list-page__list { grid-column: 1 / -1; }
.pagination { grid-column: 1 / -1; display: flex; gap: 24px; justify-content: center; align-items: baseline; margin-top: 40px; font-size: 14px; letter-spacing: .08em; }

/* ===== 会社のこと（奥付・発行元のページ） ===== */
.colophon .opener { padding-bottom: 72px; }
.cp-label { font-family: var(--gothic); font-size: 13px; font-weight: 700; letter-spacing: .24em; line-height: 1.6; padding-top: 14px; border-top: 3px solid var(--sumi); }
.cp-policy .cp-label { grid-column: 1 / 4; align-self: start; }
.cp-policy__body { grid-column: 4 / 13; }
.cp-policy__body h3.catch { font-size: clamp(40px, 5.6vw, 80px); font-weight: 900; letter-spacing: -.04em; line-height: 1.14; }
.cp-policy__body h3.catch .kuten { animation: none; }
.cp-policy__body h3.catch + p { margin-top: 48px; }
.cp-policy__body > p, .cp-policy__body > ul { max-width: 38em; }
.greet--company .greet__text { align-self: start; }
.greet--company .greet__body { margin-top: 30px; }
.greet--company .greet__body > h3 { font-size: clamp(26px, 2.8vw, 38px); font-weight: 900; letter-spacing: -.02em; }
.greet--company .greet__body > p:first-child, .greet--company .greet__body > p:nth-child(2) { font-family: inherit; font-weight: 400; font-size: inherit; letter-spacing: .02em; margin-top: 0; }
.greet--company .greet__body > * + * { margin-top: 1.15em; }
.greet--company .greet__body > h3 + p { margin-top: 28px; }
.greet--company .greet__body > p:last-child { margin-top: 28px; font-size: 15px; letter-spacing: .1em; text-align: right; }
.cp-facts__outline { grid-column: 1 / 8; }
.cp-facts__history { grid-column: 9 / 13; }
.cp-facts .prose { margin-top: 28px; }
.cp-facts .prose table { border-top: 0; }
.cp-facts .prose thead { display: none; }
.cp-more__community { grid-column: 1 / 8; }
.cp-more__group { grid-column: 9 / 13; }
.cp-more .prose { margin-top: 28px; font-size: 15.5px; }
.cp-more .prose ul > li + li { margin-top: 1em; }
.cp-access .cp-label { grid-column: 1 / 4; align-self: start; }
.cp-access__body { grid-column: 4 / 13; }
.cp-access__body > p:first-child { font-size: 18px; letter-spacing: .04em; }

/* ===== ご相談（フォーム） ===== */
.form-wrap { padding-bottom: 128px; }
.form-side { grid-column: 1 / 5; align-self: start; font-size: 15.5px; }
.form-side h2 { font-size: 20px; padding-top: 14px; border-top: 1px solid var(--sumi); }
.form-side .tel, .form-side a[href^="tel:"] { font-size: 24px; font-weight: 700; text-decoration: none; letter-spacing: .04em; }
.form-main { grid-column: 6 / 13; }
.form-h { font-size: clamp(26px, 2.6vw, 34px); font-weight: 900; padding-top: 14px; border-top: 3px solid var(--sumi); }
.contact-form { margin-top: 32px; }
.cf-group { margin: 0 0 32px; padding: 0; border: 0; min-width: 0; }
.cf-group legend { padding: 0; margin-bottom: 14px; font-weight: 700; }
.choices { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--kei); }
.choices--inline { grid-template-columns: repeat(auto-fit, minmax(9em, 1fr)); }
.choice { display: flex; gap: 12px; align-items: flex-start; padding: 13px 12px 12px 0; border-bottom: 1px solid var(--kei); cursor: pointer; line-height: 1.6; }
.choice input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--rokusho); }
.choice:hover span { color: var(--rokusho); }
.field { margin: 0 0 24px; }
.field label { display: block; margin-bottom: 8px; font-weight: 700; }
.field input, .field textarea { display: block; width: 100%; padding: 13px 14px; font: inherit; font-size: 17px; line-height: 1.6; color: var(--sumi); background: #fff; border: 1px solid #767779; border-radius: 0; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--rokusho); outline-offset: 0; border-color: var(--rokusho); }
.field textarea { min-height: 9em; resize: vertical; }
.req, .opt { margin-left: 10px; font-size: 12px; font-weight: 700; letter-spacing: .1em; }
.req { color: var(--rokusho); }
.opt { color: var(--nezumi); font-weight: 400; }
.field-help { margin-top: -8px; font-size: 14px; color: var(--nezumi); }
.field-error { margin-top: 6px; font-size: 14px; font-weight: 700; color: var(--error); }
.urgent-note { margin: -8px 0 32px; padding: 14px 0 14px 18px; border-left: 2px solid var(--rokusho); font-weight: 700; }
.contact-form__agree { margin-top: 8px; font-size: 14px; }
.contact-form__submit { margin-top: 24px; }
.contact-form__submit .btn { min-width: 18em; }
.contact-form__promise { margin-top: 14px; font-size: 14px; color: var(--nezumi); }
.form-status:empty { display: none; }
.cf-turnstile { margin: 8px 0 4px; min-height: 65px; }
.form-fallback { margin: 24px 0 32px; padding: 18px 0 18px 20px; border-left: 3px solid var(--error); }
.form-fallback__title { color: var(--error); font-size: 18px; }
.form-fallback > * + * { margin-top: .8em; }
.form-fallback ul > li + li { margin-top: .4em; }
.form-success { padding: 0 0 128px; }
.form-success__in { grid-column: 1 / 10; padding-top: 24px; border-top: 3px solid var(--sumi); }
.form-success__title { font-size: clamp(32px, 4vw, 52px); font-weight: 900; }

/* ===== 404 ===== */
.nf { padding: 96px 0 128px; }
.nf__bar { grid-column: 1 / -1; padding-top: 14px; border-top: 3px solid var(--sumi); font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--rokusho); }
.nf__h { grid-column: 1 / 11; margin-top: 64px; font-size: clamp(36px, 5vw, 68px); font-weight: 900; letter-spacing: -.035em; line-height: 1.2; }
.nf__lead { grid-column: 1 / 8; margin-top: 36px; }
.nf__links { grid-column: 1 / 8; margin-top: 40px; border-top: 1px solid var(--sumi); }
.nf__links li { padding: 16px 0; border-bottom: 1px solid var(--kei); }

.build-banner { position: relative; z-index: 30; height: 34px; overflow: hidden; background: #b3261e; color: #fff; text-align: center; padding: 0 16px; font-size: 13px; line-height: 34px; font-weight: 700; white-space: nowrap; text-overflow: ellipsis; }

/* ===== タブレット ===== */
@media (max-width: 1023px) {
  :root { --m: 32px; --sec: 104px; }
  .gnav ul { gap: 18px; font-size: 13px; }
  .mast__sub { display: none; }
  .toc__h { grid-column: 2 / 13; }
  .toc__lead { grid-column: 2 / 13; grid-row: auto; margin-top: 24px; max-width: 38em; }
  .toc__list { grid-row: auto; }
  .toc__cta { grid-row: auto; grid-column: 2 / 13; }
  .toc .folio { grid-row: auto; }
  .toc-row__ttl { grid-column: 2 / 9; }
  .toc-row__sub { grid-column: 9 / 12; }
  .svc__h, .insert__h, .insert__body, .news__h, .news__list, .news__all { grid-column: 1 / -1; }
  .insert__body, .news__list { margin-top: 40px; }
  .svc__body > p:not(.links) { grid-column: 1 / -1; }
  .svc__body > p.links { grid-column: 1 / -1; justify-content: flex-start; margin-top: 16px; }
  .way__grid { grid-template-columns: 1fr 1fr; }
  .way__h { grid-column: 1 / -1; padding-bottom: 20px; }
  .way__item:nth-child(2) { border-left: 0; padding-left: 0; }
  .way__item { padding-bottom: 30px; }
  .greet__fig { grid-column: 1 / 6; }
  .greet__text { grid-column: 6 / 13; }
  .opener__lead { grid-column: 4 / 13; }
  .part > h2 { grid-column: 1 / -1; margin-bottom: 22px; }
  .part__main, .part__wide, .feature .article__body > .part:first-child .part__main, .doc--privacy .part__main { grid-column: 1 / 11; }
  .part__wide { grid-column: 1 / -1; }
  .tel-band { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(3) { border-left: 0; padding-left: 0; }
  .steps li { padding-bottom: 24px; }
  .entry, .entry__back { grid-column: 1 / 11; }
  .contents__h { grid-column: 2 / -1; }
  .contents__body { grid-column: 2 / -1; margin-top: 14px; }
  .cp-policy .cp-label, .cp-access .cp-label { grid-column: 1 / -1; margin-bottom: 28px; }
  .cp-policy__body, .cp-access__body { grid-column: 1 / -1; }
  .cp-facts__outline, .cp-more__community { grid-column: 1 / -1; }
  .cp-facts__history, .cp-more__group { grid-column: 1 / -1; margin-top: 64px; }
  .form-side { grid-column: 1 / -1; margin-bottom: 56px; }
  .form-main { grid-column: 1 / -1; }
}

/* ナビはタブレット以下でメニューにたたむ */
@media (max-width: 900px) {
  .gnav { display: none; }
  .mast__in { align-items: center; gap: 18px; }
  .mast__cta { margin: 0 0 0 auto; }
  .menu { display: block; flex: none; }
}

/* ===== スマホ ===== */
@media (max-width: 639px) {
  :root { --m: 16px; --gap: 12px; --sec: 72px; }
  body { font-size: 16px; line-height: 1.9; }
  .mast__in { padding-top: 16px; padding-bottom: 12px; gap: 14px; }
  .mast__name { font-size: 21px; }
  .mast__name small { font-size: 9.5px; margin-bottom: 4px; }
  .mast__cta { font-size: 13px; }
  .menu__btn { padding-left: 4px; }
  .menu__panel { padding-top: 16px; }

  .cover { height: calc(100vh - 150px); height: calc(100svh - 150px); min-height: 540px; max-height: 720px; }
  .cover__body { padding-bottom: 20px; }
  .cover__title { font-size: min(17.4vw, 72px); line-height: 1.08; letter-spacing: -.05em; }
  .cover__foot { display: block; margin-top: 20px; padding-top: 14px; }
  .cover__lead { font-size: 16px; line-height: 1.65; }
  .cover__go { display: none; }

  .toc { padding-top: 64px; }
  .toc__mark { display: none; }
  .toc__h { grid-column: 1 / -1; font-size: 32px; }
  .toc__lead { grid-column: 1 / -1; grid-row: 3; margin-top: 40px; font-size: 15.5px; }
  .toc__list { grid-row: 2; margin-top: 26px; }
  .toc__cta { grid-column: 1 / -1; grid-row: 4; margin-top: 28px; }
  .toc .folio { grid-row: 5; }
  .toc-row { grid-template-columns: 30px minmax(0, 1fr) 30px; column-gap: 8px; padding: 20px 0 19px; }
  .toc-row__no { grid-column: 1 / 2; font-size: 12px; letter-spacing: .06em; }
  .toc-row__ttl { grid-column: 2 / 3; font-size: 19px; line-height: 1.5; }
  .toc-row__sub { grid-column: 2 / 3; font-size: 13px; line-height: 1.7; margin-top: 4px; }
  .toc-row__go { grid-column: 3 / 4; grid-row: 1 / 3; }
  .toc-list__else .toc-row__ttl { font-size: 16px; }
  .btn { display: flex; width: 100%; padding: 19px 22px; }
  .back__btns { display: block; }
  .back__btns > * + * { margin-top: 14px; }
  .back__or { display: block; }

  .h2 { font-size: 30px; }
  .folio { margin-top: 64px; }
  .way__grid { grid-template-columns: 1fr; }
  .way__h { padding: 22px 0 6px; }
  .way__item, .way__item:nth-child(2) { border-left: 0; padding: 22px 0 24px; border-top: 1px solid var(--kei); }
  .way__item h3 { font-size: 21px; min-height: 0; margin-bottom: 10px; }
  .svc__body > ul { grid-template-columns: 1fr; margin-top: 36px; }
  .svc__body > ul > li { font-size: 16px; padding: 15px 0 14px; }
  .insert__body { margin-top: 26px; padding-left: 18px; }
  .news__list { margin-top: 28px; }
  .greet__fig { grid-column: 1 / -1; }
  .greet__fig img { aspect-ratio: 1 / 1; object-position: 50% 22%; }
  .greet__text { grid-column: 1 / -1; margin-top: 28px; }
  .greet__body { margin-top: 22px; }
  .greet__body > p:first-child { font-size: 20px; }
  .news-list a { grid-template-columns: minmax(0, 1fr) 30px; row-gap: 2px; padding: 16px 0; }
  .news-list time { grid-column: 1 / -1; }

  .back { padding: 72px 0 64px; }
  .back__h { font-size: 36px; }
  .back__h, .back__lead, .back__act { grid-column: 1 / -1; }
  .back__act { margin-top: 32px; }
  .back--slim { padding: 48px 0; }
  .okuzuke__co, .okuzuke__nav { grid-column: 1 / -1; }
  .okuzuke__nav { margin-top: 28px; }

  .opener { padding: 32px 0 64px; }
  .opener__bar { font-size: 12px; gap: 14px; }
  .crumb ol { justify-content: flex-start; }
  .opener__h1 { margin-top: 36px; font-size: min(11.6vw, 52px); line-height: 1.2; }
  .opener__lead { grid-column: 1 / -1; margin-top: 28px; font-size: 15.5px; }
  .article__body { padding-bottom: 72px; }
  .part { padding: 34px 0 60px; }
  .part > h2 { font-size: 22px; margin-bottom: 18px; }
  .part__main, .part__wide, .feature .article__body > .part:first-child .part__main, .doc--privacy .part__main { grid-column: 1 / -1; }
  .feature .article__body > .part:first-child .prose > ul > li { font-size: 18px; padding: 13px 0 12px; }
  .prose h3:not(:first-child) { margin-top: 30px; padding-top: 28px; }
  .prose td:first-child { white-space: normal; }
  .tel-band { margin: -24px 0 40px; padding-left: 16px; }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li, .steps li:nth-child(3) { padding: 18px 0 20px; border-left: 0; }
  .steps li + li { border-top: 1px solid var(--kei); }
  .steps b span { display: inline-block; margin: 0 14px 0 0; }
  .pager__in { grid-template-columns: 1fr; gap: 0; padding-top: 0; padding-bottom: 0; }
  .pager a { padding: 18px 0; border-bottom: 1px solid var(--kei); }
  .pager span.pager__prev, .pager span.pager__next { display: none; }
  .pager a.pager__toc { order: 3; border: 0; padding: 18px 0; }
  .pager__next { justify-content: space-between; text-align: left; }
  .pager__t { font-size: 17px; }
  .contents__item { grid-template-columns: 30px minmax(0, 1fr); column-gap: 8px; padding: 26px 0 28px; }
  .contents__no { grid-column: 1 / 2; padding-top: .35em; font-size: 12px; letter-spacing: .06em; }
  .contents__h, .contents__body { grid-column: 2 / 3; }
  .contents__h { font-size: 21px; }
  .entry, .entry__back { grid-column: 1 / -1; }
  .list-page { padding-bottom: 72px; }
  .cp-policy__body h3.catch { font-size: min(13vw, 52px); }
  .cp-facts .prose table, .cp-facts .prose tbody, .cp-facts .prose tr, .cp-facts .prose td { display: block; }
  .cp-facts .prose tr { padding: 12px 0 11px; border-bottom: 1px solid var(--kei); }
  .cp-facts .prose td { padding: 0; border: 0; }
  .cp-facts .prose td:first-child { font-size: 13px; letter-spacing: .08em; color: var(--nezumi); }
  .form-wrap { padding-bottom: 72px; }
  .choices { grid-template-columns: 1fr; }
  .contact-form__submit .btn { min-width: 0; }
  .form-success { padding-bottom: 72px; }
  .form-success__in { grid-column: 1 / -1; }
  .nf { padding: 40px 0 72px; }
  .nf__h, .nf__lead, .nf__links { grid-column: 1 / -1; }
  .nf__h { margin-top: 36px; }

  .dock { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; align-items: stretch; background: var(--sumi); color: #fff; border-top: 2px solid var(--rokusho-hi); padding-bottom: env(safe-area-inset-bottom); transform: translateY(110%); visibility: hidden; transition: transform .25s, visibility 0s linear .25s; }
  .dock.is-on { transform: none; visibility: visible; transition: transform .25s, visibility 0s; }
  .dock a { display: flex; align-items: center; text-decoration: none; font-weight: 700; font-size: 15px; letter-spacing: .08em; padding: 15px 20px; }
  .dock__main { flex: 1 1 auto; justify-content: space-between; gap: 12px; }
  .dock__main::after { content: ""; width: 30px; height: 12px; background: currentColor; -webkit-mask: var(--arrow) no-repeat center / contain; mask: var(--arrow) no-repeat center / contain; }
  .dock__tel { flex: none; border-left: 1px solid rgba(255, 255, 255, .25); }
}

@media (max-width: 420px) {
  .build-banner { font-size: 10px; letter-spacing: 0; padding: 0 8px; }
}

@media (max-width: 380px) {
  .mast__name { font-size: 19px; }
  .mast__in { gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media print {
  .mast, .dock, .back, .menu { display: none !important; }
  .cover { height: auto; min-height: 0; color: var(--sumi); background: none; }
  .cover__photo { display: none; }
}
