@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP&display=swap');

h2:not(.err-ttl):not(.sch-ttl) {
	display: none;
}
h2.sch-ttl {
	font-family: 'Noto Serif JP', serif;
	color: #2f97ff;
}
h2.sch-ttl[data-title] {
	-webkit-text-fill-color: inherit;
	text-shadow: none;
}
h2.sch-ttl[data-title]::before {
	display: none !important;
}

.sch-com {
	margin-bottom: 10px;
	padding: 10px;
	font-size: 1.1rem;
}

/* 検索画面 -------------------------------------*/
.stay-search {
	background: #cee7ff;
	padding: 10px;
}
.stay-search .sch-com {
	margin-bottom: 0;
	font-size: 1.4rem;
	color: #2f97ff;
	font-weight: bold;
}
.stay-search .sch-com span {
	margin-left: 20px;
	font-size: 0.85rem;
	color: #333;
	font-weight: normal;
}
.stay-search .keyword {
	display: flex;
	flex-wrap: wrap;
	width: 98%;
	margin: 0 auto 20px;
	font-size: 0.9em;
	line-height: 1.3;
}
.stay-search .keyword label {
	position: relative;
	max-width: calc((100% - 0.01px) / 3 - 10px);
	width: calc((100% - 0.01px) / 3 - 10px);
	margin: 0 5px 10px;
	padding-left: 23px;
	cursor: pointer;
}
.stay-search .keyword label input {
	position: absolute;
	left: 0;
	top: -0.05em;
}

.stay-search button {
	display: block;
	width: 220px;
	background: #2f97ff;
	border: 1px solid #333;
	margin: auto;
	padding: 4px;
	font-size: 1em;
	color: #fff;
	font-weight: bold;
}

