@charset "utf-8";

/*============================================================================

	ツールページ共通(都内の練習場 /gyms/ ・卓球大会ポータル /tournaments/)

============================================================================*/

#tool {
	max-width: 1080px;
	margin: 0 auto;
	padding: 60px 20px 90px;
}

.tool_lead {
	margin-bottom: 40px;
	font-size: 15px;
	line-height: 2;
	color: #444;
}

/* ---- 地図(/gyms/) ---- */

#gyms_map {
	height: 480px;
	margin-bottom: 12px;
	border: 1px solid #e2e2e2;
	border-radius: 8px;
	z-index: 0;
}
.gmap_legend {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	margin-bottom: 40px;
	font-size: 13px;
	color: #444;
}
.gmap_legend i {
	display: inline-block;
	width: 12px;
	height: 12px;
	margin-right: 6px;
	border-radius: 50%;
	border: 2px solid #fff;
	box-shadow: 0 0 0 1px rgba(0,0,0,.15);
	vertical-align: -1px;
}
.gmap_pop_name {
	margin-bottom: 4px;
	font-size: 14px;
	font-weight: 600;
	color: #111;
}
.gmap_pop_meta {
	font-size: 12px;
	color: #666;
	line-height: 1.6;
}
.gmap_pop_link {
	margin-top: 6px;
	font-size: 13px;
}
.gmap_pop_link a {
	color: #901d22;
	font-weight: 600;
}

/* ---- 評価・口コミ ---- */

.tool_rating {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 4px 10px;
	margin: -6px 0 12px;
	font-size: 14px;
}
.tool_rating_star {
	color: #e1a231;
	font-weight: 600;
}
.tool_rating_votes {
	color: #666;
	font-size: 13px;
}
.tool_rating_gmap {
	font-size: 12px;
	color: #004c99;
	text-decoration: underline;
}
.tool_meta_note {
	display: block;
	font-size: 12px;
	color: #888;
}
.tool_reviews {
	margin-top: 14px;
	padding: 14px 16px;
	background: #fafafa;
	border-radius: 6px;
}
.tool_reviews_label {
	margin-bottom: 8px;
	font-size: 12px;
	font-weight: 600;
	color: #888;
}
.tool_reviews blockquote {
	margin: 0;
	font-size: 13px;
	line-height: 1.8;
	color: #555;
}
.tool_reviews blockquote + blockquote {
	margin-top: 8px;
	padding-top: 8px;
	border-top: 1px dashed #e2e2e2;
}
.tool_reviews_src {
	margin-top: 10px;
	padding-top: 8px;
	border-top: 1px solid #eee;
	font-size: 11px;
	line-height: 1.7;
	color: #999;
}
.tool_reviews_src a {
	color: #004c99;
	text-decoration: underline;
}

/* ---- 絞り込みUI ---- */

.tool_filter {
	margin-bottom: 45px;
	padding: 25px 30px;
	background: #f7f7f7;
	border-radius: 8px;
}
.tool_filter_row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px 15px;
}
.tool_filter_row + .tool_filter_row {
	margin-top: 18px;
}
.tool_filter_label {
	flex-shrink: 0;
	min-width: 5.5em;
	font-size: 14px;
	font-weight: 600;
	color: #111;
}
.tool_filter_btns {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 10px;
}
.tool_filter_btns button {
	padding: 8px 20px;
	background: #fff;
	border: 1px solid #cacaca;
	border-radius: 30px;
	font-size: 14px;
	font-family: inherit;
	color: #444;
	cursor: pointer;
	transition: background .2s, border-color .2s, color .2s;
}
.tool_filter_btns button:hover {
	border-color: #901d22;
	color: #901d22;
}
.tool_filter_btns button.is-active {
	background: #901d22;
	border-color: #901d22;
	color: #fff;
}
.tool_filter select,
.tool_filter input[type="search"] {
	padding: 9px 14px;
	background: #fff;
	border: 1px solid #cacaca;
	border-radius: 6px;
	font-size: 14px;
	font-family: inherit;
	color: #111;
}
.tool_filter input[type="search"] {
	flex: 1;
	min-width: 200px;
}
.tool_filter select:focus,
.tool_filter input[type="search"]:focus {
	outline: none;
	border-color: #901d22;
}

.tool_count {
	margin-bottom: 25px;
	font-size: 14px;
	color: #666;
}
.tool_count strong {
	font-size: 18px;
	color: #901d22;
	font-weight: 600;
	margin: 0 2px;
}
.tool_empty {
	padding: 50px 0;
	text-align: center;
	font-size: 15px;
	color: #666;
}

/* ---- よくある質問(/gyms/) ---- */

