@charset "UTF-8";
/* ==========================================================
   REPUBREW コラム（1c ショップ連動型）
   functions-column.php から コラムWP のみ読み込み
   ========================================================== */

.rc {
  --rc-ink: #000;
  --rc-text: #313131;
  --rc-mute: #767676;
  --rc-sub: #555;
  --rc-line: #D8D8D8;
  --rc-panel: #f2f2f2;
  --rc-red: #E0002A;          /* ロゴの赤（要確認） */
  --rc-sticky-bottom: 58px;   /* 本店SPボトムメニューの高さ */
  font-family: "Noto Sans JP", sans-serif;
  color: var(--rc-text);
  line-height: 1.8;
  font-weight: 400;
}
.rc *, .rc *::before, .rc *::after { box-sizing: border-box; }
.rc a { color: inherit; text-decoration: none; }
.rc a:hover { opacity: .75; }
.rc a:hover img { opacity: 1; }
.rc img { max-width: 100%; height: auto; display: block; }
.rc ul, .rc ol { list-style: none; margin: 0; padding: 0; }
.rc p { margin: 0; }
.rc h1, .rc h2, .rc h3 { background: none; padding: 0; margin: 0; border: 0; text-align: inherit; }
.rc-en { font-family: Roboto, sans-serif; font-weight: 700; font-size: 12px; letter-spacing: .18em; line-height: 1; }