/* 一覧表示 -------------------------------------*/
[class*="areatab"] {
	background: #aaa;
/*	margin-bottom: 10px;*/
	padding: 5px 10px;
/*	font-size: 0.95em;*/
	color: #fff;
	font-weight: bold;
}
.areatab1	{ background: #FFAE40; }	/* 西根インター大更 */
.areatab2	{ background: #A08FDA; }	/* 八幡平・松川 */
.areatab3	{ background: #5FB667; }	/* 温泉郷・松尾インター */
.areatab4	{ background: #E35B95; }	/* 安比スキー場 */
.areatab5	{ background: #3D77D8; }	/* 安比民宿 */
.areatab6	{ background: #39bffb; }	/* 安比インター */
.areatab7	{ background: #50C5B0; }	/* 田山・七時雨 */

.stay-list {
	margin-bottom: 30px;
}
.stay-list .box {
	display: grid;
	display: -ms-grid;
	grid-template-columns: auto 1fr;
	grid-template-rows: auto auto auto 1fr auto;
	-ms-grid-columns: auto 1fr;
	-ms-grid-rows: auto auto auto 1fr auto;
	margin-bottom: 10px;
	padding: 6px;
	line-height: 1.4;
}
.stay-list .box .name {
	grid-column: 1 / span 2;
	grid-row: 1;
	-ms-grid-column: 1;
	-ms-grid-column-span: 2;
	-ms-grid-row: 1;
	border-top: 3px solid #ac7855;
	padding: 4px;
	font-size: 0.8em;
}
.stay-list .box .image {
	grid-column: 1;
	grid-row: 2;
	-ms-grid-column: 1;
	-ms-grid-row: 2;
	width: 70px;
	padding: 2px;
	min-height: 54px;
}
.stay-list .box .tel {
	grid-column: 2;
	grid-row: 2;
	-ms-grid-column: 2;
	-ms-grid-row: 2;
	display: flex;
	align-items: center;
	padding: 2px;
	font-size: 0.78em;
}
.stay-list .box .tel::before {
	content: "";
}
.stay-list .box .charge {
	grid-column: 1 / span 2;
	grid-row: 3;
	-ms-grid-column: 1;
	-ms-grid-column-span: 2;
	-ms-grid-row: 3;
	background: #efe4de;
	padding: 4px;
	font-size: 0.78em;
}
.stay-list .box .charge::before {
	content: "料金：";
}
.stay-list .box .com {
	grid-column: 1 / span 2;
	grid-row: 4;
	-ms-grid-column: 1;
	-ms-grid-column-span: 2;
	-ms-grid-row: 4;
	background: #efe4de;
	padding: 4px;
	font-size: 0.78em;
}
.stay-list .box *+.charge,
.stay-list .box *+.com {
	margin-top: 2px;
}
.stay-list .box form {
	grid-column: 1 / span 2;
	grid-row: 5;
	-ms-grid-column: 1;
	-ms-grid-column-span: 2;
	-ms-grid-row: 5;
	display: block;
	padding: 6px;
}
.stay-list .box form button {
	display: block;
	background: #fff;
	border: 1px solid #ac7855;
	width: 80px;
	margin: auto;
	padding: 2px;
	cursor: pointer;
}
.stay-list .box form button:hover {
	background: #ac7855;
	color: #fff;
}

/* 詳細ページ -------------------------------------*/
.stay-disp {
	padding: 10px;
}
.stay-disp+.stay-disp {
	margin-top: 20px;
}
.stay-disp .disp-head {
	background: linear-gradient(to bottom,#caa88f,transparent);
	padding: 8px 5px 0;
	margin-bottom: 10px;
}
.stay-disp .disp-head .disp-name {
	display: inline;
	font-size: 1.3rem;
	color: #333;
	font-weight: normal;
}
.stay-disp .disp-head .disp-area {
	display: inline-block;
	margin-left: 10px;
}
.stay-disp .disp-head .disp-area::before {
	content: "（";
}
.stay-disp .disp-head .disp-area::after {
	content: "）";
}
.stay-disp .disp-content {
	width: 100%;
	display: grid;
	display: -ms-grid;
	grid-template-columns: 1fr auto;
	grid-template-rows: auto auto auto;
	-ms-grid-columns: 1fr auto;
	-ms-grid-rows: auto auto auto;
}
.stay-disp .disp-content .disp-com {
	grid-column: 1;
	grid-row: 1;
	-ms-grid-column: 1;
	-ms-grid-row: 1;
	margin-bottom: 10px;
	color: #007cf9;
}
.stay-disp .disp-content .disp-image {
	grid-column: 2;
	grid-row: 1 / span 2;
	-ms-grid-column: 2;
	-ms-grid-row: 1;
	-ms-grid-row-span: 2;
	width: 244px;
	overflow: hidden;
	margin: 0 6px 0 10px;
}
.stay-disp .disp-content .disp-image img[name*="photo"] {
	display: block;
	width: calc(100% - 4px);
	height: 180px;
	margin: 0 auto 2px;
}
.stay-disp .disp-content .disp-image a {
	display: inline-block;
	max-width: calc((100% - 0.01px) / 3);
	width: calc((100% - 0.01px) / 3);
	padding: 1px;
}
.stay-disp .disp-content .disp-detail {
	grid-column: 1;
	grid-row: 2;
	-ms-grid-column: 1;
	-ms-grid-row: 2;
	border-top: 1px solid #acacac;
	padding-top: 10px;
	font-size: 0.9rem;
}
.stay-disp .disp-content .disp-detail div:not(.keyword) {
	overflow: hidden;
}
.stay-disp .disp-content .disp-detail div:not(.keyword) b {
	clear: both;
	float: left;
	display: block;
	margin-bottom: 3px;
	font-weight: normal;
}
.stay-disp .disp-content .disp-detail div:not(.keyword) b::before {
	content: "■";
}
.stay-disp .disp-content .disp-detail div:not(.keyword) b::after {
	content: "：";
}
.stay-disp .disp-content .disp-detail div:not(.keyword) span {
	display: block;
	margin-bottom: 5px;
	overflow: hidden;
}
.stay-disp .disp-content .disp-detail div.capacity span::after {
	content: " 名";
}
.stay-disp .disp-content .disp-detail div.room span::after {
	content: " 室";
}
.stay-disp .disp-content .disp-detail .keyword {
	width: 99%;
	margin: 0 auto 6px;
	overflow: hidden;
}
.stay-disp .disp-content .disp-detail .keyword span {
	float: left;
	width: 92px;
	border: 1px solid gray;
	margin: 0 5px 3px 0;
	padding: 5px 0 3px;
	text-align: center;
	font-size: 0.8em;
	color: gray;
	font-weight: bold;
	line-height: 1;
}
.stay-disp .disp-content .disp-detail .keyword span.k-mark0	{ border-color: green;	color: green; }	/* ホテル */
.stay-disp .disp-content .disp-detail .keyword span.k-mark1	{ border-color: green;	color: green; }	/* 旅館 */
.stay-disp .disp-content .disp-detail .keyword span.k-mark2	{ border-color: green;	color: green; }	/* ペンション */
.stay-disp .disp-content .disp-detail .keyword span.k-mark3	{ border-color: green;	color: green; }	/* 民宿 */
.stay-disp .disp-content .disp-detail .keyword span.k-mark4	{ border-color: green;	color: green; }	/* ビジネスホテル */
.stay-disp .disp-content .disp-detail .keyword span.k-mark5	{ border-color: green;	color: green; }	/* ユースホステル */
.stay-disp .disp-content .disp-detail .keyword span.k-mark6	{ border-color: green;	color: green; }	/* コテージ */
.stay-disp .disp-content .disp-detail .keyword span.k-mark7	{ border-color: green;	color: green; }	/* ゲストハウス */
.stay-disp .disp-content .disp-detail .keyword span.k-mark11	{ border-color: #007cf9;	color: #007cf9; }	/* 温泉 */
.stay-disp .disp-content .disp-detail .keyword span.k-mark24	{ border-color: brown;	color: brown; }	/* ペットOK */
.stay-disp .disp-content .disp-facility-data {
	grid-column: 1 / span 2;
	grid-row: 3;
	-ms-grid-column: 1;
	-ms-grid-column-span: 2;
	-ms-grid-row: 3;
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	margin: 10px auto 0;
	font-size: 0.8em;
}
.stay-disp .disp-content .disp-facility-data dt {
	display: flex;
	justify-content: center;
	align-items: center;
	background: #c19879;
	width: 100px;
	margin-right: 4px;
	margin-bottom: 4px;
	padding: 6px;
	color: #fff;
	font-weight: bold;
}
.stay-disp .disp-content .disp-facility-data dd {
	display: flex;
	align-items: center;
	border: 1px solid #c19879;
	width: calc(100% - 100px - 4px);
	margin-bottom: 4px;
	padding: 6px;
	word-break: break-all;
}
.stay-disp .disp-content .disp-facility-data dd a.map {
	position: relative;
	display: inline-block;
	border: 1px solid #acacac;
	background: linear-gradient(#fff 40%, #dedede);
	margin-left: 10px;
	padding: 4px 6px 2px 15px;
	color: #666;
	font-size: 0.8rem;
	line-height: 1;
}
.stay-disp .disp-content .disp-facility-data dd a.map::before,
.stay-disp .disp-content .disp-facility-data dd a.map::after {
	position: absolute;
	content: "";
	top: 0;
	left: 3px;
	bottom: 0;
	margin: auto;
}
.stay-disp .disp-facility-data dd a.map::before {
	width: 4px;
	height: 4px;
	background: lightgreen;
}
.stay-disp .disp-facility-data dd a.map::after {
	left: 7px;
	width: 4px;
	height: 0;
	border-top: 4px solid transparent;
	border-bottom: 4px solid transparent;
	border-left: 4px solid lightgreen;
}
.stay-disp .disp-facility-data dd a.map:hover {
	text-decoration: none;
}


/* エラー画面 -------------------------------------*/
.err-com {
	margin: 30px auto;
	text-align: center;
}
button.back {
	display: block;
	border: 1px solid #acacac;
	width: 150px;
	margin: auto;
	padding: 6px;
	cursor: pointer;
}


/* タブレット版
==============================================================================*/
@media screen and (max-width:800px) {
	.sch-com {
		font-size: 1rem;
	}

	/* 検索画面 -------------------------------------*/
	.stay-search .sch-com {
		font-size: 1.3rem;
	}
	/* 一覧表示 -------------------------------------*/
	.areatab1	{ background: #FFAE40; }	/* 西根インター大更 */
	.areatab2	{ background: #A08FDA; }	/* 八幡平・松川 */
	.areatab3	{ background: #5FB667; }	/* 温泉郷・松尾インター */
	.areatab4	{ background: #E35B95; }	/* 安比スキー場 */
	.areatab5	{ background: #3D77D8; }	/* 安比民宿 */
	.areatab6	{ background: #39bffb; }	/* 安比インター */
	.areatab7	{ background: #50C5B0; }	/* 田山・七時雨 */
	.stay-list[class*="column"]>.box {
		max-width: calc((100% - 0.01px) / 3);
		width: calc((100% - 0.01px) / 3);
	}

	/* 詳細ページ -------------------------------------*/
	.stay-disp .disp-head {
		display: flex;
		flex-wrap: wrap;
		background: linear-gradient(to bottom,#caa88f,transparent);
		padding: 8px 5px 0;
		margin-bottom: 10px;
	}
	.stay-disp .disp-head .disp-name {
		order: 2;
		display: block;
		width: 100%;
		padding: 0 0 0 5px;
		font-size: 1.2rem;
		font-weight: bold;
	}
	.stay-disp .disp-head .disp-area {
		order: 1;
		display: block;
		width: 100%;
		margin: 0;
		font-size: 0.8em;
	}
	.stay-disp .disp-head .disp-area::before {
		content: "［ ";
	}
	.stay-disp .disp-head .disp-area::after {
		content: " ］";
	}
	.stay-disp .disp-content .disp-com {
		font-size: 0.95em;
		color: #333;
	}

}

@media screen and (max-width:700px) {
	/* 検索画面 -------------------------------------*/
	.stay-search .sch-com {
		font-size: 1.2rem;
	}
	.stay-search .keyword label {
		max-width: calc(100% / 2 - 10px);
		width: calc(100% / 2 - 10px);
	}
}

@media screen and (max-width:600px) {
	/* 検索画面 -------------------------------------*/
	.stay-search .sch-com {
		font-size: 1.15rem;
	}
	.stay-search .keyword label input {
		top: -0.1em;
	}

	/* 一覧表示 -------------------------------------*/
	.stay-list[class*="column"]>.box {
		max-width: calc(100% / 2);
		width: calc(100% / 2);
	}
	/* 詳細ページ -------------------------------------*/
	.stay-disp .disp-head .disp-name {
		font-size: 1rem;
	}
	.stay-disp .disp-head .disp-area {
		font-size: 0.75em;
	}

	.stay-disp .disp-content {
		display: flex;
		flex-wrap: wrap;
	}
	.stay-disp .disp-content .disp-com {
		width: 100%;
		font-size: 0.95em;
	}
	.stay-disp .disp-content .disp-image {
		display: block;
		margin: auto;
	}
	.stay-disp .disp-content .disp-detail {
		width: 98%;
		margin: 15px auto;
	}

}

/* スマートフォン版
==============================================================================*/
@media screen and (max-width:500px) {
	/* 検索画面 -------------------------------------*/
	.stay-search .sch-com {
		font-size: 1.1rem;
	}
	.stay-search .sch-com span {
		font-size: 0.75rem;
	}
	.stay-search .keyword label input {
		top: -0.15em;
	}

}