.tool_faq {
	margin-top: 55px;
	padding-top: 45px;
	border-top: 1px solid #e2e2e2;
}
.tool_faq_head {
	margin-bottom: 25px;
	font-size: 20px;
	font-weight: 600;
	color: #222;
}
.tool_faq dt {
	margin-bottom: 8px;
	padding-left: 24px;
	position: relative;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.7;
	color: #222;
}
.tool_faq dt::before {
	content: 'Q';
	position: absolute;
	left: 0;
	color: #901d22;
}
.tool_faq dd + dt {
	margin-top: 22px;
}
.tool_faq dd {
	padding-left: 24px;
	font-size: 14px;
	line-height: 1.9;
	color: #555;
}

/* ---- エリア別セクション(/gyms/) ---- */

.tool_area + .tool_area {
	margin-top: 50px;
}
.tool_area_head {
	display: flex;
	align-items: baseline;
	gap: 12px;
	margin-bottom: 20px;
	padding-bottom: 10px;
	border-bottom: 2px solid #901d22;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.4;
	color: #222;
}
.tool_area_head span {
	font-size: 13px;
	font-weight: 400;
	color: #888;
}

/* ---- カード共通 ---- */

.tool_cards {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 25px;
}
.tool_card {
	display: flex;
	flex-direction: column;
	padding: 25px 28px;
	background: #fff;
	border: 1px solid #e2e2e2;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
}
.tool_card[hidden] {
	display: none;
}
.tool_card_head {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 14px;
}
.tool_card_name {
	font-size: 18px;
	font-weight: 600;
	line-height: 1.5;
	color: #111;
}
.tool_badge {
	flex-shrink: 0;
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
	color: #fff;
	white-space: nowrap;
}
.tool_badge--private { background: #901d22; }
.tool_badge--public  { background: #004c99; }
.tool_badge--bar     { background: #e1a231; }

.tool_card_meta {
	flex: 1;
	font-size: 14px;
	line-height: 1.9;
	color: #444;
}
.tool_card_meta dt {
	float: left;
	clear: left;
	min-width: 5.5em;
	font-weight: 600;
	color: #111;
}
.tool_card_meta dd {
	overflow: hidden;
	padding-left: .5em;
}
.tool_tags {
	margin-top: 12px;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 8px;
}
.tool_tags span {
	padding: 3px 12px;
	background: #f7f7f7;
	border-radius: 20px;
	font-size: 12px;
	color: #666;
}
.tool_card_link {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 18px;
}
.tool_card_link a {
	display: inline-block;
	padding: 9px 22px;
	border: 1px solid #901d22;
	border-radius: 30px;
	font-size: 13px;
	font-weight: 600;
	color: #901d22;
	text-decoration: none;
	transition: background .2s, color .2s;
}
.tool_card_link a:hover {
	background: #901d22;
	color: #fff;
}
/* 個人開放の詳細ページ側を主導線にする */
.tool_card_link a.is-primary {
	background: #901d22;
	color: #fff;
}
.tool_card_link a.is-primary:hover {
	background: #b02229;
	border-color: #b02229;
}

/* ---- 大会ポータル固有 ---- */

.tool_card_date {
	display: flex;
	align-items: baseline;
	gap: 8px;
	margin-bottom: 12px;
	padding-bottom: 12px;
	border-bottom: 1px dashed #e2e2e2;
}
.tool_card_date .date_main {
	font-family: 'Oswald', sans-serif;
	font-size: 26px;
	font-weight: 500;
	color: #901d22;
	letter-spacing: 1px;
}
.tool_card_date .date_sub {
	font-size: 13px;
	color: #666;
}
.tool_section_head {
	margin: 60px 0 30px;
	padding-left: 15px;
	border-left: 4px solid #901d22;
	font-size: 22px;
	font-weight: 600;
	color: #111;
}
.tool_section_head:first-of-type {
	margin-top: 0;
}
.tool_note {
	margin-top: 45px;
	padding: 20px 25px;
	background: #f7f7f7;
	border-radius: 8px;
	font-size: 13px;
	line-height: 1.9;
	color: #666;
}

/* ---- スマホ ---- */

@media (max-width: 800px) {
	.tool_cards {
		grid-template-columns: 1fr;
	}
}
@media (max-width: 640px) {
	#tool {
		padding: 40px 15px 60px;
	}
	#gyms_map {
		height: 340px;
	}
	.tool_filter {
		padding: 18px 18px;
	}
	.tool_filter_label {
		width: 100%;
		min-width: 0;
	}
	.tool_filter_btns button {
		padding: 7px 15px;
		font-size: 13px;
	}
	.tool_card {
		padding: 20px 18px;
	}
	.tool_card_name {
		font-size: 16px;
	}
	.tool_section_head {
		font-size: 19px;
	}
}
