@charset "UTF-8";
/* Infotop 購入者ページ（SPファースト。PCは 768px 以上） */
:root {
  --red: #CE1C00; --red-dark: #9E1500; --red-tint: #FDE8E4; --red-soft: #FFF6F4; --danger: #B01800;
  --afi: #FA9613; --seller: #15B22B;
  --ink: #1F2328; --ink-2: #4A4F55; --ink-3: #6B7076; --ink-4: #8A8F95;
  --line: #EEE9E3; --line-2: #E3DED8; --line-3: #D6D0C9;
  --bg: #F5F3F0; --bg-2: #FAF8F6; --bg-3: #F3EFEA; --white: #FFFFFF;
  --link: #1F5FBF; --pick: #F1F6FD; --fixed: #E9EEF3; --pr-bg: #FFF3CC; --pr-fg: #8A6A00;
  --gold: #C8960C; --silver: #8E97A0; --bronze: #A8642E;
  --radius: 12px;
  --font: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", "Yu Gothic", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
img { max-width: 100%; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, dl, dd { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.pc-only { display: none !important; }
.wrap { width: 100%; max-width: 1232px; margin-inline: auto; padding-inline: 16px; }
.icon { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ボタン */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 18px; border: 1px solid var(--line-3); border-radius: 8px; background: var(--white); color: var(--ink); font-weight: 700; cursor: pointer; text-align: center; white-space: nowrap; }
.btn:hover { text-decoration: none; filter: brightness(.97); }
.btn--primary { background: var(--red); border-color: var(--red); color: var(--white); box-shadow: 0 2px 0 var(--red-dark); }
.btn--outline { color: var(--red); border: 1.5px solid var(--red); }
.btn--dark { background: #24272B; border-color: #24272B; color: var(--white); }
.btn--danger { color: #8A2A1C; border-color: #D9B8B1; }
.btn--afi { background: var(--afi); border-color: var(--afi); color: var(--white); }
.btn--seller { background: var(--seller); border-color: var(--seller); color: var(--white); }
.btn--block { width: 100%; }
.btn--lg { min-height: 52px; font-size: 16px; padding-inline: 48px; }
.btn--sm { min-height: 36px; padding: 0 12px; font-size: 13px; }
.btn-row { display: flex; gap: 10px; justify-content: center; }
.btn-row > .btn { flex: 1; }

/* バッジ */
.badge { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 12px; font-size: 12px; font-weight: 700; white-space: nowrap; background: #ECEAE7; color: var(--ink-2); }
.badge--red { background: var(--red-tint); color: var(--danger); }
.badge--green { background: #E3F4E6; color: #1E7A34; }
.badge--amber { background: #FFF1D6; color: #8A5A00; }
.badge--blue { background: #E5EEFA; color: #1D5FB4; }
.pr { display: inline-block; padding: 1px 7px; border-radius: 4px; background: var(--pr-bg); color: var(--pr-fg); font-size: 11px; font-weight: 700; line-height: 1.5; }
.tag { display: inline-block; padding: 2px 10px; border-radius: 4px; background: #F0ECE7; color: #3A3F45; font-size: 11px; font-weight: 700; }
.tag--pick { background: #E6EEFB; color: #1D5FB4; }
.tag--rec { background: var(--pr-bg); color: var(--pr-fg); }

/* 広告・自社枠（枠のみ） */
.ad { display: flex; flex-direction: column; align-items: center; justify-content: center; max-width: 100%; margin-inline: auto; border: 1px dashed #C9C2BA; background: repeating-linear-gradient(45deg, #FAF8F6 0 8px, #F3EFEA 8px 16px); color: var(--ink-4); font-size: 12px; text-align: center; }
.ad strong { color: var(--ink-3); }
.ad--own { background: var(--white); }
.pr-label { display: block; text-align: center; font-size: 10px; letter-spacing: .1em; color: var(--ink-4); }

/* ヘッダー */
.site-header { background: var(--white); box-shadow: 0 1px 0 var(--line); }
.site-header::before { content: ""; display: block; height: 3px; background: var(--red); }
.header-main { display: flex; align-items: center; gap: 8px; min-height: 56px; padding: 0 8px 0 16px; }
.logo img { height: 30px; width: auto; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.pill { display: inline-flex; align-items: center; gap: 5px; height: 36px; padding: 0 14px; border-radius: 18px; font-size: 13px; font-weight: 700; }
.pill--login { background: var(--red); color: var(--white); }
.pill--logout { border: 1px solid var(--line-3); color: var(--ink-2); }
.burger { width: 48px; height: 48px; border: 0; background: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 9px; font-weight: 700; cursor: pointer; }
.burger .icon { font-size: 24px; }
.search { display: flex; height: 44px; border: 2px solid var(--red); border-radius: 22px; overflow: hidden; background: var(--white); }
.search input { flex: 1; min-width: 0; border: 0; padding: 0 16px; font-size: 16px; outline-offset: -3px; }
.search__detail { border: 0; border-left: 1px solid var(--line-2); background: var(--bg-2); padding: 0 16px; font-size: 13px; color: var(--ink-2); display: flex; align-items: center; gap: 6px; cursor: pointer; }
.search__go { width: 54px; border: 0; background: var(--red); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 20px; cursor: pointer; }
.sp-search { padding: 0 16px 12px; }

/* PCカテゴリナビ（小カテゴリはプルダウン）。項目数が変わっても均等に並ぶ */
.cat-nav__list { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
.cat-nav__item { position: relative; }
.cat-nav__link { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 4px 10px; color: var(--ink); font-size: 12px; font-weight: 700; text-align: center; line-height: 1.3; }
.cat-nav__link:hover { text-decoration: none; background: var(--bg-2); }
.cat-icon { width: 40px; height: 40px; flex: none; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 24px; background: var(--c-bg); color: var(--c-fg); }
.cat-icon .icon { stroke-width: 1.9; }
.cat-nav__sub { display: none; position: absolute; left: 0; top: 100%; z-index: 40; width: 240px; padding: 6px 0; background: var(--white); border-top: 3px solid var(--c-fg); box-shadow: 0 12px 32px rgba(0,0,0,.2); }
.cat-nav__item:hover .cat-nav__sub, .cat-nav__item:focus-within .cat-nav__sub { display: block; }
.cat-nav__sub a { display: flex; align-items: center; min-height: 42px; padding: 4px 16px; color: var(--ink); font-size: 14px; }
.cat-nav__sub a:hover { background: var(--bg-2); text-decoration: none; }
.chev { margin-left: auto; color: #B5AEA6; }

/* マイページタブ（PC） */
.my-tabs { background: #24272B; }
.my-tabs ul { display: flex; }
.my-tabs li { flex: 1; }
.my-tabs a { display: flex; align-items: center; justify-content: center; gap: 5px; height: 52px; font-size: 13px; font-weight: 700; white-space: nowrap; color: #D6D0C9; }
.my-tabs a:hover { text-decoration: none; color: var(--white); }
.my-tabs a[aria-current] { background: #3A3E44; color: var(--white); box-shadow: inset 0 -3px 0 var(--red); }

/* SP共通メニュー（5列2段＋リンク2つ） */
.sp-menu { background: var(--white); border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); padding: 10px 12px 12px; display: grid; gap: 8px; }
.sp-menu__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.sp-menu__grid a { min-height: 62px; border: 1px solid var(--line); border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--ink); font-size: 10.5px; font-weight: 700; white-space: nowrap; }
.sp-menu__grid a[aria-current] { border-color: var(--red); background: #FFF4F1; }
.sp-menu__grid .icon { font-size: 22px; color: var(--red); stroke-width: 1.9; }
.sp-menu__links { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.sp-menu__links a { min-height: 40px; display: flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-2); color: var(--ink); font-size: 13px; font-weight: 700; }
.sp-menu__links .icon { color: var(--red); font-size: 16px; }

/* レイアウト */
.page { display: flex; flex-direction: column; gap: 16px; padding-block: 20px 0; }
.page__main { min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.page__side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.crumb { display: flex; gap: 8px; padding-top: 14px; font-size: 12px; color: var(--ink-3); }

/* 見出し・カード */
.h1 { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 900; line-height: 1.35; }
.h1::before { content: ""; width: 5px; height: 24px; flex: none; border-radius: 3px; background: var(--red); }
.h-sec { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 900; }
.h-sec::before { content: ""; width: 4px; height: 18px; flex: none; border-radius: 2px; background: var(--red); }
.h-under { align-self: flex-start; font-size: 22px; font-weight: 900; padding-bottom: 6px; border-bottom: 3px solid var(--red); }
.panel { background: var(--white); border-radius: var(--radius); padding: 18px 16px; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.panel__title { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 17px; font-weight: 900; }
.panel__icon { width: 30px; height: 30px; flex: none; border-radius: 9px; background: var(--red-tint); color: var(--red); display: flex; align-items: center; justify-content: center; font-size: 17px; }
.note { font-size: 12px; color: var(--ink-3); }
.stack { display: flex; flex-direction: column; gap: 12px; }

/* サムネイル（角丸なし）。画像なしはInfotopロゴのアイコン */
.thumb { display: flex; align-items: center; justify-content: center; flex: none; width: var(--s, 90px); height: var(--s, 90px); background: var(--bg-2); border: 1px solid var(--line); overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.thumb--none { background: var(--white); }
.thumb--none img { width: 60%; height: 60%; object-fit: cover; object-position: left center; }

/* ランキングのバッジ（1〜3位は王冠） */
.rank-no { position: relative; display: block; flex: none; width: var(--b, 34px); height: var(--b, 34px); }
.rank-no__n { position: absolute; left: 12%; bottom: 0; width: 76%; aspect-ratio: 1; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #4A4F55; color: var(--white); font-size: 13px; font-weight: 900; line-height: 1; border: 2px solid var(--white); }
.rank-no svg { position: absolute; left: 20%; top: 0; width: 60%; display: none; }
.rank-no--1, .rank-no--2, .rank-no--3 { color: var(--c); }
.rank-no--1 { --c: var(--gold); } .rank-no--2 { --c: var(--silver); } .rank-no--3 { --c: var(--bronze); }
.rank-no--1 svg, .rank-no--2 svg, .rank-no--3 svg { display: block; fill: var(--c); }
.rank-no--1 .rank-no__n, .rank-no--2 .rank-no__n, .rank-no--3 .rank-no__n { background: var(--c); }
.rank-no--pr .rank-no__n { background: var(--pr-bg); color: var(--pr-fg); font-size: 11px; left: 0; width: 100%; border: 0; }

/* 売れ筋ランキング（サイド／SPは横スクロール） */
.rank-box { background: var(--white); overflow: hidden; }
.rank-box__head { background: #24272B; color: var(--white); padding: 14px 16px; display: flex; align-items: center; gap: 8px; }
.rank-box__head h2 { font-size: 17px; font-weight: 900; }
.rank-box__head .icon { color: #F2C94C; fill: #F2C94C; stroke: none; font-size: 20px; }
.rank-box__scope { margin-left: auto; font-size: 12px; color: #D6D0C9; }
.period { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 12px 16px; }
.period button { min-height: 40px; border: 0; border-radius: 6px; background: var(--bg-3); color: var(--ink-2); cursor: pointer; }
.period button[aria-selected="true"] { background: var(--red); color: var(--white); font-weight: 700; }
.rank-box__list { display: flex; gap: 10px; overflow-x: auto; padding: 0 16px 4px; scrollbar-width: none; }
.rank-item { flex: none; width: 120px; position: relative; }
.rank-item .rank-no { position: absolute; left: 4px; top: 4px; z-index: 1; }
.rank-item__body { display: block; margin-top: 6px; font-size: 12px; line-height: 1.45; }
.rank-item__price { display: none; font-size: 14px; font-weight: 900; color: var(--red); }
.rank-item .thumb { --s: 120px; }
.rank-box__more { padding: 14px 16px 18px; }

/* 商品 */
.pickup-list li { border-bottom: 1px solid var(--line); }
.pickup { display: flex; gap: 12px; padding: 14px 0; color: inherit; }
.pickup:hover { text-decoration: none; }
.pickup img { width: 100px; height: 100px; flex: none; object-fit: cover; }
.pickup strong { display: block; color: var(--red); font-size: 15px; line-height: 1.4; }
.pickup span { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; font-size: 12px; color: var(--ink-2); line-height: 1.55; }
.band { background: var(--white); padding: 18px 16px 16px; }
.hscroll { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.hscroll > * { flex: none; scroll-snap-align: start; }
.mini { width: 104px; color: inherit; display: block; }
.mini .thumb { --s: 104px; }
.mini__t { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 6px; font-size: 12px; line-height: 1.45; color: var(--link); }
.mini__p { display: none; font-weight: 900; color: var(--red); }

/* SPカテゴリ */
.sp-cats { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding: 0 16px 4px; }
.sp-cats a { flex: none; width: 88px; min-height: 92px; padding: 6px 2px; border: 1px solid var(--line); border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--ink); font-size: 11px; font-weight: 700; text-align: center; line-height: 1.25; }

/* ドメインTOP */
.home { display: flex; flex-direction: column; gap: 8px; padding-top: 8px; }
.home__main { display: flex; flex-direction: column; gap: 8px; }
.home__side { display: flex; flex-direction: column; gap: 8px; }
.hero { display: none; }
.sec-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.sec-head__more { margin-left: auto; font-size: 13px; font-weight: 700; color: var(--red); }
.sp-pr { background: var(--white); padding: 4px 0 14px; }
.sp-pr img { width: 300px; height: 75px; margin-inline: auto; }

/* 商品一覧 */
.result-head { background: var(--white); padding: 16px; display: grid; gap: 12px; }
.result-head__row { display: flex; align-items: center; gap: 10px; }
.select { min-height: 40px; padding: 0 12px; border: 1px solid var(--line-3); border-radius: 8px; background: var(--white); font-size: 14px; }
.pager { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; }
.pager a, .pager span { min-width: 40px; height: 40px; padding: 0 8px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line-3); border-radius: 8px; background: var(--white); color: var(--ink); font-weight: 700; white-space: nowrap; }
.pager [aria-current] { background: var(--red); border-color: var(--red); color: var(--white); }
.pager__next { color: var(--red) !important; border-color: var(--red) !important; }
.items { display: flex; flex-direction: column; gap: 8px; }
.item { position: relative; display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 12px; padding: 14px 16px; background: var(--white); }
.item--pick { background: var(--pick); }
.item__tags { display: none; }
.item__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.item__title { font-size: 15px; font-weight: 700; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.item__desc { font-size: 12px; line-height: 1.55; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.item__seller { font-size: 12px; color: var(--ink-3); }
.item__price { font-size: 17px; font-weight: 900; color: var(--red); }
.item__pay, .item__more, .item__actions { display: none; }
.pick-sec { background: var(--pick); padding: 18px 16px; }
.pick-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
.pick-grid .thumb { width: 100%; height: auto; aspect-ratio: 1; }
.filter { background: var(--white); border-radius: var(--radius); padding: 22px 24px; display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 700; color: var(--ink-2); }
.input { min-height: 44px; width: 100%; padding: 0 14px; border: 1px solid #CFC7BE; border-radius: 8px; background: var(--white); font-size: 16px; font-weight: 400; }
textarea.input { padding: 10px 14px; }

/* 売上ランキングページ */
.rank-filter { display: flex; flex-direction: column; gap: 10px; }
.radio-row { display: flex; gap: 14px; align-items: center; font-size: 13px; color: var(--ink-2); flex-wrap: wrap; }
.radio-row label { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--ink); cursor: pointer; }
.rank-list { display: flex; flex-direction: column; gap: 1px; margin-inline: -16px; background: var(--line); }
.rank-row { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--white); border-left: 4px solid transparent; }
.rank-row--1 { border-left-color: var(--gold); } .rank-row--2 { border-left-color: var(--silver); } .rank-row--3 { border-left-color: var(--bronze); }
.rank-row__head { display: contents; }
.rank-row__pos, .rank-row__cat, .rank-row__type, .rank-row__seller, .rank-row__desc, .rank-row__more, .rank-row__pay, .rank-row__actions { display: none; }
.rank-row__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.rank-row__name { font-size: 14px; font-weight: 700; line-height: 1.45; }
.rank-row__price { font-size: 12px; color: var(--ink-2); }
.rank-row__price strong { font-size: 16px; color: var(--red); }
.rank-row .thumb { --s: 72px; }

/* メッセージ本文など */
.news-list li { border-top: 1px solid var(--line); }
.news-list a { display: block; padding: 14px 24px 14px 0; color: var(--ink); position: relative; }
.news-list time { display: block; font-size: 13px; color: var(--ink-3); }
.news-list .is-imp { color: var(--red); font-weight: 700; }
.news-list .chev { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 18px; }
.news-top li + li { border-top: 1px solid var(--line); }
.news-top a { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; }
.news-top time { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--ink-3); }
.news-top .is-imp { margin-inline: -16px; padding-inline: 16px; background: var(--red-soft); box-shadow: inset 3px 0 0 var(--red); font-weight: 700; }
.imp { padding: 0 6px; border-radius: 3px; background: var(--red); color: var(--white); font-size: 10px; font-weight: 700; }
.ok-mark { width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #E3F4E6; color: #1E7A34; font-size: 28px; }
.ok-mark--out { background: var(--red-tint); color: var(--red); }
.center-box { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; padding: 28px 16px; }
.warn { padding: 14px; border-radius: 10px; background: #FFF8E8; border: 1px solid #F1DDAE; }
.warn__t { display: flex; align-items: center; gap: 8px; color: var(--danger); font-weight: 700; font-size: 15px; }
.warn ul { list-style: disc; padding-left: 20px; margin-top: 10px; font-size: 13px; line-height: 1.8; }
.form-row { display: flex; flex-direction: column; gap: 8px; }
.form-label { font-size: 14px; font-weight: 700; }
.req { color: var(--red); }
.check { display: inline-flex; gap: 8px; align-items: flex-start; font-size: 14px; cursor: pointer; }
.check input { width: 20px; height: 20px; flex: none; margin: 1px 0 0; accent-color: var(--red); }
.step-grid { display: grid; gap: 12px; }
.step { padding: 18px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.step__no { align-self: flex-start; padding: 2px 12px; border-radius: 12px; background: var(--red); color: var(--white); font-size: 12px; font-weight: 900; letter-spacing: .08em; }
.manual { display: flex; align-items: center; gap: 10px; width: 320px; max-width: 100%; min-height: 61px; margin-inline: auto; padding: 0 14px; background: linear-gradient(100deg, var(--red), #E8492C); color: var(--white); font-weight: 900; font-size: 15px; }
.manual:hover { text-decoration: none; }
.manual .icon { font-size: 28px; }
.link-list li + li { border-top: 1px solid var(--line); }
.link-list a { display: flex; gap: 8px; padding: 12px 0; line-height: 1.5; }
.forced { background: var(--white); border-radius: var(--radius); border-left: 4px solid var(--red); padding: 18px 24px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.forced strong { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.forced strong .icon { color: var(--red); font-size: 18px; }
.forced p { margin-left: 26px; }

/* サイドカード（PC） */
.side-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.side-card h2 { display: flex; align-items: center; gap: 8px; padding: 12px 16px; font-size: 15px; font-weight: 900; border-bottom: 1px solid var(--line); }
.side-card h2 .icon { color: var(--red); font-size: 18px; }
.side-news li { padding: 8px 16px; border-bottom: 1px solid var(--bg-3); }
.side-news time { display: block; font-size: 11px; color: var(--ink-3); }
.side-recent { padding: 6px 16px 10px; }
.side-recent li { display: flex; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--bg-3); font-size: 12px; }

/* フッター */
.site-footer { margin-top: 28px; background: var(--white); border-top: 3px solid var(--red); }
.to-top { display: flex; align-items: center; justify-content: center; gap: 6px; height: 48px; background: var(--bg-3); color: var(--ink-2); font-size: 13px; font-weight: 700; }
.foot-guide { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px 16px 0; }
.foot-guide a { min-height: 40px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line-2); border-radius: 8px; color: var(--ink); font-size: 13px; font-weight: 700; }
.foot-groups { display: flex; justify-content: center; gap: 10px; padding: 14px 8px 0; }
.foot-group { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.foot-group__h { align-self: stretch; padding: 0 6px; background: var(--bg-3); color: var(--ink-2); font-size: 11px; font-weight: 700; text-align: center; }
.foot-group__links { display: flex; gap: 6px; }
.foot-group__links a { min-width: 50px; display: flex; flex-direction: column; align-items: center; gap: 3px; color: var(--ink-2); font-size: 10px; white-space: nowrap; }
.foot-ic { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--bg-3); color: var(--ink-2); font-size: 18px; }
.foot-ic--fb { background: #1877F2; color: var(--white); font: 900 18px Arial, sans-serif; }
.foot-ic--x { background: #111111; color: var(--white); font: 900 16px Arial, sans-serif; }
.foot-links { padding: 8px 16px; }
.foot-links a { display: flex; align-items: center; min-height: 46px; color: var(--ink); border-bottom: 1px solid var(--line); }
.foot-links--2col { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
.foot-links--2col a { font-size: 12px; min-height: 44px; }
.copyright { display: block; padding: 14px 16px 22px; text-align: center; font-size: 11px; color: var(--ink-3); }
.sticky-ad { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; height: 62px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.96); box-shadow: 0 -2px 8px rgba(0,0,0,.12); }
.close-x { position: absolute; right: 6px; top: -14px; width: 28px; height: 28px; border: 0; border-radius: 50%; background: #4A4F55; color: var(--white); cursor: pointer; }
.has-sticky .site-footer { padding-bottom: 72px; }

/* ドロワー */
/* スライドメニュー：右から0.5秒でスライドイン（背景は同時にフェード） */
.drawer { position: fixed; inset: 0; z-index: 100; background: rgba(20,22,25,.55); visibility: hidden; opacity: 0; transition: opacity .5s ease, visibility 0s linear .5s; }
.drawer.is-open { visibility: visible; opacity: 1; transition: opacity .5s ease; }
.drawer__panel { margin-left: 40px; height: 100%; overflow-y: auto; background: var(--white); border-top: 3px solid var(--red); transform: translateX(100%); transition: transform .5s cubic-bezier(.22,.8,.3,1); }
.drawer.is-open .drawer__panel { transform: none; }
@media (prefers-reduced-motion: reduce) { .drawer, .drawer.is-open, .drawer__panel { transition: none; } }
.drawer__head { display: flex; align-items: center; min-height: 56px; padding: 0 4px 0 16px; border-bottom: 1px solid var(--line); font-size: 16px; font-weight: 700; }
.icon-btn { margin-left: auto; width: 48px; height: 48px; border: 0; background: none; font-size: 24px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.drawer__label { padding: 0 16px 6px; font-size: 12px; font-weight: 700; color: var(--ink-3); }
.drawer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 16px; }
.drawer__nav a { min-height: 48px; padding: 0 12px; display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); font-weight: 700; }
.drawer__nav .icon { color: var(--red); font-size: 20px; }
.drawer__rows { border-top: 1px solid var(--line); }
.drawer__rows > li { border-bottom: 1px solid var(--line); }
.drawer__rows a.row, .acc-btn { width: 100%; min-height: 52px; padding: 0 16px; display: flex; align-items: center; gap: 10px; border: 0; background: none; color: var(--ink); font-size: 14px; font-weight: 700; text-align: left; cursor: pointer; }
.drawer__rows .cat-icon { width: 32px; height: 32px; border-radius: 9px; font-size: 20px; }
.acc-btn[aria-expanded="true"] { background: #FFF8F6; }
.acc-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.acc-panel { padding: 4px 16px 10px 58px; background: #FFF8F6; }
.acc-panel a { min-height: 42px; display: flex; align-items: center; color: var(--ink); border-bottom: 1px solid #F3E6E2; }
.drawer__biz { display: grid; gap: 8px; padding: 20px 16px 16px; }
.drawer__sns { display: flex; justify-content: center; gap: 16px; padding: 0 16px 28px; }
.drawer__sns .foot-ic { width: 44px; height: 44px; }

/* ログインボックス（PC） */
.loginbox { position: fixed; inset: 0; z-index: 90; background: rgba(20,22,25,.5); display: none; }
.loginbox.is-open { display: block; }
.loginbox__panel { position: relative; width: 808px; max-width: calc(100% - 32px); margin: 108px auto 0; padding: 28px; background: var(--white); border-top: 4px solid var(--red); border-radius: 16px; box-shadow: 0 16px 48px rgba(0,0,0,.28); display: flex; gap: 32px; }
.loginbox__panel form { width: 360px; flex: none; display: flex; flex-direction: column; gap: 14px; }

/* マイページ下層 */
.kv { display: grid; grid-template-columns: repeat(var(--sp), minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.kv > div { background: var(--white); padding: 8px 10px; display: flex; flex-direction: column; gap: 2px; }
.kv dt { font-size: 11px; color: var(--ink-3); }
.kv dd { font-weight: 700; line-height: 1.45; }
.kv dd.is-em { font-size: 16px; font-weight: 900; color: var(--red); }
.o-card { border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--white); padding: 14px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.o-card--accent { border-top: 3px solid #E3A008; }
.o-meta { display: flex; align-items: center; gap: 8px; justify-content: space-between; font-size: 12px; color: var(--ink-3); }
.o-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.o-title { font-size: 15px; font-weight: 700; line-height: 1.5; }
.o-name { font-size: 15px; line-height: 1.5; }
.o-seller { font-size: 12px; }
.o-price-row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.o-price { margin-right: auto; font-size: 20px; font-weight: 900; color: var(--red); }
.chip { padding: 2px 8px; border-radius: 6px; background: var(--bg-3); color: var(--ink-2); font-size: 12px; font-weight: 400; }
.o-msg { padding: 12px; border-radius: 8px; background: var(--bg-3); color: var(--ink-2); font-size: 13px; font-weight: 700; text-align: center; }
.o-msg--red { background: var(--red-tint); color: var(--danger); }
.o-actions { display: flex; align-items: center; gap: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
.o-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.grid-2 { display: grid; gap: 12px; }
.lead { font-size: 13px; color: var(--ink-2); line-height: 1.75; }
.fixed-box { padding: 14px; border-radius: var(--radius); background: var(--fixed); }
.fixed-box h2 { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 15px; font-weight: 900; color: #2C3E50; }
.bank { display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; border-radius: 8px; background: var(--white); }
.bank strong { font-size: 15px; } .bank span { font-size: 13px; color: var(--ink-2); }
.anchor-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding: 6px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--white); }
.anchor-tabs a { position: relative; min-height: 44px; padding: 4px 22px 4px 10px; display: flex; align-items: center; justify-content: center; text-align: center; border-radius: 8px; background: var(--bg-2); font-size: 12px; font-weight: 700; line-height: 1.35; }
.anchor-tabs span { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); color: var(--red); font-size: 10px; }
.page__main > section[id], .panel[id] { scroll-margin-top: 12px; }
.guide { padding: 14px; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; font-size: 13px; color: var(--ink-2); line-height: 1.75; }
.guide strong { color: var(--ink); font-size: 14px; }
.ctl { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: var(--bg-2); flex-wrap: wrap; }
.acc { border: 1px solid var(--line-2); border-radius: 10px; background: var(--bg-2); }
.acc summary { min-height: 50px; padding: 12px 16px; display: flex; align-items: center; font-weight: 700; cursor: pointer; list-style: none; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "＋"; margin-left: auto; color: var(--red); }
.acc[open] summary::after { content: "－"; }
.acc > p { padding: 0 16px 14px; }
.pager-row { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.pager__prev { border: 0 !important; background: none !important; min-width: 0 !important; color: #B5AEA6 !important; font-size: 13px; }
.warn--plain strong { color: #6B4A00; }
.warn--red { background: var(--red-soft); border-color: #F3C7BE; }
.note-body { margin-top: 6px; font-size: 13px; color: var(--ink-2); line-height: 1.8; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line-2); border-radius: 10px; }
.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th { background: var(--bg-3); text-align: left; padding: 10px 12px; color: var(--ink-2); white-space: nowrap; }
.table td { padding: 12px; border-top: 1px solid var(--line); }
.link-row { min-height: 52px; padding: 8px 16px; display: flex; align-items: center; gap: 10px; border: 1px solid var(--line-2); border-radius: 10px; color: var(--ink); font-weight: 700; }
.link-row small { font-weight: 400; }
.link-row > span:last-child { margin-left: auto; color: var(--red); font-size: 18px; }
.msg-tabs { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.msg-tabs a { flex: 1; min-height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 8px; color: var(--ink-2); font-size: 13px; font-weight: 700; }
.msg-tabs a[aria-current] { background: var(--red); color: var(--white); }
.msg-list { display: flex; flex-direction: column; gap: 12px; }
.msg-row { border: 1px solid var(--line-2); border-radius: var(--radius); padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.msg-row.is-unread { background: var(--red-soft); box-shadow: inset 3px 0 0 var(--red); }
.msg-row__main { display: flex; gap: 10px; align-items: flex-start; }
.msg-sel { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 10px; color: var(--ink-3); }
.msg-sel input { width: 22px; height: 22px; margin: 0; accent-color: var(--red); }
.msg-row__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.msg-state { display: flex; align-items: center; gap: 6px; }
.msg-row__s { font-size: 15px; font-weight: 400; }
.is-unread .msg-row__s { font-weight: 900; }
.msg-row__meta { display: flex; flex-wrap: wrap; gap: 2px 14px; font-size: 12px; color: var(--ink-3); }
.msg-row__sp { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.auto-del { display: inline-flex; align-items: center; gap: 6px; padding: 4px 6px 4px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg-2); font-size: 12px; color: var(--ink-2); }
.msg-head { display: flex; flex-direction: column; gap: 6px; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-size: 17px; }
.msg-body { margin-top: 4px; padding: 14px; min-height: 160px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-2); line-height: 1.9; }
.msg-acts { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.msg-acts .btn-row { width: 100%; }
.side-menu { padding: 6px 8px 8px; }
.side-menu a { min-height: 42px; padding: 0 10px; display: flex; align-items: center; border-radius: 8px; color: var(--ink); font-weight: 500; }
.side-menu a[aria-current] { background: var(--red-tint); color: var(--red); font-weight: 700; }
.form-rows > .form-row { padding-block: 14px; border-top: 1px solid var(--line); }
.form-rows > .form-row:first-child { border-top: 0; padding-top: 0; }
.inline { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2); }
.inline .input { flex: 1 1 0; min-width: 0; width: auto; padding-inline: 8px; }
.withdraw-link { margin-top: 20px; padding-top: 20px; border-top: 1px dashed var(--line-3); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.withdraw-link h2 { font-size: 15px; color: var(--ink-2); }
.confirm > div { padding: 12px 0; border-top: 1px solid var(--line); }
.confirm > div:first-child { border-top: 0; }
.confirm dt { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.confirm dd { margin-top: 4px; font-size: 15px; }
.btn-row--rev-sp { flex-direction: row-reverse; }
.card-group { display: block; padding: 14px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--white); cursor: pointer; }
.card-group:has(input:checked) { border: 2px solid var(--red); background: #FFFAF8; }
.card-group__head { display: flex; flex-direction: column; gap: 6px; padding-bottom: 10px; }
.card-group__no { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-3); }
.card-group__no strong { font-size: 16px; color: var(--ink); letter-spacing: .08em; }
.card-group__row { display: flex; flex-direction: column; gap: 6px; padding-block: 12px; border-top: 1px solid var(--line); }
.inline-links { display: flex; flex-direction: column; gap: 8px; font-weight: 700; }
.order-swap { display: flex; flex-direction: column-reverse; gap: 16px; }

/* ===== PC ===== */
@media (min-width: 768px) {
  .sp-only { display: none !important; }
  .pc-only { display: revert !important; }
  .pc-only.pc-flex { display: flex !important; }
  .pc-only.pc-grid { display: grid !important; }
  .wrap-pc { width: 100%; max-width: 1232px; margin-inline: auto; padding-inline: 16px; }
  .h-under-pc { align-self: flex-start; font-size: 22px; padding-bottom: 6px; border-bottom: 3px solid var(--red); margin: 0; }
  .h-under-pc::before { display: none; }
  .site-header::before { height: 4px; }
  .header-main { max-width: 1232px; margin-inline: auto; padding: 18px 16px 14px; gap: 36px; }
  .logo img { height: 48px; }
  .header-search { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
  .search { height: 46px; border-radius: 23px; }
  .search input { font-size: 15px; padding: 0 20px; }
  .search__go { width: 64px; font-size: 22px; }
  .keywords { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 12px; color: var(--ink-3); }
  .keywords a { padding: 2px 10px; border-radius: 12px; background: var(--bg-3); color: var(--ink-2); }
  .header-tools { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
  .header-tools__login { min-height: 46px; font-size: 15px; padding: 0 22px; }
  .header-tools__biz { display: flex; gap: 8px; }
  .header-tools__biz .btn { min-height: 30px; padding: 0 12px; border-radius: 6px; font-size: 12px; }
  .cat-nav { border-top: 1px solid var(--line); }
  .page { flex-direction: row; align-items: flex-start; gap: 32px; padding-block: 20px 56px; }
  .page__side--left { width: 240px; flex: none; }
  .page__side--right { width: 300px; flex: none; }
  .page__main { flex: 1; gap: 20px; }
  .h1 { font-size: 28px; gap: 12px; }
  .h1::before { width: 6px; height: 30px; }
  .panel { padding: 24px 28px 28px; }
  .panel__title { font-size: 19px; margin-bottom: 16px; }
  .panel__icon { width: 34px; height: 34px; font-size: 19px; }
  .site-footer { margin-top: 0; border-top-width: 4px; }
  .foot-pc { display: flex; align-items: center; gap: 24px; padding-block: 24px; }
  .foot-pc__links { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 13px; }
  .foot-pc__links a { color: var(--ink-2); }
  .foot-groups { margin-left: auto; gap: 20px; padding: 0; }
  .foot-group__links a { min-width: 60px; font-size: 11px; }
  .copyright { padding: 0 0 20px; font-size: 12px; }
  .portal-foot { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 28px 24px; padding-block: 40px 28px; }
  .portal-foot div { display: flex; flex-direction: column; gap: 6px; }
  .portal-foot strong { font-size: 13px; }
  .portal-foot a { font-size: 12px; color: var(--ink-3); }
  .portal-bottom { background: var(--bg-2); border-top: 1px solid var(--line); padding-block: 20px 24px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
  .portal-bottom nav { display: flex; flex-wrap: wrap; gap: 22px; justify-content: center; font-size: 12.5px; }
  .portal-bottom nav a { color: var(--ink-2); }
  .portal-bottom__logos { display: flex; align-items: center; gap: 24px; }
  .portal-bottom__logos .foot-ic { width: 44px; height: 44px; }
  .gmo { width: 130px; height: 66px; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 10px; color: var(--ink-3); line-height: 1.4; }

  .band { background: none; padding: 0; }
  .home__main .h-sec { font-size: 22px; padding-bottom: 6px; border-bottom: 3px solid var(--red); }
  .home__main .h-sec::before { display: none; }
  .item__title { order: 0; } .item__seller { order: 1; } .item__desc { order: 2; } .item__more { order: 3; } .item__pay { order: 4; }
  .rank-filter .field { flex-direction: row; align-items: center; gap: 8px; font-size: 13px; font-weight: 400; }
  .rank-filter .field select { width: 240px; }
  .rank-filter .rank-row__pos { display: none; }

  /* ドメインTOP */
  .hero { display: block; background: var(--white); padding: 20px 0 14px; overflow: hidden; }
  .hero__track { display: flex; justify-content: center; align-items: center; gap: 16px; }
  .hero__side { width: 957px; height: 195px; flex: none; opacity: .45; }
  .hero__cur { position: relative; flex: none; width: 957px; max-width: calc(100vw - 80px); }
  .hero__cur img { width: 100%; height: auto; box-shadow: 0 6px 18px rgba(31,35,40,.12); }
  .round-btn { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--white); box-shadow: 0 2px 8px rgba(0,0,0,.18); display: flex; align-items: center; justify-content: center; cursor: pointer; }
  .hero__cur .round-btn { position: absolute; top: calc(50% - 22px); }
  .hero__prev { left: -22px; } .hero__next { right: -22px; }
  .hero__dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
  .hero__dots span { width: 6px; height: 6px; border-radius: 3px; background: var(--line-3); }
  .hero__dots span[aria-current] { width: 22px; background: var(--red); }
  .home { flex-direction: row; align-items: flex-start; gap: 40px; padding-block: 40px 64px; }
  .home__main { flex: 1; min-width: 0; gap: 48px; }
  .home__main > section { background: none; padding: 0; display: flex; flex-direction: column; gap: 18px; }
  .home__side { width: 300px; flex: none; gap: 24px; }
  .sec-head { margin: 0; }
  .feat3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .feat3 a { box-shadow: 0 2px 10px rgba(31,35,40,.08); }
  .feat3 img { width: 100%; height: auto; }
  .pickup-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .pickup-list li { border: 0; background: var(--white); border-radius: var(--radius); box-shadow: 0 1px 0 #E8E2DB; }
  .pickup { padding: 16px; gap: 16px; }
  .pickup img { width: 138px; height: 138px; }
  .pickup strong { font-size: 16px; }
  .pickup span { font-size: 13px; -webkit-line-clamp: 6; line-height: 1.65; }
  .swipe { display: flex; gap: 16px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; cursor: grab; }
  .swipe > a { flex: none; width: 158px; scroll-snap-align: start; color: inherit; display: flex; flex-direction: column; gap: 8px; }
  .swipe .thumb { --s: 158px; border: 0; background: var(--white); }
  .swipe__arrows { margin-left: auto; display: flex; gap: 8px; }
  .swipe__arrows .round-btn { width: 36px; height: 36px; border: 1px solid var(--line-3); box-shadow: none; color: var(--ink-2); }
  .t-link { font-size: 13px; font-weight: 500; line-height: 1.5; height: 39px; overflow: hidden; }
  .p-red { font-size: 16px; font-weight: 900; color: var(--red); }
  .feat-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .feat-cards a { display: flex; flex-direction: column; gap: 10px; padding: 14px; background: var(--white); border-radius: var(--radius); color: var(--ink-2); font-size: 12.5px; line-height: 1.7; box-shadow: 0 1px 0 #E8E2DB; }
  .feat-cards a:hover { text-decoration: none; }
  .hscroll.recent-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; overflow: visible; }
  .mini { width: auto; }
  .mini .thumb { width: 100%; height: auto; aspect-ratio: 1; }
  .mini__p { display: block; font-size: 15px; }
  .mini__t { font-size: 13px; font-weight: 500; }
  .rank-box { border-radius: var(--radius); box-shadow: 0 1px 0 #E8E2DB; }
  .period { padding: 12px 14px 4px; }
  .period button { min-height: 0; padding: 8px 0; font-size: 13px; }
  .rank-box__list { display: block; padding: 4px 14px 8px; overflow: visible; }
  .rank-item { width: auto; display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .rank-item .rank-no { position: relative; left: 0; top: 0; }
  .rank-item .thumb { --s: 60px; }
  .rank-item__body { margin: 0; flex: 1; min-width: 0; font-size: 13px; }
  .rank-item__price { display: block; }
  .rank-box__more { padding: 6px 14px 16px; }

  /* 商品一覧 */
  .list-layout { display: flex; gap: 20px; align-items: flex-start; padding-block: 16px 64px; }
  .list-layout__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
  .list-layout__side { width: 300px; flex: none; display: flex; flex-direction: column; gap: 24px; }
  .result-head { background: none; padding: 0; }
  .items { gap: 14px; }
  .item { display: grid; grid-template-columns: 128px minmax(0, 1fr) 180px; grid-template-rows: auto auto; gap: 12px 22px; padding: 18px 22px; border-radius: var(--radius); box-shadow: 0 1px 0 #E8E2DB; border-top: 3px solid transparent; }
  .item--pick { border-top-color: #1D5FB4; }
  .item__tags { grid-column: 1 / -1; display: flex; gap: 6px; flex-wrap: wrap; }
  .item .thumb { --s: 128px; }
  .item__body { gap: 6px; }
  .item__title { font-size: 17px; -webkit-line-clamp: unset; }
  .item__desc { font-size: 13px; line-height: 1.7; -webkit-line-clamp: 3; color: #3A3F45; }
  .item__more { display: block; align-self: flex-start; border: 0; background: none; padding: 0; color: var(--link); font-size: 12px; font-weight: 700; cursor: pointer; }
  .item__pay { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 11px; color: var(--ink-2); }
  .item__pay b { color: var(--ink-3); }
  .item__pay span { padding: 0 7px; border: 1px solid var(--line-2); border-radius: 4px; background: var(--bg-2); }
  .item__actions { display: flex; flex-direction: column; gap: 10px; }
  .item__price { display: none; }
  .item__price-pc { text-align: right; font-size: 24px; font-weight: 900; color: var(--red); }
  .item__price-pc small { font-size: 13px; }
  .pager a, .pager span { width: 42px; height: 42px; }
  .pager__next { width: auto !important; padding: 0 16px !important; color: var(--ink) !important; border-color: var(--line-2) !important; }

  /* 売上ランキング */
  .rank-filter { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
  .rank-filter__go { width: 100%; display: flex; justify-content: center; }
  .rank-list { margin: 0; gap: 16px; background: none; }
  .rank-row { display: grid; grid-template-columns: 120px minmax(0, 1fr) 180px; gap: 0 20px; padding: 0 20px 18px; border-left: 0; border-top: 4px solid transparent; border-radius: var(--radius); box-shadow: 0 1px 2px rgba(0,0,0,.05); }
  .rank-row--1 { border-top-color: var(--gold); } .rank-row--2 { border-top-color: var(--silver); } .rank-row--3 { border-top-color: var(--bronze); }
  .rank-row__head { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; margin-inline: -20px; margin-bottom: 18px; padding: 12px 20px; border-bottom: 1px solid var(--line); }
  .rank-row__pos { display: block; font-size: 18px; font-weight: 900; }
  .rank-row__cat { display: block; font-size: 12px; color: var(--ink-3); }
  .rank-row__type { display: inline-flex; margin-left: auto; }
  .rank-row .thumb { --s: 120px; }
  .rank-row__name { font-size: 16px; }
  .rank-row__seller { display: block; font-size: 12px; color: var(--ink-3); }
  .rank-row__desc { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 13px; color: var(--ink-2); line-height: 1.7; }
  .rank-row__more { display: block; font-size: 12px; font-weight: 700; }
  .rank-row__pay { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; font-size: 11px; color: var(--ink-2); }
  .rank-row__pay span { padding: 1px 6px; background: var(--bg-3); border-radius: 4px; }
  .rank-row__price { display: none; }
  .rank-row__actions { display: flex; flex-direction: column; gap: 8px; justify-content: center; }
  .rank-row__price-pc { text-align: right; font-size: 24px; font-weight: 900; color: var(--red); }
  .rank-row__price-pc small { font-size: 14px; }
  .rank-row .chev { display: none; }

  /* その他 */
  .news-list a { display: flex; align-items: center; gap: 24px; padding: 18px 8px; }
  .news-list time { width: 130px; flex: none; }
  .news-list .chev { position: static; transform: none; }
  .center-box { padding: 40px; }
  .narrow { width: 640px; max-width: 100%; margin-inline: auto; display: flex; flex-direction: column; gap: 20px; }
  .step-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
  .warn { padding: 20px 24px; }
  .warn__t { font-size: 18px; }
  .warn ul { font-size: 14px; }
  .form-row--inline { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 20px; align-items: start; }
  .btn-row > .btn { flex: 0 1 auto; min-width: 180px; }
  .sticky-ad { display: none; }
  .kv { grid-template-columns: repeat(var(--pc), minmax(0, 1fr)); }
  .kv > div { padding: 10px 14px; }
  .o-card { padding: 18px; }
  .o-title { font-size: 16px; }
  .grid-2 { grid-template-columns: 1fr 1fr; gap: 16px; }
  .fixed-box { padding: 18px 24px; }
  .fixed-box h2 { font-size: 16px; }
  .anchor-tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .guide { padding: 16px 20px; }
  .o-btns { display: flex; justify-content: flex-end; }
  .pager-row { flex-direction: row; justify-content: space-between; }
  .pager-row .pager { margin-left: auto; }
  .pager-row .pager a, .pager-row .pager span { width: auto; min-width: 36px; height: 36px; }
  .msg-list { gap: 0; }
  .msg-row { flex-direction: row; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 12px; border: 0; border-top: 1px solid var(--line); border-radius: 0; }
  .msg-row__right { align-items: center; gap: 10px; flex: none; }
  .msg-state { display: inline-flex; margin-right: 8px; }
  .msg-state .icon { color: var(--red); font-size: 18px; }
  .msg-row__body { display: block; }
  .msg-row__meta { margin-top: 4px; }
  .msg-head { font-size: 19px; }
  .msg-acts { flex-direction: row; align-items: center; }
  .msg-acts .btn-row { width: auto; }
  .form-rows > .form-row { padding-block: 16px; }
  .form-rows .form-row--inline .form-label { padding-top: 10px; }
  .inline .input { flex: 0 1 140px; }
  .confirm { border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; }
  .confirm > div { display: grid; grid-template-columns: 240px minmax(0, 1fr); padding: 0; }
  .confirm dt { padding: 14px 16px; background: var(--bg-2); color: var(--ink); }
  .confirm dd { margin: 0; padding: 14px 16px; }
  .btn-row--rev-sp { flex-direction: row; }
  .btn-row--rev-pc { flex-direction: row-reverse; }
  .card-group { padding: 16px 20px; }
  .card-group__head { flex-direction: row; align-items: center; justify-content: space-between; }
  .inline-links { flex-direction: row; gap: 24px; }
  .order-swap { flex-direction: column; gap: 20px; }
}
@media (min-width: 768px) and (max-width: 1100px) {
  .my-tabs a { font-size: 11px; }
  .hero__side { display: none; }
  .page__side--left { width: 200px; }
  .header-tools__biz { flex-direction: column; align-items: flex-end; }
  .rank-row { grid-template-columns: 100px minmax(0, 1fr); }
  .rank-row__actions { grid-column: 1 / -1; margin-top: 12px; }
  .item { grid-template-columns: 100px minmax(0, 1fr); }
  .item .thumb { --s: 100px; }
  .item__actions { grid-column: 1 / -1; }
  .list-layout { flex-direction: column; }
  .list-layout__side { width: 100%; }
  .home { flex-direction: column; }
  .home__side { width: 100%; }
}

/* SPのページ送り（前へ付きでも1行に収める）・オーバーレイ広告 */
@media (max-width: 767px) {
  .pager { flex-wrap: nowrap; gap: 4px; }
  .pager a, .pager span { min-width: 36px; height: 40px; padding: 0 6px; }
  .pager__prev { padding: 0 2px !important; }
}
/* SP共通のオーバーレイバナー：画面中央に重ねて表示 */
.overlay-ad { position: fixed; inset: 0; z-index: 95; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(20,22,25,.55); animation: ov-in .5s ease-out both; }
.overlay-ad__box { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.overlay-ad__box .ad { box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.overlay-ad__box .close-x { right: -10px; top: 6px; width: 32px; height: 32px; }
@keyframes ov-in { from { opacity: 0; } to { opacity: 1; } }
/* カテゴリのアコーディオン：開閉アニメーション */
.sp-cat-panel { overflow: hidden; transition: height .28s ease, opacity .28s ease; }
@media (prefers-reduced-motion: reduce) { .sp-cat-panel, .overlay-ad { transition: none; animation: none; } }
.home__main > section, .list-layout__main, .home__main { min-width: 0; }
.home__main { width: 100%; }
.home__main > section { max-width: 100%; }
.swipe { min-width: 0; max-width: 100%; }
@media (min-width: 768px) { .home__main { width: auto; } }
@media (min-width: 768px) and (max-width: 1100px) { .home__main { width: 100%; flex: none; } }

/* ===== 11/06 確認後の修正 ===== */
[hidden] { display: none !important; }
.pc-only.btn { display: none !important; }
@media (min-width: 768px) { .pc-only.btn { display: inline-flex !important; } }

/* ボタン：ホバーで薄く、押すと沈む */
.btn, .pill, .round-btn, .search__go, .search__detail, .period button, .pager a, .sp-menu__grid a, .sp-menu__links a, .foot-guide a, .link-row, .anchor-tabs a, .msg-tabs a, .burger { transition: opacity .15s, transform .08s, box-shadow .08s, background-color .15s; }
.btn:hover, .pill:hover, .round-btn:hover, .search__go:hover, .period button:hover, .pager a:hover, .sp-menu__grid a:hover, .sp-menu__links a:hover, .foot-guide a:hover, .link-row:hover, .anchor-tabs a:hover, .msg-tabs a:hover { opacity: .72; text-decoration: none; filter: none; }
.search__detail:hover { background: var(--bg-3); }
.btn:active, .pill:active, .round-btn:active, .search__go:active, .period button:active, .pager a:active, .sp-menu__grid a:active, .sp-menu__links a:active, .foot-guide a:active, .link-row:active, .anchor-tabs a:active, .msg-tabs a:active { transform: translateY(2px); box-shadow: none; opacity: .85; }

/* カテゴリナビ：ホバーをはっきり */
.cat-nav__item { --c-bg: #F3EFEA; }
.cat-nav__link { border-bottom: 3px solid transparent; transition: background-color .15s, color .15s, border-color .15s; }
.cat-nav__link:hover, .cat-nav__item:hover > .cat-nav__link, .cat-nav__item:focus-within > .cat-nav__link { background: var(--c-bg); color: var(--c-fg); border-bottom-color: var(--c-fg); }
.cat-nav__link:hover .cat-icon, .cat-nav__item:hover > .cat-nav__link .cat-icon { background: var(--white); }
.cat-nav__sub a { transition: background-color .12s, color .12s; }
.cat-nav__sub a:hover, .cat-nav__sub a:focus-visible { background: var(--c-bg); color: var(--c-fg); font-weight: 700; box-shadow: inset 4px 0 0 var(--c-fg); }
.cat-nav__sub a:hover .chev { color: var(--c-fg); }

/* 詳細検索 */
.search-wrap { position: relative; }
.search__detail[aria-expanded="true"] .icon { transform: rotate(180deg); }
.search-panel { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 50; padding: 20px 24px; background: var(--white); border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: 0 12px 32px rgba(0,0,0,.18); }
.sf { display: flex; flex-direction: column; gap: 12px; }
.sf-row { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 10px; align-items: center; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.sf-row--pay { align-items: start; }
.sf-row .input { font-size: 14px; }
.sf-range { display: flex; align-items: center; gap: 8px; font-weight: 400; }
.sf-range .input { width: 120px; }
.sf-pay { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 12px; font-weight: 400; color: var(--ink); }
.sf-pay .check { font-size: 13px; }
.search-panel__foot { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 16px; position: relative; }
.search-clear { border: 0; background: none; padding: 0; color: var(--link); font-size: 12px; cursor: pointer; }
.search-panel .search-clear { position: absolute; right: 0; }
.search-clear:hover { text-decoration: underline; }
.filter-more { padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg-2); }
.pm::after { content: "＋"; color: var(--red); font-size: 16px; }
[aria-expanded="true"] > .pm::after { content: "－"; }
.pm { margin-left: auto; }

/* 続きを見る */
.item__desc.is-open, .rank-row__desc.is-open { display: block; -webkit-line-clamp: unset; overflow: visible; }
.rank-row__more { align-self: flex-start; border: 0; background: none; padding: 0; color: var(--link); font-size: 12px; font-weight: 700; cursor: pointer; }
.item__more:hover, .rank-row__more:hover { text-decoration: underline; }

/* スライダー */
@media (min-width: 768px) {
  .hero { --hw: min(957px, calc(100vw - 80px)); }
  .hero__view { position: relative; overflow: hidden; }
  .hero__track { display: flex; justify-content: center; align-items: center; gap: 16px; }
  .hero__slide { flex: none; display: block; width: var(--hw); opacity: .45; transition: opacity .45s; }
  .hero__slide.is-cur { opacity: 1; }
  .hero__slide img { width: 100%; height: auto; }
  .hero__ctrl { position: absolute; top: 0; bottom: 0; left: 50%; width: var(--hw); transform: translateX(-50%); display: flex; align-items: center; justify-content: space-between; pointer-events: none; }
  .hero__ctrl .round-btn { pointer-events: auto; margin-inline: -22px; }
  .hero__dots span { cursor: pointer; transition: width .3s, background-color .3s; }
}

/* ログインエラー */
.form-error { padding: 10px 14px; border: 1px solid #F3C7BE; border-left: 4px solid var(--danger); border-radius: 6px; background: var(--red-soft); color: var(--danger); font-size: 13px; font-weight: 700; line-height: 1.6; }
.input.is-error { border-color: var(--danger); background: var(--red-soft); }

/* 問い合わせ方法のイラスト */
.step__img { width: 100%; height: auto; background: var(--white); border: 1px solid var(--line); }

/* アコーディオン本文 */
.acc-body { padding: 0 16px 14px; font-size: 13px; color: var(--ink-2); line-height: 1.8; }
.acc-list { list-style: disc; padding-left: 18px; }

/* ===== 11/09 SP修正 ===== */
.sp-cat { flex: none; width: 88px; min-height: 92px; padding: 6px 2px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--ink); font: inherit; font-size: 11px; font-weight: 700; text-align: center; line-height: 1.25; cursor: pointer; }
.sp-cat[aria-expanded="true"] { border-color: var(--c-fg); box-shadow: inset 0 -3px 0 var(--c-fg); }
.sp-cat-panel { margin-top: 10px; border-top: 3px solid var(--c-fg); background: var(--c-bg); }
.sp-cat-panel__h { padding: 10px 14px 6px; font-weight: 700; }
.sp-cat-panel__h a { color: var(--c-fg); }
.sp-cat-panel ul { padding: 0 14px 8px; }
.sp-cat-panel li a { display: flex; align-items: center; min-height: 44px; color: var(--ink); border-top: 1px solid rgba(0,0,0,.06); }
