﻿@charset "utf-8";





/* 千葉マイスターPlus汎用 */


.city-link-content {
	width: 1080px;
	display: flex;
	flex-direction: column;
	/* padding: 20px; */
	gap: 30px;
	margin: 10px;
	align-items: center;
}


@media screen and (max-width:480px) {

	.city-link-content {
		width: 100%;
		grid-template-columns: 1fr;
		padding: 5px;
	}
}

.city-img-content {
	background: #ddf1ff;
	border-radius: 10px;
	box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.2);
	display: flex;
	justify-content: flex-start;
	position: relative;
}


@media screen and (max-width:480px) {

	.city-img-content {
		display: none;
	}

}


.city-img-content img {
	width: 100%;
	height: auto;
}

.city-link-title {
	display: flex;
	width: 100%;
	flex-direction: column;
	gap: 15px;
	box-shadow: 1px 4px 15px rgba(0, 0, 0, 0.15);
	border-radius: 10px;
	padding: 30px 17px 17px 17px;
}

.city-link-title h2 {
	width: 450px;
	height: auto;
}




@media screen and (max-width:480px) {


	.city-link-title {

		padding: 10px;
	}



	.city-link-title h2 {
		width: 100%;
		height: auto;
	}

}

.city-link-title h2 img {
	width: 100%;
	padding-top: 0px;
}


@media screen and (max-width:480px) {

	.city-link-title h2 img {
		padding-top: 10px;
	}
}

.city-link-title p {
	font-size: 1.6rem;
	width: 99%;
	font-weight: 400;
}

.city-link-title_small {
	font-size: 1.2rem;
	line-height: 2.5em;
}




.city-link-list {
	display: flex;
	flex-direction: column;
	align-items: center;
	box-shadow: 1px 4px 2px rgba(0, 0, 0, 0.2);
	border-radius: 15px;
	background: #ecf3ff;
	padding: 7px;
}


.city-link-row {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 20px;
	border-bottom: 1px solid #b5c5e5;
	padding: 6px;
	font-weight: 500;
	color: #09158a;

}


.city-link-title .city-link-itirantitle_box {
	font-size: 1.5rem;
	height: 92px;
	font-weight: 400;
	border-left: 5px solid #c5b026;
	padding-left: 8px;
	padding-top: 8px;
	padding-bottom: 10px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}


.city-link-title .city-link-itirantitle_box .city-link-itirantitle {
	font-size: 2.4rem;
	font-weight: 600;
	color: #182377;
}












@media screen and (max-width:480px) {


	.city-link-title_small {
		font-size: 1rem;
		line-height: 0em;
	}

	.city-link-itirantitlep {
		line-height: 1.5em;

	}

	.city-link-row {
		flex-direction: column;
		gap: 15px;
		border-bottom: none;
	}


	.city-link-title .city-link-itirantitle_box {
		height: 118px;
	}
}

.city-link-row:last-child {
	border-bottom: 0px solid #b5c5e5;
}


.city-link-row th {
	white-space: nowrap;
	background: #ffffff;
	border-radius: 7px;
	font-size: 1.5rem;
	;
	color: #000000;
	padding: 5px 7px;
	font-weight: 500;
	display: inline-block;
}

@media screen and (max-width:480px) {

	.city-link-row th {
		width: 100%;
		text-align: left;
		background: none;
		color: #09158a;
		border-radius: 0px;
		border-bottom: 1px solid #09158a;
	}
}




.city {
	width: 95%;
	font-size: 1.5rem;
	line-height: 1.5em;
}


.city a:hover {
	opacity: 0.5;

}

.city_child {
	white-space: nowrap;
}

.detail {
	width: 35px;
}

@media screen and (max-width:480px) {

	.detail {
		display: none;
	}


	.city {
		width: 100%;
		background-color: #ffffff;
		border-radius: 5px;
		padding: 10px;
	}
}


.detail a img {
	width: 100%;
	height: auto;
}

.content-flex {
	width: 1080px;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: flex-start;
	margin: 0 auto;
	margin-top: 30px;
}




@media screen and (max-width:480px) {
	.content-flex {
		width: 100%;
		flex-direction: column;
		gap: 30px;
		align-items: center;
	}

}


.content-flex_ran-cul {
	display: flex;
	flex-direction: column;
	gap: 20px;
	width: 800px;
}


@media screen and (max-width:480px) {
	.content-flex_ran-cul {
		width: 100%;
	}

}






/* 市町村ランキング */
.ranking_box {
	width: 800px;
	height: auto;
	background: #eeeeee;
}


@media screen and (max-width:480px) {
	.ranking_box {
		width: 100%;

	}

}

.ranking_content {
	margin: 20px;
	padding: 20px;
	height: auto;
	background: #ffffff;
}

@media screen and (max-width:480px) {
	.ranking_content {
		margin: 10px;
		margin: 10px;
		padding: 20px 10px;
	}
}

.ranking_title {
	display: flex;
	flex-direction: column;
	align-items: center;

}

.ranking_title h2 {
	color: #182377;
	font-size: 24px;
	border-bottom: 2px solid #b4b7d4;
	padding: 5px;
	font-weight: 600;

}

@media screen and (max-width:480px) {
	.ranking_title h2 {
		font-size: 2rem;
		padding: 0px;
		padding-bottom: 5px;
	}

	.ranking_title h2 img {
		width: 18px;
		height: 18px;
	}
}

.ranking_title p {
	font-size: 1.4rem;
	padding: 5px;
	padding-bottom: 20px;
	position: relative;
	font-weight: 500;
	line-height: 1.5em;
}


@media screen and (max-width:480px) {

	.ranking_title p {
		text-align: center;
		line-height: 1.5em;
	}

}

.ranking1 {
	border: 2px solid #b4b7d4;
	border-radius: 8px;
	box-shadow: 2px 4px 5px rgba(0, 0, 0, 0.15);
	padding: 18px 12px;

}


.ranking1_title {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
}


