@charset "UTF-8";

/* =========================================================
 * 福恩麻辣湯 店舗一覧
 * カスタム投稿タイプ「店舗」+ タクソノミー「エリア」
 * 絞り込みはCSSのみで動作（ラジオ + 兄弟セレクタ）
 * エリアごとの絞り込みルールは inc/store-list.php が動的に出力します
 * ========================================================= */

.fuen-store-list,
.fuen-store-list * {
	box-sizing: border-box;
}

.fuen-store-list {
	--fuen-bg: #ffffff;
	--fuen-text: var(--color_text);
	--fuen-accent: var(--color_main);
	--fuen-line: var(--color_border, rgba(51, 51, 51, 0.18));
	--fuen-muted: color-mix(in srgb, var(--color_text) 58%, #ffffff);
	--fuen-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%23000' d='M44 27H4v-3h36.7l-5.8-6.5 2.2-2 8 9z'/%3E%3C/svg%3E");
	position: relative;
	background: var(--fuen-bg);
	color: var(--fuen-text);
	font-family: "Avenir Next", "Helvetica Neue", "Hiragino Sans", "Yu Gothic", sans-serif;
	padding: 122px 7vw 138px;
}

/* 本文カラムを突き抜けて画面幅いっぱいに */
.fuen-store-list--full {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

/* ---- SWELL本文スタイルの打ち消し ---- */
.post_content .fuen-store-list {
	margin-top: 0;
	margin-bottom: 0;
}

.fuen-store-list h2,
.fuen-store-list h3,
.fuen-store-list p,
.fuen-store-list small,
.fuen-store-list article,
.fuen-store-list label,
.fuen-store-list span,
.fuen-store-list strong,
.fuen-store-list a {
	background: none;
	border-radius: 0;
	box-shadow: none;
	color: inherit;
	counter-increment: none;
	text-align: left;
	text-decoration: none;
}

.fuen-store-list h2,
.fuen-store-list h3,
.fuen-store-list p,
.fuen-store-list small,
.fuen-store-list span,
.fuen-store-list strong,
.fuen-store-list a {
	border: 0;
}

.fuen-store-list h2::before,
.fuen-store-list h2::after,
.fuen-store-list h3::before,
.fuen-store-list h3::after {
	content: none;
	display: none;
}

.fuen-store-list h2,
.fuen-store-list h3,
.fuen-store-list p {
	padding: 0;
}

.fuen-store-list__inner {
	margin: 0 auto;
	max-width: 1440px;
}

.fuen-store-list__radio {
	height: 1px;
	opacity: 0;
	pointer-events: none;
	position: absolute;
	width: 1px;
}

/* ---- 見出し・件数 ---- */
.fuen-store-list__heading {
	align-items: end;
	display: flex;
	justify-content: space-between;
}

.fuen-store-list__heading h2 {
	font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", Georgia, serif;
	font-size: clamp(38px, 4.2vw, 58px);
	font-weight: 500;
	letter-spacing: -0.055em;
	line-height: 1.4;
	margin: 0;
}

.fuen-store-list__heading > div > p {
	color: var(--fuen-accent);
	font-family: Georgia, serif;
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.22em;
	margin: 18px 0 0;
}

.fuen-store-list__count {
	align-items: baseline;
	display: flex;
	font-size: 13px;
	gap: 10px;
	margin: 0 0 9px;
	white-space: nowrap;
}

.fuen-store-list__count-number {
	color: var(--fuen-accent);
	font-family: Georgia, serif;
	font-size: 50px;
	font-weight: 400;
	line-height: 1;
	margin-left: 6px;
}

/* 選択中のエリアのみ表示（表示ルールは動的CSSで指定） */
.fuen-store-list__count-region,
.fuen-store-list__count-number {
	display: none;
}

/* ---- 絞り込みタブ ---- */
.fuen-region-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	margin: 58px 0 58px;
}

.fuen-region-tabs label {
	align-items: center;
	background: transparent;
	border: 1px solid var(--fuen-line);
	border-radius: 999px;
	box-sizing: border-box;
	color: var(--fuen-text);
	cursor: pointer;
	display: inline-flex;
	font-size: 11px;
	justify-content: center;
	line-height: 1.5;
	min-width: 112px;
	padding: 12px 28px;
	text-align: center;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.fuen-region-tabs label:hover,
.fuen-region-tabs label:focus-visible {
	background: var(--fuen-accent);
	border-color: var(--fuen-accent);
	color: var(--fuen-bg);
}

/* ---- 店舗カード ---- */
.fuen-shop-list {
	border-top: 1px solid var(--fuen-line);
}

.fuen-shop-card {
	align-items: center;
	border-bottom: 1px solid var(--fuen-line);
	border-top: 0;
	border-left: 0;
	border-right: 0;
	display: grid;
	gap: 25px;
	grid-template-columns: 90px 1.15fr 1fr auto;
	min-height: 116px;
	padding: 21px 0;
}

.fuen-store-list .fuen-shop-card__area {
	color: var(--color_main);
	font-family: Georgia, serif;
	font-size: 8px;
	letter-spacing: 0.16em;
	writing-mode: vertical-rl;
}

.fuen-shop-card__name {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.fuen-shop-card__name small {
	color: var(--fuen-accent);
	font-size: 9px;
	font-weight: 700;
}

.fuen-shop-card__name h3 {
	font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", Georgia, serif;
	font-size: 21px;
	font-weight: 600;
	line-height: 1.4;
	margin: 7px 0 0;
}

.fuen-shop-card__address p,
.fuen-shop-card__address small {
	font-size: 11px;
	line-height: 1.8;
	margin: 0;
}

.fuen-shop-card__address small {
	color: var(--fuen-muted);
}

/* ---- MAP / SNS ボタン ---- */
.fuen-shop-card__actions {
	display: flex;
	gap: 10px;
	min-width: 168px;
}

.fuen-store-list .fuen-shop-card__btn {
	align-items: center;
	border: 1px solid var(--fuen-text);
	color: var(--fuen-text);
	display: flex;
	flex: 1 1 0;
	font-size: 9px;
	gap: 0.55em;
	justify-content: space-between;
	letter-spacing: 0.12em;
	padding: 12px 10px 12px 13px;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.fuen-shop-card__btn::after {
	content: "";
	display: block;
	flex-shrink: 0;
	width: 1.5em;
	height: 1.5em;
	background-color: currentColor;
	-webkit-mask-image: var(--fuen-arrow);
	mask-image: var(--fuen-arrow);
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: 1.3em 1.3em;
	mask-size: 1.3em 1.3em;
}

a.fuen-shop-card__btn:hover,
a.fuen-shop-card__btn:focus-visible {
	background: var(--fuen-accent);
	border-color: var(--fuen-accent);
	color: var(--fuen-bg);
}

.fuen-store-list__empty {
	color: var(--fuen-muted);
	font-size: 12px;
	margin: 0;
	padding: 40px 0;
}

.fuen-store-list__note {
	color: var(--fuen-muted);
	font-size: 9px;
	line-height: 1.8;
	margin: 20px 0 0;
	max-width: 760px;
}

@media (max-width: 760px) {
	.fuen-store-list {
		padding: 88px 22px 100px;
	}

	.fuen-store-list__heading {
		align-items: flex-start;
		flex-direction: column;
		gap: 28px;
	}

	.fuen-store-list__heading h2 {
		font-size: 42px;
	}

	.fuen-store-list__count {
		margin: 0;
	}

	.fuen-region-tabs {
		margin-top: 42px;
	}

	.fuen-region-tabs label {
		flex: 1 1 calc(33.333% - 9px);
		min-width: 82px;
	}

	.fuen-shop-card {
		align-items: start;
		gap: 12px 15px;
		grid-template-columns: 28px 1fr;
		padding: 27px 0;
	}

	.fuen-shop-card__area {
		grid-row: 1 / 4;
	}

	.fuen-shop-card__address,
	.fuen-shop-card__actions {
		grid-column: 2;
	}

	.fuen-shop-card__actions {
		margin-top: 7px;
		min-width: 0;
		width: fit-content;
	}

	.fuen-shop-card__btn {
		padding: 10px 10px 10px 13px;
	}

	.fuen-store-list__note {
		font-size: 8px;
		margin-top: 24px;
	}
}
