/* ラレル レストランの追加スタイル。メインカラーはカーマイン（本家の紺を /theme.css で置き換え）。色・部品は本家 app.css を共有し、ここは外食版の画面だけ。
   面の色は本家の変数（--free-soft 食べられる / --warn-soft 注意 / --contains-soft 含む）。青みのある面は使わない。影はぼかさずずらす */
.topnav { display: flex; gap: 14px; align-items: center; margin-left: auto; font-size: 14px; }
.topnav a { color: var(--ink); text-decoration: none; font-weight: 700; white-space: nowrap; }
.brand-word { white-space: nowrap; } .topnav a.dim { color: var(--sub); font-weight: 500; }
.brand-word { font-weight: 800; margin-left: 4px; color: var(--navy); font-size: 19px; letter-spacing: .04em; }
@media (min-width: 720px) { .brand-word { font-size: 22px; } }
@media (max-width: 400px) { .topbar .logo-head { width: 100px; } .brand-word { font-size: 16px; } }
.btn-art { width: 22px; height: 22px; border-radius: 6px; flex: none; }
.gicon { width: 44px; height: 44px; border-radius: 12px; flex: none; background: #f7f7ed; }

/* トップ: 本家と同じ「挿絵を敷いて上に文字」 */
.hero-resto .hero-photo { width: 100%; height: 100%; object-fit: cover; object-position: 75% 50%; display: block; }
.hero-resto .hero-title { font-size: clamp(26px, 4.8vw, 52px); }
.hero-resto .hero-cta .btn { display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 719px) { .hero-resto .hero-photo { object-position: 78% 50%; } }
.genres { max-width: 1080px; margin: 34px auto 10px; padding: 0 16px; } .genres h2 { font-size: 18px; }
.genre-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.genre-list li { display: flex; gap: 12px; align-items: center; background: var(--card); border: 1.5px solid var(--line); border-radius: 14px; padding: 10px 12px; box-shadow: 4px 4px 0 rgba(167,25,48,.08); }
.genre-list .gicon { width: 52px; height: 52px; } .genre-list b { display: block; font-size: 14px; } .genre-list span { font-size: 12.5px; color: var(--sub); line-height: 1.5; }
.note-block { max-width: 1080px; margin: 34px auto; padding: 0 16px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 22px; align-items: center; }
.note-photo { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 18px; display: block; box-shadow: 6px 6px 0 var(--navy); }
.note-copy h2 { font-size: clamp(19px, 2.4vw, 24px); margin: 0 0 8px; }
@media (max-width: 760px) { .note-block { grid-template-columns: 1fr; } }

/* チェーン一覧 */
.band { max-width: 1080px; margin: 14px auto 0; padding: 0 16px; }
.band-photo { width: 100%; aspect-ratio: 16 / 4.2; object-fit: cover; object-position: 50% 62%; border-radius: 18px; display: block; }
.results-head { max-width: 1080px; margin: 16px auto 6px; padding: 0 16px; } .results-head h1 { font-size: 20px; }
.near-link { margin: 8px 0 0; } .btn.small { padding: 6px 12px; font-size: 13px; }
.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; max-width: 1080px; margin: 12px auto 40px; padding: 0 16px; }
.brand-card { display: block; background: var(--card); border: 1.5px solid var(--line); border-radius: 14px; padding: 14px 16px; text-decoration: none; color: var(--ink); box-shadow: 4px 4px 0 rgba(167,25,48,.08); }
.brand-card:hover { box-shadow: 5px 5px 0 var(--navy); }
.brand-card.none { opacity: .55; }
.brand-card-head { display: flex; gap: 10px; align-items: center; }
.brand-card-genre { display: block; font-size: 11.5px; color: var(--sub); }
.brand-card-name { display: block; font-weight: 800; font-size: 17px; line-height: 1.3; }
.brand-card-n { margin: 8px 0 2px; } .brand-card-n b { font-size: 30px; color: var(--navy); } .brand-card-n span { margin-left: 4px; font-size: 13px; }
.brand-card-sub { font-size: 12.5px; color: var(--sub); } .brand-card-meta { font-size: 12px; color: var(--faint); margin-top: 6px; }
.brand-card-warn { font-size: 12px; color: var(--crimson); margin-top: 6px; }
.empty-state { max-width: 1080px; margin: 14px auto; padding: 0 16px; display: grid; grid-template-columns: minmax(0, 260px) 1fr; gap: 18px; align-items: center; }
.empty-photo { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 16px; display: block; }
.empty-state h2, .empty-state h1 { font-size: 18px; margin: 0 0 6px; }
.empty-state.lone { margin: 40px auto; }
@media (max-width: 640px) { .empty-state { grid-template-columns: 1fr; } }

