@charset "UTF-8";
/* ============================================================
   レストランを探す（予算での絞り込み）
   page-restaurant.php ＋ template-parts/pages/filter-budget.php 用

   共通部品（.filo-chip .filo-filterbar .filo-card .filo-empty など）は
   00-tokens.css と 20-pages.css 側にある。ここには重複させず、
   このページで新しく出てくるものだけを書く。
   ============================================================ */

/* ---------- ページヘッダー（レストランの色。--oto / --hotel と同じ作り） ---------- */
.filo-pagehead--rest { background: var(--filo-c-rest); }
.filo-pagehead--rest::after {
	background: linear-gradient(90deg, rgba(58, 18, 18, .94) 0%, rgba(58, 18, 18, .7) 100%);
}

/* ---------- 価格帯のチップ ---------- */
/* 「¥10,000〜¥14,999」は途中で折り返すと読めなくなるので必ず1行に保つ */
.filo-chip--budget {
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}
.filo-band__short { display: none; }

/* ---------- 「ほかN件」の折りたたみ（JSなし・details要素） ---------- */
.filo-more { flex: 0 0 auto; }
.filo-more[open] { flex: 1 1 100%; }   /* 開いたら行を独占して、下に一覧を並べる */

.filo-more__toggle {
	list-style: none;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	color: var(--filo-ink-3);
}
.filo-more__toggle::-webkit-details-marker { display: none; }
.filo-more__toggle::after {
	content: "＋";
	margin-left: 6px;
	font-size: 11px;
	line-height: 1;
}
.filo-more[open] .filo-more__toggle {
	margin-bottom: 10px;
	color: var(--filo-ink-2);
}
.filo-more[open] .filo-more__toggle::after { content: "－"; }

/* ---------- 絞り込み中の条件（外すリンク付き） ---------- */
.filo-active {
	background: var(--filo-gold-bg);
	border-bottom: 1px solid var(--filo-line);
}
.filo-active__inner {
	display: flex;
	align-items: center;
	gap: 10px 14px;
	flex-wrap: wrap;
	padding-block: 12px;
}
.filo-active__label {
	font-size: 11px;
	letter-spacing: .14em;
	color: var(--filo-ink-3);
	flex: none;
}
.filo-active__list {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	margin: 0;
	padding: 0;
	list-style: none;
}
.filo-active__item {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	background: var(--filo-card);
	border: 1px solid var(--filo-gold-2);
	border-radius: 100px;
	padding: 5px 6px 5px 13px;
	font-size: 12.5px;
	line-height: 1.6;
	color: var(--filo-ink);
}
.filo-active__axis {
	font-size: 10.5px;
	letter-spacing: .1em;
	color: var(--filo-ink-3);
}
.filo-active__value { font-weight: 700; }
.filo-active__remove {
	display: grid;
	place-items: center;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--filo-gold-bg);
	color: var(--filo-gold);
	font-size: 12px;
	line-height: 1;
	text-decoration: none;
	flex: none;
}
.filo-active__remove:hover {
	background: var(--filo-gold);
	color: #fff;
}
.filo-active__clear {
	margin-left: auto;
	font-size: 12px;
	color: var(--filo-ink-2);
	text-decoration: none;
	border-bottom: 1px solid var(--filo-line);
	padding-bottom: 2px;
	white-space: nowrap;
}
.filo-active__clear:hover { color: var(--filo-gold); border-color: var(--filo-gold); }

/* ---------- 0件のときに「条件を1つ外す」導線 ---------- */
.filo-relax {
	margin-top: 22px;
	text-align: center;
}
.filo-relax__title {
	font-size: 12.5px;
	color: var(--filo-ink-3);
	margin: 0 0 12px;
	letter-spacing: .06em;
}
.filo-relax .filo-chips { justify-content: center; }

/* ---------- レスポンシブ ---------- */
@media (max-width: 640px) {
	/* 価格帯は短い表記に切り替える（1万〜／2万〜）*/
	.filo-band__long { display: none; }
	.filo-band__short { display: inline; }
	.filo-chip--budget { padding-inline: 13px; }

	.filo-active__inner { padding-block: 10px; }
	.filo-active__label { min-width: 100%; }
	.filo-active__clear { margin-left: 0; }
}
