@charset "utf-8";
/* ============================================================
   温泉マイル提携施設一覧 PCテーブルレイアウト見本用CSS
   （onsen_list_pc.php / onsenlist3_pc.php 専用）
   既存ページには読み込まれません
   ============================================================ */

#list-bun-pc {
	max-width: 950px;
	margin: 0 auto;
	font-size: 14px;
}

#list-bun-pc .p3 {
	font-size: 13px;
	line-height: 22px;
	margin: 10px 0;
	text-align: right;
	padding-left: 0;
}

/* ------------------------------------------------------------
   絞り込みUI（エリア選択・都道府県ボタン・温泉地ボタン）
   ------------------------------------------------------------ */
.kenselect_label {
	display: inline-block;
	margin-right: 10px;
	font-size: 14px;
	font-weight: bold;
	vertical-align: middle;
}

.kenselect {
	display: inline-flex;
	align-items: center;
	position: relative;
	margin-bottom: 10px;
	vertical-align: middle;
}

.kenselect::after {
	position: absolute;
	right: 15px;
	width: 10px;
	height: 7px;
	background-color: #535353;
	clip-path: polygon(0 0, 100% 0, 50% 100%);
	content: '';
	pointer-events: none;
}

.kenselect select {
	appearance: none;
	min-width: 200px;
	height: 2.8em;
	padding: .4em calc(.8em + 30px) .4em .8em;
	border: 1px solid #d0d0d0;
	border-radius: 3px;
	background-color: #fff;
	color: #000;
	font-size: 16px;
	cursor: pointer;
}

/* 都道府県ボタン群（エリア選択後に表示） */
#list_areas .pref-block {
	display: none;
}

.pref_button {
	padding: 12px;
	border: 1px solid #d0d0d0;
	font-size: 14px;
	color: #000;
	line-height: 12px;
	display: inline-block;
	border-radius: 4px;
	margin-right: 5px;
	margin-bottom: 5px;
	background-color: #fff;
	cursor: pointer;
}

.pref_button.active {
	background-color: #000f38;
	color: #fff;
}

/* 温泉地ボタン群（都道府県選択後に表示） */
#onsen_btns {
	display: none;
	margin-top: 10px;
}

#onsen_btns .selector {
	margin: 10px 0;
	font-size: 14px;
	font-weight: bold;
}

.list_square1 {
	padding: 4px;
	border: 1px solid #d0d0d0;
	font-size: 12px;
	line-height: 16px;
	display: inline-block;
	margin-right: 10px;
	margin-bottom: 10px;
	background-color: #fff;
	color: #000;
	cursor: pointer;
}

.list_square1.clicked {
	background-color: #002049;
	color: #fff;
}

/* エリア見出し（旧デザイン準拠） */
#list-bun-pc .amenu {
	margin-top: 30px;
	border-left: 3px solid #bb0000;
	padding-left: 7px;
	font-weight: bold;
	line-height: 16px;
	font-size: 14px;
}

#list-bun-pc .amenub {
	display: block;
	font-size: 9px;
	color: #666;
	line-height: 11px;
	padding-bottom: 2px;
}

/* エリアアンカーメニュー */
#list-bun-pc .ivent {
	margin: 5px 0 10px;
	padding: 0;
	text-align: right;
}

#list-bun-pc .ivent li {
	list-style: none;
	font-size: 12px;
	line-height: 2em;
	margin-left: 10px;
	display: inline-block;
}

/* 一覧テーブル（旧デザイン準拠） */
#list-bun-pc table {
	width: 100%;
	border-spacing: 0;
	margin-bottom: 10px;
	font-size: 14px;
	line-height: 1.5;
}

#list-bun-pc th {
	padding: 10px;
	border-top: 2px solid #bb0000;
	border-bottom: 1px solid #cccccc;
	text-align: left;
	font-weight: bold;
}

#list-bun-pc td {
	padding: 10px;
	border-bottom: 1px dotted #cccccc;
	text-align: left;
	vertical-align: middle;
}

#list-bun-pc .w50  { width: 50px; }
#list-bun-pc .w100 { width: 100px; }
#list-bun-pc .w150 { width: 150px; }
#list-bun-pc .w160 { width: 160px; }
#list-bun-pc .acenter { text-align: center; }

#list-bun-pc td img {
	vertical-align: middle;
	height: 28px;
}

#list-bun-pc .red {
	color: #bb0000;
	font-size: 14px;
}

#list-bun-pc p.up {
	text-align: right;
	font-size: 12px;
	margin-bottom: 30px;
}


/* ============================================================
   スマートフォン表示：テーブルをカード状に組み替え
   ============================================================ */
@media screen and (max-width: 768px) {
	#list-bun-pc {
		padding: 0 10px;
	}

	#list-bun-pc table,
	#list-bun-pc tbody,
	#list-bun-pc tr,
	#list-bun-pc td {
		display: block;
		width: auto;
	}

	/* 見出し行は非表示（かわりにエリア見出しあり） */
	#list-bun-pc tr.headrow {
		display: none;
	}

	/* エリア見出し */
	#list-bun-pc .amenu {
		font-size: 20px;
		margin-bottom: 20px;
	}

	/* アンカーメニューは非表示 */
	#list-bun-pc .ivent {
		display: none;
	}

	#list-bun-pc table {
		border-top: 1px solid #d0d0d0;
	}

	#list-bun-pc tr {
		border-bottom: 1px solid #d0d0d0;
		padding: 20px 0;
	}

	#list-bun-pc td {
		border-bottom: none;
		padding: 3px 0;
		height: auto;
	}

	/* 都道府県・温泉地はタグ風表示 */
	#list-bun-pc td.t-ken,
	#list-bun-pc td.t-onsen {
		display: inline-block;
		padding: 3px 6px;
		border: 1px solid #d0d0d0;
		font-size: 12px;
		line-height: 16px;
		margin-right: 6px;
	}

	/* 施設名 */
	#list-bun-pc td.t-name {
		font-size: 20px;
		padding-top: 8px;
		padding-bottom: 8px;
	}

	/* 注釈は読みやすいサイズに */
	#list-bun-pc p.red {
		font-size: 14px;
	}

	/* プラン・特約店アイコンはグレー枠のボックスにまとめる */
	#list-bun-pc td.t-plan {
		display: inline-block;
		margin-top: 5px;
		padding: 10px;
		background-color: #eee;
	}

	#list-bun-pc td.t-toku {
		display: inline-block;
		margin-top: 5px;
		margin-left: 6px;
		padding: 10px;
		background-color: #eee;
	}

	#list-bun-pc td.t-plan img,
	#list-bun-pc td.t-toku img {
		height: 32px;
	}

	/* 中身が無いセルはグレー枠を出さない */
	#list-bun-pc td.t-plan:empty,
	#list-bun-pc td.t-toku:empty {
		display: none;
	}

	#list-bun-pc .acenter {
		text-align: left;
	}

	.pref_button {
		width: calc((100% - 40px) / 4);
		margin-bottom: 10px;
		padding: 12px 2px;
		white-space: nowrap;
	}

	.footer_menu {
		padding-left: 30px;
	}
}

@media screen and (max-width: 376px) {
	.pref_button {
		font-size: 12px;
	}
}

/* ============================================================
   PC表示：フォントサイズ調整
   ============================================================ */
@media screen and (min-width: 769px) {
	#list-bun-pc table {
		font-size: 16px;
	}

	#list-bun-pc .amenu {
		font-size: 20px;
	}

	#list-bun-pc .w160 {
		width: 200px;
	}

	#list-bun-pc th.w160 {
		white-space: nowrap;
	}
}
