@charset "UTF-8";
/*-------------------------
 * イベントページ用スタイル
 * ブレークポイント: 640px（common.css の #header と共通）
-------------------------*/

.ev-body {
	/* 補助テキストは明るい背景で薄すぎたため、このページ内だけ濃くする */
	--textMuted: #5c5c5c;
	background:
		linear-gradient(to bottom, #e70f3b 0%, rgba(113, 14, 27, 0) 96%),
		linear-gradient(to right, #0f0f0f 0%, #1e1e1e 50%, #0f0f0f 100%);
	color: var(--textPrimary, #f1f1f1);
	height: 100dvh;
	overflow: hidden;
}

:where(.ev-body a:link, .ev-body a:visited) {
	color: inherit;
}

/*-------------------------
 * ヘッダーは common.css の #header / #navicon / #hm_menu を使用
-------------------------*/

.ev-main {
	position: fixed;
	inset: 64px 0 0;
}

/*-------------------------
 * Toolbar / Filters
-------------------------*/

.ev-toolbar {
	/* マップは画面全体に敷くため、ツールバーはその上に重ねる */
	position: absolute;
	inset: 0 0 auto;
	z-index: 10;
	/* 左右余白は1000px以上で80px、それ未満は画面幅の8%に縮む */
	padding: var(--space24) min(80px, 8vw);
	display: flex;
	gap: var(--space8);
	font-weight: 500;
}

.ev-toolbar__row {
	display: contents;
}

/* 地図の明るさに関係なく白いバーを読めるようにする、上端からの暗いグラデーション */
.ev-toolbar::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: calc(100% + var(--space24));
	z-index: -1;
	pointer-events: none;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0));
}

/*-------------------------
 * 検索結果0件メッセージ
-------------------------*/

.ev-empty {
	position: absolute;
	top: calc(var(--space24) + 20px);
	left: 50%;
	transform: translate(-50%, -50%);
	width: 1000px;
	max-width: calc(100% - min(80px, 8vw) * 2);
	z-index: 25;
	background: #fff;
	border-radius: 8px;
	padding: var(--space16) var(--space24);
	display: flex;
	align-items: center;
	gap: var(--space8);
	box-shadow: 0 4px 2px rgba(0, 0, 0, 0.25);
	color: #040404;
	font-size: 20px;
	font-weight: 400;
	line-height: 1.5;
}

.ev-empty[hidden] {
	display: none;
}

.ev-empty__icon {
	flex-shrink: 0;
	width: 24px;
	height: 24px;
}

.ev-search,
.ev-filter {
	appearance: none;
	/* 影はリストと共通。背景は地図が透けないよう不透明にする */
	background: #f2f2f2;
	border: none;
	border-radius: 24px;
	box-shadow: 0 0 16px rgba(0, 0, 0, 0.25);
	color: var(--bgDark02);
	font-size: 14px;
	letter-spacing: 0.5px;
	height: 40px;
	display: flex;
	align-items: center;
	gap: var(--space8);
	padding-inline: 20px 12px;
}

.ev-search {
	/* 現在地の住所（番地まで）が収まる幅。幅が足りないときだけ縮む */
	flex: 0 1 600px;
	min-width: 0;
	color: var(--textMuted);
	padding: 12px;
	gap: 7px;
	font-size: 14px;
	border-radius: 50px;
	cursor: text;
}

.ev-search input {
	flex: 1;
	min-width: 0;
	appearance: none;
	background: none;
	border: none;
	outline: none;
	color: var(--bgDark02);
	font: inherit;
	letter-spacing: inherit;
	text-overflow: ellipsis;
}

.ev-search input::placeholder {
	color: var(--textMuted);
}

.ev-search__icon {
	flex-shrink: 0;
	/* 14pxの文字に対して24pxは大きいため縮小 */
	width: 20px;
	height: 20px;
	/* 白アイコン素材を白背景のバーに合わせて黒く反転させる */
	filter: brightness(0);
}

.ev-search__bar {
	flex-shrink: 0;
	width: 1px;
	height: 14px;
	background: rgba(37, 37, 37, 0.3);
}

.ev-filters {
	display: contents;
}

.ev-dropdown--area {
	order: 1;
}

.ev-search {
	order: 2;
}

.ev-dropdown--date {
	order: 3;
}

.ev-dropdown--grow {
	order: 4;
}

.ev-filter {
	width: 100%;
	justify-content: space-between;
}

