/* ============================================================
   pado M5 デザイン（2026-11-04 利用者指示）— media.css の後に読み、見た目だけを上書きする
   元: UIモック m5「口コミを眺めて集める」（~/pado-ui-mocks/m5）。ホームのタブだけ m2 の横に滑る形（選択中はオレンジの面に白文字）
   ・色・角丸・影・書体は media.css のトークン（ブランドガイドライン v1.1）だけを使う
   ・スキャン画面（main の中の .scan）の中身は変えない。中身向けの上書きは :where(main:not(:has(.scan))) の下に書く
   ・円は 50%。ピルの指定（999 ピクセル）は使わない（tools/verify_test3.js ⑤）
   ・角丸 11/14/22/30 はブランドガイドラインの値（pado ではガイドラインが CLAUDE.md の「2〜3px」より優先）
   ============================================================ */

/* ---------- ヘッダー・検索窓（全ページ共通） ---------- */
.hd{background:var(--surface);border-bottom:0;-webkit-backdrop-filter:none;backdrop-filter:none}
.hd__logo img{width:64px;height:64px;border-radius:var(--r-m)}
.hd__env{font-family:var(--f-ja);font-size:13px;letter-spacing:0;color:var(--b-700)}
.hd__ic{width:44px;height:44px;margin:0;border-radius:50%;background:var(--white);box-shadow:var(--sh-md)}
.hd__ic::before{content:none}
.hd__ic svg{width:22px;height:22px;stroke:var(--ink)}
.sbar{background:var(--surface);padding:.25rem var(--gutter) .6rem}
.sbar__in{height:52px;padding:0 14px;gap:10px;border:1.5px solid var(--b-300);border-radius:var(--r-m);background:var(--white);color:var(--ink-soft);font-size:16px}
.sbar__in svg{width:22px;height:22px;stroke:var(--ink)}
.sbar__sp{height:70px}

/* ---------- 下のタブ・右下の「あなたに合う度」 ---------- */
.tabs{background:var(--white);border-top:0;border-radius:var(--r-l) var(--r-l) 0 0;box-shadow:var(--sh-lg)}
.tab{font-size:12px;color:var(--ink)}
.tab[aria-current]{color:var(--b-700)}
.tab[aria-current] svg{background:none;box-shadow:none;transform:none}
.accfab{background:var(--b-500);color:var(--white);border-radius:var(--r-l);box-shadow:var(--sh-lg)}
.accfab::before{content:none}
.accfab__rec{background:var(--ink);border-radius:var(--r-s);letter-spacing:0;padding:0 8px}
.accfab__pc{background:var(--white);color:var(--ink);border-radius:var(--r-m)}
.accfab.acc--on .accfab__pc{background:var(--ink);color:var(--white)}
.accfab:focus-visible{outline-color:var(--ink)}

/* ---------- ホームのタブ（m2 の横に滑る形。選択中はオレンジの面に白文字。字体は今の環境のまま） ---------- */
.htabs{background:var(--surface);box-shadow:none;padding:.25rem 0 .75rem}
.htabs__in{position:relative;width:min(calc(100% - var(--gutter)*2),calc(var(--max) - var(--gutter)*2));margin-inline:auto;padding:4px;background:var(--b-100);border-radius:var(--r-m)}
.htabs__pill{position:absolute;left:0;top:4px;bottom:4px;width:var(--pw,0);transform:translateX(var(--px,0));background:var(--b-500);border-radius:var(--r-s);box-shadow:var(--sh-sm);opacity:0;transition:transform .34s cubic-bezier(.3,.7,.2,1),width .34s cubic-bezier(.3,.7,.2,1),opacity .2s}
.htabs__pill.is-on{opacity:1}
.htabs__b{z-index:1;min-height:44px;border-radius:var(--r-s);color:var(--ink);transition:color .25s}
.htabs__b[aria-selected=true]{color:var(--white)}
.htabs__b[aria-selected=true]::after{content:none}
/* 「ランキング」が2行に割れないように。390 幅では元の .95rem のまま（86〜89px）。それより狭い画面だけ字を小さくして横にはみ出さない */
.htabs__b{white-space:nowrap}
@media(max-width:380px){.htabs__b{font-size:min(.95rem,3.9vw);letter-spacing:0;padding-inline:2px}}
.htabs__in:not(:has(.htabs__pill.is-on)) .htabs__b[aria-selected=true]{background:var(--b-500)}
@media(prefers-reduced-motion:reduce){.htabs__pill,.htabs__b{transition:none}}

