/* mock/gen_plates.py が生成する。手で直さない */
.pv.hbv{position:absolute;inset:0;container-type:inline-size;overflow:hidden;color:#14181f;font-family:"Noto Sans JP","Hiragino Sans",sans-serif;letter-spacing:.02em;line-height:1.5;font-feature-settings:"palt"}
.pv.hbv *{box-sizing:border-box}
.pv.hbv p{margin:0;max-width:none}
.pv.hbv .mi{font-family:"Shippori Mincho","Hiragino Mincho ProN",serif}
.pv.hbv .nu{font-family:"Cormorant Garamond","Shippori Mincho",serif;font-feature-settings:"lnum"}
.pv.hbv.gr{background:linear-gradient(135deg,#007eca,#74d8ec)}
.pv.hbv.nv{background:#004873}
.pv.hbv.dk{background:#0b1a26}
.pv.hbv.tn{background:#f1f7fc}
.pv.hbv .card{position:absolute;background:#fff;border-radius:1.1cqw;box-shadow:0 2.4cqw 6cqw rgba(0,40,70,.26)}
.pv.hbv .up{color:#c0392b}
.pv.hbv .a-q{position:absolute;right:6cqw;top:7cqw;max-width:72cqw;padding:2.6cqw 3.6cqw;background:#14181f;color:#fff;border-radius:2.4cqw 2.4cqw .4cqw 2.4cqw;font-size:3.5cqw;font-weight:500}
.pv.hbv .a-c{left:6cqw;top:19.5cqw;width:88cqw;padding:3.6cqw 4.4cqw}
.pv.hbv .a-c small{display:block;color:#007eca;font-size:2.2cqw;font-weight:500}
.pv.hbv .a-c .big{display:flex;align-items:baseline;gap:2cqw;margin-top:.6cqw}
.pv.hbv .a-c .big b{font-size:4.6cqw;font-weight:500}
.pv.hbv .a-c .big i{font-style:normal;font-size:12cqw;line-height:1.05;color:#c0392b}
.pv.hbv .a-c ul{list-style:none;margin:1.6cqw 0 0;padding:0}
.pv.hbv .a-c li{display:flex;justify-content:space-between;padding:1cqw 0;border-top:1px solid #e2e7ec;font-size:2.5cqw}
.pv.hbv .a-t{position:absolute;left:6cqw;width:64cqw;padding:2.4cqw 3.2cqw;border-radius:2cqw;font-size:3cqw}
.pv.hbv .a-t small{display:block;margin-bottom:.4cqw;font-size:2.1cqw;opacity:.75}
.pv.hbv .a-t.c{top:6cqw;background:#fff;color:#14181f;border-bottom-left-radius:.4cqw}
.pv.hbv .a-t.s{left:auto;right:6cqw;top:26cqw;background:#74d8ec;color:#04283f;border-bottom-right-radius:.4cqw}
.pv.hbv .a-f{left:6cqw;right:6cqw;bottom:6cqw;padding:2.2cqw 3cqw;display:flex;align-items:center;gap:2.4cqw;font-size:3cqw;font-weight:500}
.pv.hbv .a-f span{padding:.4cqw 1.4cqw;background:#ffe14a;font-size:2.3cqw;font-weight:700;white-space:nowrap}
.pv.hbv .b-f{position:absolute;width:30cqw;padding:1.3cqw 1.6cqw;background:#fff;border-radius:.6cqw;box-shadow:0 1.2cqw 3cqw rgba(0,40,70,.25);font-size:1.9cqw;transform:rotate(var(--r))}
.pv.hbv .b-f b{display:block;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pv.hbv .b-f i{display:block;height:.9cqw;margin-top:.8cqw;background:repeating-linear-gradient(90deg,#d5dde4 0 5cqw,#fff 5cqw 5.6cqw)}
.pv.hbv .b-t{left:50cqw;top:8cqw;width:44cqw;padding:2.6cqw 3cqw}
.pv.hbv .b-t b{display:block;font-size:2.9cqw;font-weight:500}
.pv.hbv .b-t table{width:100%;margin-top:1.2cqw;border-collapse:collapse;font-size:2.2cqw}
.pv.hbv .b-t td{padding:1cqw 0;border-top:1px solid #e2e7ec}
.pv.hbv .b-t td:last-child{text-align:right}
.pv.hbv .b-t tr:last-child td{font-weight:700;color:#007eca}
.pv.hbv .b-sv{position:absolute;inset:0;width:100%;height:100%}
.pv.hbv .b-s{position:absolute;bottom:6cqw;width:27.3cqw;padding:1.8cqw 2cqw;background:#fff;border-radius:.9cqw;box-shadow:0 1.4cqw 3.6cqw rgba(0,10,30,.4);font-size:2.3cqw}
.pv.hbv .b-s b{display:block;color:#007eca;font-size:2.1cqw;font-weight:500}
.pv.hbv .c-l{position:absolute;left:7cqw;top:5cqw;font-size:2.8cqw;color:#5d6873}
.pv.hbv .c-n{position:absolute;left:6.6cqw;top:10cqw;font-size:16.5cqw;line-height:1.05;color:#14181f;white-space:nowrap}
.pv.hbv .c-n small{font-size:6cqw}
.pv.hbv .c-d{position:absolute;left:7cqw;top:31cqw;font-size:3cqw;color:#007eca;font-weight:500}
.pv.hbv .c-sv{position:absolute;left:0;bottom:0;width:100%;height:30cqw}
.pv.hbv .c-r{position:absolute;left:7cqw;top:9cqw;width:48cqw;height:48cqw}
.pv.hbv .c-rn{position:absolute;left:7cqw;top:9cqw;width:48cqw;height:48cqw;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#fff}
.pv.hbv .c-rn b{font-size:15cqw;font-weight:400;line-height:1}
.pv.hbv .c-rn span{font-size:2.6cqw}
.pv.hbv .c-m{position:absolute;left:60cqw;right:6cqw;top:13cqw;color:#fff;font-size:2.6cqw}
.pv.hbv .c-m div{padding:1.6cqw 0;border-top:1px solid rgba(255,255,255,.25)}
.pv.hbv .c-m b{display:block;font-size:6cqw;font-weight:400;line-height:1.2;color:#74d8ec}
.pv.hbv .d-sv{position:absolute;inset:0;width:100%;height:100%}
.pv.hbv .d-t{position:absolute;left:6cqw;bottom:5.5cqw;color:#fff;font-size:3.5cqw}
.pv.hbv .d-t small{display:block;color:#74d8ec;font-size:2.3cqw}
.pv.hbv .e-p{position:absolute;inset:0;width:100%!important;height:100%!important;object-fit:cover;border-radius:0!important;box-shadow:none!important}
.pv.hbv .e-s{position:absolute;inset:0;background:linear-gradient(120deg,rgba(0,40,70,.1) 30%,rgba(0,40,70,.6))}
.pv.hbv .e-c{right:5cqw;top:7cqw;width:44cqw;padding:2.6cqw 3cqw}
.pv.hbv .e-c small{display:block;color:#007eca;font-size:2.1cqw;font-weight:500}
.pv.hbv .e-c p{margin-top:.8cqw;font-size:2.8cqw;font-weight:500}
.pv.hbv .e-c .nu{display:block;margin-top:.4cqw;font-size:8.4cqw;line-height:1.1;color:#c0392b}
.pv.hbv .e-k{right:5cqw;bottom:7cqw;width:30cqw;padding:2cqw 2.6cqw;font-size:2.2cqw}
.pv.hbv .e-k b{display:block;font-size:5cqw;font-weight:400;line-height:1.15}
.pv.hbv .f-g{position:absolute;inset:5cqw;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));grid-template-rows:repeat(5,minmax(0,1fr));gap:1.8cqw}
.pv.hbv .f-g>div{position:relative;overflow:hidden;padding:2cqw 2.4cqw;background:#fff;border-radius:1.2cqw;font-size:2.1cqw;box-shadow:0 1.4cqw 3.6cqw rgba(0,40,70,.16)}
.pv.hbv .f-g small{display:block;color:#5d6873;font-size:2cqw}
.pv.hbv .f-g .nu{display:block;font-size:7.4cqw;line-height:1.1}
.pv.hbv .f-g .ink{background:#14181f;color:#fff}
.pv.hbv .f-g .ink small{color:#74d8ec}
.pv.hbv .f-g .bl{background:#007eca;color:#fff}
.pv.hbv .f-g .bl small{color:#d6f0ff}
.pv.hbv .f-br{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.8cqw 1.4cqw;align-items:center;margin-top:1.2cqw;font-size:2cqw}
.pv.hbv .f-br i{display:block;height:1.5cqw;background:linear-gradient(90deg,#007eca,#74d8ec)}
.pv.hbv .f-sv{position:absolute;left:0;right:0;bottom:0;width:100%;height:58%}
.pv.hbv .g-sv{position:absolute;inset:0;width:100%;height:100%}
.pv.hbv .g-t{position:absolute;left:6cqw;top:5.5cqw;font-size:3.2cqw;color:#14181f}
.pv.hbv .g-t small{display:block;color:#5d6873;font-size:2.2cqw}
.pv.hbv.nv .g-t{color:#fff}
.pv.hbv.nv .g-t small{color:#74d8ec}
.pv.hbv .x-t{position:absolute;left:6cqw;bottom:5cqw;color:#fff;font-size:3.7cqw;line-height:1.4}
.pv.hbv .x-t small{display:block;margin-bottom:.3cqw;color:#74d8ec;font-size:2.4cqw}
.pv.hbv .x-tag{position:absolute;top:7.5cqw;padding:.7cqw 1.5cqw;background:#ffe14a;color:#14181f;border-radius:.5cqw;font-size:2.3cqw;font-weight:700;white-space:nowrap;transform:translateX(-50%)}
.pv.hbv .x-tag span{margin-right:1cqw;font-weight:500}
.pv.hbv .x-tag::after{content:"";position:absolute;left:50%;top:100%;width:1px;height:8.6cqw;background:#ffe14a}
.pv.hbv .x-tag.r{top:13cqw}
.pv.hbv .x-tag.r::after{height:4.4cqw}
.pv.hbv .x-q{position:absolute;left:6cqw;right:6cqw;top:8cqw;color:rgba(255,255,255,.75);font-size:3.4cqw}
.pv.hbv .x-a{position:absolute;left:6cqw;top:16cqw;color:#fff;font-size:4.6cqw}
.pv.hbv .x-a b{display:block;color:#ffe14a;font-size:17cqw;font-weight:400;line-height:1.1}
.pv.hbv.lt{background:#f1f7fc}
.pv.hbv.lt .x-t{color:#14181f}
.pv.hbv.lt .x-t small{color:#007eca}
.pv.hbv.lt .x-tag{background:#004873;color:#fff}
.pv.hbv.lt .x-tag::after{background:#004873}

/* 動き。案を押すたびに最初から流れる */
.pv.hbv .hb-in{opacity:0;animation:hbIn .5s cubic-bezier(.2,.7,.3,1) var(--d,0s) forwards}
.pv.hbv .hb-lit{animation:hbLit .35s ease-out var(--d,0s) forwards}
.pv.hbv .hb-hot{animation:hbHot .35s ease-out var(--d,0s) forwards}
.pv.hbv .hb-scan{animation:hbScan var(--t,2.4s) linear var(--d,.3s) both}
/* 描き始めるまでは隠す。線の端が丸いと、長さ0の線でも端の丸が点で残る（2026-11-12 宮坂さん「動く前に変な縦線とか点々が入ってる」） */
.pv.hbv .hb-draw{stroke-dasharray:100;stroke-dashoffset:100;visibility:hidden;animation:hbDraw var(--t,1.2s) ease-out var(--d,0s) forwards}
.pv.hbv .hb-go{animation:hbGo var(--t,1s) cubic-bezier(.5,0,.3,1) var(--d,0s) forwards}
.pv.hbv .hb-blink{animation:hbBlink .9s ease-in-out var(--d,0s) 3}
@keyframes hbIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@keyframes hbLit{to{fill:#74d8ec}}
@keyframes hbHot{to{fill:#004873;opacity:1}}
@keyframes hbScan{0%{transform:translateX(0);opacity:0}8%{opacity:1}90%{opacity:1}100%{transform:translateX(var(--x,640px));opacity:0}}
@keyframes hbDraw{from{visibility:visible}to{stroke-dashoffset:0;visibility:visible}}
@keyframes hbGo{0%{transform:none;opacity:1}85%{opacity:1}100%{transform:translate(var(--tx),var(--ty));opacity:0}}
@keyframes hbBlink{0%,100%{opacity:.25}50%{opacity:1}}
@media(prefers-reduced-motion:reduce){
  .pv.hbv .hb-in,.pv.hbv .hb-lit,.pv.hbv .hb-hot,.pv.hbv .hb-draw,.pv.hbv .hb-blink{animation:none;opacity:1;transform:none;stroke-dashoffset:0;visibility:visible}
  .pv.hbv .hb-lit{fill:#74d8ec}
  .pv.hbv .hb-hot{fill:#004873}
  .pv.hbv .hb-scan,.pv.hbv .hb-go{display:none}
}

.pv.hbv .hb-rise,.pv.hbv .hb-pop,.pv.hbv .hb-turn,.pv.hbv .hb-ping{transform-box:fill-box;transform-origin:50% 50%}
.pv.hbv .hb-rise{opacity:0;animation:hbRise .8s cubic-bezier(.2,.8,.3,1) var(--d,0s) forwards}
.pv.hbv .hb-pop{opacity:0;animation:hbPop .4s cubic-bezier(.2,.8,.3,1.3) var(--d,0s) forwards}
.pv.hbv .hb-turn{animation:hbTurn var(--t,8s) linear var(--d,0s) infinite}
.pv.hbv .hb-ping{animation:hbPing 2.4s ease-out var(--d,0s) infinite}
.pv.hbv .hb-up{animation:hbUp var(--t,2.4s) ease-out var(--d,0s) infinite}
.pv.hbv .hb-loop{animation:hbLoop var(--t,3s) linear var(--d,0s) infinite both}
.pv.hbv .hb-out{animation:hbOut .6s ease var(--d,0s) forwards}
.pv.hbv .hb-flow{stroke-dasharray:4 6;animation:hbFlow .8s linear infinite}
.pv.hbv .hb-slide{animation:hbSlide .5s cubic-bezier(.3,.7,.3,1) var(--d,0s) forwards}
.pv.hbv .hb-fill{stroke-dasharray:100;stroke-dashoffset:var(--from,100);animation:hbFill var(--t,1.4s) ease-out var(--d,0s) forwards}
.pv.hbv .hb-lit2{animation:hbLit2 .35s ease-out var(--d,0s) forwards}
@keyframes hbRise{from{opacity:0;transform:translate(var(--fx,0),var(--fy,0)) scale(.3)}50%{opacity:1}to{opacity:1;transform:none}}
@keyframes hbPop{from{opacity:0;transform:scale(.6)}to{opacity:1;transform:none}}
@keyframes hbTurn{to{transform:rotate(var(--r,360deg))}}
@keyframes hbPing{from{opacity:.6;transform:scale(1)}to{opacity:0;transform:scale(1.9)}}
@keyframes hbUp{0%{opacity:0;transform:none}20%{opacity:.9}100%{opacity:0;transform:translate(var(--x,0),var(--y,-140px))}}
@keyframes hbLoop{0%{opacity:0;transform:none}15%{opacity:1}85%{opacity:1}100%{opacity:0;transform:translate(var(--x,0),var(--y,0))}}
@keyframes hbOut{to{opacity:0}}
@keyframes hbFlow{to{stroke-dashoffset:-10}}
@keyframes hbSlide{to{transform:translateX(var(--x,80px))}}
@keyframes hbFill{to{stroke-dashoffset:var(--to,0)}}
@keyframes hbLit2{to{fill:#007eca}}
@media(prefers-reduced-motion:reduce){
  .pv.hbv .hb-rise,.pv.hbv .hb-pop{animation:none;opacity:1;transform:none}
  .pv.hbv .hb-turn,.pv.hbv .hb-flow{animation:none}
  .pv.hbv .hb-up,.pv.hbv .hb-loop,.pv.hbv .hb-out,.pv.hbv .hb-ping{display:none}
  .pv.hbv .hb-slide{animation:none;transform:translateX(var(--x,80px))}
  .pv.hbv .hb-fill{animation:none;stroke-dashoffset:var(--to,0)}
  .pv.hbv .hb-lit2{fill:#007eca}
}

.pv.hbv .ag-wake,.pv.hbv .ag-lid{transform-box:view-box}
.pv.hbv .ag-wake{animation:agWake .7s cubic-bezier(.3,1.3,.5,1) var(--d,0s) both}
.pv.hbv .ag-lid{animation:agLid .45s ease-out var(--d,0s) both}
.pv.hbv .ag-z{opacity:0;animation:agZ 1.2s ease-out var(--d,0s) var(--n,2)}
.pv.hbv .ag-walk{animation:agWalk var(--t,1.2s) linear var(--d,0s) both}
.pv.hbv .ag-bob{animation:agBob .3s ease-in-out var(--d,0s) var(--n,4)}
.pv.hbv .ag-type{animation:agType .24s ease-in-out var(--d,0s) var(--n,10)}
.pv.hbv .ag-fly{opacity:0;animation:agFly var(--t,.8s) cubic-bezier(.4,0,.2,1) var(--d,0s)}
.pv.hbv .ag-move{opacity:0;animation:agMove var(--t,.6s) cubic-bezier(.3,.7,.3,1) var(--d,0s) forwards}
.pv.hbv .ag-drop{opacity:0;animation:agDrop .45s cubic-bezier(.3,1.3,.5,1) var(--d,0s) forwards}
.pv.hbv .ag-show{opacity:0;animation:agShow .3s ease var(--d,0s) forwards}
.pv.hbv .ag-hide{animation:agHide .3s ease var(--d,0s) forwards}
.pv.hbv .ag-step{opacity:0;animation:agShow .2s ease var(--d,0s) forwards,agHide .2s ease var(--e,9s) forwards}
.pv.hbv .ag-away{animation:agHide .4s ease var(--d,0s) forwards,agShow .4s ease var(--e,9s) forwards}
.pv.hbv .dk-flag{animation:dkFlag .4s ease var(--f,3s) both}
.pv.hbv .ag-go{animation:agGo var(--t,.5s) ease-in-out var(--d,0s) forwards}
.pv.hbv .ag-leave{animation:agGo var(--t,1.2s) linear var(--d,0s) forwards}
@keyframes agGo{to{translate:var(--tx,0) 0}}
@keyframes agWake{from{rotate:var(--r,55deg)}to{rotate:0deg}}
@keyframes agLid{from{rotate:var(--r,-76deg)}to{rotate:0deg}}
@keyframes agZ{0%{opacity:0;translate:0 0}25%{opacity:.9}100%{opacity:0;translate:8px -22px}}
@keyframes agWalk{from{translate:var(--fx,-200px) 0}to{translate:0 0}}
@keyframes agBob{50%{translate:0 -3px}}
@keyframes agType{50%{translate:2px -3px}}
@keyframes agFly{0%{opacity:0;translate:0 0}15%{opacity:1}85%{opacity:1}100%{opacity:0;translate:var(--tx,0) var(--ty,0)}}
@keyframes agMove{0%{opacity:0;translate:0 0}20%{opacity:1}100%{opacity:1;translate:var(--tx,0) var(--ty,0)}}
@keyframes agDrop{from{opacity:0;translate:0 var(--fy,-36px)}to{opacity:1;translate:0 0}}
@keyframes agShow{from{opacity:0}to{opacity:1}}
@keyframes agHide{from{opacity:1}to{opacity:0}}
@keyframes dkFlag{from{fill:#74d8ec}to{fill:#007eca}}
@media(prefers-reduced-motion:reduce){
  .pv.hbv .ag-wake,.pv.hbv .ag-lid,.pv.hbv .ag-walk,.pv.hbv .ag-bob,.pv.hbv .ag-type,.pv.hbv .dk-flag{animation:none}
  .pv.hbv .ag-z,.pv.hbv .ag-fly,.pv.hbv .ag-step{display:none}
  .pv.hbv .ag-show,.pv.hbv .ag-drop,.pv.hbv .ag-away{animation:none;opacity:1}
  .pv.hbv .ag-move{animation:none;opacity:1;translate:var(--tx,0) var(--ty,0)}
  .pv.hbv .ag-hide,.pv.hbv .ag-leave{animation:none;opacity:0}
  .pv.hbv .ag-go{animation:none;translate:var(--tx,0) 0}
}

.pv.hbv .tb-bloom{transform-box:view-box}
.pv.hbv .tb-open,.pv.hbv .tb-grow{transform-box:fill-box;transform-origin:50% 50%}
.pv.hbv .tb-grow{transform-origin:0 50%}
.pv.hbv .tb-bloom{opacity:0;animation:tbBloom .5s cubic-bezier(.2,.8,.3,1.15) var(--d,0s) forwards}
.pv.hbv .tb-open{opacity:0;animation:tbOpen 1.25s ease-out var(--d,0s) forwards}
.pv.hbv .tb-bud{opacity:0;animation:agShow .25s ease var(--d,0s) forwards,agHide .15s ease var(--e,9s) forwards}
.pv.hbv .tb-grow{transform:scaleX(0);animation:tbGrow .5s cubic-bezier(.3,.7,.3,1) var(--d,0s) forwards}
@keyframes tbBloom{0%{opacity:0;transform:scale(.08)}20%{opacity:1}60%{transform:scale(1.04)}100%{opacity:1;transform:none}}
@keyframes tbOpen{0%{opacity:0;transform:scale(.25) rotate(-30deg)}28%{opacity:1;transform:none}36%{opacity:1;transform:none}100%{opacity:0;transform:scale(2.4) rotate(40deg)}}
@keyframes tbGrow{to{transform:scaleX(1)}}
@media(prefers-reduced-motion:reduce){
  .pv.hbv .tb-bloom,.pv.hbv .tb-grow{animation:none;opacity:1;transform:none}
  .pv.hbv .tb-open,.pv.hbv .tb-bud{display:none}
}

.pv.hbv .kn-stamp{transform-box:fill-box;transform-origin:50% 50%;opacity:0;animation:knStamp .35s cubic-bezier(.3,1.4,.5,1) var(--d,0s) forwards}
.pv.hbv .kn-up{animation:knUp var(--t,.5s) cubic-bezier(.3,.7,.3,1) var(--d,0s) forwards}
.pv.hbv .kn-dim{opacity:0;animation:knDim .4s ease var(--d,0s) forwards}
@keyframes knStamp{from{opacity:0;transform:scale(1.9)}to{opacity:1;transform:none}}
@keyframes knUp{to{translate:0 var(--ty,0)}}
@keyframes knDim{to{opacity:.55}}
@media(prefers-reduced-motion:reduce){
  .pv.hbv .kn-stamp{animation:none;opacity:1;transform:none}
  .pv.hbv .kn-up{animation:none;translate:0 var(--ty,0)}
  .pv.hbv .kn-dim{animation:none;opacity:.55}
}

.pv.hbv .kn-spin{transform-box:view-box;animation:knSpin var(--t,2s) linear var(--d,0s) both}
@keyframes knSpin{from{rotate:0deg}to{rotate:var(--r,1080deg)}}
@media(prefers-reduced-motion:reduce){.pv.hbv .kn-spin{animation:none}}

.pv.hbv .kt-lit{animation:ktLit .4s ease var(--d,0s) forwards}
@keyframes ktLit{to{fill:#007eca}}
@media(prefers-reduced-motion:reduce){.pv.hbv .kt-lit{animation:none;fill:#007eca}}
