/*
Theme Name: alleco Next
Theme URI: https://alleco.jp/
Author: alleco
Description: alleco専用のCocoon非依存テーマ。表示とレイアウトのみを担当し、店舗ID・公開制御・地域・主ジャンル等の永続基盤はalleco Coreに委譲します。
Version: 0.9.6-stg-store-search-layout-rc5
Requires at least: 6.9
Text Domain: alleco-next
*/

:root {
  --alleco-bg: #ffffff;
  --alleco-surface: #f7f8f6;
  --alleco-surface-soft: #fbfcfa;
  --alleco-surface-strong: #edf3ef;
  --alleco-text: #24302b;
  --alleco-muted: #69736f;
  --alleco-border: #dfe5e1;
  --alleco-border-strong: #cbd7d0;
  --alleco-accent: #3f6f5d;
  --alleco-accent-dark: #2f5648;
  --alleco-accent-soft: #edf5f1;
  --alleco-note-bg: #fffaf0;
  --alleco-note-border: #eadfbe;
  --alleco-danger-soft: #fff3f1;
  --alleco-danger-border: #e3b9b1;
  --alleco-max: 1160px;
  --alleco-page: 980px;
  --alleco-reading: 760px;
  --alleco-store: 900px;
  --alleco-radius: 14px;
  --alleco-radius-small: 9px;
  --alleco-shadow: 0 3px 16px rgba(31, 48, 40, .06);
  --alleco-soft-bg: var(--alleco-surface);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--alleco-bg);
  color: var(--alleco-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: .01em;
}
img { max-width: 100%; height: auto; }
a { color: var(--alleco-accent-dark); text-underline-offset: .17em; }
a:hover { text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; }

.alleco-shell { width: min(calc(100% - 40px), var(--alleco-max)); margin-inline: auto; }
.alleco-page { width: min(100%, var(--alleco-page)); margin-inline: auto; }
.alleco-reading { width: min(100%, var(--alleco-reading)); margin-inline: auto; }

/* Header: 店舗検索を常時見つけやすくするが、ページ固有CTAとは競合させない */
.site-header { position: relative; z-index: 10; border-bottom: 1px solid var(--alleco-border); background: rgba(255,255,255,.98); }
.site-header__inner { min-height: 76px; display: grid; grid-template-columns: minmax(210px,1fr) auto auto; align-items: center; gap: 22px; }
.site-branding { min-width: 0; }
.site-title { margin: 0; font-size: 1.32rem; line-height: 1.2; font-weight: 760; }
.site-title a { color: var(--alleco-text); text-decoration: none; }
.site-description { margin: 4px 0 0; color: var(--alleco-muted); font-size: .74rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.site-store-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 8px 16px; border-radius: 999px; background: var(--alleco-accent); color: #fff; text-decoration: none; font-weight: 700; font-size: .9rem; }
.site-store-cta:hover { background: var(--alleco-accent-dark); }
.primary-nav ul, .footer-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 18px; }
.primary-nav a, .footer-nav a { color: var(--alleco-text); text-decoration: none; font-size: .9rem; }
.primary-nav a:hover, .footer-nav a:hover { text-decoration: underline; }

.site-main { min-height: 55vh; padding-block: 30px 72px; }
.site-main--front { padding-top: 0; }
.site-footer { margin-top: 44px; border-top: 1px solid var(--alleco-border); background: var(--alleco-surface); }
.site-footer__inner { padding-block: 38px 30px; display: grid; grid-template-columns: minmax(220px,1fr) auto; gap: 28px 42px; align-items: start; }
.site-footer__title { margin: 0; font-weight: 750; }
.site-footer__description { max-width: 520px; margin: 7px 0 0; color: var(--alleco-muted); font-size: .85rem; }
.site-footer__meta { grid-column: 1 / -1; margin: 0; padding-top: 20px; border-top: 1px solid var(--alleco-border); color: var(--alleco-muted); font-size: .82rem; }

.alleco-breadcrumbs { margin: 0 0 28px; color: var(--alleco-muted); font-size: .82rem; }
.alleco-breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; }
.alleco-breadcrumbs li:not(:last-child)::after { content: ">"; margin-left: 7px; color: #a2aaa6; }
.alleco-breadcrumbs a { color: inherit; text-decoration: none; }
.alleco-breadcrumbs a:hover { text-decoration: underline; }

.entry-header, .archive-header { margin-bottom: 30px; }
.entry-title, .archive-title, .alleco-front-title { margin: 0; font-size: clamp(1.8rem, 4vw, 2.55rem); line-height: 1.35; letter-spacing: .005em; }
.entry-meta { margin-top: 9px; color: var(--alleco-muted); font-size: .84rem; }
.entry-content > :first-child { margin-top: 0; }
.entry-content > :last-child { margin-bottom: 0; }
.entry-content h1 { margin: 0 0 .7em; font-size: clamp(1.8rem, 4vw, 2.55rem); line-height: 1.35; }
.entry-content h2 { margin: 2.45em 0 .8em; font-size: clamp(1.38rem, 2.4vw, 1.65rem); line-height: 1.5; }
.entry-content h3 { margin: 1.95em 0 .72em; font-size: 1.18rem; line-height: 1.55; }
.entry-content p, .entry-content ul, .entry-content ol, .entry-content table, .entry-content figure { margin-block: 1.15em; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.entry-content th, .entry-content td { padding: 10px 12px; border: 1px solid var(--alleco-border); vertical-align: top; }
.entry-content th { background: var(--alleco-surface); text-align: left; }
.entry-content .wp-block-image img { border-radius: var(--alleco-radius-small); }

/* Front page: 「店舗を探す」を主役にし、既存コンテンツはその後に続ける */
.alleco-front-hero {
  padding: clamp(38px, 6vw, 70px) 0 44px;
}
.alleco-front-hero__copy {
  max-width: 780px;
  margin-bottom: 28px;
}
.alleco-front-hero__eyebrow {
  margin: 0 0 7px;
  color: var(--alleco-accent-dark);
  font-size: .78rem;
  font-weight: 760;
  letter-spacing: .08em;
}
.alleco-front-description {
  margin: 10px 0 0;
  color: var(--alleco-text);
  font-size: clamp(1rem, 1.5vw, 1.08rem);
  font-weight: 650;
}
.alleco-front-hero__note {
  max-width: 700px;
  margin: 9px 0 0;
  color: var(--alleco-muted);
  font-size: .94rem;
}
.alleco-front-search {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--alleco-border-strong);
  border-radius: 18px;
  background: linear-gradient(135deg, #f4f9f6 0%, #fbfcfa 100%);
  box-shadow: var(--alleco-shadow);
}
.alleco-front-search__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px 28px;
  align-items: end;
  margin-bottom: 20px;
}
.alleco-front-store-entry__eyebrow,
.alleco-eyebrow {
  margin: 0 0 4px;
  color: var(--alleco-accent-dark);
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .08em;
}
.alleco-front-search h2 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
}
.alleco-front-search__head > p {
  max-width: 440px;
  margin: 0;
  color: var(--alleco-muted);
  font-size: .92rem;
}
.alleco-front-search__form {
  display: grid;
  grid-template-columns: minmax(150px, .8fr) minmax(170px, .9fr) minmax(220px, 1.25fr) auto;
  gap: 12px;
  align-items: end;
}
.alleco-front-search__field {
  display: grid;
  gap: 6px;
  min-width: 0;
}
.alleco-front-search__field > span {
  color: var(--alleco-muted);
  font-size: .78rem;
  font-weight: 700;
}
.alleco-front-search__field select,
.alleco-front-search__field input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--alleco-border-strong);
  border-radius: 9px;
  background: #fff;
  color: var(--alleco-text);
  padding: 8px 11px;
}
.alleco-front-search__field select:focus,
.alleco-front-search__field input:focus {
  outline: 3px solid rgba(63,111,93,.13);
  border-color: var(--alleco-accent);
}
.alleco-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border: 1px solid var(--alleco-border-strong);
  border-radius: 10px;
  background: #fff;
  color: var(--alleco-text);
  text-decoration: none;
  font-weight: 700;
}
.alleco-button--primary {
  border-color: var(--alleco-accent);
  background: var(--alleco-accent);
  color: #fff;
}
.alleco-button--primary:hover {
  border-color: var(--alleco-accent-dark);
  background: var(--alleco-accent-dark);
  color: #fff;
}
.alleco-front-search__submit {
  min-height: 46px;
  white-space: nowrap;
}
.alleco-front-search__footer {
  display: flex;
  justify-content: space-between;
  gap: 14px 24px;
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px solid var(--alleco-border);
  color: var(--alleco-muted);
  font-size: .78rem;
}
.alleco-front-search__footer p {
  margin: 0;
}
.alleco-front-search__footer a {
  flex: 0 0 auto;
  font-weight: 700;
  text-decoration: none;
}
.alleco-front-content {
  width: min(100%, var(--alleco-page));
  margin-inline: auto;
  padding-top: 4px;
}