.ranking1_title img {
	width: 34px;
}

@media screen and (max-width:480px) {


	.ranking1 {
		width: ;
	}

	.ranking1_title img {
		width: 24px;
	}

	.ranking1_title {

		margin-bottom: 10px;
	}




}

.ranking_title p::before {
	content: "";
	position: absolute;
	display: inline-block;
	width: 24px;
	height: 61px;
	left: -24px;
	top: -31px;
	background-image: url("../img/title‗Decoration_01.png");
	background-repeat: no-repeat;
}

.ranking_title p::after {
	content: "";
	position: absolute;
	display: inline-block;
	width: 24px;
	height: 61px;
	right: -24px;
	top: -33px;
	background-image: url("../img/title‗Decoration_02.png");
	background-repeat: no-repeat;

}

.ranking1_title div {
	display: flex;
	flex-direction: column;
	align-items: left;
	gap: 7px;
}

.ranking1_title div h3 {
	color: #e50f51;
	font-size: 2.4rem;
	line-height: 1.2em;
	font-weight: 600;
}


@media screen and (max-width:480px) {
	.ranking1_title div h3 {

		font-size: 21px;

	}

	.ranking1_title div {

		gap: 0px;
	}


}

.ranking1_title div p {
	color: #000000;
	font-size: 14px;
}


.ranking1_table {
	width: 100%;

}


.ranking1_table tr {
	width: 100%;
	font-size: 16px;
	color: #001998;
	border-bottom: 1px solid #b4b7d4;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	padding-top: 5px;
}



.ranking1_table tr th {
	font-size: 16px;
	color: #0b30e7;
	display: flex;
	flex-direction: row;
	align-items: center;
	padding-bottom: 2px;

}

.ranking1_table_a {
	text-decoration: underline;
	text-underline-offset: 1px;
}


.ranking1_table_a:hover {
	opacity: 0.7;
}


@media screen and (max-width:480px) {


	.ranking1_table tr {
		padding: 3px 0px;
	}

	.ranking1_table tr th {
		white-space: nowrap;
	}

	.ranking1_title div p {
		line-height: 1.5em;
	}

}

.ranking1_table tr td {
	font-size: 14px;
	color: #000000;

}


.ranking1_text {
	font-size: 1.5rem;
	color: #000000;
	line-height: 1.5em;
	margin-top: 10px;
	font-weight: 400;
}


.ranking1_table_box {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 17px;
	font-weight: 500;
}

@media screen and (max-width:480px) {
	.ranking1_table_box {
		grid-template-columns: 1fr;

	}

	.ranking1_table {
		margin-bottom: 20px;

	}

	.ranking1_table tr td {
		line-height: 1.5em;
		width: 92px;
		text-align: right;
	}




}

/* city-page */

.not-side-flex {
	width: 100%;

}


@media screen and (max-width:480px) {

	.not-side-flex {

		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}


}

.fv-box_pc.ichikawa_back {
	padding: 30px 0px;
	background-image: url("../img/ichikawa_back.png");
	background-repeat: no-repeat;
	background-position: right 20px top;
}


.fv-box_pc.chiba_back {
	padding: 30px 0px;
	background-image: url("../img/chiba_back.png");
	background-repeat: no-repeat;
	background-position: right 20px top;
}


.fv-box_pc.hunabashi_back {
	padding: 30px 0px;
	background-image: url("../img/hunabashi_back.png");
	background-repeat: no-repeat;
	background-position: right 20px top;
}


.fv-box_pc.matudo_back {
	padding: 30px 0px;
	background-image: url("../img/matudo_back.png");
	background-repeat: no-repeat;
	background-position: right 20px top;
}


.fv-box_pc.kashiwa_back {
	padding: 30px 0px;
	background-image: url("../img/kashiwa_back.png");
	background-repeat: no-repeat;
	background-position: right 20px top;
}

.fv-box_pc.sakura_back {
	padding: 30px 0px;
	background-image: url("../img/sakura_back.png");
	background-repeat: no-repeat;
	background-position: right 20px top;
}

.fv-box_pc.narashino_back {
	padding: 30px 0px;
	background-image: url("../img/narashino_back.png");
	background-repeat: no-repeat;
	background-position: right 20px top;
}

.fv-box_pc.urayasu_back {
	padding: 30px 0px;
	background-image: url("../img/urayasu_back.png");
	background-repeat: no-repeat;
	background-position: right 20px top;
}

.fv-box_pc.yachiyo_back {
	padding: 30px 0px;
	background-image: url("../img/yachiyo_back.png");
	background-repeat: no-repeat;
	background-position: right 20px top;
}

.fv-box_pc.yotukaidou_back {
	padding: 30px 0px;
	background-image: url("../img/yotukaidou_back.png");
	background-repeat: no-repeat;
	background-position: right 20px top;
}

.fv-box_pc.ichihara_back {
	padding: 30px 0px;
	background-image: url("../img/ichihara_back.png");
	background-repeat: no-repeat;
	background-position: right 20px top;
}

.fv-box_pc.nagareyama_back {
	padding: 30px 0px;
	background-image: url("../img/nagareyama_back.png");
	background-repeat: no-repeat;
	background-position: right 20px top;
}

.fv-box_pc.noda_back {
	padding: 30px 0px;
	background-image: url("../img/noda_back.png");
	background-repeat: no-repeat;
	background-position: right 20px top;
}

.fv-box_pc.abiko_back {
	padding: 30px 0px;
	background-image: url("../img/abiko_back.png");
	background-repeat: no-repeat;
	background-position: right 20px top;
}


.fv-box_pc.kamagaya_back {
	padding: 30px 0px;
	background-image: url("../img/kamagaya_back.png");
	background-repeat: no-repeat;
	background-position: right 20px top;
}


.fv-box_pc.shiroi_back {
	padding: 30px 0px;
	background-image: url("../img/shiroi_back.png");
	background-repeat: no-repeat;
	background-position: right 20px top;
}