.ev-dropdown__item {
	padding-bottom: 1px;
}

/* 項目が縮んだときは文字を折り返さず、1行のまま「…」で省略する */
.ev-filter span:first-child {
	min-width: 0;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.ev-filter__arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	/* common.css のヘッダープルダウンと同じ動き */
	transition: 0.3s ease;
}

/* 共通の白い矢印素材（arrow_down_w.svg）を白背景のバー用に黒く反転させる */
.ev-filter__arrow img {
	filter: brightness(0);
}

/*-------------------------
 * Dropdowns（エリア／日時／イベント）
-------------------------*/

/* 幅が足りないときのみ縮む */
.ev-dropdown {
	position: relative;
	width: 200px;
	flex-shrink: 1;
	min-width: 0;
}

.ev-dropdown--grow {
	width: auto;
	flex: 1 0 0;
	min-width: 120px;
}

.ev-dropdown[data-open] .ev-filter__arrow {
	transform: rotateX(180deg);
}

/* ホバー・押下中は黒背景／白文字に反転させる */
.ev-search,
.ev-filter,
.ev-search__bar,
.ev-search__icon,
.ev-filter__arrow img {
	transition: background-color 0.15s ease-out, color 0.15s ease-out, filter 0.15s ease-out;
}

.ev-filter:hover,
.ev-filter:active {
	background: var(--bgDark02);
	color: var(--textPrimary, #f1f1f1);
}

.ev-search:hover,
.ev-search:active {
	background: var(--bgDark02);
	color: rgba(255, 255, 255, 0.7);
}

.ev-search:hover input,
.ev-search:active input {
	color: #fff;
}

.ev-search:hover input::placeholder,
.ev-search:active input::placeholder {
	color: rgba(255, 255, 255, 0.7);
}

.ev-search:hover .ev-search__bar,
.ev-search:active .ev-search__bar {
	background: #fff;
}

/* 黒背景に戻るので白アイコンの黒反転を解除する */
.ev-filter:hover .ev-filter__arrow img,
.ev-filter:active .ev-filter__arrow img,
.ev-search:hover .ev-search__icon,
.ev-search:active .ev-search__icon {
	filter: none;
}

@media (prefers-reduced-motion: reduce) {

	.ev-filter,
	.ev-filter__arrow {
		transition: none;
	}
}

.ev-dropdown__panel {
	display: none;
	position: absolute;
	top: calc(100% + var(--space8));
	left: 0;
	width: 240px;
	max-height: 320px;
	overflow-y: auto;
	background: #f1f1f1;
	border-radius: 8px;
	padding: var(--space8);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
	z-index: 30;
}

.ev-dropdown--grow .ev-dropdown__panel {
	width: 100%;
	min-width: 320px;
	left: auto;
	right: 0;
}

.ev-dropdown[data-open] .ev-dropdown__panel {
	display: block;
}

.ev-dropdown__item {
	display: block;
	width: 100%;
	text-align: left;
	appearance: none;
	background: none;
	border: none;
	border-radius: 8px;
	padding: var(--space8);
	font-size: 14px;
	line-height: 1.4;
	letter-spacing: 0.5px;
	color: var(--black);
	cursor: pointer;
}

.ev-dropdown__item:hover,
.ev-dropdown__item.is-selected {
	background: rgba(193, 16, 51, 0.2);
}

/*-------------------------
 * カレンダー
-------------------------*/

.ev-calendar-modal {
	position: fixed;
	inset: 0;
	z-index: 10500;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: var(--space24);
	background: rgba(0, 0, 0, 0.4);
}

.ev-calendar-modal[hidden] {
	display: none;
}

.ev-calendar-modal__box {
	width: 100%;
	max-width: calc(361px + 80px * 2);
	max-height: 100%;
	overflow-y: auto;
	background: #f1f1f1;
	border-radius: 24px;
	padding: var(--space40) 80px;
	display: flex;
	flex-direction: column;
	gap: var(--space16);
}

.ev-calendar-modal__card {
	background: #fff;
	border-radius: 13px;
	padding: 5px 0 13px;
	box-shadow: 0 10px 60px rgba(0, 0, 0, 0.1);
}

.ev-calendar__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 44px;
	padding: 0 var(--space16);
}

.ev-calendar__label {
	font-size: 17px;
	font-weight: 600;
	letter-spacing: -0.5px;
	color: #000;
}

