/* =========================================================
   shrine-meal.css
   配置先：/wp-content/themes/yourpleasure/assets/css/shrine-meal.css
   読み込み条件：shrine_template_type = MEAL の shrine 個別ページのみ
   目的：MEALテンプレートのCSSを shrine.css から分離し、B/C/親神社ページへの影響を防ぐ
========================================================= */

/* =========================================================
   Shrine Meal Template v0.3.2
   食事・お食い初めガイド専用CSS（shrine-meal.css 分離版）
   対象HTML：template-parts/shrine/body-shrine-meal.php
   追加理由：body-shrine-meal.php は .yp-shrine-meal 系クラスを出力するが、
   既存 shrine.css に該当セレクタが無かったため、MEALページにCSSが当たらなかった。
========================================================= */

.yp-shrine-meal,
.yp-shrine-meal * {
  box-sizing: border-box;
}

.yp-shrine-meal {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 0 72px;
  color: #2f2a24;
  background: #ffffff;
}

.yp-shrine-meal p,
.yp-shrine-meal h1,
.yp-shrine-meal h2,
.yp-shrine-meal h3,
.yp-shrine-meal figure,
.yp-shrine-meal table,
.yp-shrine-meal th,
.yp-shrine-meal td,
.yp-shrine-meal details,
.yp-shrine-meal summary,
.yp-shrine-meal span {
  background: none;
  box-shadow: none;
}

.yp-shrine-meal p::before,
.yp-shrine-meal p::after,
.yp-shrine-meal h1::before,
.yp-shrine-meal h1::after,
.yp-shrine-meal h2::before,
.yp-shrine-meal h2::after,
.yp-shrine-meal h3::before,
.yp-shrine-meal h3::after,
.yp-shrine-meal figure::before,
.yp-shrine-meal figure::after,
.yp-shrine-meal summary::before,
.yp-shrine-meal summary::after,
.yp-shrine-meal span::before,
.yp-shrine-meal span::after {
  display: none !important;
  content: none !important;
}

.yp-shrine-meal-hero,
.yp-shrine-meal-schedule,
.yp-shrine-meal-schedule,
.yp-shrine-meal-quick,
.yp-shrine-meal-comparison,
.yp-shrine-meal-restaurants,
.yp-shrine-meal-note,
.yp-shrine-meal-related,
.yp-shrine-meal-faq,
.yp-shrine-meal-cta {
  width: min(960px, calc(100% - 56px));
  margin: 0 auto;
}

.yp-shrine-meal-hero {
  padding: 78px 0 58px;
  text-align: center;
}

.yp-shrine-meal-label,
.yp-shrine-meal-section-label {
  margin: 0 0 14px !important;
  padding: 0 !important;
  color: #8a7458;
  font-family: "Times New Roman", "Yu Mincho", "YuMincho", serif;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-align: center;
  text-transform: uppercase;
}

.yp-shrine-meal-title {
  margin: 0 !important;
  padding: 0 !important;
  color: #26343d;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(30px, 4vw, 54px);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0.08em;
  text-align: center;
  border: 0 !important;
}

.yp-shrine-meal-lead {
  max-width: 820px;
  margin: 24px auto 0 !important;
  padding: 0 !important;
  color: #5d6971;
  font-size: 15px;
  line-height: 2.05;
  letter-spacing: 0.04em;
  text-align: center;
}

.yp-shrine-meal-schedule,
.yp-shrine-meal-quick,
.yp-shrine-meal-comparison,
.yp-shrine-meal-restaurants,
.yp-shrine-meal-note,
.yp-shrine-meal-related,
.yp-shrine-meal-faq,
.yp-shrine-meal-cta {
  padding: 62px 0;
  border-top: 1px solid rgba(38, 52, 61, 0.08);
}

.yp-shrine-meal-section-head {
  margin: 0 0 34px;
  text-align: center;
}

.yp-shrine-meal-section-title {
  margin: 0 !important;
  padding: 0 !important;
  color: #222;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.08em;
  text-align: center;
  border: 0 !important;
}

.yp-shrine-meal-section-lead,
.yp-shrine-meal-note > p,
.yp-shrine-meal-empty {
  max-width: 820px;
  margin: 18px auto 0 !important;
  padding: 0 !important;
  color: #5d6971;
  font-size: 14px;
  line-height: 2.05;
  letter-spacing: 0.04em;
  text-align: center;
}

.yp-shrine-meal-quick-preview {
  max-width: 820px;
  margin: 0 auto 22px !important;
  padding: 20px 22px !important;
  color: #333;
  font-size: 14px;
  line-height: 1.95;
  letter-spacing: 0.04em;
  text-align: left;
  background: #fbfaf8 !important;
  border: 1px solid #efefef;
}

.yp-shrine-meal-more {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent;
  border: 0;
}

