/* ==========================================================
 * でみせなび main.css
 * スマホ（375px）から組み、768px・1024pxで広げる。
 * 色・余白・角丸はすべて変数。プラグインの表示もこの変数を読めば色がそろう。
 * 配色は primopasso-ueda.com のテーマCSSがベース。
 * ======================================================== */

:root {
	--dmn-bg: #f4f0e5;
	--dmn-band: #e8eee5;        /* 帯（#D6DFD2 を薄く） */
	--dmn-band-strong: #d6dfd2;
	--dmn-main: #244b40;        /* 見出し・リンク・選択中 */
	--dmn-dark: #244b40;        /* ロゴ文字・フッター */
	--dmn-orange: #d99552;      /* 申込ボタン・本日 */
	--dmn-orange-dark: #9b4328; /* 注意（締切間近） */
	--dmn-teal: #9bbca8;        /* 募集中 */
	--dmn-teal-dark: #36634f;   /* 白地に置くティールの文字 */
	--dmn-pink: #dbb6a2;        /* 今週末・土日 */
	--dmn-pink-dark: #995443;
	--dmn-text: #222222;
	--dmn-sub: #5b5b5b;
	--dmn-line: #e0ddd1;

	--dmn-radius: 12px;
	--dmn-radius-s: 6px;
	--dmn-shadow: 0 1px 3px rgba(36, 75, 64, .08), 0 4px 12px rgba(36, 75, 64, .06);
	--dmn-gap: 16px;
	--dmn-max: 1120px;
	--dmn-narrow: 760px;
	--dmn-head-h: 56px;
	--dmn-nav-h: 64px;

	--dmn-font: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
	--dmn-font-head: "M PLUS Rounded 1c", var(--dmn-font);
}

