/* ロゴ下のリンクを含めてヘッダーの高さを確保する */
.headwrap {
	position: sticky;
	top: 0;
}

.headwrap + .mainvis_wrap {
	padding-top: 0;
}

.headwrap header {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 50%;
	grid-template-areas: "logo contact" "area contact";
}

.headwrap h1 {
	grid-area: logo;
	max-width: 382px;
	line-height: 1;
}

.headwrap h1 img {
	display: block;
}

.headwrap .telmail {
	grid-area: contact;
	max-width: none;
}

.header-area-link {
	grid-area: area;
	justify-self: start;
	padding: 4px 0;
	color: #165983;
	font: bold 15px/1.5 Meiryo, sans-serif;
	text-underline-offset: 3px;
}

.header-area-link:visited, .tono-contact a:visited {
	color: #165983;
}

.header-area-link, .tono-contact a {
	text-decoration: underline;
}

#service-areas {
	scroll-margin-top: 155px;
	padding: clamp(20px, 4vw, 52px);
	background: #f3f5f5 url("../img/bg_taiou-area1_pc.jpg") center / cover;
}

#service-areas-title {
	margin: 0 0 24px;
	line-height: 1;
}

#service-areas-title img {
	width: min(210px, 65%);
}

.area-prefectures {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	align-items: start;
}

.area-prefecture {
	background: rgba(255, 255, 255, 0.65);
	padding: clamp(16px, 2.5vw, 32px);
}

.area-prefecture h3 {
	margin: 0;
	padding-bottom: 8px;
	border-bottom: 2px solid #3193bd;
	color: #165983;
	font-size: 24px;
	font-weight: bold;
	text-align: left;
}

.area-prefecture dt {
	margin-top: 16px;
	color: #165983;
	font-weight: bold;
}

.area-prefecture dd {
	margin-top: 2px;
	line-height: 1.75;
}

.tono-contact {
	margin-top: 10px;
	padding: 12px 16px;
	border-left: 3px solid #3193bd;
	background: #edf6fa;
}

.tono-contact p {
	font-size: 15px;
	line-height: 1.65;
}

.tono-contact a {
	display: inline-block;
	padding: 5px 0;
	color: #165983;
	font-size: 24px;
	font-weight: bold;
	line-height: 1.5;
	white-space: nowrap;
	text-underline-offset: 3px;
}

.header-area-link:focus-visible, .tono-contact a:focus-visible {
	outline: 2px solid #165983;
	outline-offset: 2px;
}

@media (max-width: 768px) {
	.headwrap header {
		grid-template-columns: 36% 56%;
		grid-template-areas: "logo contact" "area area";
	}

	.header-area-link {
		font-size: 14px;
	}

	#service-areas {
		scroll-margin-top: calc(13vw + 60px);
		background-image: url("../img/bg_taiou-area1_sp.jpg");
	}

	.area-prefectures {
		grid-template-columns: 1fr;
		gap: 16px;
	}
}

/* ヘッダーの連絡ボタンも768pxでモバイル配置に切り替える */
@media (min-width: 737px) and (max-width: 768px) {
	.headwrap .telmail .only-pc {
		display: none !important;
	}

	.headwrap .telmail .only-sp {
		display: block !important;
	}
}