.yp-shrine-meal-more-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(280px, 100%);
  min-height: 48px;
  margin: 0 auto 26px !important;
  padding: 0 28px !important;
  color: #26343d;
  background: #ffffff !important;
  border: 1px solid rgba(38, 52, 61, 0.16) !important;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.12em;
  list-style: none;
  cursor: pointer;
}

.yp-shrine-meal-more-summary::-webkit-details-marker {
  display: none;
}

.yp-shrine-meal-more-summary__close {
  display: none;
}

.yp-shrine-meal-more[open] .yp-shrine-meal-more-summary__open {
  display: none;
}

.yp-shrine-meal-more[open] .yp-shrine-meal-more-summary__close {
  display: inline;
}

.yp-shrine-meal-quick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 0;
}

.yp-shrine-meal-quick-card {
  min-height: 132px;
  margin: 0 !important;
  padding: 22px !important;
  background: #ffffff !important;
  border: 1px solid #efefef;
  text-align: center;
}

.yp-shrine-meal-quick-card__title {
  margin: 0 0 14px !important;
  padding: 0 !important;
  color: #999;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
}

.yp-shrine-meal-quick-card__text {
  margin: 0 !important;
  padding: 0 !important;
  color: #333;
  font-size: 14px;
  line-height: 1.75;
  letter-spacing: 0.04em;
  text-align: center;
}

.yp-shrine-meal-scroll-hint {
  display: none;
  margin: 0 0 10px !important;
  padding: 0 !important;
  color: #8a7458;
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: 0.08em;
  text-align: right;
}

.yp-shrine-meal-scroll-hint--bottom {
  margin: 10px 0 0 !important;
}

.yp-shrine-meal-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #efefef;
  background: #ffffff;
}

.yp-shrine-meal-table {
  width: 100%;
  min-width: 860px;
  margin: 0 !important;
  border-collapse: collapse;
  table-layout: auto;
  background: #ffffff;
}

.yp-shrine-meal-table th,
.yp-shrine-meal-table td {
  padding: 15px 14px !important;
  border: 1px solid #efefef;
  color: #333;
  font-size: 13px;
  line-height: 1.7;
  letter-spacing: 0.03em;
  vertical-align: middle;
  text-align: center;
  white-space: nowrap;
}

.yp-shrine-meal-table thead th {
  color: #8a7458;
  background: #fbfaf8 !important;
  font-weight: 700;
}

.yp-shrine-meal-table tbody th {
  font-weight: 600;
  background: #ffffff !important;
}

.yp-shrine-meal-table__restaurant-link {
  color: #26343d !important;
  text-decoration: none !important;
  background: linear-gradient(180deg, transparent 70%, #d4b896 70%);
  padding-bottom: 2px;
}

.yp-shrine-meal-restaurant-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.yp-shrine-meal-restaurant {
  margin: 0 !important;
  padding: 0 !important;
  background: #ffffff !important;
  border: 1px solid #efefef;
  scroll-margin-top: 96px;
}

.yp-shrine-meal-restaurant__summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 74px;
  padding: 22px 26px !important;
  list-style: none;
  cursor: pointer;
}

.yp-shrine-meal-restaurant__summary::-webkit-details-marker {
  display: none;
}

.yp-shrine-meal-restaurant__name {
  margin: 0 !important;
  padding: 0 !important;
  color: #26343d;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(21px, 2.3vw, 30px);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.08em;
  text-align: left;
  border: 0 !important;
}

.yp-shrine-meal-restaurant__area {
  color: #8a7458;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.08em;
  text-align: right;
}

.yp-shrine-meal-restaurant__body {
  padding: 0 26px 28px;
}

.yp-shrine-meal-restaurant__figure {
  display: block;
  width: 100%;
  margin: 0 0 24px !important;
  padding: 0 !important;
  overflow: hidden;
  background: #f7f6f3 !important;
  border: 0 !important;
}

.yp-shrine-meal-restaurant__image {
  display: block;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center center;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}

.yp-shrine-meal-restaurant__description {
  margin: 0 0 24px !important;
  padding: 0 !important;
  color: #5d6971;
  font-size: 14px;
  line-height: 2.05;
  letter-spacing: 0.04em;
  text-align: left;
}

.yp-shrine-meal-restaurant__info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 24px;
}

.yp-shrine-meal-restaurant__info-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
  padding: 16px;
  background: #fbfaf8;
  border: 1px solid #efefef;
}

.yp-shrine-meal-restaurant__info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  color: #8a7458;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.02em;
  background: #ffffff !important;
  border: 1px solid rgba(138, 116, 88, 0.18);
}

