/* cafe & bar Signal（ダークテーマ。写真とロゴは元の縦横比を保ちます） */
body.theme-signal {
  --text: #d9dfe5; --ink: #fff; --muted: #a9b3bd; --line: rgba(255, 255, 255, .16); --surface: #1c2229;
  background: #12161a; color: var(--text);
}
.theme-signal h1, .theme-signal h2, .theme-signal h3 { color: #fff; }
.theme-signal .eyebrow { color: #ff8da6; }
.theme-signal .section { background: #12161a; }
.theme-signal .section--panel { background: #1a2027; }
.theme-signal .spec { border-top-color: var(--line); }
.theme-signal .spec > div { border-bottom-color: var(--line); }
.theme-signal .spec dt { color: #fff; }
.theme-signal .link, .theme-signal .link-arrow, .theme-signal .prose a { color: #ffb4c4; }
.theme-signal .tag--dark { background: #2c353f; color: #fff; border: 1px solid rgba(255, 255, 255, .3); }
a.tel { color: #ffb4c4; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; display: inline-block; min-height: 28px; font-variant-numeric: tabular-nums; }
.theme-signal .breadcrumb { color: #cfd6dd; }
.theme-signal .small.muted, .theme-signal .muted { color: var(--muted); }

/* ヒーロー */
.shero { position: relative; isolation: isolate; color: #fff; min-height: min(86vh, 700px); display: flex; background: #0b0e11; overflow: hidden; }
.shero__bg { position: absolute; inset: 0; z-index: -2; }
.shero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.shero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 11, 14, .88) 0%, rgba(8, 11, 14, .62) 55%, rgba(8, 11, 14, .35) 100%), linear-gradient(0deg, rgba(8, 11, 14, .82) 0%, rgba(8, 11, 14, 0) 55%); }
.shero__inner { display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; padding: calc(var(--header-h) + 32px) 0 48px; }
.breadcrumb--light { color: #d9e0e7; }
.breadcrumb--light a { text-decoration-color: rgba(255, 255, 255, .5); }
.breadcrumb--light li + li::before { color: #8b97a3; }
.shero__brand { display: flex; align-items: center; gap: 22px; margin-bottom: 14px; }
.shero__logo { width: 112px; height: 112px; border-radius: 22px; background: #fff; padding: 6px; object-fit: contain; flex: none; }
.shero__sub { font-size: 15px; letter-spacing: .3em; color: #e1e7ed; }
.shero__title { font-size: clamp(52px, 10vw, 104px); line-height: 1.05; letter-spacing: .1em; font-weight: 500; }
.shero__copy { font-size: clamp(17px, 2.2vw, 22px); font-weight: 700; letter-spacing: .06em; }
.lights { display: flex; gap: 10px; margin: 22px 0 6px; }
.lights span { width: 30px; height: 30px; border-radius: 50%; background: #3a1018; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .15); }
.shero__cta { margin-top: 24px; }
.shero__motion { margin-top: 20px; }
@media (prefers-reduced-motion: no-preference) {
  /* レーシングシグナル：左から順にゆっくり点灯し、まとめて消えて繰り返す（点滅ではなく、ゆるやかに明るくなります） */
  html:not([data-motion="off"]) .lights span { animation: sigOn 7s ease-in-out infinite; }
  html:not([data-motion="off"]) .lights span:nth-child(2) { animation-delay: .5s; }
  html:not([data-motion="off"]) .lights span:nth-child(3) { animation-delay: 1s; }
  html:not([data-motion="off"]) .lights span:nth-child(4) { animation-delay: 1.5s; }
  html:not([data-motion="off"]) .lights span:nth-child(5) { animation-delay: 2s; }
  html:not([data-motion="off"]) .shero__bg img { animation: slowZoom 18s ease-out both; }
}
@keyframes sigOn { 0%, 8% { background: #3a1018; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .15); } 22%, 62% { background: #ff1f4d; box-shadow: 0 0 22px rgba(255, 31, 77, .75), inset 0 0 0 2px rgba(255, 255, 255, .35); } 78%, 100% { background: #3a1018; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .15); } }
html[data-motion="off"] .lights span { background: #ff1f4d; box-shadow: 0 0 14px rgba(255, 31, 77, .6); }
@media (max-width: 640px) { .shero__logo { width: 84px; height: 84px; border-radius: 18px; } .shero__brand { gap: 16px; } .shero__inner { padding-bottom: 36px; } }

/* かんたん案内（ページ全体と同じ暗さにそろえ、区切り線だけで見せる） */
.quickbar { background: #12161a; border-bottom: 1px solid var(--line); }
.quickbar__inner { padding-block: 26px 22px; display: grid; gap: 18px; }
.quickbar__list { display: flex; flex-wrap: wrap; gap: 14px 0; }
.quickbar__list > div { padding: 2px clamp(18px, 3vw, 40px); border-left: 1px solid rgba(255, 255, 255, .18); }
.quickbar__list > div:first-child { padding-left: 0; border-left: 0; }
.quickbar__list dt { font-size: 12px; font-weight: 700; letter-spacing: .16em; color: #9aa6b2; }
.quickbar__list dd { font-weight: 700; color: #fff; line-height: 1.6; white-space: nowrap; font-size: 17px; }
.quickbar__list small { font-weight: 400; font-size: 12.5px; color: #b8c2cc; margin-left: 6px; }
.quickbar__jump { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.quickbar__jump a { display: inline-flex; align-items: center; min-height: 40px; font-size: 14px; font-weight: 500; color: #cdd5dc; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.quickbar__jump a:hover { color: #fff; border-bottom-color: #fff; }
@media (max-width: 760px) { .quickbar__list > div { padding: 2px 16px; } .quickbar__list > div:nth-child(odd) { padding-left: 0; border-left: 0; } .quickbar__list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 0; } .quickbar__list dd { white-space: normal; font-size: 16px; } }

/* アクセス */
.access { display: grid; gap: clamp(24px, 4vw, 48px); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
.map-frame { border-radius: var(--radius); overflow: hidden; background: #222a32; aspect-ratio: 4 / 3; }
.map-frame iframe { width: 100%; height: 100%; border: 0; }
.access__btns { margin-top: 14px; }
@media (max-width: 900px) { .access { grid-template-columns: 1fr; } }
.insta { margin-top: clamp(32px, 5vw, 56px); display: flex; flex-wrap: wrap; gap: 24px 36px; align-items: center; justify-content: space-between; padding: 26px 30px; border-radius: var(--radius); background: #1c2229; border: 1px solid var(--line); }
.insta__text { display: grid; gap: 10px; justify-items: start; }
.insta__qr img { width: 120px; height: auto; border-radius: 10px; }

/* メニュー */
.menu-card { background: #12161a; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px 24px; display: flex; flex-direction: column; gap: 10px; }
.menu-card__cat { font-size: 12.5px; font-weight: 700; letter-spacing: .2em; color: #ff8da6; }
.menu-card h3 { font-size: 21px; }
.menu-items { border-top: 1px solid var(--line); margin-top: 6px; }
.menu-items li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 2px; border-bottom: 1px solid var(--line); color: #fff; line-height: 1.6; }
.menu-items b { font-variant-numeric: tabular-nums; color: #ffd0da; white-space: nowrap; }
.menu-price { align-self: flex-start; background: var(--red); color: #fff; font-weight: 700; padding: 4px 16px; border-radius: 999px; margin-top: 8px; }
.menu-note { font-size: 14px; color: var(--muted); }
.menu-hours { font-size: 13.5px; color: #cfd6dd; margin-top: auto; padding-top: 6px; }
.menu-tel { margin-top: 4px; }

/* こども食堂 */
.theme-signal .kodomo { background: linear-gradient(135deg, #8f3a00 0%, #b34c05 60%, #9c4005 100%); color: #fff; }
.theme-signal .kodomo .eyebrow { color: #fff; }
.kodomo__head { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; margin-bottom: 30px; }
.kodomo__logo { width: 160px; height: 160px; border-radius: 26px; background: #fff; box-shadow: 0 16px 40px rgba(0, 0, 0, .3); }
.kodomo__status { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 13px; font-weight: 700; letter-spacing: .14em; }
.kodomo__tag { background: #fff; color: var(--orange); font-size: 14px; padding: 4px 16px; letter-spacing: .04em; }
.kodomo h2 { font-size: clamp(28px, 4vw, 42px); margin: 8px 0; }
.kodomo__lead { max-width: 44em; color: #fff4ec; }
.kodomo__main { padding: 22px 26px; border-radius: var(--radius); background: rgba(0, 0, 0, .18); border: 1px solid rgba(255, 255, 255, .3); display: grid; gap: 8px; }
.kodomo__monthly { font-size: clamp(22px, 3vw, 30px); font-weight: 700; }
.kodomo__monthly span { margin-left: 10px; font-size: 13px; padding: 3px 12px; border-radius: 999px; background: #fff; color: var(--orange); vertical-align: middle; }
.kodomo__tagline { font-weight: 700; font-size: 18px; }
.kinfo { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin-top: 18px; }
.kinfo > div { background: #fff; color: #3a2a1d; border-radius: 16px; padding: 16px 20px; }
.kinfo dt { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; color: var(--orange); }
.kinfo dd { font-size: 21px; font-weight: 700; line-height: 1.5; color: #2a1a0f; font-feature-settings: "palt"; }
.kinfo small { display: block; font-size: 14px; font-weight: 500; color: #5a4636; }
.kodomo__note { margin-top: 18px; font-size: 15px; }
.theme-signal .kodomo a.link, .theme-signal .kodomo a.tel { color: #fff; }
.commit { margin-top: clamp(32px, 5vw, 52px); padding: 26px 28px; border-radius: var(--radius); background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .35); display: grid; gap: 10px; }
.commit__label { font-size: 12.5px; font-weight: 700; letter-spacing: .2em; }
.commit h3 { font-size: 20px; }
.theme-signal .kodomo .link-arrow { color: #fff; justify-self: start; }
@media (max-width: 640px) { .kodomo__head { grid-template-columns: 1fr; } .kodomo__logo { width: 110px; height: 110px; } }
@media (prefers-reduced-motion: no-preference) { html:not([data-motion="off"]) .kodomo__logo { animation: floatY 7s ease-in-out infinite; } }

/* 写真（縦横比のまま並べる） */
.gallery { columns: 3 280px; column-gap: 14px; }
.gallery figure { break-inside: avoid; margin-bottom: 14px; overflow: hidden; border-radius: var(--radius-sm); }
.gallery img { width: 100%; height: auto; transition: transform .8s var(--ease); }
.gallery figure:hover img { transform: scale(1.04); }

.back-banner { background: #0b0e11; border-top: 1px solid var(--line); padding: 36px 0; }
.back-banner__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; color: #fff; font-weight: 700; }

/* スマホ用の電話・地図バー（フッター付近では隠れます） */
.callbar { display: none; }
@media (max-width: 760px) {
  .callbar { position: fixed; z-index: 900; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px; border-radius: 999px; background: rgba(18, 22, 26, .94); border: 1px solid rgba(255, 255, 255, .2); box-shadow: 0 10px 30px rgba(0, 0, 0, .4); transition: transform .3s var(--ease), opacity .3s; }
  .callbar.is-hidden { opacity: 0; transform: translateY(30px); pointer-events: none; visibility: hidden; }
  .callbar .btn { width: 100%; min-height: 46px; }
}

/* 各セクションの端に、お店や料理の写真をごく薄く敷く（文字の読みやすさを優先して、内側へ消えていくようにしています） */
.theme-signal .bgp { position: relative; overflow: hidden; isolation: isolate; }
.bgp::before { content: ""; position: absolute; top: 0; bottom: 0; z-index: -1; width: min(48%, 640px); background: var(--bgp) center / cover no-repeat; opacity: .17; pointer-events: none; }
.bgp--right::before { right: 0; -webkit-mask-image: linear-gradient(to left, #000 15%, transparent 100%); mask-image: linear-gradient(to left, #000 15%, transparent 100%); }
.bgp--left::before { left: 0; -webkit-mask-image: linear-gradient(to right, #000 15%, transparent 100%); mask-image: linear-gradient(to right, #000 15%, transparent 100%); }
#access { --bgp: url("../../img/opt/signal-counter-640.webp"); }
#menu { --bgp: url("../../img/opt/signal-food-640.webp"); }
#kodomo { --bgp: url("../../img/opt/signal-food-640.webp"); }
.theme-signal .kodomo.bgp::before { opacity: .12; }
#concept { --bgp: url("../../img/opt/signal-bar-640.webp"); }
#gallery { --bgp: url("../../img/opt/signal-interior-640.webp"); }
@media (max-width: 760px) { .bgp::before { width: 70%; opacity: .12; } }

