


:root{
  --deep:#05155F;--bright:#1B2F8A;--light:#FFF3C4;--paper:#FFFDF6;--ink:#05155F;
  --gold1:#fff3a8;--gold2:#ffd34a;--gold3:#f5b414;--goldedge:#b8801c;--golddk:#7a4a0c;
  --cta1:#FB7772;--cta2:#EB2528;--cta3:#F94910;--ctaedge:#fff6c4;--ctadk:#9a1808;
  --quiz-bg:#F3E6B0;--quiz-bg2:#EFE3B5;--result-bright:#FDD833;--result-deep:#D4A512;--result-edge:#B8870E;
  --navy:#05155F;--navy-deep:#02061F;
  --font-h:'Hiragino Sans','Yu Gothic',Meiryo,sans-serif;
  --font-b:-apple-system,BlinkMacSystemFont,'Hiragino Sans','Yu Gothic',Meiryo,sans-serif;
}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html,body{margin:0}
html{background:#f2f2f2}
body{font-family:var(--font-b);font-weight:500;color:var(--ink);background:#f2f2f2;min-height:100vh}
.app{width:100%;max-width:390px;margin:0 auto;position:relative}
h1,h2,h3,h4,.h{font-family:var(--font-h);font-weight:900;margin:0}
button{font-family:inherit;cursor:pointer;border:0;background:none;color:inherit}
a{color:inherit}


/* ===== tab bar ===== */
.topbar{position:sticky;top:0;z-index:60;background:linear-gradient(#05155F,#02061F);border-bottom:3px solid #ffd35a}
.tabs-wrap{max-width:390px;margin:0 auto;position:relative}
.tabs{display:flex;gap:8px;overflow-x:auto;padding:10px 14px 12px;scrollbar-width:none;-webkit-overflow-scrolling:touch;scroll-snap-type:x proximity}
.tabs::-webkit-scrollbar{display:none}
.tabs-wrap::before,.tabs-wrap::after{content:"";position:absolute;top:0;bottom:0;width:14px;z-index:2;pointer-events:none}
.tabs-wrap::before{left:0;background:linear-gradient(90deg,rgba(2,6,31,.85),transparent)}
.tabs-wrap::after{right:0;background:linear-gradient(270deg,rgba(2,6,31,.85),transparent)}
.tab{flex:none;position:relative;display:flex;align-items:center;gap:7px;padding:5px 15px 5px 6px;border-radius:8px;border:2px solid rgba(255,255,255,.3);scroll-snap-align:center;
  background:linear-gradient(var(--b),var(--d));color:#fff;font-family:var(--font-h);font-size:13.5px;letter-spacing:.02em;white-space:nowrap;
  opacity:.68;filter:saturate(.75);transition:opacity .2s,transform .15s,box-shadow .2s}
.tab img{width:28px;height:28px;border-radius:50%;object-fit:cover;border:1.5px solid rgba(255,255,255,.6);background:#222}
.tab.s img{object-position:50% 30%;transform:scale(1)}
.tab:active{transform:scale(.96)}
.tab.on{opacity:1;filter:none;color:#fff2ae;border-color:#ffd35a;transform:translateY(-1px);
  box-shadow:0 0 0 2px rgba(255,211,90,.4),0 0 16px var(--b),0 3px 0 #8d5820}
.tab.on img{border-color:#ffd35a}
.tab.on::after{content:"";position:absolute;left:50%;bottom:-9px;width:18px;height:5px;margin-left:-9px;border-radius:3px;background:linear-gradient(90deg,#fff2ae,#ffc63e)}
.agebar{display:none;justify-content:center;align-items:center;gap:8px;padding:0 12px 10px}
.agebar.on{display:flex}
.agebar small{font-size:11px;color:rgba(255,246,217,.75);font-family:var(--font-h)}
.seg{display:inline-flex;padding:3px;border-radius:8px;background:rgba(0,0,0,.45);border:1.5px solid rgba(255,230,160,.55)}
.seg button{padding:5px 16px 4px;font-size:12.5px;border-radius:8px;color:#fff8e8;font-family:var(--font-h);transition:.15s}
.seg button.on{background:linear-gradient(var(--gold1),var(--gold2) 60%,var(--gold3));color:#4a1a05;box-shadow:0 2px 0 var(--golddk),inset 0 1px 0 rgba(255,255,255,.7)}


.tabsep{flex:none;width:2px;margin:7px 1px;border-radius:2px;background:rgba(255,230,160,.35)}
.agenote{display:none;padding:5px 14px 4px;border-radius:8px;background:rgba(0,0,0,.45);border:1.5px solid rgba(255,230,160,.55);color:#fff8e8;font-size:12px;font-family:var(--font-h)}
.rchip{display:inline-block;margin-top:12px;padding:4px 14px 3px;border-radius:8px;background:rgba(0,0,0,.3);border:1.5px solid rgba(255,230,160,.8);color:#fff8e8;font-family:var(--font-h);font-size:12.5px;letter-spacing:.06em}
.axis.rt{grid-template-columns:72px 1fr 40px}
.axis.rt .tr i{position:absolute;left:0;top:0;bottom:0;width:var(--w);margin:0;height:auto;border-radius:8px;border:0;background:rgba(255,246,217,.4);box-shadow:none}
.axis.rt.win .tr i{background:linear-gradient(var(--gold1),var(--gold2) 55%,var(--gold3));box-shadow:0 0 10px rgba(255,214,90,.8)}
.axis.rt.win{color:#ffe27a}
.axis.rt .pc{text-align:left}
.axes hr{border:0;border-top:1.5px dashed rgba(255,230,160,.4);margin:2px 0;width:100%}
.mframe{display:grid;position:relative;width:100%;min-height:96vh;grid-template-columns:1fr 1fr;grid-template-rows:1.1fr 1fr 1fr 1.1fr;gap:6px;padding:6px;border-radius:16px;border:3px solid #e2b24a;background:#fff;box-shadow:0 5px 0 rgba(0,0,0,.18);text-align:left}
.mframe .koma{position:relative;display:flex;flex-direction:column;justify-content:center;gap:6px;overflow:hidden;padding:26px 10px 10px;border:2.5px solid #2b1a1a;border-radius:4px;background:repeating-linear-gradient(45deg,#fbf5ee 0 8px,#f3e9de 8px 16px);color:#3b2a2a;font-family:var(--font-b)}
.mframe .koma .kn{position:absolute;left:6px;top:5px;font-size:10px;font-family:var(--font-h);color:#9b8a86}
.mframe .koma .sc{font-size:10.5px;color:#8d7a74;line-height:1.4}
.mframe .koma .se{align-self:flex-start;background:#fff;border:2px solid #2b1a1a;border-radius:14px;padding:6px 10px;font-size:13.5px;line-height:1.45;font-family:var(--font-h);color:#2b1a1a}
.mframe .koma .ca{background:#2b1a1a;color:#fff;font-size:11px;padding:3px 8px;line-height:1.4;align-self:flex-start}
.mframe .k1{grid-column:1 / 3;grid-row:1}.mframe .k2{grid-column:1;grid-row:2}.mframe .k3{grid-column:2;grid-row:2}.mframe .k4{grid-column:1;grid-row:3}
.mframe .k5{grid-column:2;grid-row:3}
.mframe .k6{grid-column:1 / 3;grid-row:4}
.mframe .koma.gag{background:repeating-linear-gradient(45deg,#fff1d6 0 8px,#fbe4bd 8px 16px)}
.mframe .koma .gk{position:absolute;right:6px;top:5px;font-size:10px;font-family:var(--font-h);color:#fff;background:#d4722a;padding:1px 6px;border-radius:6px}
.mframe .md{position:absolute;z-index:2;right:12px;top:12px;padding:2px 9px 1px;border-radius:8px;background:rgba(255,255,255,.92);color:#8d5a52;font-size:10.5px;font-family:var(--font-h)}
.mtitle{display:block;margin-top:12px;font-family:var(--font-h);font-weight:900;font-size:16px;line-height:1.4;color:var(--ink)}
.mdesc{margin-top:4px!important;font-size:13px!important;line-height:1.6!important;color:#7a6a68}
.mnote{margin-top:8px!important;font-size:10.5px!important;color:#9b8a86;line-height:1.5!important}


/* ===== phone ===== */
#phone{position:relative;z-index:1;width:100%;max-width:390px;margin:0 auto;border-radius:0;box-shadow:none;min-height:100vh;min-height:100dvh;overflow:hidden;
  background:radial-gradient(140% 80% at 50% 0%,#F7EECA 0%,var(--quiz-bg) 55%,var(--quiz-bg2) 100%)}
#phone.result-mode{background:radial-gradient(130% 70% at 50% 0%,var(--result-bright) 0%,var(--result-deep) 62%,var(--result-edge) 130%)}
.screen{display:none;position:relative;min-height:inherit;padding:20px 18px 28px}
.screen.on{display:flex;flex-direction:column}



.z{position:relative;z-index:1}

/* ===== gold parts ===== */
.gold-btn{display:block;width:100%;padding:15px 18px 13px;border-radius:999px;border:2.5px solid #fff6e8;border-bottom-color:#9a1808;
  background:linear-gradient(180deg,#FB7772 0%,#EB2528 48%,#F94910 100%);color:#fff;font-family:var(--font-h);font-weight:900;font-size:21px;letter-spacing:.04em;
  box-shadow:inset 0 3px 0 rgba(255,255,255,.45),inset 0 -2px 0 rgba(120,10,0,.25),0 6px 0 #9a1808,0 10px 18px rgba(0,0,0,.28);text-align:center;transition:transform .08s,box-shadow .08s;position:relative;-webkit-text-fill-color:#fff}
.gold-btn:active{transform:translateY(4px);box-shadow:inset 0 3px 0 rgba(255,255,255,.35),0 2px 0 #9a1808}
.gold-btn.sm{font-size:16px;padding:11px 14px 9px;box-shadow:inset 0 2px 0 rgba(255,255,255,.4),0 4px 0 #9a1808}
.ghost-btn{display:block;width:100%;padding:13px 16px;border-radius:999px;border:2.5px solid #05155F;color:#05155F;font-family:var(--font-h);font-size:16px;text-align:center;background:rgba(255,253,246,.55)}
.gold-text{color:#05155F;-webkit-text-fill-color:#05155F;
  text-shadow:0 1px 0 #fff,0 0 2px #fff,0 2px 0 rgba(255,211,74,.85),0 4px 0 rgba(184,128,28,.55),0 8px 14px rgba(0,0,0,.28);
  filter:drop-shadow(0 1px 0 #fff8e8)}
.plate{display:inline-flex;align-items:center;gap:8px;padding:7px 20px 6px;border-radius:12px;border:3px solid var(--goldedge);
  background:linear-gradient(var(--gold1),var(--gold2) 60%,var(--gold3));color:#4a1a05;font-family:var(--font-h);font-size:15px;letter-spacing:.06em;
  box-shadow:inset 0 0 0 2px #fff8e8,0 4px 0 var(--golddk),0 8px 14px rgba(0,0,0,.25)}
.center{text-align:center}
.frame{padding:4px;border-radius:13px;background:linear-gradient(135deg,#fff6bf,#ffc63e 40%,#b67829 60%,#ffe27a);box-shadow:0 14px 30px rgba(0,0,0,.4)}
.frame>div{border-radius:9px;overflow:hidden;background:#FDD62B;aspect-ratio:1}
.frame img{display:block;width:100%;height:100%;object-fit:cover}
.tab-ph{flex:none;width:28px;height:28px;border-radius:50%;background:rgba(0,0,0,.35);border:1.5px solid rgba(255,230,160,.5)}

/* ===== start ===== */
#s-start.screen{padding:0;display:none;background:#FDD62B}
#s-start .fvwrap{position:relative}
#s-start.screen.on{display:block}
#s-start .fv{display:block;width:100%;height:auto}
#btn-start{position:absolute;left:10%;top:83%;width:80%;height:11%;padding:0;margin:0;border:0;border-radius:999px;background:transparent;opacity:1;cursor:pointer;z-index:2}
#btn-start:focus-visible{outline:3px solid #fff3a8;outline-offset:2px}
.lead{color:#05155F;font-size:15px;line-height:1.7;text-align:center;margin:0}

/* ===== quiz (muted yellow × navy) ===== */
#s-quiz.screen{background:transparent}
/* v12: 診断中は明るめの紺×黄 */
#phone.quiz-mode{background:radial-gradient(140% 80% at 50% 0%,#4A6AD4 0%,#2E4EB4 52%,#1E3A8C 100%)}
#phone.quiz-mode .btn-back{border-color:#FFD34A;background:linear-gradient(#FFE27A,#FFD34A);color:#05155F;box-shadow:0 2px 0 #B8801C}
#phone.quiz-mode .prog{background:rgba(5,21,95,.22);border-color:rgba(255,211,74,.55)}
#phone.quiz-mode .prog b{background:linear-gradient(#FFF3A8,#FFD34A)}
#phone.quiz-mode .pcount,#phone.quiz-mode .pcount small{color:#FFF8D0}
#phone.quiz-mode .qfoot{color:rgba(255,248,208,.78)}
#phone.quiz-mode .bubble,#phone.quiz-mode .opt{background:#FFFDF6;border-color:#E8C453}
.qhead{display:flex;align-items:center;gap:12px;margin-bottom:18px}
.btn-back{flex:none;width:42px;height:42px;border-radius:11px;border:1.5px solid #C9B56A;background:#FFFDF6;color:#05155F;font-size:22px;line-height:1;box-shadow:0 1px 0 rgba(5,21,95,.12);font-family:var(--font-h)}
.prog{flex:1;height:14px;border-radius:8px;background:rgba(5,21,95,.10);border:1.5px solid rgba(5,21,95,.18);padding:2px;box-shadow:none}
.prog b{display:block;height:100%;width:0;border-radius:8px;background:linear-gradient(#FFE27A,#E8B800);box-shadow:none}
.pcount{flex:none;font-family:var(--font-h);color:#05155F;font-size:17px;min-width:52px;text-align:right;line-height:1.1}
.pcount small{display:block;font-size:10.5px;opacity:.75;margin-top:2px;color:#33407A}
.ask{display:flex;gap:12px;align-items:flex-end;margin-bottom:12px}
.avatar{flex:none;width:76px;height:76px;border-radius:50%;border:3px solid #D4B84A;overflow:hidden;box-shadow:0 3px 8px rgba(5,21,95,.18);background:#FFF8DC}
.avatar img{width:100%;height:100%;object-fit:cover;object-position:50% 36%;transform:scale(2.6) translateY(21%);transform-origin:50% 50%}
.bubble{position:relative;background:#FFFDF6;border:1.5px solid #C9B56A;border-radius:12px;padding:12px 14px;flex:1;box-shadow:0 2px 8px rgba(5,21,95,.10)}
.bubble::before{content:"";position:absolute;left:-10px;bottom:18px;width:14px;height:14px;background:#FFFDF6;border-left:1.5px solid #C9B56A;border-bottom:1.5px solid #C9B56A;transform:rotate(45deg)}
.bubble .qn{display:inline-block;font-family:var(--font-h);font-size:12px;color:#05155F;background:#F5E9B8;border:1.5px solid #C9B56A;border-radius:8px;padding:2px 10px 1px;margin-bottom:6px}
.bubble h2{font-size:20px;line-height:1.4;color:#05155F}
.bubble p{margin:4px 0 0;font-size:12px;color:#4A5680;line-height:1.5}
.opts{display:flex;flex-direction:column;gap:12px;margin-top:14px}
.opt{display:flex;align-items:center;gap:12px;text-align:left;width:100%;padding:16px 14px;border-radius:14px;background:#FFFDF6;border:1.5px solid #C9B56A;
  box-shadow:0 2px 0 rgba(184,128,28,.25),0 4px 10px rgba(5,21,95,.08);transition:transform .1s,box-shadow .1s,background .2s}
.opt:active{transform:translateY(2px);box-shadow:0 1px 0 rgba(184,128,28,.2)}
.opt .lt{flex:none;width:34px;height:34px;border-radius:8px;display:grid;place-items:center;font-family:var(--font-h);font-size:16px;color:#05155F;background:#F5E9B8;border:1.5px solid #C9B56A}
.opt .tx{flex:1}
.opt .tx b{display:block;font-family:var(--font-h);font-weight:900;font-size:18px;line-height:1.3;color:#05155F}
.opt .tx span{display:block;font-size:12px;color:#4A5680;margin-top:2px;line-height:1.4}
.opt.sel{background:#FFF6D6;border-color:#B8801C;transform:translateY(1px);box-shadow:0 1px 0 rgba(184,128,28,.35)}
.qfoot{margin-top:auto;padding-top:16px;text-align:center;font-size:11px;color:rgba(5,21,95,.55)}

/* ===== result ===== */
#s-result{padding:0 0 30px;background:radial-gradient(130% 60% at 50% 0%,var(--result-bright) 0%,var(--result-deep) 70%,var(--result-edge) 100%)}
.r-hero{position:relative;padding:22px 20px 24px;text-align:center}
.r-hero .sub{font-size:13px;color:#05155F;margin:10px 0 0;letter-spacing:.08em;opacity:.85}
.r-hero .illu{width:min(330px,82%);margin:16px auto 0;position:relative}
.tagchip{position:absolute;left:50%;bottom:-14px;transform:translateX(-50%);white-space:nowrap;padding:5px 16px 4px;border-radius:8px;background:#fff7f1;border:3px solid var(--goldedge);color:var(--deep);font-family:var(--font-h);font-size:14px;letter-spacing:.12em;box-shadow:0 4px 0 var(--golddk)}
.r-hero h1{font-size:30px;line-height:1.25;margin-top:30px;padding:0 6px;word-break:keep-all;overflow-wrap:normal}
.r-hero .catch{color:#05155F;font-size:15px;margin:10px 0 0;line-height:1.6}
.axes{margin:18px auto 0;max-width:330px;display:flex;flex-direction:column;gap:9px}
.axis{display:grid;grid-template-columns:72px 1fr 72px;align-items:center;gap:8px;font-size:12px;color:#05155F;font-family:var(--font-h)}
.axis .tr{position:relative;height:12px;border-radius:8px;background:rgba(5,21,95,.18);border:1.5px solid rgba(184,128,28,.65)}
.axis .tr i{position:absolute;top:50%;width:22px;height:22px;margin:-11px 0 0 -11px;border-radius:50%;background:linear-gradient(var(--gold1),var(--gold2));border:2.5px solid var(--goldedge);box-shadow:0 2px 6px rgba(0,0,0,.4)}
.axis .l{text-align:right}
.body{padding:6px 16px 0;display:flex;flex-direction:column;gap:18px}
.card{background:var(--paper);border:3px solid #e2b24a;border-radius:19px;padding:18px 16px 18px;box-shadow:0 8px 0 rgba(0,0,0,.18),0 14px 24px rgba(0,0,0,.25);position:relative;color:var(--ink)}
.card>.plate{position:absolute;top:-17px;left:50%;transform:translateX(-50%);white-space:nowrap}
.card .in{margin-top:12px}
.card p{margin:0;font-size:14px;line-height:1.8}
.sub-h{font-family:var(--font-h);font-size:15px;color:var(--bright);margin:16px 0 8px;display:flex;align-items:center;gap:8px}
.sub-h::before{content:"";width:6px;height:18px;border-radius:3px;background:linear-gradient(var(--gold2),var(--bright))}
.checks{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.checks li{display:flex;gap:10px;align-items:flex-start;font-size:14px;line-height:1.6}
.checks li::before{content:"";flex:none;width:20px;height:20px;margin-top:2px;border-radius:50%;background:linear-gradient(var(--gold1),var(--gold2)) ;border:2px solid var(--goldedge);
  background-image:linear-gradient(var(--gold1),var(--gold2));box-shadow:inset 0 0 0 3px #fff7f1}
.checks.num{counter-reset:n}
.checks.num li{counter-increment:n}
.checks.num li::before{content:counter(n);display:grid;place-items:center;font-family:var(--font-h);font-size:12px;color:#4a1a05;box-shadow:none;background:linear-gradient(var(--gold1),var(--gold2) 60%,var(--gold3))}
.bridge{margin:16px 0 0;padding:10px 12px;border-left:4px solid var(--bright);background:var(--light);border-radius:0 10px 10px 0;font-size:14px;line-height:1.7;font-weight:700;color:var(--ink)}
.myans{display:flex;flex-wrap:wrap;gap:6px;margin-top:14px}
.myans span{font-size:11px;padding:3px 10px;border-radius:8px;background:rgba(0,0,0,.06);color:var(--ink)}
.first{background:linear-gradient(#fffdf0,#fff1c4);border-color:#ffc63e;box-shadow:0 0 0 3px rgba(255,214,90,.5),0 8px 0 rgba(0,0,0,.18),0 0 34px rgba(255,214,90,.6),0 14px 24px rgba(0,0,0,.25)}
.first .why{font-size:13px;color:#8d5a52;margin:0 0 12px;line-height:1.6}
.badge-easy{display:inline-block;margin-left:6px;font-size:11px;padding:2px 9px 1px;border-radius:8px;background:var(--bright);color:#fff;font-family:var(--font-h)}
.offer{display:grid;grid-template-columns:54px 1fr auto;gap:12px;align-items:center;width:100%;text-align:left;padding:12px 10px;border-radius:16px;background:#fff;border:2px solid rgba(0,0,0,.07);box-shadow:0 3px 0 rgba(0,0,0,.08)}
.offer+.offer{margin-top:10px}
.offer:active{transform:translateY(2px)}
.offer.big{border-color:#ffc63e;box-shadow:0 3px 0 #d9a21c}
.ofi{width:54px;height:54px;border-radius:15px;display:grid;place-items:center;font-family:var(--font-h);font-size:24px;color:#fff;background:linear-gradient(135deg,var(--bright),var(--deep));box-shadow:inset 0 2px 0 rgba(255,255,255,.35),0 3px 6px rgba(0,0,0,.2)}
.ofb b{display:block;font-family:var(--font-h);font-weight:900;font-size:15px;line-height:1.3;color:var(--ink)}
.ofb .d{display:block;font-size:11.5px;color:#7a6a68;margin-top:2px;line-height:1.4}
.ofb .tg{display:flex;flex-wrap:wrap;gap:5px;align-items:center;margin-top:5px}
.ofb .tg em{font-style:normal;font-size:10px;padding:1px 8px;border-radius:8px;background:var(--light);color:var(--deep);font-family:var(--font-h)}
.ofb .tg em.dm{background:#eee;color:#888}
.ofb .tg .lv{display:inline-flex;gap:2px;align-items:center;font-size:10px;color:#7a6a68}
.lv s{width:7px;height:7px;border-radius:50%;background:#e0d4d0;text-decoration:none;display:inline-block}
.lv s.f{background:var(--gold3)}
.ofp{text-align:right;font-family:var(--font-h);color:#c8101f;line-height:1}
.ofp b{font-size:21px;display:block;font-weight:900}
.ofp small{font-size:11px;color:#8d5a52}
.sec-title{display:flex;align-items:center;gap:8px;font-family:var(--font-h);font-size:17px;color:var(--ink);margin:6px 0 10px}
.sec-title:first-child{margin-top:0}
.sec-title u{text-decoration:none;font-size:11px;color:#fff;background:var(--bright);padding:2px 9px 1px;border-radius:8px;font-family:var(--font-h)}
.up-banner{display:flex;align-items:center;gap:10px;margin:0 0 12px;padding:10px 12px;border-radius:14px;background:linear-gradient(120deg,#fff9e7,#ffe9b3 70%,#ffda91);border:2px solid #e2b24a;font-size:12.5px;line-height:1.5;color:#4a1a05}
.up-banner b{font-family:var(--font-h);font-size:13.5px;display:block}
.up-banner .u{flex:none;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(var(--bright),var(--deep));color:#fff;font-family:var(--font-h);font-size:13px;border:2px solid #ffd35a}
.dow{display:flex;gap:4px;margin-top:5px}
.dow span{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;font-size:11px;font-family:var(--font-h);background:rgba(0,0,0,.08);color:#9b8a86}
.dow span.on{background:linear-gradient(var(--gold1),var(--gold2));color:#4a1a05;border:1.5px solid var(--goldedge)}
.u20note{display:flex;gap:10px;align-items:center;padding:10px 14px;border-radius:14px;background:rgba(255,253,246,.55);border:1.5px dashed rgba(5,21,95,.35);color:#05155F;font-size:12.5px;line-height:1.5}
.u20note::before{content:"i";flex:none;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:#ffd35a;color:#4a1a05;font-family:var(--font-h);font-size:13px}
.actions{display:flex;flex-direction:column;gap:12px;margin-top:4px}
.dummy-note{font-size:11px;color:rgba(5,21,95,.55);text-align:center;line-height:1.6;margin:0}
.dev{margin:18px 16px 0;padding:12px;border-radius:14px;background:rgba(5,21,95,.12);border:1px dashed rgba(5,21,95,.35);color:#05155F;font-size:11px}
.dev summary{cursor:pointer;font-family:var(--font-h);font-size:12px;opacity:.85}
.dev .g{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:10px}
.dev a{display:block;padding:6px 8px;border-radius:8px;background:rgba(255,255,255,.12);text-decoration:none;text-align:center;font-size:11px}
.dev a.on{background:#ffd35a;color:#4a1a05}
.dev pre{white-space:pre-wrap;margin:8px 0 0;font-size:10.5px;line-height:1.5;opacity:.85;font-family:ui-monospace,Menlo,monospace}
.startdev{margin-top:6px;text-align:center;font-size:10px;color:rgba(5,21,95,.45)}
.startdev a{margin:0 3px;text-decoration:underline;cursor:pointer}
.toast{position:fixed;left:50%;bottom:36px;transform:translate(-50%,30px);z-index:99;max-width:330px;width:calc(100% - 48px);padding:12px 16px;border-radius:14px;background:#02061F;color:#fff8e8;border:2px solid #ffd35a;font-size:13px;line-height:1.5;text-align:center;opacity:0;pointer-events:none;transition:.3s}
.toast.on{opacity:1;transform:translate(-50%,0)}
/* ===== deal cards (deal_cards/deal-card.css,scoped to .shindan-deals) ===== */
/* Standalone LP.deal extraction. Only affects .shindan-deals. Keep c pack on the same wrapper. */


:where(.shindan-deals){font:16px/1.65 -apple-system,BlinkMacSystemFont,"Hiragino Sans","Yu Gothic",Meiryo,sans-serif;color:#12325b;}
:where(.shindan-deals),:where(.shindan-deals) *,:where(.shindan-deals) *::before,:where(.shindan-deals) *::after{box-sizing:border-box;}
:where(.shindan-deals) h3,:where(.shindan-deals) p{margin:0;}
:where(.shindan-deals) h3{font-family:sans-serif;font-weight:900;}
:where(.shindan-deals) button{font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation;}
:where(.shindan-deals) button:disabled{cursor:default;}
:where(.shindan-deals) button:focus-visible{outline:3px solid #ff008d;outline-offset:4px;}
:where(.shindan-deals) button:active:not(:disabled){transform:translateY(2px);}
:where(.shindan-deals) img{display:block;object-fit:contain;}

/* 3.css:448 */
:where(.shindan-deals) .cta{
width: 100%;
    min-height: 56px;
    padding: 12px 15px;
    border: 2px solid #fff2ad;
    border-bottom-color: #e29a29;
    border-radius: 13px;
    background: linear-gradient(#ffe58a, #ffcd48 48%, #ffb71c 51%, #ffc32b);
    box-shadow: inset 0 2px #fff7cb, 0 5px #be7118, 0 8px 15px #17345820;
    color: #5b3917;
    font-family: ShindanDealOji;
    font-size: 20px;
    text-shadow: 0 1px #fff0b0;
    line-height: 1.5
}

/* 3.css:464 */
:where(.shindan-deals) .cta:disabled{
background: linear-gradient(#e5eaf0, #cfd9e4);
    color: #77899d;
    box-shadow: 0 4px #a9b9c9;
    border-color: #f4f6f8;
    text-shadow: none
}

/* 3.css:766 */
:where(.shindan-deals) .deal{
position: relative;
    overflow: hidden;
    isolation: isolate;
    border: 3px solid #f1f8ff;
    border-radius: 20px;
    background: radial-gradient(ellipse at 94% 33%, #39bcea 0, transparent 65%), linear-gradient(120deg, #204e98, #255cb4);
    box-shadow: 0 5px #7d9abb, inset 0 1px #ffffffb0;
    margin-bottom: 18px;
    padding: 15px 13px 14px;
    min-height: 218px;
    color: white
}

/* 3.css:780 */
:where(.shindan-deals) .deal:before{
content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(135deg, transparent 40%, #ffffff0d 40%, #ffffff0d 55%, transparent 55%), linear-gradient(30deg, transparent 20%, #0000000a 20%, #0000000a 35%, transparent 35%)
}

/* 3.css:811 */
:where(.shindan-deals) .deal h3{
position: relative;
    z-index: 3;
    font-size: 21px;
    line-height: 1.45;
    max-width: 79%;
    margin-top: 4px;
    text-shadow: 1px 1px #193457, -1px -1px #193457, 0 3px #193457a0;
    min-height: 31px
}

/* 3.css:822 */
:where(.shindan-deals) .deal .condition{
font-size: 13px;
    font-weight: 800;
    color: #f2f8ff;
    position: relative;
    z-index: 2;
    margin-top: 3px
}

/* 3.css:891 */
:where(.shindan-deals) .deal .rewardvalue{
position: relative;
    z-index: 1;
    text-align: right;
    white-space: nowrap
}

/* 3.css:898 */
:where(.shindan-deals) .rewardvalue s{
display: block;
    color: #e1ebf9;
    font-size: 12px
}

/* 3.css:904 */
:where(.shindan-deals) .rewardvalue b{
font-family: ShindanDealOji;
    font-size: 37px;
    line-height: 1.35;
    color: #fff5d2;
    text-shadow: 1px 1px #18334f, -1px -1px #18334f, 0 3px #18334f;
    font-weight: 900
}

/* 3.css:913 */
:where(.shindan-deals) .rewardvalue small{
font-size: 12px;
    text-shadow: none;
    margin-left: 2px
}

/* 3.css:919 */
:where(.shindan-deals) .deal .cta{
margin-top: 14px;
    min-height: 48px;
    font-size: 17px;
    padding: 8px
}

/* 3.css:1042 */
:where(.shindan-deals).c .deal{
border-color: #ffd59b;
    border-width: 3px;
    background: radial-gradient(ellipse at 95% 35%, #ed80a7, transparent 70%), linear-gradient(120deg, #a62961, #d84484);
    box-shadow: 0 5px #b2814d;
    min-height: 222px;
    border-radius: 16px
}

/* 3.css:1070 */
:where(.shindan-deals).c .rewardvalue{
text-align: left
}

@media (max-width:370px){
/* 3.css:1277 */
:where(.shindan-deals) .rewardvalue b {
font-size: 31px
}

/* 3.css:1281 */
:where(.shindan-deals) .deal h3 {
font-size: 19px
}
}

/* 3.css:1712 */
:where(.shindan-deals).c .deal{
margin-bottom: 23px;
    border: 2px solid #ffdb8b;
    border-radius: 19px;
    padding: 17px 15px 16px;
    background: radial-gradient(ellipse at 10% 45%, #ef72a7, transparent 66%), linear-gradient(110deg, #ba286e, #e4458c);
    box-shadow: 0 5px #9f285c, 0 0 0 3px #fff3d580, 0 12px 22px #a7286120;
    min-height: 0
}

/* 3.css:1734 */
:where(.shindan-deals).c .deal h3{
font-size: 23px;
    line-height: 1.45;
    max-width: 84%;
    margin: 17px 0 2px;
    color: white;
    text-shadow: 0 2px #743152
}

/* 3.css:1743 */
:where(.shindan-deals).c .deal .condition{
font-size: 13px;
    margin-top: 1px
}

/* 3.css:1748 */
:where(.shindan-deals) .deal-content{
display: flex;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
    margin: 14px 0 0
}

/* 3.css:1756 */
:where(.shindan-deals) .product-frame{
position: relative;
    border-radius: 18px;
    padding: 4px;
    background: linear-gradient(140deg, #fffbcf, #e9ac4c 57%, #fff2b8);
    box-shadow: 0 5px #924d4070, 0 0 22px #ffd26435;
    flex-shrink: 0;
    transform: rotate(-6deg)
}

/* 3.css:1766 */
:where(.shindan-deals) .product-art{
width: 103px;
    height: 100px;
    overflow: hidden;
    border-radius: 14px;
    position: relative;
    background: #fff9ea
}

/* 3.css:1775 */
:where(.shindan-deals) .product-art img{
position: absolute;
    width: 380px !important;
    height: auto !important;
    max-width: none;
    top: -146px;
    left: -89px;
    object-fit: contain
}

/* 3.css:1793 */
:where(.shindan-deals).c .deal .rewardvalue{
white-space: nowrap;
    text-align: right;
    min-width: 0
}

/* 3.css:1799 */
:where(.shindan-deals).c .rewardvalue s{
font-size: 13px;
    color: #ffe8f3
}

/* 3.css:1804 */
:where(.shindan-deals).c .rewardvalue b{
font-size: 43px;
    color: #fff4cf;
    text-shadow: 0 3px #853c37, 1px 0 #853c37, -1px 0 #853c37;
    display: block;
    line-height: 1.35
}

/* 3.css:1812 */
:where(.shindan-deals).c .rewardvalue b small{
display: block;
    color: #fff1d4;
    font-size: 13px;
    line-height: 1.2;
    text-shadow: none
}

/* 3.css:1820 */
:where(.shindan-deals).c .deal .cta{
margin-top: 18px;
    border-radius: 12px;
    font-size: 19px;
    min-height: 51px;
    box-shadow: inset 0 2px #fff4c5, 0 4px #a2601d, 0 8px 14px #5a194828
}

@media (max-width:500px){
/* 3.css:2041 */
:where(.shindan-deals).c .rewardvalue b {
font-size: 41px
}
}

@media (max-width:370px){
/* 3.css:2083 */
:where(.shindan-deals).c .deal {
padding: 15px 12px
}

/* 3.css:2087 */
:where(.shindan-deals).c .deal h3 {
font-size: 21px;
        max-width: 82%
}

/* 3.css:2092 */
:where(.shindan-deals).c .rewardvalue b {
font-size: 37px
}

/* 3.css:2096 */
:where(.shindan-deals).c .product-frame {
padding: 3px
}

/* 3.css:2100 */
:where(.shindan-deals).c .product-art {
width: 93px;
        height: 94px
}

/* 3.css:2105 */
:where(.shindan-deals).c .deal-content {
gap: 7px
}
}

/* 3.css:2328 */
:where(.shindan-deals) .cta:disabled{
background: linear-gradient(#eddfdb, #d6c5c0);
    color: #89706c;
    border-color: #f6ece6;
    box-shadow: 0 4px #baa7a0
}

/* 3.css:2392 */
:where(.shindan-deals).c .deal{
background: radial-gradient(ellipse at 10% 45%, #e76570, transparent 66%), linear-gradient(110deg, #a60e30, #d6334e);
    box-shadow: 0 5px #870d2b, 0 0 0 3px #fff3d580, 0 12px 22px #8c102920
}

/* 3.css:2397 */
:where(.shindan-deals).c .deal h3{
color: white;
    text-shadow: 0 2px #790e2c
}

/* 3.css:2402 */
:where(.shindan-deals).c .deal .condition{
color: #fff0e6
}

/* 3.css:2406 */
:where(.shindan-deals).c .rewardvalue s{
color: #ffe9dd
}

/* 3.css:2410 */
:where(.shindan-deals).c .deal .cta{
box-shadow: inset 0 2px #fff4c5, 0 4px #a2601d, 0 8px 14px #65112b28
}

/* 3.css:2450 */
:where(.shindan-deals).c .product-frame{
transform: none;
    border-radius: 16px;
    padding: 4px
}

/* 3.css:2458 */
:where(.shindan-deals).c .product-art{
width: 112px;
    height: 88px;
    border-radius: 12px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center
}

/* 3.css:2469 */
:where(.shindan-deals).c .product-art img{
position: static;
    width: 100% !important;
    height: 100% !important;
    max-width: 100%;
    object-fit: contain;
    padding: 10px;
    transform: none;
    filter: none
}

@media (max-width:370px){
/* 3.css:2538 */
:where(.shindan-deals).c .product-art {
width: 98px;
        height: 84px
}

/* 3.css:2544 */
:where(.shindan-deals).c .product-art img {
padding: 8px
}
}

/* 3.css:3602 */
:where(.shindan-deals) .deal-promo-labels{
display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    max-width: calc(100% - 64px);
    margin: 0 0 12px;
    position: relative;
    z-index: 2
}

/* 3.css:3613 */
:where(.shindan-deals) .deal-promo-labels>span{
display: inline-flex;
    align-items: center;
    min-height: 27px;
    padding: 3px 9px;
    border: 1px solid #fff2b3;
    border-radius: 7px;
    background: linear-gradient(#fff3b7, #ffd266);
    color: #84162d;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.4;
    box-shadow: 0 2px #77102966;
    white-space: nowrap
}

/* 3.css:3629 */
:where(.shindan-deals) .deal-promo-labels>span.double-benefit{
background: #fff7ea;
    border-color: #fff2b3;
    color: #a30e30
}

/* 3.css:3635 */
:where(.shindan-deals).c .deal .deal-promo-labels+.deal-heading h3{
margin-top: 0
}

@media (max-width:370px){
/* 3.css:3666 */
:where(.shindan-deals) .deal-promo-labels {
gap: 5px
}

/* 3.css:3670 */
:where(.shindan-deals) .deal-promo-labels>span {
font-size: 12px;
        padding: 3px 7px
}
}

/* 3.css:3710 */
:where(.shindan-deals).c.pack .deal-promo-labels{
max-width: 100%
}

/* 3.css:3714 */
:where(.shindan-deals).c.pack .deal .rewardvalue{
display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 96px
}

/* 3.css:3866 */
:where(.shindan-deals).c.pack .deal>.cta{
animation: offer-cta-bounce 2.8s ease-in-out infinite;
    transform-origin: center;
    will-change: transform
}

/* 3.css:3902 */
:where(.shindan-deals).c.pack .deal>.cta:hover,:where(.shindan-deals).c.pack .deal>.cta:focus-visible{
animation-play-state: paused
}

/* 3.css:3907 */
:where(.shindan-deals).c.pack .deal>.cta:active{
animation: none;
    transform: translateY(2px)
}

/* 3.css:3912 */
:where(.shindan-deals).c.pack .deal>.cta:disabled{
animation: none;
    transform: none;
    will-change: auto
}

@media (prefers-reduced-motion:reduce){
/* 3.css:3919 */
:where(.shindan-deals).c.pack .deal>.cta {
animation: none;
        transform: none;
        will-change: auto
}
}

/* 3.css:3927 */
:where(.shindan-deals).c.pack .deal{
overflow: visible;
    padding: 25px 14px 16px;
    margin-top: 14px;
    margin-bottom: 33px
}

/* 3.css:3934 */
:where(.shindan-deals).c.pack .deal:before{
border-radius: inherit
}

/* 3.css:3938 */
:where(.shindan-deals).c.pack .deal .deal-promo-labels{
position: absolute;
    top: -15px;
    left: 14px;
    margin: 0;
    z-index: 5
}

/* 3.css:3946 */
:where(.shindan-deals).c.pack .deal .deal-promo-labels>span{
padding: 5px 12px;
    min-height: 29px;
    box-shadow: 0 3px 0 #8b153448
}

/* 3.css:3952 */
:where(.shindan-deals).c.pack .deal-heading{
display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: nowrap
}

/* 3.css:3960 */
:where(.shindan-deals).c.pack .deal .deal-heading h3{
flex-shrink: 0;
    max-width: none;
    min-height: 0;
    margin: 0;
    font-size: 23px;
    line-height: 1.4
}

/* 3.css:3969 */
:where(.shindan-deals).c.pack .deal .condition{
margin: 0;
    font-size: 12px;
    line-height: 1.5;
    text-align: right
}

/* 3.css:3976 */
:where(.shindan-deals).c.pack .deal .deal-content{
flex-direction: row;
    gap: 10px;
    margin-top: 18px;
    align-items: center
}

/* 3.css:3983 */
:where(.shindan-deals).c.pack .deal .product-frame{
padding: 3px;
    border-radius: 13px
}

/* 3.css:3988 */
:where(.shindan-deals).c.pack .deal .product-art{
width: 78px;
    height: 74px;
    border-radius: 10px
}

/* 3.css:3994 */
:where(.shindan-deals).c.pack .deal .product-art img{
padding: 5px
}

/* 3.css:3998 */
:where(.shindan-deals).c.pack .deal .rewardvalue{
flex: 1;
    min-width: 0;
    min-height: 94px;
    text-align: right
}

/* 3.css:4005 */
:where(.shindan-deals).c.pack .deal .rewardvalue b{
font-size: clamp(42px, 15.6vw, 64px);
    line-height: 1.12;
    letter-spacing: -.035em
}

/* 3.css:4011 */
:where(.shindan-deals).c.pack .deal .rewardvalue b small{
font-size: 16px;
    line-height: 1.35;
    letter-spacing: 0;
    margin: 3px 0 0
}

/* 3.css:4018 */
:where(.shindan-deals) .offer-amount-number{
font-variant-numeric: tabular-nums
}

@media (max-width:370px){
/* 3.css:4073 */
:where(.shindan-deals).c.pack .deal {
padding-left: 12px;
        padding-right: 12px
}

/* 3.css:4078 */
:where(.shindan-deals).c.pack .deal .deal-heading h3 {
font-size: 20px
}

/* 3.css:4082 */
:where(.shindan-deals).c.pack .deal .condition {
font-size: 11px
}

/* 3.css:4086 */
:where(.shindan-deals).c.pack .deal .product-art {
width: 66px;
        height: 66px
}

/* 3.css:4091 */
:where(.shindan-deals).c.pack .deal .rewardvalue b {
font-size: clamp(40px, 15vw, 55px)
}
}

/* 3.css:4650 */
:where(.shindan-deals).c.pack .deal .condition{
font-weight: 700
}

/* 3.css:4706 */
:where(.shindan-deals).c.pack .deal>.cta{
transform: none !important;
    will-change: auto !important
}

/* 3.css:4728 */
:where(.shindan-deals).c.pack .deal-promo-labels{
font-family:  "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
    font-weight: 700;
    letter-spacing: .015em
}

/* 3.css:4987 */
:where(.shindan-deals).c.pack .deal .condition{
font-weight: 700
}

/* Standalone-only integration safeguards,not changes to the LP source. */
:where(.shindan-deals).c.pack .deal>.cta{animation:none;}
:where(.shindan-deals).c.pack .deal .deal-heading{flex-wrap:wrap;align-items:baseline;}
:where(.shindan-deals).c.pack .deal .deal-heading h3{flex-shrink:1;overflow-wrap:anywhere;}
:where(.shindan-deals).c.pack .deal .condition{margin-left:auto;overflow-wrap:anywhere;}
:where(.shindan-deals).c.pack .deal .deal-promo-labels{max-width:calc(100% - 28px);}
:where(.shindan-deals).c.pack .deal .deal-promo-labels>span{white-space:normal;overflow-wrap:anywhere;}
:where(.shindan-deals).c.pack .deal .product-art img.official-logo{position:static;width:100% !important;height:100% !important;max-width:100%;padding:5px;object-fit:contain;}
:where(.shindan-deals).c.pack .deal .logo-placeholder{padding:5px;color:#766b5b;font:700 11px/1.5 -apple-system,BlinkMacSystemFont,"Hiragino Sans",sans-serif;text-align:center;}
:where(.shindan-deals).c.pack .deal .rewardvalue small{white-space:normal;}

/* Standalone: CTA stays LP gold while disabled (no live destination yet). */
:where(.shindan-deals).c.pack .deal > .cta:disabled{
    background: linear-gradient(#ffe58a, #ffcd48 48%, #ffb71c 51%, #ffc32b);
    box-shadow: inset 0 2px #fff4c5, 0 4px #a2601d, 0 8px 14px #65112b28;
    color: #5b3917;
    border: 2px solid #fff2ad;
    border-bottom-color: #e29a29;
    text-shadow: 0 1px #fff0b0;
    opacity: 1;
}


/* Confirmed specification: campaign LP author,2026-11-06 JST. Theme CSS is NOT an assignment. */

/* 3.css:3451 */
:where(.shindan-deals).c .deal .deal-guide-link{
    display: block;
    width: fit-content;
    margin: 14px auto 0;
    padding: 2px 0;
    border: 0;
    border-radius: 0;
    background: none;
    color: #f6deca;
    font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
    font-size: 13px;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 4px;
    line-height: 1.7;
}

/* 3.css:3468 */
:where(.shindan-deals) .deal-guide-link>span:last-child{
    display: inline;
    font-size: 16px;
    margin-left: 5px;
    text-decoration: none;
}

/* 3.css:3475 */
:where(.shindan-deals).c .deal .deal-guide-link:hover{
    background: none;
    color: #fff;
}

/* 3.css:3480 */
:where(.shindan-deals).c .deal.deal-2 .deal-guide-link{
    color: #8b2940;
}

/* 3.css:3484 */
:where(.shindan-deals).c .deal.deal-2 .deal-guide-link:hover{
    color: #5a0a10;
}

/* 3.css:3488 */
:where(.shindan-deals) .deal-guide-link:focus-visible{
    outline: 3px solid #a9eff2;
    outline-offset: 3px;
}

/* 3.css:1828 */
:where(.shindan-deals).c .deal.purple{
    border-radius: 25px 9px 25px 9px;
}

/* 3.css:2414 */
:where(.shindan-deals).c .deal.purple{
    background: radial-gradient(ellipse at 90% 30%, #c95b6a, transparent 65%), linear-gradient(125deg, #660e29, #951d3b);
    border-color: #f5cf90;
    box-shadow: 0 5px #58091f, 0 0 0 3px #fff6df80, 0 12px 22px #6d102620;
}

/* 3.css:1859 */
:where(.shindan-deals).c .deal-1 .rewardvalue b{
    color: #fff5d6;
}

/* 3.css:2420 */
:where(.shindan-deals).c .deal-1 h3{
    text-shadow: 0 2px #4b0b20;
}

/* 3.css:2424 */
:where(.shindan-deals).c .deal-1 .rewardvalue b{
    text-shadow: 0 3px #64162b;
}

/* 3.css:1864 */
:where(.shindan-deals).c .deal.green{
    background: linear-gradient(120deg, #fff9e7, #ffe9b3 70%, #ffda91);
    border-color: #fff7dc;
    box-shadow: 0 5px #c28d44, 0 0 0 2px #e5bc77, 0 12px 22px #a2722920;
    border-radius: 15px;
    color: #7f5524;
}

/* 3.css:2432 */
:where(.shindan-deals).c .deal-2 h3,:where(.shindan-deals).c .deal.green h3{
    color: #8e2630;
    text-shadow: 0 2px white;
}

/* 3.css:2437 */
:where(.shindan-deals).c .deal-2 .condition,:where(.shindan-deals).c .deal.green .condition{
    color: #8c4b35;
}

/* 3.css:2441 */
:where(.shindan-deals).c .deal-2 .rewardvalue b,:where(.shindan-deals).c .deal.green .rewardvalue b{
    color: #af1737;
    text-shadow: 0 2px white;
}

/* 3.css:2446 */
:where(.shindan-deals).c .deal-2 .rewardvalue b small,:where(.shindan-deals).c .deal.green .rewardvalue b small{
    color: #8d4431;
}

/* 3.css:1881 */
:where(.shindan-deals).c .deal-2 .rewardvalue s,:where(.shindan-deals).c .deal.green .rewardvalue s{
    color: #a37b4c;
}

/* 3.css:1894 */
:where(.shindan-deals).c .deal-2 .product-frame,:where(.shindan-deals).c .deal.green .product-frame{
    background: linear-gradient(140deg, #fff, #dfb86f);
    box-shadow: 0 4px #bb8e4f66;
}

/* 3.css:2315 */
:where(.shindan-deals).c.pack .deal-2>.cta,:where(.shindan-deals).c.pack .deal.green>.cta,:where(.shindan-deals).c.pack .deal-2>.cta:disabled,:where(.shindan-deals).c.pack .deal.green>.cta:disabled{
    background: linear-gradient(#ed5970, #ca1d40 49%, #ad0e30 51%, #c4173b);
    border-color: #ffb5a8;
    color: #fff8ed;
    text-shadow: 0 2px #7f0e27;
}

/* 3.css:3480,3484 — green alias keeps the same guide-link colors even without deal-2. */
:where(.shindan-deals).c .deal.green .deal-guide-link{color:#8b2940;}
:where(.shindan-deals).c .deal.green .deal-guide-link:hover{color:#5a0a10;}

/* furusato_lp.html:241 — badge CSS only; not the NISA UI authority. */
:where(.shindan-deals) .sokuget-badge{display:block;width:150px;height:auto}

/* furusato_lp.html:254 — badge CSS only; not the NISA UI authority. */
:where(.shindan-deals).c.pack .sokuget-badge{height:44px;width:auto;filter:drop-shadow(0 2px 0 #5a0a1c66)}

/* furusato_lp.html:255 — badge CSS only; not the NISA UI authority. */
:where(.shindan-deals).c.pack .deal .deal-promo-labels:has(.sokuget-badge){top:-24px}

.shindan-deals.phone{margin:0;width:auto;max-width:none;min-height:0;background:none;box-shadow:none;border-radius:0;overflow:visible}
.shindan-deals .deal:last-child{margin-bottom:4px}
.shindan-deals .product-art.logo-placeholder{display:grid;place-items:center;text-align:center;font-size:11px;line-height:1.3;color:#fff8e8}
.caution{font-size:11px;color:rgba(5,21,95,.6);text-align:center;line-height:1.6;margin:0}
/* v8: 診断の中だけ動きを止める。サイト全体のローディングには効かせない。 */
.app,.app::before,.app::after,.app *,.app *::before,.app *::after{animation:none!important}
.deal-empty .deal-heading{min-height:64px}.deal-empty .deal-heading h3{min-height:24px}.deal-empty .rewardvalue{min-height:48px}

/* ===== v14 ===== */
.topbar{border-bottom-color:var(--bright,#ffd35a)}
.agepick{display:flex;flex-direction:column;gap:12px;padding:16px;border-radius:18px;background:#FFFDF6;border:3px solid #E8C453;box-shadow:0 6px 0 rgba(5,21,95,.35)}
.agepick label{font-family:var(--font-h);font-size:15px;color:#05155F}
.agepick select{appearance:none;-webkit-appearance:none;width:100%;padding:14px 44px 12px 16px;border-radius:14px;border:3px solid #2E4EB4;font-family:var(--font-h);font-size:22px;color:#05155F;
 background:#fff}
.agepick .gold-btn:disabled{opacity:.45;filter:grayscale(.6)}
.agehint{margin:0;font-size:12px;color:#5a6390;text-align:center}
/* must card: 豪華な金枠 */
.card.must-card{padding:26px 14px 22px;margin:8px -6px 0;border:0;border-radius:24px;
 background:linear-gradient(var(--paper),var(--paper)) padding-box,linear-gradient(135deg,#FFF6BF,#FFC63E 25%,#9A6512 45%,#FFE27A 60%,#B67829 80%,#FFF3A8) border-box;border:6px solid transparent;
 box-shadow:0 0 0 2px var(--deep),0 0 0 5px #FFD34A,0 0 0 7px #8A5A10,0 0 28px 8px rgba(255,211,74,.75),0 14px 30px rgba(0,0,0,.35),inset 0 0 0 2px #fff8e0,inset 0 0 24px rgba(255,211,74,.45)}
.card.must-card>.plate.must-plate{font-size:19px;padding:9px 24px 8px;top:-22px;border-width:4px;box-shadow:inset 0 0 0 2px #fff8e8,0 5px 0 var(--golddk),0 0 18px rgba(255,220,100,.9)}
.must-ribbon{position:absolute;right:-8px;top:18px;z-index:3;padding:4px 12px 3px;background:linear-gradient(var(--bright),var(--deep));color:#FFE27A;font-family:var(--font-h);font-size:12px;letter-spacing:.14em;border:2px solid #FFD34A;border-radius:6px 0 0 6px;box-shadow:0 3px 0 rgba(0,0,0,.3)}
.shindan-deals.c.pack .deal.must{padding:22px 16px 18px!important;border-radius:18px!important;transform:none;
 background:radial-gradient(120% 80% at 50% 0%,var(--light),#fff 60%)!important;border:3px solid #E2B24A!important;
 box-shadow:inset 0 0 0 2px #fff,inset 0 0 0 4px #FFD34A,inset 0 6px 14px rgba(255,255,255,.9),0 6px 0 #B8801C!important}
.shindan-deals.c.pack .deal.must .deal-heading{min-height:84px}
.shindan-deals.c.pack .deal.must .product-frame{transform:scale(1.15);transform-origin:left center}
.shindan-deals.c.pack .deal.must>.cta{font-size:18px!important;padding-top:14px!important;padding-bottom:12px!important}
/* more cards: 静かにタイプ色 */
.card.more-card{border:2px solid color-mix(in srgb,var(--bright) 40%,#fff);box-shadow:0 4px 0 rgba(0,0,0,.12)}
.card.more-card>.plate{font-size:13px;padding:5px 16px 4px;border-width:2px;box-shadow:inset 0 0 0 1px #fff8e8,0 2px 0 var(--golddk)}
.more-card .shindan-deals.c.pack .deal{background:var(--light)!important;border:1.5px solid color-mix(in srgb,var(--bright) 35%,#fff)!important;box-shadow:none!important;padding:12px!important;border-radius:12px!important}
.more-card .shindan-deals.c.pack .deal:before{display:none!important}
.more-card .shindan-deals.c.pack .deal .product-frame{transform:scale(.85);transform-origin:left center}
.more-card .deal-empty .deal-heading{min-height:40px}.more-card .deal-empty .rewardvalue{min-height:30px}
.more-card .shindan-deals.c .deal .deal-guide-link{color:var(--deep)!important}
.shindan-deals .product-art.logo-placeholder{background:linear-gradient(135deg,var(--bright),var(--deep))!important;color:#fff8e8!important;font-size:11px!important}
.shindan-deals.c .deal.must .deal-guide-link{color:var(--deep)!important;opacity:1}

/* ===== ojisan tip under options (v15) ===== */
.oji-tip{display:flex;align-items:flex-end;gap:10px;margin:14px 14px 4px;padding:10px 12px;background:rgba(255,253,246,.92);border:1.5px solid #E8C453;border-radius:16px;box-shadow:0 2px 10px rgba(5,21,95,.08)}
.oji-tip img{width:88px;height:88px;object-fit:contain;flex:none;filter:drop-shadow(0 2px 4px rgba(5,21,95,.12))}
.oji-tip .tip-bubble .nw{white-space:nowrap}
.bubble h2 .ph{display:inline-block}
.oji-tip .tip-bubble{position:relative;flex:1;background:#FFFDF6;border:1.5px solid #C9B56A;border-radius:14px;padding:10px 12px;font-size:13px;line-height:1.55;color:#05155F;font-weight:600}
.oji-tip .tip-bubble::before{content:"";position:absolute;left:-8px;bottom:16px;width:12px;height:12px;background:#FFFDF6;border-left:1.5px solid #C9B56A;border-bottom:1.5px solid #C9B56A;transform:rotate(45deg)}
#phone.quiz-mode .oji-tip{background:rgba(255,253,246,.95)}/* ===== v16: big transparent ojisan bottom-left + bubble right ===== */
#s-quiz.screen{padding-bottom:14px}
.oji-tip{flex:1 1 auto;position:relative;display:block!important;min-height:190px;margin:6px -18px 0;padding:0;background:none!important;border:0;border-radius:0;box-shadow:none}
.oji-tip[hidden]{display:none!important}
.oji-tip img{position:absolute;left:4px;bottom:0;width:auto;height:100%;max-height:400px;max-width:46%;object-fit:contain;object-position:left bottom;filter:drop-shadow(0 6px 12px rgba(5,21,95,.35))}
.oji-tip .tip-bubble{position:absolute;right:16px;top:14%;width:52%;font-size:14px;padding:12px 14px;border-radius:16px;box-shadow:0 4px 14px rgba(5,21,95,.25)}
.oji-tip .tip-bubble::before{left:-8px;top:22px;bottom:auto}
.qfoot{padding-top:6px;margin-top:0}#phone.quiz-mode{min-height:calc(100vh - 68px);min-height:calc(100dvh - 68px)}
#s-quiz.on{min-height:calc(100vh - 68px);min-height:calc(100dvh - 68px)}
/* ===== v17: layout-only fixes (no color/copy changes) ===== */
/* 1) tip/diag bubble: avoid orphan last char & mid-word breaks */
.oji-tip .tip-bubble{
  word-break:normal;
  overflow-wrap:normal;
  line-break:strict;
  text-wrap:pretty;
}
.oji-tip .tip-bubble{
  left:46%;
  right:18px;
  width:auto;
  max-width:none;
  min-width:0;
  font-size:13.5px;
  line-height:1.5;
  padding:11px 13px;
  letter-spacing:.01em;
  box-sizing:border-box;
}
/* 2) 4-option questions: taller ojisan,tighter opts,tip can tuck under */
#s-quiz.opts4 .opts{gap:7px;margin-top:8px}
#s-quiz.opts4 .opt{padding:11px 12px}
#s-quiz.opts4 .opt .lt{width:30px;height:30px;font-size:14px}
#s-quiz.opts4 .opt .tx b{font-size:16px;line-height:1.25}
#s-quiz.opts4 .ask{margin-bottom:8px}
#s-quiz.opts4 .qhead{margin-bottom:12px}
/* v17 opts4 sizing superseded by v18/v19 unified tip rules below */
#s-quiz.opts4 .opts{position:relative;z-index:2}
#s-quiz.opts4 .qfoot{position:relative;z-index:2;padding-top:4px}

/* default tip min taller when space allows */
.oji-tip{min-height:220px}

/* 4) fit quiz in one 390x844 screen (no page scroll) */
#s-quiz.screen{padding:16px 18px 8px;box-sizing:border-box}
#s-quiz.on{
  min-height:0!important;
  height:100%;
  max-height:100%;
  overflow:hidden;
}
#phone.quiz-mode{
  min-height:0;
  height:calc(100dvh - 68px);
  height:calc(100vh - 68px);
  max-height:calc(100dvh - 68px);
  max-height:calc(100vh - 68px);
  box-sizing:border-box;
}.qhead{margin-bottom:12px}
.ask{margin-bottom:8px}
.opts{gap:9px;margin-top:10px}
.opt{padding:13px 12px}
.opt .tx b{font-size:17px}
.qfoot{padding-top:6px;margin-top:0;flex:none;min-height:22px}
.oji-tip{margin:2px -18px 0}
.avatar{width:68px;height:68px}
.bubble h2{font-size:18px;line-height:1.35}
.bubble{padding:10px 12px}

/* ===== v18: no-overlap ojisan + bolder diagnosing ===== */
/* quiz stack: tip fills leftover below opts; never tuck under opts */
#s-quiz.on{
  display:flex;
  flex-direction:column;
}
#s-quiz .qhead,#s-quiz .ask,#s-quiz .opts,#s-quiz .qfoot{flex:none;position:relative;z-index:3}
#s-quiz .oji-tip{
  flex:1 1 auto;
  position:relative;
  z-index:1;
  min-height:0!important;
  margin:8px -18px 0!important;
  overflow:hidden;
}
#s-quiz .oji-tip img{
  position:absolute;
  left:20px; /* v19: slightly right of prior 2px; not centered */
  bottom:0;
  width:auto;
  height:auto;
  /* v19: lock to Q3(4-opt) size; spare space on 2/3-opt stays empty */
  max-height:min(100%, 312px);
  max-width:46%;
  object-fit:contain;
  object-position:left bottom;
}
#s-quiz .oji-tip .tip-bubble{
  position:absolute;
  left:48%;
  right:18px;
  top:12%;
  bottom:auto;
  z-index:2;
  max-height:76%;
  overflow:visible;
}

/* kill v17 opts4 tuck-under / stacking tricks */
#s-quiz.opts4 .oji-tip{
  min-height:0!important;
  margin-top:8px!important;
  z-index:1;
}
#s-quiz.opts4 .opts{position:relative;z-index:3}
#s-quiz.opts4 .qfoot{z-index:3}
/* tighter chrome for 4-opt fit (ojisan size no longer special-cased) */
#s-quiz.opts4 .opts{gap:6px;margin-top:6px}
#s-quiz.opts4 .opt{padding:10px 11px}
#s-quiz.opts4 .ask{margin-bottom:6px}
#s-quiz.opts4 .qhead{margin-bottom:8px}
#s-quiz.opts4 .oji-tip .tip-bubble{top:8%;font-size:12.5px;padding:9px 11px}

/* v19: no per-opts-count ojisan size overrides — all match Q3 */

.comic-final{display:block;width:100%;height:auto}.comic-lines{font-size:14px;line-height:1.65;margin-top:10px}

body{background:#f1f0eb;color:#242235}.app{background:#fff;box-shadow:0 0 60px #27224512}
#s-start.screen{background:#fff8e7}.cover{padding:24px 20px 30px;text-align:center;color:#211f38;background:radial-gradient(#eacb7e 1px,transparent 1.5px) 0 0/16px 16px,#fff7df}
.wordmark{display:flex;align-items:center;justify-content:center;gap:9px;font-family:var(--font-h);font-size:19px;font-weight:900}.wordmark span{border-left:2px solid currentColor;padding-left:9px;font-size:12px}
.cover h1{font-size:clamp(32px,9vw,38px);line-height:1.1;letter-spacing:.015em;margin:15px 0 16px}.cover h1 em{display:inline-block;font-style:normal;font-size:1.58em;transform:rotate(-3deg);background:linear-gradient(transparent 68%,#ffd241 68%)}
.cast{display:grid;grid-template-columns:1fr 1fr;gap:9px;max-width:312px;margin:auto}
.animal{margin:0;border-radius:21px;border:2px solid #2b2642;position:relative;overflow:hidden;box-shadow:2px 3px 0 #2b2642;background:#ffdb63}.animal:nth-child(2){background:#ffbe99}.animal:nth-child(3){background:#ffad90}.animal:nth-child(4){background:#aee5ba}.animal img{display:block;width:100%;height:clamp(90px,15vh,128px);object-fit:contain}.animal figcaption{font-weight:900;font-size:12px;padding:1px 0 5px}.cover p{font-size:14px;line-height:1.65;font-weight:700;margin:20px 0 13px}
#s-start #btn-start{position:static;width:100%;max-width:318px;height:auto;padding:13px 14px;display:inline-flex;align-items:center;justify-content:center;gap:22px;border:2px solid #282339;border-radius:15px;background:#302857;color:white;font-family:var(--font-h);font-size:19px;box-shadow:0 4px 0 #171329}#btn-start span{color:#ffdb67}
#s-result{background:#faf8f3;color:#28253a}#s-result .body{padding:0 13px 18px}
.reveal{text-align:center;color:#28253a;padding:24px 14px 21px;border-bottom:3px solid #28253a;background:radial-gradient(#ffffffa1 1.2px,transparent 1.5px) 0 0/12px 12px,var(--light)}
.r-intro{display:inline-block;margin:0 0 8px;font-size:13px;font-weight:800}.reveal h1{font-size:clamp(23px,7vw,29px);line-height:1.32}.reveal #r-slot{margin:13px auto;width:min(64%,232px);aspect-ratio:1;border:2px solid #28253a;transform:rotate(-2deg);background:white;padding:5px;border-radius:23px;box-shadow:4px 5px 0 var(--deep)}#r-slot img{display:block;width:100%;height:100%;object-fit:contain;border-radius:17px}
#r-catch{font-family:var(--font-h);font-size:clamp(15px,4.7vw,19px);font-weight:900;line-height:1.5;margin:18px 0 8px}#r-route{display:flex;align-items:center;justify-content:center;gap:8px}#r-route span{font-size:12px;font-weight:800;background:#fff;color:var(--deep);border:1.5px solid var(--deep);padding:3px 10px;border-radius:99px}
#s-result .tile{margin:15px 0;padding:18px 16px;border:2px solid #332d42;border-radius:19px;background:#fff;box-shadow:2px 3px 0 #332d42;text-align:left}#s-result .meters{margin:16px 13px 0}#s-result .tile h2{font-size:19px;line-height:1.45;color:#28253a} .tile p,.tile li{font-family:var(--font-b);font-size:14px;line-height:1.85}.tile p{margin:9px 0 0}.style-meter{margin-top:13px}.style-meter p{font-size:12px;color:#595467}.rail{height:8px;background:linear-gradient(90deg,var(--light),var(--bright));border-radius:20px;position:relative;margin:9px 7px}.rail i{position:absolute;top:50%;transform:translate(-50%,-50%);width:15px;height:15px;background:#fff;border:4px solid var(--deep);border-radius:50%}.ends{display:flex;justify-content:space-between;font-size:12px;font-weight:bold}.habits{background:var(--light);padding:13px;border-radius:12px;margin-top:15px}.habits h3{font-size:14px}.habits ul,.saving ol{padding:0;list-style:none;margin:6px 0 0}.habits li,.saving li{position:relative;padding-left:22px;margin-top:5px}.habits li:before{content:'✓';position:absolute;left:0;color:var(--deep);font-weight:900}.saving ol{counter-reset:step}.saving li{counter-increment:step;border-top:1px dashed #c7c2bb;padding:10px 0 3px 32px}.saving li:before{content:counter(step);position:absolute;left:0;top:12px;width:22px;height:22px;border-radius:50%;background:var(--deep);color:white;text-align:center;font:bold 13px/22px sans-serif}.saving h2{border-left:6px solid var(--bright);padding-left:9px}


.cover h1 small{display:block;font-size:18px;margin:14px 0 8px}.cover h1 em{font-size:clamp(32px,10vw,42px)}.chips{display:flex;gap:8px;justify-content:center}.chips b,.perks{background:#fff;border:2px solid #332d42;border-radius:18px;padding:4px 10px;font-size:12px}.perks{margin:12px auto 18px;max-width:320px;text-align:left;list-style:none;padding:10px 14px;font-weight:bold;font-size:13px}.perks li:before{content:'✓';margin-right:10px;color:#356749}.animal figcaption{font-size:clamp(11px,3.1vw,13px)}
#alias{display:inline-block;margin:10px auto 0;padding:6px 15px;background:var(--deep);color:white;font-size:19px;border-radius:8px;transform:rotate(-2deg)}.reveal #r-catch{font-size:16px;margin:15px auto 10px;max-width:300px;text-wrap:balance}.reveal #r-route span{font-size:11px;white-space:nowrap}.reason,#r-axes{background:white;border:2px solid var(--deep);border-radius:20px;text-align:left;margin:17px 0 0;padding:14px}.reason{position:relative}.reason:before{content:'';position:absolute;top:-8px;left:30px;border-left:2px solid var(--deep);border-top:2px solid var(--deep);background:white;width:10px;height:10px;transform:rotate(45deg)}.reason p,.insight p{margin:4px 0;font-size:14px;line-height:1.75}.style-meter:first-child{margin-top:0}.style-meter p{margin:0;font-size:14px}.ends span{white-space:nowrap;font-size:clamp(11px,3vw,13px)}
#s-result .tile{border:3px solid var(--deep);border-radius:24px}#s-result .tile h2{display:inline-block;color:var(--deep);border:0;border-radius:99px;padding:5px 12px;background:var(--light);font-size:17px}#stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:14px}.stat,.insight,.saving li{background:#faf8f3;border-radius:12px;padding:10px}.stat{position:relative;display:flex;align-content:flex-start;align-items:center;flex-wrap:wrap;gap:3px;font-size:13px}.stat b{margin-left:auto}.stat small{font-size:11px;font-weight:bold;color:white;background:var(--deep);padding:1px 5px;border-radius:5px}.power{width:100%;background:#e8e5de;border-radius:8px;height:6px;margin-top:5px}.power i{display:block;background:var(--bright);border-radius:inherit;height:100%}.tile .stat p{font-size:12px;line-height:1.5}.insight{margin-top:9px}.insight b{font-size:12px;color:var(--deep)}.saving li{border:0;padding:10px 10px 10px 42px;margin-top:8px}.saving li:before{left:10px}.sharebox{padding:14px;border:2px solid var(--deep);background:white;border-radius:20px}.sharebox p{font-size:14px;line-height:1.7;text-align:left;user-select:all}.sharebox .ghost-btn{margin-top:14px}

#s-result .reading .about-copy p{margin:14px 0;font-size:15px;line-height:1.85}#s-result .saving h2{display:block;background:none;padding:0;border:0}#s-result .saving h2 span{display:block;font:700 14px/1.65 var(--font-b)}#s-result .saving h2 strong{display:inline-block;margin:6px 0;padding:4px 12px;border-radius:12px;background:var(--light);color:var(--deep);font-size:24px;line-height:1.5}
.reveal #r-catch{white-space:pre-line;text-wrap:wrap;max-width:100%}


/* v26: 案件カードの円換算・ボーナス・ゲームのpt表記 */
.shindan-deals .deal .rewardvalue .yen{display:block;margin-top:2px;font-family:var(--font-h);font-size:13px;line-height:1.3;color:var(--deep);text-shadow:none;white-space:nowrap}
.shindan-deals .deal .rewardvalue .bonus{display:inline-block;margin-top:5px;padding:3px 8px 2px;border-radius:7px;background:linear-gradient(#fff3b7,#ffd266);border:1px solid #e2b24a;color:#84162d;font-family:var(--font-h);font-size:12.5px;line-height:1.35;text-shadow:none;white-space:nowrap}
.shindan-deals.c.pack .deal .rewardvalue b.pttext{display:block;font-family:var(--font-h);font-size:24px!important;line-height:1.3;letter-spacing:0;white-space:normal}
.more-card .shindan-deals.c.pack .deal .rewardvalue b.pttext{font-size:20px!important}
.shindan-deals.c.pack .deal .condition{color:var(--ink)!important;text-shadow:none!important;font-weight:800}
.shindan-deals.c.pack .deal .rewardvalue b small{color:var(--deep);text-shadow:none}
.shindan-deals .deal-promo-labels>span.charebo{background:linear-gradient(#ff8a7a,#eb2528);border-color:#fff2b3;color:#fff}


/* v27: 案件カード＝ブランド色 */
.shindan-deals .deal.oc .nw{display:inline-block;white-space:nowrap}
.shindan-deals.c.pack .deal.oc,.shindan-deals.c.pack .deal.must.oc,.more-card .shindan-deals.c.pack .deal.oc{
  background:linear-gradient(150deg,var(--oc1),var(--oc2))!important;border:3px solid var(--ocedge)!important;color:var(--ocfg)}
.more-card .shindan-deals.c.pack .deal.oc{box-shadow:0 3px 0 rgba(0,0,0,.22)!important;padding:14px 12px!important}
.shindan-deals.c.pack .deal.must.oc{box-shadow:inset 0 0 0 2px rgba(255,255,255,.35),0 6px 0 #B8801C!important}
.shindan-deals.c.pack .deal.oc:before{display:none!important}
.shindan-deals.c.pack .deal.oc h3{color:var(--ocfg)!important;text-shadow:none!important}
.shindan-deals.c.pack .deal.oc .condition{color:var(--ocfg)!important;opacity:.95;text-shadow:none!important}
.shindan-deals.c.pack .deal.oc .rewardvalue b{color:var(--ocfg)!important;text-shadow:0 2px 0 rgba(0,0,0,.28)!important}
.shindan-deals.c.pack .deal.oc .rewardvalue b small{color:var(--ocfg)!important;text-shadow:none!important;font-family:var(--font-h)}
.shindan-deals.c.pack .deal.oc .rewardvalue{min-width:0}
.shindan-deals.c.pack .deal.oc .rewardvalue b{white-space:nowrap;font-size:clamp(40px,13.6vw,56px)!important}
.shindan-deals.c.pack .deal.oc .rewardvalue b small.pre{display:inline;font-size:18px;margin:0 3px 0 0;vertical-align:baseline}
.shindan-deals.c.pack .deal.oc .rewardvalue b.amttext{display:block;font-family:var(--font-h);font-size:22px!important;line-height:1.3;letter-spacing:0;white-space:normal;text-shadow:none!important}
.more-card .shindan-deals.c.pack .deal.oc .rewardvalue b.amttext{font-size:19px!important}
.shindan-deals .deal.oc .rewardvalue .bonus{display:inline-block;margin-top:5px;padding:3px 8px 2px;border-radius:7px;background:linear-gradient(#fff3b7,#ffd266);border:1px solid #e2b24a;color:#84162d;font-family:var(--font-h);font-size:12.5px;line-height:1.35;text-shadow:none;white-space:normal;max-width:100%;text-align:center}
.shindan-deals .deal.oc .deal-promo-labels>span.eye{background:var(--ocacc);border-color:var(--ocacc);color:var(--ocaccfg);font-size:14px;box-shadow:0 2px 0 rgba(0,0,0,.3)}
.shindan-deals .deal.oc .deal-promo-labels>span.eye.charebo{background:linear-gradient(#ff8a7a,#eb2528);border-color:#fff2b3;color:#fff}
.shindan-deals.c.pack .deal.oc .product-art.logo{background:#fff}
.shindan-deals.c.pack .deal.oc .product-art.icon img.official-logo{padding:0;border-radius:10px}
.shindan-deals.c.pack .deal.oc .product-art.wide{width:104px}
.shindan-deals.c.pack .deal.oc .product-art.wide img.official-logo{padding:6px}


/* v27・NISA抽出CSSの後に追加。ページ全体の色・プレートは変更しない。 */
.shindan-deals.c.pack .deal.v28.oc {
  box-sizing:border-box; position:relative; isolation:isolate;
  display:grid; gap:14px; width:100%; min-width:0; min-height:0!important;
  margin:0 0 24px!important; padding:16px 13px 19px!important;
  border:2px solid var(--ocedge)!important; border-radius:19px!important;
  color:var(--ocfg)!important; overflow:hidden; transform:none!important;
  background:radial-gradient(ellipse at 18% 0%,#ffffff45,transparent 65%),
    linear-gradient(155deg,#ffffff18,transparent 48%,#0000001c),
    linear-gradient(125deg,var(--oc1),var(--oc2))!important;
  box-shadow:inset 0 1px 0 #ffffffb0,inset 0 0 0 1px #ffffff45,
    0 5px 0 color-mix(in srgb,var(--oc2) 65%,#000),0 10px 18px #05155f24!important;
  font-family:-apple-system,BlinkMacSystemFont,"Hiragino Sans","Yu Gothic",Meiryo,sans-serif;
}
.shindan-deals.c.pack .deal.v28.oc *,
.shindan-deals.c.pack .deal.v28.oc *::before,
.shindan-deals.c.pack .deal.v28.oc *::after {box-sizing:border-box;}
.shindan-deals.c.pack .deal.v28.oc::before {
  content:""; display:block!important; position:absolute; inset:0; z-index:0;
  border-radius:inherit; pointer-events:none;
  background:linear-gradient(125deg,transparent 28%,#ffffff13 28%,#ffffff13 43%,transparent 43%)!important;
}
.shindan-deals.c.pack .deal.v28.oc::after {content:none;}
.shindan-deals.c.pack .deal.v28.oc > * {position:relative; z-index:1; min-width:0;}
.shindan-deals.c.pack .deal.v28.oc .deal-promo-labels {
  position:static!important; inset:auto!important; display:flex; flex-wrap:wrap;
  gap:6px; width:auto; max-width:100%!important; margin:0!important; transform:none!important;
}
.shindan-deals.c.pack .deal.v28.oc .deal-promo-labels > .eye {
  position:static; display:inline-flex; max-width:100%; min-height:28px;
  padding:4px 10px; border:1px solid var(--ocedge); border-radius:7px;
  background:var(--ocacc); color:var(--ocaccfg); box-shadow:inset 0 1px #ffffff80,0 2px #0002;
  font:800 12.5px/1.45 var(--font-h); white-space:normal; overflow-wrap:anywhere;
}
.shindan-deals.c.pack .deal.v28.oc .eye.eye-gold {
  background:linear-gradient(#fff6c5,#ffd65f); color:#67400d; border-color:#fff4c1;
}
.shindan-deals.c.pack .deal.v28.oc .eye.eye-hot {
  background:linear-gradient(#f55a51,#c91c2d); color:#fff; border-color:#ffd6a5;
}
.shindan-deals.c.pack .deal.v28.oc .deal-heading {
  display:grid!important; gap:7px; min-height:0!important; margin:0; text-align:left;
}
.shindan-deals.c.pack .deal.v28.oc .deal-heading h3 {
  width:100%; max-width:100%!important; min-width:0; min-height:0!important; margin:0!important;
  font:900 clamp(19px,5.1vw,23px)/1.4 "Hiragino Sans",sans-serif;
  color:var(--ocfg)!important; text-shadow:none!important; white-space:normal; overflow-wrap:anywhere;
}
.shindan-deals.c.pack .deal.v28.oc .condition {
  margin:0!important; text-align:left!important; font-size:13px; line-height:1.65; font-weight:700;
  color:var(--ocfg)!important; text-shadow:none!important; opacity:1;
  white-space:normal; overflow-wrap:anywhere;
}
.shindan-deals.c.pack .deal.v28.oc .deal-content {
  display:grid!important; grid-template-columns:68px minmax(0,1fr); gap:10px;
  align-items:center; margin:0!important; min-width:0;
}
.shindan-deals.c.pack .deal.v28.oc .product-frame {
  width:68px; min-width:0; margin:0; padding:3px; border-radius:13px;
  transform:none!important; background:linear-gradient(140deg,#fffbd6,#e8ac42 58%,#fff0b2);
  box-shadow:0 4px #0002,inset 0 1px #fff8;
}
.shindan-deals.c.pack .deal.v28.oc .product-art,
.shindan-deals.c.pack .deal.v28.oc .product-art.wide {
  display:grid; place-items:center; position:static; width:100%!important; height:64px!important;
  min-width:0; border-radius:10px; background:#fff!important; overflow:hidden; transform:none!important;
}
.shindan-deals.c.pack .deal.v28.oc .product-art img.official-logo {
  display:block; position:static!important; inset:auto!important; width:100%!important; height:100%!important;
  max-width:100%!important; padding:4px!important; object-fit:contain; transform:none!important; filter:none;
}
.shindan-deals.c.pack .deal.v28.oc .product-art.icon img.official-logo {padding:0!important;}
.shindan-deals.c.pack .deal.v28.oc .logo-placeholder {color:#665a42!important;font-size:10px!important;text-align:center;}
.shindan-deals.c.pack .deal.v28.oc .rewardvalue {
  container-type:inline-size; display:block!important; width:100%; min-width:0; min-height:0!important;
  text-align:right!important; white-space:normal;
}
.shindan-deals.c.pack .deal.v28.oc .rewardvalue b {
  display:block; margin:0; font:900 clamp(24px,8.8vw,40px)/1.12 "Hiragino Sans",sans-serif;
  font-size:clamp(20px,17cqi,42px)!important; letter-spacing:-.035em;
  color:var(--ocfg)!important; text-shadow:0 2px #0002!important; white-space:nowrap;
}
.shindan-deals.c.pack .deal.v28.oc .amount-prefix {
  display:inline; margin-right:3px; font-size:.32em; letter-spacing:0; font-weight:800;
}
.shindan-deals.c.pack .deal.v28.oc .offer-amount-number {font-variant-numeric:tabular-nums;}
.shindan-deals.c.pack .deal.v28.oc .rewardvalue .amount-unit {
  display:block; margin:4px 0 0; font-size:14px; line-height:1.4; letter-spacing:0;
  font-weight:800; color:var(--ocfg)!important; text-shadow:none!important;
}
.shindan-deals.c.pack .deal.v28.oc .rewardvalue b.amount-unavailable {
  font-size:18px!important; line-height:1.5; white-space:normal; overflow-wrap:anywhere;
}
.shindan-deals.c.pack .deal.v28.oc .deal-extra-benefit {
  display:grid; grid-template-columns:auto minmax(0,1fr); align-items:center; gap:10px;
  width:100%; height:auto!important; min-height:60px; margin:0; padding:10px;
  border:1px solid #ffe59b; border-radius:10px;
  background:linear-gradient(115deg,#fffdf2,#fff0c4); color:#981530; box-shadow:inset 0 1px #fff;
  text-align:left; line-height:1.5;
}
.shindan-deals.c.pack .deal.v28.oc .extra-lead {font-size:13px;font-weight:900;}
.shindan-deals.c.pack .deal.v28.oc .deal-extra-benefit > strong {
  min-width:0; font-size:15px; line-height:1.5; font-weight:900; text-align:right;
  white-space:normal!important; overflow-wrap:anywhere;
}
.shindan-deals.c.pack .deal.v28.oc > .cta {
  display:block; width:100%; min-height:52px; height:auto; margin:0!important; padding:11px 7px!important;
  border:2px solid #fff2ad!important; border-bottom-color:#e29a29!important; border-radius:12px;
  background:linear-gradient(#ffe58a,#ffcd48 48%,#ffb71c 51%,#ffc32b)!important;
  color:#5b3917!important; box-shadow:inset 0 2px #fff7cb,0 4px #a2601d,0 8px 14px #0002!important;
  font:900 18px/1.5 "Hiragino Sans",sans-serif!important;
  text-shadow:0 1px #fff0b0; white-space:normal; overflow-wrap:anywhere;
  animation:none!important; transform:none!important; will-change:auto!important;
}
.shindan-deals.c.pack .deal.v28.oc > .cta:focus-visible {outline:3px solid #fff;outline-offset:-5px;}
.shindan-deals.c.pack .deal.v28.oc > .cta:active {filter:brightness(.96);}
.shindan-deals.c.pack .deal.v28.oc > .cta:disabled {opacity:.6;cursor:not-allowed;}
.shindan-deals.c.pack .deal.v28.oc .deal-note {
  margin:0; font:700 10.5px/1.5 -apple-system,BlinkMacSystemFont,"Hiragino Sans",sans-serif; color:var(--ocfg); opacity:.88;
  white-space:normal; overflow-wrap:anywhere; text-align:left;
}
.shindan-deals.c.pack .deal.v28.oc.must {
  gap:18px; padding:21px 14px 23px!important; border:4px solid #ffd34a!important;
  box-shadow:inset 0 0 0 1px #fff8d5,0 6px #b8801c,0 0 20px #ffd34a80,0 12px 24px #05155f30!important;
}
.shindan-deals.c.pack .deal.v28.oc.must::before {
  background:linear-gradient(115deg,transparent 40%,#ffffff22 48%,#ffffff05 56%,transparent 64%)!important;
  background-size:250% 100%!important; animation:v28-card-sheen 5s ease-in-out infinite;
}
.shindan-deals.c.pack .deal.v28.oc.must .deal-promo-labels > .eye:first-child {
  padding:6px 15px 6px 10px; border-radius:6px 2px 2px 6px;
  border-color:#fff4bf; background:linear-gradient(#fff7cb,#ffd34a 65%,#edb32b);color:#67400d;
}
.shindan-deals.c.pack .deal.v28.oc.must .rewardvalue b {
  font-size:clamp(26px,22.1cqi,54.6px)!important;
}
/* 外側の既存プレートは維持。v28カードを持つ枠の旧リボンだけを除外。 */
.card.must-card:has(> .in > .shindan-deals.c.pack > .deal.v28.must) > .must-ribbon {display:none!important;}
@keyframes v28-card-sheen {0%,25%{background-position:100% 0}75%,100%{background-position:0 0}}
@media (prefers-reduced-motion:reduce) {
  .shindan-deals.c.pack .deal.v28.oc.must::before {animation:none!important;background-position:50% 0;}
}
@supports not (font-size:1cqi) {
  .shindan-deals.c.pack .deal.v28.oc .rewardvalue b {font-size:clamp(20px,8.8vw,40px)!important;}
  .shindan-deals.c.pack .deal.v28.oc.must .rewardvalue b {font-size:clamp(26px,11.44vw,52px)!important;}
}

/* ===== v28 調整（ビルド側で追加）：優遇枠をひと目で特別に ===== */
.shindan-deals.c.pack .deal.v28.oc.must{
  padding:22px 16px 24px!important;border:5px solid transparent!important;border-radius:22px!important;
  background:radial-gradient(ellipse at 18% 0%,#ffffff55,transparent 62%) padding-box,
    linear-gradient(160deg,#ffffff22,transparent 45%,#00000026) padding-box,
    linear-gradient(125deg,var(--oc1),var(--oc2)) padding-box,
    linear-gradient(135deg,#FFF6BF,#FFC63E 22%,#9A6512 42%,#FFE27A 58%,#B67829 78%,#FFF3A8) border-box!important;
  box-shadow:inset 0 0 0 2px #fff3c4,inset 0 2px 0 #ffffffc0,0 0 0 2px #8A5A10,0 7px 0 #8A5A10,0 0 26px 6px #ffd34ab0,0 16px 28px #05155f40!important}
.shindan-deals.c.pack .deal.v28.oc.must .v28-vip{display:flex;justify-content:center;margin:0 -16px -4px}
.shindan-deals.c.pack .deal.v28.oc.must .v28-vip span{display:inline-block;padding:5px 26px 4px;
  background:linear-gradient(#fff7cb,#ffd34a 55%,#e9a823);color:#5b3008;border:2px solid #fff4c1;border-radius:999px;
  font:900 14px/1.3 var(--font-h);letter-spacing:.12em;box-shadow:0 3px 0 #8A5A10,inset 0 1px 0 #fff;white-space:nowrap}
.shindan-deals.c.pack .deal.v28.oc.must .deal-heading h3{font-size:clamp(22px,6.2vw,26px)!important}
.shindan-deals.c.pack .deal.v28.oc.must .condition{font-size:15px}
.shindan-deals.c.pack .deal.v28.oc.must .deal-content{grid-template-columns:88px minmax(0,1fr)}
.shindan-deals.c.pack .deal.v28.oc.must .product-frame{width:88px}
.shindan-deals.c.pack .deal.v28.oc.must{margin-bottom:0!important}
.shindan-deals.c.pack .deal.v28.oc .condition,.shindan-deals.c.pack .deal.v28.oc .deal-note,.shindan-deals.c.pack .deal.v28.oc .deal-extra-benefit>strong{word-break:keep-all}
.shindan-deals.c.pack .deal.v28.oc.must .product-art,.shindan-deals.c.pack .deal.v28.oc.must .product-art.wide{height:84px!important}
.shindan-deals.c.pack .deal.v28.oc.must .rewardvalue b{font-size:clamp(30px,27cqi,64px)!important;color:#FFF4CF!important;text-shadow:0 3px 0 #0000004d,0 0 14px #ffd34a80!important}
.shindan-deals.c.pack .deal.v28.oc.must .rewardvalue .amount-unit{font-size:16px}
.shindan-deals.c.pack .deal.v28.oc.must > .cta{min-height:58px;font-size:20px!important}
.shindan-deals.c.pack .deal.v28.oc.must::before{background:linear-gradient(115deg,transparent 38%,#ffffff40 48%,#ffffff10 56%,transparent 66%)!important;background-size:250% 100%!important}


/* LP: no demo tab bar, so the quiz fills the screen.
   Birth date replaces the mock age select. */
#phone.quiz-mode {
  height: 100dvh;
  max-height: 100dvh;
  min-height: 100dvh;
}
#phone.quiz-mode.age-step,
#s-quiz.age-step.on {
  height: auto;
  max-height: none;
  min-height: 100dvh;
  overflow: auto;
}
.agepick input[type="date"] {
  appearance: none;
  width: 100%;
  padding: 14px 16px 12px;
  border-radius: 14px;
  border: 3px solid #2e4eb4;
  background: #fff;
  color: #05155f;
  font-family: var(--font-h);
  font-size: 22px;
  font-weight: 900;
}
#message,
.offer-error {
  color: #b00020;
  font-weight: 700;
  margin: 0;
  text-align: left;
}
.empty-offers {
  margin: 8px 0 0;
  font-weight: 700;
}
a.gold-btn,
a.ghost-btn,
a.cta {
  text-decoration: none;
}
#s-result .card.manga {
  margin-top: 28px;
}
.sharebox p {
  white-space: pre-line;
}
.sharebox .gold-btn {
  margin-top: 12px;
}

/* v35: Playtime 遷移カード（特定ゲームを出さない「人気No.1ゲームは…？」）。
   出典は ojipo_shindan_v35.html の v33 ブロック。v35 の見出し書体（Oji）は
   本番の --font-h に無いため、同じ書体の ShindanDealOji を指定する。 */
.shindan-deals.c.pack .deal.v28.oc .product-art.mystery {
  background: radial-gradient(circle at 50% 38%, #3a3a3a 0, #111 58%, #000 100%) !important;
  box-shadow: inset 0 0 0 2px #ffd34a, inset 0 0 14px rgba(255, 211, 74, 0.35);
}
.product-art.mystery .q {
  display: block;
  font: 900 52px/1 ShindanDealOji, "Hiragino Sans", sans-serif;
  background: linear-gradient(180deg, #fff7c9 0, #ffd34a 45%, #d99a16 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.6)) drop-shadow(0 0 8px rgba(255, 211, 74, 0.55));
  transform: translateY(2px);
}
.deal.v28.oc.must .product-art.mystery .q {
  font-size: 60px;
}
.shindan-deals.c.pack .deal.v28.oc .rewardvalue b.amttext.teaser {
  font-family: ShindanDealOji, var(--font-h) !important;
  font-size: 19px !important;
  line-height: 1.35 !important;
  letter-spacing: 0 !important;
  white-space: normal !important;
  text-align: right;
}
.shindan-deals.c.pack .deal.v28.oc .rewardvalue b.amttext.teaser em {
  font-style: normal;
  color: var(--ocacc);
}
/* 条件文の1文字だけの行送り（例「するだ／け」）を避ける */
.shindan-deals.c.pack .deal.v28 .condition {
  word-break: auto-phrase !important;
  text-wrap: pretty;
}
.shindan-deals .deal.v28 .deal-note {
  text-wrap: pretty;
}

/* 案件カードの間隔はリストの gap で取る。カードごとの下余白だと、
   Playtime のカードのように別の枠の中に入るカードだけ次のカードとくっつく。 */
.shindan-deals.c.pack {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.shindan-deals.c.pack .deal.v28.oc {
  margin: 0 !important;
}
/* ゲームのカードを出さないとき（アプリの外など）は、枠ごと消して間隔を残さない */
.shindan-deals.c.pack > [data-shindan-playtime-slot]:empty {
  display: none;
}
.shindan-deals.c.pack > [data-shindan-playtime-slot]:has(> #odipo-playtime-bridge[hidden]) {
  display: none;
}
/* 案件名は語や括弧の途中で折らず、行の長さをそろえる（例「TikTok Lite／（多段階）（iOS）」）。
   auto-phrase は「31日／間」のように語の途中で折るので使わない。palt で全角括弧の空きを詰め、行頭の括弧が字下げに見えないようにする。 */
.shindan-deals.c.pack .deal.v28.oc .deal-heading h3 {
  word-break: keep-all;
  text-wrap: balance;
  font-feature-settings: "palt";
}

/* シェア画像（アプリの WebView ではダウンロードできないため、LP の中に出して長押しで保存） */
.share-sheet{position:fixed;inset:0;z-index:1000;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:24px 16px;background:rgba(5,21,95,.82)}
.share-sheet-note{margin:0;color:#fff;font-family:var(--font-h);font-size:16px;text-align:center}
.share-sheet-image{display:block;width:100%;max-width:360px;max-height:70vh;object-fit:contain;border-radius:16px;background:#fff;-webkit-touch-callout:default;user-select:auto}
.share-sheet .share-sheet-close{max-width:360px;background:#fff}