.fv-box_pc.narita_back {
	padding: 30px 0px;
	background-image: url("../img/narita_back.png");
	background-repeat: no-repeat;
	background-position: right 20px top;
}


.fv-box_pc.choshi_back {
	padding: 30px 0px;
	background-image: url("../img/choshi_back.png");
	background-repeat: no-repeat;
	background-position: right 20px top;
}

.fv-box_sp {
	display: none;

}


@media screen and (max-width:480px) {


	.fv-box_pc {
		display: none;
	}

	.fv-box_sp.ichikawa_back_sp {
		display: block;
		width: 90%;
		aspect-ratio: 472 / 370;
		background-image: url("../img/ichikawa_back_sp.png");
		background-repeat: no-repeat;
		background-position: center;
		background-size: cover;
		border-radius: 10px;
		box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
		margin: 20px;
	}


	.fv-box_sp.chiba_back_sp {
		display: block;
		width: 90%;
		aspect-ratio: 472 / 370;
		background-image: url("../img/chiba_back_sp.png");
		background-repeat: no-repeat;
		background-position: center;
		background-size: contain;
		border-radius: 10px;
		box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
		margin: 15px auto;
	}

}

.fv-box_sp_text1 {
	display: none;

}

@media screen and (max-width:480px) {

	.fv-box_sp_text1 {
		display: block;
		padding-top: 20px;
		width: 90%;
	}




}

.fv-box_sp_text2 {
	display: none;

}

@media screen and (max-width:480px) {

	.fv-box_sp_text2 {
		display: block;
		width: 90%;
	}
}


.fv-box-h2-1 {
	background: #eeeeee;
	border-radius: 999px;
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 5px;
	font-size: 16px;
	font-weight: 500;
	padding-left: 10px;
	padding-right: 20px;
	padding-left: 10px;
	padding-top: 7px;
	padding-bottom: 7px;
	width: fit-content;
}

.fv-box-h2-1 h2 {
	width: fit-content;
}


@media screen and (max-width:480px) {


	.fv-box-h2-1 h2 {
		width: fit-content;
		font-size: 14px;
	}


}

.fv-box-h2-1 div {
	width: 18px;
	height: auto;
}

.fv-box-h2-1 div img {
	width: 100%;
}


.fv-box-h2-2 {
	font-size: 40px;
	color: #202665;
	font-weight: 600;
	padding: 10px;

}


@media screen and (max-width:480px) {

	.fv-box-h2-2 {
		font-size: 30px;
		padding: 10px;
		border-bottom: 2px solid #202665;
		width: 100%;
	}

}


.fv-box-h2-1 h2 {
	width: fit-content;
	font-size: 14px;
}


.fv-box-small {
	font-size: 18px;
	color: #202665;
	font-weight: 600;
	padding: 10px;

}

.fv-box-p {
	width: 350px;
	font-size: 16px;
	color: #000000;
	padding-top: 20px;
	padding-bottom: 30px;
	padding-right: 10px;
	padding-left: 10px;
	line-height: 1.5em;

}


@media screen and (max-width:480px) {

	.fv-box-p {
		padding: 0px 10px 10px 10px;
		width: 100%;
	}

}

.fv-box-date {
	width: 500px;
	border-radius: 10px;
	border: 1px solid #202665;
	padding: 10px;
	display: flex;
	flex-direction: row;
	justify-content: space-around;
}


.fv-box-date_table {
	display: none;
}




@media screen and (max-width:480px) {

	.fv-box-date_table {
		display: table;
		table-layout: fixed;
		width: 100%;
		border: 1px solid #202665;
		padding: 0px 10px;
		margin-bottom: 20px;
		font-size: 1.6rem;
		border-radius: 10px;
		border-collapse: separate;
		border-spacing: 0;
	}



	.fv-box-date_table_th {
		margin: 10px 10px;
		padding: 10px 10px;
		text-align: center;
		vertical-align: middle;
		width: 35%;

	}

	.fv-box-date_table_td {
		margin: 10px 10px;
		padding: 10px 10px;
		text-align: center;
		width: 65%;
	}


	.fv-box-date_table_tr:not(:last-child) th,
	.fv-box-date_table_tr:not(:last-child) td {
		border-bottom: 1px solid #202665;
	}


}



.fv-box-date p {
	width: 183px;
	padding: 0px 10px;
	border-right: 1px solid #202665;
	font-size: 1.6rem;
	line-height: 1.5em;
	font-weight: 500;
	text-align: center;
}

.fv-box-date p:nth-child(3) {
	border-right: none;
}

.fv-box-date p:nth-child(1) {
	padding-right: 20px;
}

.fv-box-date p:nth-child(2) {
	padding-right: 20px;

}

@media screen and (max-width:480px) {}


.ranking_box-city {
	padding: 3px;
}

.ranking_content-city-h3 {
	background: #202665;
	color: #ffffff;
	font-weight: 600;
	padding: 10px;
	font-size: 18px;
	margin-top: 20px;
}

@media screen and (max-width:480px) {

	.ranking_content-city-h3 {
		padding: 10px;
		font-size: 18px;
		margin-top: 0px;
	}
}

.ranking_content-city-p {
	font-weight: 400;
	font-size: 16px;
	line-height: 1.5em;
	padding: 10px;
	padding-bottom: 20px;
}


/* よこ画像ー右が画像 */
.ranking_content-city-flex1-1 {
	display: grid;
	grid-template-columns: 1.5fr 1fr;

}

/* よこ画像ー左が画像 */
.ranking_content-city-flex1-2 {
	display: grid;
	grid-template-columns: 1fr 1.5fr;
}


/* たて画像ー右が画像 */
.ranking_content-city-flex2-1 {
	display: grid;
	grid-template-columns: 1.5fr 1fr;

}

/* たて画像ー左が画像 */
.ranking_content-city-flex2-2 {
	display: grid;
	grid-template-columns: 1fr 1.5fr;
}



