@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@900&display=swap');

/* ==============================================
   浜松ラ部 | hamarabu-front.css
   ============================================== */

:root {
  --hr-back:      #ffffff;
  --hr-paper:     #ffffff;
  --hr-input:     #f3f3f1;
  --hr-border:    #e5e5e0;
  --hr-ink:       #211511;
  --hr-sub:       #75665b;
  --hr-red:       #d93625;
  --hr-red-dk:    #8f1f16;
  --hr-yellow:    #f6b93b;
  --hr-green:     #1d7a52;
  --hr-green-bg:  #e8f5ee;
  --hr-closed-bg: #fde8e8;
  --hr-closed-fg: #c0392b;
}

/* ===== BASE ===== */
.hr-top * { box-sizing: border-box; }
.hr-top a { text-decoration: none; color: inherit; }
.hr-top { background: var(--hr-back); padding-bottom: 0px; }

/* SWELLコンテナ解除 */
.home #content.l-content,
.top #content.l-content,
.single-ramen_shop #content.l-content,
.post-type-archive-ramen_shop #content.l-content {
  padding-left: 0 !important;
  padding-right: 0 !important;
  max-width: none !important;
  width: 100% !important;
}

/* ==============================================
   HERO
   ============================================== */
.hr-hero {
  background: var(--hr-red) !important;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.hr-hero__content {
  padding: 24px 20px 0;
  flex-shrink: 0;
}
.hr-hero__title {
  font-size: 28px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 900 !important;
  color: #fff8ec;
  line-height: 1.35;
  margin: 0 0 12px;
}
.hr-hero__accent { color: var(--hr-yellow); }
.hr-hero__lead {
  font-size: 13px;
  color: rgba(255,255,255,0.9);
  line-height: 1.75;
  margin: 0;
}
.hr-hero__search-btn { display: none; }
.hr-hero__photo {
  margin-top: 12px;
  overflow: hidden;
  height: 274px;
  flex-shrink: 0;
}
.hr-hero__photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ==============================================
   検索バー（SP専用）
   ============================================== */
.hr-search-bar {
  background: var(--hr-back);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hr-search-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 358px;
  padding: 12px 20px;
  background: var(--hr-paper);
  border: 1px solid var(--hr-border);
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(33,21,17,0.12);
  cursor: pointer;
  transition: box-shadow 0.15s;
  text-align: left;
}
.hr-search-pill:hover { box-shadow: 0 6px 20px rgba(33,21,17,0.18); }
.hr-search-pill__icon { color: var(--hr-sub); display: flex; align-items: center; flex-shrink: 0; }
.hr-search-pill__label { font-size: 14px; font-weight: 700; color: var(--hr-ink); }

/* ==============================================
   クイックチップス
   ============================================== */
.hr-chips-wrap {
  background: var(--hr-back);
  padding: 0 0 10px 16px;
}
.hr-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.hr-chips::after { content: ''; flex-shrink: 0; width: 16px; }
.hr-chips::-webkit-scrollbar { display: none; }
.hr-chip {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 12px;
  border: 1px solid #8f1f16;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  color: #8f1f16 !important;
  border-color: #8f1f16 !important;
  background: transparent;
  white-space: nowrap;
  transition: background 0.12s;
}
.hr-chip--active { background: transparent; }
.hr-chip:hover { background: rgba(143,31,22,0.07); }

/* ==============================================
   Netflix型行
   ============================================== */
.hr-row {
  background: var(--hr-back);
  padding: 16px 0 0;
  margin-top: 0;
}
.hr-row__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px 10px;
}
.hr-row__title { font-size: 17px; font-weight: 900; color: var(--hr-ink); margin: 0; }
.hr-row__more {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  opacity: 0.4;
}
.hr-row__more:hover { opacity: 0.7; }
.hr-row__nav { display: none; gap: 8px; align-items: center; }
.hr-row__nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--hr-border);
  background: var(--hr-paper);
  color: var(--hr-ink);
  font-size: 18px; font-weight: 700;
  cursor: pointer;
  transition: background 0.12s, border-color 0.12s;
  line-height: 1;
}
.hr-row__nav-btn:hover { background: var(--hr-ink); border-color: var(--hr-ink); color: var(--hr-paper); }
.hr-row__nav-btn:disabled { opacity: 0.35; cursor: default; }
.hr-row__scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 0 0 12px 16px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}
.hr-row__scroll::-webkit-scrollbar { display: none; }
.hr-row__spacer { display: none; }
.hr-row:last-child { padding-bottom: 0; }