/* 既存トップコンテンツの意味階層を静かなUIへ合わせる */
.alleco-home-guide { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px; margin: 1.5em 0 3em; }
.alleco-home-guide-item { padding-top: 16px; border-top: 2px solid var(--alleco-border-strong); }
.alleco-home-guide-item h3 { margin-top: 0; }
.alleco-home-areas { margin: 1.5em 0 3em; }
.alleco-home-area-card { display: block; color: inherit; text-decoration: none; border: 1px solid var(--alleco-border); border-radius: var(--alleco-radius); background: #fff; overflow: hidden; }
.alleco-home-area-card-main { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(280px,.85fr); align-items: stretch; }
.alleco-home-area-main-image { min-height: 280px; background: var(--alleco-surface); }
.alleco-home-area-main-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.alleco-home-area-body { padding: 22px; }
.alleco-home-area-heading { display: flex; align-items: center; gap: 10px; }
.alleco-home-area-heading strong { font-size: 1.2rem; }
.alleco-home-area-status { display: inline-flex; padding: 3px 8px; border-radius: 999px; background: var(--alleco-surface-strong); color: var(--alleco-muted); font-size: .75rem; }
.alleco-home-area-status.is-open { background: var(--alleco-accent-soft); color: var(--alleco-accent-dark); }
.alleco-home-area-more { display: inline-block; margin-top: 12px; font-weight: 700; color: var(--alleco-accent-dark); }
.alleco-home-area-secondary, .alleco-home-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin-top: 16px; }
.alleco-home-area-card.is-preparing, .alleco-home-link-card.is-preparing { background: var(--alleco-surface-soft); color: var(--alleco-muted); }
.alleco-home-link-card { padding: 20px; border-top: 1px solid var(--alleco-border); }
.alleco-home-link-card strong, .alleco-home-link-card span, .alleco-home-link-card em { display: block; }
.alleco-home-link-card em { margin-top: 6px; font-size: .8rem; font-style: normal; color: var(--alleco-muted); }

/* 記事・アーカイブ */
.post-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.post-card { border-bottom: 1px solid var(--alleco-border); background: #fff; }
.post-card__link { display: block; color: inherit; text-decoration: none; }
.post-card__link > img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: var(--alleco-radius-small); }
.post-card__body { padding: 15px 0 22px; }
.post-card__title { margin: 0; font-size: 1.12rem; line-height: 1.55; }
.post-card__excerpt { margin: 9px 0 0; color: var(--alleco-muted); font-size: .9rem; }

/* 店舗一覧: 店舗単位のまとまりだけをカード化し、説明要素は弱くする */
/* =========================================================
   店舗DB検索・一覧
   ========================================================= */
