@charset "utf-8";

header {
	border-bottom: 5px solid #0552a9;
	box-sizing: border-box;
	height: 105px;
}

header .header__inr {
	display: flex;
	align-items: center;
}

header .header__inr .logo {
	display: flex;
	margin-right: 100px;
}

header .header__inr .search_box {
	display: flex;
	align-content: center;
}

header .header__inr .search_box #serch_text {
	-webkit-box-flex: 1;
	-ms-flex: 1;
	flex: 1;
	background: #fff;
	background-size: auto;
	background-size: 25px;
	height: 50px;
	font-size: 15px;
	font-size: 1.5rem;
	font-weight: 400;
	line-height: 50px;
	padding: 0 20px;
	border: 2px solid #d1d1d1;
	border-radius: 6px;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	min-width: 550px;
}

header .header__inr .search_box #search_btn {
	background: #118fde;
	background-size: 16px;
	height: 50px;
	line-height: 50px;
	color: #fff;
	font-size: 16px;
	font-size: 1.6rem;
	margin-left: 5px;
	padding: 0 20px 0 20px;
	border: 2px solid #118fde;
	border-radius: 6px;
	cursor: pointer;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

header .header__inr .search_box .sub_menu {
	display: none;
}

main {
	position: relative;
}

main #map_canvas {
	width: calc(100% - 150px);
	height: calc(100vh - 105px);
	margin-left: 150px;
	background: #eee;
	position: relative;
	display: block;
}

main .menu_list {
	display: block;
	position: absolute;
	left: 0;
	top: 0;
	font-size: 16px;
	height: calc(100vh - 105px);
	width: 150px;
	background: #1584d5;
}

main .menu_list li {
	background: #1584d5;
	border-bottom: 1px solid #fff;
}

main .menu_list li a {
	color: #fff;
	display: block;
	text-decoration: none;
	text-align: center;
	padding: 16px 8px;
	padding-top: 56px;
	font-weight: bold;
}

main .menu_list li.pref a {
	background: url("../img/icon_pref.png") no-repeat center top 16px;
}

main .menu_list li.municipalities a {
	background: url("../img/icon_municipalities.png") no-repeat center top 16px;
}

main .menu_list li.gps a {
	background: url("../img/icon_gps.png") no-repeat center top 16px;
}

main .menu_list li.active {
	background: #fff;
}

main .menu_list li.active a {
	color: #1584d5;
}

main .menu_list li.pref.active a {
	background: url("../img/icon_pref_active.png") no-repeat center top 16px;
}

main .menu_list li.municipalities.active a {
	background: url("../img/icon_municipalities_active.png") no-repeat center top 16px;
}

main .menu_list li.gps.active a {
	background: url("../img/icon_gps_active.png") no-repeat center top 16px;
}

main .pref_outer {
	position: absolute;
	left: 150px;
	top: 0;
}

main .pref_outer .pref_close_btn {
	position: absolute;
	top: 0;
	right: -40px;
	width: 40px;
	height: 40px;
	z-index: 9999;
	margin: 0;
	color: #118fde;
	cursor: pointer;
	background: #fff;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 24px;
	font-weight: bold;
}

main .pref_list {
	background: #fff;
	font-size: 16px;
	height: calc(100vh - 105px);
	overflow-y: scroll;
}

main .pref_list ul li {}

main .pref_list ul li.ttl {
	background: #f2f2f2;
	font-weight: bold;
	padding: 8px;
}

main .pref_list ul li a {
	display: block;
	padding: 16px 8px;
	text-decoration: none;
	background: #fff url(../../images/sagasu_link_mark.png) no-repeat 95% center;
}

main .pref_list ul li a:hover {
	color: #fff;
	background: #118fde url(../../images/sagasu_link_mark_on.png) no-repeat 97% center;
}

main .municipalities_outer {
	position: absolute;
	left: 150px;
	top: 0;
	min-width: 200px;
}

main .municipalities_outer .municipalities_close_btn {
	position: absolute;
	top: 0;
	right: -40px;
	width: 40px;
	height: 40px;
	z-index: 9999;
	margin: 0;
	color: #118fde;
	cursor: pointer;
	background: #fff;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 24px;
	font-weight: bold;
}

main #municipalities_list {
	background: #fff;
	overflow-y: scroll;
	font-size: 16px;
	height: calc(100vh - 105px);
}

main #municipalities_list ul li.ttl {
	background: #f2f2f2;
	font-weight: bold;
	padding: 8px;
}

main #municipalities_list ul li a {
	display: block;
	padding: 16px 8px;
	text-decoration: none;
	background: #fff url(../../images/sagasu_link_mark.png) no-repeat 95% center;
}

main #municipalities_list ul li a:hover {
	color: #fff;
	background: #118fde url(../../images/sagasu_link_mark_on.png) no-repeat 97% center;
}