.ev-calendar__nav-group {
	display: flex;
	align-items: center;
	gap: var(--space24);
	opacity: 0.5;
}

.ev-calendar__nav {
	appearance: none;
	background: none;
	border: none;
	padding: 0;
	width: 20px;
	height: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.ev-calendar__weekdays {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	align-items: center;
	height: 20px;
	padding: 0 var(--space16);
	font-size: 13px;
	color: rgba(60, 60, 67, 0.5);
	text-align: center;
	text-transform: uppercase;
}

.ev-calendar__grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	row-gap: 7px;
	padding: 3px var(--space16) 0;
}

.ev-calendar__day {
	appearance: none;
	background: none;
	border: none;
	justify-self: center;
	width: 100%;
	max-width: 44px;
	aspect-ratio: 1;
	border-radius: 50%;
	font-size: 20px;
	letter-spacing: -0.45px;
	line-height: 1;
	color: #000;
	cursor: pointer;
	transition: background-color 0.15s ease;
}

/* 月初の曜日合わせ用の空セル */
.ev-calendar__day.is-pad {
	visibility: hidden;
}

.ev-calendar__day:disabled {
	color: rgba(0, 0, 0, 0.25);
	cursor: default;
}

.ev-calendar__day:not(:disabled):hover {
	background: rgba(193, 16, 51, 0.15);
}

.ev-calendar__day.is-selected {
	background: var(--mainColor02);
	color: #f1f1f1;
}

.ev-calendar__day.is-selected:hover {
	background: var(--mainColor01);
}

.ev-calendar-modal__actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--space8);
}

.ev-calendar-modal__btn {
	min-width: 0;
	height: 48px;
	border-radius: 32px;
	padding: 0 var(--space24) 1px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.5px;
	white-space: nowrap;
	cursor: pointer;
	background: #f1f1f1;
}

.ev-calendar-modal__btn--clear {
	border: 2px solid var(--textMuted);
	color: var(--textMuted);
}

.ev-calendar-modal__btn--confirm {
	border: 3px solid transparent;
	background:
		linear-gradient(#f1f1f1, #f1f1f1) padding-box,
		linear-gradient(to bottom, #e70f3b 0%, #710e1b 100%) border-box;
	color: var(--mainColor02);
}

/*-------------------------
 * Layout: list + map
-------------------------*/

.ev-layout {
	position: absolute;
	inset: 0;
	/* ツールバー(z-index:10)と0件メッセージ(z-index:25)より下に敷く */
	z-index: 0;
}

/*-------------------------
 * List column (PC) / Bottom sheet (SP)
-------------------------*/

/* マップの上に浮かせる。上端はツールバー（上余白40 + 行48 + 下余白24）の下 */
.ev-list {
	position: absolute;
	top: calc(var(--space24) + 40px + var(--space24));
	bottom: 80px;
	left: min(80px, 8vw);
	z-index: 20;
	width: 400px;
	max-width: calc(100% - min(80px, 8vw) * 2);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: rgba(242, 242, 242, 0.95);
	border-radius: 24px;
	box-shadow: 0 0 16px rgba(0, 0, 0, 0.25);
	color: var(--bgDark02);
}

.ev-list__handle {
	display: none;
}

/* 店舗・イベント切り替えとイベントの絞り込み */
.ev-list__panel {
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: var(--space16) 20px 14px;
}

.ev-list__head {
	display: flex;
	align-items: center;
	gap: var(--space8);
	padding: var(--space16) 20px;
	border-top: 1px solid rgba(155, 155, 155, 0.4);
	line-height: 14px;
}

.ev-list__head h2 {
	font-size: var(--fontSizeXSmall);
	font-weight: 500;
	line-height: 14px;
	letter-spacing: 0.5px;
	color: #1a1a1a;
}

.ev-list__count {
	font-size: var(--fontSizeXSmall);
	font-weight: 500;
	color: #6b6b6b;
}

.ev-list__items {
	flex: 1;
	overflow-y: auto;
	border-top: 1px solid rgba(155, 155, 155, 0.4);
}

.ev-card {
	position: relative;
	padding: 20px;
	border-bottom: 1px solid rgba(155, 155, 155, 0.4);
	letter-spacing: 0.5px;
	cursor: pointer;
	transition: background-color 0.15s ease;
}

.ev-card:last-child {
	border-bottom: none;
}

/* SPでカードを選択したときは、対象のカードとピンだけを残す */
.ev-card.is-hidden,
.ev-map__pin.is-hidden {
	display: none;
}

.ev-list.is-focused .ev-card {
	border-bottom: none;
}

.ev-card::before {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: 4px;
	background: #e00f39;
	opacity: 0;
}

.ev-card:hover {
	background: rgba(231, 15, 59, 0.12);
}

.ev-card:hover::before {
	opacity: 1;
}

.ev-card__title {
	margin-bottom: 6px;
}

.ev-card__event {
	font-weight: 700;
	font-size: 16px;
	line-height: 20px;
}

.ev-card__series {
	font-size: 11px;
	line-height: 16px;
	color: var(--textMuted);
	font-weight: 500;
}

/* 店舗名は16px・住所と日時は12pxで行間が異なるため、
   見た目の間隔が揃うよう住所と日時を詰め、店舗名の下だけ広げる */
.ev-card__body {
	display: flex;
	flex-direction: column;
	gap: 2px;
	font-weight: 500;
}

.ev-card__shop {
	font-size: 13px;
	line-height: 18px;
	margin-bottom: 2px;
}

.ev-card__address,
.ev-card__date {
	font-size: 11px;
	line-height: 16px;
	color: var(--textMuted);
}

/*-------------------------
 * Map column (PC) / Full-bleed map (SP)
-------------------------*/

.ev-map {
	position: absolute;
	inset: 0;
	overflow: hidden;
}

.ev-map__surface {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(rgba(241, 241, 241, 0.06) 1px, transparent 1px) 0 0 / 40px 40px,
		linear-gradient(90deg, rgba(241, 241, 241, 0.06) 1px, transparent 1px) 0 0 / 40px 40px,
		#2a2a2a;
}

.ev-map__iframe {
	/* Googleマップ埋め込み。配色はGoogleマップの標準のまま
	   （モノクロにする場合は filter: grayscale(1);） */
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	filter: none;
}

.ev-map__pin {
	position: absolute;
	left: var(--pin-x);
	top: var(--pin-y);
	/* ピンSVG(54×54)は先端がy=48のため、先端を座標に合わせる */
	transform: translate(-50%, -48px);
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
}

.ev-map__pin img {
	display: block;
	filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35));
}

