@charset "UTF-8";
/* =========================================================
   restaurant.scss — AWCP「ケージフリー宣言のレストラン一覧」
   設定は _setting.scss を参照（全体共通は common.scss）
   色は Figma 実測（design_context / SVG fill）に基づく
   ========================================================= */
/* =========================================================
   AWCP 本サイト 固有トークン（プロジェクト追記 / 2026-06-25）
   ※ ここより上は社内標準。以下が本案件の設定。
   ========================================================= */
body.restaurant {
  padding-top: var(--header-h);
}

.sr_only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* 4色バー（teal/orange/red/blue 各25%） */
/* パンくずは common.scss の .breadcrumb に統一 */
/* =========================================================
   HERO
   ========================================================= */
.rest_hero {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(500px, 540px) 1fr;
  align-items: stretch;
  min-height: clamp(440px, 40vw, 586px);
  padding-left: clamp(24px, calc((100% - 1280px) / 2), 80px);
}
@media only screen and (max-width: 1024px) {
  .rest_hero {
    grid-template-columns: minmax(440px, 520px) 1fr;
  }
}
@media only screen and (max-width: 900px) {
  .rest_hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-left: 0;
  }
}

.rest_hero_body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 4vw, 24px) 16px clamp(32px, 4vw, 48px) 0;
}
@media only screen and (max-width: 900px) {
  .rest_hero_body {
    padding: 24px 16px 0 24px;
  }
}

.rest_hero_subtitle {
  color: #f4962d;
  font-weight: 700;
  font-size: clamp(22px, 2.6vw, 32px);
  letter-spacing: 0.03em;
  line-height: 1.1;
}

