/* 中洲情報サイト：design_guide_care-taxi.md の変数構成に合わせる。主色だけ藍に変えている。 */
:root {
  --brand: #2F4FB3;
  --brand-dark: #243E8F;
  --brand-soft: #EEF2FC;
  --ink: #14243A;
  --muted: #5A6B80;
  --line: #E3E9F0;
  --bg: #F5F8FC;
  --open: #157347;
  --open-soft: #E6F4EC;
  --warn: #9A3412;
  --warn-soft: #FDF0E7;
  --ev: #7A3FB0;
  --ev-soft: #F4ECFB;
  --radius: 16px;
  --shadow: 0 10px 40px rgba(20, 36, 58, .07);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--ink); background: #fff; line-height: 1.7; font-size: 1rem;
  font-family: "Noto Sans JP", "Noto Sans CJK JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}
a { color: var(--brand); }
a:hover { color: var(--brand-dark); }
:focus-visible { outline: 3px solid #7DB5F5; outline-offset: 2px; }
img { max-width: 100%; }
h1, h2, h3 { line-height: 1.3; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.sr, .hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; z-index: 100; background: #fff; padding: 8px 12px; }
.pc { display: none; }

/* ヘッダー */
.hd { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .9); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.hd-in { display: flex; align-items: center; gap: 12px; min-height: 60px; }
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); margin-right: auto; }
.logo-mark { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--brand); color: #fff; font-weight: 900; }
.logo-t { display: flex; flex-direction: column; font-weight: 900; font-size: 1.05rem; line-height: 1.2; }
.logo-t small { font-weight: 500; font-size: .7rem; color: var(--muted); }
.gnav { display: none; }
.gnav.is-open { display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
.gnav a { display: flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--ink); font-weight: 500; }
.btn-pill { background: var(--brand); color: #fff !important; border-radius: 999px; padding: 0 16px; justify-content: center; }
.fsz { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.fsz button { border: 0; background: #fff; min-width: 36px; height: 40px; font: inherit; font-size: .85rem; color: var(--muted); cursor: pointer; }
.fsz button[aria-pressed="true"] { background: var(--brand-soft); color: var(--brand); font-weight: 700; }
.menu-btn { border: 1px solid var(--line); background: #fff; border-radius: 10px; width: 44px; height: 44px; font-size: 1.2rem; cursor: pointer; }
.preview-bar { background: var(--warn-soft); color: var(--warn); text-align: center; font-size: .85rem; padding: 6px 12px; }

/* パンくず */
.crumbs ol { list-style: none; margin: 12px auto 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; font-size: .85rem; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 4px; }

/* ヒーローと検索 */
.hero { background: linear-gradient(160deg, #1D2E6B 0%, #2F4FB3 70%, #4C6BD0 100%); color: #fff; padding: 32px 0 64px; }
.hero h1 { font-weight: 900; font-size: 1.75rem; margin: 0 0 8px; letter-spacing: .02em; }
.hero .lead { margin: 0; opacity: .95; }
.search-wrap { margin-top: -44px; position: relative; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; }
.search-l { font-weight: 700; display: block; margin-bottom: 6px; }
.search-row { display: flex; gap: 8px; }
.search-row input { flex: 1; min-width: 0; }
input[type=search], input[type=text], input[type=password], input[type=date], input[type=time], textarea, select {
  font: inherit; color: var(--ink); border: 1px solid #C9D3E0; border-radius: 10px; padding: 10px 12px; min-height: 44px; width: 100%; background: #fff;
}
.search-opts { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; margin-top: 10px; }
.check, .radio { display: flex; align-items: center; gap: 8px; min-height: 40px; cursor: pointer; }
.check input, .radio input { width: 20px; height: 20px; accent-color: var(--brand); }
.btn, .btn-sub, .btn-ghost, .btn-gcal {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 18px; border-radius: 999px;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; border: 1px solid var(--brand); background: var(--brand); color: #fff; white-space: nowrap;
}
.btn:hover { background: var(--brand-dark); color: #fff; }
.btn-sub, .btn-ghost { background: #fff; color: var(--brand); }
.btn-sub[aria-pressed="true"] { background: var(--brand-soft); }
.btn-wide { width: 100%; }
.btn-gcal { min-height: 40px; padding: 0 14px; font-size: .85rem; background: #fff; color: var(--brand); }

/* セクション */
.sec { margin-top: 32px; }
.page-head { margin-top: 16px; }
.page-head h1 { font-weight: 900; font-size: 1.6rem; margin: 8px 0; }
.sec-h { font-weight: 700; font-size: 1.3rem; margin: 0; padding-left: 12px; border-left: 4px solid var(--brand); }
.sec-h.sm { font-size: 1.1rem; margin-bottom: 8px; }
.sec-sub { color: var(--muted); margin: 6px 0 12px; font-size: .95rem; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.more { display: inline-flex; align-items: center; min-height: 40px; font-weight: 700; }
.grp { margin-top: 12px; }
.grp-h { font-size: .95rem; color: var(--muted); margin: 0 0 6px; }
.cat-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.cat-grid .cat-chip { white-space: normal; line-height: 1.35; padding-top: 6px; padding-bottom: 6px; }
.cat-chip { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 12px;
  background: var(--bg); border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 500; white-space: nowrap; }
.cat-chip .n { color: var(--brand); font-weight: 700; font-size: .9rem; }
.cat-chip:hover, .cat-chip.is-on { background: var(--brand-soft); border-color: var(--brand); }
.cat-scroll { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0 8px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; }
.cat-scroll .cat-chip { flex: none; }
.count { margin: 8px 0; }
.near-msg { color: var(--muted); font-size: .9rem; }
.empty { color: var(--muted); }

/* 店舗カード */
.shop-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.shop-card { padding: 14px 16px; display: flex; flex-direction: column; }
.shop-card.is-closed { opacity: .7; }
.shop-link { display: block; text-decoration: none; }
.shop-name { font-weight: 700; font-size: 1.15rem; }
.shop-kana { display: block; color: var(--muted); font-size: .8rem; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0; }
.chip { display: inline-block; font-size: .8rem; padding: 2px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-dark); text-decoration: none; }
.chip-open { background: var(--open-soft); color: var(--open); font-weight: 700; }
.chip-closed { background: #EEE; color: #555; font-weight: 700; }
.chip-owner { background: #fff; border: 1px solid var(--brand); }
.chip-ev { background: var(--ev-soft); color: var(--ev); }
.mini { margin: 0; font-size: .9rem; }
.mini div { display: flex; gap: 8px; }
.mini dt { color: var(--muted); flex: none; width: 2.5em; }
.mini dd { margin: 0; }
.dist { margin: 6px 0 0; font-weight: 700; color: var(--open); font-size: .9rem; }
/* 地図リンク：店名（詳細へ）から離してカードの下端に置き、外部へ出ることを ↗ で示す（依頼 20261019_02） */
.shop-map { margin: auto 0 0; padding-top: 12px; }
.btn-map { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 14px; border: 1px solid #C9D3E0; border-radius: 12px;
  background: #fff; color: var(--ink); font-weight: 700; font-size: .95rem; text-decoration: none; }
.btn-map:hover { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-dark); }
.btn-map .pin { color: #C5221F; flex: none; }
.btn-map .ext { color: var(--muted); font-weight: 400; }

/* 店舗ページ */
.shop-page { display: grid; gap: 16px; margin-top: 8px; }
.shop-head h1 { font-weight: 900; font-size: 1.7rem; margin: 4px 0 0; }
.kana { color: var(--muted); margin: 0; font-size: .9rem; }
.summary { margin: 12px 0 0; }
.notice { margin: 10px 0 0; padding: 8px 12px; border-radius: 10px; background: var(--bg); font-size: .95rem; }
.notice-open { background: var(--open-soft); color: var(--open); }
.notice-closed { background: #EEE; color: #333; font-weight: 700; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }
.actions .btn, .actions .btn-ghost { flex: 1 1 200px; }
.info-dl { margin: 0; }
.info-dl div { display: grid; grid-template-columns: 6.5em 1fr; gap: 8px; padding: 10px 0; border-top: 1px solid var(--line); }
.info-dl div:first-child { border-top: 0; }
.info-dl dt { color: var(--muted); font-weight: 500; }
.info-dl dd { margin: 0; word-break: break-word; }
.note { color: var(--muted); font-size: .85rem; }
.sns { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.sns-a { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 12px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); font-weight: 700; }
.sns-i { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; color: #fff; background: var(--muted); font-size: .85rem; }
.sns-instagram .sns-i { background: #C13584; }
.sns-x .sns-i { background: #000; }
.sns-line .sns-i { background: #06C755; }
.sns-facebook .sns-i { background: #1877F2; }
.sns-tiktok .sns-i { background: #111; }
.sns-youtube .sns-i { background: #E00; }
.sns-website .sns-i { background: var(--brand); }
.map { border-radius: 12px; background: var(--bg); border: 1px dashed #C9D3E0; min-height: 160px; display: grid; place-items: center; text-align: center; padding: 16px; margin-bottom: 8px; }
.map.is-loaded { padding: 0; border: 0; }
.map iframe { width: 100%; height: 300px; border: 0; border-radius: 12px; }
.map-off p { margin: 0; color: var(--muted); }
.src-links { display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 0; list-style: none; margin: 8px 0 0; }
.src-links a { display: inline-flex; min-height: 40px; align-items: center; }
.source p { margin: 4px 0; }

/* イベント */
.ev-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ev-row { display: grid; grid-template-columns: 56px 1fr; gap: 4px 12px; align-items: start; padding: 12px; }
.ev-date { display: flex; flex-direction: column; align-items: center; background: var(--ev-soft); color: var(--ev); border-radius: 12px; padding: 6px 0; line-height: 1.1; }
.ev-date .m { font-size: .75rem; }
.ev-date .d { font-size: 1.4rem; font-weight: 900; }
.ev-date .w { font-size: .75rem; }
.ev-title { font-weight: 700; text-decoration: none; }
.ev-meta { margin: 2px 0 4px; font-size: .9rem; color: var(--muted); }
.ev-row .btn-gcal { grid-column: 1 / -1; justify-self: start; }
.ev-when { font-weight: 700; margin: 6px 0 0; }
.subscribe { display: grid; gap: 12px; margin-top: 8px; }
.sub-btns { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal-nav { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; text-decoration: none; font-size: 1.4rem; }
.cal { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: .8rem; }
.cal th { padding: 6px 0; color: var(--muted); font-weight: 500; }
.cal th.sat { color: #2563EB; }
.cal th.sun { color: #DC2626; }
.cal td { border: 1px solid var(--line); vertical-align: top; height: 64px; padding: 2px; }
.cal td.off { background: var(--bg); }
.cal td.today { background: var(--brand-soft); }
.cal-d { display: block; font-weight: 700; }
.cal-ev { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; background: var(--ev-soft); color: var(--ev); border-radius: 4px; padding: 0 3px; margin-top: 2px; text-decoration: none; font-size: .72rem; }
.feed-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.feed-list h3 { margin: 0 0 8px; font-size: 1rem; }
.copy { font-family: ui-monospace, monospace; font-size: .85rem; }

/* 案内カード */
.guide { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 12px; }
.guide h3 { margin: 6px 0; font-size: 1.05rem; }
.guide p { margin: 0 0 6px; font-size: .92rem; color: var(--muted); }
.gi { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); font-weight: 900; }

/* フォーム */
.form { display: grid; gap: 16px; }
fieldset { border: 0; padding: 0; margin: 0; }
legend, .field > label { font-weight: 700; margin-bottom: 4px; display: block; }
.req { font-size: .75rem; background: var(--warn-soft); color: var(--warn); border-radius: 4px; padding: 1px 6px; margin-left: 4px; }
.fixed { margin: 0; padding: 10px 12px; background: var(--bg); border-radius: 10px; }
.errors { border-color: #F2B8A0; background: var(--warn-soft); }
.errors ul { margin: 4px 0 0; }
.prose .card { margin-bottom: 12px; }
.dots { padding-left: 1.2em; margin: 0; }
.dots li { margin: 4px 0; }
.tbl { width: 100%; border-collapse: collapse; font-size: .85rem; }
.tbl th, .tbl td { border: 1px solid var(--line); padding: 6px 8px; text-align: left; vertical-align: top; }
.tbl th { background: var(--bg); }
.empty-box { text-align: center; }
/* 店が0件の間の案内（依頼 20261017_07）。ジャンルは押せない札として並べる */
.prep h2 { margin-top: 0; }
.prep p { margin: 0 0 10px; }
.prep-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px !important; }
.empty-box .prep-btns { justify-content: center; }
.cat-chip.is-static, .cat-chip.is-static:hover { background: #fff; border-color: var(--line); cursor: default; }

/* フッター・浮きボタン */
.ft { margin-top: 48px; background: var(--bg); border-top: 1px solid var(--line); padding: 24px 0 96px; font-size: .9rem; }
.ft-name { font-weight: 900; margin: 0; }
.ft-note { color: var(--muted); }
.ft-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.ft-links a { display: inline-flex; min-height: 40px; align-items: center; }
.fab { position: fixed; right: 16px; bottom: 16px; z-index: 40; display: inline-flex; align-items: center; gap: 6px; min-height: 52px; padding: 0 20px;
  border-radius: 999px; background: var(--brand); color: #fff; font-weight: 700; text-decoration: none; box-shadow: 0 8px 24px rgba(20, 36, 58, .25); }
.fab:hover { color: #fff; background: var(--brand-dark); }

@media (min-width: 768px) {
  .wrap { padding: 0 24px; }
  .pc { display: inline; }
  .hero { padding: 48px 0 80px; }
  .hero h1 { font-size: 2.4rem; }
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .shop-list { grid-template-columns: repeat(2, 1fr); }
  .guide { grid-template-columns: repeat(4, 1fr); }
  .subscribe { grid-template-columns: 1fr auto; align-items: center; }
  .ev-row { grid-template-columns: 64px 1fr auto; align-items: center; }
  .ev-row .btn-gcal { grid-column: auto; }
  .cal { font-size: .9rem; }
  .cal td { height: 96px; }
  .cal-ev { font-size: .78rem; }
  .shop-page { grid-template-columns: 1fr; max-width: 900px; }
  .sns { grid-template-columns: repeat(3, 1fr); }
  .feed-list { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .gnav { display: flex; gap: 20px; align-items: center; }
  .menu-btn { display: none; }
  .shop-list { grid-template-columns: repeat(3, 1fr); }
  .fab { display: none; }
  .ft { padding-bottom: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* 運営画面 */
.adm { max-width: 1100px; }
.adm-nav { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 12px 0; }
.adm-nav a { display: inline-flex; min-height: 40px; align-items: center; padding: 0 10px; border-radius: 8px; text-decoration: none; }
.adm-nav a.is-on { background: var(--brand-soft); font-weight: 700; }
.adm-tbl { width: 100%; border-collapse: collapse; font-size: .9rem; background: #fff; }
.adm-tbl th, .adm-tbl td { border-bottom: 1px solid var(--line); padding: 8px; text-align: left; vertical-align: top; }
.adm-tbl th { background: var(--bg); }
.adm-form { display: grid; gap: 12px; }
.adm-form .row { display: grid; gap: 4px; }
.adm-form .row > label { font-weight: 700; }
.adm-2 { display: grid; gap: 12px; }
@media (min-width: 768px) { .adm-2 { grid-template-columns: 1fr 1fr; } }
.st { display: inline-block; font-size: .78rem; padding: 1px 8px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); }
.st-published { background: var(--open-soft); color: var(--open); border-color: transparent; }
.st-review { background: var(--warn-soft); color: var(--warn); border-color: transparent; }
.st-open { background: var(--warn-soft); color: var(--warn); border-color: transparent; }
.flash { background: var(--open-soft); color: var(--open); padding: 10px 14px; border-radius: 10px; }
.diff td.chg { background: #FFF7D6; }
.inline { display: inline; }
.btn-s { min-height: 40px; padding: 0 12px; font-size: .85rem; }
.adm > h1 { margin: 12px 0; }
.adm .card + .card, .adm .card + form, .adm form + .card, .adm form + form, .adm .guide + .card { margin-top: 12px; }
.big-n { font-size: 1.6rem; color: var(--ink); }
.w-auto { width: auto; }
.w-flex { width: auto; flex: 1; }
.w-4em { width: 4em; }
.w-6em { width: 6em; }
