/* チェーン×エリア 静的ページ専用スタイル
   ※ クラス名は cross-shop* / address-list* / cross-* で area_style.css との衝突を回避。
*/

main {
  max-width: 1024px;
  margin: 0 auto;
  padding: 16px 16px 48px;
}

.page-header h1 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  margin: 8px 0 8px;
}

.address-lead {
  font-size: 14px;
  color: #555;
  margin: 0 0 12px;
}

.section-subhead {
  font-size: 15px;
  font-weight: 700;
  margin: 20px 0 8px;
  color: #1a1a1a;
  padding-bottom: 6px;
  border-bottom: 1px solid #eee;
}

/* ---- 地方セクション (top page) ---- */
.region-section {
  margin: 0 0 16px;
}
section.region-section .region-title {
  font-size: 15px;
  font-weight: 600;
  color: #555;
  margin: 16px 0 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid #eee;
}

/* ---- 折りたたみ可能な地方 (3県以上) ---- */
details.region-section--collapsible {
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  margin: 0 0 12px;
}
details.region-section--collapsible > summary {
  list-style: none;          /* Chrome/Safari */
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
}
details.region-section--collapsible > summary::-webkit-details-marker {
  display: none;              /* Safari */
}
details.region-section--collapsible > summary::after {
  content: "";
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-right: 2px solid #888;
  border-bottom: 2px solid #888;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
details.region-section--collapsible[open] > summary::after {
  transform: rotate(-135deg);
}
details.region-section--collapsible > summary:hover {
  background: #fafafa;
}
details.region-section--collapsible .region-title__count {
  font-size: 12px;
  font-weight: 400;
  color: #888;
}
details.region-section--collapsible > .address-list {
  border: 0;
  border-radius: 0;
  border-top: 1px solid #f0f0f0;
  margin: 0;
}

/* ---- リンクリスト (都道府県/市区) ---- */
.address-list {
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.address-list__item {
  border-top: 1px solid #f0f0f0;
}
.address-list__item:first-child {
  border-top: 0;
}
.address-list__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  font-size: 16px;
  color: #1a1a1a;
  text-decoration: none;
}
.address-list__link:hover {
  background: #fafafa;
}
.address-list__link::after {
  content: "";
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-right: 2px solid #b0b0b0;
  border-bottom: 2px solid #b0b0b0;
  transform: rotate(-45deg);
}
.address-list__label {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  min-width: 0;
}

/* ---- 店舗カード (pref 下段 / city) ---- */
.shop-list-section {
  margin: 0 0 28px;
}
.cross-shops {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.cross-shop {
  border-top: 1px solid #f0f0f0;
  margin: 0;
  padding: 12px 16px;
}
.cross-shop:first-child {
  border-top: 0;
}
.cross-shop__link {
  display: block;
  padding: 12px 16px;
  text-decoration: none;
  color: #1a1a1a;
}
.cross-shop__link:hover {
  background: #fafafa;
}
.cross-shop__name {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 2px;
  color: #1a1a1a;
}
.cross-shop__addr {
  font-size: 12px;
  color: #666;
  line-height: 1.45;
  margin: 0 0 4px;
}
.cross-shop__cta {
  font-size: 12px;
  font-weight: 600;
  color: #43c66f;
}

.empty-message {
  padding: 24px;
  text-align: center;
  color: #888;
  font-size: 14px;
}

/* 2026-06-04: 共通フッタ由来の上スクロールボタン (template_footer.html) を表示する。
   以前 cross_pages では非表示にしていたが、chain area でも下部に必要なため有効化。 */

/* ---- 郵便番号 CTA (top page) ---- */
.zip-cta-section {
  margin: 0 0 20px;
}
.zip-cta__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #43c66f;
  border-radius: 12px;
  text-decoration: none;
  color: #1a1a1a;
  transition: background 0.15s ease;
}
.zip-cta__link:hover {
  background: #f1faf3;
}
.zip-cta__icon {
  font-size: 22px;
  flex: 0 0 auto;
}
.zip-cta__text {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.zip-cta__title {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
}
.zip-cta__sub {
  font-size: 12px;
  color: #666;
}
.zip-cta__chevron {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-right: 2px solid #43c66f;
  border-bottom: 2px solid #43c66f;
  transform: rotate(-45deg);
}

/* ---- 郵便番号フォーム (zip ページ) ---- */
.zip-search-section {
  margin: 0 0 16px;
  padding: 16px;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  background: #fff;
}
.zip-form__label {
  display: block;
  font-size: 12px;
  color: #555;
  margin: 0 0 6px;
}
.zip-form__row {
  display: flex;
  gap: 8px;
}
.zip-form__input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 12px 14px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #fff;
}
.zip-form__input:focus {
  outline: none;
  border-color: #43c66f;
  box-shadow: 0 0 0 2px rgba(67, 198, 111, 0.2);
}
.zip-form__submit {
  flex: 0 0 auto;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: #43c66f;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}
.zip-form__submit:hover {
  background: #36b061;
}
.zip-result {
  margin-top: 10px;
  font-size: 13px;
  color: #555;
  min-height: 1.4em;
}
.zip-result.is-error {
  color: #d33;
}
.zip-fallback {
  font-size: 14px;
  margin: 4px 0 0;
}
.zip-fallback a {
  color: #2a8f4f;
  text-decoration: none;
}
.zip-fallback a:hover {
  text-decoration: underline;
}

/* ===== chain area: メニュー一覧 / 口コミ (2026-06-04) =====
   見出しサイズをページの階層に統一する。
   ページ階層: h1 22px > セクション見出し(.section-subhead) 15px > サブ見出し(h3) 14px。
   brand_style.css の .menu-grand-title(22px)/.section-title(18px) が後勝ちで効くため、
   詳細度の高い子孫セレクタ (.menu-list-section ...) で上書きする。 */
.menu-list-section {
  margin-top: 28px;
}
.menu-list-section .menu-grand-title {
  font-size: 15px;
  font-weight: bold;
  margin: 24px 0 6px;
  color: #333;
}
.menu-list-section .section-title,
.menu-list-section .review-highlight-title {
  font-size: 14px;
  font-weight: bold;
  margin: 18px 0 10px;
  color: #333;
}
/* 口コミ(h3)は最下部。やや上に余白を足してメニューと区切る */
.menu-list-section .review-highlight-section {
  margin-top: 24px;
  border-top: 1px solid #eee;
  padding-top: 16px;
}

/* ===== ヘッダー直下パンくず (2026-06-04, スタイル添付参照で再調整) =====
   ・全幅 (100vw) に薄いグレー帯を敷く
   ・中身は container と同じ 1024px に内寄せ (calc padding で中央配置)
   ・上下は最小限の縦幅 (padding 6px) で邪魔にならないように */
.breadcrumbs.breadcrumbs--top {
  margin: 0 calc(50% - 50vw) 0;
  /* 左右非対称: 左は h1 (main の padding-left 16px 込み) と頭揃え。
     PC では container 左端 + 16px、SP では 16px。 */
  padding-top: 8px;
  padding-right: max(15px, calc(50vw - 512px));
  padding-bottom: 8px;
  padding-left: max(16px, calc(50vw - 496px));
  background: #f6f7f8;
  border-top: 0;
  border-bottom: 1px solid #ececec;
  line-height: 1;   /* 余分な行高を除去して padding 上下が見た目どおりになる */
}
.breadcrumbs.breadcrumbs--top ol {
  margin: 0;
  padding: 0;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
  /* min-height 撤去: padding 8px と本文 line-height 1 で上下 8px ずつになる */
}
.breadcrumbs.breadcrumbs--top a,
.breadcrumbs.breadcrumbs--top span,
.breadcrumbs.breadcrumbs--top i {
  font-size: 11px;
  line-height: 1;
  color: #888;
}
/* › 区切り文字も本文と同じ font-size に揃え、上下対称を保つ */
.breadcrumbs.breadcrumbs--top li + li::before {
  font-size: 11px;
  line-height: 1;
}