/* SWELL標準パンくず非表示 */
.tax-ramen_area #breadcrumb,
.tax-ramen_flavor #breadcrumb,
.tax-ramen_area .p-breadcrumb,
.tax-ramen_flavor .p-breadcrumb,
.post-type-archive-ramen_shop #breadcrumb,
.post-type-archive-ramen_shop .p-breadcrumb {
  display: none !important;
}
.post-type-archive-ramen_shop .p-pageTitle { display: none; }
.tax-ramen_condition #breadcrumb,
.tax-ramen_condition .p-breadcrumb {
  display: none !important;
}
.tax-ramen_condition .p-pageTitle { display: none; }
.tax-ramen_condition #content.l-content {
  padding-left: 0 !important; padding-right: 0 !important;
  max-width: none !important; width: 100% !important;
}

/* ==============================================
   カード（SP: 150px / PC: 192px）
   ============================================== */
.hr-card { flex-shrink: 0; width: 150px; }
.hr-card__link { display: flex; flex-direction: column; gap: 7px; }
.hr-card__thumb {
  width: 150px; height: 173px;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--hr-red-dk), var(--hr-ink));
  position: relative;
  flex-shrink: 0;
}
.hr-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.2s; }
.hr-card__link:hover .hr-card__thumb img { transform: scale(1.04); }
.hr-card__nophoto { width: 100%; height: 100%; }
.hr-card__badge {
  position: absolute; bottom: 6px; left: 6px;
  padding: 2px 7px; border-radius: 999px;
  font-size: 9px; font-weight: 900;
}
.hr-card__badge--open    { background: var(--hr-green-bg); color: var(--hr-green); }
.hr-card__badge--closed  { background: var(--hr-closed-bg); color: var(--hr-closed-fg); }
.hr-card__badge--outside { background: #f0ede8; color: var(--hr-sub); }
.hr-card__info { display: flex; flex-direction: column; gap: 2px; }
.hr-card__name {
  font-size: 12px; font-weight: 700; color: var(--hr-ink); margin: 0;
  line-height: 1.35;
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.hr-card__meta { font-size: 10px; color: var(--hr-sub); margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ==============================================
   検索モーダル
   ============================================== */
.hr-overlay { display: none; position: fixed; inset: 0; background: rgba(33,21,17,0.5); z-index: 200; }
.hr-overlay.is-open { display: block; }
.hr-modal {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 201;
  background: var(--hr-paper); border-radius: 20px 20px 0 0;
  max-height: 92vh; overflow-y: auto;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.32,0.72,0,1);
  -webkit-overflow-scrolling: touch;
}
.hr-modal.is-open { display: block; transform: translateY(0); }
.hr-modal__handle { width: 36px; height: 4px; background: var(--hr-border); border-radius: 2px; margin: 12px auto 0; }
.hr-modal__header { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; }
.hr-modal__title { font-size: 20px; font-weight: 900; color: var(--hr-ink); }
.hr-modal__close {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--hr-back); border: none; cursor: pointer; color: var(--hr-ink);
}
.hr-modal__body { padding: 0 20px 16px; }
.hr-modal__footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; border-top: 1px solid var(--hr-border);
  background: var(--hr-paper); position: sticky; bottom: 0;
}
.hr-modal__clear { font-size: 13px; font-weight: 700; color: var(--hr-sub); background: none; border: none; cursor: pointer; }
.hr-modal__submit {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 22px; background: var(--hr-red); color: #fff;
  font-size: 14px; font-weight: 900; border: none; border-radius: 10px;
  cursor: pointer; transition: background 0.15s;
}
.hr-modal__submit:hover { background: var(--hr-red-dk); }
.hr-modal__section { padding: 16px 0; border-bottom: 1px solid var(--hr-border); }
.hr-modal__section:last-child { border-bottom: none; }
.hr-modal__section-label { font-size: 13px; font-weight: 700; color: var(--hr-ink); margin: 0 0 10px; }
.hr-modal__keyword-wrap {
  display: flex; align-items: center; gap: 10px;
  height: 48px; padding: 0 16px;
  background: var(--hr-input); border: 1px solid var(--hr-border); border-radius: 8px;
}
.hr-modal__keyword-icon { display: flex; align-items: center; flex-shrink: 0; }
.hr-modal__keyword-input {
  flex: 1; border: none; background: transparent;
  font-size: 14px; color: var(--hr-ink); outline: none; font-family: inherit;
}
.hr-modal__keyword-input::placeholder { color: var(--hr-sub); }
.hr-modal__selects { display: flex; gap: 10px; }
.hr-modal__select-wrap { flex: 1; position: relative; }
.hr-modal__select-btn {
  width: 100%; height: 48px; padding: 0 10px 0 12px;
  display: flex; align-items: center; gap: 6px;
  border: 1px solid var(--hr-border); border-radius: 8px;
  background: var(--hr-paper); cursor: pointer; font-family: inherit;
  transition: border-color 0.12s;
}
.hr-modal__select-btn:hover { border-color: var(--hr-ink); }
.hr-modal__select-btn[aria-expanded="true"] { border-color: var(--hr-ink); border-radius: 8px 8px 0 0; }
.hr-modal__select-icon { flex-shrink: 0; }
.hr-modal__select-label { flex: 1; font-size: 13px; color: var(--hr-ink); text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hr-modal__select-label.is-placeholder { color: var(--hr-sub); }
.hr-modal__select-arrow { flex-shrink: 0; opacity: 0.5; transition: transform 0.2s; }
.hr-modal__select-btn[aria-expanded="true"] .hr-modal__select-arrow { transform: rotate(180deg); }
.hr-modal__select-dropdown {
  display: none; position: absolute; left: 0; right: 0; top: 47px;
  background: var(--hr-paper); border: 1px solid var(--hr-ink); border-top: none;
  border-radius: 0 0 8px 8px; max-height: 200px; overflow-y: auto;
  z-index: 10; box-shadow: 0 6px 16px rgba(33,21,17,0.1);
}
.hr-modal__select-dropdown.is-open { display: block; }
.hr-modal__select-option {
  display: block; width: 100%; padding: 11px 14px; text-align: left;
  font-size: 13px; color: var(--hr-ink); background: none; border: none;
  border-bottom: 1px solid var(--hr-border); cursor: pointer; font-family: inherit;
  transition: background 0.1s;
}
.hr-modal__select-option:last-child { border-bottom: none; }
.hr-modal__select-option:hover { background: var(--hr-back); }
.hr-modal__select-option.is-placeholder { color: var(--hr-sub); }
.hr-modal__select-option.is-selected { color: var(--hr-red); font-weight: 700; }
.hr-modal__conditions { display: flex; flex-wrap: wrap; gap: 8px; }
.hr-modal__cond-tag {
  display: inline-flex; align-items: center; gap: 6px;
  height: 40px; padding: 0 14px 0 10px;
  border: 1px solid var(--hr-border); border-radius: 999px;
  background: var(--hr-paper); font-size: 12px; font-weight: 500; color: var(--hr-ink);
  cursor: pointer; transition: background 0.12s, border-color 0.12s, color 0.12s;
  white-space: nowrap; user-select: none;
}
.hr-modal__cond-tag:hover { border-color: var(--hr-red); }
.hr-modal__cond-tag:has(.hr-modal__cond-cb:checked) { background: var(--hr-red); border-color: var(--hr-red); color: #fff; }
.hr-modal__cond-tag:has(.hr-modal__cond-cb:checked) .hr-modal__cond-icon { filter: brightness(0) invert(1); }
.hr-modal__cond-cb { display: none; }
.hr-modal__cond-icon { flex-shrink: 0; display: block; }
.hr-modal .hr-modal__keyword-icon img,
.hr-modal .hr-modal__select-icon {
  filter: brightness(0) saturate(100%) invert(9%) sepia(15%) saturate(1200%) hue-rotate(330deg) brightness(95%) contrast(95%);
  opacity: 1;
}
.hr-modal__submit-icon { filter: brightness(0) invert(1); }

/* ==============================================
   ボトムナビ（SP専用）
   ============================================== */
.hr-bnav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 100;
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: rgba(255,255,255,0.97); border-top: 1px solid var(--hr-border);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.hr-bnav__item {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; padding: 10px 4px 12px;
  font-size: 10px; font-weight: 700; color: var(--hr-sub);
  background: none; border: none; cursor: pointer; text-decoration: none;
}
.hr-bnav__item--search { color: var(--hr-red); }
.hr-bnav__icon { width: 24px; height: 24px; flex-shrink: 0; display: block; }

/* ==============================================
   店舗詳細（single-ramen_shop）
   ============================================== */
.single-ramen_shop .l-article { padding-top: 0 !important; margin-top: 0 !important; }
.single-ramen_shop .p-pageTitle { display: none; }
.single-ramen_shop #content.l-content { padding-top: 0 !important; }

.hr-detail { background: var(--hr-back); padding-bottom: 80px; }
.hr-detail__gallery { width: 100%; height: 340px; overflow: hidden; background: linear-gradient(135deg, var(--hr-red-dk), var(--hr-ink)); }
.hr-detail__gallery-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hr-detail__gallery-nophoto { width: 100%; height: 100%; background: linear-gradient(135deg, var(--hr-red-dk), var(--hr-ink)); }
.hr-detail__header { background: var(--hr-back); padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.hr-detail__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.hr-detail__tag { display: inline-flex; align-items: center; height: 26px; padding: 0 16px; border-radius: 999px; font-size: 12px; font-weight: 700; text-decoration: none; }
.hr-detail__tag--flavor { background: var(--hr-red-dk); color: #fff; }
.hr-detail__tag--area { border: 1px solid var(--hr-border); color: var(--hr-sub); background: transparent; }
.hr-detail__name { font-size: 24px; font-weight: 900; color: var(--hr-ink); margin: 0; line-height: 1.4; }
.hr-detail__status { display: flex; flex-direction: column; gap: 4px; }
.hr-detail__status-row { display: flex; align-items: center; gap: 6px; }
.hr-detail__status-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.hr-detail__status-dot--open    { background: var(--hr-green); }
.hr-detail__status-dot--closed  { background: var(--hr-closed-fg); }
.hr-detail__status-dot--outside { background: var(--hr-sub); }
.hr-detail__status-text { font-size: 13px; font-weight: 700; }
.hr-detail__status-text--open    { color: var(--hr-green); }
.hr-detail__status-text--closed  { color: var(--hr-closed-fg); }
.hr-detail__status-text--outside { color: var(--hr-sub); }
.hr-detail__status-note { font-size: 10px; color: rgba(117,102,91,0.6); margin: 0; }
.hr-detail__actions { background: var(--hr-back); padding: 12px 16px 16px; border-top: 1px solid var(--hr-border); display: flex; flex-direction: column; gap: 12px; }
.hr-detail__action-btns { display: flex; gap: 10px; }
.hr-detail__btn { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 16px; border-radius: 8px; font-size: 14px; font-weight: 700; text-decoration: none; flex-shrink: 0; }
.hr-detail__btn--map { background: var(--hr-red-dk); color: #fff; flex: 1; justify-content: center; }
.hr-detail__btn--tel { background: var(--hr-paper); color: var(--hr-ink); border: 1px solid var(--hr-border); justify-content: center; }
.hr-detail__sns { display: flex; gap: 16px; }
.hr-detail__sns-link { font-size: 12px; font-weight: 700; color: var(--hr-red); text-decoration: none; }
.hr-detail__section { background: var(--hr-back); padding: 20px 16px; margin-top: 8px; }
.hr-detail__section-title { font-size: 16px; font-weight: 900; color: var(--hr-ink); margin: 0 0 10px; }
.hr-detail__table { display: flex; flex-direction: column; }
.hr-detail__row { display: flex; align-items: flex-start; padding: 9px 0; border-top: 1px solid var(--hr-border); }
.hr-detail__row--tags { flex-direction: column; gap: 8px; }
.hr-detail__label { font-size: 12px; font-weight: 700; color: var(--hr-sub); width: 80px; flex-shrink: 0; padding-top: 2px; }
.hr-detail__value { font-size: 13px; color: var(--hr-ink); line-height: 1.6; flex: 1; }
.hr-detail__tel-link { color: var(--hr-ink); text-decoration: none; }
.hr-detail__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hr-detail__chips--conditions { margin-top: 4px; }
.hr-detail__chip { display: inline-flex; align-items: center; height: 26px; padding: 0 14px; border: 1px solid var(--hr-border); border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--hr-sub); background: var(--hr-back); text-decoration: none; }
.hr-detail__chip--condition { color: var(--hr-red-dk); border-color: var(--hr-red-dk); }
.hr-detail__review-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.hr-detail__review-badge { font-size: 11px; font-weight: 700; color: var(--hr-sub); }
.hr-detail__review-text { font-size: 13px; color: var(--hr-ink); line-height: 1.75; margin: 0 0 8px; }
.hr-detail__visit-date { font-size: 11px; color: var(--hr-sub); margin: 0; }
.hr-detail__map { width: 100%; height: 200px; overflow: hidden; border-radius: 8px; margin-bottom: 12px; background: var(--hr-border); }
.hr-detail__map iframe { width: 100%; height: 100%; border: none; }
.hr-detail__address-note { font-size: 12px; color: var(--hr-sub); line-height: 1.6; margin: 0; }
.hr-detail__menus { display: flex; flex-direction: column; }
.hr-detail__menu-item { display: flex; gap: 14px; align-items: center; padding: 14px 0; }
.hr-detail__menu-thumb { width: 72px; height: 72px; border-radius: 8px; overflow: hidden; flex-shrink: 0; background: linear-gradient(135deg, var(--hr-red), var(--hr-red-dk)); display: flex; align-items: center; justify-content: center; }
.hr-detail__menu-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hr-detail__menu-nophoto { font-size: 24px; }
.hr-detail__menu-info { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.hr-detail__menu-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.hr-detail__menu-name { font-size: 14px; font-weight: 700; color: var(--hr-ink); }
.hr-detail__menu-price { font-size: 14px; font-weight: 900; color: var(--hr-red); flex-shrink: 0; }
.hr-detail__menu-desc { font-size: 12px; color: var(--hr-sub); line-height: 1.5; margin: 0; }
.hr-detail__divider { height: 1px; background: var(--hr-border); }
.hr-detail__related { display: flex; flex-direction: column; }
.hr-detail__related-link { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-top: 1px solid var(--hr-border); text-decoration: none; }
.hr-detail__related-link:last-child { border-bottom: 1px solid var(--hr-border); }
.hr-detail__related-text { display: flex; flex-direction: column; gap: 3px; }
.hr-detail__related-title { font-size: 14px; font-weight: 700; color: var(--hr-red); }
.hr-detail__related-sub { font-size: 12px; color: var(--hr-sub); }
.hr-detail__related-arrow { font-size: 14px; font-weight: 700; color: var(--hr-sub); }

/* ==============================================
   アーカイブ共通（SP基本）
   ============================================== */
.hr-archive { background: #fff; min-height: 100vh; }

.tax-ramen_area #content.l-content,
.tax-ramen_flavor #content.l-content {
  padding-left: 0 !important; padding-right: 0 !important;
  max-width: none !important; width: 100% !important;
}
.tax-ramen_area .p-pageTitle,
.tax-ramen_flavor .p-pageTitle { display: none; }

.hr-archive__breadcrumb {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 16px; font-size: 11px; color: var(--hr-sub);
}
.hr-archive__breadcrumb a { color: var(--hr-sub); text-decoration: none; }
.hr-archive__breadcrumb-current { font-weight: 700; color: var(--hr-ink); }

.hr-archive__head { padding: 20px 16px 12px; }
.hr-archive__title { font-size: 24px; font-weight: 900; color: var(--hr-ink); margin: 0; line-height: 1.35; }

.hr-archive__divider { border: none; border-top: 1px solid #ddd8d2; margin: 0; }

.hr-archive__filter { padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.hr-archive__filter-label { font-size: 12px; font-weight: 700; color: var(--hr-sub); margin: 0; }
.hr-archive__filter-tags {
  display: flex; gap: 8px;
  overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.hr-archive__filter-tags::-webkit-scrollbar { display: none; }
.hr-archive__filter-tag {
  flex-shrink: 0; height: 26px; padding: 0 14px; border-radius: 999px;
  font-size: 12px; font-weight: 700; border: 1px solid #ddd8d2;
  background: transparent; color: var(--hr-sub); cursor: pointer;
  transition: background 0.12s, color 0.12s, border-color 0.12s;
  font-family: inherit; white-space: nowrap;
}
.hr-archive__filter-tag.is-active { background: var(--hr-red-dk); border-color: var(--hr-red-dk); color: #fff; }
.hr-archive__filter-tag:hover:not(.is-active) { border-color: var(--hr-red-dk); color: var(--hr-red-dk); }

/* 検索ボックス */
.hr-archive__searchbox {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hr-archive__search-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hr-archive__search-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--hr-ink);
  margin: 0;
}

.hr-archive__search-keyword {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 16px;
  background: var(--hr-input);
  border: 1px solid var(--hr-border);
  border-radius: 8px;
}

.hr-archive__search-keyword img {
  flex-shrink: 0;
  filter: brightness(0) saturate(100%) invert(9%) sepia(15%) saturate(1200%) hue-rotate(330deg) brightness(95%) contrast(95%);
}

.hr-archive__search-keyword input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 14px;
  color: var(--hr-ink);
  outline: none;
  font-family: inherit;
}

.hr-archive__search-keyword input::placeholder {
  color: var(--hr-sub);
}

/* エリア・味 カスタムセレクト */
.hr-archive__search-selects {
  display: flex;
  gap: 10px;
}

.hr-archive__select-wrap {
  flex: 1;
  position: relative;
}

.hr-archive__select-btn {
  width: 100%;
  height: 48px;
  padding: 0 10px 0 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--hr-border);
  border-radius: 8px;
  background: var(--hr-paper);
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.12s;
}

.hr-archive__select-btn:hover {
  border-color: var(--hr-ink);
}

.hr-archive__select-btn[aria-expanded="true"] {
  border-color: var(--hr-ink);
  border-radius: 8px 8px 0 0;
}

.hr-archive__select-icon,
.hr-archive__select-arrow {
  flex-shrink: 0;
  filter: brightness(0) saturate(100%) invert(9%) sepia(15%) saturate(1200%) hue-rotate(330deg) brightness(95%) contrast(95%);
}

.hr-archive__select-arrow {
  opacity: 0.5;
  transition: transform 0.2s;
}

.hr-archive__select-btn[aria-expanded="true"] .hr-archive__select-arrow {
  transform: rotate(180deg);
}

.hr-archive__select-label {
  flex: 1;
  font-size: 13px;
  color: var(--hr-ink);
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hr-archive__select-label.is-placeholder {
  color: var(--hr-sub);
}

.hr-archive__select-dropdown {
  display: none !important;
  position: absolute;
  left: 0; right: 0;
  top: 47px;
  background: var(--hr-paper);
  border: 1px solid var(--hr-ink);
  border-top: none;
  border-radius: 0 0 8px 8px;
  max-height: 240px;
  overflow-y: auto;
  z-index: 10;
  box-shadow: 0 6px 16px rgba(33,21,17,0.1);
}

.hr-archive__select-dropdown.is-open {
  display: block !important;
}

.hr-archive__select-option {
  display: block;
  width: 100%;
  padding: 11px 14px;
  text-align: left;
  font-size: 13px;
  color: var(--hr-ink);
  background: none;
  border: none;
  border-bottom: 1px solid var(--hr-border);
  cursor: pointer;
  font-family: inherit;
  transition: background 0.1s;
}

.hr-archive__select-option:last-child {
  border-bottom: none;
}

.hr-archive__select-option:hover {
  background: var(--hr-back);
}

.hr-archive__select-option.is-placeholder {
  color: var(--hr-sub);
}

.hr-archive__select-option.is-selected {
  color: var(--hr-red);
  font-weight: 700;
}

/* 条件タグ（アイコン付き） */
.hr-archive__search-conditions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hr-archive__cond-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 14px 0 10px;
  border: 1px solid var(--hr-border);
  border-radius: 999px;
  background: var(--hr-paper);
  font-size: 12px;
  font-weight: 500;
  color: var(--hr-ink);
  cursor: pointer;
  transition: background 0.12s, border-color 0.12s, color 0.12s;
  white-space: nowrap;
  user-select: none;
  font-family: inherit;
}

.hr-archive__cond-tag:hover {
  border-color: var(--hr-red);
}

.hr-archive__cond-tag.is-active {
  background: var(--hr-red);
  border-color: var(--hr-red);
  color: #fff;
}

.hr-archive__cond-tag.is-active .hr-archive__cond-icon {
  filter: brightness(0) invert(1);
}

.hr-archive__cond-icon {
  flex-shrink: 0;
  display: block;
  filter: brightness(0) saturate(100%) invert(9%) sepia(15%) saturate(1200%) hue-rotate(330deg) brightness(95%) contrast(95%);
}

/* もっと見る */
.hr-archive__loadmore-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 16px;
}

.hr-archive__loadmore {
  height: 48px;
  padding: 0 32px;
  border: 1px solid var(--hr-red-dk);
  border-radius: 999px;
  background: #fff;
  color: var(--hr-red-dk);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.12s, color 0.12s;
}

.hr-archive__loadmore:hover {
  background: var(--hr-red-dk);
  color: #fff;
}

.hr-archive__loading {
  font-size: 13px;
  color: var(--hr-sub);
}

.post-type-archive-ramen_shop body {
  background-color: #ffffff !important;
}

.hr-archive__meta { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; }
.hr-archive__count { font-size: 13px; font-weight: 700; color: var(--hr-ink); margin: 0; }

/* SP：縦積みリスト */
.hr-archive__list {
  display: block;
  padding: 0;
  background: #fff;
}
.hr-archive__list .hr-archive__divider {
  display: block;
  height: 6px;
  background: #f7f7f5;
  border: none;
  margin: 0;
}

.hr-archive__shop {
  display: block;
  background: #fff;
}
.hr-archive__shop-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: #fff;
  transition: background 0.12s;
}
.hr-archive__shop-link:hover { background: #f9f6f4; }

/* SP サムネ */
.hr-archive__shop-thumb {
  width: 100%;
  height: 170px;
  overflow: hidden;
  flex-shrink: 0;
  background: #d9d9d9;
}
.hr-archive__shop-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hr-archive__shop-info {
  display: flex; flex-direction: column; gap: 5px;
  padding: 8px 16px 16px;
}
.hr-archive__shop-flavor { font-size: 11px; font-weight: 700; color: var(--hr-red-dk); margin: 0; }
.hr-archive__shop-name {
  font-size: 15px; font-weight: 700; color: var(--hr-ink); margin: 0; line-height: 1.35;
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.hr-archive__shop-meta { font-size: 11px; color: var(--hr-sub); margin: 0; line-height: 1.6; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hr-archive__shop-tags { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; }
.hr-archive__badge { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; font-size: 10px; font-weight: 700; }
.hr-archive__badge--open    { background: #e0f4e8; color: var(--hr-green); }
.hr-archive__badge--closed  { background: #fde4e4; color: var(--hr-closed-fg); }
.hr-archive__badge--outside { background: #f0ede8; color: var(--hr-sub); }
.hr-archive__cond { display: inline-flex; align-items: center; padding: 3px 7px; font-size: 10px; font-weight: 700; color: var(--hr-sub); background: #f8f6f4; border-radius: 4px; }
.hr-archive__empty { padding: 40px 16px; text-align: center; font-size: 14px; color: var(--hr-sub); }

.hr-archive__seo { border-top: 1px solid #ddd8d2; padding: 24px 16px; display: flex; flex-direction: column; gap: 10px; }
.hr-archive__seo-title { font-size: 15px; font-weight: 700; color: var(--hr-ink); margin: 0; }
.hr-archive__seo-text { font-size: 13px; color: var(--hr-sub); line-height: 1.75; margin: 0; }
.hr-archive__seo-nearby { display: flex; flex-wrap: wrap; gap: 8px; }
.hr-archive__seo-nearby-link {
  display: inline-flex; align-items: center; height: 26px; padding: 0 12px;
  border: 1px solid var(--hr-red-dk); border-radius: 999px;
  font-size: 12px; font-weight: 700; color: var(--hr-red-dk);
  text-decoration: none; transition: background 0.12s;
}
.hr-archive__seo-nearby-link:hover { background: rgba(143,31,22,0.07); }

/* 味別ページ固有 */
.hr-archive__head--flavor { display: flex; flex-direction: column; gap: 6px; padding: 20px 16px 12px; }
.hr-archive__flavor-count { font-size: 15px; font-weight: 700; color: var(--hr-red-dk); margin: 0; }
.hr-archive__flavor-desc { font-size: 12px; color: var(--hr-sub); line-height: 1.75; margin: 0; }

/* モーダル内セクション間の罫線を非表示 */
.hr-modal__section {
  border-bottom: none !important;
}
/* ==============================================
   SP専用
   ============================================== */
@media (max-width: 767px) {
  /* .l-header__customBtn { display: none !important; } */
  .p-fixBtnWrap { bottom: 80px !important; }
}

/* ==============================================
   PC対応（768px以上）
   ============================================== */
@media (min-width: 768px) {

  /* HERO */
  .hr-hero { flex-direction: row !important; align-items: stretch; min-height: 520px; }
  .hr-hero__content {
    flex: 0 0 55%; padding: 100px 60px 80px 130px;
    display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 20px;
  }
  .hr-hero__title { font-size: 48px; line-height: 1.3; }
  .hr-hero__lead { font-size: 15px; line-height: 1.75; max-width: 580px; }
  .hr-hero__photo { flex: 0 0 45%; height: auto; min-height: 520px; margin-top: 0; }
  .hr-hero__photo-img { object-position: center center; }
  .hr-hero__search-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 24px; background: #fff; color: var(--hr-red);
    font-size: 15px; font-weight: 900; border: none; border-radius: 10px;
    cursor: pointer; transition: background 0.15s, color 0.15s;
    font-family: inherit; align-self: flex-start;
  }
  .hr-hero__search-btn:hover { background: var(--hr-red-dk); color: #fff; }
  .hr-hero__search-btn-icon {
    filter: brightness(0) saturate(100%) invert(22%) sepia(90%) saturate(2000%) hue-rotate(345deg) brightness(85%) contrast(110%);
    transition: filter 0.15s;
  }
  .hr-hero__search-btn:hover .hr-hero__search-btn-icon { filter: brightness(0) invert(1); }
  .hr-search-bar { display: none; }

  /* チップス */
  .hr-chips-wrap { padding: 20px 80px; background: var(--hr-back); display: flex; justify-content: center; }
  .hr-chips { gap: 24px; flex-wrap: wrap; overflow-x: visible; }
  .hr-chip { height: 40px; padding: 0 16px; font-size: 14px; color: #8f1f16; border-color: #8f1f16; background: transparent; }

  /* 行 */
  .hr-row { padding: 28px 0 8px; margin: 0; background: var(--hr-back); width: 100%; max-width: none; }
  .hr-row__head { padding: 0 80px 16px; }
  .hr-row__title { font-size: 18px; margin-right: 4px; }
  .hr-row__scroll { padding: 0 0 28px 80px; gap: 25px; scroll-snap-type: x mandatory; scroll-padding-left: 80px; }
  .hr-row__scroll::before { display: none; }
  .hr-row__scroll::after { content: ''; flex-shrink: 0; width: 80px; }
  .hr-row__more { display: flex; }
  .hr-row__more img { width: 20px; height: 20px; }
  .hr-row__nav { display: flex; }
  .hr-row__spacer { display: block; flex: 1; }

  /* カード */
  .hr-card { width: 192px; scroll-snap-align: start; }
  .hr-card__thumb { width: 192px; height: 192px; border-radius: 16px; }
  .hr-card__name { font-size: 13px; }
  .hr-card__meta { font-size: 11px; }

  /* ボトムナビ非表示 */
  .hr-bnav { display: none; }
  .hr-top { padding-bottom: 0; }

  /* 詳細ページ */
  .hr-detail { max-width: 800px; margin: 0 auto; padding-bottom: 60px; }
  .hr-detail__gallery { height: 400px; border-radius: 0; }
  .hr-detail__btn--map { flex: none; min-width: 200px; }

  /* アーカイブ */
  .hr-archive { max-width: 1440px; margin: 0 auto; padding: 0 80px; }
  .hr-archive__title { font-size: 28px; }
  .hr-archive__breadcrumb { padding: 12px 0; }
  .hr-archive__head { padding: 24px 0 12px; }
  .hr-archive__head--flavor { padding: 24px 0 12px; }
  .hr-archive__flavor-desc { font-size: 13px; max-width: 800px; }
  .hr-archive__filter { padding: 16px 0; }
  .hr-archive__filter-tags { flex-wrap: wrap; overflow-x: visible; }

  .hr-archive__searchbox {
    padding: 16px 0;
  }

  .hr-archive__search-selects {
    max-width: 600px;
  }

  .hr-archive__search-keyword {
    max-width: 600px;
  }

  .hr-archive__meta { padding: 12px 0; }
  .hr-archive__seo { padding: 32px 0; }

  /* PC：4カラムグリッド */
  .hr-archive__list {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px 24px;
    padding: 20px 0 28px;
    background: transparent;
  }
  .hr-archive__list .hr-archive__divider { display: none; }

  .hr-archive__shop {
    display: block;
    width: 100%;
    border-radius: 0;
    border: none;
    box-shadow: none;
    overflow: visible;
    background: transparent;
    min-width: 0;
  }
  .hr-archive__shop-link {
    display: flex;
    flex-direction: column;
    background: transparent;
  }
  .hr-archive__shop-link:hover { background: transparent; }

  /* PC サムネ：高さ200px固定・角丸16px */
  .hr-archive__shop-thumb {
    width: 100%;
    height: 200px;
    border-radius: 16px;
    overflow: hidden;
    background: #d9d9d9;
  }
  .hr-archive__shop-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.2s;
  }
  .hr-archive__shop-link:hover .hr-archive__shop-thumb img { transform: scale(1.04); }

  .hr-archive__shop-info { padding: 8px 0 0; gap: 5px; }
  .hr-archive__shop-name { font-size: 15px; }
  .hr-archive__shop-meta { white-space: nowrap; font-size: 11px; }
}

/* ==============================================
   PC大画面（1200px以上）
   ============================================== */
@media (min-width: 1200px) {
  .hr-hero__content { padding: 100px 60px 80px 130px; }
  .hr-hero__title { font-size: 56px; }
  .hr-hero__lead { font-size: 16px; }
  .hr-chips-wrap { padding: 20px 130px; }
  .hr-chip { height: 40px; font-size: 16px; }
  .hr-row__head { padding: 0 130px 18px; }
  .hr-row__scroll { padding-left: 130px; scroll-padding-left: 130px; }
  .hr-row__scroll::after { width: 130px; }
}