/* 用途：選定見本TM2・TP2の冒頭、3/2/1列の商品一覧、絞り込み。 */
.top-page{background:linear-gradient(#f5faff,#f1f8fc)}.top-hero{background:linear-gradient(115deg,#eaf6ff,#e0f1ff 65%,#eef8ff)}.top-hero-inner{position:relative;max-width:1480px;margin:auto;padding:40px 32px 32px;display:grid;grid-template-columns:1fr 1fr;gap:14px 40px;align-items:center}.top-hero-heading{grid-column:1;grid-row:1;z-index:1}.top-hero h1{font-size:32px;line-height:1.55;font-weight:850;letter-spacing:-.025em}.top-hero-art{grid-column:2;grid-row:1;justify-self:end;width:270px;height:180px;object-fit:contain;opacity:.95}.top-search-card{grid-column:2;grid-row:2;align-self:start}.top-search-card h2{display:none}.top-search-card .advertising{margin:8px 0 0;text-align:right;font-size:12px}.top-search{display:flex;gap:8px;align-items:center;padding:6px 6px 6px 14px;border:1px solid #c4d8e9;border-radius:10px;background:#fff;box-shadow:0 3px 12px #153a6512}.top-search label{display:flex;flex:none}.top-symbol{width:24px;height:24px;color:var(--blue)}.top-search input{min-height:48px;width:100%;min-width:0;border:0;background:#fff;color:var(--ink);font-size:15px}.top-search input::placeholder{color:var(--muted);opacity:1}.top-search-button{flex:none;min-height:48px;min-width:80px;border:0;border-radius:7px;background:linear-gradient(#086bd8,#0866ca);color:#fff;font-weight:750;padding:10px 18px}.top-intro{grid-column:1;grid-row:2;z-index:1;max-width:620px;margin:0;font-size:15px;line-height:1.9}.top-content{min-height:100vh;max-width:1480px;margin:auto;padding:0 32px 30px}.top-filters{display:flex;align-items:center;flex-wrap:wrap;gap:14px 20px;padding:20px 0;background:#fff;box-shadow:0 0 0 100vmax #fff;clip-path:inset(0 -100vmax)}.top-filters h2{display:flex;align-items:center;gap:10px;font-size:16px;white-space:nowrap}.top-filters .symbol{width:24px;height:24px}.top-filter-buttons{display:flex;flex-wrap:wrap;gap:8px}.top-filter{min-height:44px;padding:8px 22px;border:1px solid var(--line);border-radius:999px;background:linear-gradient(#fff,#f0f6fc);color:var(--ink);font-size:13px;white-space:nowrap}.top-filter[aria-pressed=true]{background:var(--blue);color:#fff;border-color:var(--blue);font-weight:700}.top-dash-note{margin:16px 0 0;font-size:13px;line-height:1.8;color:var(--muted)}.top-category{margin:24px 0;scroll-margin-top:24px}.top-category>h2{display:flex;align-items:center;gap:12px;font-size:24px;margin-bottom:14px}.top-category>h2 .symbol{width:28px;height:28px}.top-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.top-card{display:flex;flex-direction:column;min-width:0;padding:20px;border:1px solid #e3ebf2;border-radius:14px;background:#fff;box-shadow:0 3px 12px #153a6506}.top-identity{display:flex;align-items:center;gap:16px;min-height:60px;min-width:0}.top-identity .app-icon{width:60px;height:60px;border-radius:14px}.top-identity-text{min-width:0}.top-identity h3{font-size:21px;line-height:1.45}.top-plan{font-size:13px;color:var(--muted);margin:3px 0 0}.top-prices{margin-top:16px}.top-price{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:56px;margin:0;padding:10px 0;border-bottom:1px solid #edf1f6;font-size:13px}.top-price>span{flex:none}.top-regular{display:block;font-size:12px;color:var(--muted)}.top-amount{display:block;font-size:18px;text-align:right;line-height:1.5}.top-monthly{display:block;font-size:12px;font-weight:500;color:var(--ink)}.top-difference{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:0 5px;padding:9px 8px;border-radius:7px;margin-top:10px;background:var(--red-pale);color:var(--red);font-size:12px}.top-difference.official-higher{background:var(--blue-pale);color:var(--blue-dark)}.top-difference.equal{background:var(--surface);color:var(--muted)}.top-difference strong{font-size:14px}.top-card-bottom{margin-top:auto;padding-top:14px}.top-reviews{display:flex;align-items:center;gap:8px;font-size:13px;margin:0 0 12px;color:var(--ink)}.top-reviews .symbol{width:21px;height:21px;color:var(--blue-dark)}.top-reviews strong{white-space:nowrap}.top-product-link{display:flex;align-items:center;justify-content:center;gap:12px;min-height:48px;padding:10px 8px;border-radius:7px;background:linear-gradient(#086bd8,#0866ca);color:#fff;font-size:15px;font-weight:700}.top-product-link:hover{background:var(--blue-dark);text-decoration:none}.top-product-link>span{font-size:23px;line-height:1}.top-about{margin-top:28px;border:1px solid var(--line);border-radius:12px;background:#f8fbff}.top-about-link{display:flex;align-items:center;gap:20px;min-height:90px;padding:20px;color:var(--ink)}.top-about-link>.symbol{width:48px;height:48px;padding:9px;border-radius:9px;background:#e4f0ff}.top-about-link strong{font-size:17px}.top-about-description{display:block;font-size:14px;margin-top:4px;color:var(--muted)}.top-about-chevron{margin-left:auto;font-size:28px}.top-no-results{padding:24px 16px;border:1px solid var(--line);border-radius:var(--radius);background:#fff}.top-page+.site-footer{margin-top:0}
@media(max-width:1099px){.top-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.top-hero h1{font-size:26px}.top-hero-inner{gap:18px 24px}.top-hero-art{width:240px;height:160px}.top-search-button{min-width:64px;padding-inline:12px}.top-filters{align-items:flex-start;flex-direction:column}}
@media(max-width:599px){.top-hero-inner{display:flex;flex-wrap:wrap;gap:0;padding:24px 16px 0}.top-hero-heading{position:relative;min-height:150px;width:100%;padding-right:100px}.top-hero h1{font-size:21px;line-height:1.65}.top-hero-art{position:absolute;width:200px;height:140px;right:0;top:60px;opacity:1}.top-search-card{display:contents}.top-search-card h2{display:flex;align-items:center;gap:9px;width:100%;font-size:19px;margin:0;padding:16px 14px 5px;border-radius:12px 12px 0 0;background:#fff}.top-search-card h2 .symbol{width:25px;height:25px}.top-search-card .advertising{order:0;width:100%;margin:0;padding:0 14px 10px;text-align:left;background:#fff}.top-search{width:100%;margin:0;padding:6px 10px;border:0;border-radius:0;box-shadow:none}.top-search input{font-size:15px;border:1px solid #c4d4e5;border-radius:6px;padding:8px;min-height:48px}.top-search label{display:none}.top-search-button{min-width:68px}.top-intro{width:100%;margin:0;padding:12px 14px 18px;border-radius:0 0 12px 12px;background:#fff;font-size:14px;line-height:1.85}.top-hero{padding-bottom:20px}.top-content{padding:0 16px 24px}.top-filters{padding:20px 0;gap:12px}.top-filter{padding:8px 15px;font-size:12px}.top-category{margin:22px 0}.top-category>h2{font-size:21px}.top-grid{grid-template-columns:1fr;gap:14px}.top-card{padding:18px}.top-identity h3{font-size:21px}.top-price{font-size:14px}.top-amount{font-size:19px}.top-product-link{font-size:15px}.top-about-link{gap:12px;padding:16px 12px}.top-about-link>.symbol{width:38px;height:38px;padding:6px}.top-about-link strong{font-size:15px}.top-about-description{font-size:12px}.top-about-chevron{font-size:24px}}

@media(min-width:600px){.top-hero-inner{padding-top:28px;row-gap:6px}.top-hero-heading{align-self:end}.top-hero-art{height:150px}}
/* 段階8b: 見出しの位置とカードを保ち、右端に比較ページへのリンクを置く。 */
.top-category{position:relative}.top-category-link{display:flex;align-items:center;justify-content:flex-end;gap:6px;min-height:44px;margin:-52px 0 8px auto;width:max-content;max-width:55%;font-size:14px;text-align:right;word-break:keep-all}
@media(max-width:599px){.top-category-link{font-size:12px;max-width:49%;margin-top:-52px}.top-category:has(.top-category-link)>h2{padding-right:50%}}
/* 段階8c: 狭い2列で名前と料金が収まらない幅だけ、カードを1列にする。 */
@media(min-width:600px) and (max-width:699px){.top-grid{grid-template-columns:1fr}}

/* 段階8e: 狭い冒頭でも、見出しの語を1行に収める。 */
@media(max-width:329px){
 .top-hero-heading{padding-right:88px}
}
/* 分野のチップを押した後だけ出す「<分野>：◯件の商品を表示中」の1行（2026-11-24）。動かすのは opacity と transform だけ。 */
.top-filter-count{width:100%;margin:0;font-size:14px;line-height:1.6;color:var(--ink)}.top-filter-count:empty{position:absolute;width:auto}.top-filter-count-n{display:inline-block;font-weight:700}@keyframes top-filter-count-in{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}@keyframes top-filter-count-swap{from{opacity:0}to{opacity:1}}.top-filter-count-in{animation:top-filter-count-in 200ms ease-out both}.top-filter-count-swap{animation:top-filter-count-swap 150ms ease-out both}
@media(prefers-reduced-motion:reduce){.top-filter-count-in,.top-filter-count-swap{animation:none}}