@media screen and (max-width:480px) {


	/* よこ画像ー右が画像 */
	.ranking_content-city-flex1-1 {
		grid-template-columns: 1fr;

	}

	/* よこ画像ー左が画像 */
	.ranking_content-city-flex1-2 {
		grid-template-columns: 1fr;
	}


	/* たて画像ー右が画像 */
	.ranking_content-city-flex2-1 {
		grid-template-columns: 1fr;

	}

	/* たて画像ー左が画像 */
	.ranking_content-city-flex2-2 {
		grid-template-columns: 1fr;
	}

}


.ranking_content-city-img {
	margin: 10px;
}

.ranking_content-city-img small {
	display: inline-block;
	width: 100%;
	text-align: center;
	padding: 5px;
}

/* 画像サイズ合わせ */
.ranking_content-city-img img {
	width: 100%;

}

.h4-bold {
	font-weight: bold;
	font-size: 16px;
	margin-top: 10px;
}

/* スマホ用改行 */
.sp-br {
	display: none;
}

@media screen and (max-width:480px) {

	.sp-br {
		display: block;

	}
}



/* サンプル問題ページ */

.ranking_box_mondai {
	margin-top: 30px;
}

.ranking_content-city-h4_mondai {
	font-size: 16px;
	font-weight: 500;
	line-height: 1.5em;
	padding-top: 20px;
}

.ranking_content-city-h4_kaitou {
	font-size: 16px;
	font-weight: 500;
	line-height: 1.5em;
}

.ranking_content-city-h4 span {
	color: #6e8fd3;

}

.kaitou_box {
	font-size: 16px;
	font-weight: 500;
	padding: 20px 10px;
	line-height: 1.5em;
	border-radius: 10px;
	background: #e3edfc;
	padding: 10px;
	margin: 10px 0px;
	display: flex;
	gap: 20px;
}

.sentakusi_box {
	font-size: 16px;
	line-height: 1.5em;
	padding: 20px 0px;
}



.ranking_content-city-details {
	font-size: 16px;
	font-weight: 500;
	padding: 20px 10px;
	line-height: 1.5em;
	border-radius: 10px;
	background: #f9fcff;
	padding: 10px;
	border: 1px solid #202665;
	box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

.ranking_content-city-summary {
	cursor: pointer;
}



/* city_zyouhouの受験者数ブロック */
.zyukensyabox {
	width: 500px;
	margin: 0 auto;
	margin-bottom: 30px;
	display: grid;
	grid-template-columns: 2fr 1fr;
	align-items: center;
	background-color: #f8f8ff;
}

.zyukensyabox_h3 {
	font-size: 1.6rem;
}


.zyukensyabox_div1 {
	border-right: 1px solid #b4b7d4;
	justify-content: center;
}

.zyukensyabox_tr {
	border-bottom: none !important;

}

.zyukensyabox_h3span {
	font-size: 1.3rem;
	padding: 1px;
	/* border-bottom: 2px solid #b4b7d4; */
	color: #202665;
	border-radius: 2px;
}

.zyukensyabox_table {
	display: flex;
	justify-content: center;
	align-items: center;
}

@media screen and (max-width:480px) {

	.zyukensyabox {
		width: 90%;
		grid-template-columns: 1fr;
		padding: 10px;
		margin-bottom: 20px;
	}

	.zyukensyabox_div1 {
		border-right: none;
	}

	.zyukensyabox_td {
		width: 100% !important;
	}

}


/* =========================================
   神奈川マイスター
========================================= */


/* =========================================
   動的MAP
========================================= */

#mapcontainer {
	width: 100%;
	height: 500px;
	background: #DDF1FF;
}


/* 地図全体 */
.map_div {
	border-radius: 10px;
	box-shadow: 1px 4px 15px rgba(0, 0, 0, 0.15);
}


/* 市町村名ラベルの外側 */
.city-label {
	background: transparent;
	border: none;

	color: #333;
	font-size: 12px;
	font-weight: bold;

	white-space: nowrap;
	cursor: pointer;
}


/* 市町村名の白い背景 */
.city-label__inner {
	display: inline-block;

	padding: 2px 5px;

	background: #ffffff;
	border-radius: 5px;

	color: #000;
	font-size: 14px;
	font-weight: 400;
	text-decoration: none;

	white-space: nowrap;

	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}


/* 地図上のリンク */
.city-label a {
	color: #000000 !important;
	text-decoration: none;
}


/* 地図上のリンク ホバー */
.city-label a:hover {
	background: #f0f0f0;
}


/* Leafletの吹き出し三角を消す */
.leaflet-tooltip.city-label::before {
	display: none;
}


/* =========================================
   市町村名から探す 全体
========================================= */

.city-link-title {
	width: 100%;

	padding: 18px;

	background: #ffffff;

	border-radius: 10px;

	box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
}


/* =========================================
   市町村一覧
========================================= */

.city-link-list {
	width: 100%;

	display: block;

	padding: 0;

	background: transparent;

	box-shadow: none;

	border-radius: 0;
}


/* あ行～や行を横並び */
.city-link-list tbody {
	width: 100%;

	display: grid;

	grid-template-columns: repeat(8, 1fr);

	gap: 5px;
}


/* =========================================
   あ行・か行など 1列分
========================================= */

.city-link-row {
	display: flex;

	flex-direction: column;

	align-items: stretch;

	gap: 0;

	padding: 0;

	background: #f4f7fa;

	border: 1px solid #9ea6af;

	border-radius: 5px;

	overflow: hidden;

	color: #333333;
}


.city-link-row:last-child {
	border-bottom: 1px solid #9ea6af;
}


/* =========================================
   あ行・か行などの見出し
========================================= */

.city-link-row th {
	width: 100%;

	display: block;

	padding: 8px 5px;

	background: #b5c5e5;

	border-radius: 0;

	color: #173b72;

	font-size: 15px;

	font-weight: 600;

	text-align: center;

	box-sizing: border-box;
}


