/* 基本テキストスタイル */
h3 {
	margin: 0;
}

p {
	font-size: 16px;
}

.text-14 {
	font-size: 14px;
}

.d_none {
    display: none;
}

.map_container {
	display: flex;
	width: 100%;
}

.map_height {
    height: 90vh;
}

/* 左側セクション */
.left-section {
	flex: 0 0 450px;
	max-width: 450px;
	overflow-y: auto; /* 縦スクロール可能 */
	display: flex;
	flex-direction: column;
}

/* 固定コントロール部分 */
.sticky-controls {
	position: sticky;
	top: 0;
	background: white;
	z-index: 3;
	padding-top: 10px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header_container {
	padding: 20px 20px 10px 26px;
	background: #f8f8f8;
	position: relative;
	z-index: 2;
}

.title {
	font-size: 24px;
	font-weight: 900;
}

.total-count {
	color: #666;
	font-size: 20px;
	position: sticky;
	top: 0;
	z-index: 11;
	margin: 0;
	border: 0;
	box-sizing: border-box;
}

.search-box {
	z-index: 999;
	position: sticky;
	top: 0;
	background-color: #fff;
}

.search-input {
	width: 250px;
	padding: 10px 13px 13px 32px;
	border: 1px solid #ddd;
	border-radius: 25px;
	font-size: 14px;
	outline: none;
	background-color: #fff;
	margin: 10px;
	box-sizing: border-box;
}

.search-input::placeholder {
	color: #666;
}

.search-input:focus {
	border-color: #1a237e;
	box-shadow: 0 0 5px rgba(26, 35, 126, 0.2);
}

.tel {
	padding: 7px 0;
}

.displaySalonTel {
	padding: 0;
}

.noSalonComment {
	font-size: 18px;
	font-weight: 500;
	margin-top: 15px;
}

button:hover {
	text-decoration: underline;
}

.prev {
	padding: 10px;
	box-shadow: 0 4px 4px 0 rgba(102, 102, 102, .3);
	background-color: #fff;
}

/* 店舗リスト */
.store-details {
	flex: 1;
	padding: 0;
}

/* リスト関連のスタイル */
.store-details #store-list {
	margin: 0;
	padding: 0;
}

.list {
	position: relative;
	padding: 20px 15px 20px 30px;
	border-bottom: 1px solid #eee;
	transition: background-color 0.2s;
	cursor: pointer;
}

.list h3 {
	font-size: 18px;
	font-weight: 900;
	padding-bottom: 10px;
}

/* アクティブな店舗用のスタイル */
.list.is-current {
	background-color: rgb(240, 248, 255);
}

/* 店舗が選択されていることを判定するために使用 */
.list.active {
	background-color: fff;
}

.list:hover {
	background-color: #f9f9f9;
	cursor: pointer;
}

/* is-currentクラスを持つ要素の前に縦長の棒を表示 */
.list.is-current::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 8px;
	height: 100%;
	background-color: #4673AF; /* テーマカラーに合わせた色 */
	z-index: 10;
}

/* 店舗詳細リンク部分のスタイル */
.store-details-links {
	padding-bottom: 20px;
}

.store-details-links p {
	font-weight: bold;
	font-size: 14px;
	margin: 10px 0px 12px 0px;
}

.store-details-links a {
	color: #4673AF;
	text-decoration: none;
}

.store-details-links a:hover {
	text-decoration: underline;
}

.brand {
	color: #464646;
	font-size: 14px;
}

/* マップエリア */
.map-area {
	flex: 1;
	max-width: calc(100% - 450px); /* 左側セクションの幅に合わせて調整 */
	background-color: #f5f5f5;
	position: relative;
	height: 100%; /* PC表示時はコンテナに合わせる */
}

/* Google Mapコントロール要素の高さ修正 - JavaScriptの代わりにCSSで調整 */
.map-area .gm-style-cc, .map-area .gmnoprint {
	height: auto !important;
	line-height: normal !important;
}

.map-area .gm-style-cc div, .map-area .gmnoprint div {
	height: auto !important;
}

.description {
	color: #666;
	font-size: 14px;
	line-height: 1.5;
	margin: 0;
}

.swiper-container {
	width: 100%;
	height: auto !important;
	padding: 10px;
	position: relative;
	z-index: 10;
	touchStartPreventDefault: false
	loop: true,
}

