/*
 * フォトフレーム（/howto/photo-frame/。inc/class-tpk-frame.php、assets/kioku-frame.js）。
 * ページの組み方は使い方と同じ（kioku-photos.css の tpk-ph-… と tpk-howto…）。ここに書くのは、流し方を選ぶ欄・3つの使い方の絵・全画面の額だけ。
 * 色はテーマの --tp-… を借りる。額の中は写真の上なので、明るい・墨のどちらでも黒地に白い字。
 */

/* ------------------------------------------------------------------
 * 頭の帯：暗い地に、左に説明と流し方、右（スマホでは上）に見本の額（2026-10-31 ご主人「a と b のよい所を足して」）。
 * 明るい・墨のどちらでも同じ暗い地（額縁の印象を先に）。地と字の色はここで決める
 * ------------------------------------------------------------------ */
.tpk-ph-head.tpk-pf-hero{background:#141311; color:#EDE6D6; padding:20px 0 40px}
.tpk-pf-hero .tpk-ph-back a{color:#CFC6B4}
.tpk-pf-hero .tpk-ph-h1{color:#EDE6D6}
.tpk-pf-hero .tpk-ph-lead{color:#CFC6B4}
.tpk-pf-hero .tpk-pf-note{color:#A89F8E}
.tpk-pf-hero__grid{display:grid; gap:20px}
.tpk-pf-hero__text{display:flex; flex-direction:column; gap:16px; min-width:0}
.tpk-pf-works{display:flex; gap:8px; align-items:flex-start; font-size:.875rem; line-height:1.7; color:#EDE6D6}
.tpk-pf-works svg{flex:none; margin-top:3px}
@media (min-width:1000px){
  .tpk-ph-head.tpk-pf-hero{padding:24px 0 56px}
  .tpk-pf-hero__grid{grid-template-columns:minmax(0,5fr) minmax(0,7fr); gap:56px; align-items:start}
  .tpk-pf-hero__text{grid-column:1; grid-row:1}
  .tpk-pf-view{grid-column:2; grid-row:1; position:sticky; top:96px}
}

/* 見本の額（選んだ流し方で、写真がその場で替わる。kioku-frame.js） */
.tpk-pf-view{display:flex; flex-direction:column; align-items:center; gap:10px; min-width:0}
.tpk-pf-mock{position:relative; overflow:hidden; background:#000; border:10px solid #2A2723; box-shadow:0 0 0 1px #3D3A33, 0 30px 60px -30px #000; width:100%; aspect-ratio:16/10; transition:width .3s}
.tpk-pf-mock[data-d="tl"]{width:88%; aspect-ratio:4/3}
.tpk-pf-mock[data-d="tp"]{width:min(62%, 300px); aspect-ratio:3/4}
.tpk-pf-mock[data-d="sl"]{width:100%; aspect-ratio:19.5/9; border-width:8px; border-radius:24px}
.tpk-pf-mock[data-d="sp"]{width:min(40%, 190px); aspect-ratio:9/19.5; border-width:8px; border-radius:24px}
.tpk-pf-mock__s img{position:absolute; inset:0; width:100%; height:100%; object-fit:contain; opacity:0; transition:opacity 1.2s ease; max-width:none}
.tpk-pf-mock__s img.is-cover{object-fit:cover}
.tpk-pf-mock__s img.is-on{opacity:1}
.tpk-pf-mock::after{content:""; position:absolute; inset:auto 0 0; height:40%; background:linear-gradient(transparent, rgba(0,0,0,.55)); pointer-events:none}
.tpk-pf-mock__cap,.tpk-pf-mock__clk{position:absolute; z-index:1; bottom:10px; margin:0; color:#fff; text-shadow:0 1px 3px #000; font-size:.6875rem; line-height:1.45}
.tpk-pf-mock__cap{left:12px; right:96px}
.tpk-pf-mock__cap b{display:block; font-family:var(--tp-mincho,serif); font-weight:500; font-size:.8125rem}
.tpk-pf-mock__clk{right:12px; text-align:right}
.tpk-pf-mock__clk[hidden]{display:none}
.tpk-pf-mock__clk b{display:block; font-size:1.25rem; font-weight:400; font-variant-numeric:tabular-nums}
/* 細い縦の額では、名前を時計の上に回す */
.tpk-pf-mock[data-d="sp"] .tpk-pf-mock__cap,.tpk-pf-mock[data-d="tp"] .tpk-pf-mock__cap{right:10px; left:10px; bottom:60px}
.tpk-pf-mock[data-d="sp"] .tpk-pf-mock__cap{font-size:.625rem}
.tpk-pf-mock[data-d="sp"] .tpk-pf-mock__cap b{font-size:.6875rem}
.tpk-pf-shape{display:flex; flex-wrap:wrap; justify-content:center; gap:6px 28px}   /* 端末の組と向きの組のあいだは広く（2つの組だと分かるように） */
.tpk-pf-shape[hidden],.tpk-pf-view__note[hidden]{display:none}
.tpk-pf-shape__g{display:flex; flex-wrap:wrap; gap:6px}
.tpk-pf-shape__g[hidden]{display:none}
.tpk-pf-shape label{position:relative; display:inline-flex; cursor:pointer}
.tpk-pf-shape input{position:absolute; opacity:0; width:1px; height:1px}
.tpk-pf-shape label span{display:inline-flex; align-items:center; min-height:44px; padding:0 14px; font-size:.8125rem; border:1px solid #3D3A33; border-radius:2px; background:#1F1D1A; color:#EDE6D6}
.tpk-pf-shape input:checked + span{background:#EDE6D6; border-color:#EDE6D6; color:#141311}
.tpk-pf-shape input:focus-visible + span{outline:2px solid #EDE6D6; outline-offset:2px}
.tpk-pf-shape input:disabled + span{opacity:.4; cursor:default}
.tpk-pf-view__note{margin:0; text-align:center}
/* スマホ・タブレット：選びながら額が見えるように、額を上に止める（額は画面の高さの3割ほど） */
@media (max-width:999px){
  .tpk-pf-view{position:sticky; top:0; z-index:5; background:#141311; padding:8px 0; order:-1}   /* スマホでは額が上（Tab の順はパソコンの見た目に合わせて、説明が先） */
  .tpk-pf-mock[data-d="pc"]{width:min(100%, calc(26vh * 1.6))}
  .tpk-pf-mock[data-d="tl"]{width:min(88%, calc(26vh * 1.33))}
  .tpk-pf-mock[data-d="tp"]{width:min(62%, calc(26vh * .75))}
  .tpk-pf-mock[data-d="sl"]{width:min(100%, calc(26vh * 2.17))}
  .tpk-pf-mock[data-d="sp"]{width:min(40%, calc(26vh * .46))}
  /* 上に止まる部分を低くする（額は画面の高さの4分の1ほど、選び肢は1段に） */
  .tpk-pf-shape{gap:6px 14px; flex-wrap:nowrap}
  .tpk-pf-shape__g{flex-wrap:nowrap; gap:4px}
  .tpk-pf-shape label span{padding:0 8px; font-size:.75rem}
  .tpk-pf-view__note{font-size:.75rem; line-height:1.5}
}
/* 暗い地の上の選ぶ欄とボタン（全画面の額の中へ移したときは、下の .tpk-pf__panel の色になる） */
.tpk-pf-hero .tpk-pf-f legend{color:#A89F8E}
.tpk-pf-hero .tpk-pf-f label span{background:#1F1D1A; border-color:#3D3A33; color:#EDE6D6}
.tpk-pf-hero .tpk-pf-f input:checked + span{background:#EDE6D6; border-color:#EDE6D6; color:#141311}
.tpk-pf-hero .tpk-pf-f input:focus-visible + span{outline-color:#EDE6D6}
.tpk-pf-hero .tpk-pf-more{border-top-color:#3D3A33}
.tpk-pf-hero .tpk-pf-more summary{color:#EDE6D6; text-decoration:underline; text-underline-offset:3px}
.tpk-pf-hero .tpk-cta--primary,.tpk-pf-bar .tpk-cta--primary{background:#EDE6D6; border-color:#EDE6D6; color:#141311; gap:10px}
.tpk-pf-hero .tpk-cta--primary:hover,.tpk-pf-bar .tpk-cta--primary:hover{background:#fff; border-color:#fff; color:#141311}
.tpk-pf-hero .tpk-cta--primary:focus-visible,.tpk-pf-bar .tpk-cta--primary:focus-visible{outline:2px solid #EDE6D6; outline-offset:3px}
/* スマホでは「全画面で始める」を画面の下にいつも出す（B） */
.tpk-pf-bar{position:sticky; bottom:0; z-index:20; background:rgba(20,19,17,.94); border-top:1px solid #3D3A33; padding:10px 0 calc(10px + env(safe-area-inset-bottom,0px)); color:#CFC6B4}
.tpk-pf-bar[hidden]{display:none}
.tpk-pf-bar .tpk-ph-in{display:flex; align-items:center; justify-content:space-between; gap:10px}
.tpk-pf-bar__sum{font-size:.75rem; line-height:1.5; min-width:0}
.tpk-pf-bar .tpk-cta{flex:none; white-space:nowrap; min-height:48px}
@media (min-width:1000px){.tpk-pf-bar{display:none}}
@media (max-width:999px){html.tpk-pf-has-bar .tpk-totop{display:none}}

/* ------------------------------------------------------------------
 * 流し方を選ぶ欄（題の帯の中）
 * ------------------------------------------------------------------ */
.tpk-pf-start{display:flex; flex-direction:column; gap:20px; margin-top:8px}
.tpk-pf-set{display:flex; flex-direction:column; gap:14px}
.tpk-pf-f{border:0; margin:0; padding:0; min-width:0; display:grid; grid-template-columns:9em minmax(0,1fr); align-items:center; column-gap:16px}
.tpk-pf-f legend{float:left; padding:0; font-size:.8125rem; color:var(--tp-ink-sub,#5C574D); letter-spacing:.04em}
.tpk-pf-f__opts{display:flex; flex-wrap:wrap; gap:8px}
.tpk-pf-f label{position:relative; display:inline-flex; cursor:pointer}
.tpk-pf-f input{position:absolute; opacity:0; width:1px; height:1px}
.tpk-pf-f label span{
  display:inline-flex; align-items:center; min-height:44px; padding:8px 16px; font-size:.875rem; line-height:1.4;
  border:1px solid var(--tp-rule,#D8CFBE); border-radius:2px; background:var(--tp-white,#fff); color:var(--tp-ink,#22201C);
}
.tpk-pf-f input:checked + span{border-color:var(--tp-green,#2F4F43); background:var(--tp-green,#2F4F43); color:var(--tp-white,#fff)}
.tpk-pf-f input:focus-visible + span{outline:2px solid var(--tp-green,#2F4F43); outline-offset:2px}
.tpk-pf-more{border-top:1px solid var(--tp-rule,#D8CFBE); padding-top:10px}
.tpk-pf-more summary{display:inline-flex; align-items:center; min-height:44px; cursor:pointer; font-size:.875rem; color:var(--tp-green,#2F4F43)}
.tpk-pf-more[open] summary{margin-bottom:10px}
.tpk-pf-more .tpk-pf-f + .tpk-pf-f{margin-top:14px}
.tpk-pf-note{font-size:.8125rem; line-height:1.7; color:var(--tp-ink-sub,#5C574D); margin:10px 0 0}
.tpk-pf-go{display:flex; flex-wrap:wrap; align-items:center; gap:12px 20px}
.tpk-pf-go .tpk-pf-note{margin:0; max-width:32em}
@media (max-width:599px){
  .tpk-pf-f{grid-template-columns:minmax(0,1fr); row-gap:6px}
  .tpk-pf-f legend{float:none; margin-bottom:6px}
  .tpk-pf-go .tpk-cta{width:100%; justify-content:center}
}

/* ------------------------------------------------------------------
 * 3つの使い方（パソコン・タブレット・テレビの絵に、写真を1枚ずつ）
 * ------------------------------------------------------------------ */
.tpk-pf-scenes{list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:var(--tp-s4,40px) var(--tp-s3,24px)}
/* 端末ごとの全画面：見出しの「Android のスマホ・タブレット」が折れないように、左の列を広く */
@media (min-width:600px){.tpk-pf-page .tpk-howto__dev{grid-template-columns:13em minmax(0,1fr)}}
/* 絵の中の写真は、見えているあいだ少しずつ替わる（kioku-frame.js。動きを減らす設定では替えない） */
.tpk-pf-dev img{transition:opacity .8s ease}
.tpk-pf-dev img.is-out{opacity:0}
.tpk-pf-scenes li{display:flex; flex-direction:column; gap:8px; min-width:0}
.tpk-pf-scenes h3,.tpk-pf-page .tpk-howto__qa dt{text-wrap:balance}
/* ことばの途中では折らない（「テレビにつない／で」を防ぐ。auto-phrase は対応するブラウザだけ。トップと同じ） */
.tpk-pf-scenes h3,.tpk-pf-page .tpk-ph-lead{word-break:auto-phrase}
.tpk-pf-scenes h3{font-family:var(--tp-mincho,serif); font-weight:500; font-size:1rem; letter-spacing:.06em; line-height:1.5; margin-top:6px}
.tpk-pf-scenes p{font-size:.875rem; line-height:1.8; color:var(--tp-ink-sub,#5C574D)}
.tpk-pf-dev{position:relative; height:132px; display:flex; align-items:flex-end; justify-content:center}
.tpk-pf-dev::before{content:""; position:absolute; inset:auto 0 0; height:1px; background:var(--tp-rule,#D8CFBE)}
.tpk-pf-dev img{display:block; object-fit:cover; background:#111; border:6px solid #1d1c1a; box-sizing:border-box; max-width:100%}
.tpk-pf-dev--pc img{width:168px; height:105px; border-radius:4px 4px 0 0; margin-bottom:14px}
.tpk-pf-dev--pc::after{content:""; position:absolute; bottom:1px; left:50%; width:196px; max-width:100%; height:12px; transform:translateX(-50%); background:#3a3833; border-radius:0 0 6px 6px}
.tpk-pf-dev--tab img{width:84px; height:118px; border-radius:8px; border-width:5px; margin-bottom:6px}
.tpk-pf-dev--sp img{width:54px; height:110px; border-radius:10px; border-width:4px; margin-bottom:6px}
.tpk-pf-dev--tv img{width:180px; height:101px; border-width:4px; border-radius:2px; margin-bottom:22px}
.tpk-pf-dev--tv::after{content:""; position:absolute; bottom:1px; left:50%; width:56px; height:20px; transform:translateX(-50%); border:2px solid #3a3833; border-top:0; border-bottom-width:4px; box-sizing:border-box}
@media (max-width:767px){
  .tpk-pf-scenes{grid-template-columns:minmax(0,1fr)}
  .tpk-pf-scenes li{display:grid; grid-template-columns:140px minmax(0,1fr); grid-template-rows:auto 1fr; column-gap:16px; row-gap:4px}
  .tpk-pf-dev{grid-row:1 / 3; height:100px; transform-origin:center bottom}
  .tpk-pf-dev--pc img{width:120px; height:75px; margin-bottom:12px}
  .tpk-pf-dev--pc::after{width:140px}
  .tpk-pf-dev--tab img{width:64px; height:90px}
  .tpk-pf-dev--sp img{width:44px; height:90px}
  .tpk-pf-dev--tv img{width:128px; height:72px; margin-bottom:20px}
  .tpk-pf-scenes h3{margin-top:0}
}
.tpk-pf-steps{margin:0; padding-left:1.4em; display:flex; flex-direction:column; gap:8px; font-size:.9375rem; line-height:1.8}

/* ------------------------------------------------------------------
 * 全画面の額
 * ------------------------------------------------------------------ */
html.tpk-pf-open{overflow:hidden}
.tpk-pf{position:fixed; inset:0; z-index:100000; background:#000; color:#fff; overflow:hidden; cursor:none; outline:0;
  --mincho:var(--tp-mincho,"Shippori Mincho","Hiragino Mincho ProN","Yu Mincho",serif); font-family:var(--tp-gothic,sans-serif)}
.tpk-pf[hidden]{display:none}
.tpk-pf.is-ui{cursor:default}
.tpk-pf *{box-sizing:border-box}
.tpk-pf__slide{position:absolute; inset:0; opacity:0; transition:opacity 1.6s ease}
.tpk-pf__slide.is-on{opacity:1}
.tpk-pf__slide img{position:absolute; max-width:none; user-select:none; -webkit-user-drag:none}
.tpk-pf__slide.is-fit img{inset:0; width:100%; height:100%; object-fit:contain}
.tpk-pf__slide.is-cover img{inset:0; width:100%; height:100%; object-fit:cover}
.tpk-pf__slide.is-pan img{top:0; left:0}
/* 寄っていく動きは、切り抜いた写真だけ（全体を見せる写真は端が切れるので寄らない。動かす写真は動きがぶつかるので寄らない） */
@keyframes tpk-pf-zoom{from{transform:scale(1)}to{transform:scale(1.08)}}
.tpk-pf.is-zoom .tpk-pf__slide.is-on.is-cover img{animation:tpk-pf-zoom var(--dur,30s) linear forwards}
/* 下の端に薄い影の帯（明るい写真の上でも、名前と時計が読めるように） */
.tpk-pf::after{content:""; position:absolute; left:0; right:0; bottom:0; height:170px; background:linear-gradient(to top,rgba(0,0,0,.72),rgba(0,0,0,.45) 55%,rgba(0,0,0,0)); pointer-events:none; z-index:1}
.tpk-pf__cap,.tpk-pf__corner,.tpk-pf__ui,.tpk-pf__pop,.tpk-pf__panel,.tpk-pf__hint{z-index:2}
.tpk-pf__cap{
  position:absolute; left:calc(20px + env(safe-area-inset-left,0px) + var(--dx,0px)); bottom:calc(18px + env(safe-area-inset-bottom,0px) + var(--dy,0px));
  max-width:min(calc(100vw - 190px),560px); padding:6px 4px; margin:0; background:none; border:0; color:inherit; text-align:left; cursor:pointer;
  font:inherit; font-size:.75rem; line-height:1.5; text-shadow:0 1px 3px rgba(0,0,0,.8); opacity:.85;
}
.tpk-pf__cap b{display:block; font-family:var(--mincho); font-weight:500; font-size:.875rem; letter-spacing:.04em}
.tpk-pf__cap span{display:block}
.tpk-pf__cap:focus-visible,.tpk-pf__ib:focus-visible,.tpk-pf__pop a:focus-visible{outline:2px solid #fff; outline-offset:2px}
/* 右下の角：時計と、その下に「3rd-Party.jp」の印（SNS の画像と同じ、ハンコで押したような字。2026-10-31 ご主人）。
 * 焼き付きを防ぐずらし（--dx・--dy）は角ごと動かす */
.tpk-pf__corner{
  position:absolute; right:calc(22px + env(safe-area-inset-right,0px) - var(--dx,0px)); bottom:calc(16px + env(safe-area-inset-bottom,0px) + var(--dy,0px));
  display:flex; flex-direction:column; align-items:flex-end; gap:6px; pointer-events:none;
}
.tpk-pf__clock{font-family:var(--mincho); text-align:right; line-height:1.2; text-shadow:0 1px 3px rgba(0,0,0,.8); opacity:.85}
.tpk-pf__stamp{display:block; width:var(--tpk-stamp-w,120px); height:auto; max-width:none; opacity:.9; filter:drop-shadow(0 1px 3px rgba(0,0,0,.55))}   /* 時計と同じ影（明るい写真の上でも読めるように） */
/* 印の画像を作れなかったとき（Imagick が無いなど）は、明朝の太字を少し傾けて字で出す */
.tpk-pf__stamp--text{width:auto; font-family:var(--mincho); font-weight:700; font-size:calc(var(--tpk-stamp-w,120px) / 7); letter-spacing:.02em; color:#fff; text-shadow:0 0 4px rgba(74,58,51,.8); transform:rotate(-2deg); transform-origin:right bottom}
.tpk-pf__clock[hidden]{display:none}
.tpk-pf__clock b{display:block; font-size:2.125rem; font-weight:500; font-variant-numeric:tabular-nums}
.tpk-pf__clock span{font-size:.75rem}
.tpk-pf__ui{position:absolute; top:calc(12px + env(safe-area-inset-top,0px)); right:calc(12px + env(safe-area-inset-right,0px)); display:flex; gap:8px; opacity:0; transition:opacity .3s; pointer-events:none}
.tpk-pf.is-ui .tpk-pf__ui{opacity:1; pointer-events:auto}
.tpk-pf__ib{width:48px; height:48px; padding:0; border-radius:50%; border:1px solid rgba(255,255,255,.4); background:rgba(0,0,0,.5); color:#fff; display:grid; place-items:center; cursor:pointer}
.tpk-pf__ib--s{width:44px; height:44px}
.tpk-pf__pop{
  position:absolute; left:calc(16px + env(safe-area-inset-left,0px)); bottom:calc(84px + env(safe-area-inset-bottom,0px));
  display:flex; flex-direction:column; min-width:240px; max-width:calc(100vw - 32px); padding:6px 12px;
  background:rgba(20,20,18,.92); border:1px solid rgba(255,255,255,.25); border-radius:6px; font-size:.875rem;
}
.tpk-pf__pop[hidden]{display:none}
.tpk-pf__pop a{display:flex; align-items:center; min-height:48px; padding:0 4px; color:#fff; text-decoration:none}
.tpk-pf__pop a + a{border-top:1px solid rgba(255,255,255,.15)}
.tpk-pf__hint{
  position:absolute; left:50%; top:calc(20px + env(safe-area-inset-top,0px)); transform:translateX(-50%); margin:0;
  width:max-content; max-width:calc(100vw - 32px); padding:10px 16px; border-radius:6px; background:rgba(0,0,0,.75); font-size:.8125rem; line-height:1.6; text-align:center;
}
.tpk-pf__hint[hidden]{display:none}
/* 見せ方の欄（歯車で開く）。ページの欄をそのまま移すので、ここで黒地に合わせて塗り直す */
.tpk-pf__panel{
  position:absolute; top:0; right:0; bottom:0; width:min(380px,100vw); overflow-y:auto;
  padding:calc(16px + env(safe-area-inset-top,0px)) calc(16px + env(safe-area-inset-right,0px)) calc(16px + env(safe-area-inset-bottom,0px)) 16px;
  background:rgba(18,18,16,.96); border-left:1px solid rgba(255,255,255,.2); font-size:.875rem; cursor:default;
}
.tpk-pf__panel[hidden]{display:none}
.tpk-pf__panel-h{display:flex; justify-content:space-between; align-items:center; margin:0 0 12px; font-family:var(--mincho); font-size:1.0625rem}
.tpk-pf__panel .tpk-pf-f{grid-template-columns:minmax(0,1fr); row-gap:6px; padding-top:10px; border-top:1px solid rgba(255,255,255,.18)}
.tpk-pf__panel .tpk-pf-f legend{float:left; width:100%; margin-bottom:6px; color:rgba(255,255,255,.75)}
.tpk-pf__panel .tpk-pf-f label span{background:transparent; color:#fff; border-color:rgba(255,255,255,.35)}
.tpk-pf__panel .tpk-pf-f input:checked + span{background:#fff; color:#111; border-color:#fff}
.tpk-pf__panel .tpk-pf-f input:focus-visible + span{outline-color:#fff}
.tpk-pf__panel .tpk-pf-more{border-top:0; padding-top:0}
.tpk-pf__panel .tpk-pf-more summary{display:none}   /* 額の中では、くわしい欄も開いて見せる（開くのは JS） */
.tpk-pf__panel .tpk-pf-more .tpk-pf-f{margin-top:14px}
.tpk-pf__panel .tpk-pf-note{color:rgba(255,255,255,.7)}
@media (prefers-reduced-motion:reduce){
  .tpk-pf__slide,.tpk-pf-mock__s img,.tpk-pf-dev img,.tpk-pf-mock{transition:none}
  .tpk-pf.is-zoom .tpk-pf__slide.is-on img{animation:none}
}
.tpk-pf-ways{margin:8px 0 0; padding-left:1.2em; display:flex; flex-direction:column; gap:4px}
/* 広告の枠（使い方のいちばん下）は、上の答えの欄と同じ左の線にそろえる（見出しの列 280px＋間 64px。幅の狭い画面は使い方と同じ決まりで詰める） */
.tpk-pf-page .tpk-ad--frame{margin:var(--tp-s4,40px) 0 0 calc(280px + var(--tp-s5,64px)); max-width:720px}   /* 幅も答えの欄（.tpk-howto__body）とそろえる */
@media (max-width:1023px){ .tpk-pf-page .tpk-ad--frame{margin-left:calc(200px + var(--tp-s3,24px))} }
@media (max-width:767px){ .tpk-pf-page .tpk-ad--frame{margin-left:0} }
/* 幅999px までは、ページの下に「全画面で始める」の帯（tpk-pf-bar）が付くので、広告をそのボタンから離す（広告の決まり G1「主ボタンのそばに置かない」。確認係） */
@media (max-width:999px){ .tpk-pf-page .tpk-ad--frame{margin-bottom:var(--tp-s5,64px)} }
