/* 推しグッズレーダー。Claude Design の「推しグッズレーダー モバイル設計」を移したもの。
   スマホを基本に、幅768px以上でPC表示に切り替える */
:root {
  --yellow: #FFC21A;
  --ink: #2A2320;
  --cream: #FFFBF2;
  --pink: #FF4F8B;
  --orange: #FF8A00;
  --red: #E0212F;
  --green: #1F8A4C;
  --cta: #FF7A00;
  --cta-shadow: #C45C00;
  --line: #EFE6D6;
  --line-strong: #E5DACB;
  --sub: #5C534B;
  --muted: #8A7F74;
  --beige: #F2EADB;
  --chip: #FFF0C2;
  --tab: #FFF8E1;
  --foot: #F4EDE0;
  --link: #B4470A;
  /* Colleize（colleize.com）と同じ、端末に入っているフォントを使う。ウェブフォントは読み込まない。
     Windowsの游ゴシックは標準の太さだと細くかすれるため、同じ游ゴシックのMediumを先に指定する */
  --font-body: YuGothic, 'Yu Gothic Medium', 'Yu Gothic', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, 'MS Gothic', sans-serif;
  --font-round: var(--font-body);
  --gutter: 16px;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--font-body); -webkit-text-size-adjust: 100%; }
img { max-width: 100%; }
/* Yahoo!のクレジット（.yj）の中は色を変えない（規定で改変禁止） */
a:not(.yj a) { color: var(--link); text-decoration: none; }
a:not(.yj a):hover { color: #8A3200; }
button { font-family: inherit; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 2px; }
.px { padding-left: var(--gutter); padding-right: var(--gutter); }
.num { font-variant-numeric: tabular-nums; }
.pc-only { display: none !important; }
@keyframes skel { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* PR表記（全ページの一番上） */
.pr-notice { display: flex; align-items: center; gap: 8px; padding-top: 5px; padding-bottom: 5px; background: var(--foot); color: var(--ink); font-size: 12px; line-height: 1.4; border-bottom: 1px solid var(--line-strong); }
.pr-badge { flex: none; padding: 1px 6px; border-radius: 3px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .04em; }

/* ロゴ（画像） */
.logo-img { display: block; height: auto; max-width: 100%; }
.logo-h1 { margin: 0; line-height: 0; }
.brand { display: flex; align-items: center; gap: 8px; flex: none; color: var(--ink) !important; }
.brand-tag { font-size: 10.5px; font-weight: 500; }

/* トップの上部 */
.top-brand { background: var(--yellow); padding-top: 14px; padding-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.top-brand > div { display: flex; flex-direction: column; gap: 1px; }
.sticky-bar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: var(--yellow); box-shadow: 0 2px 0 rgba(42, 35, 32, .08); }
/* 上部の高さは全ページ共通：スマホ 余白10px＋検索バー44px、PC 余白14px＋検索バー48px */
.top-bar { padding-top: 10px; padding-bottom: 10px; display: flex; align-items: center; gap: 28px; }
.search-slot { position: relative; flex: 1; min-width: 0; }
.search-slot > .search { flex: 1; }

/* 検索窓 */
.search { margin: 0; display: flex; height: 50px; background: #fff; border-radius: 25px; border: 2px solid var(--ink); overflow: hidden; }
.search input { flex: 1; min-width: 0; border: 0; padding: 0 18px; font: 500 15px var(--font-body); outline: none; background: transparent; color: var(--ink); }
.search button { width: 70px; border: 0; background: var(--ink); color: var(--yellow); font: 800 14px var(--font-body); cursor: pointer; }
.search.xs { height: 44px; border-radius: 22px; flex: 1; }
.search.xs input { padding: 0 14px; font-size: 14px; }
.search.xs button { width: 58px; font-size: 13px; }

/* 作品の候補（検索窓の下） */
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: #fff; border: 2px solid var(--ink); border-radius: 14px; box-shadow: 0 8px 24px rgba(42, 35, 32, .18); overflow: hidden; z-index: 6; }
.suggest-label { padding: 8px 14px 4px; font-size: 10.5px; font-weight: 700; color: var(--muted); }
.suggest a { min-height: 44px; display: flex; align-items: center; gap: 10px; padding: 0 14px; border-top: 1px solid var(--beige); color: var(--ink) !important; }
.suggest a .name { flex: 1; min-width: 0; font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.suggest a .count { font-size: 11px; color: #6B6158; flex: none; }
.suggest .empty { min-height: 40px; display: flex; align-items: center; padding: 0 14px; font-size: 12px; color: var(--muted); }
.suggest a.all { background: var(--tab); font-size: 13px; font-weight: 700; }

/* 見出し */
.sec { padding-top: 28px; }
.sec-h { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.sec-h::before { content: ''; width: 5px; height: 22px; background: var(--orange); border-radius: 2px; flex: none; }
.sec-h h2 { margin: 0; font: 800 18px var(--font-round); }
.sec-h .aside { margin-left: auto; font-size: 12px; font-weight: 700; }
.sec-h .aside.plain { font-weight: 400; font-size: 11.5px; color: var(--sub); }

/* 作品ボタン */
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.work-btn { min-height: 64px; border-radius: 12px; background: #fff; border: 2px solid var(--ink); box-shadow: 0 2px 0 var(--ink); padding: 9px 12px; display: flex; flex-direction: column; justify-content: space-between; gap: 4px; color: var(--ink) !important; min-width: 0; }
.work-btn .name { font-size: 13px; font-weight: 800; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.work-btn .meta { display: flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 700; }
.work-btn .meta .count { color: #6B6158; }
.tag { padding: 1px 6px; border-radius: 4px; font-size: 10.5px; font-weight: 700; }
.tag.oshi { background: var(--pink); color: #fff; }
.tag.recent { background: #E9E2D6; color: var(--ink); }
.tag.fresh { background: var(--chip); color: #8A3200; }

.btn-dark { height: 46px; border-radius: 23px; background: var(--ink); color: #fff !important; font: 700 14px var(--font-body); display: flex; align-items: center; justify-content: center; gap: 6px; }
.btn-outline { width: 100%; height: 46px; border-radius: 23px; border: 2px solid var(--ink); background: #fff; font: 700 14px var(--font-body); color: var(--ink) !important; display: flex; align-items: center; justify-content: center; }
.btn-wrap { padding-top: 20px; }

.chips { display: flex; gap: 6px; padding-top: 16px; padding-bottom: 4px; overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips.wrap { flex-wrap: wrap; overflow: visible; padding-top: 10px; }
.chip { flex: none; height: 32px; padding: 0 12px; border-radius: 8px; background: var(--chip); font-size: 12.5px; font-weight: 700; display: flex; align-items: center; color: var(--ink) !important; }
.chip.on { background: var(--ink); color: #fff !important; }

/* 商品カード */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
.card { display: flex; flex-direction: column; gap: 6px; color: var(--ink) !important; min-width: 0; }
.thumb { aspect-ratio: 1; border-radius: 12px; position: relative; overflow: hidden; display: flex; align-items: flex-end; padding: 8px; background: var(--beige); }
.thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #fff; }
.thumb .kind { position: relative; font: 500 9.5px ui-monospace, Menlo, monospace; color: rgba(42, 35, 32, .6); }
.rank { position: absolute; top: 8px; left: 8px; width: 28px; height: 28px; border-radius: 50%; background: var(--yellow); color: var(--ink); font: 800 14px var(--font-round); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 2px #fff; z-index: 1; }
.card.text { background: #fff; border: 1.5px solid var(--line-strong); border-radius: 12px; padding: 10px 12px; gap: 4px; }
.card.text .card-name { height: auto; -webkit-line-clamp: 3; min-height: 36px; }
.card-meta { display: flex; gap: 6px; align-items: center; min-height: 18px; }
.rank-text { font: 800 12px var(--font-round); background: var(--yellow); color: var(--ink); border-radius: 4px; padding: 1px 6px; }
.kind-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; font-size: 10.5px; font-weight: 700; color: var(--sub); background: var(--beige); border-radius: 4px; padding: 1px 6px; }
.card-name { font-size: 12.5px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; height: 36px; }
.price-line { display: flex; align-items: baseline; gap: 3px; height: 24px; color: var(--red); }
.price-line .lbl { font-size: 10px; font-weight: 700; }
.price-line .yen { font: 800 18px var(--font-body); font-variant-numeric: tabular-nums; }
.price-line .tilde { font-size: 11px; }
.stock-line { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; font-size: 11px; font-weight: 700; color: var(--sub); }
.stock-line .free { color: var(--link); }
.no-price { font-size: 11px; color: var(--muted); height: 24px; display: flex; align-items: center; }


/* 自分で書いた紹介文（トップ・作品ページ） */
.intro { padding-top: 16px; font-size: 13px; line-height: 1.8; color: var(--sub); }
.intro p { margin: 0 0 4px; max-width: 60em; }
.intro a { font-size: 12.5px; font-weight: 700; }
.work-desc { padding-top: 12px; font-size: 13.5px; line-height: 1.9; color: var(--ink); }
.work-desc p { margin: 0 0 10px; max-width: 60em; }

/* フッター */
.site-foot { margin-top: 28px; background: var(--foot); padding-top: 22px; padding-bottom: 28px; display: flex; flex-direction: column; gap: 12px; border-top: 3px solid var(--yellow); }
.site-foot .lead { font-size: 12px; line-height: 1.7; font-weight: 700; }
.site-foot .small { font-size: 11px; line-height: 1.7; color: var(--sub); }
.site-foot .links { display: flex; gap: 14px; flex-wrap: wrap; font-size: 11.5px; font-weight: 700; }
.site-foot .copy { font-size: 10.5px; color: var(--muted); }

/* 作品別ページ */
.work-top { padding-top: 10px; display: flex; align-items: center; gap: 8px; }
.work-top .other { margin-left: auto; font-size: 11.5px; font-weight: 700; color: var(--ink) !important; }
.search-row { padding-top: 10px; padding-bottom: 10px; }
.tabs { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--tab); border-top: 1px solid rgba(42, 35, 32, .12); }
.tabs a { height: 44px; display: flex; align-items: center; justify-content: center; font: 800 13px var(--font-body); color: var(--ink) !important; }
.tabs a + a { border-left: 1px solid rgba(42, 35, 32, .1); }
.page-title { padding-top: 18px; padding-bottom: 4px; display: flex; flex-direction: column; gap: 4px; }
.crumb { font-size: 11px; color: #6B6158; display: flex; gap: 4px; flex-wrap: wrap; }
.page-title h1 { margin: 0; font: 800 24px/1.3 var(--font-round); }
.page-title h1 small { font-size: 15px; margin-left: 4px; }
.counts { display: flex; gap: 12px; flex-wrap: wrap; font-size: 12px; font-weight: 700; color: var(--sub); margin-top: 2px; }
.counts b { font-size: 15px; color: var(--ink); }
[id] { scroll-margin-top: 150px; }

.chars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.char { min-height: 44px; padding: 6px 8px; border-radius: 10px; background: #fff; border: 2px solid var(--ink); box-shadow: 0 2px 0 var(--ink); display: flex; align-items: center; justify-content: center; text-align: center; font-size: 13px; font-weight: 700; line-height: 1.3; color: var(--ink) !important; }
.sub-h { padding-top: 22px; font-size: 12.5px; font-weight: 800; }
.back-top { height: 50px; border-radius: 12px; background: #fff; border: 1.5px solid var(--line-strong); display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 16px; color: var(--ink) !important; font-size: 13px; font-weight: 700; }

/* すべての作品 */
.list-hdr { display: flex; align-items: center; gap: 4px; padding-top: 8px; }
.back { width: 44px; height: 44px; flex: none; display: flex; align-items: center; justify-content: center; font: 800 24px var(--font-round); color: var(--ink) !important; }
.list-hdr h1 { margin: 0; font: 800 18px var(--font-round); flex: 1; }
.list-hdr .count { font-size: 12px; font-weight: 700; padding-right: 6px; }
.filter { display: flex; align-items: center; height: 46px; background: #fff; border-radius: 23px; border: 2px solid var(--ink); padding: 0 6px 0 16px; gap: 6px; }
.filter input { flex: 1; min-width: 0; border: 0; font: 500 14px var(--font-body); outline: none; background: transparent; color: var(--ink); }
.filter button { height: 32px; padding: 0 10px; border: 0; border-radius: 16px; background: var(--beige); font: 700 12px var(--font-body); color: var(--ink); cursor: pointer; }
.kana { display: grid; grid-template-columns: repeat(10, 1fr); background: var(--tab); border-top: 1px solid rgba(42, 35, 32, .12); }
.kana a { height: 40px; display: flex; align-items: center; justify-content: center; font: 800 14px var(--font-round); color: var(--ink) !important; }
.kana a.none { color: #CBBFAE !important; pointer-events: none; }
.group-h { display: flex; align-items: center; gap: 8px; padding-top: 18px; padding-bottom: 8px; }
.group-h::before { content: ''; width: 5px; height: 20px; background: var(--orange); border-radius: 2px; }
.group-h h2 { margin: 0; font: 800 16px var(--font-round); }
.group-h span { font-size: 11px; color: var(--muted); }
.work-list { background: #fff; border-top: 1px solid var(--line); }
.work-row { min-height: 52px; display: flex; align-items: center; gap: 10px; padding: 8px 16px; border-bottom: 1px solid var(--line); color: var(--ink) !important; }
.work-row .nm { flex: 1; min-width: 0; font-size: 14px; font-weight: 700; line-height: 1.4; }
.work-row .ct { flex: none; font-size: 12px; font-weight: 700; color: var(--sub); font-variant-numeric: tabular-nums; }
.work-row .go { flex: none; color: var(--link); font-weight: 800; }
.empty-msg { padding: 48px 16px; text-align: center; font-size: 13px; color: var(--sub); line-height: 1.8; }
.empty-msg small { font-size: 11.5px; color: var(--muted); }

/* 比較ページ・一覧ページの上部 */
.hdr { display: flex; align-items: center; gap: 8px; padding-top: 10px; padding-bottom: 10px; }
.hdr .brand-tag { font-size: 11px; }
.hdr nav { gap: 18px; font-size: 13px; font-weight: 700; flex: none; }
.hdr nav a { color: var(--ink) !important; }
.crumb.item { padding-top: 10px; padding-bottom: 10px; }
.hero-img { margin: 0 16px; aspect-ratio: 4 / 3; border-radius: 16px; position: relative; overflow: hidden; display: flex; align-items: flex-end; padding: 12px; background: var(--beige); }
.hero-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #fff; }
.hero-img .kind { position: relative; font: 500 11px ui-monospace, Menlo, monospace; color: rgba(42, 35, 32, .6); }
.hero-info { padding: 14px 16px 0; display: flex; flex-direction: column; gap: 8px; }
.hero-info h1 { margin: 0; font: 800 18px/1.45 var(--font-body); text-wrap: pretty; }
.jan { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--sub); }
.jan code { font: 500 12.5px ui-monospace, Menlo, monospace; color: var(--ink); }
.jan button { height: 28px; padding: 0 10px; border-radius: 6px; border: 1px solid #CFC4B3; background: #fff; font: 700 11px var(--font-body); color: var(--ink); cursor: pointer; }
.best-wrap { padding: 18px 16px 0; }
.best-h { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 8px; }
.best-h .t { font: 800 16px var(--font-round); }
.best-h .n { font-size: 11.5px; color: var(--sub); }
.best { border: 2px solid var(--red); border-radius: 14px; background: #fff; overflow: hidden; }
.best-main { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; }
.best-main .row1 { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.best-main .row1 .l { font-weight: 800; font-size: 13px; }
.best-main .row1 .r { font-size: 11px; color: #6B6158; }
.best-main .row2 { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.best-main .big { font: 800 40px/1.05 var(--font-body); color: var(--red); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.pill { font-size: 12px; font-weight: 700; color: var(--sub); border: 1px solid #CFC4B3; border-radius: 4px; padding: 1px 6px; }
.pill.free { color: var(--link); border-color: #F2B98A; }
.best-main .shop { font-size: 15px; font-weight: 700; }
.cta { margin-top: 6px; height: 52px; border-radius: 12px; background: var(--cta); color: #fff !important; font: 800 15px var(--font-body); display: flex; align-items: center; justify-content: center; gap: 8px; box-shadow: 0 3px 0 var(--cta-shadow); }
.best-free { border-top: 1px dashed #F0C4C7; padding: 10px 16px; background: #FFF5F5; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.best-free > div { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.best-free .l { font-size: 11px; font-weight: 700; color: var(--sub); }
.best-free .v { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.best-free .v b { color: var(--red); font-size: 16px; }
.best-free a { flex: none; height: 36px; padding: 0 12px; border-radius: 8px; border: 1.5px solid var(--cta); font-size: 12px; font-weight: 800; display: flex; align-items: center; }
.best-loading { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.best-loading .st { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; }
.spinner { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #F3C7CA; border-top-color: var(--red); animation: spin .8s linear infinite; }
.bar { height: 6px; border-radius: 3px; background: #F6ECEC; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: var(--red); transition: width .3s; }
.skel { border-radius: 6px; background: #F6ECEC; animation: skel 1.1s ease-in-out infinite; }
.best-loading .wait { height: 52px; border-radius: 12px; background: #F2EDE6; color: #9A8F84; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.best-empty { padding: 20px 16px; font-size: 13px; line-height: 1.7; color: var(--sub); }

.filters { display: flex; gap: 8px; padding-bottom: 12px; }
.filters button { height: 36px; padding: 0 14px; border-radius: 18px; border: 1.5px solid var(--ink); font: 700 12.5px var(--font-body); cursor: pointer; background: #fff; color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.shop-row { display: grid; grid-template-columns: 100px minmax(0, 1fr) 60px; gap: 10px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #fff; }
.shop-row.head { padding-top: 7px; padding-bottom: 7px; background: var(--beige); font-size: 10.5px; font-weight: 700; color: var(--sub); border-bottom: 0; }
.shop-row.best-row { background: var(--tab); }
.shop-row .p { font: 800 19px var(--font-body); color: var(--red); font-variant-numeric: tabular-nums; }
.shop-row .d { font-size: 11px; font-weight: 700; color: #6B6158; }
.shop-row.best-row .d { color: var(--red); }
.shop-row .info { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.shop-row .nm { font-weight: 700; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shop-row .tags { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; font-size: 11px; }
.shop-row .tags .fr { padding: 0 5px; border-radius: 3px; border: 1px solid #CFC4B3; color: var(--sub); font-weight: 700; }
.shop-row .tags .fr.free { border-color: #F2B98A; color: var(--link); }
.shop-row .tags .mall { color: var(--muted); font-weight: 700; }
.shop-row .tags .fixed { padding: 0 5px; border-radius: 3px; background: var(--chip); color: #8A3200; font-weight: 700; }
.shop-row .tags .warn { padding: 0 5px; border-radius: 3px; background: #FDF0DB; color: #B86A00; font-weight: 700; }
.shop-row .age { font-size: 10.5px; color: var(--muted); }
.shop-row .go { height: 44px; border-radius: 10px; background: var(--cta); color: #fff !important; font-weight: 800; font-size: 12.5px; display: flex; align-items: center; justify-content: center; }
.shop-row.pending .p, .shop-row.pending .nm { color: var(--muted); }
.shop-row.error { grid-template-columns: 1fr; color: var(--sub); font-size: 12.5px; }
.note-box { margin: 14px 16px 0; padding: 12px 14px; border-radius: 10px; background: var(--chip); display: flex; flex-direction: column; gap: 4px; }
.note-box .t { font-size: 13px; font-weight: 800; }
.note-box .s { font-size: 11px; line-height: 1.6; color: var(--sub); }

/* ほかのお店で探す（価格なし・リンクのみ） */
.other-shops { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.other-shop { min-height: 48px; padding: 8px 12px; border-radius: 10px; background: #fff; border: 1.5px solid var(--line-strong); display: flex; align-items: center; justify-content: space-between; gap: 6px; color: var(--ink) !important; font-size: 13px; }
.other-shop .nm { font-weight: 800; }
.other-shop .act { flex: none; font-size: 12px; font-weight: 700; color: var(--link); }

/* 一覧ページ */
.pager { display: flex; justify-content: center; gap: 10px; padding-top: 24px; }
.pager a { height: 42px; padding: 0 20px; border-radius: 21px; border: 2px solid var(--ink); background: #fff; color: var(--ink) !important; font-weight: 700; font-size: 13px; display: flex; align-items: center; }

/* 固定ページ（運営者情報など） */
/* 左右の余白（.px）と本文の幅の制限を同じ箱にかけると、PCで余白が幅に食い込むので、幅の制限は中身にかける */
.doc { padding-top: 20px; font-size: 14px; line-height: 1.9; }
.doc > * { max-width: 720px; }
.doc h1 { font: 800 22px var(--font-round); margin: 0 0 12px; }
.doc h2 { font: 800 16px var(--font-round); margin: 24px 0 6px; }
.doc ul { padding-left: 1.3em; margin: 6px 0; }
.doc-table { width: 100%; border-collapse: collapse; margin-bottom: 16px; }
.doc-table th, .doc-table td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--line); font-size: 14px; }
.doc-table th { width: 8em; color: var(--sub); font-weight: 700; }
.doc-date { color: var(--muted); font-size: 12px; }
.notice { padding: 12px 14px; border-radius: 10px; margin: 12px 0; font-size: 14px; }
.notice.ok { background: #E6F4EA; color: #1F6B3A; }
.notice.ng { background: #FDECEC; color: #9B1C1C; }
.contact-form { display: grid; gap: 6px; margin-top: 12px; }
.contact-form label { font-size: 13px; font-weight: 700; margin-top: 8px; }
.contact-form input, .contact-form textarea { width: 100%; font: inherit; font-size: 16px; padding: 10px 12px; border: 1.5px solid var(--line-strong); border-radius: 10px; background: #fff; color: var(--ink); }
.contact-form input:focus, .contact-form textarea:focus { outline: 3px solid var(--yellow); border-color: var(--ink); }
.contact-form button { margin-top: 10px; height: 48px; border: 0; border-radius: 24px; background: var(--ink); color: #fff; font: 700 15px var(--font-body); cursor: pointer; }
.contact-form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.small-note { font-size: 12px; color: var(--sub); margin: 8px 0 0; }

/* ===== PC（幅768px以上） ===== */
@media (min-width: 768px) {
  /* 本文の幅を最大1200pxにして中央に置く。100vwだとスクロールバーの幅だけずれるので%で計算する */
  :root { --gutter: max(24px, calc((100% - 1200px) / 2)); }
  .pc-only { display: flex !important; }
  .sp-only { display: none !important; }
  /* ヘッダーの左右の端を、本文の幅（最大1200px）とそろえる */
  .filter { max-width: 720px; }
  .top-bar, .work-top { gap: 28px; padding-top: 14px; padding-bottom: 14px; }
  .work-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .cards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px 20px; overflow: visible; }
  .cards.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .btn-dark, .btn-outline, .back-top { max-width: 400px; margin-left: auto; margin-right: auto; }
  .chars { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
  .page-title h1 { font-size: 32px; }
  .work-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 24px; background: transparent; border-top: 0; }
  .hdr { gap: 28px; padding-top: 14px; padding-bottom: 14px; }
  .hdr .search, .top-bar .search, .work-top .search { height: 48px; border-radius: 24px; }
  .hero { padding-left: var(--gutter); padding-right: var(--gutter); display: grid; grid-template-columns: 400px minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 40px; padding-top: 6px; }
  .hero-img { grid-row: 1 / 3; margin: 0; aspect-ratio: 1; border-radius: 18px; }
  .hero-info { padding: 0; }
  .hero-info h1 { font-size: 24px; }
  .best-wrap { padding: 18px 0 0; }
  .best-main .big { font-size: 46px; }
  .table { margin: 0 var(--gutter); border: 1px solid var(--line-strong); border-radius: 12px; overflow: hidden; background: #fff; }
  .shop-row { grid-template-columns: 170px minmax(0, 1fr) 150px; gap: 16px; padding-left: 20px; padding-right: 20px; }
  .shop-row .info { flex-direction: row; align-items: center; gap: 20px; }
  .shop-row .nm { flex: 1; font-size: 14px; }
  .note-box { margin-left: var(--gutter); margin-right: var(--gutter); }
  .other-shops { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
