/* しおり（2026-11-18）。意匠十三代目の見本（https://claude.ai/artifact/HnMaeiCk2x3UYmCvnzByzK、dougu/shiori.css）をそのまま写し、見本だけの切り替えの帯を外した。
   本番のクラス（tpk-…）と色の決まり（--tp-…）を使い回し、足りない所だけ tpk-sh- で足す。読み込むのは TPK_Shiori（スイッチがオンか管理者のときだけ） */

/* ---- ヘッダーの入口「しおり ○枚」 ---- */
.tpk-sh-in-hd{display:inline-flex; align-items:center; gap:6px; min-height:44px; padding:0 4px; color:var(--tp-ink,#22201C); text-decoration:none; font-size:.8125rem; white-space:nowrap}
.tpk-sh-in-hd svg{flex:none; color:var(--tp-green,#2F4F43)}
.tpk-sh-in-hd b{font-weight:700; font-variant-numeric:tabular-nums; color:var(--tp-green,#2F4F43)}
.tpk-band__head .tpk-sh-in-hd{margin-left:auto; margin-right:4px}
.tpk-band:not(.is-compact) .tpk-band__head .tpk-sh-in-hd{display:none}
.tpk-band.is-compact .tpk-band__nav .tpk-sh-in-hd{display:none}
.tpk-band__nav .tpk-sh-in-hd{padding:0 2px; gap:4px}
/* パソコンの帯は8つの項目でほぼいっぱいなので、印と数だけにする（読み上げと、乗せたときの札は「しおり ○枚」） */
.tpk-band__nav .tpk-sh-in-hd span{position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap}
.tpk-sh-in-hd[aria-current]{text-decoration:underline; text-underline-offset:.45em; text-decoration-thickness:1px}
.tpk-sh-in-hd.is-bump b{animation:tpk-sh-bump .6s var(--tpk-ease,ease)}
@keyframes tpk-sh-bump{0%{transform:none}35%{transform:translateY(-3px)}100%{transform:none}}

/* ---- お知らせ（言語の帯 .tpk-langbar の形をそのまま使う） ---- */
.tpk-sh-notice .tpk-langbar__msg b{font-weight:700; margin-right:.6em}
.tpk-sh-notice .tpk-langbar__msg time{color:var(--tp-ink-sub,#5C574D); margin-right:.6em; font-size:.75rem}

/* ---- ページの頭（細く。いちばん上は写真に譲る） ---- */
.tpk-sh{--sh-gap:clamp(40px,6vw,72px)}
.tpk-sh-head{padding:clamp(20px,3vw,32px) 0 clamp(14px,2vw,20px)}
.tpk-sh-head .tpk-ph-in{display:flex; align-items:flex-end; justify-content:space-between; gap:12px 24px; flex-wrap:wrap}
.tpk-sh-h1{margin:0; font-family:var(--tp-mincho,serif); font-weight:500; font-size:clamp(1.5rem,2.6vw,2rem); letter-spacing:.14em; line-height:1.3; display:flex; align-items:baseline; gap:.6em}
.tpk-sh-h1 small{font-family:var(--tp-gothic,sans-serif); font-size:.8125rem; letter-spacing:.04em; color:var(--tp-ink-sub,#5C574D); font-weight:400}
.tpk-sh-lead{margin:6px 0 0; font-size:.8125rem; color:var(--tp-ink-sub,#5C574D); line-height:1.7}
/* 「※会員登録不要です。」は2行めに朱で（ご主人 11/18 16:36。朱は地との差 4.5：1 以上） */
.tpk-sh-fv__note{display:block; width:fit-content; margin-top:4px; color:var(--tp-vermilion,#9B4A33); letter-spacing:.04em}   /* 幅は文に合わせる（吹き出しの矢印が文の真ん中を指すように） */
.tpk-sh-acts{display:flex; gap:8px; flex-wrap:wrap}
.tpk-sh-acts .tpk-cta{gap:8px}
.tpk-sh-acts svg{flex:none}

.tpk-sh-slide__wall{font-size:.8125rem}

/* ---- ページの頭（FV 案1「額と目録」。2026-11-18 ご主人 19:26、意匠の指定 karakuri-fv-shitei.md） ----
   パソコン：題｜ボタン／額と目録。781px 以下：題／額／ボタン（写真を先に見せる） */
.tpk-sh-fv{padding:clamp(36px,5vw,64px) 0 var(--sh-gap)}
.tpk-sh-fv__in{display:grid; grid-template-columns:minmax(0,1fr) auto; grid-template-areas:"head acts" "body body"; align-items:end; gap:0 24px}
.tpk-sh-fv__head{grid-area:head; min-width:0}
.tpk-sh-fv__acts{grid-area:acts}
.tpk-sh-fv__body{grid-area:body; margin-top:clamp(24px,3vw,36px); min-width:0}
.tpk-sh-fv__body[hidden]{display:none}
.tpk-sh-fv__title{display:flex; align-items:baseline; gap:6px 18px; flex-wrap:wrap}
.tpk-sh-fv .tpk-sh-h1{font-size:clamp(1.75rem,3.2vw,2.5rem); letter-spacing:.18em}
.tpk-sh-fv__n{margin:0; padding-left:18px; border-left:1px solid var(--tp-rule,#D8CFBE); font-size:.8125rem; color:var(--tp-ink-sub,#5C574D); line-height:1.2; white-space:nowrap}
.tpk-sh-fv__n[hidden]{display:none}
.tpk-sh-fv__n b{font-family:var(--tp-mincho,serif); font-weight:500; font-size:clamp(1.375rem,2.4vw,1.75rem); color:var(--tp-ink,#22201C); margin-right:3px; letter-spacing:.02em}
.tpk-sh-fv__lead{margin-top:12px}
/* パソコン：注記の下に間をつけて、「ページの使い方」と右のボタンを注記から離す（ご主人 11/21 18:32。余白のきまり 4・8・16・24・40 の 16）。
   間は注記の下の 16px だけにする（使い方の行の上の 4px は消す）。ボタンは題のかたまりの下の端にそろうので、同じだけ下がる */
@media (min-width:782px){
  .tpk-sh-fv__lead{margin-bottom:16px}
  .tpk-sh-fv .tpk-sh-fv__lead + .tpk-tour-row{margin-top:0}
}
.tpk-sh-fv__acts.tpk-sh-guest{display:flex; align-items:center; gap:12px; flex-wrap:wrap}
/* 「しおりとは？」：題の並びの続きに、小さな下線つきの字で控えめに（押せる高さは 44px） */
.tpk-sh-toha{align-self:center; font-size:.75rem; line-height:1.4; min-height:44px; box-sizing:border-box; display:inline-flex; align-items:center; color:var(--tp-green,#2F4F43); text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:4px; white-space:nowrap; padding:0}
.tpk-sh-toha:hover{text-decoration-thickness:2px}
@media (max-width:781px){
  .tpk-sh-fv__in{grid-template-columns:minmax(0,1fr); grid-template-areas:"head" "body" "acts"}
  .tpk-sh-fv__body{margin-top:20px}
  .tpk-sh-fv__acts{margin-top:20px}
  .tpk-sh-fv__acts.tpk-sh-acts .tpk-cta{flex:1 1 0; padding:10px 8px; font-size:.8125rem; min-height:48px}
}

/* 額：指でめくれる帯（吸い付き）。写真は切らずに、縦横の比のまま台紙の中でいちばん大きく（小さい画像も広げる） */
.tpk-sh-stage{position:relative}
.tpk-sh-stage__track{list-style:none; margin:0; padding:0; display:flex; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none; position:relative; overscroll-behavior-x:contain; background:var(--tp-kinari-deep,#E6DED0)}
.tpk-sh-stage__track::-webkit-scrollbar{display:none}
.tpk-sh-stage__track:focus-visible{outline:2px solid var(--tp-green,#2F4F43); outline-offset:3px}
.tpk-sh-stage__s{flex:0 0 100%; scroll-snap-align:center; height:var(--stage-h); display:flex}
.tpk-sh-stage__a{position:relative; display:flex; align-items:center; justify-content:center; width:100%; height:100%; overflow:hidden; container-type:size; padding:clamp(18px,2.4vw,32px); box-sizing:border-box}
.tpk-sh-stage__a img{display:block; width:min(100cqw, 100cqh * var(--r,1.5)); height:auto; max-width:none; box-shadow:0 14px 34px rgba(34,32,28,.22), 0 2px 6px rgba(34,32,28,.12)}
.tpk-sh-stage__bar{display:flex; align-items:flex-end; justify-content:space-between; gap:12px 20px; margin-top:16px}
.tpk-sh-stage__cap{margin:0; display:flex; flex-direction:column; gap:4px; min-width:0}
.tpk-sh-stage__bar .tpk-sh-stage__ctrl{position:static; margin:0; flex:none}   /* トップの .tpk-slider__ctrl（右下に重ねる形）より強く */
.tpk-sh-fv{--stage-h:clamp(380px,58vh,560px)}
.tpk-sh-fv.is-few{--stage-h:clamp(400px,64vh,620px)}
/* 目録：挟んだ順に小さく並べる。いま見ている1枚に線 */
.tpk-sh-mokuroku{list-style:none; margin:18px 0 0; padding:4px 2px 8px; display:flex; gap:8px; overflow-x:auto; scrollbar-width:thin; position:relative}
.tpk-sh-mokuroku li{flex:none}
.tpk-sh-mokuroku button{display:flex; justify-content:center; min-width:44px; height:64px; padding:0; border:0; background:none; cursor:pointer; position:relative; opacity:.62; transition:opacity var(--tpk-t-lift,.3s) var(--tpk-ease,ease)}
.tpk-sh-mokuroku button::after{content:""; position:absolute; left:0; right:0; bottom:-6px; height:2px; background:transparent; transition:background var(--tpk-t-lift,.3s) var(--tpk-ease,ease)}
.tpk-sh-mokuroku button:hover{opacity:.9}
.tpk-sh-mokuroku button[aria-current="true"]{opacity:1}
.tpk-sh-mokuroku button[aria-current="true"]::after{background:var(--tp-green,#2F4F43)}
.tpk-sh-mokuroku button:focus-visible{outline:2px solid var(--tp-green,#2F4F43); outline-offset:2px; opacity:1}
.tpk-sh-mokuroku img{display:block; height:100%; width:auto}
@media (max-width:781px){
  .tpk-sh-stage{margin:0 calc(-1 * var(--tp-gutter,16px))}
  .tpk-sh-fv{--stage-h:auto}
  .tpk-sh-stage__s{aspect-ratio:5/4; height:auto}
  .tpk-sh-stage__a{padding:14px}
  .tpk-sh-fv.is-few .tpk-sh-stage__s{aspect-ratio:1}
  .tpk-sh-stage__bar{flex-direction:column; align-items:stretch; gap:10px; margin-top:12px}
  .tpk-sh-stage__ctrl{justify-content:flex-end}
  .tpk-sh-mokuroku{margin:12px calc(-1 * var(--tp-gutter,16px)) 0; padding:4px var(--tp-gutter,16px) 10px; scroll-padding:0 var(--tp-gutter,16px)}
  .tpk-sh-mokuroku button{height:56px}
}
/* パソコン（1101px〜）：目録を右の列に（下の右の列と同じ 300px・間 56px）。3つずつの正方形のますに切らずに入れ、額の高さを超えたら縦に流す */
@media (min-width:1101px){
  .tpk-sh-fv:not(.is-few) .tpk-sh-fv__body{display:grid; grid-template-columns:minmax(0,1fr) 300px; grid-template-areas:"stage list" "bar list"; gap:0 56px; align-items:start}
  .tpk-sh-fv .tpk-sh-stage{grid-area:stage}
  .tpk-sh-fv .tpk-sh-stage__bar{grid-area:bar}
  .tpk-sh-fv .tpk-sh-mokuroku{grid-area:list; margin:0; padding:2px 2px 10px; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); align-content:start; gap:14px 10px; max-height:var(--stage-h); overflow:hidden auto}
  .tpk-sh-fv .tpk-sh-mokuroku button{height:auto; width:100%; aspect-ratio:1; background:var(--tp-kinari-deep,#E6DED0); padding:6px; box-sizing:border-box}
  .tpk-sh-fv .tpk-sh-mokuroku img{width:100%; height:100%; object-fit:contain}
}

/* ---- 一覧の上の帯 ---- */
.tpk-sh-list{padding-bottom:var(--sh-gap)}
.tpk-sh-tools{display:flex; align-items:center; justify-content:space-between; gap:10px 16px; flex-wrap:wrap; padding:14px 0; margin-bottom:20px; border-top:1px solid var(--tp-rule,#D8CFBE); border-bottom:1px solid var(--tp-rule,#D8CFBE)}
.tpk-sh-tools__n{margin:0; font-size:.875rem}
.tpk-sh-tools__n b{font-family:var(--tp-mincho,serif); font-size:1.25rem; font-weight:500; margin-right:2px}
.tpk-sh-tools__r{display:flex; gap:8px; align-items:center; flex-wrap:wrap}
.tpk-sh-seg{display:inline-flex; border:1px solid var(--tp-rule,#D8CFBE); border-radius:2px; overflow:hidden}
.tpk-sh-seg button{display:inline-flex; align-items:center; gap:6px; min-height:42px; padding:0 12px; border:0; background:transparent; color:var(--tp-ink-sub,#5C574D); font:inherit; font-size:.8125rem; cursor:pointer}
.tpk-sh-seg button + button{border-left:1px solid var(--tp-rule,#D8CFBE)}
.tpk-sh-seg button[aria-pressed="true"]{background:var(--tp-kinari-hi,#FAF6EE); color:var(--tp-ink,#22201C); font-weight:700; box-shadow:inset 0 -2px 0 var(--tp-green,#2F4F43)}
.tpk-sh-tbtn{display:inline-flex; align-items:center; gap:6px; min-height:44px; padding:0 12px; border:1px solid var(--tp-green,#2F4F43); border-radius:2px; background:transparent; color:var(--tp-green,#2F4F43); font:inherit; font-size:.8125rem; font-weight:700; cursor:pointer}
.tpk-sh-tbtn:hover{background:var(--tp-green-pale,#EDF2EA)}
.tpk-sh-full{margin:-8px 0 20px; padding:10px 14px; border-left:3px solid var(--tp-vermilion,#9B4A33); background:var(--tp-kinari-hi,#FAF6EE); font-size:.8125rem; line-height:1.7}

/* ---- カード（一覧の .tpk-card4 をそのまま。印は写真の右上） ---- */
.tpk-sh-grid{grid-template-columns:repeat(4,minmax(0,1fr)); gap:36px 22px; margin:0}
.tpk-sh-grid > li{position:relative}
.tpk-sh-wall{display:inline-flex; align-items:center; gap:4px; min-height:40px; margin-top:2px; font-size:.75rem; color:var(--tp-green,#2F4F43); text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:.4em; text-decoration-color:var(--tp-ul-color,rgba(47,79,67,.35))}
.tpk-sh-wall:hover{text-decoration-color:currentColor}
.tpk-sh-gone .tpk-card4__img{display:flex; align-items:center; justify-content:center; font-size:.75rem; color:var(--tp-ink-mute,#6B6559); border:1px dashed var(--tp-rule,#D8CFBE); background:transparent}

/* しおりの印（挟む・外す）。見た目 36px の丸、押せる範囲は 44px */
.tpk-sh-mark{position:absolute; top:8px; right:8px; z-index:2; width:36px; height:36px; padding:0; border:0; border-radius:50%; cursor:pointer;
  display:inline-flex; align-items:center; justify-content:center; background:rgba(250,246,238,.92); color:var(--tp-ink,#22201C); box-shadow:0 1px 4px rgba(34,32,28,.18);
  transition:transform var(--tpk-t-lift,.3s) var(--tpk-ease,ease), background .2s ease, color .2s ease}
.tpk-sh-mark::before{content:""; position:absolute; inset:-4px}
.tpk-sh-mark svg path{fill:transparent; transition:fill .25s ease}
.tpk-sh-mark[aria-pressed="true"]{background:var(--tp-green,#2F4F43); color:#FAF6EE}
.tpk-sh-mark[aria-pressed="true"] svg path{fill:currentColor}
.tpk-sh-mark:hover{transform:translateY(-1px)}
.tpk-sh-mark:focus-visible{outline:2px solid var(--tp-green,#2F4F43); outline-offset:2px}
.tpk-sh-mark.is-pop svg{animation:tpk-sh-pop .45s var(--tpk-ease,ease)}
@keyframes tpk-sh-pop{0%{transform:scale(1)}40%{transform:scale(1.22)}100%{transform:scale(1)}}
html[data-tp-color="dark"] .tpk-sh-mark:not([aria-pressed="true"]){background:rgba(31,30,27,.88); color:#EAE3D2}

/* 外すときは、静かに縮んで消える */
.tpk-sh-grid > li.is-leaving{opacity:0; transform:scale(.96); transition:opacity .35s ease, transform .35s var(--tpk-ease,ease)}

/* ---- 整理する（選ぶ形） ---- */
.tpk-sh.is-seiri .tpk-sh-mark,.tpk-sh.is-seiri .tpk-sh-wall{visibility:hidden}
.tpk-sh-pick{position:absolute; inset:0; z-index:3; width:100%; height:100%; padding:0; border:0; background:transparent; cursor:pointer; display:none}
.tpk-sh.is-seiri .tpk-sh-pick{display:block}
.tpk-sh-pick::after{content:""; position:absolute; top:8px; left:8px; width:26px; height:26px; border-radius:50%; border:2px solid #FAF6EE; background:rgba(34,32,28,.28); box-shadow:0 1px 4px rgba(0,0,0,.25)}
.tpk-sh-pick[aria-pressed="true"]::after{background:var(--tp-green,#2F4F43) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23FAF6EE' stroke-width='2.4'/%3E%3C/svg%3E") center/18px no-repeat; border-color:#FAF6EE}
.tpk-sh.is-seiri .tpk-sh-grid > li:has(.tpk-sh-pick[aria-pressed="true"]) .tpk-card4__img{outline:3px solid var(--tp-green,#2F4F43); outline-offset:-3px}
.tpk-sh.is-seiri .tpk-sh-grid > li:has(.tpk-sh-pick[aria-pressed="false"]) .tpk-card4__img img{opacity:.78}

/* 下の帯（整理・並べ替え）。外す・消すのボタンは、画面の下に固定 */
.tpk-sh-dock{position:sticky; bottom:0; z-index:40; margin-top:24px; background:var(--tp-kinari-hi,#FAF6EE); border-top:1px solid var(--tp-rule,#D8CFBE); box-shadow:0 -8px 24px rgba(34,32,28,.08);
  padding:10px 0 calc(10px + env(safe-area-inset-bottom,0px)); animation:tpk-sh-up .45s var(--tpk-ease,ease)}
@keyframes tpk-sh-up{from{transform:translateY(16px); opacity:0}to{transform:none; opacity:1}}
.tpk-sh-dock .tpk-ph-in{display:flex; align-items:center; gap:10px 12px; flex-wrap:wrap}
.tpk-sh-dock__say{margin:0 auto 0 0; font-size:.8125rem; color:var(--tp-ink-sub,#5C574D)}
.tpk-sh-dock__say b{color:var(--tp-ink,#22201C); font-size:1rem; font-family:var(--tp-mincho,serif); font-weight:500}
.tpk-sh-dock .tpk-cta{gap:6px}
.tpk-sh-cta--warn{border-color:var(--tp-ink-sub,#5C574D); color:var(--tp-ink,#22201C); background:transparent}
.tpk-sh-cta--warn:hover{background:var(--tp-kinari-mid,#F1EADC); color:var(--tp-ink,#22201C)}
.tpk-sh-cta--quiet{border-color:transparent; background:transparent; color:var(--tp-ink-sub,#5C574D); font-weight:400; text-decoration:underline; text-underline-offset:.4em}
.tpk-cta[disabled]{opacity:.45; cursor:not-allowed}

/* 整理・並べ替えのあいだは、一覧の上の帯のボタンを隠す（下の帯に集める） */
.tpk-sh:is(.is-seiri,.is-narabe) .tpk-sh-tools__r{display:none}

/* ---- 並べ替え ---- */
.tpk-sh.is-narabe .tpk-sh-mark,.tpk-sh.is-narabe .tpk-sh-wall{visibility:hidden}
.tpk-sh-move{display:none; gap:6px; margin-top:6px}
.tpk-sh.is-narabe .tpk-sh-move{display:flex}
.tpk-sh-move button{flex:1; min-height:44px; border:1px solid var(--tp-rule,#D8CFBE); background:var(--tp-kinari-hi,#FAF6EE); color:var(--tp-ink,#22201C); border-radius:2px; cursor:pointer; display:inline-flex; align-items:center; justify-content:center}
.tpk-sh-move button:disabled{opacity:.35; cursor:default}
.tpk-sh.is-narabe .tpk-sh-grid > li{cursor:grab; touch-action:pan-y; user-select:none; -webkit-user-select:none; -webkit-touch-callout:none; transition:transform .25s var(--tpk-ease,ease)}
.tpk-sh.is-narabe .tpk-sh-grid > li .tpk-card4{pointer-events:none}
.tpk-sh.is-narabe .tpk-card4__img{outline:1px dashed var(--tp-ink-mute,#6B6559); outline-offset:3px}
.tpk-sh-grid > li.is-held{z-index:20; cursor:grabbing; transition:none; filter:drop-shadow(0 16px 28px rgba(34,32,28,.28))}
.tpk-sh-grid > li.is-held .tpk-card4__img{outline:2px solid var(--tp-green,#2F4F43)}
.tpk-sh-grid > li.is-ghost{opacity:.35}
.tpk-sh-handle{display:none}
.tpk-sh.is-narabe .tpk-sh-handle{display:flex; position:absolute; top:8px; right:8px; z-index:2; width:36px; height:36px; border-radius:50%; align-items:center; justify-content:center; background:rgba(250,246,238,.92); color:var(--tp-ink,#22201C); box-shadow:0 1px 4px rgba(34,32,28,.18)}

/* ---- 分けて並べる（ギャラリーの古写真・錦絵の2つの列のように） ---- */
.tpk-sh-cols{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 clamp(28px,4vw,56px)}
.tpk-sh-col__h{display:flex; align-items:baseline; justify-content:space-between; margin:0 0 14px; padding-bottom:8px; border-bottom:1px solid var(--tp-rule,#D8CFBE); font-family:var(--tp-mincho,serif); font-weight:500; font-size:1.0625rem; letter-spacing:.1em}
.tpk-sh-col__h small{font-family:var(--tp-gothic,sans-serif); font-size:.75rem; color:var(--tp-ink-sub,#5C574D); letter-spacing:.02em}
.tpk-sh-cols .tpk-sh-grid{grid-template-columns:repeat(2,minmax(0,1fr))}

/* ---- 0枚のとき ---- */
.tpk-sh-empty{padding:clamp(28px,5vw,56px) clamp(20px,4vw,48px); background:var(--tp-kinari-hi,#FAF6EE); border:1px solid var(--tp-rule,#D8CFBE); display:grid; grid-template-columns:minmax(0,1fr) auto; gap:24px 40px; align-items:center; margin-bottom:var(--sh-gap)}
.tpk-sh-empty h2{margin:0 0 10px; font-family:var(--tp-mincho,serif); font-weight:500; font-size:1.375rem; letter-spacing:.1em}
.tpk-sh-empty p{margin:0; font-size:.875rem; line-height:1.9; color:var(--tp-ink-sub,#5C574D)}
.tpk-sh-empty__how{display:inline-flex; vertical-align:-6px; margin:0 2px}
.tpk-sh-empty__how .tpk-sh-mark{position:static; box-shadow:none; border:1px solid var(--tp-rule,#D8CFBE); pointer-events:none}
.tpk-sh-empty__go{display:flex; flex-direction:column; gap:8px}
.tpk-sh-empty__pic{position:relative; width:180px}
.tpk-sh-empty__pic img{display:block; width:100%; aspect-ratio:4/3; object-fit:cover}

/* ---- 最近見た写真 ---- */
.tpk-sh-sec{padding-bottom:var(--sh-gap)}
.tpk-sh-sec__h{display:flex; align-items:baseline; justify-content:space-between; gap:12px; margin:0 0 16px}
.tpk-sh-sec__h h2{margin:0; font-family:var(--tp-mincho,serif); font-weight:500; font-size:1.25rem; letter-spacing:.12em}
.tpk-sh-sec__h h2 small{margin-left:.8em; font-family:var(--tp-gothic,sans-serif); font-size:.75rem; letter-spacing:.02em; color:var(--tp-ink-sub,#5C574D); font-weight:400}
.tpk-sh-link{display:inline-flex; align-items:center; min-height:44px; background:none; border:0; padding:0; font:inherit; font-size:.8125rem; color:var(--tp-ink-sub,#5C574D); text-decoration:underline; text-underline-offset:.45em; text-decoration-thickness:1px; cursor:pointer}
.tpk-sh-recent{list-style:none; margin:0; padding:0 0 6px; display:grid; grid-auto-flow:column; grid-auto-columns:calc((100% - 5 * 14px) / 6); gap:14px; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:thin}
.tpk-sh-recent > li{scroll-snap-align:start; min-width:0; transition:opacity .3s ease, transform .3s var(--tpk-ease,ease)}
.tpk-sh-recent > li.is-leaving{opacity:0; transform:translateY(8px)}
.tpk-sh-recent a{display:block; color:var(--tp-ink,#22201C); text-decoration:none}
.tpk-sh-recent img{display:block; width:100%; aspect-ratio:4/3; object-fit:cover; background:var(--tp-kinari,#F2ECE0)}
.tpk-sh-recent__n{display:block; margin-top:6px; font-family:var(--tp-mincho,serif); font-size:.8125rem; line-height:1.45; letter-spacing:.04em; overflow:hidden; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2}
.tpk-sh-recent__b{display:flex; justify-content:space-between; margin-top:2px}
.tpk-sh-ib{width:44px; height:44px; display:inline-flex; align-items:center; justify-content:center; padding:0; border:0; background:transparent; color:var(--tp-ink-sub,#5C574D); cursor:pointer; border-radius:2px}
.tpk-sh-ib:hover{background:var(--tp-kinari-mid,#F1EADC); color:var(--tp-ink,#22201C)}
.tpk-sh-ib[aria-pressed="true"]{color:var(--tp-green,#2F4F43)}
.tpk-sh-ib svg path{fill:transparent}
.tpk-sh-ib[aria-pressed="true"] svg path{fill:currentColor}
.tpk-sh-ib:first-child{margin-left:-10px}
.tpk-sh-ib:last-child{margin-right:-10px}

/* ---- 新着・数・おすすめの記事（いまの部品を下に控えめに） ---- */
.tpk-sh-more{display:grid; grid-template-columns:minmax(0,1.5fr) minmax(0,1fr); gap:clamp(28px,4vw,56px)}
.tpk-sh-kazu{display:flex; align-items:baseline; gap:8px 20px; flex-wrap:wrap; margin:0 0 14px; font-size:.8125rem; color:var(--tp-ink-sub,#5C574D)}
.tpk-sh-kazu b{font-family:var(--tp-mincho,serif); font-size:1.25rem; font-weight:500; color:var(--tp-ink,#22201C); margin:0 3px; font-variant-numeric:tabular-nums}
.tpk-sh-newgrid{list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px}
.tpk-sh-newgrid li{position:relative}
.tpk-sh-newgrid a{display:block; color:var(--tp-ink,#22201C); text-decoration:none; font-size:.8125rem; line-height:1.45}
.tpk-sh-newgrid img{display:block; width:100%; aspect-ratio:4/3; object-fit:cover; margin-bottom:6px}
.tpk-sh-newgrid .tpk-sh-mark{width:32px; height:32px; top:6px; right:6px}
.tpk-sh-newgrid .tpk-sh-mark svg{width:16px; height:16px}
.tpk-sh-osu .tpk-yomi-ninki ol{margin:0; padding:0; list-style:none}
.tpk-sh-osu .tpk-yomi-ninki li a{color:var(--tp-ink,#22201C); text-decoration:none}

/* ---- しおりのきまり ---- */
.tpk-sh-rules{padding:0 0 var(--sh-gap)}
.tpk-sh-rules .tpk-ph-in > div{border-top:1px solid var(--tp-rule,#D8CFBE); padding-top:24px; display:grid; grid-template-columns:220px minmax(0,1fr); gap:16px 40px}
.tpk-sh-rules h2{margin:0; font-family:var(--tp-mincho,serif); font-weight:500; font-size:1.0625rem; letter-spacing:.12em}
.tpk-sh-rules ol{margin:0; padding-left:1.4em; font-size:.8125rem; line-height:1.9; color:var(--tp-ink-sub,#5C574D); max-width:44em}
/* 頭の1文と小見出し（2026-11-21 ご主人「何がメリットかを書く」。小見出しで分け、番号は続ける）。余白は 8・16・24 のきまり */
.tpk-sh-rules__body{max-width:44em}
.tpk-sh-rules__lead{margin:0 0 8px; font-size:.875rem; line-height:1.9; color:var(--tp-ink,#22201C)}
.tpk-sh-rules h3{margin:24px 0 8px; padding-top:16px; border-top:1px solid var(--tp-rule,#D8CFBE); font-size:.875rem; font-weight:600; line-height:1.6; color:var(--tp-ink,#22201C)}
.tpk-sh-rules h3:first-of-type{margin-top:16px}
.tpk-sh-later{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-top:18px; grid-column:2}
.tpk-sh-later > div{border:1px dashed var(--tp-rule,#D8CFBE); padding:12px 14px; font-size:.75rem; color:var(--tp-ink-mute,#6B6559); line-height:1.7}
.tpk-sh-later b{display:block; color:var(--tp-ink-sub,#5C574D); font-size:.8125rem}

/* ---- 軽い知らせ（下の真ん中に数秒） ---- */
.tpk-sh-toast{position:fixed; left:16px; right:16px; margin-inline:auto; width:fit-content; bottom:calc(20px + env(safe-area-inset-bottom,0px)); z-index:80; transform:translateY(16px); opacity:0; pointer-events:none;
  display:flex; align-items:center; gap:14px; max-width:calc(100vw - 32px); padding:6px 8px 6px 18px; background:var(--tp-ink,#22201C); color:var(--tp-kinari-hi,#FAF6EE); border-radius:2px;
  font-size:.8125rem; line-height:1.5; box-shadow:0 10px 28px rgba(0,0,0,.22); transition:opacity .35s ease, transform .5s var(--tpk-ease,ease)}
.tpk-sh-toast.is-on{opacity:1; transform:none; pointer-events:auto}
.tpk-sh-toast button,.tpk-sh-toast a{min-height:40px; padding:0 10px; border:0; background:transparent; color:var(--tp-kinari-hi,#FAF6EE); font:inherit; font-weight:700; text-decoration:underline; text-underline-offset:.4em; cursor:pointer; white-space:nowrap; display:inline-flex; align-items:center}
.tpk-sh.is-seiri ~ .tpk-sh-toast,.tpk-sh-toast.is-high{bottom:calc(96px + env(safe-area-inset-bottom,0px))}
html[data-tp-color="dark"] .tpk-sh-toast{background:#EAE3D2; color:#1F1E1B}
html[data-tp-color="dark"] .tpk-sh-toast :is(button,a){color:#1F1E1B}

/* 機能の説明の吹き出しの見た目は kioku-tour.css（ほかのページと同じ部品。2026-11-20） */
/* 預ける・引っ越しの頭の、消えやすさの注意 */
.tpk-sh-kie,.tpk-sh-dlg p.tpk-sh-kie{margin:0 0 10px; color:var(--tp-vermilion,#9B4A33); font-size:.8125rem; line-height:1.7}

/* ---- 「ページの使い方」の案内（見本 11/19 の形） ---- */
/* 「ページの使い方」のボタン：見出しのそばに、静かな字のボタン（押せる大きさは 44px） */
.tpk-tour-btn{display:inline-flex; align-items:center; gap:6px; min-height:44px; padding:0 4px; border:0; background:none; color:var(--tp-ink-sub,#5C574D); font:inherit; font-size:.875rem; cursor:pointer;
  text-decoration:underline; text-decoration-color:var(--tp-rule,#D8CFBE); text-underline-offset:.3em}
.tpk-tour-btn svg{flex:none; color:var(--tp-green,#2F4F43)}
.tpk-tour-btn:hover{color:var(--tp-ink,#22201C); text-decoration-color:currentColor}
.tpk-tour-btn:focus-visible{outline:2px solid var(--tp-green,#2F4F43); outline-offset:2px}
.tpk-tour-row{display:flex; justify-content:flex-end; margin:0 0 4px}
.tpk-ph-head .tpk-tour-row,.tpk-ph-info__head .tpk-tour-row,.tpk-sh-fv .tpk-tour-row,.tpk-cm-head .tpk-tour-row{justify-content:flex-start; margin:4px 0 0 -4px}
/* スマホで右上に付いてくる「ページの使い方」のタブ（2026-11-21 ご主人。意匠十五代目の見本 tab.css）。
   ページの中のボタンが画面の上へ過ぎたら右から出て、ボタンが見えたら引っ込む。押せるので角丸 4px（右の端に付くので左の2つの角だけ）。高さ 44px。
   パソコン（782px から）は上の帯に「使い方」があるので出さない */
.tpk-tour-tab{position:fixed; z-index:60; top:calc(8px + env(safe-area-inset-top, 0px)); right:0;
  display:inline-flex; align-items:center; gap:4px; min-height:44px; padding:0 16px 0 12px; box-sizing:border-box;
  border:1px solid var(--tp-rule,#D8CFBE); border-right:0; border-radius:4px 0 0 4px;
  background:var(--tp-kinari-hi,#FAF6EE); color:var(--tp-ink,#22201C); font:inherit; font-size:.8125rem; letter-spacing:.06em; cursor:pointer;
  box-shadow:0 2px 8px rgba(34,32,28,.08);
  transform:translateX(100%); opacity:0; visibility:hidden; transition:transform .24s ease, opacity .24s ease, visibility 0s linear .24s}
.tpk-tour-tab.is-on{transform:none; opacity:1; visibility:visible; transition:transform .24s ease, opacity .24s ease, visibility 0s}
.tpk-tour-tab svg{flex:none; color:var(--tp-green,#2F4F43)}
.tpk-tour-tab:hover{border-color:var(--tp-green,#2F4F43); color:var(--tp-green,#2F4F43)}
.tpk-tour-tab:focus-visible{outline:2px solid var(--tp-green,#2F4F43); outline-offset:2px}
@media (prefers-reduced-motion:reduce){ .tpk-tour-tab,.tpk-tour-tab.is-on{transition:none} }
@media (min-width:782px){ .tpk-tour-tab{display:none} }

/* 案内：画面を暗くし、説明する場所（穴）と吹き出し（札）だけを明るく */
.tpk-tour{position:fixed; inset:0; z-index:1000}
.tpk-tour__veil{position:absolute; inset:0}
.tpk-tour__hole{position:fixed; border-radius:4px; box-shadow:0 0 0 max(200vw,200vh) rgba(18,16,13,.66); outline:2px solid #FAF6EE; outline-offset:0; pointer-events:none;
  transition:width .2s ease, height .2s ease}   /* 位置（top・left）は動かさずに付ける。動かすと、スクロールに遅れて指す部品とずれる（2026-11-21 番頭の指摘） */
html[data-tp-color="dark"] .tpk-tour__hole{box-shadow:0 0 0 max(200vw,200vh) rgba(0,0,0,.74); outline-color:#9CC2AE}
/* 余白は決まった値（--tp-s…）で：番号→見出しは広め（s2）、見出し→説明は近く（s1）で見出しと説明をひとまとまりに。外の余白（s3）と、説明→ボタン（s3）でつり合いを取る（ご主人 11/20 16:17「見出しの上下にもう少しマージン」） */
.tpk-tour__card{position:fixed; box-sizing:border-box; width:min(340px, calc(100vw - 32px)); padding:var(--tp-s3,1.5rem) var(--tp-s3,1.5rem) var(--tp-s2,1rem); background:var(--tp-kinari-hi,#FAF6EE); color:var(--tp-ink,#22201C); border:1px solid var(--tp-rule,#D8CFBE); border-radius:2px;
  box-shadow:0 10px 30px rgba(10,9,8,.28); transition:opacity .2s ease}
/* 次の段へスクロールしているあいだは札を消し、止まってから指す部品のそばに出す（途中で部品を隠したり、ずれた所に出たりしないように） */
.tpk-tour.is-moving .tpk-tour__card{opacity:0; pointer-events:none}
.tpk-tour__card:focus{outline:none}
.tpk-tour__n{margin:0 0 var(--tp-s2,1rem); font-size:.75rem; color:var(--tp-ink-sub,#5C574D); letter-spacing:.06em}
.tpk-tour__h{margin:0 0 var(--tp-s1,.5rem); line-height:1.5; font-family:var(--tp-mincho,serif); font-weight:500; font-size:1.125rem; letter-spacing:.06em; padding-right:36px}
.tpk-tour__p{margin:0; font-size:.9375rem; line-height:1.75}
.tpk-tour__x{position:absolute; top:6px; right:6px; width:44px; height:44px; border:0; background:none; color:var(--tp-ink-sub,#5C574D); cursor:pointer; display:inline-flex; align-items:center; justify-content:center}
.tpk-tour__nav{display:flex; align-items:center; gap:8px; margin-top:var(--tp-s3,1.5rem)}
.tpk-tour__dots{display:flex; gap:6px; margin-right:auto}
.tpk-tour__dots i{width:6px; height:6px; border-radius:50%; background:var(--tp-rule,#D8CFBE)}
.tpk-tour__dots i.is-on{background:var(--tp-green,#2F4F43)}
.tpk-tour__b{min-height:44px; min-width:72px; padding:0 16px; border:1px solid var(--tp-green,#2F4F43); background:none; color:var(--tp-green,#2F4F43); font:inherit; font-size:.875rem; cursor:pointer; border-radius:2px}
.tpk-tour__b--go{background:var(--tp-green,#2F4F43); color:#FAF6EE}
html[data-tp-color="dark"] .tpk-tour__b--go{color:#1F1E1B}
.tpk-tour__b[hidden]{display:none}
.tpk-tour__b:focus-visible,.tpk-tour__x:focus-visible{outline:2px solid var(--tp-green,#2F4F43); outline-offset:2px}
@media (prefers-reduced-motion: reduce){.tpk-tour__hole,.tpk-tour__card{transition:none}}

/* ---- 写真のページの印 ---- */
/* 枠・字・印の線は「前の写真・次の写真」（スマホ）と同じ、罫の色の細い枠と墨の色（ご主人 11/19 14:56「同じにしてほしい」「アイコンの線の色も」） */
.tpk-sh-phbtn{display:inline-flex; align-items:center; gap:8px; min-height:44px; padding:0 14px; border:1px solid var(--tp-rule,#D8CFBE); border-radius:2px; background:transparent; color:var(--tp-ink,#22201C); font:inherit; font-size:.8125rem; font-weight:500; letter-spacing:.04em; cursor:pointer; white-space:nowrap; position:relative}
.tpk-sh-phbtn:hover{border-color:var(--tp-green,#2F4F43); color:var(--tp-green,#2F4F43)}
.tpk-sh-phbtn:focus-visible{outline:2px solid var(--tp-green,#2F4F43); outline-offset:2px}
.tpk-sh-phbtn svg path{fill:transparent; transition:fill .25s ease}
/* 挟んでいるときは、枠と字を緑にして印を塗る（塗りつぶしのボタンにはしない。前後のボタンと並べて浮かないように） */
.tpk-sh-phbtn[aria-pressed="true"]{border-color:var(--tp-green,#2F4F43); color:var(--tp-green,#2F4F43)}
.tpk-sh-phbtn[aria-pressed="true"] svg path{fill:currentColor}
.tpk-sh-phrow{display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; margin-top:12px}
.tpk-sh-phrow .tpk-ph-credit{font-size:.75rem; color:var(--tp-ink-sub,#5C574D)}
.tpk-sh-ph .tpk-ph-figure__img{position:relative}
.tpk-sh-ph .tpk-ph-figure__img img{display:block; width:100%; height:auto}
.tpk-sh-ph .tpk-sh-mark--big{width:44px; height:44px; top:12px; right:12px}
.tpk-sh-ph .tpk-sh-mark--big svg{width:22px; height:22px}
.tpk-sh-variant{margin:0 0 16px; display:flex; gap:8px; align-items:center; flex-wrap:wrap; font-size:.8125rem}
.tpk-sh-ph__wrap{max-width:960px}
.tpk-sh-ph__name{margin:28px 0 4px; font-family:var(--tp-mincho,serif); font-weight:500; font-size:clamp(1.5rem,3vw,2.2rem); letter-spacing:.12em}

/* ---- 見せる（ダイアログ） ---- */
.tpk-sh-dlg{width:min(560px, calc(100vw - 24px)); max-height:calc(100dvh - 24px); padding:0; border:1px solid var(--tp-rule,#D8CFBE); background:var(--tp-kinari-hi,#FAF6EE); color:var(--tp-ink,#22201C); border-radius:2px; box-shadow:0 24px 60px rgba(0,0,0,.25)}
.tpk-sh-dlg[open]{animation:tpk-sh-up .45s var(--tpk-ease,ease)}
.tpk-sh-dlg::backdrop{background:rgba(34,32,28,.45)}
.tpk-sh-dlg__in{padding:24px clamp(18px,4vw,28px) 22px; position:relative}
.tpk-sh-dlg h2{margin:0 0 6px; font-family:var(--tp-mincho,serif); font-weight:500; font-size:1.375rem; letter-spacing:.12em}
.tpk-sh-dlg p{font-size:.8125rem; line-height:1.8; color:var(--tp-ink-sub,#5C574D); margin:0 0 14px}
.tpk-sh-dlg__x{position:absolute; top:8px; right:8px}
.tpk-sh-dlg fieldset{border:0; padding:0; margin:0 0 16px}
.tpk-sh-dlg legend{font-size:.8125rem; font-weight:700; margin-bottom:8px}
.tpk-sh-chips{display:flex; gap:8px; flex-wrap:wrap}
.tpk-sh-chips label{position:relative}
.tpk-sh-chips input{position:absolute; opacity:0; inset:0}
.tpk-sh-chips span{display:inline-flex; align-items:center; min-height:44px; padding:0 16px; border:1px solid var(--tp-rule,#D8CFBE); background:var(--tp-white,#fff); font-size:.875rem; cursor:pointer; border-radius:2px}
.tpk-sh-chips input:checked + span{border-color:var(--tp-green,#2F4F43); box-shadow:inset 0 0 0 1px var(--tp-green,#2F4F43); color:var(--tp-green,#2F4F43); font-weight:700}
.tpk-sh-chips input:focus-visible + span{outline:2px solid var(--tp-green,#2F4F43); outline-offset:2px}
.tpk-sh-linkbox{display:flex; gap:8px; align-items:stretch; margin:4px 0 10px}
.tpk-sh-linkbox output{flex:1; min-width:0; display:flex; align-items:center; padding:0 12px; min-height:44px; border:1px solid var(--tp-rule,#D8CFBE); background:var(--tp-white,#fff); font-size:.875rem; font-family:ui-monospace,Menlo,monospace; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.tpk-sh-share{display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:6px; margin:6px 0 18px}
.tpk-sh-share a,.tpk-sh-share button{display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; min-height:60px; border:1px solid var(--tp-rule,#D8CFBE); background:var(--tp-white,#fff); color:var(--tp-ink,#22201C); font:inherit; font-size:.6875rem; text-decoration:none; cursor:pointer; border-radius:2px}
.tpk-sh-share .is-line{font-weight:700; font-size:.8125rem}
.tpk-sh-ogpmini{display:grid; grid-template-columns:120px minmax(0,1fr); gap:12px; align-items:center; padding:10px; border:1px solid var(--tp-rule,#D8CFBE); background:var(--tp-white,#fff); margin-bottom:18px}
.tpk-sh-ogpmini img{display:block; width:100%; aspect-ratio:1200/630; object-fit:cover}
.tpk-sh-ogpmini small{display:block; font-size:.6875rem; color:var(--tp-ink-mute,#6B6559)}
.tpk-sh-ogpmini b{font-size:.8125rem; font-weight:700; display:block}
.tpk-sh-made{border-top:1px solid var(--tp-rule,#D8CFBE); padding-top:14px}
.tpk-sh-made h3{margin:0 0 8px; font-size:.875rem}
.tpk-sh-made ul{list-style:none; margin:0; padding:0}
.tpk-sh-made li{display:grid; grid-template-columns:minmax(0,1fr) auto; gap:2px 10px; align-items:center; padding:8px 0; border-bottom:1px solid var(--tp-rule,#D8CFBE); font-size:.8125rem}
.tpk-sh-made li small{grid-column:1; color:var(--tp-ink-sub,#5C574D); font-size:.75rem}
.tpk-sh-made li .tpk-sh-link{grid-row:1 / span 2; grid-column:2}

/* ---- 見せるページ（開いた人） ---- */
.tpk-sh-guest{display:flex; align-items:center; gap:10px 16px; flex-wrap:wrap; margin:0}
.tpk-sh-like{display:inline-flex; align-items:center; gap:8px; min-height:44px; padding:0 14px; border:1px solid var(--tp-rule,#D8CFBE); border-radius:22px; background:var(--tp-white,#fff); color:var(--tp-ink,#22201C); font:inherit; font-size:.8125rem; cursor:pointer}
.tpk-sh-like svg path{fill:transparent; transition:fill .25s ease}
.tpk-sh-like[aria-pressed="true"]{border-color:var(--tp-vermilion,#9B4A33); color:var(--tp-vermilion,#9B4A33)}
.tpk-sh-like[aria-pressed="true"] svg path{fill:currentColor}
.tpk-sh-like.is-pop svg{animation:tpk-sh-pop .45s var(--tpk-ease,ease)}
.tpk-sh-badge{display:inline-flex; align-items:center; gap:6px; font-size:.75rem; color:var(--tp-ink-sub,#5C574D); padding:4px 10px; border:1px solid var(--tp-rule,#D8CFBE); background:var(--tp-kinari-hi,#FAF6EE)}
.tpk-sh-invite{display:grid; grid-template-columns:minmax(0,1fr) auto; gap:16px 32px; align-items:center; padding:24px clamp(18px,3vw,32px); background:var(--tp-kinari-hi,#FAF6EE); border:1px solid var(--tp-rule,#D8CFBE)}
.tpk-sh-invite h2{margin:0 0 6px; font-family:var(--tp-mincho,serif); font-weight:500; font-size:1.125rem; letter-spacing:.1em}
.tpk-sh-invite p{margin:0; font-size:.8125rem; color:var(--tp-ink-sub,#5C574D); line-height:1.8}

/* ---- 期限切れ ---- */
.tpk-sh-kire{padding:clamp(48px,9vw,112px) 0 var(--sh-gap); text-align:center}
.tpk-sh-kire__icon{display:inline-flex; width:64px; height:64px; align-items:center; justify-content:center; border:1px solid var(--tp-rule,#D8CFBE); border-radius:50%; color:var(--tp-ink-mute,#6B6559); margin-bottom:18px}
.tpk-sh-kire h1{margin:0 0 10px; font-family:var(--tp-mincho,serif); font-weight:500; font-size:clamp(1.375rem,3vw,1.875rem); letter-spacing:.12em}
.tpk-sh-kire p{margin:0 auto 22px; max-width:30em; font-size:.875rem; line-height:1.9; color:var(--tp-ink-sub,#5C574D)}
.tpk-sh-kire .tpk-sh-acts{justify-content:center}

/* ---- OGP の2案 ---- */
.tpk-sh-ogp{display:grid; gap:28px; padding:28px 0 var(--sh-gap)}
.tpk-sh-ogp figure{margin:0}
.tpk-sh-ogp img{display:block; width:100%; max-width:900px; height:auto; border:1px solid var(--tp-rule,#D8CFBE)}
.tpk-sh-ogp figcaption{margin-top:8px; font-size:.8125rem; line-height:1.8; color:var(--tp-ink-sub,#5C574D); max-width:900px}
.tpk-sh-ogp figcaption b{color:var(--tp-ink,#22201C)}

/* ---- フォトフレームの側の切り替え ---- */
.tpk-sh-pfnote{font-size:.75rem; color:var(--tp-ink-sub,#5C574D); margin:6px 0 0; line-height:1.7}

@media (max-width:1100px){ .tpk-sh-grid{grid-template-columns:repeat(3,minmax(0,1fr))} }
@media (max-width:781px){
  .tpk-sh-head .tpk-ph-in{align-items:flex-start}
  .tpk-sh-acts{width:100%}
  .tpk-sh-acts .tpk-cta{flex:1 1 0; padding:10px 8px; font-size:.8125rem}
  .tpk-sh-grid,.tpk-sh-cols .tpk-sh-grid{grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px 14px}
  .tpk-sh-grid .tpk-card4__name{font-size:.9375rem; letter-spacing:.04em; line-height:1.45}
  .tpk-sh-grid .tpk-card4__meta{font-size:.7188rem; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
  .tpk-sh-tools{display:grid; grid-template-columns:minmax(0,1fr) auto; gap:10px 8px}
  .tpk-sh-tools__r{display:contents}
  .tpk-sh-tools__r > span{grid-row:1; grid-column:2}
  .tpk-sh-tools__r .tpk-sh-tbtn{padding:0 10px}
  .tpk-sh-seg{grid-column:1 / -1; display:grid; grid-template-columns:1fr 1fr}
  .tpk-sh-seg button{justify-content:center; padding:0 8px}
  .tpk-sh-tools__n span{display:block; margin:2px 0 0 !important; font-size:.75rem}
  .tpk-sh-cols{grid-template-columns:minmax(0,1fr); gap:28px}
  .tpk-sh-recent{grid-auto-columns:42%}
  .tpk-sh-more{grid-template-columns:minmax(0,1fr)}
  .tpk-sh-newgrid{grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px 12px}
  .tpk-sh-rules .tpk-ph-in > div{grid-template-columns:minmax(0,1fr)}
  .tpk-sh-later{grid-column:1; grid-template-columns:minmax(0,1fr)}
  .tpk-sh-empty{grid-template-columns:minmax(0,1fr)}
  .tpk-sh-empty__pic{display:none}
  .tpk-sh-dock .tpk-ph-in{display:grid; grid-template-columns:1fr 1fr; gap:8px}
  .tpk-sh-dock__say{grid-column:1 / -1; margin:0}
  .tpk-sh-dock .tpk-cta{width:100%; padding:10px 6px; font-size:.8125rem; white-space:normal; text-align:center}
  .tpk-sh-dock .tpk-sh-span{grid-column:1 / -1}
  .tpk-sh-share{grid-template-columns:repeat(5,minmax(0,1fr))}
  .tpk-sh-invite{grid-template-columns:minmax(0,1fr)}
  .tpk-sh-phrow{flex-direction:column; align-items:stretch}
  .tpk-sh-phrow .tpk-sh-phbtn{justify-content:center}
}
@media (prefers-reduced-motion:reduce){
  .tpk-sh *,.tpk-sh-toast,.tpk-sh-dlg[open],.tpk-sh-in-hd b{animation:none !important; transition:none !important}
}
.tpk-sh-empty__how .tpk-sh-mark::before{display:none}

/* 確認係の直し（2026-11-18） */
.tpk-sh-toast span{white-space:nowrap}
.tpk-band__menu-t{white-space:nowrap}
@media (max-width:374px){ .tpk-band__head .tpk-sh-in-hd span{position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0)} }
/* 整理：選んだ写真＝外す写真を薄くし、× の印にする（残るほうがはっきり見える） */
.tpk-sh.is-seiri .tpk-sh-grid > li:has(.tpk-sh-pick[aria-pressed="false"]) .tpk-card4__img img{opacity:1}
.tpk-sh.is-seiri .tpk-sh-grid > li:has(.tpk-sh-pick[aria-pressed="true"]) .tpk-card4__img img{opacity:.35}
.tpk-sh.is-seiri .tpk-sh-grid > li:has(.tpk-sh-pick[aria-pressed="true"]) .tpk-card4__img{outline-color:var(--tp-vermilion,#9B4A33)}
.tpk-sh-pick[aria-pressed="true"]::after{background:var(--tp-vermilion,#9B4A33) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 7l10 10M17 7L7 17' fill='none' stroke='%23FAF6EE' stroke-width='2.4'/%3E%3C/svg%3E") center/16px no-repeat}
.tpk-sh-dock__sep{flex-basis:100%; height:0}
.tpk-sh-confirm{display:flex; align-items:center; gap:8px; flex-wrap:wrap; font-size:.8125rem}
.tpk-sh-confirm b{color:var(--tp-vermilion,#9B4A33)}
html[data-tp-color="dark"] .tpk-sh-mark[aria-pressed="true"]{box-shadow:0 0 0 2px #1F1E1B, 0 1px 6px rgba(0,0,0,.5)}
.tpk-sh-until{font-size:.75rem; color:var(--tp-ink-sub,#5C574D)}
.tpk-sh-linkbox output{white-space:normal; word-break:break-all; padding:8px 12px}
.tpk-sh-chips.is-locked label{pointer-events:none; opacity:.55}
@media (max-width:781px){ .tpk-sh-dock .tpk-sh-dock__sep{display:none} }


/* ---- 本番で足したもの（からくり） ---- */
/* 一覧のカードの印：カードは <li> の中の <a> 1つなので、印は同じ <li> を基準に重ねる（ギャラリー・新着の一覧） */
li:has(> .tpk-sh-mark){position:relative}
/* 写真のページ：出典の行の右に字のあるボタン（見本の案B）。「拡大して見る」と組（.tpk-ph-btns）で並べる。置き方は kioku-photos.css（2026-11-21） */
/* hidden を付けたら隠す（上の display の決まりが、ブラウザの hidden より強いため） */
.tpk-sh-in-hd[hidden],.tpk-sh-acts[hidden],.tpk-sh-mark[hidden],.tpk-sh-phbtn[hidden]{display:none}
/* 指で押しやすい大きさ（44px）にそろえる */
.tpk-sh-newgrid .tpk-sh-mark::before{inset:-6px}
.tpk-band__nav .tpk-sh-in-hd{min-width:44px; justify-content:center}
.tpk-sh-wall,.tpk-sh-toast button,.tpk-sh-toast a{min-height:44px}
.tpk-sh-seg button{min-height:44px}
.tpk-sh-gonesec{margin-top:36px}
.tpk-sh-admin{margin-top:16px; padding:8px 12px; border-left:3px solid var(--tp-vermilion,#9B4A33); font-size:.8125rem}
.tpk-sh-more.is-solo{grid-template-columns:minmax(0,1fr)}
.tpk-sh-newgrid span{display:block; margin-top:6px; font-family:var(--tp-mincho,serif); font-size:.8125rem; line-height:1.5}
.tpk-sh-gone .tpk-card4__img{min-height:120px; aspect-ratio:4/3}

/* ---- しおりを見せる（1回めの後半） ---- */
/* 見られる期間は1週間・1か月の2つを、真ん中にそろえて同じ幅で（ご主人 11/18 13:57。意匠の見本と同じ） */
.tpk-sh-chips--kikan{justify-content:center; gap:12px; flex-wrap:nowrap}
.tpk-sh-chips--kikan label{flex:1 1 0; max-width:160px}
.tpk-sh-chips--kikan span{display:flex; justify-content:center; width:100%; box-sizing:border-box}
.tpk-sh-share{grid-template-columns:repeat(4,minmax(0,1fr))}
.tpk-sh-made__b{grid-row:1 / span 2; grid-column:2; display:flex; gap:2px 10px; align-items:center; flex-wrap:wrap; justify-content:flex-end; font-size:.75rem}
.tpk-sh-made__b .tpk-sh-link{min-height:44px}
.tpk-sh-minna{display:flex; gap:10px; align-items:flex-start; margin:0 0 16px; font-size:.8125rem; cursor:pointer}
.tpk-sh-minna input{width:20px; height:20px; margin:2px 0 0; flex:none}
.tpk-sh-minna small{display:block; margin-top:4px; color:var(--tp-ink-sub,#5C574D); font-size:.75rem; line-height:1.7}
.tpk-sh--mise .tpk-sh-head .tpk-ph-in{display:flex; flex-wrap:wrap; gap:12px 24px; align-items:flex-end; justify-content:space-between}
.tpk-sh-like b{font-variant-numeric:tabular-nums}
.tpk-sh-like[aria-pressed="true"] svg path{fill:currentColor}
.tpk-sh-like:disabled{opacity:.6}
.tpk-sh-minnalist > li{position:relative}
.tpk-sh-minna__a{display:block; color:var(--tp-ink,#22201C); text-decoration:none}
.tpk-sh-minna__imgs{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:2px; aspect-ratio:4/3; overflow:hidden; background:var(--tp-kinari-hi,#FAF6EE); margin-bottom:8px}
.tpk-sh-minna__imgs img{display:block; width:100%; height:100%; object-fit:cover}

/* ---- 預ける・引っ越し（2回め） ---- */
.tpk-sh-back{display:flex; gap:4px 18px; flex-wrap:wrap; margin:14px 0 0}
.tpk-sh-btns{display:flex; gap:8px 14px; flex-wrap:wrap; align-items:center}
.tpk-sh-dlg h3{margin:0 0 8px; font-size:.875rem}
.tpk-sh-get{border-top:1px solid var(--tp-rule,#D8CFBE); padding-top:14px; margin-top:6px}
.tpk-sh-get label > span:first-child{display:block; font-size:.75rem; color:var(--tp-ink-sub,#5C574D); margin-bottom:4px}
.tpk-sh-linkbox input{flex:1; min-width:0; min-height:44px; padding:0 12px; border:1px solid var(--tp-rule,#D8CFBE); background:var(--tp-white,#fff); color:var(--tp-ink,#22201C); font:inherit; font-size:1rem; font-family:ui-monospace,Menlo,monospace; letter-spacing:.06em; border-radius:2px}
.tpk-sh-linkbox input:focus-visible{outline:2px solid var(--tp-green,#2F4F43); outline-offset:1px}
.tpk-sh-linkbox .tpk-sh-pass{font-size:1.125rem; letter-spacing:.12em; text-overflow:clip}
.tpk-sh-hk{display:grid; grid-template-columns:148px minmax(0,1fr); gap:16px; align-items:center; margin:4px 0 14px}
.tpk-sh-qr{display:block; width:148px; height:148px; border:1px solid var(--tp-rule,#D8CFBE)}
.tpk-sh-hk .tpk-sh-pass{display:block; font-family:ui-monospace,Menlo,monospace; font-size:1.75rem; letter-spacing:.14em; color:var(--tp-ink,#22201C)}
.tpk-sh-hk small{display:block; margin-top:6px; font-size:.75rem; color:var(--tp-ink-sub,#5C574D)}
.tpk-sh-steps{margin:0 0 12px; padding-left:1.4em; font-size:.8125rem; line-height:1.8; color:var(--tp-ink-sub,#5C574D)}
.tpk-sh-dlg .tpk-sh-note{font-size:.75rem}
@media (max-width:480px){ .tpk-sh-hk{grid-template-columns:1fr; justify-items:center; text-align:center} }

/* 預けた期限の説明図（ご主人 11/18「簡単なアイコンで説明図も」）。線だけのアイコンを緑、言葉は小さく。罫線の箱に2段 */
.tpk-sh-zu{margin:16px 0; padding:14px 14px 12px; border:1px solid var(--tp-rule,#D8CFBE); background:var(--tp-kinari,#F2EBDF)}
.tpk-sh-zu__rows{display:grid; gap:12px}
.tpk-sh-zu__row{display:flex; align-items:flex-start; gap:6px 8px}
.tpk-sh-zu__row + .tpk-sh-zu__row{padding-top:12px; border-top:1px dashed var(--tp-rule,#D8CFBE)}
.tpk-sh-zu__i{display:flex; flex-direction:column; align-items:center; gap:4px; flex:1 1 0; min-width:0; text-align:center; font-size:.75rem; line-height:1.4; color:var(--tp-ink,#22201C)}
.tpk-sh-zu__i svg{color:var(--tp-green,#2F4F43)}
.tpk-sh-zu__i small{display:block; margin-top:2px; font-size:.6875rem; color:var(--tp-vermilion,#9B4A33)}
.tpk-sh-zu__to{flex:none; margin-top:6px; color:var(--tp-ink-sub,#5C574D)}
.tpk-sh-zu__or{flex:none; align-self:flex-start; margin-top:8px; font-size:.75rem; color:var(--tp-ink-sub,#5C574D)}
.tpk-sh-zu figcaption{margin-top:12px; font-size:.8125rem; line-height:1.7; color:var(--tp-ink,#22201C)}
