/* チェーン×エリア 静的ページ専用スタイル
   ※ クラス名は 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;
}

/* 共通フッタ由来の上スクロールボタンを非表示 (cross_pages では不要) */
.scroll-top-wrapper,
.scroll-top-btn {
  display: none !important;
}

/* ---- 郵便番号 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;
}