.yp-shrine-meal-restaurant__info-label {
  display: block;
  margin: 0 0 5px;
  color: #999;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.yp-shrine-meal-restaurant__info-value {
  display: block;
  color: #333;
  font-size: 13px;
  line-height: 1.8;
  letter-spacing: 0.03em;
  overflow-wrap: anywhere;
}

.yp-shrine-meal-restaurant__buttons,
.yp-shrine-meal-cta__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.yp-shrine-meal-button,
.yp-shrine-meal-cta__button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  min-height: 48px;
  padding: 0 44px 0 24px;
  color: #26343d !important;
  text-decoration: none !important;
  background: #ffffff !important;
  border: 1px solid rgba(38, 52, 61, 0.14);
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.08em;
}

.yp-shrine-meal-button::after,
.yp-shrine-meal-cta__button::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 22px;
  display: block !important;
  width: 8px;
  height: 8px;
  border-right: 1px solid rgba(138, 116, 88, 0.9);
  border-bottom: 1px solid rgba(138, 116, 88, 0.9);
  transform: translateY(-50%) rotate(-45deg);
}

.yp-shrine-meal-button--secondary,
.yp-shrine-meal-cta__button--secondary {
  background: #fbfaf8 !important;
}

.yp-shrine-meal-restaurant__map {
  margin-top: 26px;
  background: #f7f6f3;
  border: 1px solid #efefef;
}

.yp-shrine-meal-restaurant__map iframe {
  display: block;
  width: 100%;
  height: 360px;
  border: 0;
}

.yp-shrine-meal-faq-list {
  border-top: 1px solid rgba(38, 52, 61, 0.10);
}

.yp-shrine-meal-faq-item {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent;
  border-bottom: 1px solid rgba(38, 52, 61, 0.10);
}

.yp-shrine-meal-faq-item[open] {
  background: #fbfaf8;
}

.yp-shrine-meal-faq-item__question {
  position: relative;
  display: block;
  padding: 22px 56px 22px 18px !important;
  color: #26343d;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0.06em;
  list-style: none;
  cursor: pointer;
}

.yp-shrine-meal-faq-item__question::-webkit-details-marker {
  display: none;
}

.yp-shrine-meal-faq-item__question::before,
.yp-shrine-meal-faq-item__question::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 22px;
  display: block !important;
  background: rgba(138, 116, 88, 0.9);
  transform: translateY(-50%);
}

.yp-shrine-meal-faq-item__question::before {
  width: 15px;
  height: 1px;
}

.yp-shrine-meal-faq-item__question::after {
  right: 29px;
  width: 1px;
  height: 15px;
}

.yp-shrine-meal-faq-item[open] .yp-shrine-meal-faq-item__question::after {
  opacity: 0;
}

.yp-shrine-meal-faq-item__answer {
  padding: 0 56px 24px 18px;
}

.yp-shrine-meal-faq-item__answer p {
  margin: 0 !important;
  padding: 0 !important;
  color: #5d6971;
  font-size: 14px;
  line-height: 1.95;
  letter-spacing: 0.04em;
}

.yp-shrine-meal-cta {
  width: min(960px, calc(100% - 56px));
  margin-top: 0;
  padding: 54px 38px;
  background: #fbfaf8;
  border: 1px solid #efefef;
  text-align: center;
}

.yp-shrine-meal-cta__title {
  margin: 0 !important;
  padding: 0 !important;
  color: #26343d;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.08em;
  text-align: center;
  border: 0 !important;
}

.yp-shrine-meal-cta__text {
  max-width: 760px;
  margin: 18px auto 0 !important;
  padding: 0 !important;
  color: #5d6971;
  font-size: 14px;
  line-height: 2.05;
  letter-spacing: 0.04em;
  text-align: center;
}

@media (hover: hover) and (pointer: fine) {
  .yp-shrine-meal-more-summary,
  .yp-shrine-meal-quick-card,
  .yp-shrine-meal-restaurant,
  .yp-shrine-meal-button,
  .yp-shrine-meal-cta__button {
    transition:
      transform 280ms ease,
      border-color 280ms ease,
      box-shadow 280ms ease;
  }

  .yp-shrine-meal-more-summary:hover,
  .yp-shrine-meal-quick-card:hover,
  .yp-shrine-meal-restaurant:hover,
  .yp-shrine-meal-button:hover,
  .yp-shrine-meal-cta__button:hover {
    transform: translateY(-2px);
    border-color: rgba(138, 116, 88, 0.24);
    box-shadow: 0 12px 30px rgba(38, 52, 61, 0.08) !important;
  }
}