/* =========================================
   市町村名が入る部分
========================================= */

.city {
	width: 100%;

	display: flex;

	flex-direction: column;

	padding: 5px 0;

	background: #f7f9fb;

	font-size: 14px;

	line-height: 1.4;

	box-sizing: border-box;
}


/* =========================================
   共通
   リンクあり・リンクなし両方
========================================= */

.city_child {
	display: block;

	width: 100%;

	padding: 3px 10px;

	font-size: 15px;

	font-weight: 500;

	white-space: nowrap;

	box-sizing: border-box;
}

.city_child2 {
	display: block;

	width: 100%;

	padding: 3px 10px;

	font-size: 15px;

	font-weight: 500;

	white-space: nowrap;

	box-sizing: border-box;
}


/* 市町村ごとの区切り線 */
.city_child:not(:last-child) {
	border-bottom: 1px solid #9ea6af;
}


/* =========================================
   リンクあり
   <a class="city_child">
========================================= */

.city a.city_child {
	color: #09158a;

	text-decoration: none;

	cursor: pointer;
}


/* リンクあり ホバー */
.city a.city_child:hover {
	background: #ffffff;

	color: #293fe6;

	opacity: 1 !important;
}


/* =========================================
   リンクなし
   <span class="city_child">
========================================= */

.city span.city_child {
	color: #999999;

	background: #f7f9fb;

	cursor: default;

	text-decoration: none;
}


.city span.city_child2 {
	color: #000000;

	background: #f7f9fb;

	cursor: default;

	text-decoration: none;
}



/* リンクなしはホバーしても変えない */
.city span.city_child:hover {
	color: #999999;

	background: #f7f9fb;

	opacity: 1 !important;
}


/* =========================================
   右側の矢印画像は使わない
========================================= */

.detail {
	display: none;
}


/* =========================================
   index.php
========================================= */

.fast-content {
	width: 1080px;

	margin: 0 auto;

	padding: 10px 10px 0px;

	text-align: center;
}


/* ロゴ */
.fast-content .fast-content_h1 {
	width: 500px;

	margin: 0 auto 8px;
}


.fast-content .fast-content_h1 img {
	width: 100%;

	display: block;
}


/* テキスト全体 */
.fast-content .fast-content_text {
	text-align: center;

	line-height: 1.5;
}


/* キャッチコピー */
.fast-content .fast-content_p {
	margin: 0;

	padding-bottom: 25px;

	font-size: 20px;

	font-weight: bold;

	color: #0b3f82;

	position: relative;

	font-family: "Noto Serif JP", serif;
}


/* 黄色いライン */
.fast-content .fast-content_p::after {
	content: "";

	position: absolute;

	width: 85px;

	height: 3px;

	background: #e5b524;

	left: 50%;

	bottom: 7px;

	transform: translateX(-50%);
}


/* 説明文 */
.fast-content .fast-content_span {
	display: block;

	margin-top: 10px;

	font-size: 15px;

	color: #000;
}


/* =========================================
   市町村から探す
========================================= */

.city-link-title_box {
	display: flex;

	justify-content: flex-start;

	align-items: center;

	gap: 5px;
}


/* 虫眼鏡アイコン */
.city-link-title_imgbox {
	width: 20px;

	height: 20px;
}


.city-link-title_imgbox img {
	width: 100%;

	height: 100%;
}


/* タイトル */
.city-link-title_h3 {
	margin: 0;

	font-size: 22px;

	font-weight: 700;

	line-height: 1;

	color: #182377;
}


/* =========================================
   地図から探す
========================================= */

.map_div_box {
	width: 100%;

	padding: 11px;

	background: #ffffff;

	border-radius: 10px;

	box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
}


.city-link-title_box_flex {
	display: flex;

	align-items: flex-end;

	justify-content: space-between;

	margin-bottom: 18px;
}


.city-link-title_box_flex p {
	font-size: 15px;
}


/* PCでは非表示の改行 */
.pc-none {
	display: none;
}


.tokyo-map .ippai {
	display: block;
	width: 100%;
	height: auto;
}

.ippai {
	position: relative;
	width: 100%;
	display: block;
	max-width: 1080px;
	margin: 0 auto;
}

.tokyo-map a.map-link:visited {
	color: blue;
}


.tokyo-map a.map-link:hover {

	text-decoration: none;
}

/* =========================================
   神奈川マイスター スマホ版
========================================= */