/* チェーンのページ */
.brand-head { max-width: 1080px; margin: 14px auto 0; padding: 0 16px; }
.brand-title { display: flex; gap: 12px; align-items: center; margin: 6px 0 10px; } .title-icon { width: 56px; height: 56px; border-radius: 14px; }
.brand-head h1 { font-size: 24px; margin: 0; } .brand-head h1 small { display: block; font-size: 13px; color: var(--sub); font-weight: 500; }
.brand-actions { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 12px; } .brand-actions .btn { display: inline-flex; align-items: center; gap: 8px; }
.brand-counts { display: flex; gap: 10px; flex-wrap: wrap; margin: 6px 0 10px; } .cnt { background: var(--card); border: 1.5px solid var(--line); border-radius: 10px; padding: 6px 10px; font-size: 13px; } .cnt b { font-size: 20px; margin-right: 4px; }
.cnt.ok { background: var(--lime); border-color: var(--lime); } .cnt.contam { background: var(--warn-soft); } .cnt.ng { background: var(--contains-soft); } .cnt.unknown { background: #f3f3ea; }
.source-line { font-size: 12.5px; color: var(--sub); line-height: 1.6; }
.warn-box { background: var(--warn-soft); padding: 10px 12px; border-radius: 10px; }
.menu-group { max-width: 1080px; margin: 18px auto; padding: 0 16px; } .menu-group h2 { font-size: 17px; display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; }
.menu-group h2 .dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; } .menu-group h2 .count { font-weight: 500; color: var(--sub); font-size: 14px; }
.menu-group.ok h2 { background: var(--lime); } .menu-group.ok .dot { background: var(--navy); }
.menu-group.contam h2 { background: var(--warn-soft); } .menu-group.contam .dot { background: #b8860b; }
.menu-group.unknown h2 { background: #f3f3ea; } .menu-group.unknown .dot { background: var(--faint); }
.menu-group.ng h2 { background: var(--contains-soft); } .menu-group.ng .dot { background: var(--crimson); }
.menu-list { list-style: none; margin: 0; padding: 0; } .menu-row { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 9px 10px; border-bottom: 1px solid var(--line); font-size: 15px; }
.menu-name { font-weight: 600; } .menu-name a { color: var(--ink); }
.menu-var { font-size: 12px; font-weight: 700; padding: 0 6px; border-radius: 5px; background: #f3f3ea; color: var(--sub); }
.menu-cat { display: block; font-size: 11.5px; color: var(--faint); font-weight: 400; }
.menu-raw { display: block; font-size: 11.5px; color: var(--sub); font-weight: 400; }
.menu-meta { font-size: 12.5px; color: var(--sub); white-space: nowrap; } .menu-al { grid-column: 1 / -1; font-size: 12.5px; }
.al { display: inline-block; padding: 1px 7px; border-radius: 6px; margin-right: 4px; font-weight: 700; } .al.ng { background: var(--contains-soft); color: var(--crimson); } .al.ct { background: var(--warn-soft); color: var(--warn); } .al.un { background: #f3f3ea; color: var(--sub); }
.menu-group[data-collapsed] .menu-list, .menu-group[data-collapsed] .tiles-menu { display: none; } .menu-group[data-collapsed] h2 { cursor: pointer; } .menu-group[data-collapsed] h2::after { content: "開く"; margin-left: auto; font-size: 12px; color: var(--sub); }
.ask-box { max-width: 1080px; margin: 24px auto 40px; padding: 14px 16px; background: var(--card); border: 1.5px solid var(--line); border-radius: 14px; display: grid; grid-template-columns: 220px 1fr; gap: 4px 18px; align-items: start; }
.ask-photo { grid-row: span 3; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 12px; display: block; }
.ask-box h3 { margin: 0; } .ask-text { font-size: 20px; font-weight: 700; line-height: 1.5; margin: 4px 0; }
@media (max-width: 640px) { .ask-box { grid-template-columns: 1fr; } .ask-photo { grid-row: auto; } }
.avoidbar-edit { margin-left: auto; font-size: 13px; }

/* 近くの店 */
.near-hero { max-width: 1080px; margin: 14px auto 0; padding: 0 16px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: center; }
.near-photo { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 18px; display: block; box-shadow: 6px 6px 0 var(--navy); }
.near-copy h1 { font-size: clamp(22px, 3vw, 30px); margin: 0 0 8px; }
.near-form { display: grid; gap: 10px; margin-top: 12px; } .near-form .btn { justify-self: start; display: inline-flex; align-items: center; gap: 8px; }
.near-q { display: flex; gap: 8px; } .near-q input { flex: 1; min-width: 0; padding: 9px 12px; border: 1.5px solid var(--line); border-radius: 10px; font-size: 15px; background: #fff; }
@media (max-width: 760px) { .near-hero { grid-template-columns: 1fr; } }
.near-wrap { max-width: 1080px; margin: 18px auto 40px; padding: 0 16px; }
.near-h { font-size: 17px; }
.near-map { height: 340px; border-radius: 16px; border: 1.5px solid var(--line); margin: 8px 0 14px; background: #f3f3ea; }
.store-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.store { display: grid; grid-template-columns: 26px 44px minmax(0, 1fr) auto; gap: 10px; align-items: center; background: var(--card); border: 1.5px solid var(--line); border-radius: 14px; padding: 10px 12px; }
.store-no { width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: var(--lime); font-weight: 800; font-size: 12px; display: grid; place-items: center; }
.store-name { display: block; font-size: 15px; } .store-sub { display: block; font-size: 12.5px; color: var(--sub); }
.store-ok { display: inline-block; margin-top: 3px; font-size: 12.5px; background: var(--lime); padding: 0 8px; border-radius: 6px; } .store-ok.zero { background: #f3f3ea; color: var(--sub); }
.store-act { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 640px) { .store { grid-template-columns: 26px 40px minmax(0, 1fr); } .store-act { grid-column: 1 / -1; justify-content: flex-start; } }
.attribution { margin-top: 14px; }
.leaflet-container { font: inherit; } .map-num { width: 24px; height: 24px; border-radius: 50%; background: var(--navy); color: var(--lime); font-weight: 800; font-size: 11px; display: grid; place-items: center; border: 2px solid #fff; }
.map-here { width: 16px; height: 16px; border-radius: 50%; background: var(--crimson); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--crimson); }

/* このサイトについて・企業の皆さまへ */
.about { max-width: 860px; margin: 18px auto 40px; padding: 0 16px; } .about h2 { font-size: 18px; margin-top: 22px; }
.about-photo { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; border-radius: 18px; display: block; margin-bottom: 16px; }
.partners .hero-eyebrow { margin-bottom: 0; }
.tbl { width: 100%; border-collapse: collapse; font-size: 13px; } .tbl th, .tbl td { border: 1px solid var(--line); padding: 6px 8px; text-align: left; vertical-align: top; } .tbl th { background: #f3f3ea; }
.snote { font-size: 13px; color: var(--sub); } .dim { color: var(--sub); }
@media (max-width: 640px) { .topnav { gap: 12px; font-size: 13px; } .topnav a.dim, .topnav .pc-only { display: none; } .menu-row { font-size: 14.5px; } .ask-text { font-size: 18px; } .band-photo { aspect-ratio: 16 / 6; } }
/* フッターのロゴ: 本家は行の高さ 0 で組んでいて、後ろの「レストラン」がロゴの波線に食い込む。縦に並べて間をあける */
.foot .foot-logo { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 12px; line-height: 1; }
.foot .foot-logo span { display: block; margin: 0; font-size: 22px; line-height: 1.2; font-weight: 800; letter-spacing: .1em; color: var(--lime); }

/* メニューのタイル（写真は公式サイトのものを縮小して控えたもの。無い品は業態のアイコン） */
.tiles-menu { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 12px; }
.mtile { min-width: 0; }
.mtile-in { display: flex; flex-direction: column; height: 100%; background: var(--card); border: 1.5px solid var(--line); border-top: 5px solid var(--lime); border-radius: 14px; overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: 4px 4px 0 rgba(167,25,48,.08); }
.mtile.contam .mtile-in { border-top-color: #e2b84a; } .mtile.unknown .mtile-in { border-top-color: var(--faint); } .mtile.ng .mtile-in { border-top-color: var(--crimson); }
a.mtile-in:hover { box-shadow: 5px 5px 0 var(--navy); }
.mtile-img { display: block; aspect-ratio: 4 / 3; background: #f3f3ea; }
.mtile-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mtile-img { position: relative; overflow: hidden; } .mtile-img.is-crop img { object-fit: contain; }   /* 集合写真から切り出した品は、それ以上切らない。overflow が無いと縦長の写真で枠が 4:3 より伸びる */
.photo-close { position: absolute; left: 6px; bottom: 6px; font-size: 10.5px; line-height: 1; padding: 4px 7px; border-radius: 6px; background: rgba(59,29,34,.78); color: #fff; font-weight: 700; letter-spacing: .02em; }
.mtile-photo-note { font-size: 10.5px; line-height: 1.4; color: var(--faint); }
.tile-ph { display: grid; place-items: center; height: 100%; } .mtile-img .tile-ph-icon { width: 38%; height: auto; aspect-ratio: 1; object-fit: contain; border-radius: 14px; opacity: .9; }
.mtile-body { padding: 8px 10px 10px; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; }
.mtile-cat { font-size: 11px; color: var(--faint); }
.mtile-name { font-size: 14px; line-height: 1.45; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; word-break: break-all; }
.mtile .menu-raw { font-size: 10.5px; line-height: 1.4; }
.mtile-al { display: flex; flex-wrap: wrap; gap: 3px; } .mtile-al .al { margin: 0; font-size: 11.5px; }
.mtile-meta { font-size: 11.5px; color: var(--sub); }
@media (max-width: 640px) { .tiles-menu { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .mtile-name { font-size: 13.5px; } .mtile-body { padding: 7px 8px 9px; } }

/* 掲載のお申し込み（/partners/apply） */
.apply-form { display: grid; gap: 16px; margin-top: 18px; }
.apply-form fieldset { border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 16px 16px; margin: 0; background: var(--card); display: grid; gap: 10px; }
.apply-form legend { font-weight: 800; padding: 0 6px; }
.apply-form label { display: block; font-size: 13px; font-weight: 700; color: var(--ink); }
.apply-form input:not([type=checkbox]), .apply-form select, .apply-form textarea { display: block; width: 100%; margin-top: 4px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; font: inherit; font-weight: 400; }
.apply-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } @media (max-width: 640px) { .apply-form .row2 { grid-template-columns: 1fr; } }
.apply-form .req { display: inline-block; margin-left: 6px; font-size: 10.5px; padding: 0 6px; border-radius: 5px; background: var(--crimson); color: #fff; vertical-align: 1px; }
.apply-form .check { display: flex; gap: 8px; align-items: flex-start; font-weight: 500; line-height: 1.6; } .apply-form .check input { margin-top: 5px; flex: none; }
.apply-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn.big { justify-self: start; padding: 12px 28px; font-size: 16px; }
.apply-done { display: grid; gap: 10px; justify-items: start; margin-top: 16px; } .apply-done .note-photo { max-width: 420px; }
.partners-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0; } @media (max-width: 640px) { .partners-cta { grid-template-columns: 1fr; } }
.partners-cta > div { background: var(--card); border: 1.5px solid var(--line); border-radius: 14px; padding: 14px 16px; box-shadow: 4px 4px 0 rgba(167,25,48,.08); } .partners-cta h3 { margin: 0 0 6px; font-size: 16px; }

/* 「含む」は深いワイン色の塗りに白抜き。メインカラー（カーマインの地に黄緑の文字）と見分ける */
body.resto { --crimson: #6d0b25; --contains: #6d0b25; --contains-soft: #f7e6ea; }
.al.ng { background: #6d0b25; color: #fff; }
.menu-group.ng h2 { background: #f7e6ea; color: #6d0b25; }

/* チェーンのロゴ（公式サイトのヘッダーから撮ったもの）。カードの上段に、高さをそろえて置く */
.brand-card-logo { height: 64px; margin: -2px -4px 10px; padding: 8px 10px; border-radius: 10px; background: #fff; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; }
.brand-card-logo .blogo { max-width: 100%; max-height: 46px; object-fit: contain; display: block; }
.brand-card-logo.none { background: #f6efe9; border-color: transparent; justify-content: flex-start; }
.brand-card-head { margin-top: 2px; }
.brand-title .title-logo { max-height: 56px; max-width: 200px; object-fit: contain; flex: none; background: #fff; padding: 6px 10px; border-radius: 12px; border: 1px solid var(--line); }

/* トップの「載っているチェーン」: 本家と同じ横幅いっぱいに、ロゴを同じ大きさの枠で並べる（スポンサーボード）。ロゴが無い社は枠に店名 */
.board { max-width: var(--wide); margin: 40px auto 10px; padding-inline: var(--gutter); }
.board-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.board-head h2 { font-size: clamp(18px, 2vw, 22px); margin: 0; } .board-head h2 small { font-size: 14px; color: var(--sub); font-weight: 600; margin-left: 4px; }
.board-head .snote { margin: 0; }
.board-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(156px, 1fr)); gap: 10px; }
.board-tile { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 9; padding: 12px 14px; background: #fff; border: 1.5px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--navy); transition: box-shadow .15s, transform .15s; }
.board-tile:hover { box-shadow: 4px 4px 0 var(--navy); transform: translate(-2px, -2px); }
.board-logo { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.board-tile.noname { background: #fbf6f1; }
.board-name { font-weight: 800; font-size: 15px; line-height: 1.35; text-align: center; letter-spacing: .02em; word-break: keep-all; overflow-wrap: anywhere; }
@media (max-width: 640px) { .board-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } .board-tile { padding: 8px; border-radius: 10px; } .board-name { font-size: 12.5px; } }
@media (prefers-reduced-motion: reduce) { .board-tile { transition: none; } .board-tile:hover { transform: none; } }

/* 横幅は本家と同じにする（2026-11-03 本人指示）。本家の .main が max-width: var(--wide)（1560px）＋左右 var(--gutter) を持つので、各節では幅を絞らず余白も足さない */
.band, .results-head, .brand-grid, .brand-head, .menu-group, .near-hero, .near-wrap, .note-block, .empty-state, .about, .board { max-width: none; margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; }
.ask-box { max-width: none; margin-left: 0; margin-right: 0; }
.about > p, .about > .bullets, .about > h1, .about > h2, .apply-form, .apply > p, .apply > .bullets { max-width: 62em; }   /* 長い文は 1 行を読みやすい長さに */
.about-photo { max-height: 440px; }
.band-photo { max-height: 340px; }
.note-block { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(20px, 3vw, 48px); }
.note-photo, .near-photo { max-height: 460px; }

/* トップ: 飲食チェーンのご担当者さまへの案内（掲載の申し込み・管理アカウント）。平面の塗りとずらした影 */
.partner-cta { margin: 28px 0 10px; padding: clamp(20px, 3vw, 36px) clamp(18px, 3vw, 40px); background: var(--navy); color: #fff; border-radius: 20px; box-shadow: 6px 6px 0 var(--lime);
  display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(16px, 3vw, 40px); align-items: center; }
.partner-cta-eyebrow { display: inline-block; margin: 0 0 8px; padding: 3px 12px; border-radius: 999px; background: var(--lime); color: var(--navy); font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.partner-cta h2 { margin: 0 0 10px; color: var(--lime); font-size: clamp(20px, 2.4vw, 28px); line-height: 1.45; }
.partner-cta p { margin: 0; color: rgba(255,255,255,.92); line-height: 1.8; font-size: 14.5px; }
.partner-cta-act { display: grid; gap: 10px; justify-items: stretch; }
.btn.cta-main { background: var(--lime); color: var(--navy); justify-content: center; font-size: 16px; padding: 14px 18px; box-shadow: 4px 4px 0 #fff; }
.btn.cta-sub { background: #fff; color: var(--navy); justify-content: center; font-size: 15px; padding: 12px 18px; }
.cta-link { color: #fff; font-size: 13px; text-align: center; }
@media (max-width: 760px) { .partner-cta { grid-template-columns: 1fr; } }
.apply-form .want { display: grid; gap: 6px; }
.partner-cta .partner-cta-eyebrow { color: var(--navy); }
.partner-cta h2 .nw { display: inline-block; }