/* パンくずリスト */
.rc-crumb { padding: 14px 0 0; margin-bottom: 10px; }
.rc-crumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; margin: 0 !important; padding: 0 !important; list-style: none !important; font-size: 12px; line-height: 1.6; color: var(--rc-mute); }
.rc-crumb li { display: flex; align-items: center; min-width: 0; }
.rc-crumb li + li::before { content: "＞"; margin: 0 8px; color: var(--rc-mute); }
.rc-crumb a { color: var(--rc-mute); text-decoration: none; }
.rc-crumb a:hover { color: var(--rc-ink); text-decoration: underline; }
.rc-crumb li:last-child span { display: block; max-width: 40em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media screen and (max-width: 599px) {
  .rc-crumb { padding-top: 10px; }
  .rc-crumb ol { font-size: 11px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .rc-crumb li { flex: 0 0 auto; }
  .rc-crumb li:last-child span { max-width: 16em; }
}

/* ---------- 見出し・タブ ---------- */
.rc-pagehead { text-align: center; padding: 24px 0 32px; }
.rc .rc-pagehead__en { font: 700 40px/1 Roboto, sans-serif; color: var(--rc-ink); letter-spacing: .04em; }
.rc-pagehead__ja { font-size: 13px; margin-top: 10px !important; }
.rc-pagehead__ja strong { color: var(--rc-ink); }
.rc-pagehead__desc { font-size: 14px; margin-top: 14px; }
.rc-pagehead--img { position: relative; aspect-ratio: 1200 / 320; margin: 10px 0 40px; padding: 0 40px; overflow: hidden; background: #222; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.rc-pagehead--img::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .45); }
.rc-pagehead__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rc-pagehead--img > :not(img) { position: relative; z-index: 1; }
.rc .rc-pagehead--img .rc-pagehead__en { color: #fff; font-size: 48px; }
.rc-pagehead--img .rc-pagehead__desc { font-size: 15px; }
.rc-pagehead--top { aspect-ratio: 1200 / 480; align-items: flex-start; text-align: left; padding: 0 64px; }

.rc-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 0 0 48px !important; }
.rc-tabs a { display: flex; justify-content: space-between; align-items: center; gap: 8px; background: var(--rc-panel); padding: 14px 16px; font-size: 14px; font-weight: 700; line-height: 1.4; }
.rc-tabs a::after { content: "›"; }
.rc-tabs .is-current a { background: #000; color: #fff; }
.rc-tabs .is-current a::after { content: none; }

.rc .rc-boxttl { font-size: 16px; font-weight: 700; color: var(--rc-ink); text-align: center; padding: 10px; background: var(--rc-panel); margin-bottom: 16px; line-height: 1.6; }

/* ---------- レイアウト（右サイドバー） ---------- */
.rc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 48px; padding-bottom: 96px; }
.rc-single .rc-layout { gap: 64px; padding-top: 14px; }
.rc-main { min-width: 0; }

/* ---------- カード一覧 ---------- */
.rc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
.rc-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rc-card__link { display: flex; flex-direction: column; gap: 10px; text-align: center; }
.rc-card__img { aspect-ratio: 4 / 3; overflow: hidden; background: #e9e9e9; }
.rc-card__img img { width: 100%; height: 100%; object-fit: cover; }
.rc-card__cat { font: 400 12px/1.4 Roboto, sans-serif; color: var(--rc-sub); }
.rc .rc-card__ttl { font-size: 15px; font-weight: 700; line-height: 1.6; color: var(--rc-ink); text-align: center; text-wrap: pretty; }
.rc-card__date { font: 400 12px/1 Roboto, sans-serif; color: var(--rc-mute); }
.rc-empty { padding: 40px 0; text-align: center; }

/* ページネーション（style.css の .pagination を中央寄せに） */
.rc .pagination { padding-top: 48px; text-align: center; }
.rc .pagination .nav-links { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px; }
.rc .pagination .page-numbers { display: inline-flex !important; align-items: center; justify-content: center; min-width: 40px; width: auto !important; height: 40px !important; padding: 0 12px !important; margin: 0 !important; border: 1px solid var(--rc-text) !important; border-radius: 0 !important; background: #fff !important; color: var(--rc-text) !important; font: 400 13px/1 Roboto, "Noto Sans JP", sans-serif !important; box-shadow: none !important; opacity: 1 !important; white-space: nowrap; transition: background .2s, color .2s; }
.rc .pagination a.page-numbers:hover { background: var(--rc-text) !important; color: #fff !important; }
.rc .pagination .page-numbers.current { background: var(--rc-text) !important; color: #fff !important; }
.rc .pagination .page-numbers.dots { border: 0 !important; background: none !important; min-width: 20px; padding: 0 !important; }
.rc .pagination .page-numbers::before, .rc .pagination .page-numbers::after { display: none !important; }
@media screen and (max-width: 599px) { .rc .pagination .page-numbers { min-width: 36px; height: 36px !important; padding: 0 10px !important; } }

/* ---------- サブスク帯 ---------- */
.rc-band { grid-column: 1 / -1; background: #000; color: #fff; display: grid; grid-template-columns: minmax(0, 1fr) 340px; }
.rc-band__body { padding: 36px 40px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.rc-band__ttl { font-size: 24px; font-weight: 700; line-height: 1.5; }
.rc-band__txt { font-size: 14px; line-height: 1.85; }
.rc-band__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.rc-band__tags li { border: 1px solid #fff; padding: 5px 10px; font-size: 12px; font-weight: 700; line-height: 1.4; }
.rc-band__img { align-self: center; }
.rc-band__img img { width: 100%; aspect-ratio: 1 / 1; height: auto; object-fit: cover; }
.rc-band--voice { margin-top: 48px; grid-template-columns: minmax(0, 1fr) 320px; }

/* ボタン */
.rc-btn { display: inline-block; font-size: 15px; font-weight: 700; line-height: 1.4; padding: 14px 32px; text-align: center; }
.rc-btn--red { background: var(--rc-red); color: #fff !important; }
.rc-btn--black { background: #000; color: #fff !important; }
.rc-btn--line { border: 1px solid var(--rc-text); }
.rc-band .rc-btn { margin-top: 8px; }

/* 記事下ボックス */
.rc-subsc { margin-top: 48px; border: 2px solid #000; display: grid; grid-template-columns: 300px minmax(0, 1fr); }
.rc-subsc__img img { width: 100%; height: 100%; object-fit: cover; }
.rc-subsc__body { padding: 28px 32px; display: flex; flex-direction: column; gap: 12px; }
.rc-subsc__ttl { font-size: 21px; font-weight: 700; line-height: 1.5; color: var(--rc-ink); }
.rc-subsc__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; text-align: center; }
.rc-subsc__facts li { background: var(--rc-panel); padding: 10px 4px; font-size: 12px; line-height: 1.5; }
.rc-subsc__facts strong { display: block; font-size: 15px; color: var(--rc-ink); line-height: 1.6; letter-spacing: 0; }
.rc-subsc .rc-btn { margin-top: 4px; }

/* ---------- サイドバー ---------- */
.rc-side { display: flex; flex-direction: column; gap: 40px; min-width: 0; }
.rc-rank { display: flex; flex-direction: column; }
.rc-rank__link { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 12px; align-items: start; }
.rc-rank__item + .rc-rank__item { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--rc-line); }
.rc-rank__thumb { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #e9e9e9; }
.rc-rank__thumb img { width: 100%; height: 100%; object-fit: cover; }
.rc-rank__no { position: absolute; top: 0; left: 0; width: 32px; height: 32px; padding-left: 5px; color: #fff; font: 700 11px/20px Roboto, sans-serif; background: linear-gradient(to top left, rgba(255,255,255,0) 50%, #313131 50.5%); }
.rc-rank__item:nth-child(1) .rc-rank__no { width: 53px; height: 53px; padding-left: 10px; font-size: 15px; line-height: 33px; background: linear-gradient(to top left, rgba(255,255,255,0) 50%, #bea870 50.5%); }
.rc-rank__item:nth-child(2) .rc-rank__no { background: linear-gradient(to top left, rgba(255,255,255,0) 50%, #A8A8A8 50.5%); }
.rc-rank__item:nth-child(3) .rc-rank__no { background: linear-gradient(to top left, rgba(255,255,255,0) 50%, #947A60 50.5%); }
.rc-rank__ttl { font-size: 12px; line-height: 1.6; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.rc-rank__item:nth-child(1) .rc-rank__link { display: flex; flex-direction: column; gap: 10px; }
.rc-rank__item:nth-child(1) .rc-rank__ttl { font-size: 14px; text-align: center; color: var(--rc-ink); -webkit-line-clamp: unset; }

.rc-catlist a { display: flex; justify-content: space-between; padding: 12px 4px; border-bottom: 1px solid var(--rc-line); font-size: 14px; }
.rc-catlist a::after { content: "›"; }

.rc-search { display: flex; border: 1px solid var(--rc-text); height: 40px; margin: 0; }
.rc-search input { flex: 1; min-width: 0; border: 0; padding: 0 12px; font-size: 13px; background: #fff; }
.rc-search button { width: 48px; border: 0; background: var(--rc-text); color: #fff; font-size: 12px; cursor: pointer; }
.rc-search--lg { max-width: 640px; height: 52px; margin: 0 auto 56px; }
.rc-search--lg input { font-size: 15px; padding: 0 16px; }
.rc-search--lg button { width: 88px; font-size: 14px; font-weight: 700; }

.rc-side__subsc a { display: flex; flex-direction: column; gap: 10px; border: 1px solid var(--rc-line); padding: 14px; }
.rc-side__subsc img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }
.rc-side__subscttl { font-size: 15px; font-weight: 700; color: var(--rc-ink); line-height: 1.5; }
.rc-side__subsctxt { font-size: 12px; line-height: 1.7; }
.rc-side__subsc .rc-btn { font-size: 13px; padding: 11px; }

/* ---------- 記事 ---------- */
.rc-article__head { display: flex; flex-direction: column; gap: 14px; text-align: center; padding: 0 40px; }
.rc-article__cat { font: 400 13px/1 Roboto, sans-serif; color: var(--rc-sub); }
.rc .rc-article__ttl { font-size: 28px; font-weight: 700; line-height: 1.5; color: var(--rc-ink); text-wrap: pretty; }
.rc-article__date { font: 400 13px/1 Roboto, sans-serif; color: var(--rc-mute); }
.rc-article__thumb { margin: 28px 0 0; aspect-ratio: 4 / 3; overflow: hidden; background: #e9e9e9; }
.rc-article__thumb img { width: 100%; height: 100%; object-fit: cover; }

/* 本文（SWELLブロックの上書き） */
.rc .rc-content { margin-top: 40px; font-size: 16px; line-height: 1.95; }
.rc .rc-content > * + * { margin-top: 22px; }
.rc .rc-content p { font-size: 16px; line-height: 1.95; }
.rc .rc-content h2 { background: #000 !important; color: #fff !important; font-size: 20px; font-weight: 700; line-height: 1.55; padding: 14px 20px !important; margin: 56px 0 24px !important; border: 0; text-align: left; }
.rc .rc-content h2.has-text-align-center { text-align: center; }
.rc .rc-content h2::before, .rc .rc-content h2::after { content: none !important; }
.rc .rc-content h3 { font-size: 18px; font-weight: 700; color: var(--rc-ink); line-height: 1.6; padding: 0 0 10px !important; border-bottom: 2px solid #000; margin: 40px 0 20px !important; background: none; }
.rc .rc-content h3::before, .rc .rc-content h3::after { content: none !important; }
.rc .rc-content figcaption { font-size: 13px; color: var(--rc-mute); text-align: center; margin-top: 10px; }
.rc .rc-content .wp-block-button__link { background: #000 !important; color: #fff !important; border-radius: 0 !important; font-weight: 700; padding: 14px 36px; }
.rc .rc-content .p-toc { background: var(--rc-panel); border: 0; padding: 22px 28px; }
.rc .rc-content .p-toc__ttl { font-size: 15px; font-weight: 700; color: var(--rc-ink); }
.rc .rc-content .p-toc__expandBtn { position: relative; z-index: 2; cursor: pointer; pointer-events: auto; }
.rc .rc-content .p-toc__expandBtn button, .rc .rc-content .p-toc button { cursor: pointer; pointer-events: auto; }
.rc .rc-content .has-border.-border02 { border: 2px solid #000 !important; padding: 24px 28px; }
.rc .rc-content .is-style-big_kakko_box { border-color: #000; }
/* レシピの手順（メディアと文章） */
.rc .rc-content .wp-block-media-text { grid-template-columns: 44% auto; gap: 28px; margin: 0 0 28px; }
.rc .rc-content .wp-block-media-text__content { padding: 0; }
.rc .rc-content .wp-block-media-text__media img { aspect-ratio: 4 / 3; object-fit: cover; }
/* Voice：聞き手の段落に「rc-q」クラスを付与 */
.rc .rc-content p.rc-q { font-weight: 700; color: var(--rc-ink); }
.rc .rc-content p.rc-q::before { content: "REPUBREW"; display: block; font: 700 11px/1 Roboto, sans-serif; letter-spacing: .14em; color: var(--rc-mute); margin-bottom: 6px; }

/* 関連記事 */
.rc-related { margin-top: 56px; }
.rc-grid--related { gap: 32px; }
.rc-grid--related .rc-card__ttl { font-size: 14px; }
.rc-grid--related .rc-card__date { display: none; }

/* SP追従バー（PCでは非表示） */
.rc-sticky { display: none; }

/* ---------- 404 ---------- */
.rc-404__body { max-width: 720px; margin: 0 auto; padding: 56px 0 64px; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.rc-404__code { font: 700 120px/1 Roboto, sans-serif; color: var(--rc-ink); letter-spacing: -.02em; }
.rc .rc-404__ttl { font-size: 22px; font-weight: 700; color: var(--rc-ink); }
.rc-404__txt { font-size: 15px; line-height: 1.9; }
.rc-404 .rc-search--lg { width: 100%; max-width: 560px; margin: 12px 0 0; }
.rc-404__btns { display: flex; gap: 12px; margin-top: 8px; flex-wrap: wrap; justify-content: center; }
.rc-404__new { padding-bottom: 96px; }

/* ==========================================================
   タブレット・SP
   ========================================================== */
@media screen and (max-width: 959px) {
  .rc-layout, .rc-single .rc-layout { grid-template-columns: minmax(0, 1fr); gap: 48px; padding-bottom: 48px; }
  .rc-tabs { display: flex; overflow-x: auto; gap: 8px; margin: 0 -5% 28px !important; padding: 0 5%; scrollbar-width: none; }
  .rc-tabs li { flex: 0 0 auto; }
  .rc-tabs a { padding: 10px 14px; font-size: 13px; white-space: nowrap; }
  .rc-tabs a::after { content: none; }
  .rc-band, .rc-band--voice { grid-template-columns: 1fr; }
  .rc-band__img { order: -1; }
  .rc-band__img img { aspect-ratio: 1 / 1; height: auto; }
  .rc-band__body { padding: 24px 20px 28px; }
  .rc-band__ttl { font-size: 19px; }
  .rc-band .rc-btn { align-self: stretch; }
  .rc-subsc { grid-template-columns: 1fr; }
  .rc-subsc__img img { aspect-ratio: 1 / 1; height: auto; }
  .rc-subsc__body { padding: 20px; text-align: center; }

  /* ランキング：2列タイル */
  .rc-rank { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 12px; }
  .rc-rank__item + .rc-rank__item { margin: 0; padding: 0; border: 0; }
  .rc-rank__link, .rc-rank__item:nth-child(1) .rc-rank__link { display: flex; flex-direction: column; gap: 8px; }
  .rc-rank__item:nth-child(1) .rc-rank__ttl { font-size: 12px; text-align: left; color: inherit; -webkit-line-clamp: 3; }
  .rc-rank__ttl { -webkit-line-clamp: 3; }
  .rc-rank__no, .rc-rank__item:nth-child(1) .rc-rank__no { width: 40px; height: 40px; padding-left: 7px; font-size: 12px; line-height: 24px; }
  .rc-catlist { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .rc-catlist a { background: var(--rc-panel); border: 0; padding: 12px; font-size: 13px; font-weight: 700; }
  .rc-side__subsc { display: none; }

  .rc-article__head { padding: 0; }
  .rc .rc-article__ttl { font-size: 20px; line-height: 1.55; }
  .rc-article__thumb { margin: 18px -5% 0; }
  .rc .rc-content, .rc .rc-content p { font-size: 15px; }
  .rc .rc-content h2 { font-size: 17px; padding: 12px 16px !important; margin: 40px 0 18px !important; }
  .rc .rc-content h3 { font-size: 16px; }
  .rc .rc-content .wp-block-media-text { grid-template-columns: 1fr; gap: 10px; }

  .rc-sticky { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: var(--rc-sticky-bottom); z-index: 29; background: #fff; box-shadow: 0 -4px 20px rgba(0,0,0,.12); padding: 10px 12px; transform: translateY(calc(100% + var(--rc-sticky-bottom))); transition: transform .3s; }
  .rc-sticky.is-show { transform: none; }
  .rc-sticky a { font-size: 13px; font-weight: 700; padding: 12px 0; text-align: center; line-height: 1.4; }
  .rc-sticky__beer { border: 1px solid var(--rc-text); }
  .rc-sticky__subsc { background: var(--rc-red); color: #fff !important; }
  .rc-single { padding-bottom: 72px; }
  body:has(.rc-single) #page_top { bottom: 136px !important; }

  .rc-404__code { font-size: 88px; }
  .rc-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media screen and (max-width: 600px) {
  .rc-pagehead { padding: 12px 0 24px; }
  .rc .rc-pagehead__en { font-size: 30px; }
  .rc-pagehead--img { aspect-ratio: 16 / 9; margin: 0 -18px 24px; padding: 0 20px; }
  .rc-pagehead--top { aspect-ratio: 4 / 3; padding: 0 24px; }
  .rc .rc-pagehead--img .rc-pagehead__en { font-size: 32px; }
  .rc-pagehead--img .rc-pagehead__desc { font-size: 13px; margin-top: 10px; }
  .rc-grid, .rc-grid--related { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
  .rc-card__link { gap: 7px; }
  .rc .rc-card__ttl { font-size: 13px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
  .rc-card__cat, .rc-card__date { font-size: 11px; }
  .rc-search--lg { margin-bottom: 36px; }
  .rc-subsc__facts li { font-size: 11px; padding: 10px 2px; }
  .rc-subsc__facts strong { font-size: 14px; }
}

/* SWELL標準のサイドバー・幅制限をコラムページで解除 */
.rc-page #sidebar, .rc-page .l-sidebar { display: none !important; }
.rc-page .l-mainContent { width: 100% !important; max-width: none !important; }

/* SWELL標準の上余白をコラムページで詰める */
.rc-page #content, .rc-page .l-content { padding-top: 0 !important; margin-top: 0 !important; }
.rc-page .l-mainContent, .rc-page .l-mainContent__inner, .rc-page .l-article { padding-top: 0 !important; margin-top: 0 !important; }
.rc-page #breadcrumb, .rc-page .p-breadcrumb { display: none !important; }
.rc-page .rc-crumb { padding-top: 16px; }
@media screen and (max-width: 599px) { .rc-page .rc-crumb { padding-top: 10px; } }

/* ヘッダー画像を枠いっぱいに（SWELLの img { height:auto } を上書き） */
.rc .rc-pagehead--img .rc-pagehead__img { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover !important; margin: 0 !important; }
@media screen and (max-width: 599px) {
  .rc-page #body_wrap, .rc-page .l-mainContent__inner > :first-child { margin-top: 0 !important; }
  .rc-page .rc-crumb { padding-top: 4px; margin-bottom: 8px; }
  .rc-pagehead--top { aspect-ratio: 16 / 9; }
}