/*-------------------------
 * マップ上のポップアップ（店舗／公式イベント／オンデマンド共通）
-------------------------*/

.ev-popup {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 400px;
	max-width: calc(100% - 32px);
	background: #f1f1f1;
	border-radius: 24px;
	padding: var(--space24);
	display: flex;
	flex-direction: column;
	gap: 6px;
	z-index: 40;
	box-shadow: 0 0 16px rgba(0, 0, 0, 0.25);
	color: var(--bgDark02);
}

.ev-popup[hidden] {
	display: none;
}

/* オンデマンドのみポップアップ全体から詳細モーダルへ遷移する */
.ev-popup[data-kind="user"] {
	cursor: pointer;
}

/* ピンに紐づく場合はピンの真上に出す（座標はJSが --popup-x / --popup-y に入れる） */
.ev-popup[data-anchored] {
	left: var(--popup-x);
	top: var(--popup-y);
	transform: translate(-50%, calc(-100% - var(--space24)));
}

.ev-popup__series[hidden],
.ev-popup__url[hidden] {
	display: none;
}

/* 吹き出しの三角形 */
.ev-popup::after {
	content: "";
	position: absolute;
	bottom: -19px;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 0;
	border-left: 14.5px solid transparent;
	border-right: 14.5px solid transparent;
	border-top: 19px solid #f1f1f1;
}

.ev-popup__close {
	position: absolute;
	top: -14px;
	right: -14px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--mainColor02);
	border: none;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.ev-popup__single,
.ev-popup__list {
	display: flex;
	flex-direction: column;
	gap: var(--space16);
}

.ev-popup__single[hidden],
.ev-popup__list[hidden] {
	display: none;
}

/* 1つのピンに複数件が紐づく場合のリスト */
.ev-popup__list-head {
	display: flex;
	align-items: center;
	gap: var(--space8);
	font-size: var(--fontSizeXSmall);
	line-height: 14px;
	letter-spacing: 0.5px;
	font-weight: 500;
	color: #1a1a1a;
}

.ev-popup__list-count {
	color: #6b6b6b;
}