/* ---------- 中身（スキャン画面以外） ---------- */
:where(main:not(:has(.scan))){--buy:var(--b-600);--buy-d:var(--b-700);--buy-bg:var(--b-500);--buy-bg-d:var(--b-600);--sparkle:var(--b-600)}
:where(main:not(:has(.scan))) .sec{padding-block:34px 0}
:where(main:not(:has(.scan))) .sec--tint{background:none}
:where(main:not(:has(.scan))) .sec__hd{align-items:baseline;margin-bottom:14px}
:where(main:not(:has(.scan))) .sec__hd .h2,:where(main:not(:has(.scan))) .hpan__sec .h2{font-size:20px;line-height:1.4}
:where(main:not(:has(.scan))) .more{font-family:var(--f-body);font-size:14px;letter-spacing:0;color:var(--b-700)}
:where(main:not(:has(.scan))) .more:not(:empty)::after{content:none}
:where(main:not(:has(.scan))) .btn{border-radius:var(--r-m);font-size:15px}
:where(main:not(:has(.scan))) .btn--p{background:var(--b-500);color:var(--white);box-shadow:none}
:where(main:not(:has(.scan))) .btn--p:hover{background:var(--b-600);box-shadow:none}
:where(main:not(:has(.scan))) .btn--p::before,:where(main:not(:has(.scan))) .btn--p::after{content:none}
:where(main:not(:has(.scan))) .btn--line,:where(main:not(:has(.scan))) .btn--s{background:var(--white);color:var(--ink);box-shadow:inset 0 0 0 1.5px var(--b-300)}
:where(main:not(:has(.scan))) .btn--line:hover,:where(main:not(:has(.scan))) .btn--s:hover{box-shadow:inset 0 0 0 1.5px var(--b-500)}
:where(main:not(:has(.scan))) .cap{color:var(--ink-soft)}

/* お気に入りのハート: 白い丸に影。押すと b-500 の丸に白いハート */
:where(main:not(:has(.scan))) .fav:not(.fav--lg):not(.fav--save){width:44px;height:44px;border-radius:50%;background:var(--white);box-shadow:var(--sh-sm)}
:where(main:not(:has(.scan))) .favw>.fav:not(.fav--lg):not(.fav--save){top:8px;right:8px}
:where(main:not(:has(.scan))) .fav:not(.fav--lg):not(.fav--save) .fav__i{width:22px;height:22px;fill:none;stroke:var(--ink)}
:where(main:not(:has(.scan))) .fav[aria-pressed="true"]:not(.fav--lg):not(.fav--save){background:var(--b-500)}
:where(main:not(:has(.scan))) .fav[aria-pressed="true"] .fav__i{fill:var(--white);stroke:var(--white)}
:where(main:not(:has(.scan))) .fav--lg[aria-pressed="true"]{background:var(--b-500)}