@media screen and (max-width: 480px) {


	/* =========================================
	   全体
	========================================= */

	.fast-content {
		width: 100%;

		padding: 20px 15px 10px;

		box-sizing: border-box;
	}


	/* ロゴ */
	.fast-content .fast-content_h1 {
		width: 85%;

		max-width: 400px;
	}


	/* キャッチコピー */
	.fast-content .fast-content_p {
		font-size: 18px;

		line-height: 1.5;
	}


	/* 説明文 */
	.fast-content .fast-content_span {
		font-size: 13px;

		line-height: 1.7;
	}


	/* =========================================
	   市町村検索全体
	========================================= */

	.city-link-content {
		width: 100%;

		margin: 0;

		padding: 10px;

		gap: 15px;

		box-sizing: border-box;
	}


	/* =========================================
	   地図から探す
	   スマホでは非表示
	========================================= */

	.map_div_box {
		display: none;
	}


	/* =========================================
	   市町村名から探す
	========================================= */

	.city-link-title {
		width: 100%;

		padding: 15px 10px;

		box-sizing: border-box;
	}


	/* タイトル */
	.city-link-title_box {
		margin-bottom: 12px;
	}


	.city-link-title_h3 {
		font-size: 20px;
	}


	.city-link-title_imgbox {
		width: 20px;

		height: 20px;
	}


	/* =========================================
	   スマホでは2列
	========================================= */

	.city-link-list tbody {
		display: grid;

		grid-template-columns: repeat(2, 1fr);

		gap: 8px;

		width: 100%;
	}


	/* 1つの行 */
	.city-link-row {
		width: 100%;

		display: flex;

		flex-direction: column;

		gap: 0;

		padding: 0;

		border: 1px solid #9ea6af;

		border-radius: 5px;

		overflow: hidden;

		background: #f7f9fb;

		box-sizing: border-box;
	}


	/* =========================================
	   あ行・か行などの見出し
	========================================= */

	.city-link-row th {
		width: 100%;

		display: block;

		padding: 7px 5px;

		background: #b5c5e5;

		border: none;

		border-bottom: 1px solid #9ea6af;

		border-radius: 0;

		color: #173b72;

		font-size: 14px;

		font-weight: 600;

		text-align: center;

		box-sizing: border-box;
	}


	/* =========================================
	   市町村名
	========================================= */

	.city {
		width: 100%;

		display: flex;

		flex-direction: column;

		padding: 0;

		background: #f7f9fb;

		border-radius: 0;

		box-sizing: border-box;
	}


	/* 共通 */
	.city_child {
		width: 100%;

		display: block;

		padding: 7px 8px;

		font-size: 14px;

		line-height: 1.4;

		box-sizing: border-box;
	}


	/* 市町村同士の区切り線 */
	.city_child:not(:last-child) {
		border-bottom: 1px solid #d0d5da;
	}


	/* リンクあり */
	.city a.city_child {
		color: #09158a;
	}


	/* リンクあり ホバー */
	.city a.city_child:hover {
		background: #ffffff;

		color: #293fe6;
	}


	/* リンクなし */
	.city span.city_child {
		color: #999999;

		background: #f7f9fb;

		cursor: default;
	}


	/* リンクなし ホバー */
	.city span.city_child:hover {
		color: #999999;

		background: #f7f9fb;
	}


	/* 詳細矢印は非表示 */
	.detail {
		display: none;
	}


	/* =========================================
	   ランキング
	========================================= */

	.ranking1_table_box {
		grid-template-columns: 1fr;
	}


	.ranking1 {
		width: 100%;

		box-sizing: border-box;
	}


	/* 改行 */
	.pc-none {
		display: inline;
	}

}

/* ========================================
   横浜市 区一覧
======================================== */

.ward-area {
	margin-top: 30px;
	display: flex;
	gap: 14px;
	width: 800px;
	margin-top: 30px;
	box-sizing: border-box;
}


/* ========================================
   左右共通BOX
======================================== */

.ward-box {
	width: 50%;
	background: #ffffff;
	border-radius: 4px;
	overflow: hidden;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}


/* ========================================
   見出し
======================================== */