.ev-popup__list-items {
	max-height: 240px;
	overflow-y: auto;
	margin: 0;
	padding: 0;
	list-style: none;

	scrollbar-width: thin;
	scrollbar-color: #c1c1c1 #fafafa;
}

.ev-popup__list-items::-webkit-scrollbar {
	width: 10px;
}

.ev-popup__list-items::-webkit-scrollbar-track {
	background: #fafafa;
	border-radius: 20px;
}

.ev-popup__list-items::-webkit-scrollbar-thumb {
	background: #c1c1c1;
	border-radius: 20px;
}

.ev-popup__list-item {
	border-top: 1px solid rgba(155, 155, 155, 0.4);
}

.ev-popup__list-item:last-child {
	border-bottom: 1px solid rgba(155, 155, 155, 0.4);
}

.ev-popup__list-btn {
	display: flex;
	flex-direction: column;
	gap: var(--space4);
	width: 100%;
	padding: var(--space16) 0;
	background: none;
	border: none;
	text-align: left;
	font: inherit;
	letter-spacing: 0.5px;
	color: var(--bgDark02);
	cursor: pointer;
}

.ev-popup__list-btn[aria-disabled="true"] {
	cursor: default;
	pointer-events: none;
}

.ev-popup__list-event {
	font-size: 16px;
	line-height: 20px;
	font-weight: 700;
}

.ev-popup__list-series,
.ev-popup__list-date {
	font-size: 11px;
	line-height: 16px;
	font-weight: 500;
	color: var(--textMuted);
}

.ev-popup__title {
	display: flex;
	flex-direction: column;
	letter-spacing: 0.5px;
}

.ev-popup__event {
	font-weight: 700;
	font-size: 16px;
	line-height: 20px;
	color: var(--bgDark02);
}

.ev-popup__series {
	font-size: 11px;
	line-height: 16px;
	color: var(--textMuted);
	font-weight: 500;
}

/* カードと同じく、行間差を加味して住所・日時を詰め店舗名の下だけ広げる */
.ev-popup__body {
	display: flex;
	flex-direction: column;
	gap: 2px;
	font-weight: 500;
	letter-spacing: 0.5px;
}

.ev-popup__shop {
	font-size: 13px;
	line-height: 18px;
	margin-bottom: 2px;
	color: var(--bgDark02);
}

.ev-popup__address,
.ev-popup__date {
	font-size: 11px;
	line-height: 16px;
	color: var(--textMuted);
}

.ev-popup__url {
	font-size: 11px;
	line-height: 16px;
}

.ev-popup__url span {
	color: var(--textMuted);
}

.ev-popup__url a {
	color: var(--colorLink);
}

/*-------------------------
 * オンデマンドイベント詳細モーダル
-------------------------*/

.ev-detail {
	position: fixed;
	inset: 0;
	z-index: 10500;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: var(--space24);
	background: rgba(0, 0, 0, 0.6);
}

.ev-detail[hidden] {
	display: none;
}

.ev-detail__frame {
	position: relative;
	width: 100%;
	max-width: 560px;
	max-height: 100%;
}

.ev-detail__panel {
	width: 100%;
	max-height: calc(100dvh - (var(--space24) * 2));
	overflow-y: auto;
	background: #f1f1f1;
	border-radius: 24px;
	box-shadow: 0 0 16px rgba(0, 0, 0, 0.25);
	padding: var(--space32);
	display: flex;
	flex-direction: column;
	gap: var(--space24);

	scrollbar-width: thin;
	scrollbar-color: #c1c1c1 #fafafa;
}

.ev-detail__panel::-webkit-scrollbar {
	width: 10px;
}

.ev-detail__panel::-webkit-scrollbar-track {
	background: #fafafa;
	border-radius: 20px;
}

.ev-detail__panel::-webkit-scrollbar-thumb {
	background: #c1c1c1;
	border-radius: 20px;
}

.ev-detail__close {
	position: absolute;
	top: -14px;
	right: -14px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--mainColor02);
	border: none;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 1;
}

.ev-detail__head {
	display: flex;
	flex-direction: column;
	gap: var(--space4);
	color: var(--bgDark02);
	letter-spacing: 0.5px;
}

.ev-detail__title {
	font-weight: 700;
	font-size: 18px;
	line-height: 24px;
}

.ev-detail__address {
	font-size: 12px;
	line-height: 18px;
	font-weight: 500;
}

.ev-detail__meta {
	display: flex;
	flex-direction: column;
	gap: var(--space8);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.5px;
}

