@charset "UTF-8";
/*
トップページ用スタイル
*/

.top-header {
	position: absolute;
}

.top-title {
	text-align: center;
}
.top-title img {
	max-width: 390px; /* 画像実寸 */
	aspect-ratio: 390 / 124; /* 画像実寸 */
	margin-top: calc(10% / 3.9); /* 表示サイズに合わせて可変 */
	margin-bottom: calc(20% / 3.9); /* 表示サイズに合わせて可変 */
}

/* スライドショー */
.top-image {
	position: relative;
	max-width: 960px;
	max-height: 540px;
	margin-left: auto;
	margin-right: auto;
	z-index: -1;
}
.top-image::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	background-image: url("../img/tpvw/tpvw1.jpg");
	background-size: cover;
	background-position: center center;
	animation: slideshowBg infinite step-end 40s -4.5s; /* 画像8枚×5秒 */
	z-index: -1;
}
.top-image img {
	max-height: 540px;
	object-fit: cover;
	background-image: url("../img/tpvw/tpvw1.jpg");
	background-size: cover;
	background-position: center center;
	animation: slideshowBg infinite step-end 40s, slideshowBgTransition infinite ease-in-out 5s; /* 画像8枚×5秒 */
}
@keyframes slideshowBg {
	0%, 100% {background-image: url("../img/tpvw/tpvw1.jpg")}
	12.5% {background-image: url("../img/tpvw/tpvw2.jpg")}
	25% {background-image: url("../img/tpvw/tpvw3.jpg")}
	37.5% {background-image: url("../img/tpvw/tpvw4.jpg")}
	50% {background-image: url("../img/tpvw/tpvw5.jpg")}
	62.5% {background-image: url("../img/tpvw/tpvw6.jpg")}
	75% {background-image: url("../img/tpvw/tpvw7.jpg")}
	87.5% {background-image: url("../img/tpvw/tpvw8.jpg")}
}
@keyframes slideshowBgTransition {
	0%, 75% { opacity: 1;}
	100% { opacity: 0;}
}


.guide {
	display: inline-block;
	width: 100%;
	aspect-ratio: 460 / 80; /* 画像実寸 */
	margin-top: calc(20% / 4.6); /* 表示サイズに合わせて可変 */
	margin-bottom: calc(20% / 4.6); /* 表示サイズに合わせて可変 */
}

.btn1 {
	width: calc(220% / 4.6);
	aspect-ratio: 220 / 100; /* 画像実寸 */
	margin-right: calc(20% / 4.6);
}
.btn2 {
	width: calc(220% / 4.6);
	aspect-ratio: 220 / 100; /* 画像実寸 */
}

/* 施工例写真の行 */
.ph-line {
	margin-top: 10px;
	margin-bottom: 10px;
	margin-left: 0;
	margin-right: 0;
}

/* 施工例写真 サイズ可変 */
.ph {
	display: inline-block;
	width: calc(224% / 7);
	height: calc(224% / 7);
	margin-top: 0;
	margin-left: 0;
	margin-right: calc(14% / 7);
	margin-bottom: calc(20% / 7);
}
.ph:nth-child(3n) {
    margin-right: 0;
}

.ph img {
	aspect-ratio: 1;
	border-radius: 10px;
	background-color: #faf8f6;
	object-fit: cover;
}

.miru {
	text-align: center;
	font-size: 18px;
	line-height: 300%;
	font-family: "M PLUS Rounded 1c", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Segoe UI", "メイリオ", "Meiryo", sans-serif;
	font-weight: 500;
}

.miru a {
	display: inline-block;
	width: 100%;
	max-width: 460px;
	background:#faaf55;
	border-radius: 5px;
	color: white !important;
}

.wrap-bg {
	padding-top: 30px;
}

.map {
	position: relative;
	width: 100%;
	height: 60%;
	border-radius: 5px;
	overflow: hidden;
}
.map::after {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	border: 3px solid #f8ae5d;
	border-radius: 5px;
	content: "";
	pointer-events: none;
}

/* ドロップダウンリスト表示 */
.select {
	position: relative;
	display: inline-block;
	width: 100%;
	height: 40px;
	margin-bottom: 30px;
	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;
	font-size: 1rem; /* IE */
	font-size: min(1rem, calc(.5rem + 8vw / 4.8)); /* 幅480px未満の画面で文字サイズを縮小 */
	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%;
	min-width: 13em; /* IE */
	min-width: max-content;
	overflow-x: hidden;
	overflow-y: auto;
	background: white;
	border-radius: 5px;
	box-shadow: 0px 1px 4px rgba(0, 0, 0, .25);
	font-size: 1rem;
	z-index: 1;
}
.dropdown li:hover,
.dropdown li:focus-within {
	background-color: #f1f0ef;
}
.dropdown li a {
	display: inline-block;
	width: 100%;
	padding: 6px 10px;
	color: #000 !important;
}

/* 「地域から検索」の装飾 */
.select-area {
	width: calc(50% - 10% / 7.2);
	margin-right: calc(20% / 7.2);
	border-right-width: 30px;
}
.select-area:nth-child(2n) {
	margin-right: 0;
}
.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-area:nth-child(2n) .dropdown {
	right: -28px;
}

.area-chichibu {
	border-color: #ba87e3;
}
.area-saitama {
	border-color: #ff9547;
}
.area-hokubu {
	border-color: #61b0f2;
}
.area-kawaguchi {
	border-color: #d88843;
}
.area-kawagoe {
	border-color: #a5de73;
}
.area-tone {
	border-color: #7bd0f7;
}
.area-tokorozawa {
	border-color: #6ccb65;
}
.area-tobu {
	border-color: #ffcd36;
}
.area-asakashi {
	border-color: #ef6865;
}
.area-sarushima {
	border-color: #ffa193;
}
.area-chuo {
	border-color: #e7e93e;
}
.area-kengai {
	/* border-color: #f8ae5d; */
	border-color: #8fc31f;
}
.area-ibaraki {
	border-color: #f58bc1;
}
.area-gunma {
	border-color: #8bc1f5;
}

/* 「工事の種類」の装飾 */
.select-construction {
	width: calc(50% - 10% / 7.2);
	margin-right: calc(20% / 7.2);
}
.select-construction:nth-child(2n) {
	margin-right: 0;
}
.select-construction > label {
	background: url(../img/arrow_b.gif) right 50% no-repeat;
	background-size: 30px;
}
.select-construction:nth-child(2n) .dropdown {
	right: 0;
}

.toroku {
	width: 100%;
	aspect-ratio: 460 / 146; /* 画像実寸 */
	margin: 30px 0;
}

.network {
	width: calc(220% / 4.6);
	aspect-ratio: 220 / 60; /* 画像実寸 */
	margin-right: calc(20% / 4.6);
}

.rodo {
	width: calc(220% / 4.6);
	aspect-ratio: 220 / 60; /* 画像実寸 */
}

.saitamadoken {
	display: inline-block;
	margin: 0 auto;
	width: 100%;
	box-sizing: border-box;
	border: 3px solid #1c1a8a;
	font-size: 18px;
	line-height: 48px;
	font-family: "Noto Sans JP", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Segoe UI", "メイリオ", "Meiryo", sans-serif;
	font-weight: 700;
	color: #1c1a8a;
}