.rest_hero_bar {
  display: block;
  width: 240px;
  max-width: 100%;
  height: 6px;
  margin: 16px 0 22px;
  background: linear-gradient(90deg, #12a391 0, #12a391 25%, #f4962d 25%, #f4962d 50%, #cd3846 50%, #cd3846 75%, #066191 75%, #066191 100%);
}

.rest_hero_h1 {
  color: #12a391;
  font-weight: 300;
  font-size: clamp(34px, 5vw, 57px);
  line-height: 1.15;
  letter-spacing: 0.02em;
  margin-bottom: 26px;
}

.rest_hero_lead {
  color: #066191;
  font-weight: 700;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.5;
  margin-bottom: 18px;
}

.rest_hero_text {
  color: #066191;
  font-size: clamp(15px, 1.55vw, 18px);
  line-height: 1.9;
}

/* HERO ビジュアル（右端までフルブリードの卵写真＋4段階パネル） */
.rest_hero_visual {
  position: relative;
}

.rest_hero_photo {
  margin: 0;
  position: relative;
  height: 100%;
  overflow: hidden;
}
.rest_hero_photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media only screen and (max-width: 900px) {
  .rest_hero_photo {
    aspect-ratio: 840/520;
    height: auto;
  }
}

.rest_levels {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: clamp(10px, 2.2vw, 24px);
  width: 82%;
  max-width: 580px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
  padding: 20px 22px;
}
@media only screen and (max-width: 900px) {
  .rest_levels {
    position: static;
    left: auto;
    bottom: auto;
    transform: none;
    width: 100%;
    margin-top: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  }
}
@media only screen and (max-width: 640px) {
  .rest_levels {
    padding: 16px 14px;
  }
}

.rest_levels_title {
  color: #066191;
  font-weight: 700;
  font-size: clamp(16px, 1.95vw, 22px);
  line-height: 1.4;
  margin-bottom: 14px;
}

.rest_levels_list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rest_level_row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.rest_level_badge {
  flex: none;
  width: 96px;
  min-height: 42px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: #fff;
  line-height: 1;
}
.rest_level_badge .rest_level_badge_l {
  font-weight: 700;
  font-size: 13px;
}
.rest_level_badge .rest_level_badge_n {
  font-weight: 700;
  font-size: 26px;
}
@media only screen and (max-width: 640px) {
  .rest_level_badge {
    width: 82px;
  }
  .rest_level_badge .rest_level_badge_n {
    font-size: 22px;
  }
}

.rest_level_lv1 .rest_level_badge {
  background: #d5e4e8;
  color: #00465c;
}

.rest_level_lv2 .rest_level_badge {
  background: #81c4d4;
  color: #00465c;
}

.rest_level_lv3 .rest_level_badge {
  background: #39a2a4;
}

.rest_level_lv4 .rest_level_badge {
  background: #00465c;
}

.rest_level_body {
  min-width: 0;
}

.rest_level_name {
  display: block;
  color: #066191;
  font-weight: 700;
  font-size: clamp(14px, 1.4vw, 16px);
  line-height: 1.4;
}

.rest_level_desc {
  display: block;
  margin-top: 2px;
  color: #066191;
  font-size: clamp(12px, 1.2vw, 13px);
  line-height: 1.5;
}

/* =========================================================
   HERO（キャンペーン版・2026/08/31 まで）
     ケージフリー宣言リニューアル（2026/09/01）までの暫定ヒーロー。
     ページ編集のモジュール公開期間で出し分けるため、9月からは通常版
     .rest_hero に自動で入れ替わる。写真・4段階パネルは持たないので
     .rest_hero の grid ではなく一覧と同じ内幅で左寄せする。
   ========================================================= */
.rest_hero_campaign {
  max-width: calc(1200px + 40px);
  margin: 0 auto;
  padding: clamp(32px, 4vw, 56px) 20px 0;
}
@media only screen and (max-width: 900px) {
  .rest_hero_campaign {
    padding: 32px 16px 0;
  }
}

.rest_hero_campaign_title {
  color: #f4962d;
  font-weight: 700;
  font-size: clamp(22px, 2.6vw, 32px);
  letter-spacing: 0.03em;
  line-height: 1.45;
}

.rest_hero_campaign_bar {
  display: block;
  width: 240px;
  max-width: 100%;
  height: 6px;
  margin: 20px 0 0;
  background: linear-gradient(90deg, #12a391 0, #12a391 25%, #f4962d 25%, #f4962d 50%, #cd3846 50%, #cd3846 75%, #066191 75%, #066191 100%);
}

/* =========================================================
   フィルタ（レベルで絞り込む）
   ========================================================= */
.rest_filter {
  max-width: calc(1200px + 40px);
  margin: 0 auto;
  padding: 56px 20px 0;
}
@media only screen and (max-width: 900px) {
  .rest_filter {
    padding: 40px 16px 0;
  }
}

.rest_filter_bar {
  display: block;
  width: 100%;
  max-width: 1024px;
  height: 5px;
  margin: clamp(40px, 5vw, 72px) auto clamp(40px, 4.5vw, 64px);
  background: linear-gradient(90deg, #12a391 0, #12a391 25%, #f4962d 25%, #f4962d 50%, #cd3846 50%, #cd3846 75%, #066191 75%, #066191 100%);
}

.rest_filter_inner {
  border-bottom: 1px solid #066191;
  padding-bottom: 24px;
}

.rest_filter_label {
  color: #066191;
  font-weight: 700;
  font-size: clamp(18px, 1.9vw, 22px);
  margin-bottom: 18px;
}

.rest_filter_btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
@media only screen and (max-width: 640px) {
  .rest_filter_btns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
}

#rest_ajax {
  position: relative;
}

#rest_ajax.is-rest-loading {
  opacity: 0.55;
  pointer-events: none;
  transition: opacity 0.2s;
}

.rest_filter_form {
  margin: 0;
}

.rest_filter_btn {
  min-width: 120px;
  height: 44px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid #066191;
  color: #066191;
  background: #fff;
  font-family: inherit;
  font-weight: 700;
  font-size: clamp(14px, 1.5vw, 16px);
  letter-spacing: 0.04em;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.rest_filter_btn:hover {
  opacity: 1;
  background: #d6f0fd;
  color: #066191;
}
.rest_filter_btn.is-active {
  background: #066191;
  color: #fff;
}
@media only screen and (max-width: 640px) {
  .rest_filter_btn {
    min-width: 0;
    width: 100%;
    padding: 0 8px;
  }
}

/* =========================================================
   レストランカード
   ========================================================= */
.rest_list_wrap {
  max-width: calc(1200px + 40px);
  margin: 0 auto;
  padding: 40px 20px 0;
}
@media only screen and (max-width: 900px) {
  .rest_list_wrap {
    padding: 32px 16px 0;
  }
}

.rest_list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px 60px;
}
@media only screen and (max-width: 1024px) {
  .rest_list {
    gap: 40px 32px;
  }
}
@media only screen and (max-width: 768px) {
  .rest_list {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 24px;
  }
}
@media only screen and (max-width: 640px) {
  .rest_list {
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 360px;
    margin: 0 auto;
  }
}

.rest_card {
  display: flex;
  flex-direction: column;
}

.rest_card_thumb {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 3/2;
  background: #ccecfd;
}
.rest_card_thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.rest_card:hover .rest_card_thumb img {
  transform: scale(1.04);
}

.rest_card_pill {
  display: flex;
  align-items: stretch;
  margin: 0 0 12px;
  overflow: hidden;
  font-weight: 700;
  line-height: 1;
}

.rest_card_pill_lv {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 0 12px;
  min-width: 80px;
  min-height: 36px;
  color: #fff;
}
.rest_card_pill_lv .l {
  font-size: 12px;
  font-weight: 700;
}
.rest_card_pill_lv .n {
  font-size: 18px;
  font-weight: 700;
}

.rest_card_pill_label {
  flex: 1 1 auto;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  background: #eff4f4;
  color: #066191;
  font-weight: 500;
  font-size: clamp(13px, 1.4vw, 16px);
}

.rest_card_lv1 .rest_card_pill_lv {
  background: #d5e4e8;
}

.rest_card_lv2 .rest_card_pill_lv {
  background: #81c4d4;
}

.rest_card_lv3 .rest_card_pill_lv {
  background: #39a2a4;
}

.rest_card_lv4 .rest_card_pill_lv {
  background: #00465c;
}

.rest_card_pill_lv_none {
  background: #eff4f4;
  color: #066191;
}

.rest_card_name {
  color: #066191;
  font-weight: 700;
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.4;
  margin-bottom: 8px;
}

.rest_card_tag {
  color: #066191;
  font-size: clamp(13px, 1.3vw, 14px);
  margin-bottom: 16px;
}

.rest_card_sns {
  display: flex;
  gap: 12px;
  margin-top: auto;
}

.rest_card_sns a {
  display: inline-block;
  width: 32px;
  height: 32px;
  transition: opacity 0.2s;
}
.rest_card_sns a:hover {
  opacity: 0.75;
}
.rest_card_sns a img {
  display: block;
  width: 100%;
  height: 100%;
}

/* =========================================================
   ページネーション
   ========================================================= */
.rest_pager_form {
  margin: 0;
}

.rest_pager {
  max-width: calc(1200px + 40px);
  margin: 0 auto;
  padding: 64px 20px 0;
}
@media only screen and (max-width: 900px) {
  .rest_pager {
    padding: 48px 16px 0;
  }
}

.rest_pager_inner {
  border-top: 1px solid #066191;
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
}

.rest_pager_arrow {
  width: 44px;
  height: 44px;
  border: 1px solid #066191;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #066191;
  background: #fff;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.rest_pager_arrow svg {
  width: 16px;
  height: 16px;
}
.rest_pager_arrow:hover {
  background: rgba(77, 180, 214, 0.15);
  color: #066191;
}
.rest_pager_arrow[aria-disabled=true], .rest_pager_arrow:disabled {
  opacity: 0.35;
  pointer-events: none;
}

.rest_pager_count {
  color: #066191;
  font-size: clamp(15px, 1.5vw, 18px);
  letter-spacing: 0.1em;
}
.rest_pager_count .rest_pager_current {
  font-weight: 700;
}
.rest_pager_count .rest_pager_slash {
  margin: 0 0.5em;
  opacity: 0.6;
}

/* =========================================================
   ケージフリーポリシーとは？
   ========================================================= */
.rest_policy {
  margin-top: clamp(56px, 8vw, 108px);
}

.rest_policy_topbar {
  display: block;
  width: 100%;
  height: 12px;
  background: linear-gradient(90deg, #12a391 0, #12a391 25%, #f4962d 25%, #f4962d 50%, #cd3846 50%, #cd3846 75%, #066191 75%, #066191 100%);
}

.rest_policy_inner {
  max-width: calc(1200px + 40px);
  margin: 0 auto;
  padding: 72px 20px 0;
}
@media only screen and (max-width: 900px) {
  .rest_policy_inner {
    padding: 48px 16px 0;
  }
}

.rest_policy_h2 {
  text-align: center;
  color: #066191;
  font-weight: 400;
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.2;
}

.rest_policy_bar {
  display: block;
  width: 60px;
  height: 6px;
  margin-left: auto;
  margin-right: auto;
}
.rest_policy_bar.is_teal {
  background: #12a391;
}
.rest_policy_bar.is_orange {
  background: #f4962d;
}
.rest_policy_bar.is_red {
  background: #cd3846;
}

.rest_policy_h2_bar {
  margin-top: 18px;
  margin-bottom: 44px;
}

.rest_policy_h3_bar {
  margin-top: 18px;
  margin-bottom: 28px;
}

.rest_policy_lead {
  max-width: 800px;
  margin: 0 auto 36px;
  text-align: left;
  color: #066191;
  font-size: clamp(18px, 1.95vw, 24px);
  line-height: 1.75;
}

.rest_policy_text {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
  color: #066191;
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.75;
}
.rest_policy_text p + p {
  margin-top: 1.6em;
}

.rest_policy_list {
  list-style: none;
  margin: 0.4em 0;
  padding: 0;
}
.rest_policy_list li + li {
  margin-top: 0.2em;
}

.rest_policy_set {
  margin: 72px auto 0;
}
@media only screen and (max-width: 900px) {
  .rest_policy_set {
    margin-top: 52px;
  }
}

.rest_policy_h3 {
  text-align: center;
  color: #066191;
  font-weight: 400;
  font-size: clamp(22px, 2.8vw, 32px);
  line-height: 1.4;
}

.rest_policy_example {
  max-width: 620px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  text-align: left;
  color: #066191;
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.85;
}
.rest_policy_example li + li {
  margin-top: 0.2em;
}

.rest_policy_note {
  max-width: 680px;
  margin: 0 auto;
  text-align: left;
  color: #066191;
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.85;
}

/* =========================================================
   レストラン詳細モーダル（slick スライダー・共通）
   ========================================================= */
.rest_card_thumb_btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  border-radius: inherit;
  overflow: hidden;
}
.rest_card_thumb_btn img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.rest_card_thumb_btn:hover img {
  transform: scale(1.04);
}
.rest_card_thumb_btn:focus-visible {
  outline: 2px solid #066191;
  outline-offset: 2px;
}

body.modal_open {
  height: 100vh;
  overflow: hidden;
}

.rest_modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  overflow-y: auto;
  padding: 80px 100px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}