.alleco-store-search-header { max-width: 780px; margin-bottom: 24px; }
.alleco-store-search-lead { margin: 12px 0 0; color: #53605b; line-height: 1.8; }

.alleco-store-search-panel { margin: 0 0 24px; padding: 22px; border: 1px solid var(--alleco-border); border-radius: 16px; background: var(--alleco-surface-soft); }
.alleco-store-search-panel > h2 { margin: 0 0 16px; font-size: 1.12rem; }
.alleco-store-search-fields { display: grid; gap: 14px; }
.alleco-store-search-field { display: grid; gap: 6px; min-width: 0; color: #44514c; font-size: .84rem; font-weight: 700; }
.alleco-store-search-field-wide { grid-column: span 1; }
.alleco-store-search-field select,
.alleco-store-search-field input { width: 100%; height: 44px; border: 1px solid var(--alleco-border-strong); border-radius: 9px; background: #fff; color: var(--alleco-text); font: inherit; font-weight: 500; padding: 8px 10px; }
.alleco-store-search-field select:focus,
.alleco-store-search-field input:focus { outline: 2px solid rgba(63,111,93,.18); outline-offset: 1px; border-color: var(--alleco-accent); }
.alleco-store-allergens { min-width: 0; margin: 14px 0 0; padding: 7px 12px 12px; border: 1px solid var(--alleco-border); border-radius: 9px; background: #ebf2ed; }
.alleco-store-allergens legend { padding: 0 5px; font-size: .88rem; font-weight: 700; }
.alleco-store-allergen-options { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; }
.alleco-store-allergen-options label { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 4px 9px; border: 1px solid #bbcdc2; border-radius: 7px; background: #fff; font-size: .84rem; cursor: pointer; }
.alleco-store-allergen-options label:has(input:checked) { border-color: var(--alleco-accent-dark); background: #dcebe2; }
.alleco-store-allergen-options input { inline-size: 15px; block-size: 15px; margin: 0; accent-color: var(--alleco-accent-dark); }
.alleco-store-search-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px 14px; margin-top: 14px; }
.alleco-store-search-submit { min-height: 44px; cursor: pointer; font: inherit; font-weight: 700; }
.alleco-store-search-reset { color: var(--alleco-muted); font-size: .86rem; }
button.alleco-store-search-reset { min-height: 44px; border: 0; background: transparent; padding: 0 4px; font-family: inherit; text-decoration: underline; cursor: pointer; }
.alleco-store-search-fields,
.site-main--front .alleco-front-search__form.alleco-store-search-form--top {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, .85fr) minmax(0, 1.4fr);
  align-items: end;
}
.alleco-store-search-fields:where(.alleco-store-search-fields--no-diet, .alleco-store-search-fields--no-genre),
.site-main--front .alleco-front-search__form.alleco-store-search-form--top:where(.alleco-store-search-fields--no-diet, .alleco-store-search-fields--no-genre) {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.4fr);
}
.alleco-store-search-fields:where(.alleco-store-search-fields--no-diet.alleco-store-search-fields--no-genre),
.site-main--front .alleco-front-search__form.alleco-store-search-form--top:where(.alleco-store-search-fields--no-diet.alleco-store-search-fields--no-genre) {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
}
.alleco-store-search-form--top > :is(.alleco-store-allergens, .alleco-store-search-actions) { grid-column: 1 / -1; margin-top: 0; }
@media (max-width: 860px) {
  .alleco-store-search-fields,
  .site-main--front .alleco-front-search__form.alleco-store-search-form--top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .alleco-store-search-fields,
  .site-main--front .alleco-front-search__form.alleco-store-search-form--top {
    grid-template-columns: minmax(0, 1fr);
  }
  .alleco-store-search-actions { flex-direction: column-reverse; align-items: stretch; gap: 6px; text-align: center; }
  .alleco-store-search-actions button[type="submit"] { width: 100%; }
}
.alleco-store-search-guidance { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--alleco-border); color: var(--alleco-muted); font-size: .84rem; line-height: 1.7; }
.alleco-store-search-active { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 14px; }
.alleco-store-search-active span { display: inline-flex; align-items: center; min-height: 28px; padding: 3px 9px; border-radius: 999px; background: var(--alleco-accent-soft); color: var(--alleco-accent-dark); font-size: .78rem; }
.alleco-store-search-match-note { margin: 0 0 20px; padding: 12px 14px; border-left: 3px solid var(--alleco-note-border); background: var(--alleco-note-bg); color: #625f51; font-size: .84rem; line-height: 1.7; }
.alleco-store-results-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin: 34px 0 16px; border-bottom: 1px solid var(--alleco-border); padding-bottom: 9px; }
.alleco-store-results-head h2 { margin: 0; font-size: 1.3rem; }
.alleco-store-results-head p { margin: 0; color: var(--alleco-muted); font-size: .86rem; }

.alleco-store-archive-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.alleco-store-archive-card { overflow: hidden; border: 1px solid var(--alleco-border); border-radius: 14px; background: #fff; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.alleco-store-archive-card:hover { border-color: var(--alleco-border-strong); box-shadow: var(--alleco-shadow); transform: translateY(-1px); }
.alleco-store-archive-card-link { display: grid; grid-template-columns: 38% minmax(0,1fr); height: 100%; color: inherit; text-decoration: none; }
.alleco-store-archive-image-wrap { min-height: 210px; background: var(--alleco-surface); overflow: hidden; }
.alleco-store-archive-image { width: 100%; height: 100%; object-fit: cover; display: block; }
.alleco-store-archive-no-image { width: 100%; height: 100%; min-height: 210px; display: grid; place-items: center; color: #87908c; font-size: .8rem; letter-spacing: .08em; }
.alleco-store-archive-card-body { min-width: 0; padding: 17px 17px 16px; }
.alleco-store-card-heading-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.alleco-store-archive-card-title { margin: 0; color: var(--alleco-text); font-size: 1.08rem; line-height: 1.45; }
.alleco-store-business-badge { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 24px; padding: 2px 7px; border-radius: 999px; background: #f1f3f2; color: #5d6863; font-size: .72rem; font-weight: 700; }
.alleco-store-business-badge.is-temporarily_closed { background: #fff5df; color: #7a5a17; }
.alleco-store-business-badge.is-closed { background: var(--alleco-danger-soft); color: #8b4339; }
.alleco-store-business-badge.is-relocated { background: #eef2fb; color: #465c8c; }
.alleco-store-archive-meta { margin: 6px 0 0; color: var(--alleco-muted); font-size: .82rem; line-height: 1.5; }
.alleco-store-card-evidence-chip {
  align-self: flex-start;
  display: inline-block;
  margin-top: 10px;
  padding: 2px 8px;
  border-radius: 5px;
  color: var(--alleco-accent-dark);
  background: var(--alleco-accent-soft);
  font-size: .8rem;
  font-weight: 700;
}
.alleco-store-card-evidence-chip + .alleco-store-card-primary-fact { margin-top: 5px; }
.alleco-store-card-target-label { margin-inline-end: 4px; color: var(--alleco-muted); font-size: .8rem; font-weight: 500; }
.alleco-store-card-primary-fact { margin: 13px 0 0; color: #2f443b; font-size: .9rem; font-weight: 700; line-height: 1.65; }
.alleco-store-card-primary-fact.is-unknown { color: var(--alleco-muted); font-weight: 500; }
.alleco-store-card-support-facts { display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 10px 0 0; padding: 0; list-style: none; color: #64706b; font-size: .78rem; line-height: 1.45; }
.alleco-store-card-support-facts li::before { content: '・'; }
.alleco-store-archive-more { display: inline-block; margin-top: 12px; color: var(--alleco-accent-dark); font-size: .82rem; font-weight: 700; }
.alleco-store-name-suggestions {
  max-width: 720px;
  padding: 14px 16px;
  border: 1px solid var(--alleco-border-strong);
  border-inline-start: 4px solid var(--alleco-accent);
  border-radius: 10px;
  background: var(--alleco-accent-soft);
}
.alleco-store-name-suggestions h3 { margin: 0 0 8px; color: var(--alleco-accent-dark); font-size: 1rem; }
.alleco-store-name-suggestions ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 195px), 1fr));
  gap: 10px;
  max-width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}
.alleco-store-name-suggestions li { width: 100%; max-width: 252px; min-width: 0; }
.alleco-store-name-suggestions a {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--alleco-border-strong);
  border-radius: 9px;
  background: #fff;
  color: var(--alleco-text);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.alleco-store-name-suggestion-media {
  display: grid;
  place-items: center;
  aspect-ratio: 500 / 263;
  overflow: hidden;
  background: var(--alleco-surface-soft);
  color: var(--alleco-muted);
  font-size: .8rem;
  text-align: center;
}
.alleco-store-name-suggestion-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.alleco-store-name-suggestion-body { display: grid; gap: 2px; align-content: start; padding: 9px 11px 11px; }
.alleco-store-name-suggestion-name { font-weight: 700; }
.alleco-store-name-suggestion-region { color: var(--alleco-muted); font-size: .875rem; }
.alleco-store-name-suggestion-action { margin-top: 5px; color: var(--alleco-accent-dark); font-size: .82rem; font-weight: 700; }
.alleco-store-name-suggestions a:hover .alleco-store-name-suggestion-action { text-decoration: underline; }
.alleco-store-name-suggestions a:hover { border-color: var(--alleco-accent); }
.alleco-store-name-suggestions a:focus-visible { outline: 2px solid var(--alleco-accent-dark); outline-offset: 2px; }
.alleco-store-search-empty { max-width: 720px; padding: 26px 0 10px; }
.alleco-store-search-empty h2 { margin: 0 0 10px; font-size: 1.25rem; }
.alleco-store-search-empty p { margin: 0 0 18px; color: var(--alleco-muted); line-height: 1.8; }

.alleco-store-v01-meta-chip { display: inline-flex; align-items: center; min-height: 27px; padding: 3px 8px; border-radius: 999px; background: var(--alleco-surface-strong); color: var(--alleco-accent-dark); font-size: .76rem; }

/* 店舗詳細: 強い情報は絞り、通常情報は余白と罫線で整理する */
.alleco-store-v01 { --alleco-soft-bg: var(--alleco-surface); --alleco-text-sub: var(--alleco-muted); width: min(100%, var(--alleco-store)); margin-inline: auto; }
.alleco-store-v01, .alleco-store-v01 * { box-sizing: border-box; }
.alleco-store-v01 .entry-header { margin-bottom: 30px; }
.alleco-store-v01 .alleco-store-v01-identity { margin-bottom: 20px; }
.alleco-store-v01 .alleco-store-v01-store-name-en { margin: 4px 0 0; color: var(--alleco-muted); }
.alleco-store-v01 .alleco-store-v01-meta { display:flex; flex-wrap:wrap; gap:7px; margin-top:12px; }
.alleco-store-v01 .alleco-store-v01-business-status { margin: 0 0 22px; padding: 14px 16px; border-left: 4px solid var(--alleco-border-strong); background: var(--alleco-surface-soft); }
.alleco-store-v01 .alleco-store-v01-business-status-closed { border-color: var(--alleco-danger-border); background: var(--alleco-danger-soft); }
.alleco-store-v01 .alleco-store-v01-eyecatch { margin: 0 0 24px; border-radius: var(--alleco-radius); overflow:hidden; background:var(--alleco-soft-bg); }
.alleco-store-v01 .alleco-store-v01-eyecatch-image { width:100%; max-height:560px; display:block; object-fit:cover; }
.alleco-store-v01 .alleco-store-v01-no-image { min-height:230px; display:grid; place-items:center; padding:28px; border:1px dashed var(--alleco-border-strong); border-radius:var(--alleco-radius); background:var(--alleco-surface-soft); color:#6f7a75; text-align:center; }
.alleco-store-v01 .alleco-store-v01-no-image-title { margin:0; font-size:1.05rem; font-weight:750; color:var(--alleco-text); }
.alleco-store-v01 .alleco-store-v01-no-image-text { margin:6px 0 0; }
.alleco-store-v01 .alleco-store-v01-no-image-cta { max-width:580px; margin-top:18px; padding-top:16px; border-top:1px solid var(--alleco-border); }
.alleco-store-v01 .alleco-store-v01-no-image-cta-label { margin:0; font-size:.78rem; font-weight:750; }
.alleco-store-v01 .alleco-store-v01-no-image-cta-text { margin:5px 0; }
.alleco-store-v01 .alleco-store-v01-no-image-cta-link { font-weight:700; }
.alleco-store-v01 .alleco-store-v01-gallery-source-section { margin: 32px 0; }
.alleco-store-v01 .alleco-store-v01-gallery { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.alleco-store-v01 .alleco-store-v01-gallery-item { aspect-ratio:4/3; overflow:hidden; border-radius:9px; background:var(--alleco-soft-bg); }
.alleco-store-v01 .alleco-store-v01-gallery-item.is-hidden { display:none; }
.alleco-store-v01 .alleco-store-v01-gallery-link { display:block; width:100%; height:100%; }
.alleco-store-v01 .alleco-store-v01-gallery-image { width:100%; height:100%; object-fit:cover; display:block; }
.alleco-store-v01 .alleco-store-v01-gallery-toggle, .alleco-store-v01 .alleco-store-v01-detail-toggle, .alleco-store-v01 .alleco-store-v01-private-records-toggle { width:100%; margin-top:10px; padding:12px 0; border:0; border-top:1px solid var(--alleco-border); border-radius:0; background:#fff; color:var(--alleco-text); cursor:pointer; text-align:left; }
.alleco-store-v01 .alleco-store-v01-section, .alleco-store-v01 .alleco-store-v01-summary-section, .alleco-store-v01 .alleco-store-v01-pre-use-notice { margin: 38px 0; }
.alleco-store-v01 .alleco-store-v01-section > h2, .alleco-store-v01 .alleco-store-v01-summary-section > h2, .alleco-store-v01 .alleco-store-v01-pre-use-notice > h2 { margin:0 0 16px; font-size:1.38rem; line-height:1.5; }
.alleco-store-v01 .alleco-store-v01-section > h3, .alleco-store-v01 .alleco-store-v01-detail-content > h3 { margin:24px 0 12px; font-size:1.08rem; }
.alleco-store-v01 .alleco-store-v01-summary-card { padding:20px; border:1px solid var(--alleco-border-strong); border-radius:var(--alleco-radius); background:var(--alleco-accent-soft); }
.alleco-store-v01 .alleco-store-v01-summary-card.is-unconfirmed { background:var(--alleco-surface-soft); }
.alleco-store-v01 .alleco-store-v01-request-box, .alleco-store-v01 .alleco-store-v01-confirmation-card, .alleco-store-v01 .alleco-store-v01-private-records { padding:18px; border:1px solid var(--alleco-border); border-radius:var(--alleco-radius); background:#fff; }
.alleco-store-v01 .alleco-store-v01-message-feature .alleco-store-v01-request-box { background:var(--alleco-surface-soft); }
.alleco-store-v01 .alleco-store-v01-detail-section { padding:0; border:0; border-top:1px solid var(--alleco-border); border-radius:0; background:#fff; box-shadow:none; }
.alleco-store-v01 .alleco-store-v01-detail-section > summary { margin:0; }
.alleco-store-v01 .alleco-store-v01-detail-content { padding:4px 0 8px; }
.alleco-store-v01 .alleco-store-v01-confirmation-cards { display:grid; gap:12px; }
.alleco-store-v01 .alleco-store-v01-info-list { margin:0; }
.alleco-store-v01 .alleco-store-v01-info-row { display:grid; grid-template-columns:minmax(130px,190px) 1fr; gap:16px; padding:12px 0; border-bottom:1px solid var(--alleco-border); }
.alleco-store-v01 .alleco-store-v01-info-row:last-child { border-bottom:0; }
.alleco-store-v01 .alleco-store-v01-info-row dt { font-weight:700; }
.alleco-store-v01 .alleco-store-v01-info-row dd { margin:0; }
.alleco-store-v01 .alleco-store-v01-section-lead, .alleco-store-v01 .alleco-store-v01-summary-verified, .alleco-store-v01 .alleco-store-v01-information-note { color:var(--alleco-muted); font-size:.9rem; }
.alleco-store-v01 .alleco-store-v01-pre-use-notice-box { border-color:var(--alleco-note-border); background:var(--alleco-note-bg); }
.alleco-store-v01 .alleco-store-v01-consultation-fallback { margin-top:-18px; padding-left:14px; border-left:3px solid var(--alleco-border-strong); color:var(--alleco-muted); }
.alleco-store-v01 .alleco-store-v01-consultation-action-links { display:flex; flex-wrap:wrap; gap:10px; }
.alleco-store-v01 .alleco-store-v01-consultation-action-link { display:inline-flex; padding:9px 13px; border:1px solid var(--alleco-accent); border-radius:8px; text-decoration:none; font-weight:700; }
.alleco-store-v01 .alleco-store-v01-consultation-action-link.is-primary { background:var(--alleco-accent); color:#fff; }
.alleco-store-v01 .alleco-store-v01-small-heading { margin-bottom:7px; font-weight:750; }
.alleco-store-v01 .alleco-store-v01-message-credit { color:var(--alleco-muted); font-size:.86rem; }
.alleco-store-v01-lightbox { position:fixed; inset:0; z-index:99999; display:none; align-items:center; justify-content:center; padding:20px; }
.alleco-store-v01-lightbox.is-open { display:flex; }
body.alleco-store-v01-lightbox-open { overflow:hidden; }
.alleco-store-v01-lightbox-backdrop { position:absolute; inset:0; background:rgba(0,0,0,.86); }
.alleco-store-v01-lightbox-panel { position:relative; z-index:1; width:min(1100px,100%); max-height:92vh; display:flex; align-items:center; justify-content:center; }
.alleco-store-v01-lightbox-figure { margin:0; max-width:calc(100% - 100px); }
.alleco-store-v01-lightbox-image { max-width:100%; max-height:82vh; object-fit:contain; display:block; }
.alleco-store-v01-lightbox-close, .alleco-store-v01-lightbox-nav { position:absolute; z-index:2; border:0; border-radius:999px; background:#fff; width:44px; height:44px; cursor:pointer; }
.alleco-store-v01-lightbox-close { top:0; right:0; }
.alleco-store-v01-lightbox-prev { left:0; }
.alleco-store-v01-lightbox-next { right:0; }


/* =========================================================
   地域ポータル共通UI｜石垣島・沖縄本島
   固定ページタイトルを唯一のH1として残し、地域名は表示ラベルとして扱う。
   ========================================================= */

.alleco-ishigaki-portal,
.alleco-okinawa-portal {
  --alleco-portal-warm: #fff8ef;
  --alleco-portal-border: #eadfce;
  --alleco-portal-text: #33423c;
  --alleco-portal-muted: #68736e;
  --alleco-portal-link: #315f4d;
  margin-top: 4px;
  color: var(--alleco-portal-text);
}

.alleco-ishigaki-portal *,
.alleco-okinawa-portal * { box-sizing: border-box; }

.alleco-ishigaki-hero,
.alleco-okinawa-hero {
  display: grid;
  grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr);
  align-items: stretch;
  overflow: hidden;
  margin: 0 0 56px;
  border: 1px solid var(--alleco-portal-border);
  border-radius: 18px;
  background: var(--alleco-portal-warm);
}

.alleco-ishigaki-hero-text,
.alleco-okinawa-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(26px,4vw,42px);
}

.alleco-ishigaki-portal-name,
.alleco-okinawa-portal-name {
  margin: 0 0 14px !important;
  color: #3d4b45 !important;
  font-size: clamp(1.55rem,3vw,2.15rem) !important;
  font-weight: 760;
  letter-spacing: .04em;
  line-height: 1.3 !important;
}

.alleco-ishigaki-hero-text p:not(.alleco-ishigaki-portal-name),
.alleco-okinawa-hero-copy p:not(.alleco-okinawa-portal-name) {
  margin: 0;
  color: #53605b;
  line-height: 1.9;
}

.alleco-ishigaki-hero-text p + p,
.alleco-okinawa-hero-copy p + p { margin-top: 10px !important; }

.alleco-ishigaki-hero-text .alleco-ishigaki-lead,
.alleco-okinawa-hero-copy > .alleco-okinawa-portal-name + p { font-weight: 650; color: #3f4c47; }

.alleco-ishigaki-hero-image,
.alleco-okinawa-hero-image {
  min-height: 320px;
  margin: 0 !important;
  background: #eee9e1;
}

.alleco-ishigaki-hero-image img,
.alleco-okinawa-hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  margin: 0;
  border-radius: 0 !important;
  object-fit: cover;
}

.alleco-ishigaki-section,
.alleco-okinawa-section { margin: 0 0 58px; }

.alleco-ishigaki-section > h2,
.alleco-okinawa-section-title {
  margin: 0 0 22px !important;
  padding: 0 0 10px;
  border-bottom: 1px solid var(--alleco-border);
  color: var(--alleco-text);
  font-size: clamp(1.35rem,2.5vw,1.65rem) !important;
}

/* 「まずはこちら」は選択肢としてカード化する */
.alleco-ishigaki-featured-grid,
.alleco-okinawa-featured-grid {
  display: grid !important;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 18px !important;
  margin: 0 !important;
}

.alleco-okinawa-featured-grid > .wp-block-column,
.alleco-okinawa-theme-grid > .wp-block-column,
.alleco-okinawa-days > .wp-block-column { min-width: 0; margin: 0 !important; }

.alleco-ishigaki-featured-card,
.alleco-okinawa-featured-card {
  overflow: hidden;
  min-width: 0;
  border: 1px solid var(--alleco-border);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 3px 14px rgba(34,51,43,.05);
}

.alleco-ishigaki-featured-card {
  display: grid;
  grid-template-columns: 42% minmax(0,1fr);
  color: inherit;
  text-decoration: none;
}

.alleco-okinawa-featured-card { height: 100%; }

.alleco-ishigaki-featured-image,
.alleco-okinawa-featured-image { overflow: hidden; margin: 0 !important; background: var(--alleco-surface); }

.alleco-ishigaki-featured-image img,
.alleco-okinawa-featured-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 210px;
  margin: 0;
  border-radius: 0 !important;
  object-fit: cover;
}

.alleco-ishigaki-featured-body,
.alleco-okinawa-featured-body {
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.alleco-ishigaki-card-label {
  align-self: flex-start;
  margin-bottom: 8px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--alleco-accent-soft);
  color: var(--alleco-accent-dark);
  font-size: .76rem;
  font-weight: 750;
}

.alleco-ishigaki-featured-body h3,
.alleco-okinawa-featured-body h3 {
  margin: 0 0 8px !important;
  font-size: 1.1rem !important;
  line-height: 1.55;
}

.alleco-ishigaki-featured-body p,
.alleco-okinawa-featured-body p { margin: 0 !important; color: var(--alleco-muted); font-size: .92rem; }

.alleco-ishigaki-more,
.alleco-okinawa-more { margin-top: auto !important; padding-top: 14px; font-weight: 700; }

/* テーマ分類はカードだらけにせず、余白と罫線で分ける */
.alleco-ishigaki-theme-grid,
.alleco-okinawa-theme-grid {
  display: grid !important;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 0 28px !important;
  margin: 0 !important;
}

.alleco-ishigaki-theme-card,
.alleco-okinawa-theme-card {
  min-width: 0;
  padding: 22px 0 24px !important;
  border: 0 !important;
  border-top: 1px solid var(--alleco-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.alleco-ishigaki-theme-card.is-wide,
.alleco-okinawa-theme-card.is-wide { grid-column: 1 / -1; }

.alleco-ishigaki-theme-card h3,
.alleco-okinawa-theme-heading { margin: 0 0 8px !important; font-size: 1.08rem !important; }

.alleco-ishigaki-theme-card p,
.alleco-okinawa-theme-lead { margin: 0 0 12px !important; color: var(--alleco-muted); font-size: .92rem; }

.alleco-ishigaki-link-list,
.alleco-okinawa-link-list { margin: 0 !important; padding: 0 !important; list-style: none !important; }

.alleco-ishigaki-link-list a,
.alleco-okinawa-link-list a {
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid #edf0ee;
  color: var(--alleco-portal-link);
  text-decoration: none;
}

.alleco-ishigaki-link-list a:hover,
.alleco-okinawa-link-list a:hover { text-decoration: underline; }

.alleco-ishigaki-highlight-link { display: inline-block; margin: 0 0 8px; font-weight: 700; }

/* 日程は補助ナビとしてコンパクトに */
.alleco-ishigaki-days,
.alleco-okinawa-days {
  display: grid !important;
  grid-template-columns: repeat(5,minmax(0,1fr));
  gap: 10px !important;
  margin: 0 !important;
}

.alleco-ishigaki-days a,
.alleco-okinawa-day-card {
  min-height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px !important;
  border: 1px solid var(--alleco-border);
  border-radius: 10px;
  background: var(--alleco-surface-soft);
  color: inherit;
  text-decoration: none;
}

.alleco-ishigaki-days strong,
.alleco-okinawa-day-card h3 { margin: 0 !important; font-size: .95rem !important; }

.alleco-ishigaki-days span,
.alleco-okinawa-day-card > p { margin: 8px 0 0 !important; color: var(--alleco-muted); font-size: .84rem; line-height: 1.5; }

.alleco-okinawa-day-more { margin: 10px 0 0 !important; font-size: .82rem; }
.alleco-okinawa-days-intro,
.alleco-ishigaki-section-lead { color: var(--alleco-muted); }

@media (max-width: 860px) {
  .alleco-ishigaki-hero,
  .alleco-okinawa-hero { grid-template-columns: 1fr; }

  .alleco-ishigaki-featured-grid,
  .alleco-okinawa-featured-grid,
  .alleco-ishigaki-theme-grid,
  .alleco-okinawa-theme-grid { grid-template-columns: 1fr; }

  .alleco-ishigaki-featured-card { grid-template-columns: 36% minmax(0,1fr); }
  .alleco-ishigaki-theme-card.is-wide,
  .alleco-okinawa-theme-card.is-wide { grid-column: auto; }

  .alleco-ishigaki-days,
  .alleco-okinawa-days { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

@media (max-width: 560px) {
  .alleco-ishigaki-hero,
  .alleco-okinawa-hero { margin-bottom: 38px; border-radius: 12px; }

  .alleco-ishigaki-hero-text,
  .alleco-okinawa-hero-copy { padding: 20px 18px; }

  .alleco-ishigaki-portal-name,
  .alleco-okinawa-portal-name { margin-bottom: 9px !important; font-size: 1.45rem !important; }

  .alleco-ishigaki-hero-image,
  .alleco-okinawa-hero-image,
  .alleco-ishigaki-hero-image img,
  .alleco-okinawa-hero-image img { min-height: 0; aspect-ratio: 16/10; }

  .alleco-ishigaki-section,
  .alleco-okinawa-section { margin-bottom: 42px; }

  .alleco-ishigaki-featured-card { grid-template-columns: 1fr; }
  .alleco-ishigaki-featured-image img,
  .alleco-okinawa-featured-image img { min-height: 0; aspect-ratio: 16/9; }
  .alleco-ishigaki-featured-body,
  .alleco-okinawa-featured-body { padding: 17px; }

  .alleco-ishigaki-theme-card,
  .alleco-okinawa-theme-card { padding: 18px 0 20px !important; }

  .alleco-ishigaki-days,
  .alleco-okinawa-days { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px !important; }
}

/* 404 */
.alleco-not-found { padding-block: 18px; }
.alleco-recovery-links { display:flex; flex-wrap:wrap; gap:10px; margin-top:24px; }

.navigation.pagination { margin-top: 30px; }
.nav-links { display:flex; flex-wrap:wrap; gap:8px; }
.page-numbers { display:inline-flex; min-width:36px; min-height:36px; align-items:center; justify-content:center; padding:5px 10px; border:1px solid var(--alleco-border); border-radius:8px; text-decoration:none; }
.page-numbers.current { background:var(--alleco-accent); color:#fff; border-color:var(--alleco-accent); }

.screen-reader-text { position:absolute !important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

@media (max-width: 860px) {
  .alleco-shell { width:min(calc(100% - 30px), var(--alleco-max)); }
  .site-header__inner { min-height:70px; grid-template-columns:minmax(0,1fr) auto; gap:12px 16px; padding-block:12px; }
  .site-branding { min-width:0; }
  .site-description { max-width:54vw; }
  .site-store-cta { grid-column:2; grid-row:1; }
  .primary-nav { grid-column:1 / -1; width:100%; overflow-x:auto; border-top:1px solid var(--alleco-border); padding-top:10px; }
  .primary-nav ul { flex-wrap:nowrap; gap:16px; padding-bottom:2px; }
  .primary-nav li { white-space:nowrap; }
  .site-footer__inner { grid-template-columns:1fr; }
  .site-footer__meta { grid-column:auto; }
  .alleco-front-store-entry { grid-template-columns:1fr; }
  .alleco-front-store-entry .alleco-button { justify-self:start; }
  .alleco-home-area-card-main { grid-template-columns:1fr; }
  .alleco-home-area-main-image { min-height:220px; }
  .post-list, .alleco-store-archive-grid { grid-template-columns:1fr; }
  .alleco-store-v01 .alleco-store-v01-gallery { grid-template-columns:1fr 1fr; }
  .alleco-store-v01 .alleco-store-v01-info-row { grid-template-columns:1fr; gap:4px; }
}

@media (max-width: 560px) {
  body { font-size:15px; }
  .alleco-shell { width:min(calc(100% - 24px), var(--alleco-max)); }
  .site-title { font-size:1.16rem; }
  .site-description { display:none; }
  .site-store-cta { min-height:38px; padding:7px 13px; font-size:.84rem; }
  .site-main { padding-top:22px; padding-bottom:56px; }
  .site-main--front { padding-top:0; }
  .alleco-front-intro { padding:38px 0 30px; }
  .alleco-home-guide, .alleco-home-area-secondary, .alleco-home-links { grid-template-columns:1fr; }
  .entry-title, .archive-title, .alleco-front-title, .entry-content h1 { font-size:1.72rem; }
  .alleco-store-v01 .alleco-store-v01-gallery { grid-template-columns:1fr; }
  .alleco-store-v01-lightbox-figure { max-width:100%; }
  .alleco-store-v01-lightbox-nav { display:none; }
  .alleco-store-search-panel { padding:16px; }
  .alleco-store-search-fields { gap:11px; }
  .alleco-store-search-field-wide { grid-column:auto; }
  .alleco-store-archive-card-link { grid-template-columns:112px minmax(0,1fr); }
  .alleco-store-archive-image-wrap, .alleco-store-archive-no-image { min-height:146px; }
  .alleco-store-archive-card-body { padding:14px 14px 13px; }
  .alleco-store-archive-card-title { font-size:1rem; }
  .alleco-store-card-primary-fact { margin-top:9px; font-size:.84rem; }
  .alleco-store-card-support-facts { margin-top:8px; font-size:.74rem; }
  .alleco-store-archive-more { margin-top:9px; }
}

/* =========================================================
   v0.5.0 店舗詳細UI
   「静かな縦構造＋整理された情報＋店の温度感」を優先。
   写真やカードを骨格にせず、食の判断材料を最上位の情報として扱う。
   ========================================================= */
.alleco-store-detail-shell {
  width: min(100%, var(--alleco-store));
  margin-inline: auto;
}

.alleco-store-v01 {
  width: 100%;
  color: var(--alleco-text);
}

.alleco-store-v01 .entry-header {
  margin-bottom: 34px;
}

.alleco-store-v01 .alleco-store-v01-identity {
  margin-bottom: 24px;
}

.alleco-store-v01 .entry-title {
  max-width: 820px;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.28;
  letter-spacing: 0;
}

.alleco-store-v01 .alleco-store-v01-store-name-en {
  margin-top: 6px;
  font-size: .86rem;
}

.alleco-store-v01 .alleco-store-v01-meta {
  gap: 8px;
  margin-top: 14px;
}

.alleco-store-v01 .alleco-store-v01-meta-chip {
  min-height: 28px;
  padding: 3px 9px;
  background: #f3f6f4;
  color: #52615a;
  font-size: .78rem;
  font-weight: 650;
}

.alleco-store-v01 .alleco-store-v01-business-status {
  margin-bottom: 24px;
  padding: 13px 16px;
  border-radius: 0 9px 9px 0;
  font-size: .9rem;
}

.alleco-store-v01 .alleco-store-v01-business-status p {
  margin: 0;
}

.alleco-store-v01 .alleco-store-v01-business-status p + p {
  margin-top: 4px;
  color: var(--alleco-muted);
  font-size: .84rem;
}

/* 店舗提供写真だけを上部の温度感として使う */
.alleco-store-v01 .alleco-store-v01-eyecatch {
  margin-bottom: 30px;
  border-radius: 16px;
  box-shadow: var(--alleco-shadow);
}

.alleco-store-v01 .alleco-store-v01-eyecatch-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 520px;
  object-fit: cover;
}

.alleco-store-v01 .alleco-store-v01-no-image {
  min-height: 190px;
  box-shadow: none;
}

.alleco-store-v01 .alleco-store-v01-no-image-title {
  font-size: 1rem;
}

/* 最重要：食について現在分かっていること */
.alleco-store-v01 .alleco-store-v01-summary-section {
  margin: 34px 0 42px;
}

.alleco-store-v01 .alleco-store-v01-summary-section > h2 {
  margin-bottom: 14px;
  padding-left: 12px;
  border-left: 4px solid var(--alleco-accent);
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
}

.alleco-store-v01 .alleco-store-v01-summary-card {
  padding: clamp(20px, 3.5vw, 28px);
  border-color: #cbdcd3;
  border-radius: 16px;
  background: linear-gradient(180deg, #f3f8f5 0%, #edf5f1 100%);
  box-shadow: 0 5px 18px rgba(47, 86, 72, .05);
}

.alleco-store-v01 .alleco-store-v01-summary-card.is-unconfirmed {
  border-color: var(--alleco-border);
  background: var(--alleco-surface-soft);
  box-shadow: none;
}

.alleco-store-v01 .alleco-store-v01-summary-source-group + .alleco-store-v01-summary-source-group {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(63,111,93,.16);
}

.alleco-store-v01 .alleco-store-v01-summary-source-title {
  margin: 0 0 8px;
  color: var(--alleco-accent-dark);
  font-size: .8rem;
  font-weight: 760;
  letter-spacing: .04em;
}

.alleco-store-v01 .alleco-store-v01-summary-detail-link {
  margin: 12px 0 0;
  font-size: .88rem;
  font-weight: 700;
}

.alleco-store-v01 .alleco-store-v01-consultation-actions {
  margin: -22px 0 42px;
  padding-top: 2px;
}

.alleco-store-v01 .alleco-store-v01-consultation-action-links {
  gap: 10px;
}

.alleco-store-v01 .alleco-store-v01-consultation-action-link {
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border-radius: 999px;
}

.alleco-store-v01 .alleco-store-v01-consultation-actions-note {
  max-width: 720px;
  margin: 9px 0 0;
  color: var(--alleco-muted);
  font-size: .8rem;
}

/* 店の言葉は温度感。食の確認事実より強くしない */
.alleco-store-v01 .alleco-store-v01-message-feature {
  margin: 42px 0;
}

.alleco-store-v01 .alleco-store-v01-message-feature > h2 {
  font-size: 1.25rem;
}

.alleco-store-v01 .alleco-store-v01-message-feature .alleco-store-v01-request-box {
  padding: clamp(20px, 3.2vw, 26px);
  border-color: var(--alleco-border);
  background: #fbfaf7;
}

.alleco-store-v01 .alleco-store-v01-message-feature img {
  float: left;
  width: 112px;
  height: 112px;
  margin: 0 18px 10px 0;
  border-radius: 12px;
  object-fit: cover;
}

.alleco-store-v01 .alleco-store-v01-message-full::after {
  content: "";
  display: table;
  clear: both;
}

/* 基本情報はカード化しすぎず、罫線と余白で読む */
.alleco-store-v01 .alleco-store-v01-store-section {
  margin-top: 46px;
  padding-top: 8px;
}

.alleco-store-v01 .alleco-store-v01-store-section > h2,
.alleco-store-v01 .alleco-store-v01-section > h2 {
  padding-left: 10px;
  border-left: 3px solid var(--alleco-accent);
}

.alleco-store-v01 .alleco-store-v01-store-section > h3 {
  margin-top: 24px;
  color: #4c5b54;
  font-size: .98rem;
}

.alleco-store-v01 .alleco-store-v01-info-row {
  grid-template-columns: minmax(140px, 190px) minmax(0,1fr);
  gap: 18px;
  padding: 13px 0;
}

.alleco-store-v01 .alleco-store-v01-info-row dt {
  color: #52615a;
  font-size: .88rem;
}

.alleco-store-v01 .alleco-store-v01-info-row dd {
  color: var(--alleco-text);
}

.alleco-store-v01 .alleco-store-v01-sns-list {
  margin: 0;
  padding-left: 1.1em;
}

/* 詳細項目は必要な時に開く。重要な食の概要は上ですでに露出している */
.alleco-store-v01 .alleco-store-v01-detail-policy-note {
  margin: 0 0 14px;
  padding: 14px 0 18px;
  border-bottom: 1px solid var(--alleco-border);
  color: var(--alleco-muted);
  font-size: .86rem;
}

.alleco-store-v01 .alleco-store-v01-detail-section {
  margin: 0;
  border-top: 1px solid var(--alleco-border);
}

.alleco-store-v01 .alleco-store-v01-detail-toggle {
  position: relative;
  margin: 0;
  padding: 18px 38px 18px 0;
  border-top: 0;
  font-weight: 700;
}

.alleco-store-v01 .alleco-store-v01-detail-toggle::after,
.alleco-store-v01 .alleco-store-v01-private-records-toggle::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 4px;
  transform: translateY(-50%);
  color: var(--alleco-muted);
  font-size: 1.2rem;
  font-weight: 400;
}

.alleco-store-v01 details[open] > .alleco-store-v01-detail-toggle::after,
.alleco-store-v01 details[open] > .alleco-store-v01-private-records-toggle::after {
  content: "−";
}

.alleco-store-v01 .alleco-store-v01-detail-toggle-copy,
.alleco-store-v01 .alleco-store-v01-private-records-toggle-copy {
  display: grid;
  gap: 3px;
}

.alleco-store-v01 .alleco-store-v01-detail-toggle-copy small,
.alleco-store-v01 .alleco-store-v01-private-records-toggle-copy small {
  color: var(--alleco-muted);
  font-weight: 400;
  font-size: .8rem;
}

.alleco-store-v01 .alleco-store-v01-detail-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 10px;
  margin-top: 4px;
  color: #617069;
  font-size: .76rem;
  font-weight: 500;
}

.alleco-store-v01 .alleco-store-v01-detail-content {
  padding: 2px 0 24px;
}

/* 注意事項は必要だが、ページを赤い警告壁にしない */
.alleco-store-v01 .alleco-store-v01-pre-use-notice {
  margin: 46px 0 40px;
}

.alleco-store-v01 .alleco-store-v01-pre-use-notice > h2 {
  font-size: 1.05rem;
  color: #4d574f;
}

.alleco-store-v01 .alleco-store-v01-pre-use-notice-box {
  padding: 18px 20px;
  border-color: #e4ddc9;
  background: #fffdf7;
  color: #4e514e;
  font-size: .86rem;
}

.alleco-store-v01 .alleco-store-v01-pre-use-list {
  margin: 0;
  padding-left: 1.25em;
}

.alleco-store-v01 .alleco-store-v01-pre-use-list li + li {
  margin-top: 8px;
}

/* 店舗提供ギャラリーは上部寄り、alleco現地写真は下部記録内のまま */
.alleco-store-v01 .alleco-store-v01-gallery-source-section {
  margin: 38px 0 44px;
}

.alleco-store-v01 .alleco-store-v01-gallery-source-section > h2 {
  font-size: 1.16rem;
}

.alleco-store-v01 .alleco-store-v01-gallery {
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 8px;
}

.alleco-store-v01 .alleco-store-v01-private-records {
  margin-top: 46px;
  padding: 0;
  border: 0;
  border-top: 1px solid var(--alleco-border-strong);
  border-radius: 0;
  background: transparent;
}

.alleco-store-v01 .alleco-store-v01-private-records-toggle {
  position: relative;
  margin: 0;
  padding: 20px 38px 20px 0;
  border-top: 0;
  background: transparent;
}

.alleco-store-v01 .alleco-store-v01-private-records-content {
  padding: 0 0 12px;
}

.alleco-store-v01 .alleco-store-v01-private-records-note {
  color: var(--alleco-muted);
  font-size: .82rem;
}

.alleco-store-v01 .alleco-store-v01-confirmation-card {
  padding: 18px 0;
  border: 0;
  border-bottom: 1px solid var(--alleco-border);
  border-radius: 0;
}

@media (max-width: 760px) {
  .alleco-store-detail-shell {
    width: 100%;
  }

  .alleco-store-v01 .entry-title {
    font-size: clamp(1.72rem, 8vw, 2.15rem);
  }

  .alleco-store-v01 .alleco-store-v01-eyecatch-image {
    aspect-ratio: 4 / 3;
  }

  .alleco-store-v01 .alleco-store-v01-summary-card {
    padding: 18px;
    border-radius: 13px;
  }

  .alleco-store-v01 .alleco-store-v01-consultation-action-links {
    display: grid;
    grid-template-columns: 1fr;
  }

  .alleco-store-v01 .alleco-store-v01-consultation-action-link {
    width: 100%;
  }

  .alleco-store-v01 .alleco-store-v01-message-feature img {
    float: none;
    width: 100%;
    height: auto;
    max-height: 260px;
    margin: 0 0 14px;
  }

  .alleco-store-v01 .alleco-store-v01-info-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .alleco-store-v01 .alleco-store-v01-gallery {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}


/* =========================================================
   v0.5.1 店舗詳細：食の具体的事実を最優先にする
   ========================================================= */
.alleco-store-v01 .alleco-store-v01-food-known-section {
  margin: 30px 0 40px;
}

.alleco-store-v01 .alleco-store-v01-food-known-section > h2 {
  margin: 0 0 10px;
  padding-left: 12px;
  border-left: 4px solid var(--alleco-accent);
  font-size: clamp(1.4rem, 2.7vw, 1.72rem);
  line-height: 1.45;
}

.alleco-store-v01 .alleco-store-v01-food-known-lead {
  max-width: 760px;
  margin: 0 0 18px;
  color: var(--alleco-muted);
  font-size: .88rem;
  line-height: 1.75;
}

.alleco-store-v01 .alleco-store-v01-food-known-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 14px;
}

.alleco-store-v01 .alleco-store-v01-food-known-source {
  padding: clamp(18px, 3vw, 24px);
  border: 1px solid #cbdcd3;
  border-radius: 15px;
  background: #f5f9f7;
}

.alleco-store-v01 .alleco-store-v01-food-known-source.is-alleco {
  background: #fffdf8;
  border-color: #e8dfcd;
}

.alleco-store-v01 .alleco-store-v01-food-known-source-title {
  margin: 0 0 12px;
  color: var(--alleco-accent-dark);
  font-size: .78rem;
  font-weight: 760;
  letter-spacing: .04em;
}

.alleco-store-v01 .alleco-store-v01-food-known-item + .alleco-store-v01-food-known-item {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(63,111,93,.13);
}

.alleco-store-v01 .alleco-store-v01-food-known-item h3 {
  margin: 0 0 5px;
  padding: 0;
  border: 0;
  font-size: 1rem;
  line-height: 1.55;
}

.alleco-store-v01 .alleco-store-v01-food-known-item p {
  margin: 0;
  line-height: 1.75;
}

.alleco-store-v01 .alleco-store-v01-food-known-more {
  margin: 13px 0 0;
  color: var(--alleco-muted);
  font-size: .82rem;
}

.alleco-store-v01 .alleco-store-v01-food-known-empty {
  padding: 18px 20px;
  border: 1px solid var(--alleco-border);
  border-radius: 14px;
  background: var(--alleco-surface-soft);
}

.alleco-store-v01 .alleco-store-v01-food-known-empty p {
  margin: 0;
}

.alleco-store-v01 .alleco-store-v01-food-known-empty p + p {
  margin-top: 6px;
  color: var(--alleco-muted);
  font-size: .86rem;
}

/* 相談受付は重要だが、具体的な食の確認事実より一段弱くする */
.alleco-store-v01 .alleco-store-v01-summary-section {
  margin-top: 38px;
}

.alleco-store-v01 .alleco-store-v01-summary-section > h2 {
  border-left-width: 3px;
  font-size: clamp(1.22rem, 2.2vw, 1.45rem);
}

/* 写真未提供の事業者CTAが利用者向け食情報より主役にならないよう抑える */
.alleco-store-v01 .alleco-store-v01-no-image {
  min-height: 132px;
  padding: 18px 22px;
}

.alleco-store-v01 .alleco-store-v01-no-image-cta {
  margin-top: 10px;
  padding-top: 10px;
  font-size: .82rem;
}



/* v0.6.0 front-page responsive */
@media screen and (max-width: 960px) {
  .alleco-front-search__form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .alleco-front-search__field--wide {
    grid-column: 1 / -1;
  }
  .alleco-front-search__submit {
    justify-self: start;
  }
}

@media screen and (max-width: 640px) {
  .alleco-front-hero {
    padding: 34px 0 30px;
  }
  .alleco-front-search {
    padding: 20px 16px;
    border-radius: 13px;
  }
  .alleco-front-search__head,
  .alleco-front-search__form {
    grid-template-columns: 1fr;
  }
  .alleco-front-search__field--wide {
    grid-column: auto;
  }
  .alleco-front-search__submit {
    width: 100%;
  }
  .alleco-front-search__footer {
    display: block;
  }
  .alleco-front-search__footer a {
    display: inline-block;
    margin-top: 8px;
  }
}

/* =========================================================
   v0.7.0 記事導線 / 一般サイト内検索
   ========================================================= */
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.alleco-article-header { margin-bottom: 26px; }
/* ARTICLE typography v2 — candidate only; common header/footer remain shared. */
.alleco-article .entry-title {
  font-size: clamp(1.72rem, 3vw, 1.95rem);
  line-height: 1.43;
  letter-spacing: .004em;
  overflow-wrap: break-word;
  line-break: strict;
}
.alleco-article .entry-content { line-height: 1.89; }
.alleco-article .entry-content h2 {
  margin: 2.18em 0 .85em;
  padding-bottom: .42em;
  border-bottom: 1px solid var(--alleco-border-strong);
  font-size: clamp(1.35rem, 2.3vw, 1.56rem);
  line-height: 1.52;
  letter-spacing: .003em;
}
.alleco-article .entry-content h3 {
  margin: 1.88em 0 .75em;
  font-size: 1.14rem;
  line-height: 1.58;
  font-weight: 740;
}
/* ARTICLE: permit long fallback video URLs to wrap on narrow screens. */
.alleco-article .entry-content .wp-block-embed__wrapper {
  overflow-wrap: anywhere;
}
/* ARTICLE 7434: three-column comparison table; CSS-only pilot, no Gutenberg edit. */
.alleco-article.post-7434 .entry-content figure.wp-block-table:has(> table > thead > tr > th:nth-child(3)) {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.alleco-article.post-7434 .entry-content figure.wp-block-table:has(> table > thead > tr > th:nth-child(3)) > table {
  min-width: 560px;
}
.alleco-article-context { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 12px; }
.alleco-context-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--alleco-accent-soft);
  color: var(--alleco-accent-dark);
  font-size: .78rem;
  font-weight: 700;
}
.alleco-context-chip--muted { background: var(--alleco-surface); color: var(--alleco-muted); }
.alleco-article-header .entry-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 11px; line-height: 1.6; }
.alleco-article-eyecatch { margin: 0 0 32px; }
.alleco-article-eyecatch img { width: 100%; border-radius: var(--alleco-radius-small); }

.alleco-article-next {
  margin-top: 54px;
  padding: 24px;
  border-top: 1px solid var(--alleco-border);
  background: var(--alleco-surface-soft);
  border-radius: var(--alleco-radius);
}
.alleco-article-next > h2 { margin: 4px 0 15px; font-size: 1.18rem; }
.alleco-article-next__links { display: grid; gap: 1px; border: 1px solid var(--alleco-border); border-radius: 10px; overflow: hidden; background: var(--alleco-border); }
.alleco-article-next__links a { display: grid; gap: 3px; padding: 14px 16px; background: #fff; color: inherit; text-decoration: none; }
.alleco-article-next__links a:hover { background: var(--alleco-accent-soft); }
.alleco-article-next__links strong { color: var(--alleco-accent-dark); font-size: .94rem; }
.alleco-article-next__links span { color: var(--alleco-muted); font-size: .82rem; line-height: 1.6; }

.alleco-site-search-header { max-width: 780px; }
.alleco-site-search-header > p:not(.alleco-eyebrow) { color: var(--alleco-muted); line-height: 1.8; }
.alleco-site-search-form { display: flex; gap: 10px; margin-top: 18px; }
.alleco-site-search-form label { flex: 1; }
.alleco-site-search-form input {
  width: 100%;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid var(--alleco-border-strong);
  border-radius: 9px;
  background: #fff;
  color: var(--alleco-text);
  font: inherit;
}
.alleco-site-search-form input:focus { outline: 2px solid rgba(63,111,93,.18); outline-offset: 1px; border-color: var(--alleco-accent); }
.alleco-site-search-store-link { display: inline-block; margin-top: 12px; color: var(--alleco-accent-dark); font-size: .88rem; font-weight: 700; }
.alleco-search-result-label { margin: 8px 0 22px; color: var(--alleco-muted); font-size: .9rem; }
.alleco-site-search-empty { max-width: 720px; padding: 18px 0 28px; }
.alleco-site-search-empty h2 { margin: 0 0 10px; font-size: 1.22rem; }
.alleco-site-search-empty p { color: var(--alleco-muted); line-height: 1.8; }
.post-card__meta { margin: 0 0 6px; color: var(--alleco-accent-dark); font-size: .76rem; font-weight: 700; }
.alleco-site-search-form--404 { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--alleco-border); }

.site-footer__search { max-width: 420px; }
.site-footer__search-title { margin: 0 0 8px; font-size: .86rem; font-weight: 700; }
.alleco-footer-search-form { display: flex; gap: 7px; }
.alleco-footer-search-form label { flex: 1; }
.alleco-footer-search-form input {
  width: 100%;
  min-height: 38px;
  padding: 7px 9px;
  border: 1px solid var(--alleco-border-strong);
  border-radius: 8px;
  background: #fff;
  color: var(--alleco-text);
  font: inherit;
  font-size: .84rem;
}
.alleco-footer-search-form button {
  min-height: 38px;
  padding: 6px 12px;
  border: 1px solid var(--alleco-border-strong);
  border-radius: 8px;
  background: #fff;
  color: var(--alleco-accent-dark);
  font: inherit;
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
}
.site-footer__search-note { margin: 7px 0 0; color: var(--alleco-muted); font-size: .76rem; line-height: 1.55; }
.site-footer__search-note a { color: inherit; }

@media (max-width: 680px) {
  .alleco-article .entry-title { font-size: clamp(1.65rem, 6vw, 1.84rem); }
  .alleco-article .entry-content h2 { margin-top: 2em; font-size: 1.34rem; }
  .alleco-article .entry-content h3 { font-size: 1.11rem; }
  .alleco-article-next { margin-top: 42px; padding: 18px; }
  .alleco-site-search-form { flex-direction: column; }
  .alleco-site-search-form .alleco-button { width: 100%; }
  .site-footer__search { width: 100%; max-width: none; }
}

/* =========================================================
   v0.8.0 トップページ下段：Design & Information System v1 最終構造
   ========================================================= */
.alleco-front-content .alleco-home-links {
  gap: 14px;
  margin: 1.15em 0 2.8em;
}
.alleco-front-content .alleco-home-links.is-single {
  grid-template-columns: 1fr;
}
.alleco-front-content .alleco-home-link-card {
  display: block;
  min-width: 0;
  padding: 18px 0 20px;
  border-top: 1px solid var(--alleco-border-strong);
}
.alleco-front-content a.alleco-home-link-card {
  color: inherit;
  text-decoration: none;
}
.alleco-front-content a.alleco-home-link-card:hover strong,
.alleco-front-content a.alleco-home-link-card:focus-visible strong {
  color: var(--alleco-accent-dark);
}
.alleco-front-content a.alleco-home-link-card:focus-visible {
  outline: 2px solid rgba(63,111,93,.24);
  outline-offset: 5px;
  border-radius: 4px;
}
.alleco-front-content .alleco-home-link-card strong {
  margin-bottom: 5px;
  font-size: 1.02rem;
  line-height: 1.5;
}
.alleco-front-content .alleco-home-link-card span {
  color: var(--alleco-muted);
  font-size: .9rem;
  line-height: 1.75;
}
.alleco-front-content .alleco-home-link-card .alleco-home-link-more {
  margin-top: 8px;
  color: var(--alleco-accent-dark);
  font-size: .84rem;
  font-weight: 700;
}
.alleco-front-content .alleco-home-section-lead {
  max-width: 760px;
  margin: -.35em 0 1em;
  color: var(--alleco-muted);
  line-height: 1.8;
}
.alleco-front-content .alleco-home-business-note {
  margin: 1.1em 0 2.8em;
  padding: 18px 20px;
  border-left: 3px solid var(--alleco-border-strong);
  background: var(--alleco-surface-soft);
}
.alleco-front-content .alleco-home-business-note p {
  margin: 0 0 10px;
}
.alleco-front-content .alleco-home-business-note a {
  font-weight: 700;
}
@media screen and (max-width: 640px) {
  .alleco-front-content .alleco-home-links {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .alleco-front-content .alleco-home-link-card {
    padding: 16px 0 18px;
  }
}


/* =========================================================
   v0.9.0 サイト全体統一監査｜共通フッター・404
   フッターはトップの再掲ではなく、補助・運営・利用情報の受け皿にする。
   ========================================================= */
.site-footer__utility {
  grid-column: 1 / -1;
  padding-top: 18px;
  border-top: 1px solid var(--alleco-border);
}

.site-footer__utility ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__utility a {
  color: var(--alleco-muted);
  font-size: .8rem;
  text-decoration: none;
}

.site-footer__utility a:hover {
  color: var(--alleco-text);
  text-decoration: underline;
}

.site-footer__search-title {
  margin: 0 0 8px;
  font-weight: 740;
}

.alleco-footer-search-form {
  display: flex;
  gap: 8px;
}

.alleco-footer-search-form label {
  min-width: 0;
  flex: 1 1 220px;
}

.alleco-footer-search-form input {
  width: 100%;
  min-height: 40px;
  padding: 7px 10px;
  border: 1px solid var(--alleco-border-strong);
  border-radius: 8px;
  background: #fff;
}

.alleco-footer-search-form button {
  min-height: 40px;
  padding: 7px 13px;
  border: 1px solid var(--alleco-accent);
  border-radius: 8px;
  background: #fff;
  color: var(--alleco-accent-dark);
  cursor: pointer;
  font-weight: 700;
}

.site-footer__search-note {
  margin: 8px 0 0;
  color: var(--alleco-muted);
  font-size: .78rem;
}

.alleco-not-found__article-search {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--alleco-border);
}

.alleco-not-found__article-search h2 {
  margin: 0 0 6px;
  font-size: 1.18rem;
}

.alleco-not-found__article-search > p {
  margin: 0 0 14px;
  color: var(--alleco-muted);
}

.alleco-site-search-form--404 {
  display: flex;
  gap: 10px;
}

.alleco-site-search-form--404 label {
  min-width: 0;
  flex: 1 1 280px;
}

.alleco-site-search-form--404 input {
  width: 100%;
  min-height: 44px;
  padding: 8px 11px;
  border: 1px solid var(--alleco-border-strong);
  border-radius: 9px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(63,111,93,.28);
  outline-offset: 3px;
}

@media (max-width: 560px) {
  .site-footer__utility ul {
    gap: 7px 14px;
  }

  .alleco-footer-search-form,
  .alleco-site-search-form--404 {
    align-items: stretch;
    flex-direction: column;
  }

  .alleco-footer-search-form label,
  .alleco-site-search-form--404 label {
    flex-basis: auto;
  }
}

/* =========================================================
   P1-C DRAFT: 店舗詳細のVisual密度調整（2026-11-09）
   既存情報の表示順・相談判定・公開制御には変更なし。
   写真提供の案内は、食の確認事実より強く見せない。
   ========================================================= */
.alleco-store-v01 .alleco-store-v01-photo-stage.has-request {
  display: grid;
  grid-template-columns: minmax(0, 1.17fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 14px;
  margin-bottom: 26px;
}
.alleco-store-v01 .alleco-store-v01-photo-stage.has-request .alleco-store-v01-eyecatch {
  margin: 0;
  min-height: 266px;
  box-shadow: none;
}
.alleco-store-v01 .alleco-store-v01-photo-stage.has-request .alleco-store-v01-eyecatch-image {
  width: 100%;
  height: 100%;
  max-height: 410px;
  min-height: 266px;
  aspect-ratio: auto;
  object-fit: cover;
}
.alleco-store-v01 .alleco-store-v01-photo-request {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  min-width: 0;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--alleco-border);
  border-radius: 16px;
  background: #FAF9F6;
}
.alleco-store-v01 .alleco-store-v01-photo-request h2 {
  margin: 0;
  padding: 0;
  border: 0;
  color: #3E3E3E;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.5;
}
.alleco-store-v01 .alleco-store-v01-photo-request p {
  margin: 0;
  color: var(--alleco-muted);
  font-size: .87rem;
  line-height: 1.75;
}
.alleco-store-v01 .alleco-store-v01-photo-request-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 17px;
  border-radius: 999px;
  background: #F4D3CF;
  color: #3E3E3E;
  font-weight: 700;
  font-size: .86rem;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
}
.alleco-store-v01 .alleco-store-v01-photo-request-link:hover {
  background: #EEC1BA;
  color: #3E3E3E;
}
.alleco-store-v01 .alleco-store-v01-photo-request-link:focus-visible {
  outline: 3px solid #3E3E3E;
  outline-offset: 3px;
}
.alleco-store-v01 .alleco-store-v01-photo-request.is-gallery-only {
  margin: 0 0 26px;
}
/* 横長の間延びを抑え、本文に向かって自然に視線が流れる密度へ */
.alleco-store-v01 .alleco-store-v01-identity { margin-bottom: 20px; }
.alleco-store-v01 .alleco-store-v01-food-known-section { margin: 24px 0 32px; }
.alleco-store-v01 .alleco-store-v01-food-known-lead { margin-bottom: 14px; }
.alleco-store-v01 .alleco-store-v01-food-known-grid { gap: 12px; }
.alleco-store-v01 .alleco-store-v01-summary-section { margin: 30px 0 32px; }
.alleco-store-v01 .alleco-store-v01-consultation-actions { margin-bottom: 32px; }
.alleco-store-v01 .alleco-store-v01-pre-use-notice { margin: 34px 0 32px; }
.alleco-store-v01 .alleco-store-v01-store-section { margin-top: 32px; }
.alleco-store-v01 .alleco-store-v01-gallery-source-section { margin: 30px 0 34px; }
@media (max-width: 760px) {
  .alleco-store-v01 .alleco-store-v01-photo-stage.has-request {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    margin-bottom: 22px;
  }
  .alleco-store-v01 .alleco-store-v01-photo-stage.has-request .alleco-store-v01-eyecatch {
    min-height: 0;
  }
  .alleco-store-v01 .alleco-store-v01-photo-stage.has-request .alleco-store-v01-eyecatch-image {
    height: auto;
    min-height: 0;
    max-height: 420px;
    aspect-ratio: 4 / 3;
  }
  .alleco-store-v01 .alleco-store-v01-photo-request { padding: 18px 20px; }
  .alleco-store-v01 .alleco-store-v01-food-known-section { margin: 22px 0 28px; }
  .alleco-store-v01 .alleco-store-v01-summary-section { margin: 26px 0 28px; }
}


/* =========================================================
   STG BRAND HEADER PREVIEW (2026-11-09)
   Official ③ white-background logo in header, official ② in footer.
   Keep all source SVG paths/white backgrounds unchanged.
   No page templates, search logic or DB settings are changed.
   ========================================================= */
.site-header,
.site-footer { background: #fff; }
.site-header .site-title { margin: 0; line-height: 0; }
.site-header .alleco-brand-logo__link,
.site-footer .alleco-footer-brand__link { display: inline-block; vertical-align: top; text-decoration: none; }
.site-header .alleco-brand-logo__image {
  display: block;
  width: 220px;
  max-width: 100%;
  height: auto;
}
/* Keep the WP tagline accessible without adding old-brand text beside the logo. */
.site-header .site-description {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.site-footer .site-footer__title { margin: 0; line-height: 0; }
.site-footer .alleco-footer-brand__image {
  display: block;
  width: 130px;
  max-width: 100%;
  height: auto;
}
.site-header .alleco-brand-logo__link:focus-visible,
.site-footer .alleco-footer-brand__link:focus-visible {
  outline: 3px solid var(--alleco-accent);
  outline-offset: 4px;
}
@media (max-width: 760px) {
  .site-header .alleco-brand-logo__image { width: 178px; }
  .site-footer .alleco-footer-brand__image { width: 116px; }
}
@media (max-width: 420px) {
  .site-header .alleco-brand-logo__image { width: 154px; }
}