.ev-detail__row {
	display: flex;
	gap: var(--space16);
	line-height: 18px;
}

.ev-detail__label {
	width: 72px;
	flex-shrink: 0;
	color: #6b6b6b;
}

.ev-detail__row span:not(.ev-detail__label) {
	color: var(--bgDark02);
	flex: 1;
}

.ev-detail__row a {
	color: var(--colorLink);
	flex: 1;
}

.ev-detail__desc {
	font-size: 12px;
	line-height: 20px;
	color: var(--bgDark02);
	white-space: pre-line;
	letter-spacing: 0.5px;
}

/*-------------------------
 * 2-way toggle（イベント・店舗／イベントはALL・オンデマンドのラジオで絞り込み）
-------------------------*/

.ev-toggle2 {
	position: relative;
	display: flex;
	align-items: center;
	height: 40px;
	padding: var(--space4);
	background: rgba(255, 255, 255, 0.9);
	border-radius: 24px;
	box-shadow: inset 0 0 0 1px #f2f2f2;
}

.ev-toggle2__thumb {
	position: absolute;
	top: var(--space4);
	left: var(--space4);
	height: 32px;
	border-radius: 20px;
	background: var(--bgDark02);
	transition: left 0.25s ease, width 0.25s ease;
}

.ev-toggle2__seg {
	position: relative;
	z-index: 1;
	flex: 1 0 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--space4);
	height: 32px;
	padding-inline: var(--space16);
	background: none;
	border: none;
	border-radius: 20px;
	color: var(--bgDark02);
	font-size: 13px;
	letter-spacing: 0.2px;
	font-weight: 500;
	white-space: nowrap;
	cursor: pointer;
}

.ev-toggle2__seg.is-active {
	color: #f1f1f1;
}

.ev-toggle2__icon {
	display: inline-block;
	width: 17px;
	height: 16px;
	flex-shrink: 0;
	background-color: currentColor;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
}

.ev-toggle2__icon--shop {
	-webkit-mask-image: url("../../events/assets/images/shop-icon.svg");
	mask-image: url("../../events/assets/images/shop-icon.svg");
}

.ev-toggle2__icon--all {
	-webkit-mask-image: url("../../events/assets/images/all-event-icon.svg");
	mask-image: url("../../events/assets/images/all-event-icon.svg");
}

.ev-toggle2__icon--user {
	-webkit-mask-image: url("../../events/assets/images/user-event-icon.svg");
	mask-image: url("../../events/assets/images/user-event-icon.svg");
}

/* 絞り込みは「イベント」選択時のみ表示（店舗選択時は非表示） */
.ev-toggle2__scope {
	display: none;
	align-items: center;
	justify-content: center;
	gap: var(--space24);
	padding: 0;
}

.ev-list__panel[data-active="event"] .ev-toggle2__scope {
	display: flex;
}

.ev-toggle2__radio {
	display: flex;
	align-items: center;
	gap: var(--space8);
	font-size: 13px;
	line-height: 18px;
	letter-spacing: 0.2px;
	font-weight: 500;
	color: #6b6b6b;
	cursor: pointer;
}

.ev-toggle2__radio input {
	appearance: none;
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	margin: 0;
	border: 1.5px solid var(--textMuted);
	border-radius: 50%;
	cursor: pointer;
}

.ev-toggle2__radio input:checked {
	border-color: var(--bgDark02);
	background: radial-gradient(circle, #1a1a1a 0 5px, transparent 5px);
}

.ev-toggle2__radio input:checked + span {
	color: var(--bgDark02);
}

/*-------------------------
 * SP（app シェル：マップ全画面 + ボトムシート）
 * 640px未満で切り替え
-------------------------*/

/*-------------------------
 * ヘッダー: 高さ / ロゴ / 言語切り替え / Appリンク
-------------------------*/

/* イベント系ページのみヘッダーを64pxに縮める（既存LPは80pxのまま） */
.ev-body #header {
	height: 64px;
}

/* ヘッダー高さに合わせてロゴも縮小（元: 120×52） */
.ev-body #header .logo a {
	width: 97px;
	height: 42px;
}

.ev-body #header .logo img {
	display: block;
	width: 100%;
	height: 100%;
}

/* ハンバーガー（60px）を64pxのヘッダー中央に合わせる */
.ev-body #navicon {
	top: 2px;
}