.rest_modal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.3s ease;
}
@media only screen and (max-width: 640px) {
  .rest_modal {
    padding: 72px 12px;
  }
}

.rest_modal_overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

.rest_modal_panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #066191;
  border-radius: 16px;
  padding: 85px 0;
}
@media only screen and (max-width: 640px) {
  .rest_modal_panel {
    padding: 40px 0;
  }
}

.rest_modal_inner {
  overflow: hidden;
  padding: 0 40px;
}

.rest_modal_clip {
  max-width: 540px;
  margin: 0 auto;
}

.rest_modal_close {
  position: absolute;
  top: 24px;
  right: -90px;
  z-index: 2;
  width: 60px;
  height: 60px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  line-height: 0;
}
.rest_modal_close img {
  display: block;
  width: 100%;
  height: 100%;
}
.rest_modal_close:hover {
  opacity: 0.8;
}
@media only screen and (max-width: 640px) {
  .rest_modal_close {
    top: -48px;
    right: 0;
    width: 40px;
    height: 40px;
  }
}

.rest_modal_slider {
  margin-bottom: 18px;
}
.rest_modal_slider.slick-slider {
  position: relative;
  display: block;
}
.rest_modal_slider .slick-list {
  position: relative;
  display: block;
  margin: 0;
  padding: 0;
  overflow: visible !important;
}
.rest_modal_slider .slick-track {
  position: relative;
  display: block;
}
.rest_modal_slider .slick-slide {
  float: left;
  height: inherit;
  min-height: 1px;
}
.rest_modal_slider:not(.slick-initialized) .rest_modal_slide:not(:first-child) {
  display: none;
}

.rest_modal_slide {
  float: left;
  width: 540px;
  margin: 0 34px 0 0;
}
@media only screen and (max-width: 768px) {
  .rest_modal_slide {
    width: 70vw;
  }
}
@media only screen and (max-width: 640px) {
  .rest_modal_slide {
    width: 78vw;
  }
}
.rest_modal_slide img {
  display: block;
  width: 100%;
  height: auto;
}

.rest_modal_slider .slick-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}
.rest_modal_slider .slick-dots li {
  line-height: 0;
}
.rest_modal_slider .slick-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #b4e3fc;
  text-indent: -9999px;
  overflow: hidden;
  cursor: pointer;
}
.rest_modal_slider .slick-dots li.slick-active button {
  background: #f4962d;
}

.rest_modal_name {
  color: #066191;
  font-weight: 700;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.4;
  margin-bottom: 8px;
}

.rest_modal_tag {
  color: #066191;
  font-size: clamp(13px, 1.3vw, 15px);
  margin-bottom: 14px;
}

.rest_modal_desc {
  color: #066191;
  font-size: clamp(13px, 1.35vw, 15px);
  line-height: 1.95;
}