.swiper-slide {
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.swiper-pagination {
	position: relative;
	margin-top: 10px;
}

.swiper-button-next1, .swiper-button-prev1 {
	position: absolute;
	content: "";
	width: 10px;
	height: 100%;
	outline: none;
	top: 0px !important;
	z-index: 10;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

.swiper-button-next1 {
	right: 0 !important;
}

.swiper-button-prev1 {
	left: 0 !important;
}

.swiper-button-next1::before {
	content: '';
	width: 6px;
	height: 6px;
	border: 0;
	border-top: solid 2px #333;
	border-right: solid 2px #333;
	transform: rotate(45deg);
	position: absolute;
	top: 0;
	bottom: 0;
	margin: auto;
}

.swiper-button-prev1::before {
	content: '';
	width: 6px;
	height: 6px;
	border: 0;
	border-top: solid 2px #333;
	border-left: solid 2px #333;
	transform: rotate(-45deg);
	position: absolute;
	top: 0;
	bottom: 0;
	margin: auto;
}

.swiper-button-disabled::before {
	content: '';
	width: 6px;
	height: 6px;
	border: 0;
	border-top: solid 2px #fff!important;
	border-right: solid 2px #fff!important;
	transform: rotate(45deg);
	position: absolute;
	top: 0;
	bottom: 0;
	margin: auto;
	opacity: 0;
}


.swiper-button-next.swiper-button-disabled,
.swiper-button-prev.swiper-button-disabled {
  content: none !important;
  display: none !important;
}

/* BEAUTY CITY出店サロンバッジスタイル */
.badge {
	display: inline-block;
	border: solid 1px #464646;
	padding: 5px 10px;
	font-size: 10px;
	margin-top: 7px;
}

/* チェックボックス非活性 */
.inactive {
	opacity: 0.6;
}

@media screen and (max-width: 768px) {
	.map_height {
	    height: auto;
	    min-height: auto;
	}

	.map_container {
		flex-direction: column;
	}
	.left-section {
		max-width: 100%; /* モバイル表示では100%幅を維持 */
		flex: 0 0 auto;
		order: 2;
		border-right: none;
		border-top: 1px solid #ddd;
		display: flex;
		flex-direction: column;
	}
	.header_container {
		order: 1;
		width: 100%;
		position: relative;
		z-index: 10;
		box-shadow: none; /* モバイル表示では影を表示しない */
	}
	.map-area {
		max-width: 100%; /* モバイル表示では100%幅を維持 */
		order: 2;
		height: 350px;
		width: 100%;
		box-sizing: border-box;
	}
	.store-details {
		order: 3;
		width: 100%;
		overflow-x: hidden;
		padding: 0;
		position: relative;
		min-height: 200px; /* 最小高さを設定 */
		overflow: visible;
		padding-bottom: 50px;
	}
	.list {
		padding: 15px 20px;
		border-bottom: none;
		width: 100%;
		box-sizing: border-box;
	}
	.search-input {
		margin: 5px;
	}
	.description {
		font-size: 12px;
	}
	.sticky-controls {
		position: relative; /* モバイルでは固定しない */
		top: auto;
		box-shadow: none;
		padding-top: 0;
	}

	/* モバイル表示時の文字サイズ調整 */
	.header_container h3 {
		font-size: 22px;
	}
	.total-count {
		font-size: 14px;
	}
	p {
		font-size: 14px;
	}
	.text-14 {
		font-size: 12px;
	}
	.brand {
		font-size: 12px !important;
	}
	.search-input {
		font-size: 14px;
	}
	button {
		font-size: 13px;
	}
	.list h3 {
		font-size: 16px;
		padding-bottom: 20px
	}
	.swiper-pagination {
		margin-top: 10px;
		bottom: auto !important;
	}
	.swiper-button-next1, .swiper-button-prev1 {
		position: absolute;
		z-index: 10;
		cursor: pointer;
		display: flex;
		align-items: center;
		justify-content: center;
		color: #ccc;
	}
	.search-box {
		margin-top: 10px;
		z-index: 999;
		position: sticky;
		top: 0;
		background-color: #fff;
	}
	.kaso_page {
		margin-bottom: auto;
	}
	.noSalonComment {
		font-size: 16px;
		font-weight: bold;
		margin-top: 15px;
	}
}