.ev-body #header .header_nav {
	justify-content: flex-start;
}

.ev-body #header .ev-nav-app {
	margin-left: auto;
	/* .header_nav の gap16 と合わせて32px。ハンバーガーとの間隔に揃える */
	margin-right: var(--space16);
}

.ev-lang {
	flex-shrink: 0;
}

.ev-nav-app {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.7px;
	color: var(--white);
}

.ev-nav-app:hover span {
	text-decoration: underline;
}

/*-------------------------
 * ホバー（ボタン・アイコンは薄く、テキストリンクは下線）
-------------------------*/

.ev-map__pin,
.ev-popup__close,
.ev-detail__close,
.ev-calendar__nav,
.ev-calendar-modal__btn,
.ev-toggle2__seg,
.ev-toggle2__radio {
	transition: opacity 0.3s ease;
}

.ev-map__pin:hover,
.ev-popup__close:hover,
.ev-detail__close:hover,
.ev-calendar__nav:hover,
.ev-calendar-modal__btn:hover,
.ev-toggle2__seg:hover,
.ev-toggle2__radio:hover {
	opacity: 0.7;
}

.ev-popup__url a:hover,
.ev-detail__row a:hover {
	text-decoration: underline;
}

.ev-popup__list-btn {
	transition: opacity 0.3s ease;
}

.ev-popup__list-btn:not([aria-disabled="true"]):hover {
	opacity: 0.7;
}

