/* review.css — crafters-beer */

.review-wrap {
    max-width: 860px;
    margin: 0 auto;
    background: #F7F7F7;
    font-family: inherit;
}

/* ————————————————————————
   ヒーロー
———————————————————————— */
.rv-hero {
    padding: 24px 32px 18px;
    border-bottom: 1px solid #e8e4de;
    background: #F7F7F7;
}
.rv-eyebrow {
    font-size: 12px;
    letter-spacing: 0.2em;
    color: #C17E2B;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.rv-eyebrow::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 1px;
    background: #C17E2B;
}
.rv-title {
    font-size: 26px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 8px 0 12px;
    line-height: 1.35;
    letter-spacing: 0.02em;
}
.rv-meta-row  { display: flex; gap: 6px; flex-wrap: wrap; }
.rv-tag       { font-size: 12px; padding: 4px 12px; border-radius: 12px; display: inline-block; letter-spacing: 0.04em; }
.rv-tag.amber { background: #FDF0DC; color: #7D4E0F; border: 1px solid #E2A85A; }
.rv-tag.gray  { background: #eeeeee; color: #1a1a1a; border: 1px solid #d3d1c7; }

/* ————————————————————————
   メイン
———————————————————————— */
.rv-main { padding: 28px 32px; background: #F7F7F7; }

/* サムネイル */
.rv-thumb     { border-radius: 8px; overflow: hidden; margin-bottom: 26px; border: 1px solid #e8e4de; }
.rv-thumb img { width: 100%; height: auto; display: block; }

/* ————————————————————————
   目次（SWELL風）
———————————————————————— */
.rv-toc {
    background: #F7F7F7;
    border: 1px solid #e8e4de;
    border-radius: 4px;
    padding: 20px 28px;
    margin-bottom: 28px;
    counter-reset: toc-counter;
}
.rv-toc-title {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e8e4de;
    letter-spacing: 0.06em;
}
.rv-toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}
.rv-toc-list li {
    counter-increment: toc-counter;
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px dashed #e8e4de;
}
.rv-toc-list li:last-child { border-bottom: none; }
.rv-toc-list li::before {
    content: counter(toc-counter) '.';
    font-size: 12px;
    font-weight: 700;
    color: #C17E2B;
    flex-shrink: 0;
    min-width: 20px;
}
.rv-toc-list a {
    font-size: 13px;
    color: #1a1a1a;
    text-decoration: none;
    line-height: 1.5;
}
.rv-toc-list a:hover { color: #C17E2B; text-decoration: underline; }

/* ————————————————————————
   セクションタイトル
———————————————————————— */
.rv-section-title {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.14em;
    color: #1a1a1a;
    text-transform: uppercase;
    margin-bottom: 14px;
    margin-top: 28px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.rv-section-title::after    { content: ''; flex: 1; height: 1px; background: #e8e4de; }
.rv-section-title:first-child { margin-top: 0; }

/* ————————————————————————
   醸造所カード
———————————————————————— */
.rv-brewery-card {
    background: #eeeeee;
    border-radius: 8px;
    padding: 16px 18px;
    border: 1px solid #e8e4de;
}
.rv-brewery-name { font-size: 18px; font-weight: 700; color: #1a1a1a; margin-bottom: 4px; }
.rv-brewery-pref { font-size: 13px; color: #888780; margin-bottom: 10px; }
.rv-brewery-link {
    font-size: 12px;
    color: #7D4E0F;
    text-decoration: none;
    padding: 5px 14px;
    border: 1px solid #E2A85A;
    border-radius: 6px;
    background: #FDF0DC;
    display: inline-block;
}
.rv-brewery-link:hover { background: #E2A85A; }

/* ————————————————————————
   スペック
———————————————————————— */
.rv-spec-grid  { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.rv-spec-item  { background: #eeeeee; border-radius: 8px; padding: 14px 16px; border: 1px solid #e8e4de; }
.rv-spec-label { font-size: 11px; color: #888780; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 6px; }
.rv-spec-val   { font-size: 20px; font-weight: 700; color: #1a1a1a; }
.rv-spec-full  { grid-column: span 4; }
.rv-spec-tags  { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 4px; }

/* ————————————————————————
   味わい（PC横並び）
———————————————————————— */
.rv-taste-pc              { display: flex; gap: 32px; align-items: flex-start; }
.rv-taste-pc .rv-chart-wrap { flex-shrink: 0; }
.rv-taste-pc .rv-taste-bars { flex: 1; padding-top: 16px; }
.rv-taste-mobile          { display: none; }

/* レーダーチャート */
.rv-chart-wrap {
    background: #eeeeee;
    border-radius: 8px;
    padding: 16px;
    border: 1px solid #e8e4de;
    width: 272px;
    height: 272px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.rv-chart-wrap canvas { display: block !important; }

/* 味わいバー */
.rv-taste-bars  { display: flex; flex-direction: column; gap: 12px; }
.rv-taste-row   { display: flex; align-items: center; gap: 10px; }
.rv-taste-label { font-size: 13px; color: #1a1a1a; width: 80px; flex-shrink: 0; }
.rv-taste-track { flex: 1; height: 6px; background: #e8e4de; border-radius: 3px; overflow: hidden; }
.rv-taste-fill  { height: 100%; background: #C17E2B; border-radius: 3px; }
.rv-taste-val   { font-size: 13px; font-weight: 500; color: #C17E2B; width: 20px; text-align: right; flex-shrink: 0; }

/* ————————————————————————
   スマホ：タブ切り替え
———————————————————————— */
.rv-taste-tabs { display: flex; margin-bottom: 14px; border: 1px solid #e8e4de; border-radius: 8px; overflow: hidden; }
.rv-taste-tab {
    flex: 1;
    font-size: 13px;
    padding: 10px;
    border: none;
    background: #faf9f7;
    color: #888780;
    cursor: pointer;
    font-weight: 500;
}
.rv-taste-tab.active { background: #FDF0DC; color: #7D4E0F; }

/* ————————————————————————
   タグ
———————————————————————— */
.rv-tag-wrap { display: flex; flex-wrap: wrap; gap: 6px; }

/* ————————————————————————
   本文
———————————————————————— */
.rv-content     { font-size: 15px; color: #1a1a1a; line-height: 2; }
.rv-content p   { margin-bottom: 1.4em; color: #1a1a1a; }

/* ————————————————————————
   本文 見出し（SWELL風）
———————————————————————— */
.rv-content h2 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 2em 0 0.8em;
    padding: 0.7em 1em;
    background: #FDF0DC;
    border-left: 4px solid #C17E2B;
    border-radius: 0 4px 4px 0;
    line-height: 1.5;
}

.rv-content h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 1.6em 0 0.6em;
    padding: 0.5em 0;
    border-bottom: 2px solid #C17E2B;
    line-height: 1.5;
}

.rv-content ul  { padding-left: 1.4em; margin-bottom: 1em; }
.rv-content li  { margin-bottom: 0.4em; color: #1a1a1a; }
.rv-content img { max-width: 100%; border-radius: 6px; margin: 1em 0; }

/* ————————————————————————
   フッター
———————————————————————— */
.rv-footer    { padding: 16px 32px; border-top: 1px solid #e8e4de; background: #F7F7F7; display: flex; align-items: center; justify-content: space-between; }
.rv-back-link { font-size: 13px; color: #1a1a1a; text-decoration: none; }
.rv-back-link:hover { text-decoration: underline; }
.rv-date      { font-size: 12px; color: #1a1a1a; letter-spacing: 0.06em; }

/* ————————————————————————
   レスポンシブ
———————————————————————— */
@media (max-width: 680px) {
    .rv-hero   { padding: 14px 16px; }
    .rv-main   { padding: 16px; }
    .rv-footer { padding: 14px 16px; }
    .rv-toc    { padding: 14px 16px; }

    .rv-spec-grid { grid-template-columns: 1fr 1fr; gap: 6px; }
    .rv-spec-full { grid-column: span 2; }
    .rv-spec-val  { font-size: 15px; }

    .rv-taste-pc     { display: none; }
    .rv-taste-mobile { display: block; }

    .rv-chart-wrap {
        width: 100%;
        height: auto;
        aspect-ratio: 1;
        max-width: 300px;
        padding: 12px;
        margin: 0 auto;
    }
}