@media screen and (max-width: 768px) {
  .yp-shrine-meal {
    max-width: none;
    padding-bottom: 56px;
  }

  .yp-shrine-meal-hero,
  .yp-shrine-meal-schedule,
  .yp-shrine-meal-schedule,
  .yp-shrine-meal-quick,
  .yp-shrine-meal-comparison,
  .yp-shrine-meal-restaurants,
  .yp-shrine-meal-note,
  .yp-shrine-meal-faq,
  .yp-shrine-meal-cta {
    width: calc(100% - 20px);
  }

  .yp-shrine-meal-hero {
    padding: 54px 0 40px;
  }

  .yp-shrine-meal-title {
    font-size: clamp(27px, 8.5vw, 38px);
    line-height: 1.48;
  }

  .yp-shrine-meal-lead,
  .yp-shrine-meal-section-lead,
  .yp-shrine-meal-note > p,
  .yp-shrine-meal-empty,
  .yp-shrine-meal-cta__text {
    font-size: 13px;
    line-height: 1.95;
    text-align: left;
  }

  .yp-shrine-meal-schedule,
  .yp-shrine-meal-quick,
  .yp-shrine-meal-comparison,
  .yp-shrine-meal-restaurants,
  .yp-shrine-meal-note,
  .yp-shrine-meal-faq {
    padding: 46px 0;
  }

  .yp-shrine-meal-section-head {
    margin-bottom: 28px;
  }

  .yp-shrine-meal-section-title {
    font-size: clamp(22px, 7vw, 31px);
    line-height: 1.55;
  }

  .yp-shrine-meal-quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .yp-shrine-meal-quick-card {
    min-height: 118px;
    padding: 18px !important;
  }

  .yp-shrine-meal-scroll-hint {
    display: block;
  }

  .yp-shrine-meal-restaurant__summary {
    display: block;
    padding: 20px 18px !important;
  }

  .yp-shrine-meal-restaurant__area {
    display: block;
    margin-top: 8px;
    text-align: left;
  }

  .yp-shrine-meal-restaurant__body {
    padding: 0 18px 24px;
  }

  .yp-shrine-meal-restaurant__info {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .yp-shrine-meal-restaurant__map iframe {
    height: 300px;
  }

  .yp-shrine-meal-cta {
    padding: 42px 20px;
  }

  .yp-shrine-meal-restaurant__buttons,
  .yp-shrine-meal-cta__buttons {
    display: grid;
    grid-template-columns: 1fr;
  }

  .yp-shrine-meal-button,
  .yp-shrine-meal-cta__button {
    width: 100%;
    min-width: 0;
  }
}

@media screen and (max-width: 480px) {
  .yp-shrine-meal-quick-grid {
    grid-template-columns: 1fr;
  }

  .yp-shrine-meal-quick-preview {
    padding: 18px !important;
    font-size: 13px;
  }

  .yp-shrine-meal-table th,
  .yp-shrine-meal-table td {
    padding: 13px 12px !important;
    font-size: 12px;
  }

  .yp-shrine-meal-restaurant__image {
    aspect-ratio: 4 / 3;
  }

  .yp-shrine-meal-restaurant__map iframe {
    height: 260px;
  }

  .yp-shrine-meal-faq-item__question {
    padding: 19px 48px 19px 14px !important;
    font-size: 13px;
    line-height: 1.85;
  }

  .yp-shrine-meal-faq-item__answer {
    padding: 0 14px 22px 14px;
  }

  .yp-shrine-meal-faq-item__answer p {
    font-size: 13px;
    line-height: 1.9;
  }
}

/* ==========================================================
   Shrine Meal Template v0.1.9
   - 店舗アコーディオン視認性調整
   - 店舗名拡大
   - 店舗名右の距離感表示を非表示
   - ACF textarea の <br> 表示崩れ対策に合わせた本文整形
   ========================================================== */

.yp-shrine-meal-lead p,
.yp-shrine-meal-section-lead p,
.yp-shrine-meal-quick-preview p,
.yp-shrine-meal-quick-card__text p,
.yp-shrine-meal-schedule-item__text p,
.yp-shrine-meal-restaurant__description p,
.yp-shrine-meal-restaurant__info-value p,
.yp-shrine-meal-note__text p,
.yp-shrine-meal-faq-item__answer p,
.yp-shrine-meal-cta__text p {
  margin: 0 0 1.15em !important;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

.yp-shrine-meal-lead p:last-child,
.yp-shrine-meal-section-lead p:last-child,
.yp-shrine-meal-quick-preview p:last-child,
.yp-shrine-meal-quick-card__text p:last-child,
.yp-shrine-meal-schedule-item__text p:last-child,
.yp-shrine-meal-restaurant__description p:last-child,
.yp-shrine-meal-restaurant__info-value p:last-child,
.yp-shrine-meal-note__text p:last-child,
.yp-shrine-meal-faq-item__answer p:last-child,
.yp-shrine-meal-cta__text p:last-child {
  margin-bottom: 0 !important;
}

.yp-shrine-meal-note__text {
  max-width: 820px;
  margin: 18px auto 0 !important;
  padding: 0 !important;
  color: #5d6971;
  font-size: 14px;
  line-height: 2.05;
  letter-spacing: 0.04em;
  text-align: center;
}

.yp-shrine-meal-restaurant__summary {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 42px !important;
  gap: 20px !important;
  align-items: center !important;
  min-height: 108px;
  padding: 30px 34px !important;
}

.yp-shrine-meal-restaurant__name {
  font-size: clamp(29px, 3vw, 42px) !important;
  line-height: 1.45 !important;
  letter-spacing: 0.08em;
}

.yp-shrine-meal-restaurant__area {
  display: none !important;
}

.yp-shrine-meal-restaurant__toggle {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  justify-self: end;
  color: #8a7458;
  font-family: "Times New Roman", "Yu Mincho", "YuMincho", serif;
  font-size: 28px;
  line-height: 1;
  border: 1px solid rgba(138, 116, 88, 0.22);
  background: #fbfaf8 !important;
}

.yp-shrine-meal-restaurant__toggle-open,
.yp-shrine-meal-restaurant__toggle-closed {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.yp-shrine-meal-restaurant:not([open]) .yp-shrine-meal-restaurant__toggle-open {
  display: none !important;
}

.yp-shrine-meal-restaurant:not([open]) .yp-shrine-meal-restaurant__toggle-closed {
  display: inline-flex !important;
}

.yp-shrine-meal-restaurant[open] .yp-shrine-meal-restaurant__toggle-open {
  display: inline-flex !important;
}

.yp-shrine-meal-restaurant[open] .yp-shrine-meal-restaurant__toggle-closed {
  display: none !important;
}

.yp-shrine-meal-restaurant__description {
  margin: 0 0 28px !important;
  color: #5d6971;
  font-size: 15px;
  line-height: 2.1;
  letter-spacing: 0.05em;
  text-align: left;
}

.yp-shrine-meal-restaurant__info-value {
  display: block;
}

@media (hover: hover) and (pointer: fine) {
  .yp-shrine-meal-restaurant__summary:hover .yp-shrine-meal-restaurant__toggle {
    color: #6f5e49;
    border-color: rgba(138, 116, 88, 0.42);
    background: #f7f2ea !important;
  }
}

@media screen and (max-width: 768px) {
  .yp-shrine-meal-note__text {
    font-size: 13px;
    line-height: 1.95;
    text-align: left;
  }

  .yp-shrine-meal-restaurant__summary {
    grid-template-columns: minmax(0, 1fr) 38px !important;
    min-height: 86px;
    padding: 22px 18px !important;
  }

  .yp-shrine-meal-restaurant__name {
    font-size: clamp(24px, 7vw, 34px) !important;
    line-height: 1.45 !important;
  }

  .yp-shrine-meal-restaurant__toggle {
    width: 38px;
    height: 38px;
    font-size: 25px;
  }

  .yp-shrine-meal-restaurant__description {
    font-size: 13px;
    line-height: 2;
  }
}


/* ==========================================================
   Shrine Meal Template v0.2.0
   - QUICK GUIDE / FAQはPHP側で未入力時に非表示
   - FAQ右側に＋／−を実体要素で表示
   ========================================================== */

.yp-shrine-meal-faq-item__question {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 34px;
  column-gap: 16px;
  align-items: center;
  padding: 22px 18px !important;
}

.yp-shrine-meal-faq-item__question::before,
.yp-shrine-meal-faq-item__question::after {
  display: none !important;
  content: none !important;
}

.yp-shrine-meal-faq-item__question-text {
  display: block;
  min-width: 0;
}

.yp-shrine-meal-faq-item__toggle {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  justify-self: end;
  color: #8a7458;
  font-family: "Times New Roman", "Yu Mincho", "YuMincho", serif;
  font-size: 22px;
  line-height: 1;
  border: 1px solid rgba(138, 116, 88, 0.22);
  background: #fbfaf8 !important;
}

.yp-shrine-meal-faq-item__toggle-open,
.yp-shrine-meal-faq-item__toggle-closed {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.yp-shrine-meal-faq-item:not([open]) .yp-shrine-meal-faq-item__toggle-open {
  display: none !important;
}

.yp-shrine-meal-faq-item:not([open]) .yp-shrine-meal-faq-item__toggle-closed {
  display: inline-flex !important;
}

.yp-shrine-meal-faq-item[open] .yp-shrine-meal-faq-item__toggle-open {
  display: inline-flex !important;
}

.yp-shrine-meal-faq-item[open] .yp-shrine-meal-faq-item__toggle-closed {
  display: none !important;
}

.yp-shrine-meal-faq-item__answer {
  padding: 0 68px 24px 18px !important;
}

@media (hover: hover) and (pointer: fine) {
  .yp-shrine-meal-faq-item__question:hover .yp-shrine-meal-faq-item__toggle {
    color: #6f5e49;
    border-color: rgba(138, 116, 88, 0.42);
    background: #f7f2ea !important;
  }
}

@media screen and (max-width: 480px) {
  .yp-shrine-meal-faq-item__question {
    grid-template-columns: minmax(0, 1fr) 30px;
    column-gap: 12px;
    padding: 19px 14px !important;
  }

  .yp-shrine-meal-faq-item__toggle {
    width: 30px;
    height: 30px;
    font-size: 20px;
  }

  .yp-shrine-meal-faq-item__answer {
    padding: 0 14px 22px 14px !important;
  }
}

/* =========================================================
   Shrine Meal Template v0.2.1
   - アイキャッチをMEAL HERO画像として表示
   - 店舗代表写真を店名直下に表示
   - 地図の上に撮影実績写真ギャラリーを表示
========================================================= */

.yp-shrine-meal-hero-visual {
  width: 100%;
  margin: 0 auto;
  padding: 0;
  background: #ffffff;
}

.yp-shrine-meal-hero-visual__figure {
  display: block;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  background: #f7f6f3 !important;
  border: 0 !important;
  box-shadow: none !important;
}

.yp-shrine-meal-hero-visual__image {
  display: block;
  width: 100% !important;
  height: auto !important;
  max-width: none !important;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center center;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.yp-shrine-meal-hero-visual + .yp-shrine-meal-hero {
  padding-top: 58px;
}

.yp-shrine-meal-restaurant__figure {
  margin: 0 0 30px !important;
  border: 1px solid #efefef !important;
}

.yp-shrine-meal-restaurant__image {
  aspect-ratio: 16 / 9;
}

.yp-shrine-meal-restaurant-record {
  margin: 28px 0 0;
  padding: 26px 0 0;
  border-top: 1px solid rgba(38, 52, 61, 0.08);
}

.yp-shrine-meal-restaurant-record__title {
  margin: 0 0 18px !important;
  padding: 0 !important;
  color: #8a7458;
  font-family: "Times New Roman", "Yu Mincho", "YuMincho", serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.16em;
  text-align: center;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
}

.yp-shrine-meal-restaurant-record__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.yp-shrine-meal-restaurant-record__figure {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  background: #f7f6f3 !important;
  border: 1px solid #efefef !important;
  box-shadow: none !important;
}

.yp-shrine-meal-restaurant-record__image {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
  object-position: center center;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}

.yp-shrine-meal-restaurant-record + .yp-shrine-meal-restaurant__buttons,
.yp-shrine-meal-restaurant-record + .yp-shrine-meal-restaurant__map {
  margin-top: 26px;
}

@media screen and (max-width: 768px) {
  .yp-shrine-meal-hero-visual__image {
    aspect-ratio: 4 / 3;
  }

  .yp-shrine-meal-hero-visual + .yp-shrine-meal-hero {
    padding-top: 42px;
  }

  .yp-shrine-meal-restaurant-record__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
}

@media screen and (max-width: 480px) {
  .yp-shrine-meal-restaurant__figure {
    margin-bottom: 22px !important;
  }

  .yp-shrine-meal-restaurant-record {
    margin-top: 24px;
    padding-top: 22px;
  }

  .yp-shrine-meal-restaurant-record__title {
    margin-bottom: 14px !important;
    font-size: 12px;
  }
}


/* ==========================================================
   Shrine Meal Template v0.2.2
   - 01 Content Links - Shrine の関連リンク表示
   ========================================================== */

.yp-shrine-meal-related__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 32px;
}

.yp-shrine-meal-related__group {
  min-width: 0;
  padding: 22px;
  background: #ffffff;
  border: 1px solid #efefef;
}

.yp-shrine-meal-related__title {
  margin: 0 0 12px !important;
  padding: 0 !important;
  color: #999999;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.08em;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

.yp-shrine-meal-related__title::before,
.yp-shrine-meal-related__title::after {
  display: none !important;
  content: none !important;
}

.yp-shrine-meal-related__list {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.yp-shrine-meal-related__item {
  margin: 0 0 8px !important;
  padding: 0 !important;
  list-style: none !important;
}

.yp-shrine-meal-related__item:last-child {
  margin-bottom: 0 !important;
}

.yp-shrine-meal-related__item::before,
.yp-shrine-meal-related__item::after {
  display: none !important;
  content: none !important;
}

.yp-shrine-meal-related__link {
  display: inline;
  color: #333333 !important;
  font-size: 14px;
  line-height: 1.7;
  text-decoration: none !important;
  padding-bottom: 2px;
  background: linear-gradient(180deg, transparent 70%, #d4b896 70%);
  box-shadow: none !important;
}

@media (hover: hover) and (pointer: fine) {
  .yp-shrine-meal-related__link:hover {
    color: #8a7458 !important;
  }
}

@media screen and (max-width: 767px) {
  .yp-shrine-meal-related__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .yp-shrine-meal-related__group {
    padding: 18px;
  }

  .yp-shrine-meal-related__link {
    font-size: 13px;
  }
}

/* ==========================================================
   Shrine Meal Template v0.2.3
   - GUIDE導線のみ写真カード表示
   - その他の関連リンクは v0.2.2 のテキスト表示を維持
   ========================================================== */

.yp-shrine-meal-related__group--cards {
  grid-column: 1 / -1;
  padding: 0;
  background: transparent;
  border: 0;
}

.yp-shrine-meal-related__group--cards .yp-shrine-meal-related__title {
  margin-bottom: 18px !important;
}

.yp-shrine-meal-related-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.yp-shrine-meal-related-card {
  display: block;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  background: #ffffff !important;
  border: 1px solid #efefef;
  box-shadow: none !important;
}

.yp-shrine-meal-related-card__link {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  color: inherit !important;
  text-decoration: none !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

.yp-shrine-meal-related-card__link::before,
.yp-shrine-meal-related-card__link::after {
  display: none !important;
  content: none !important;
}

.yp-shrine-meal-related-card__figure {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  background: #f7f6f3 !important;
  border: 0 !important;
  box-shadow: none !important;
}

.yp-shrine-meal-related-card__figure::before,
.yp-shrine-meal-related-card__figure::after {
  display: none !important;
  content: none !important;
}

.yp-shrine-meal-related-card__image,
.yp-shrine-meal-related-card__figure img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
  object-position: center center;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.yp-shrine-meal-related-card__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 20% 18%, rgba(212, 184, 150, 0.34) 0%, rgba(212, 184, 150, 0) 42%),
    linear-gradient(135deg, #f7f4ee 0%, #ece7dc 100%);
}

.yp-shrine-meal-related-card__body {
  flex: 1 1 auto;
  padding: 22px 22px 24px;
  text-align: left;
}

.yp-shrine-meal-related-card__title {
  margin: 0 0 12px !important;
  padding: 0 !important;
  color: #26343d;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.06em;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

.yp-shrine-meal-related-card__title::before,
.yp-shrine-meal-related-card__title::after {
  display: none !important;
  content: none !important;
}

.yp-shrine-meal-related-card__text {
  display: -webkit-box;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  color: #5d6971;
  font-size: 13px;
  line-height: 1.85;
  letter-spacing: 0.04em;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.yp-shrine-meal-related-card__more {
  display: inline-block;
  margin-top: 18px;
  color: #8a7458;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.08em;
}

@media (hover: hover) and (pointer: fine) {
  .yp-shrine-meal-related-card {
    transition:
      transform 280ms ease,
      border-color 280ms ease,
      box-shadow 280ms ease;
  }

  .yp-shrine-meal-related-card__figure img {
    transition: transform 420ms ease;
  }

  .yp-shrine-meal-related-card:hover {
    transform: translateY(-3px);
    border-color: rgba(138, 116, 88, 0.24);
    box-shadow: 0 12px 30px rgba(38, 52, 61, 0.08) !important;
  }

  .yp-shrine-meal-related-card:hover .yp-shrine-meal-related-card__figure img {
    transform: scale(1.035);
  }
}

@media screen and (max-width: 1024px) {
  .yp-shrine-meal-related-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 767px) {
  .yp-shrine-meal-related-card-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .yp-shrine-meal-related-card__body {
    padding: 18px 16px 20px;
  }

  .yp-shrine-meal-related-card__title {
    font-size: 18px;
  }

  .yp-shrine-meal-related-card__text {
    font-size: 13px;
    line-height: 1.85;
    -webkit-line-clamp: 2;
  }
}

/* ==========================================================
   Shrine Meal Template v0.2.5
   - GUIDE / REPORTS セクションを写真カード表示へ整理
   - GUIDEは「◯◯神社のお宮参りガイド」として表示
   - REPORTSは「写真で見る◯◯神社のお宮参り」として表示
   - 1件は大きく1枚、2件は中央2枚、3件以上は3列
   ========================================================== */

.yp-shrine-meal-card-section {
  width: min(1120px, calc(100% - 56px));
  margin: 0 auto;
  padding: 62px 0;
  border-top: 1px solid rgba(38, 52, 61, 0.08);
  color: #2f2a24;
}

.yp-shrine-meal-card-section .yp-shrine-meal-section-head {
  max-width: 820px;
  margin-right: auto;
  margin-left: auto;
}

.yp-shrine-meal-card-section .yp-shrine-meal-section-lead {
  max-width: 760px;
  margin: 14px auto 0 !important;
  padding: 0 !important;
  color: #5d6971;
  font-size: 14px;
  line-height: 2;
  letter-spacing: 0.04em;
  text-align: center;
}

.yp-shrine-meal-card-section .yp-shrine-meal-related-card-grid {
  width: 100%;
  margin: 0 auto;
}

.yp-shrine-meal-related-card-grid--count-1 {
  grid-template-columns: minmax(0, 1fr) !important;
  max-width: 720px;
}

.yp-shrine-meal-related-card-grid--count-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  max-width: 920px;
  justify-content: center;
}

.yp-shrine-meal-related-card-grid--count-3plus {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.yp-shrine-meal-related-card-grid--count-1 .yp-shrine-meal-related-card__figure {
  aspect-ratio: 16 / 9;
}

.yp-shrine-meal-related-card-grid--count-1 .yp-shrine-meal-related-card__body {
  padding: 30px 34px 34px;
}

.yp-shrine-meal-related-card-grid--count-1 .yp-shrine-meal-related-card__title {
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.55;
}

@media screen and (max-width: 1024px) {
  .yp-shrine-meal-related-card-grid--count-3plus {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media screen and (max-width: 767px) {
  .yp-shrine-meal-card-section {
    width: calc(100% - 20px);
    padding: 48px 0;
  }

  .yp-shrine-meal-card-section .yp-shrine-meal-section-lead {
    font-size: 13px;
    line-height: 1.95;
    text-align: left;
  }

  .yp-shrine-meal-related-card-grid--count-1,
  .yp-shrine-meal-related-card-grid--count-2,
  .yp-shrine-meal-related-card-grid--count-3plus {
    grid-template-columns: 1fr !important;
    max-width: none;
  }

  .yp-shrine-meal-related-card-grid--count-1 .yp-shrine-meal-related-card__figure {
    aspect-ratio: 4 / 3;
  }

  .yp-shrine-meal-related-card-grid--count-1 .yp-shrine-meal-related-card__body {
    padding: 18px 16px 20px;
  }

  .yp-shrine-meal-related-card-grid--count-1 .yp-shrine-meal-related-card__title {
    font-size: 18px;
  }
}

/* ==========================================================
   Shrine Meal Template v0.3.2
   - HERO直後、QUICK GUIDE前に当日のスケジュール例を追加
   - 未入力時はセクション自体を非表示（PHP側で制御）
   ========================================================== */

.yp-shrine-meal-schedule-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  max-width: 860px;
  margin: 0 auto;
  padding: 0;
}

.yp-shrine-meal-schedule-item {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  margin: 0 !important;
  padding: 22px 24px !important;
  background: #ffffff !important;
  border: 1px solid #efefef;
  box-shadow: none !important;
}

.yp-shrine-meal-schedule-item__time {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin: 0 !important;
  padding: 8px 12px !important;
  color: #8a7458;
  font-family: "Times New Roman", "Yu Mincho", "YuMincho", serif;
  font-size: 13px;
  line-height: 1.35;
  letter-spacing: 0.08em;
  text-align: center;
  background: #fbfaf8 !important;
  border: 1px solid rgba(138, 116, 88, 0.18);
}

.yp-shrine-meal-schedule-item__body {
  min-width: 0;
}

.yp-shrine-meal-schedule-item__title {
  margin: 0 0 8px !important;
  padding: 0 !important;
  color: #26343d;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.07em;
  text-align: left;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

.yp-shrine-meal-schedule-item__title::before,
.yp-shrine-meal-schedule-item__title::after {
  display: none !important;
  content: none !important;
}

.yp-shrine-meal-schedule-item__text {
  margin: 0 !important;
  padding: 0 !important;
  color: #5d6971;
  font-size: 14px;
  line-height: 1.95;
  letter-spacing: 0.04em;
  text-align: left;
}

@media (hover: hover) and (pointer: fine) {
  .yp-shrine-meal-schedule-item {
    transition:
      transform 280ms ease,
      border-color 280ms ease,
      box-shadow 280ms ease;
  }

  .yp-shrine-meal-schedule-item:hover {
    transform: translateY(-2px);
    border-color: rgba(138, 116, 88, 0.24);
    box-shadow: 0 12px 30px rgba(38, 52, 61, 0.08) !important;
  }
}

@media screen and (max-width: 768px) {
  .yp-shrine-meal-schedule-item {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px 18px !important;
  }

  .yp-shrine-meal-schedule-item__time {
    justify-self: start;
    min-height: 36px;
    font-size: 12px;
  }

  .yp-shrine-meal-schedule-item__title {
    font-size: clamp(18px, 5.6vw, 24px);
  }

  .yp-shrine-meal-schedule-item__text {
    font-size: 13px;
    line-height: 1.9;
  }
}

