/* WorldBeer: Hobgoblin brand comparison only. */
.hb-cmp-page .hb-cmp-main{width:min(960px,calc(100% - 32px));margin:0 auto 4rem;min-width:0;color:#302137}
.hb-cmp-page .hb-cmp-head{margin:clamp(20px,4vw,54px) 0 22px}
.hb-cmp-page .hb-cmp-head h1{font-size:clamp(1.8rem,4.5vw,3.3rem);line-height:1.25;color:#302137;margin:.25em 0;text-wrap:pretty;overflow-wrap:anywhere}
.hb-cmp-page .hb-cmp{font-size:max(16px,1rem);line-height:1.8;overflow-wrap:anywhere;--ink:#302137;--blue:#4a294d;--line:#ded5da;--paper:#eee9de}
.hb-cmp-page .hb-cmp *{box-sizing:border-box;min-width:0}
.hb-cmp-page .hb-cmp h2{font-size:clamp(1.45rem,3.4vw,2.1rem);line-height:1.35;color:var(--ink);margin:.15em 0 .58em}
.hb-cmp-page .hb-cmp h3{font-size:1.18rem;line-height:1.45;color:var(--ink);margin:0 0 .45em}
.hb-cmp-page .hb-cmp p{margin:0 0 .95em}
.hb-cmp-page .hb-cmp a{color:#593263;text-decoration:underline;text-underline-offset:3px}
.hb-cmp-page .hb-cmp a:focus-visible,.hb-cmp-page .hb-cmp summary:focus-visible{outline:3px solid #9b3b29;outline-offset:3px}
.hb-cmp-page .hb-cmp-kicker{font-size:max(13px,.85rem);font-weight:800;letter-spacing:.12em;color:#4a294d}
.hb-cmp-page .hb-cmp p.hb-cmp-kicker{margin:0 0 .22em}
.hb-cmp-page .hb-cmp-byline,.hb-cmp-page .hb-cmp-note,.hb-cmp-page .hb-cmp-hero figcaption{font-size:max(14px,.88rem);color:#42536b}
.hb-cmp-page .hb-cmp-lead{font-size:1.09em;line-height:1.8}
.hb-cmp-page .hb-cmp-hero{margin:18px 0 20px}
.hb-cmp-page .hb-cmp-hero img{width:100%;height:auto;display:block;border-radius:12px}
.hb-cmp-page .hb-cmp-hero figcaption{margin-top:6px}
.hb-cmp-page .hb-cmp-nav{display:flex;flex-wrap:wrap;gap:8px;margin:22px 0}
.hb-cmp-page .hb-cmp-nav a{display:flex;align-items:center;padding:7px 13px;min-height:44px;background:#f4ecd4;border-radius:9px;border:1px solid #d2ddff;font-weight:700}
.hb-cmp-page .hb-cmp>section,.hb-cmp-page .hb-cmp-sources{margin:clamp(28px,5vw,58px) 0;scroll-margin-top:100px}
.hb-cmp-page .hb-cmp-table{table-layout:fixed;width:100%;border-collapse:collapse;margin:0 0 12px;color:var(--ink);background:#fff}
.hb-cmp-page .hb-cmp-table caption{text-align:left;font-weight:700;padding:0 0 7px}
.hb-cmp-page .hb-cmp-table th,.hb-cmp-page .hb-cmp-table td{border:1px solid var(--line);text-align:left;padding:.62em;vertical-align:top;overflow-wrap:anywhere}
.hb-cmp-page .hb-cmp-table tr>:first-child{width:23%}
.hb-cmp-page .hb-cmp-table thead th{background:#4a294d;color:#fff}
.hb-cmp-page .hb-cmp-table tbody th{background:#f7f1e9}
.hb-cmp-page .hb-cmp-table small{display:block;font-size:max(13px,.82em)}
.hb-cmp-page .hb-cmp-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.hb-cmp-page .hb-cmp-tastes>div,.hb-cmp-page .hb-cmp-card,.hb-cmp-page .hb-cmp-outro{padding:clamp(14px,2.4vw,24px);border-radius:12px;background:#faf6ed;border:1px solid var(--line)}
.hb-cmp-page .hb-cmp-tastes>div p:last-child,.hb-cmp-page .hb-cmp-card p:last-child{margin-bottom:0}
.hb-cmp-page .hb-cmp-card{background:#fff}
.hb-cmp-page .hb-cmp-card header{display:grid;grid-template-columns:minmax(62px,104px) minmax(0,1fr);align-items:center;gap:12px;margin-bottom:15px}
.hb-cmp-page .hb-cmp-card header img{width:100%;height:auto;object-fit:contain;border-radius:8px}
.hb-cmp-page .hb-cmp-card header p{font-size:max(14px,.875rem);margin:0}
.hb-cmp-page .hb-cmp-shops{display:grid;gap:8px;margin-bottom:14px}
.hb-cmp-page .hb-cmp-shops>a{display:grid;grid-template-columns:minmax(0,75px) minmax(0,1fr) 1em;align-items:center;gap:9px;min-height:56px;padding:8px 10px;font-weight:700;font-size:max(14px,.93rem);line-height:1.4;background:#f7f8fc;border:1px solid #bac7eb;border-radius:8px;color:#4a294d}
.hb-cmp-page .hb-cmp-shops>a:hover{background:#e9efff}
.hb-cmp-page .hb-cmp-shops img{width:100%;height:auto;object-fit:contain;display:block}
.hb-cmp-page .hb-cmp details{padding:9px 12px;margin:10px 0;border:1px solid var(--line);border-radius:8px;background:#fff}
.hb-cmp-page .hb-cmp summary{cursor:pointer;padding:8px 0;font-weight:700;min-height:44px}
.hb-cmp-page .hb-cmp details p{margin:.35em 0}
.hb-cmp-page .hb-cmp ul{padding-left:1.35rem}
@media(max-width:620px){
 .hb-cmp-page .hb-cmp-main{width:calc(100% - 24px)}
 .hb-cmp-page .hb-cmp-grid{grid-template-columns:minmax(0,1fr)}
 .hb-cmp-page .hb-cmp-table th,.hb-cmp-page .hb-cmp-table td{padding:.37em}
 .hb-cmp-page .hb-cmp-table tr>:first-child{width:24%}
}
/* Override the shared header treatment only for the two purchase cards. */
.hb-cmp-page .hb-cmp-card header{border:0;padding:0;background:none}
.hb-cmp-page .hb-cmp-shops>a span:nth-child(2){text-wrap:balance}
.hb-cmp-page .hb-cmp-table td strong{white-space:nowrap}
.hb-cmp-page .hb-cmp-table-wrap{overflow:auto;max-width:100%;overscroll-behavior-inline:contain}
.hb-cmp-page .hb-cmp-table{min-width:520px}
.hb-cmp-page .hb-cmp-table-wrap:focus-visible{outline:3px solid #4a294d;outline-offset:3px}
.hb-cmp-page .hb-cmp-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.hb-cmp-page .hb-cmp-bottle-views{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:16px 0}
.hb-cmp-page .hb-cmp-bottle-views figure{margin:0}
.hb-cmp-page .hb-cmp-bottle-views img{width:100%;height:auto;display:block;border-radius:8px;background:#eee9de}
.hb-cmp-page .hb-cmp-bottle-views figcaption{font-size:max(14px,.9rem);font-weight:700;line-height:1.6;text-align:center}
.hb-cmp-page .hb-cmp-card header{display:block}
.hb-cmp-page .hb-cmp-card header img{width:90px;max-width:100%;height:auto;display:block;margin:0 0 12px}
.hb-cmp-page .hb-cmp-card .hb-cmp-direct{display:flex;align-items:center;min-height:50px;font-weight:700}
.hb-cmp-page .hb-cmp-table-scroll{display:none}
@media(max-width:720px){.hb-cmp-page .hb-cmp-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:560px){.hb-cmp-page .hb-cmp-table-scroll{display:block}}
/* スマホと拡大表示では、カードの幅を優先して段数を減らす。 */
.hb-cmp-page .hb-cmp-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,max(220px,14rem)),1fr))}
@media(max-width:720px){.hb-cmp-page .hb-cmp-grid{grid-template-columns:minmax(0,1fr)}}
