@charset "UTF-8";
/*
登録事業者一覧ページ用スタイル
*/

/* ドロップダウンリスト表示 */
.select {
	position: relative;
	display: inline-block;
	width: 100%;
	height: 40px;
	margin-bottom: 10px;
	border: 2px solid #f8ae5d;
	border-radius: 5px;
	background-color: #fff;
}
.select > label {
	position: absolute;
	display: block;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	padding: 10px 0 10px 10px;
	line-height: 16px;
	overflow: hidden;
}
.select > input {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	clip: rect(0, 0, 0, 0)\0; /* IE */
	border-radius: 5px;
}
.select > input ~ .dropdown {
	visibility :hidden;
}
.select > input:checked ~ .dropdown {
		visibility: visible;
}

.dropdown {
	position: absolute;
	top: 100%;
	width: 100%;
	max-height: 60vh;
	overflow-x: hidden;
	overflow-y: auto;
	background: white;
	border-radius: 5px;
	box-shadow: 0px 1px 4px rgba(0, 0, 0, .25);
	z-index: 1;
}
.dropdown li label {
	display: inline-block;
	width: 100%;
	padding: 5px 2px 5px calc(10px + 2.5em);
}
.dropdown li label:hover,
.dropdown li label:focus-within {
	background-color: #f1f0ef;
}

.dropdown li li:first-child label {
	margin-top: 5px;
	padding-top: 10px;
	padding-left: calc(10px + 1.5em);
	border-top: 1px solid rgba(0, 0, 0, 0.46);
	font-weight: 500;
}

.dropdown label {
	position: relative;
}
.dropdown label input {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	clip: rect(0, 0, 0, 0)\0; /* IE */
}
.dropdown label input + span {
	position: absolute;
	display: block;
	top: calc(5px + .25em);
	left: calc(10px + 1em);
	width: 1em;
	height: 1em;
	border: 1px solid #f8ae5d;
	border-radius: 50%;
	pointer-events: none;
	box-shadow: inset 0 0 0 2px #fff;
	background-color: #fff;
}
.dropdown label input:checked + span {
	background-color: #f8ae5d;
}
.dropdown li li:first-child label input + span {
	top: calc(10px + .25em);
	left: 10px;
}

/* 「地域」の装飾 */
.select-area {
	border-right-width: 30px;
}
.select-area > label {
	width: calc(100% + 28px);
	padding-right: 2px;
	background :url(../img/arrow_a_white.png) calc(100% + 2px) 50% no-repeat;
	background-size: 30px;
}
.select-area > input {
	width: calc(100% + 28px);
}
.select-area .dropdown {
	width: calc(100% + 28px);
}

/* 「工事の種類」の装飾 */
.select-construction > label {
	background: url(../img/arrow_b.gif) right 50% no-repeat;
	background-size: 30px;
}

.result-text {
	font-size: 18px;
	font-weight: 500;
}

.result hr {
	border-top: 2px solid #f8ae5d;
	border-radius: 1px;
}

.jigyousya {
	margin-top: 1em;
	margin-bottom: 1em;
	font-size: 1rem; /* IE */
	font-size: min(1rem, calc(.5rem + 8vw / 4.8)); /* 幅480px未満の画面で文字サイズを縮小 */
	line-height: 0;
}
.jigyousya-image {
	display: inline-block;
	width: calc(224% / 7);
	max-width: 224px;
	height: calc(224% / 7);
	aspect-ratio: 1;
	border-radius: 10px;
	background-color: #faf8f6;
	overflow: hidden;
	line-height: 1.5;
}
.jigyousya-info {
	display: inline-block;
	width: calc(100% - 224% / 7);
	padding-left: 10px;
	vertical-align: top;
	line-height: 1.5;
}
.jigyousya-name {
	font-size: 1.125em;
	line-height: 1.25;
	font-weight: 500;
	margin-bottom: .25em;
}