/* ---------- 基本 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--dmn-head-h) + 8px); }
body {
	margin: 0;
	background: var(--dmn-bg);
	color: var(--dmn-text);
	font-family: var(--dmn-font);
	font-size: 16px;
	line-height: 1.75;
	padding-bottom: calc(var(--dmn-nav-h) + env(safe-area-inset-bottom));
	overflow-wrap: anywhere;
}
img, svg { max-width: 100%; height: auto; vertical-align: middle; }
a { color: var(--dmn-main); text-underline-offset: 2px; }
a:hover { color: #386e59; }
h1, h2, h3 { font-family: var(--dmn-font-head); line-height: 1.4; color: var(--dmn-dark); margin: 0; text-wrap: balance; word-break: auto-phrase; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--dmn-orange); outline-offset: 2px; border-radius: 4px; }

.screen-reader-text, .hp {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; padding: 8px 12px; }
.skip-link:focus { left: 8px; }

.container { width: 100%; max-width: var(--dmn-max); margin: 0 auto; padding: 0 var(--dmn-gap); }
.container--narrow { max-width: var(--dmn-narrow); }
.icon { flex-shrink: 0; width: 1.1em; height: 1.1em; }

/* ---------- ボタン ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .4em;
	min-height: 44px; padding: .55em 1.2em;
	border: 2px solid transparent; border-radius: var(--dmn-radius-s);
	font-weight: 700; text-decoration: none; cursor: pointer; line-height: 1.3;
	transition: background-color .15s, color .15s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--dmn-main); color: #fff; }
.btn--primary:hover { background: var(--dmn-dark); color: #fff; }
.btn--accent { background: var(--dmn-orange); color: #fff; text-shadow: 0 1px 1px rgba(0,0,0,.15); }
.btn--accent:hover { background: var(--dmn-orange-dark); color: #fff; }
.btn--ghost { background: #fff; color: var(--dmn-main); border-color: var(--dmn-band-strong); }
.btn--ghost:hover { border-color: var(--dmn-main); }
.btn--white { background: #fff; color: var(--dmn-dark); }
.btn--white:hover { color: var(--dmn-main); }
.btn--l { min-height: 52px; padding: .7em 1.4em; font-size: 1.05rem; border-radius: 999px; }
.btn--s { min-height: 36px; padding: .3em .9em; font-size: .9rem; }
.btn--block { width: 100%; }

/* ---------- ヘッダー ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(8px);
	border-bottom: 1px solid var(--dmn-line);
}
.site-header__inner {
	max-width: var(--dmn-max); margin: 0 auto; height: var(--dmn-head-h);
	display: flex; align-items: center; gap: 10px; padding: 0 var(--dmn-gap);
}
.site-logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--dmn-dark); }
.site-logo__mark {
	display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 10px;
	background: var(--dmn-orange); color: #fff; font-family: var(--dmn-font-head); font-weight: 700; font-size: 18px;
}
.site-logo__text { font-family: var(--dmn-font-head); font-weight: 700; font-size: 1.2rem; letter-spacing: .02em; }

.region { position: relative; }
.region__current {
	list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 2px;
	padding: 2px 10px 2px 6px; border-radius: 999px; background: var(--dmn-band); color: var(--dmn-main);
	font-size: .85rem; font-weight: 700;
}
.region__current::-webkit-details-marker { display: none; }
.region__current::after { content: "▾"; margin-left: 4px; font-size: .7em; }
.region__list {
	position: absolute; top: calc(100% + 6px); left: 0; z-index: 60; min-width: 160px;
	list-style: none; background: #fff; border-radius: var(--dmn-radius); box-shadow: var(--dmn-shadow); padding: 6px;
}
.region__list a, .region__list span { display: flex; justify-content: space-between; padding: 8px 10px; border-radius: 8px; text-decoration: none; }
.region__list a:hover { background: var(--dmn-band); }
.region__list .is-soon span { color: #999; }
.region__list small { font-size: .75em; }

.global-nav { display: none; margin-left: auto; }
.global-nav ul { display: flex; gap: 4px; list-style: none; }
.global-nav a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--dmn-dark); font-weight: 700; text-decoration: none; font-size: .95rem; }
.global-nav a:hover { background: var(--dmn-band); color: var(--dmn-main); }

.search-toggle {
	margin-left: auto; display: grid; place-items: center; width: 44px; height: 44px;
	border: 0; background: transparent; color: var(--dmn-dark); border-radius: 50%; cursor: pointer;
}
.search-toggle .icon { width: 22px; height: 22px; }
.site-search { border-top: 1px solid var(--dmn-line); background: #fff; }
.site-search form { display: flex; gap: 8px; max-width: var(--dmn-max); margin: 0 auto; padding: 10px var(--dmn-gap); }
.site-search input[type=search] { flex: 1; min-width: 0; }

/* ---------- 入力欄 ---------- */
input[type=text], input[type=url], input[type=email], input[type=search], textarea, select {
	width: 100%; min-height: 44px; padding: 10px 12px; font: inherit; font-size: 16px;
	border: 1px solid #c8d0c2; border-radius: var(--dmn-radius-s); background: #fcfbf7; color: var(--dmn-text);
}
input:focus, textarea:focus, select:focus { border-color: var(--dmn-main); outline: 2px solid rgba(36,75,64,.15); background: #fff; }

/* ---------- ボトムナビ（スマホ） ---------- */
.bottom-nav {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
	display: grid; grid-template-columns: repeat(4, 1fr);
	height: calc(var(--dmn-nav-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
	background: #fff; border-top: 1px solid var(--dmn-line); box-shadow: 0 -2px 10px rgba(36,75,64,.05);
}
.bottom-nav__item {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
	color: #6b7683; text-decoration: none; font-size: .72rem; font-weight: 700;
}
.bottom-nav__item .icon { width: 24px; height: 24px; }
.bottom-nav__item.is-active { color: var(--dmn-main); }
.bottom-nav__item.is-active .icon { stroke-width: 2.4; }

/* ---------- トップ：ヒーロー ---------- */
.hero {
	background:
		radial-gradient(circle at 90% 10%, rgba(254,134,198,.22) 0 90px, transparent 91px),
		radial-gradient(circle at 8% 90%, rgba(82,194,208,.22) 0 70px, transparent 71px),
		linear-gradient(180deg, var(--dmn-band) 0%, #fff 100%);
	padding: 28px 0 32px; text-align: center;
}
.hero__region { display: inline-flex; align-items: center; gap: 4px; margin: 0 0 8px; color: var(--dmn-main); font-weight: 700; font-size: .85rem; }
.hero__title { font-size: clamp(1.45rem, 6vw, 2.6rem); color: var(--dmn-dark); }
.hero__lead { margin: 10px 0 20px; color: var(--dmn-sub); font-size: .95rem; }
.hero__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 520px; margin: 0 auto; }
.hero__actions .btn { padding-left: .6em; padding-right: .6em; }

/* ---------- セクション ---------- */
.section { padding: 28px 0; }
.section--band { background: var(--dmn-band); }
.section--today { background: linear-gradient(180deg, #f5e9da, #fff); border-top: 4px solid var(--dmn-orange); }
.section-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-bottom: 14px; }
.section-head__title { font-size: 1.25rem; position: relative; padding-left: 14px; }
.section-head__title::before { content: ""; position: absolute; left: 0; top: .25em; bottom: .25em; width: 5px; border-radius: 3px; background: var(--dmn-orange); }
.section-head__sub { margin: 0; color: var(--dmn-sub); font-size: .9rem; }
.section-head__more { margin-left: auto; display: inline-flex; align-items: center; font-size: .88rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.section-head__more .icon { width: 1em; }
.empty-line { color: var(--dmn-sub); font-size: .92rem; background: var(--dmn-band); padding: 12px 14px; border-radius: var(--dmn-radius-s); }

/* ---------- 並べ方 ---------- */
.grid { display: grid; gap: var(--dmn-gap); }
.grid--2, .grid--3, .grid--list { grid-template-columns: 1fr; }
.scroller {
	display: grid; grid-auto-flow: column; grid-auto-columns: 72%; gap: 12px;
	overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px var(--dmn-gap) 10px; margin: 0 calc(var(--dmn-gap) * -1);
	scrollbar-width: none;
}
.scroller::-webkit-scrollbar { display: none; }
.scroller > * { scroll-snap-align: start; }
.scroller--shop { grid-auto-columns: 40%; }

/* ---------- カード ---------- */
.card { background: #fff; border-radius: var(--dmn-radius); box-shadow: var(--dmn-shadow); overflow: hidden; }
.card__link { display: block; height: 100%; color: inherit; text-decoration: none; }
.card__link:hover .card__title { color: var(--dmn-main); }
.card__media { position: relative; aspect-ratio: 1 / 1; background: var(--dmn-band); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.card__link:hover .card__media img { transform: scale(1.03); }
.card__media .labels { position: absolute; left: 8px; top: 8px; right: 8px; }
.card__media .badge { position: absolute; right: 8px; bottom: 8px; }
.card__body { display: flex; gap: 12px; padding: 12px; }
.card__text { min-width: 0; flex: 1; }
.card__title { font-size: 1.02rem; margin: 2px 0 6px; transition: color .15s; }
.card__meta { display: flex; flex-direction: column; gap: 2px; margin: 0; color: var(--dmn-sub); font-size: .85rem; line-height: 1.5; }
.card__meta span { display: flex; align-items: flex-start; gap: 4px; }
.card__meta .icon { margin-top: .15em; color: var(--dmn-main); }
.card__vendors { margin: 6px 0 0; font-size: .82rem; color: var(--dmn-pink-dark); font-weight: 700; display: flex; gap: 4px; align-items: center; }
.card__apply { margin: 8px 0 0; font-size: .78rem; font-weight: 700; color: var(--dmn-sub); }
.card__apply--form { color: var(--dmn-teal-dark); }
.card.is-ended { opacity: .8; }
.card.is-ended .card__media img { filter: grayscale(.4); }

/* 本日のイベント（大きめ）：画像を横長に */
.card--l .card__media { aspect-ratio: 16 / 10; }
/* カレンダーの横長 */
.card--h .card__link { display: flex; }
.card--h .card__media { width: 96px; flex-shrink: 0; aspect-ratio: 1 / 1; }
.card--h .card__media .labels, .card--h .card__media .badge { display: none; }
.card--h .card__body .date-block { display: none; }
.card--h .card__body { padding: 10px 12px; }

/* 募集カード：スマホでは横長にして一覧で多く見せる */
.card--boshu .card__link { display: grid; grid-template-columns: 112px 1fr; }
.card--boshu .card__media { aspect-ratio: auto; height: 100%; min-height: 112px; }
.card--boshu .card__media .labels { display: none; }
.card--boshu .card__body { padding: 10px 12px; }
.card--boshu .date-block { display: none; }

.card--shop { text-align: center; padding: 14px 10px; }
.card--shop .card__avatar { width: 84px; height: 84px; margin: 0 auto 8px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--dmn-pink); }
.card--shop .card__avatar img, .card--shop .thumb-fallback { width: 100%; height: 100%; object-fit: cover; }
.card--shop .card__title { font-size: .95rem; }
.card__next { margin: 6px 0 0; font-size: .78rem; color: var(--dmn-sub); line-height: 1.5; }
.card__next strong { color: var(--dmn-pink-dark); }

.card--plain { padding: 14px; }

/* 日付ブロック */
.date-block {
	flex-shrink: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
	width: 52px; height: 60px; border-radius: 10px; background: var(--dmn-band); color: var(--dmn-dark); line-height: 1.1;
}
.date-block__m { font-size: .68rem; font-weight: 700; }
.date-block__d { font-family: var(--dmn-font-head); font-size: 1.45rem; font-weight: 700; }
.date-block__w { font-size: .68rem; font-weight: 700; }
.date-block.is-sat, .date-block.is-sun { background: #f2e5db; color: var(--dmn-pink-dark); }
.date-block.is-undated { font-size: .8rem; color: var(--dmn-sub); }

/* 代わり画像（写真が無いとき） */
.thumb-fallback {
	display: grid; place-items: center; width: 100%; height: 100%;
	background: linear-gradient(135deg, var(--dmn-band-strong), var(--dmn-band));
	color: var(--dmn-main); font-family: var(--dmn-font-head); font-weight: 700; font-size: 1rem; text-align: center; padding: 8px;
}
.thumb-fallback--marche { background: linear-gradient(135deg, #ffd9c9, #fff1ea); color: var(--dmn-orange-dark); }
.thumb-fallback--kitchencar { background: linear-gradient(135deg, #d6e5d6, #edf2e9); color: var(--dmn-teal-dark); }
.thumb-fallback--handmade { background: linear-gradient(135deg, #eed9cc, #f8eee7); color: var(--dmn-pink-dark); }

/* ラベル・バッジ */
.labels { display: flex; flex-wrap: wrap; gap: 4px; }
.label {
	display: inline-block; padding: 1px 9px; border-radius: 999px; font-size: .72rem; font-weight: 700; line-height: 1.7;
	background: rgba(255,255,255,.95); color: var(--dmn-main); box-shadow: 0 1px 2px rgba(0,0,0,.08);
}
.label--marche { color: var(--dmn-orange-dark); }
.label--kitchencar { color: var(--dmn-teal-dark); }
.label--handmade { color: var(--dmn-pink-dark); }
.badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .76rem; font-weight: 700; line-height: 1.6; color: #fff; }
.badge--open { background: var(--dmn-teal-dark); }
.badge--urgent { background: var(--dmn-orange-dark); }
.badge--closed, .badge--ended { background: #8a939c; }
.badge--today { background: var(--dmn-orange); }

/* ---------- カテゴリー（ボタン列） ---------- */
.chips { margin: 0 calc(var(--dmn-gap) * -1) 16px; }
.chips__row { display: flex; gap: 8px; overflow-x: auto; padding: 4px var(--dmn-gap); scrollbar-width: none; }
.chips__row::-webkit-scrollbar { display: none; }
.chips__row--sub { padding-top: 6px; }
.chip {
	flex-shrink: 0; display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px;
	border-radius: 999px; border: 1px solid var(--dmn-band-strong); background: #fff;
	color: var(--dmn-dark); font-weight: 700; font-size: .9rem; text-decoration: none; white-space: nowrap;
}
.chip:hover { border-color: var(--dmn-main); color: var(--dmn-main); }
.chip.is-active { background: var(--dmn-main); border-color: var(--dmn-main); color: #fff; }
.chip--sub { min-height: 34px; padding: 0 12px; font-size: .82rem; background: var(--dmn-band); border-color: transparent; }
.chip--sub.is-active { background: var(--dmn-dark); border-color: var(--dmn-dark); }
.chip--when { color: var(--dmn-pink-dark); }

.cat-tiles { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.cat-tile {
	display: flex; align-items: center; min-height: 56px; padding: 10px 14px; border-radius: var(--dmn-radius);
	background: #fff; color: var(--dmn-dark); font-weight: 700; text-decoration: none; box-shadow: var(--dmn-shadow);
	border-left: 6px solid var(--dmn-main);
}
.cat-tile--marche { border-left-color: var(--dmn-orange); }
.cat-tile--handmade { border-left-color: var(--dmn-pink); }
.cat-tile--kitchencar { border-left-color: var(--dmn-teal); }
.cat-tile--food { border-left-color: #ffb84d; }
.cat-tile--night { border-left-color: var(--dmn-dark); }

.sort { display: flex; gap: 6px; margin-bottom: 16px; font-size: .85rem; }
.sort__item { padding: 4px 10px; border-radius: 6px; color: var(--dmn-sub); text-decoration: none; }
.sort__item.is-active { background: var(--dmn-band); color: var(--dmn-main); font-weight: 700; }

.tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 4px; margin-bottom: 16px; background: var(--dmn-band); border-radius: var(--dmn-radius); }
.tabs__item { display: grid; place-items: center; min-height: 40px; border-radius: 9px; color: var(--dmn-dark); font-weight: 700; font-size: .9rem; text-decoration: none; }
.tabs__item.is-active { background: #fff; color: var(--dmn-main); box-shadow: var(--dmn-shadow); }

/* ---------- ページの見出し・パンくず ---------- */
.breadcrumb { margin: 10px 0 0; font-size: .78rem; color: var(--dmn-sub); overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.breadcrumb ol { display: flex; list-style: none; }
.breadcrumb li + li::before { content: "›"; margin: 0 6px; color: #aab; }
.breadcrumb a { color: var(--dmn-sub); text-decoration: none; }
.page-head { padding: 14px 0 16px; }
.page-head__title { font-size: clamp(1.35rem, 5vw, 1.9rem); }
.page-head__count { margin: 4px 0 0; color: var(--dmn-sub); font-size: .9rem; }
.page-head__links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 8px 0 0; font-size: .88rem; font-weight: 700; }
.page-head__links a { display: inline-flex; align-items: center; gap: 4px; text-decoration: none; }
.page-head__lead { color: var(--dmn-sub); }
.page-head--hero { text-align: center; padding: 24px 0; }
.term-desc { margin-bottom: 16px; color: var(--dmn-sub); font-size: .92rem; }

.empty { text-align: center; padding: 40px 0; }
.empty__title { font-family: var(--dmn-font-head); font-size: 1.15rem; color: var(--dmn-dark); }

.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 28px 0; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 10px; border-radius: 8px; background: var(--dmn-band); color: var(--dmn-dark); text-decoration: none; font-weight: 700; }
.pagination .current { background: var(--dmn-main); color: #fff; }

/* ---------- イベントページ・募集ページ ---------- */
.event__layout { display: grid; gap: 16px; padding-top: 12px; }
.event__media { margin: 0 calc(var(--dmn-gap) * -1); aspect-ratio: 1 / 1; background: var(--dmn-band); overflow: hidden; }
.event__media img, .event__media .thumb-fallback { width: 100%; height: 100%; object-fit: cover; }
.event__badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 6px; }
.event__badges .label { box-shadow: none; background: var(--dmn-band); }
.event__title { font-size: clamp(1.4rem, 5.5vw, 2rem); margin-bottom: 14px; }
.event__kicker { display: block; font-size: .82rem; color: var(--dmn-orange-dark); font-weight: 700; margin-bottom: 2px; }
.is-ended .event__media img { filter: grayscale(.3); }

.info { margin: 0 0 16px; border-top: 1px solid var(--dmn-line); }
.info > div { display: grid; grid-template-columns: 5.5em 1fr; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--dmn-line); }
.info dt { display: flex; align-items: flex-start; gap: 4px; color: var(--dmn-sub); font-size: .88rem; font-weight: 700; }
.info dt .icon { margin-top: .25em; color: var(--dmn-main); }
.info dd { margin: 0; }
.info small { color: var(--dmn-sub); }

.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.actions .btn { flex: 1 1 auto; font-size: .88rem; }
.boshu-link { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; padding: 10px 14px; border-radius: var(--dmn-radius-s); background: #e9f0e7; color: var(--dmn-teal-dark); font-size: .9rem; font-weight: 700; }
.boshu-link a { color: var(--dmn-teal-dark); }

.section-block { margin: 28px 0; }
.section-block__title { font-size: 1.15rem; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid var(--dmn-band-strong); display: flex; align-items: baseline; gap: 8px; }
.section-block__title .count { font-size: .85rem; color: var(--dmn-pink-dark); }

.vendor-list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 14px; }
.vendor-list li > a, .vendor-list li > span:first-child { color: inherit; }
.vendor-list li { display: flex; }
.vendor-list li > a { display: flex; align-items: center; gap: 8px; width: 100%; padding: 8px; border-radius: 10px; background: var(--dmn-band); text-decoration: none; }
.vendor-list li:not(:has(a)) { align-items: center; gap: 8px; padding: 8px; border-radius: 10px; background: var(--dmn-band); }
.vendor-list__avatar { display: grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; overflow: hidden; background: #fff; color: var(--dmn-pink-dark); font-weight: 700; }
.vendor-list__avatar img { width: 100%; height: 100%; object-fit: cover; }
.vendor-list__name { font-size: .9rem; font-weight: 700; line-height: 1.4; }

.slots { width: 100%; border-collapse: collapse; font-size: .95rem; }
.slots th, .slots td { padding: 10px; border-bottom: 1px solid var(--dmn-line); text-align: left; }
.slots thead th { background: var(--dmn-main); color: #fff; font-size: .85rem; }
.slots thead th:first-child { border-radius: 8px 0 0 0; }
.slots thead th:last-child { border-radius: 0 8px 0 0; }
.slots tbody th { font-weight: 700; color: var(--dmn-dark); }
.conds { margin: 0 0 12px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.conds > div { padding: 10px 12px; border-radius: 10px; background: var(--dmn-band); }
.conds dt { font-size: .8rem; color: var(--dmn-sub); font-weight: 700; }
.conds dd { margin: 0; font-weight: 700; }
.apply-box { padding: 16px; border-radius: var(--dmn-radius); background: #fff7f3; border: 1px solid #ffd9c9; }
.apply-box .section-block__title { border-bottom-color: #ffd9c9; }
.apply-box__note, .apply-box__source { font-size: .85rem; color: var(--dmn-sub); margin-bottom: .5em; }

/* 画面下に固定の申込ボタン（ボトムナビの上） */
.sticky-cta {
	position: fixed; left: 0; right: 0; z-index: 41;
	bottom: calc(var(--dmn-nav-h) + env(safe-area-inset-bottom));
	display: flex; align-items: center; gap: 12px; padding: 10px var(--dmn-gap);
	background: rgba(255,255,255,.97); border-top: 1px solid var(--dmn-line); box-shadow: 0 -4px 12px rgba(36,75,64,.08);
}
.sticky-cta__info { display: flex; flex-direction: column; line-height: 1.3; font-size: .75rem; color: var(--dmn-sub); }
.sticky-cta__info strong { font-size: .95rem; color: var(--dmn-orange-dark); }
.sticky-cta__btn { flex: 1; font-size: .98rem; }
.sticky-cta__label { display: flex; flex-direction: column; align-items: center; line-height: 1.25; }
.sticky-cta__label > span { display: inline-flex; align-items: center; gap: 4px; }
.sticky-cta__label small { font-size: .7rem; font-weight: 700; opacity: .9; }
.is-boshu .site-footer { padding-bottom: 96px; }

/* 本文（ブロックエディタ） */
.entry > * + * { margin-top: 1em; }
.entry h2 { font-size: 1.2rem; margin-top: 1.8em; }
.entry h3 { font-size: 1.05rem; margin-top: 1.5em; }
.entry ul, .entry ol { padding-left: 1.4em; }
.entry img { border-radius: var(--dmn-radius-s); }

/* ---------- カレンダー ---------- */
.month { margin-bottom: 20px; }
.month__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.month__head h2 { font-size: 1.1rem; }
.month__head a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--dmn-band); text-decoration: none; font-size: 1.3rem; }
.month__grid { width: 100%; border-collapse: separate; border-spacing: 3px; table-layout: fixed; text-align: center; }
.month__grid th { font-size: .75rem; color: var(--dmn-sub); font-weight: 700; }
.month__grid th:first-child { color: var(--dmn-pink-dark); }
.month__grid th:last-child { color: var(--dmn-main); }
.month__grid td { height: 46px; padding: 0; border-radius: 8px; font-size: .9rem; vertical-align: middle; }
.month__grid td > span, .month__grid td > a { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; color: var(--dmn-text); text-decoration: none; }
.month__grid td.has-events { background: var(--dmn-band); }
.month__grid td.has-events a { font-weight: 700; color: var(--dmn-dark); }
.month__grid td i { font-style: normal; font-size: .62rem; line-height: 1; padding: 2px 6px; margin-top: 2px; border-radius: 999px; background: var(--dmn-orange); color: #fff; }
.month__grid td.is-today { outline: 2px solid var(--dmn-orange); }
.day { margin-bottom: 20px; }
.day__head { position: sticky; top: var(--dmn-head-h); z-index: 5; display: flex; align-items: center; gap: 8px; padding: 8px 0; background: #fff; font-size: 1.05rem; }
.day__head .count { margin-left: auto; font-size: .8rem; color: var(--dmn-sub); }
.ical { text-align: center; margin: 24px 0; }

/* ---------- 主催者の方へ ---------- */
.features { list-style: none; display: grid; gap: 10px; }
.features li { padding: 14px 16px; border-radius: var(--dmn-radius); background: var(--dmn-band); display: flex; flex-direction: column; }
.features strong { color: var(--dmn-dark); }
.features span { font-size: .92rem; color: var(--dmn-sub); }
.steps { counter-reset: s; list-style: none; display: grid; gap: 8px; }
.steps li { counter-increment: s; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--dmn-line); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--dmn-orange); color: #fff; font-weight: 700; flex-shrink: 0; }
.faq { border-bottom: 1px solid var(--dmn-line); padding: 12px 0; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--dmn-dark); }
.faq p { margin: 8px 0 0; color: var(--dmn-sub); }
.request { padding: 18px; border-radius: var(--dmn-radius); background: var(--dmn-band); }
.request-form label { display: block; font-weight: 700; margin-bottom: 4px; font-size: .92rem; }
.request-form small { display: block; color: var(--dmn-sub); font-size: .78rem; margin-top: 4px; }
.request-form .req { display: inline-block; margin-left: 4px; padding: 0 6px; border-radius: 4px; background: var(--dmn-orange-dark); color: #fff; font-size: .7rem; vertical-align: middle; }
.request-form__agree label { font-weight: 400; display: flex; gap: 8px; align-items: flex-start; }
.request-form__agree input { margin-top: .4em; width: 20px; height: 20px; }
.notice { padding: 12px 14px; border-radius: var(--dmn-radius-s); font-weight: 700; }
.notice--ok { background: #e9f0e7; color: var(--dmn-teal-dark); }
.notice--ng { background: #fff0ea; color: var(--dmn-orange-dark); }

/* ---------- 出店者ページ（フェーズ3） ---------- */
.shop__head { text-align: center; padding: 20px 0 8px; }
.shop__avatar { width: 112px; height: 112px; margin: 0 auto 10px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 4px #fff, 0 0 0 7px var(--dmn-pink); }
.shop__avatar img, .shop__avatar .thumb-fallback { width: 100%; height: 100%; object-fit: cover; }
.shop__name { font-size: 1.5rem; margin-bottom: 6px; }
.shop__head .labels { justify-content: center; }
.next__card { display: flex; flex-direction: column; padding: 16px; border-radius: var(--dmn-radius); background: linear-gradient(135deg, #f2e5db, #fff); text-decoration: none; color: var(--dmn-dark); border: 1px solid #e7c9b9; }
.next__card strong { font-family: var(--dmn-font-head); font-size: 1.4rem; color: var(--dmn-pink-dark); }
.schedule { list-style: none; margin-top: 10px; }
.schedule a { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--dmn-line); text-decoration: none; color: var(--dmn-text); }
.schedule a span { flex-shrink: 0; width: 7em; font-weight: 700; color: var(--dmn-main); }

/* ---------- トップ：数字・案内 ---------- */
.numbers { list-style: none; display: flex; justify-content: center; gap: 12px; }
.numbers li { flex: 1; max-width: 200px; text-align: center; padding: 14px 8px; border-radius: var(--dmn-radius); background: var(--dmn-band); }
.numbers strong { display: block; font-family: var(--dmn-font-head); font-size: 1.8rem; color: var(--dmn-main); line-height: 1.2; }
.numbers span { font-size: .82rem; color: var(--dmn-sub); font-weight: 700; }
.promo-grid { display: grid; gap: 12px; }
.promo { padding: 20px; border-radius: var(--dmn-radius); color: #fff; }
.promo h2 { color: #fff; font-size: 1.15rem; margin-bottom: 6px; }
.promo p { font-size: .92rem; }
.promo--shop { background: linear-gradient(135deg, var(--dmn-pink-dark), var(--dmn-pink)); }
.promo--org { background: linear-gradient(135deg, var(--dmn-dark), var(--dmn-main)); }
.promo--inline { margin: 32px 0; }

/* ---------- フッター ---------- */
.site-footer { margin-top: 40px; background: var(--dmn-dark); color: #d6dfd2; font-size: .9rem; }
.site-footer__inner { max-width: var(--dmn-max); margin: 0 auto; padding: 32px var(--dmn-gap) 16px; display: grid; gap: 24px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer h2 { color: #fff; font-size: .95rem; margin-bottom: 8px; }
.site-footer ul { list-style: none; display: grid; gap: 6px; }
.site-logo--footer { color: #fff; margin-bottom: 8px; }
.site-footer .sns { display: inline-flex; align-items: center; gap: 6px; }
.site-footer__copy { text-align: center; padding: 12px; margin: 0; background: rgba(0,0,0,.2); }
.post-list { list-style: none; }
.post-list a { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--dmn-line); text-decoration: none; color: var(--dmn-text); }
.post-list time { color: var(--dmn-sub); flex-shrink: 0; }

/* ---------- ホーム画面に追加の案内 ---------- */
.install-banner {
	position: fixed; left: 12px; right: 12px; z-index: 45;
	bottom: calc(var(--dmn-nav-h) + env(safe-area-inset-bottom) + 12px);
	display: flex; align-items: center; gap: 10px; padding: 10px 12px;
	border-radius: var(--dmn-radius); background: #fff; box-shadow: 0 6px 24px rgba(36,75,64,.18);
}
.install-banner[hidden] { display: none; }
.install-banner__text { flex: 1; margin: 0; font-size: .82rem; line-height: 1.4; display: flex; flex-direction: column; }
.install-banner__text strong { color: var(--dmn-dark); font-size: .92rem; }
.install-banner__close { border: 0; background: none; font-size: 1.3rem; color: var(--dmn-sub); width: 32px; height: 32px; cursor: pointer; }
.is-boshu .install-banner { display: none; }

.offline-list { list-style: none; text-align: left; margin-top: 20px; }
.offline-list a { display: block; padding: 10px 0; border-bottom: 1px solid var(--dmn-line); }

/* ==========================================================
 * タブレット
 * ======================================================== */
@media (min-width: 768px) {
	:root { --dmn-gap: 24px; }
	.grid--2 { grid-template-columns: repeat(2, 1fr); }
	.grid--3 { grid-template-columns: repeat(2, 1fr); }
	.grid--list { grid-template-columns: repeat(2, 1fr); }
	.scroller { grid-auto-columns: 34%; }
	.scroller--shop { grid-auto-columns: 20%; }
	.cat-tiles { grid-template-columns: repeat(4, 1fr); }
	.promo-grid { grid-template-columns: 1fr 1fr; }
	.site-footer__inner { grid-template-columns: 2fr 1fr 1fr; }
	.vendor-list { grid-template-columns: repeat(3, 1fr); }
	.event__layout { grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
	.event__media { margin: 0; border-radius: var(--dmn-radius); }
	.hero { padding: 48px 0 52px; }
	.card--boshu .card__link { display: block; }
	.card--boshu .card__media { aspect-ratio: 1 / 1; height: auto; }
	.card--boshu .card__media .labels { display: flex; }
	.card--boshu .date-block { display: flex; }
	.grid--list .card--boshu .card__link { display: grid; grid-template-columns: 140px 1fr; }
	.grid--list .card--boshu .card__media { aspect-ratio: auto; height: 100%; }
	.grid--list .card--boshu .card__media .labels, .grid--list .card--boshu .date-block { display: none; }
	.sticky-cta { justify-content: center; }
	.sticky-cta__btn { flex: 0 1 420px; }
}

/* ==========================================================
 * PC（ボトムナビをやめてヘッダーのメニューに）
 * ======================================================== */
@media (min-width: 1024px) {
	body { padding-bottom: 0; }
	.bottom-nav { display: none; }
	.global-nav { display: block; }
	.search-toggle { margin-left: 4px; }
	.grid--3 { grid-template-columns: repeat(3, 1fr); }
	.scroller { grid-auto-columns: calc((100% - 36px) / 4); margin: 0; padding: 2px 0 10px; }
	.scroller--shop { grid-auto-columns: calc((100% - 60px) / 6); }
	.sticky-cta { bottom: 0; }
	.install-banner { display: none !important; }
	.is-boshu .site-footer { padding-bottom: 72px; }
	.month__grid td { height: 72px; }
	.card--l .card__media { aspect-ratio: 2 / 1; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

@media print {
	.site-header, .bottom-nav, .sticky-cta, .install-banner, .site-footer { display: none !important; }
	body { padding: 0; }
}

/* v0.2.0 — warm market design */
:root { --dmn-radius: 18px; --dmn-radius-s: 10px; --dmn-shadow: 0 3px 16px rgba(36,75,64,.08); }
.site-header { background: #244b40; border-bottom: 0; }
.site-header .site-logo, .site-header .global-nav a, .search-toggle { color: #fff; }
.site-header .global-nav a:hover { background: #386452; color: #fff; }
.site-logo__mark { color: #244b40; background: #f4f0e5; }
.btn--accent, .badge--today, .month__grid td i { color: #242e25; text-shadow: none; }
.hero { background: var(--dmn-bg); padding: 22px 0 12px; }
.hero__image { width: 100%; aspect-ratio: 3 / 1; object-fit: cover; border-radius: var(--dmn-radius); display: block; margin: 0 auto 22px; }
.hero__region { font-size: .8rem; letter-spacing: .04em; }
.hero__title { font-size: clamp(1.6rem, 4.4vw, 2.85rem); letter-spacing: .015em; }
.hero__lead { margin: 10px 0 18px; }
.hero-search { max-width: 650px; margin: 0 auto 18px; display:flex; gap:8px; padding:6px; border:1px solid var(--dmn-line); border-radius: 999px; background:#fff; box-shadow:var(--dmn-shadow); align-items:center; }
.hero-search .icon { margin-left:12px; color:var(--dmn-main); }
.hero-search input { min-width:0; flex:1; border:0; background:transparent; padding-left:0; }
.hero-search .btn { border-radius:999px; flex-shrink:0; }
.hero-links { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; max-width:750px; margin:0 auto; }
.hero-links a { min-height:80px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:5px; background:#fff; border:1px solid var(--dmn-line); border-radius:14px; text-decoration:none; font-size:.78rem; font-weight:700; box-shadow:var(--dmn-shadow); }
.hero-links a .icon { width:26px; height:26px; }
.hero-links a:hover { background:#e8eee5; }
.section { padding: 30px 0; }
.section--today { background:transparent; border:0; }
.section-head__title { font-size:clamp(1.2rem,2.5vw,1.7rem); }
.section-head__title::before { background:#d99552; }
.card { border:1px solid var(--dmn-line); }
.card__body { padding:14px; }
.card--shop .card__avatar { width:100%; height:auto; aspect-ratio:5/3; border-radius:12px; box-shadow:none; }
.cat-tile { background:#fff; }
.promo--shop { background:#244b40; }
.promo--org { background:#52694b; }
.site-footer { color:#e3eadc; }
.bottom-nav { background:#fffdf8; }
.month__grid td { background:#fff; }
.month__grid td.has-events { background:#dce9d9; }
.empty-line { background:#fff; border:1px solid var(--dmn-line); }
@media (min-width:768px) { .hero { padding:28px 0 20px; } .hero__image { margin-bottom:28px; } .hero-links { gap:14px; } .hero-links a { font-size:.93rem; min-height:95px; } .section { padding:38px 0; } }
@media (max-width:480px) { .hero__image { aspect-ratio: 2/1; } .hero-links a { font-size:.72rem; } .hero-search input { font-size:16px; } .hero-search .btn { padding:.55em .8em; } .hero__title { text-wrap:balance; } }

/* 0.3.0 — editorial layout */
:root { --dmn-max:1280px; --dmn-radius:3px; --dmn-radius-s:2px; --dmn-shadow:none; --dmn-font-head:var(--dmn-font); }
.site-header { background:#fff; border-bottom:1px solid #d9d6ca; }
.site-header .site-logo,.site-header .global-nav a,.site-header .search-toggle { color:#244b40; }
.site-header .global-nav a:hover { background:#f4f0e5; color:#244b40; }
.site-header .site-logo__mark { background:transparent; border:1px solid #244b40; }
.editorial-region { font-size:.75rem; color:#244b40; border-left:1px solid #c7c4b7; padding-left:12px; }
.home .hero { text-align:left; background:#f4f0e5; padding:36px 0 0; }
.editorial-hero { display:grid; grid-template-columns:minmax(0, .85fr) minmax(0,1.15fr); gap:clamp(24px,5vw,76px); align-items:center; }
.editorial-copy { padding:25px 0; }
.home .hero__region { display:flex; flex-wrap:wrap; gap:12px; font-size:.72rem; letter-spacing:.12em; color:#795a36; margin-bottom:22px; }
.hero__region span { border-left:1px solid #bcb6a6; padding-left:12px; }
.home .hero__title { font-family:"Hiragino Mincho ProN","Yu Mincho",YuMincho,"Noto Serif CJK JP",serif; font-weight:600; font-size:clamp(2rem,4.2vw,4rem); line-height:1.55; letter-spacing:.035em; text-wrap:wrap; }
.home .hero__lead { font-size:1rem; margin:18px 0 28px; }
.editorial-link { display:inline-flex; align-items:center; gap:32px; text-decoration:none; padding:8px 0; border-bottom:1px solid currentColor; font-weight:700; }
.home .hero__image,.editorial-cover { width:100%; aspect-ratio:4/3; object-fit:cover; border-radius:0; margin:0; display:block; }
.editorial-cover { background:#244b40; color:#f4f0e5; padding:clamp(20px,4vw,56px); display:flex; flex-direction:column; justify-content:space-between; overflow:hidden; }
.editorial-cover strong { font-family:Georgia,serif; font-size:clamp(2rem,6vw,6rem); font-weight:400; line-height:.95; letter-spacing:-.055em; }
.editorial-cover small { letter-spacing:.12em; font-size:.7rem; }
.home .hero-search { max-width:none; margin:32px 0 0; border-radius:0; box-shadow:none; padding:8px; }
.home .hero-search .btn { border-radius:0; min-width:100px; }
.home .hero-links { max-width:none; gap:0; border-bottom:1px solid #c7c4b7; margin:0; }
.home .hero-links a { background:transparent; border:0; border-radius:0; box-shadow:none; min-height:58px; flex-direction:row; font-size:.86rem; }
.home .hero-links a+a { border-left:1px solid #ded8ca; }
.home .hero-links a .icon { width:18px;height:18px; }
.home .section { padding:44px 0; background:transparent; }
.home .section+.section .container { border-top:1px solid #c7c4b7; padding-top:30px; }
.home .section-head { margin-bottom:24px; }
.home .section-head__title { padding:0; font-size:clamp(1.35rem,2.5vw,2rem); font-weight:600; }
.home .section-head__title:before { content:none; }
.home .card { background:transparent; border:0; border-radius:0; box-shadow:none; }
.home .card__body { padding:12px 0; }
.home .card__media,.home .card--shop .card__avatar { border-radius:0; }
.home .card--shop { text-align:left; }
.home .card--shop .card__avatar { aspect-ratio:4/3; margin:0 0 12px; }
.home .scroller--shop { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); grid-auto-flow:row; grid-auto-columns:auto; overflow:visible; margin:0;padding:0; gap:24px; }
.editorial-weekend { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.editorial-weekend .card:first-child { grid-column:span 2; grid-row:span 2; }
.editorial-weekend .card:first-child .card__media { aspect-ratio:4/3; }
.editorial-weekend .card:not(:first-child) .card__media { aspect-ratio:2/1; }
.editorial-today { gap:24px; }
.editorial-area-list { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:0 28px; list-style:none; }
.editorial-area-list a { display:flex; justify-content:space-between; gap:12px; padding:14px 0; border-bottom:1px solid #c7c4b7; text-decoration:none; }
.home .cat-tile { border-radius:0; box-shadow:none; background:transparent; border:1px solid #c7c4b7; }
.home .empty-line { background:transparent; border:0; padding:12px 0; }
.home .promo { border-radius:0; padding:28px; }
@media(min-width:1024px){.home .container,.site-header__inner { padding-left:32px; padding-right:32px; }}
@media(max-width:767px){.home .hero{padding-top:18px}.editorial-hero{grid-template-columns:1fr;gap:12px}.editorial-copy{padding:10px 0}.home .hero__region{margin-bottom:10px}.home .hero__title{font-size:2.1rem}.home .hero__lead{margin:10px 0 14px}.home .hero__image,.editorial-cover{aspect-ratio: 16/10}.editorial-cover strong{font-size:3.2rem}.home .hero-search{margin-top:18px}.home .hero-search .btn{min-width:62px}.home .hero-links a{font-size:.7rem;flex-direction:column;gap:4px}.home .section{padding:28px 0}.home .section+.section .container{padding-top:20px}.home .scroller--shop,.editorial-today,.editorial-weekend{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.editorial-weekend .card:first-child{grid-column:1/-1;grid-row:auto}.editorial-area-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}.home .card__body{gap:6px}.home .card__title{font-size:.95rem}.home .card--l .card__media{aspect-ratio:4/3}}
@media(max-width:380px){.home .editorial-today{grid-template-columns:1fr}.home .hero__title{font-size:1.9rem}}

/* Header logo only */
.site-header .header-logo-image { display:block; width:220px; max-width:100%; height:auto; }
@media(max-width:767px){ .site-header .header-logo-image { width:150px; } }

/* 0.3.1 — shared footer logo */
.site-footer .footer-logo-image { display:block; width:220px; max-width:100%; height:auto; }
@media(max-width:767px){ .site-footer .footer-logo-image { width:180px; } }