/* 商品カード: 白い面・角丸14・画像は白地に収める・ブランドは墨で1行・商品名は2行まで */
:where(main:not(:has(.scan))) .card{border-radius:var(--r-m);box-shadow:var(--sh-sm)}
:where(main:not(:has(.scan))) .card:hover{transform:none;box-shadow:var(--sh-md)}
:where(main:not(:has(.scan))) .card__img--sq{background:var(--white);padding:10px;animation:none;background-image:none}
:where(main:not(:has(.scan))) .card__img--sq img{object-fit:contain}
:where(main:not(:has(.scan))) .card:hover .card__img img{transform:none}
:where(main:not(:has(.scan))) .card__body{padding:4px 10px 12px;gap:3px}
:where(main:not(:has(.scan))) .card__m{font-size:0}
:where(main:not(:has(.scan))) .card__m .brand{display:block;font-size:13px;font-weight:700;color:var(--ink)}
:where(main:not(:has(.scan))) .card__m .brand::after{content:none}
:where(main:not(:has(.scan))) .card__t{font-family:var(--f-body);font-weight:400;font-size:14px;line-height:1.6;letter-spacing:.03em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
:where(main:not(:has(.scan))) .card__foot{padding-top:4px;gap:4px}
:where(main:not(:has(.scan))) .pcell .num,:where(main:not(:has(.scan))) .hpr .num{font-size:18px}

/* ---------- ヒーロー: 写真は画面幅いっぱい、下に白いカード ---------- */
.igl--m5 .story{margin-inline:0}
.igl--m5 .story__rail{gap:0;padding:0 0 18px}
.igl--m5 .story__s{border-radius:0;overflow:visible}
.igl--m5 .story__bars,.igl--m5 .igl__nav--prev{display:none}
.igl--m5 .igl__ph{border-radius:0;background:var(--b-100)}
/* 白いカードは1行ぶんの帯（高さ56px）。左から「n/N」・記事名（2行まで）・記事へ進む矢印。写真を主役にする（2026-11-18 利用者指示：縦幅を今の3〜4分の1に） */
.igl__card{position:relative;z-index:1;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;margin:-24px 12px 0;padding:8px 8px 8px 14px;height:56px;box-sizing:border-box;background:var(--white);border-radius:var(--r-l);box-shadow:var(--sh-lg);color:var(--ink)}
.igl__n{font-size:12px;color:var(--ink-soft);white-space:nowrap}
.igl__t{font-family:var(--f-ja);font-weight:700;font-size:15px;line-height:1.3;letter-spacing:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
/* カードの右は文字の「記事を読む」（この記事を開く）。矢印は写真の右下の1つだけで、意味は「次の記事」。2つの矢印を並べない */
.igl__go{display:inline-flex;align-items:center;height:40px;padding:0 12px;border-radius:var(--r-m);background:var(--b-500);color:var(--white);font-weight:700;font-size:13px;white-space:nowrap}
/* 「次の記事」の矢印は写真の右下、白い帯のすぐ上に置く */
.igl--m5 .igl__next{top:auto;bottom:calc(18px + 56px - 24px + 12px);right:12px;width:44px;height:44px;padding:0;border-radius:var(--r-m);background:var(--white);box-shadow:inset 0 0 0 1.5px var(--b-300);color:var(--b-700)}
.igl--m5 .igl__next svg{width:24px;height:24px;stroke-width:2.4}
.igl--m5 .igl__next:hover{background:var(--b-500);color:var(--white);box-shadow:none}

/* ---------- あなたに最もおすすめのアイテム（? と1行とボタン） ---------- */
.hpan .igrid{display:none}
.persona--rail>.h2{font-size:20px;line-height:1.4;margin:34px 0 14px}
.persona--rail .prods--one{display:block}
.m5reco{display:flex;align-items:center;gap:18px;padding:18px 20px;background:var(--b-100);border-radius:var(--r-l)}
.m5reco__q{flex:none;width:56px;font-size:72px;line-height:1;text-align:center;color:var(--b-700)}
.m5reco__r{display:grid;gap:10px;justify-items:start}
.m5reco__t{font-size:14px;font-weight:500}
.m5reco__b{display:inline-flex;align-items:center;min-height:48px;padding:0 20px;border-radius:var(--r-m);background:var(--b-500);color:var(--white);font-weight:700;font-size:15px}
.m5reco__b:focus-visible{outline:2px solid var(--b-700);outline-offset:2px}

/* ---------- 今、最も人気のあるアイテム（1行ずつ白いカード） ---------- */
:where(main:not(:has(.scan))) .rank{display:grid;gap:12px;background:none;box-shadow:none;border-radius:0;overflow:visible}
:where(main:not(:has(.scan))) .rank__item{border-bottom:0;background:var(--white);border-radius:var(--r-l);box-shadow:var(--sh-md)}
:where(main:not(:has(.scan))) .rank__item>.fav:not(.fav--save){top:12px;right:12px}
:where(main:not(:has(.scan))) .rank__card{grid-template-columns:54px 1fr;gap:10px;padding:14px 56px 14px 10px;border-radius:var(--r-l)}
:where(main:not(:has(.scan))) .rank__n{display:flex;flex-direction:column;align-items:center;width:auto;font-style:normal;font-size:30px;line-height:1.1;letter-spacing:-.02em;color:var(--ink);text-align:center}
:where(main:not(:has(.scan))) .rank__n small{margin:0;font-family:var(--f-body);font-size:14px;letter-spacing:0;color:inherit}
:where(main:not(:has(.scan))) .rank__n--1{background:var(--b-600);color:var(--white);border-radius:var(--r-s);padding:8px 0}
:where(main:not(:has(.scan))) .rank__n--2::before,:where(main:not(:has(.scan))) .rank__n--3::before{content:none}
:where(main:not(:has(.scan))) .rank__body{gap:10px}
:where(main:not(:has(.scan))) .rank__img{width:92px;height:92px;object-fit:contain;background:var(--white);border-radius:0;animation:none;background-image:none}
:where(main:not(:has(.scan))) .rank__b{font-size:13px;color:var(--ink)}
:where(main:not(:has(.scan))) .rank__t{font-size:15px;line-height:1.55}

/* ---------- 段の先頭の1品は大きく、残りは横に並べる（今日のベストレコメンド・New!!） ---------- */
.m5shelf{display:grid;gap:14px}
.best.m5shelf{grid-template-columns:1fr;margin-top:0}
.m5shelf__big .card{box-shadow:var(--sh-md);border-radius:var(--r-l)}
.m5shelf__big .card__img--sq{aspect-ratio:5/4;padding:14px}
.m5shelf__big .card__body{padding:4px 18px 18px}
.m5shelf__big .card__t{font-family:var(--f-ja);font-weight:700;font-size:18px;line-height:1.5;letter-spacing:0}
.m5shelf__big .best__slot--big .card{flex-direction:column}
.m5shelf__big .best__slot--big .card__img{flex:none}
.m5shelf__big .best__slot--big .favw>.fav{left:auto;right:8px}
.m5shelf__row{display:flex;gap:12px;overflow-x:auto;margin-inline:calc(var(--gutter)*-1);padding:4px var(--gutter) 14px;scroll-snap-type:x proximity;scroll-padding-inline:var(--gutter);scrollbar-width:none}
.m5shelf__row::-webkit-scrollbar{display:none}
.m5shelf__row>*{flex:none;width:150px;scroll-snap-align:start}
.m5shelf__row .rvw{display:none}
.m5shelf .best__cat{font-family:var(--f-body);font-weight:700;font-size:13px;color:var(--ink-soft)}
.m5shelf .best__cat a{border-bottom:0}
/* スマホでは「今日のベストレコメンド」を1画面に収める（2026-11-18 利用者指示）。
   先頭の1品は写真を左・文字を右の横並びにして高さ437→約150px、横に並ぶ小さいカードは幅を150→132pxにして
   「あなたに合う度」の行を外し、見出しから小さいカードの下まで約900→560pxにする（画面の高さ700pxで収まる） */
@media(max-width:700px){
.best--top .m5shelf__big .best__slot--big .card{flex-direction:row;align-items:center}
.best--top .m5shelf__big .card__img--sq{flex:0 0 42%;aspect-ratio:1;padding:8px}
.best--top .m5shelf__big .card__body{flex:1;min-width:0;padding:8px 12px 8px 2px;gap:2px}
.best--top .m5shelf__big .card__t{font-size:16px;line-height:1.4}
.best--top .m5shelf__big .why{display:none}
.best--top .m5shelf__row>*{width:118px}
.best--top .m5shelf__row .mtc,.best--top .m5shelf__row .card__m,.best--top .m5shelf__big .mtc{display:none}
.m5shelf__row{padding-bottom:6px}
}
/* 画面の高さが690px以下（iPhone SE など）は、さらに小さくして1画面に収める */
@media(max-width:700px) and (max-height:690px){
.best--top .m5shelf__big .card__img--sq{flex-basis:36%}
.best--top .m5shelf__row .card__t{-webkit-line-clamp:1}
}

/* ---------- 肌で選ぶ ---------- */
:where(main:not(:has(.scan))) .cns:not(.cns--list) .cn{min-height:76px;padding:10px 12px;gap:12px;border-radius:var(--r-m)}
:where(main:not(:has(.scan))) .cns:not(.cns--list) .cn__ph{width:56px;height:56px;border-radius:var(--r-s);box-shadow:none}
:where(main:not(:has(.scan))) .cns:not(.cns--list) .cn__i{display:none}
:where(main:not(:has(.scan))) .cns:not(.cns--list) .cn__b b{font-size:15px;line-height:1.4}
:where(main:not(:has(.scan))) .cns:not(.cns--list) .cn__n{font-size:13px;font-weight:400;color:var(--ink-soft)}
:where(main:not(:has(.scan))) .cns:not(.cns--list) .cn__n b{font-size:15px;color:var(--b-700)}

/* ---------- 今週のプレゼントの箱（このページで一番強い所。傾けない・飾りを足さない） ---------- */
.m5gift-sec{padding-top:34px}
.m5gift{position:relative;min-height:280px;overflow:hidden;background:var(--b-500);color:var(--white);border-radius:var(--r-xl);box-shadow:var(--sh-lg)}
.m5gift__closed,.m5gift__inner{display:flex;flex-direction:column;gap:10px;min-height:280px;padding:26px 24px 24px;transition:opacity .35s ease,transform .35s ease}
.m5gift__title{font-size:20px;letter-spacing:0;color:var(--white)}
.m5gift__big{margin:auto 0;font-size:96px;line-height:1;letter-spacing:-.02em;color:var(--white)}
.m5gift__btn,.m5gift__go{align-self:flex-start;display:inline-flex;align-items:center;min-height:48px;padding:0 22px;border-radius:var(--r-m);background:var(--white);color:var(--ink);font-weight:700;font-size:15px}
.m5gift__go{background:var(--ink);color:var(--white)}
.m5gift__btn:focus-visible,.m5gift__go:focus-visible{outline:2px solid var(--white);outline-offset:2px}
.m5gift__inner{position:absolute;inset:0;opacity:0;transform:translateY(14px);pointer-events:none}
.m5gift.is-open .m5gift__closed{opacity:0;transform:translateY(-14px);pointer-events:none}
.m5gift.is-open .m5gift__inner{opacity:1;transform:none;pointer-events:auto}
.m5gift__lead{font-size:14px;font-weight:700}
.m5gift__prize{font-family:var(--f-ja);font-weight:700;font-size:22px;line-height:1.5}
.m5gift__count{display:flex;align-items:baseline;gap:6px;margin-top:auto;font-weight:700;font-size:16px}
.m5gift__days{font-size:64px;line-height:1}
.m5gift__end{margin-top:auto;font-family:var(--f-ja);font-weight:700;font-size:24px}
.m5gift__win{font-size:14px}
.m5gift__win .num{font-size:18px}
.m5gift__acts{display:flex;gap:10px;flex-wrap:wrap}
@media(prefers-reduced-motion:reduce){.m5gift__closed,.m5gift__inner{transition:none}}

/* ---------- 人気ブランド ---------- */
.hbr{width:220px;border-radius:var(--r-l);box-shadow:var(--sh-md)}
.hbr__ph{aspect-ratio:1;background:var(--b-100)}
.hbr__tx{gap:0;padding:10px 14px 14px;border-bottom:0}
.hbr__n{font-family:var(--f-en);font-size:17px}
.hbr__c{font-size:13px}
.hbr__k{font-size:13px}
.hloop__rail--br{padding-bottom:14px}
@media(hover:none){.hpan .hloop__nav{display:none}}

/* ---------- 口コミの2列の段違い（話題の商品・人気商品おすすめ） ---------- */
.m5fall{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:start}
.m5fall__col{display:grid;gap:14px;min-width:0}
.m5fall__col:nth-child(2){padding-top:30px}
.wf{position:relative}
.wf__a{display:grid;gap:6px;align-content:start;padding:0 0 14px;overflow:hidden;background:var(--white);border-radius:var(--r-l);box-shadow:var(--sh-md)}
.wf__a>*:not(.wf__ph){padding:0 14px}
.wf__ph{position:relative;display:block;width:100%;padding:12px;background:var(--b-100)}
.wf__ph img{width:100%;height:100%;object-fit:contain;background:var(--white);border-radius:var(--r-s)}
.wf__ph .hbz__v{position:absolute;left:18px;bottom:18px;padding:0 8px;background:var(--ink);color:var(--white);border-radius:var(--r-s);font-style:normal;font-size:12px;line-height:22px}
.wf__tx{display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;font-size:14px;line-height:1.7}
.wf__m{display:flex;align-items:baseline;flex-wrap:wrap;gap:2px}
.wf__m .num{font-size:22px}
.wf__m small{margin-right:6px;font-size:12px}
.wf__src{font-size:12px;line-height:1.5;color:var(--ink-soft)}
.wf__b{font-size:13px;font-weight:700}
.wf>.fav:not(.fav--save){top:8px;right:8px}

/* ---------- ランキング・新商品・セールのタブ ---------- */
.hcat__b{min-height:44px;border-radius:var(--r-s);background:var(--white);box-shadow:inset 0 0 0 1.5px var(--b-300);color:var(--ink);font-size:14px}
.hcat__b[aria-pressed=true]{background:var(--b-500);color:var(--white);box-shadow:none}
.hrk__a,.hsl__a{display:grid;align-content:start;gap:3px;height:100%;padding:0 0 12px;background:var(--white);border-radius:var(--r-m);box-shadow:var(--sh-sm);overflow:hidden}
.hrk__a>*:not(.hrk__ph),.hsl__a>*:not(.hsl__ph){padding-inline:10px}
.hrk__ph,.hsl__ph{background:var(--white)}
.hrk__ph img,.hsl__ph img{object-fit:contain}
.hrk .hrk__n{font-style:normal;border-radius:0 0 var(--r-s) 0}
.hrk .hrk__n--top{background:var(--b-600)}
.hsl .hsl__off{background:var(--b-600);border-radius:0 0 var(--r-s) 0}
.hrk__b,.hsl__b,.hnw__ib{font-size:13px;color:var(--ink)}
.hnw{padding:14px;background:var(--white);border-radius:var(--r-l);box-shadow:var(--sh-md)}
.hnw__ph,.hnw__ip{border-radius:var(--r-s)}
.hnw__ip img{object-fit:contain}
.hnw__l{border-top:1px solid var(--g-200)}
.hnw__i:last-child{border-bottom:0}
/* 新商品タブの行は横長なので、ハートは右上ではなく行の縦の中央（上の .favw>.fav の右上寄せより強く書く） */
:where(main:not(:has(.scan))) .hnw__i.favw>.fav:not(.fav--lg):not(.fav--save){top:50%;right:0;transform:translateY(-50%)}
:where(main:not(:has(.scan))) .hnw__a{padding-right:52px}

/* ---------- 商品ページ ---------- */
.pdp .bc{font-size:13px;color:var(--ink-soft)}
.pdp .gal{margin:.6rem 0 1.6rem;border-radius:var(--r-l);box-shadow:var(--sh-md);overflow:hidden}
.pdp .gal__rk{background:var(--b-600);border-radius:var(--r-s);box-shadow:none}
.pdp .gal__rk b{font-style:normal}
.pdp .gal__nav{border-radius:var(--r-s)}
.pdp .gal__dots i{border-radius:50%}
.pdp .gal__dots i.on{background:var(--b-600)}
.pdp .pname{font-size:24px;line-height:1.5}
.pdp .plocal{font-size:14px;color:var(--ink-soft)}
.pdp .buyb{gap:14px;margin:20px 0 .4rem;padding:20px 18px 16px;border:0;border-radius:var(--r-l);box-shadow:var(--sh-md)}
.pdp .buyb__n{font-size:36px;color:var(--ink)}
.pdp .buyb__m{font-size:13px}
:where(main:not(:has(.scan))) .btn.pdp__buy,.pdp__bar .btn.pdp__buy{background:var(--b-500);color:var(--white);border-radius:var(--r-m);box-shadow:none}
.pdp .buyb__act .fav--save,.pdp__bar .fav--save{border-radius:var(--r-m);background:var(--white);box-shadow:inset 0 0 0 1.5px var(--b-300)}
.pdp .buyb__more>summary::before{color:var(--b-700)}
.pdp .rvi{padding:14px 16px;border-radius:var(--r-m);box-shadow:var(--sh-sm)}
.pdp .rvi__st{color:var(--b-600)}
.pdp .rvi__jp{border-radius:var(--r-s)}
.pdp .rvi__t{font-size:15px}
.pdp__bar{border-top:0;border-radius:var(--r-l) var(--r-l) 0 0}

/* ---------- 色の地の上の数字（Studio の上書き html body .num{color:g-800 !important} に負けないように） ---------- */
html body .m5gift .num{color:var(--white) !important}
html body .m5reco .m5reco__q{color:var(--b-700) !important}
html body .wf__ph .hbz__v{color:var(--white) !important}
/* ヒーローの写真の後ろは墨で塗らない（白いカードの下が暗い帯にならないように） */
.igl--m5 .story__s{background:none}
/* カードは記事名の長さなりの高さにし、ボタンは題名のすぐ下に置く（余白で下端をそろえない）。
   帯の高さは media.js が表示中の1枚に合わせる。「次の記事」の矢印はその下端（ボタンの行）に置く */
.igl--m5 .story__rail{align-items:flex-start;transition:height .25s ease;overflow-y:hidden}
/* スマホでは、上の帯（プレゼント開催中）を含めて、記事名とボタンまでが最初の画面に収まる高さにする。
   写真の高さ＝画面の高さ − 410px（実測：ヘッダー・帯・下のタブ・右下の「あなたに合う度」ボタンの上までの合計。白いカードがこのボタンに隠れない高さ）。短い画面でも240pxは確保 */
.igl--m5 .igl__ph{aspect-ratio:auto;height:clamp(240px,calc(100svh - 410px),125vw)}.igl--m5 .igl__ph img{object-position:50% 25%}
.igl--m5 .story__s{align-self:flex-start}

/* ============================================================
   光沢と弾む動きをやめる（2026-11-04 利用者指示「ツルツルプルプルの UI を、M5 の平らなパステルオレンジにそろえる」）
   面は b-500 のベタ塗りに白い文字、線は b-300、影は --sh-* だけ。つや（白いハイライト・グラデーション）と、ぷるんと揺れる動きは使わない
   スキャン画面の中身（.scan）は対象外
   ============================================================ */
/* 下のタブのアシスタント（吹き出し）: 平らな b-500。浮き沈みと光彩をやめる */
.tab.tab--ai{color:var(--b-700)}
.tab.tab--ai svg,.tab.tab--ai[aria-current] svg{filter:none;animation:none}
.tab.tab--ai:hover svg{transform:none}
.tab.tab--ai[aria-current] span{color:var(--b-700)}
.as-chat [fill^="url("]{fill:var(--b-500);stroke:var(--b-500)}
.as-chat ellipse{display:none}
/* 右下の AI ボタン（本番の水晶オーブ）: 平らな丸 */
.aifab{filter:none;box-shadow:var(--sh-lg)}
.aifab:hover,.aifab:active{transform:none}
.aifab__ico{animation:none}
.aifab__ico [fill="url(#fab-b)"]{fill:var(--b-500)}
.aifab__ico:has([fill="url(#fab-b)"]) :is([fill="url(#fab-g)"],[fill="url(#fab-i)"],ellipse,[fill-opacity],[stroke-opacity]){display:none}
/* 右下の「あなたに合う度 精度を上げる」: 揺れをやめる */
.accfab,.accfab:hover{animation:none}
.accfab:active{transform:none;transition:none}
/* 「あなたに合う ?%」の「？」: b-500 の丸に白い「？」 */
.mq{background:var(--b-500);box-shadow:none;transition:none}
.mq::before{content:none}
.mq i{color:var(--white)}
.mq:hover,.mq:active{transform:none}
.mq:focus-visible{outline-color:var(--b-700)}
.mtc b.is-hi{background:var(--b-200)}
/* 主ボタンのつやが流れる演出と、ふちの白い照り */
:where(body:not(:has(main .scan))) .btn--p::before,:where(body:not(:has(main .scan))) .btn--p::after{content:none}
:where(body:not(:has(main .scan))) .btn--p{box-shadow:none}
.camp__cta{box-shadow:none}
/* 肌で選ぶのシートの成分ボタン（.jelly）: 白地に b-300 の線。選ぶと b-500 に白い文字 */
.jelly,.fil button.jelly{background:var(--white);box-shadow:inset 0 0 0 1.5px var(--b-300);border-radius:var(--r-m);transition:none}
.jelly::before{content:none}
.jelly:hover,.jelly:active,.fil button.jelly:hover{transform:none}
.jelly.is-boing{animation:none}
.jelly[aria-pressed=true],.fil button.jelly[aria-pressed=true]{background:var(--b-500);color:var(--white);box-shadow:none}
.jelly[aria-pressed=true] small{color:var(--white)}
/* 商品ページの動画の送り矢印: 平らな b-500 の丸 */
.yt__story .igl__nav::before{background:var(--b-500);box-shadow:var(--sh-sm);transition:none}
.yt__story .igl__nav svg{filter:none}
/* 成分の金のしるし */
.inci__au{background:var(--b-500);box-shadow:none;color:var(--white)}
/* マイコスメの棚: おもちの土台は白い面に影だけ。照り・呼吸・着地のぷるんはやめる */
.shelf__it,.shelf__it.is-drag{background:var(--white);box-shadow:var(--sh-md);animation:none}
.shelf__it.is-land{animation:none}
.shelf__it::after{content:none}
.shelf__add{background:rgb(255 255 255/.6);box-shadow:none}
.shelf__add:hover,.shelf__add:focus-visible{transform:none}
.shpick__it img{background:var(--white);box-shadow:var(--sh-sm)}
.shpick__it:active img{transform:none}
/* ポイントのマスコット: 呼吸と、つまんだときのぷるんをやめる（形と顔はそのまま） */
.mochi__body,.mochi__shadow,.mochi.is-squish .mochi__body,.mochi.is-squish .mochi__shadow{animation:none}

/* ---------- アシスタントの画面（/assistant・右下のパネルの中） ---------- */
/* 独自の色（生成り #FFF9F4・焦げ茶 #2B1E14・オレンジ #FF9E66）をガイドラインの色に付け替える */
:root{--as-base:var(--surface);--as-ink:var(--ink);--as-line:var(--g-200);--as-o1:var(--b-200);--as-o2:var(--b-500)}
/* 精度を上げる（タブのボタン・2択の「会話で入力」）: 平らな b-500 に白い文字 */
.acc{background:var(--b-500);color:var(--white);box-shadow:var(--sh-md);animation:none;transition:none}
.acc::before{content:none}
.acc:hover{animation:none}
.acc:active{transform:none}
.acc__pc{color:var(--ink)}
.acc--on .acc__pc{background:var(--ink);color:var(--white)}
/* オーブ: つやの層（光彩・渦・芯・照り・ふち）を外し、平らな b-300 の丸。声の大きさで少し膨らむのは残す */
.orb__halo,.orb__sw,.orb__core,.orb__hl,.orb__rim{display:none}
.orb__sph{background:var(--b-300);box-shadow:none;animation:none}
.orb[data-state] .orb__sph{animation:none;filter:none}
.orb::before,.orb::after{border-color:var(--b-500)}
/* 主ボタンは b-500、線は b-300 */
.as-livebig,.as-ib--live,.as-send,.iv__ok,.iv__go,.lv__b--end,.dg__go,.m-cta{background:var(--b-500);color:var(--white)}
.iv__u{background:var(--b-500);color:var(--white)}
.m--u{background:var(--b-100)}
.sg,.sc,.as-cap,.as-ctx,.pfc__pick,.iv__in,.pf__photo,.pf__cq{border:1.5px solid var(--b-300)}
.sc{border:0;box-shadow:var(--sh-sm)}
.as-down,.as-stop{border-color:var(--b-300)}
.pfc__pick:active,.pf__photo:active{background:var(--b-100)}
.acc:focus-visible{outline-color:var(--b-700)}

/* ============================================================
   精度を上げる（2026-11-14 作り直し）: 右下のパネルとスキャンの結果画面で同じ部品（assets/js/acc-quiz.js）
   画面に出すのは「あと◯問」・質問・選択肢・戻る／スキップ／次へ だけ。
   色・角丸・影は :root のトークンだけ。主ボタンと選んだ選択肢は b-500 の面に白文字、選ぶ前の選択肢は白地に b-300 の細い枠（ブランドガイドライン 14）
   スクロールするのはパネルの本文（.ia__bd）1つだけ。外のページへスクロールを抜かさない（overscroll-behavior）
   ============================================================ */
html.ia-open body{overflow:hidden}
.ia__bk{touch-action:none}
.ia__bd{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:20px var(--gutter) calc(24px + env(safe-area-inset-bottom,0px));background:var(--surface)}
.qz{display:flex;flex-direction:column;gap:14px;color:var(--ink)}
.qz__left{margin:0;font-size:.82rem;font-weight:700;line-height:1.3;color:var(--g-600)}
.qz__q{margin:0;font-family:var(--f-ja);font-size:1.3rem;font-weight:700;line-height:1.4;color:var(--ink)}
.qz__os{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.qz__col{display:flex;flex-direction:column;gap:10px}
.qz__o{display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:6px 10px;border-radius:var(--r-m);background:var(--white);color:var(--ink);box-shadow:inset 0 0 0 1.5px var(--b-300);font-size:.92rem;font-weight:700;line-height:1.35;text-align:center;-webkit-tap-highlight-color:transparent}
.qz__o[aria-pressed="true"]{background:var(--b-500);color:var(--white);box-shadow:none}
.qz__o--none{grid-column:1/-1}
.qz__o:focus-visible,.qz__n:focus-visible,.qz__t:focus-visible,.qz__tag:focus-visible{outline:3px solid var(--b-700);outline-offset:2px}
.qz__sw{flex:none;width:16px;height:16px;border-radius:50%;box-shadow:inset 0 0 0 1px var(--g-300)}
.qz__mine{display:flex;flex-wrap:wrap;gap:6px}
.qz__tag{min-height:40px;padding:0 12px;border-radius:var(--r-s);background:var(--ink);color:var(--white);font-size:.84rem;font-weight:700;line-height:1.3;text-align:left}
.qz__f{display:flex;align-items:center;gap:16px;min-height:48px}
.qz__t{min-height:44px;padding:0 2px;font-size:.86rem;font-weight:700;color:var(--g-600);text-decoration:underline;text-underline-offset:4px}
.qz__n{margin-left:auto;min-width:128px;height:48px;padding:0 20px;border-radius:var(--r-m);background:var(--b-500);color:var(--white);font-size:.95rem;font-weight:700}
.qz__n[disabled]{opacity:.5;cursor:default}
.qz .pk{--pk-ink:var(--ink);--pk-line:var(--g-300);--pk-focus:var(--b-200);--pk-r:var(--r-m);--pk-rr:var(--r-m)}
/* 聞く問いが無くなったとき: いまの精度（特大の数字）と次の一手だけ */
.qzd{display:flex;flex-direction:column;align-items:flex-start;gap:20px;padding-top:12px}
.qzd__n{margin:0;display:flex;align-items:baseline;gap:4px;color:var(--b-500);line-height:.85}
.qzd__n .num{font-style:italic;font-size:clamp(5.5rem,30vw,8rem);letter-spacing:-.05em}
.qzd__n i{font-family:var(--f-en);font-style:italic;font-weight:700;font-size:2rem}
.qzd__b{margin-left:0;width:100%}
/* スキャンの結果画面の中: 合う度の枠は判定で地色が変わる（白・b-300・墨）ので、質問欄は白い面に載せて同じ見た目にする */
.scan__vd .scan__qz{width:100%;padding:16px 14px;border-top:0;border-radius:var(--r-m);background:var(--white);color:var(--ink)}
.scan__vd .qz__q{font-size:1.15rem}