@media (max-width: 640px) {

	/* SPヘッダー（高さ60px・ハンバーガーは共通のまま） */
	.ev-body #header {
		height: 60px;
	}

	.ev-body #navicon {
		top: 0;
	}

	.ev-body #header > .inner {
		padding: 0 60px 0 var(--space8);
	}

	.ev-body #header .logo a {
		width: 64px;
		height: 28px;
	}

	.ev-body #header .header_nav {
		gap: var(--space8);
	}

	.ev-body #header .titles {
		font-size: 11px;
	}

	.ev-body #header .titles .current {
		border-radius: 6px;
		padding: var(--space8) 21px var(--space8) var(--space8);
		line-height: 13px;
		letter-spacing: 0.55px;
	}

	.ev-body #header .ev-lang .current {
		padding-right: 17px;
	}

	.ev-body #header .titles .current::before {
		width: 5px;
		height: 3px;
		top: 50%;
		right: var(--space8);
		margin-top: -1.5px;
	}

	.ev-body #header .titles .others {
		top: 29px;
	}

	.ev-body #header .titles .others_item a {
		padding: var(--space8);
		line-height: 13px;
	}

	.ev-body #header .ev-nav-app {
		margin-right: 0;
	}

	.ev-body #header .ev-nav-app img {
		width: 15px;
		height: 19px;
	}

	.ev-body #header .nav_event img {
		width: 15px;
		height: 16px;
	}

	.ev-body #header .ev-nav-app span {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip-path: inset(50%);
		white-space: nowrap;
	}

	.ev-body #header .ev-nav-app:hover {
		opacity: 0.7;
	}

	.ev-body {
		/* SPツールバーの高さ: 余白8 + 検索40 + gap8 + 絞り込み36 + 余白8 */
		--ev-toolbar-h: 100px;
	}

	.ev-main {
		inset: 60px 0 0;
	}

	.ev-empty {
		/* ツールバー上端8px + 検索行(40px)の中心 */
		top: calc(var(--space8) + 20px);
		width: calc(100% - (var(--space8) * 2));
		max-width: none;
		font-size: 14px;
	}

	.ev-empty__icon {
		width: 20px;
		height: 20px;
	}

	.ev-toolbar {
		flex-direction: column;
		align-items: stretch;
		padding: var(--space8);
		gap: var(--space8);
	}

	.ev-toolbar__row {
		display: flex;
		align-items: center;
		gap: var(--space8);
		width: 100%;
		height: 40px;
	}

	.ev-search {
		height: 40px;
		flex: 1 0 0;
		min-width: 0;
		font-size: 14px;
	}

	.ev-search input {
		height: 24px;
		line-height: 24px;
		padding-bottom: 0;
	}

	.ev-search__bar {
		height: 14px;
	}

	.ev-filters {
		display: flex;
		gap: var(--space8);
		flex-wrap: nowrap;
		padding: 0;
	}

	/* 3つで横幅を等分する角丸バー（配色はPCと共通の白ベース） */
	.ev-filter {
		width: 100%;
		height: 36px;
		justify-content: flex-start;
		font-size: 12px;
		padding-inline: 12px 8px;
		gap: var(--space4);
	}

	.ev-filter__arrow {
		width: 16px;
		height: 16px;
		margin-left: auto;
	}

	.ev-filter::before {
		content: "";
		display: block;
		flex-shrink: 0;
		width: 16px;
		height: 16px;
		background-color: currentColor;
		-webkit-mask-repeat: no-repeat;
		mask-repeat: no-repeat;
		-webkit-mask-position: center;
		mask-position: center;
		-webkit-mask-size: contain;
		mask-size: contain;
	}

	.ev-filter--area::before {
		-webkit-mask-image: url("../../events/assets/images/tool-pin-icon.svg");
		mask-image: url("../../events/assets/images/tool-pin-icon.svg");
	}

	[data-calendar-open]::before {
		-webkit-mask-image: url("../../events/assets/images/tool-calendar-icon.svg");
		mask-image: url("../../events/assets/images/tool-calendar-icon.svg");
	}

	.ev-filter--grow::before {
		-webkit-mask-image: url("../../events/assets/images/tool-event-icon.svg");
		mask-image: url("../../events/assets/images/tool-event-icon.svg");
	}

	/* 画面幅が足りないときだけ縮み、ラベルは「…」で省略される */
	.ev-dropdown,
	.ev-dropdown--grow {
		width: auto;
		min-width: 0;
		flex: 1 1 0;
	}

	.ev-dropdown__panel,
	.ev-dropdown--grow .ev-dropdown__panel {
		width: calc(100vw - 32px);
		min-width: 0;
		max-width: 320px;
	}



	/* 切り替えと絞り込みはボトムシート最上部（ハンドルの下）に置く。見た目はPCと共通 */

	/* 見出し・カードと同じ16pxのガターに揃える */
	.ev-list__panel {
		gap: var(--space8);
		padding: 0 var(--space16) var(--space8);
	}

	/* ボトムシート */

	.ev-list {
		position: absolute;
		inset: auto 0 0;
		width: auto;
		min-width: 0;
		max-width: none;
		/* 最大段階（events.js の MAP_VISIBLE_MIN）と揃える */
		max-height: calc(100% - 88px);
		background: #f2f2f2;
		border-radius: 20px 20px 0 0;
		box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.15);
		z-index: 10;
		transition: height 0.25s ease;
	}

	.ev-list.is-dragging {
		transition: none;
	}

	.ev-list:not(.is-expanded) .ev-list__items {
		overflow-y: hidden;
	}

	/* シートを掴む部分だけブラウザのスクロールを止める。
	   .ev-list 全体に touch-action: none を掛けるとリスト内の指スクロールも止まるため */
	.ev-list {
		cursor: grab;
	}

	.ev-list__handle,
	.ev-list__panel,
	.ev-list__head {
		touch-action: none;
	}

	.ev-list__items {
		touch-action: pan-y;
		cursor: auto;
	}

	.ev-list__handle {
		display: block;
		width: 40px;
		height: 4px;
		margin: var(--space16) auto var(--space8);
		border-radius: 2px;
		background: rgba(37, 37, 37, 0.3);
	}

	.ev-list__head {
		padding: var(--space8) var(--space16);
	}

	.ev-card {
		padding: var(--space16);
	}

	/* SPは画面幅が狭いため、ピンの位置に関わらずマップ上部に固定で出す */
	.ev-popup,
	.ev-popup[data-anchored] {
		top: calc(var(--ev-toolbar-h) + var(--space8));
		left: 50%;
		transform: translateX(-50%);
		width: calc(100% - 32px);
		padding: var(--space16);
	}

	/* オンデマンドイベント詳細モーダル */
	.ev-detail {
		padding: var(--space16);
	}

	.ev-detail__panel {
		max-height: calc(100dvh - (var(--space16) * 2));
		overflow-x: hidden;
		padding: var(--space16);
		gap: var(--space8);
	}

	.ev-detail__head {
		margin-bottom: var(--space16);
	}

	.ev-detail__meta {
		gap: var(--space4);
	}

	.ev-detail__row span:not(.ev-detail__label),
	.ev-detail__row a {
		min-width: 0;
		overflow-wrap: anywhere;
	}

	.ev-calendar-modal__box {
		padding: var(--space24) var(--space16);
	}
}