.ward-title {
	display: flex;
	align-items: center;
	gap: 8px;

	padding: 8px 12px;

	background: linear-gradient(90deg,
			#163e85,
			#0c4e99);

	color: #ffffff;
	font-size: 18px;
	font-weight: bold;
}


.ward-title-icon {
	font-size: 18px;
	line-height: 1;
}


/* ========================================
   地図
======================================== */

.ward-map {
	display: flex;
	justify-content: center;
	align-items: center;

	min-height: 410px;

	padding: 20px;

	background: linear-gradient(180deg,
			#ffffff,
			#f5f9fd);

	box-sizing: border-box;
}


.ward-map img {
	display: block;
	max-width: 100%;
	height: auto;
}


/* ========================================
   区一覧
======================================== */

.ward-list {
	display: grid;

	grid-template-columns:
		repeat(2, 1fr);

	gap: 8px 10px;

	padding: 12px;

	background: #ffffff;
}


/* ========================================
   区リンク
======================================== */

.ward-link {
	position: relative;

	display: flex;
	align-items: center;
	justify-content: space-between;

	min-height: 38px;

	padding: 5px 10px 5px 17px;

	border: 1px solid #b9d6f1;


	box-sizing: border-box;

	background: #ffffff;

	color: #173f77;

	font-size: 15px;
	font-weight: bold;

	text-decoration: none;

}


/* 左側の色ライン */
.ward-link::before {
	content: "";

	position: absolute;

	top: 6px;
	bottom: 6px;
	left: 5px;

	width: 4px;

	border-radius: 5px;

	background: #52a7e0;
}


/* ホバー */
.ward-link:hover {
	background: #f3f9ff;
	border-color: #559cdb;


}


/* 矢印 */
.ward-link .arrow {
	color: #1687cf;
	font-size: 22px;
	font-weight: normal;
	line-height: 1;
}


/* ========================================
   左ラインの色
======================================== */

.ward-link.color-purple::before {
	background: #a875f5;
}


.ward-link.color-blue::before {
	background: #39a6e8;
}


.ward-link.color-pink::before {
	background: #ff7c9e;
}


.ward-link.color-orange::before {
	background: #ffa16f;
}


.ward-link.color-yellow::before {
	background: #f5c64e;
}


.ward-link.color-green::before {
	background: #73d95a;
}


/* ========================================
   スマホ
======================================== */

@media screen and (max-width: 767px) {

	.ward-area {
		display: block;
		width: 100%;
	}


	.ward-box {
		width: 100%;
		margin-bottom: 20px;
	}


	.ward-map {
		width: 100%;
	}



	.ward-list {
		grid-template-columns: 1fr;
	}

}


/* ========================================
   東京マイスター 地図リンク配置（画像実測ベース）
   元画像: 1339 x 741px
   東京23区・26市・5町・8村、全62自治体
   地図の縮小に追従するよう位置は百分率
======================================== */
/* 東京地図 62自治体リンク: 1339x741の元画像を基準に調整 */
.tokyo-map .ippai,
.tokyo-map .ippai {
	position: relative;
	display: block;
	width: 100%;
	max-width: 1339px;
	margin: 0 auto;
}

.tokyo-map .ippai>img,
.tokyo-map .ippai>img {
	display: block;
	width: 100%;
	height: auto;
}

.tokyo-map .map-link-list,
.tokyo-map .map-link-list {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.tokyo-map a {
	position: absolute;
	display: inline-block;
	transform: translate(-50%, -50%);
	padding: 1px 2px;
	border: 0;
	border-radius: 2px;
	background: rgba(255, 255, 255, .91);
	box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
	font-size: clamp(6px, 5vw, 13px);
	font-weight: 600;
	line-height: 1.1;
	white-space: nowrap;
	text-decoration: none;
	color: #0000ff;
	z-index: 2;
}


.tokyo-map span {
	position: absolute;
	display: inline-block;
	transform: translate(-50%, -50%);
	padding: 1px 2px;
	border: 0;
	border-radius: 2px;
	background: rgba(216, 216, 216, 0.91);
	box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
	font-size: clamp(6px, 5vw, 13px);
	font-weight: 600;
	line-height: 1.1;
	white-space: nowrap;
	text-decoration: none;
	color: #000000;
	z-index: 2;
}

.tokyo-map a:hover {
	background: #cccccc;
	color: #3d3d3d;
	z-index: 20;
}



/* 千代田区 */
.tokyo-map .map-link.chiyoda,
.tokyo-map .map-link.chiyoda {
	left: 69%;
	top: 53%;
}

/* 中央区 */
.tokyo-map .map-link.chuo,
.tokyo-map .map-link.chuo {
	left: 70%;
	top: 58%;
}

/* 港区 */
.tokyo-map .map-link.minato,
.tokyo-map .map-link.minato {
	left: 67%;
	top: 61%;
}

/* 新宿区 */
.tokyo-map .map-link.shinjuku,
.tokyo-map .map-link.shinjuku {
	left: 65%;
	top: 48%;
}

/* 文京区 */
.tokyo-map .map-link.bunkyo,
.tokyo-map .map-link.bunkyo {
	left: 67%;
	top: 44%;
}

/* 台東区 */
.tokyo-map .map-link.taito,
.tokyo-map .map-link.taito {
	left: 70%;
	top: 48%;
}

/* 墨田区 */
.tokyo-map .map-link.sumida,
.tokyo-map .map-link.sumida {
	left: 75%;
	top: 44%;
}

/* 江東区 */
.tokyo-map .map-link.koto,
.tokyo-map .map-link.koto {
	left: 75%;
	top: 58%;
}

/* 品川区 */
.tokyo-map .map-link.shinagawa,
.tokyo-map .map-link.shinagawa {
	left: 68%;
	top: 67%;
}

/* 目黒区 */
.tokyo-map .map-link.meguro,
.tokyo-map .map-link.meguro {
	left: 63%;
	top: 65%;
}

/* 大田区 */
.tokyo-map .map-link.ota,
.tokyo-map .map-link.ota {
	left: 66%;
	top: 75%;
}

/* 世田谷区 */
.tokyo-map .map-link.setagaya,
.tokyo-map .map-link.setagaya {
	left: 59%;
	top: 60%;
}

/* 渋谷区 */
.tokyo-map .map-link.shibuya,
.tokyo-map .map-link.shibuya {
	left: 63%;
	top: 54.926%;
}

/* 中野区 */
.tokyo-map .map-link.nakano,
.tokyo-map .map-link.nakano {
	left: 60%;
	top: 45%;
}

/* 杉並区 */
.tokyo-map .map-link.suginami,
.tokyo-map .map-link.suginami {
	left: 59%;
	top: 51%;
}

/* 豊島区 */
.tokyo-map .map-link.toshima,
.tokyo-map .map-link.toshima {
	left: 64%;
	top: 40%;
}

/* 北区 */
.tokyo-map .map-link.kita,
.tokyo-map .map-link.kita {
	left: 66%;
	top: 32%;
}

/* 荒川区 */
.tokyo-map .map-link.arakawa,
.tokyo-map .map-link.arakawa {
	left: 70%;
	top: 39%;
}

/* 板橋区 */
.tokyo-map .map-link.itabashi,
.tokyo-map .map-link.itabashi {
	left: 61%;
	top: 32%;
}

/* 練馬区 */
.tokyo-map .map-link.nerima,
.tokyo-map .map-link.nerima {
	left: 58%;
	top: 37%;
}

/* 足立区 */
.tokyo-map .map-link.adachi,
.tokyo-map .map-link.adachi {
	left: 71.247%;
	top: 30%;
}

/* 葛飾区 */
.tokyo-map .map-link.katsushika,
.tokyo-map .map-link.katsushika {
	left: 79%;
	top: 37%;
}

/* 江戸川区 */
.tokyo-map .map-link.edogawa,
.tokyo-map .map-link.edogawa {
	left: 77%;
	top: 51%;
}

/* 八王子市 */
.tokyo-map .map-link.hachioji,
.tokyo-map .map-link.hachioji {
	left: 29.201%;
	top: 56.005%;
}

/* 立川市 */
.tokyo-map .map-link.tachikawa,
.tokyo-map .map-link.tachikawa {
	left: 39%;
	top: 45%;
}

/* 武蔵野市 */
.tokyo-map .map-link.musashino,
.tokyo-map .map-link.musashino {
	left: 55%;
	top: 47%;
}

/* 三鷹市 */
.tokyo-map .map-link.mitaka,
.tokyo-map .map-link.mitaka {
	left: 52%;
	top: 55%;
}

/* 青梅市 */
.tokyo-map .map-link.ome,
.tokyo-map .map-link.ome {
	left: 28%;
	top: 30%;
}

/* 府中市 */
.tokyo-map .map-link.fuchu,
.tokyo-map .map-link.fuchu {
	left: 47%;
	top: 56%;
}

/* 昭島市 */
.tokyo-map .map-link.akishima,
.tokyo-map .map-link.akishima {
	left: 35%;
	top: 48%;
}

/* 調布市 */
.tokyo-map .map-link.chofu,
.tokyo-map .map-link.chofu {
	left: 54%;
	top: 59%;
}

/* 町田市 */
.tokyo-map .map-link.machida,
.tokyo-map .map-link.machida {
	left: 42.196%;
	top: 72.335%;
}

/* 小金井市 */
.tokyo-map .map-link.koganei,
.tokyo-map .map-link.koganei {
	left: 50%;
	top: 50%;
}

/* 小平市 */
.tokyo-map .map-link.kodaira,
.tokyo-map .map-link.kodaira {
	left: 46%;
	top: 44%;
}

/* 日野市 */
.tokyo-map .map-link.hino,
.tokyo-map .map-link.hino {
	left: 39%;
	top: 57%;
}

/* 東村山市 */
.tokyo-map .map-link.higashimurayama,
.tokyo-map .map-link.higashimurayama {
	left: 46%;
	top: 34%;
}

/* 国分寺市 */
.tokyo-map .map-link.kokubunji,
.tokyo-map .map-link.kokubunji {
	left: 43%;
	top: 49%;
}

/* 国立市 */
.tokyo-map .map-link.kunitachi,
.tokyo-map .map-link.kunitachi {
	left: 42%;
	top: 53%;
}

/* 福生市 */
.tokyo-map .map-link.fussa,
.tokyo-map .map-link.fussa {
	left: 33%;
	top: 43%;
}

/* 狛江市 */
.tokyo-map .map-link.komae,
.tokyo-map .map-link.komae {
	left: 54%;
	top: 64%;
}

/* 東大和市 */
.tokyo-map .map-link.higashiyamato,
.tokyo-map .map-link.higashiyamato {
	left: 42%;
	top: 40%;
}

/* 清瀬市 */
.tokyo-map .map-link.kiyose,
.tokyo-map .map-link.kiyose {
	left: 48.469%;
	top: 30%;
}

/* 東久留米市 */
.tokyo-map .map-link.higashikurume,
.tokyo-map .map-link.higashikurume {
	left: 52%;
	top: 38%;
}

/* 武蔵村山市 */
.tokyo-map .map-link.musashimurayama,
.tokyo-map .map-link.musashimurayama {
	left: 39%;
	top: 36%;
}

/* 多摩市 */
.tokyo-map .map-link.tama,
.tokyo-map .map-link.tama {
	left: 43%;
	top: 64%;
}

/* 稲城市 */
.tokyo-map .map-link.inagi,
.tokyo-map .map-link.inagi {
	left: 49%;
	top: 64%;
}

/* 羽村市 */
.tokyo-map .map-link.hamura,
.tokyo-map .map-link.hamura {
	left: 33%;
	top: 35%;
}

/* あきる野市 */
.tokyo-map .map-link.akiruno,
.tokyo-map .map-link.akiruno {
	left: 26.438%;
	top: 44%;
}

/* 西東京市 */
.tokyo-map .map-link.nishitokyo,
.tokyo-map .map-link.nishitokyo {
	left: 52%;
	top: 43%;
}

/* 瑞穂町 */
.tokyo-map .map-link.mizuho,
.tokyo-map .map-link.mizuho {
	left: 36%;
	top: 30%;
}

/* 日の出町 */
.tokyo-map .map-link.hinode,
.tokyo-map .map-link.hinode {
	left: 24%;
	top: 39%;
}

/* 奥多摩町 */
.tokyo-map .map-link.okutama,
.tokyo-map .map-link.okutama {
	left: 12.248%;
	top: 28.610%;
}

/* 八丈町 */
.tokyo-map .map-link.hachijo,
.tokyo-map .map-link.hachijo {
	left: 66%;
	top: 85%;
}

/* 小笠原村 */
.tokyo-map .map-link.ogasawara,
.tokyo-map .map-link.ogasawara {
	left: 82%;
	top: 85%;
}

/* 檜原村 */
.tokyo-map .map-link.hinohara,
.tokyo-map .map-link.hinohara {
	left: 15.758%;
	top: 43%;
}

/* 地図の表示枠 */
.tokyo-map {
	overflow: hidden;
}

/* 地図画像とリンクをまとめて拡大 */
.tokyo-map .ippai {
	position: relative;
	width: 100%;
	max-width: 1339px;
	margin: 0 auto;

	transform: translate(100px) scale(1.25);
	transform-origin: center center;
}

/* 画像の縦横比を維持 */
.tokyo-map .ippai>img {
	display: block;
	width: 100%;
	height: auto;
}

/* 島しょ部のリンク配置：最後の指定に統一 */
.tokyo-map .map-link:is(.oshima, .toshima_village, .niijima, .kozushima, .miyake, .mikurajima, .hachijo, .aogashima, .ogasawara) {
	width: 68px;
	box-sizing: border-box;
	text-align: center;
	font-size: 12px;
	padding: 1px 0;
}

/* 島しょ部：位置指定 */
.tokyo-map .map-link.oshima {
	left: 10%;
	top: 78%;
}

.tokyo-map .map-link.toshima_village {
	left: 18%;
	top: 78%;
}

.tokyo-map .map-link.niijima {
	left: 26%;
	top: 78%;
}

.tokyo-map .map-link.kozushima {
	left: 10%;
	top: 74%;
}

.tokyo-map .map-link.miyake {
	left: 26%;
	top: 74%;
}

.tokyo-map .map-link.mikurajima {
	left: 10%;
	top: 82%;
}

.tokyo-map .map-link.hachijo {
	left: 18%;
	top: 82%;
}

.tokyo-map .map-link.aogashima {
	left: 26%;
	top: 82%;
}

.tokyo-map .map-link.ogasawara {
	left: 18%;
	top: 74%;
}

.list-wrapper .box1gaiyou .gaiyoutable100 .citybox .city {

	width: unset;
	display: unset;
	flex-direction: unset;
	padding: unset;
	background: unset;
	font-size: unset;
	line-height: unset;
	box-sizing: unset;

	font-size: 1.4rem;
	line-height: 1.5;
	display: inline-block;
	white-space: nowrap;
}