.overlay {
	position: fixed;
	top: 0;
	left: 0;
	background: rgba(0, 0, 0, 0.5);
	width: 100%;
	height: 100vh;
	z-index: 9999;
}

.fixed_msg {
	position: fixed;
	top: 50%;
	left: 50%;
	z-index: 10000;
	transform: translateX(-50%) translateY(-50%);
	margin: 0;
	background: #fff;
	padding: 16px;
}

.fixed_msg .msg {
	font-weight: bold;
	font-size: 18px;
	text-align: center;
}

.fixed_msg figure {
	margin: 0;
}

.fixed_msg figure .pc_only {
	display: inline-block;
}

.fixed_msg figure .sp_only {
	display: none;
}

.fixed_msg .close_btn {
	position: absolute;
	top: 0;
	right: 0px;
	width: 40px;
	height: 40px;
	margin: 0;
	color: #118fde;
	cursor: pointer;
	background: #fff;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 24px;
	font-weight: bold;
}

.class_link {
	display: block;
	border: 2px solid #118fde;
	text-decoration: none;
	border-radius: 4px;
	margin-bottom: 8px;
	padding: 2px 0;
}

.class_link.btn_siryo {
	background: #ff6801;
	color: #fff;
	font-size: 10px;
	border: none;
	padding: 4px 0;
}

.class_link.btn_taiken {
	background: #ED8922;
	color: #fff;
	border: none;
	padding: 4px 0;
}

@media only screen and (max-width: 768px) {
	header {
		height: 100px;
	}

	header .header__inr {
		height: 100px;
		flex-wrap: wrap;
	}

	header .header__inr .logo {
		margin-right: 0;
		height: 50px;
		width: 100%;
		justify-content: center;
	}

	header .header__inr .logo img {
		max-height: 100%;
	}

	header .header__inr .search_box {
		height: 50px;
		padding: 8px 50px 8px 8px;
		width: 100%;
		position: relative;
	}

	header .header__inr .search_box .sub_menu {
		display: block;
		width: 32px;
		height: 32px;
		background: url(../../images/nav_mark.png) center center no-repeat;
		position: absolute;
		right: 16px;
		top: 50%;
		transform: translateY(-50%);
	}

	header .header__inr .search_box .sub_menu.active {
		transform: translateY(-50%) rotate(180deg);
	}

	header .header__inr .search_box #serch_text {
		height: 100%;
		line-height: normal;
		min-width: auto;
	}

	header .header__inr .search_box #search_btn {
		height: 100%;
		font-size: 1.4rem;
		line-height: normal;
		white-space: nowrap;
	}

	#sp_search {
		display: none;
	}

	.main {
		padding-top: 50px;
	}

	main #map_canvas {
		width: 100%;
		height: calc(100vh - 50px);
		margin: 0;
	}

	main .menu_list {
		display: none;
		position: absolute;
		top: 50px;
		left: 0;
		width: 100%;
		height: auto;
	}

	main .menu_list ul {
		display: flex;
	}

	main .menu_list ul li {
		width: 33%;
		width: calc(100% / 3);
		border-right: 1px solid #fff;
		border-bottom: none;
		box-sizing: border-box;
	}

	main .menu_list ul li:last-child {
		border-right: none;
	}

	main .menu_list li.active {
		background: #1584d5;
	}

	main .menu_list li.active a {
		color: #fff;
	}

	main .menu_list li.pref.active a {
		background: url("../img/icon_pref.png") no-repeat center top 16px;
	}

	main .menu_list li.municipalities.active a {
		background: url("../img/icon_municipalities.png") no-repeat center top 16px;
	}

	main .menu_list li.gps.active a {
		background: url("../img/icon_gps.png") no-repeat center top 16px;
	}

	main .pref_outer {
		display: none;
		position: fixed;
		left: 0;
		top: 0;
		width: 100%;
		z-index: 9999;
	}

	main .pref_outer .pref_list {
		height: 100vh;
	}

	main .pref_outer .pref_close_btn {
		z-index: 99999;
		right: 0;
		top: 0;
	}

	main .municipalities_outer {
		display: none;
		position: fixed;
		left: 0;
		top: 0;
		width: 100%;
		z-index: 9999;
	}

	main .municipalities_outer #municipalities_list {
		height: 100vh;
	}

	main .municipalities_outer #municipalities_list ul {
		padding-top: 40px;
	}

	main .municipalities_outer .municipalities_close_btn {
		z-index: 99999;
		right: 0;
		top: 0;
	}

	.fixed_msg {
		width: 96%;
	}

	.fixed_msg figure .pc_only {
		display: none;
	}

	.fixed_msg figure .sp_only {
		display: inline-block;
	}
}