/* 検索窓 */
header.mv .search {
    width: 35%;
	background: rgba(255, 255, 255, 0.8);
	margin-right: 10px;
    padding: 10px;
	border: 1px solid #9fb7cf;
    border-radius: 5px;
}

@media screen and (max-width: 640px){
	header.mv .search {
		width: 90%;
		padding: 0.5rem;
	}
}

header.mv .search label{
	display: inline-block;
	font-size: 16px;
	color: #1f76e2;
	border-bottom: 1px solid #1f76e2;
}

@media screen and (max-width: 640px){
	header.mv .search label{
		font-size: 14px;
	}
}

header.mv .search input[type="text"],
.not_search .search input[type="text"]{
    -webkit-appearance: none;
    display: inline-block;
    margin-right: 0;
    margin-bottom: 10px;
    padding: 10px;
    width: calc(100% - 66px);
    height: 40px;
    font-size: 16px;
    box-sizing: border-box;
    border-radius: 5px;
    border: 1px solid #ccc;
}

@media screen and (max-width: 640px){
	header.mv .search input[type="text"],
	.not_search .search input[type="text"]{
		width: calc(100% - 66px);
	}
}

header.mv .search input[type="submit"],
.not_search .search input[type="submit"]{
    -webkit-appearance: none;
    display: inline-block;
    padding: 0 10px;
    color: #fff;
    width: 60px;
    height: 40px;
    font-size: 100%;
    vertical-align: top;
    border: none;
    border-radius: 5px;
    background: #1f76e2;
	transition: 0.3s;
}

@media screen and (max-width: 640px){
	header.mv .search input[type="submit"] {
		padding: 0;
		width: 60px;
	}
}

header.mv .search input[type="submit"]:hover,
.not_search .search input[type="submit"]:hover{
	background: #0d5083;
	transition: 0.3s;
}

label.assistive-text {
    width: 100%;
    font-size: 1.1rem;
    text-align: center;
}

h1.search_result {
    font-size: 24px;
	font-weight: 600;
    color: #0d5083;
    margin: auto;
    padding: 25px 0 0;
    border-bottom: 1px solid #ccc;
}

@media screen and (min-width: 641px){
	h1.search_result {
		margin-right: 10px;
		margin-left: 10px;
	}
}

@media screen and (max-width: 640px){
	h1.search_result {
		padding: 10px 10px 0;
	}
}

.result {
    margin: 20px 0;
    border: 1px solid #32ab7f;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgb(0 0 0 / 30%);
	overflow: hidden;
}

@media screen and (max-width: 640px){
	.result {
		border-radius: 5px;
	}
}

.result .res_keyword {
	font-size: 16px;
    background: #f6f6f6;
    margin: 0;
    padding: 10px;
}

@media screen and (max-width: 640px){
	.result .res_keyword {
		font-size: 14px;
	}
}

.result .res_keyword span {
    font-weight: 600;
    color: #ec6c00;
    vertical-align: bottom;
}

.result .res_number {
	font-size: 16px;
	margin: 0;
	padding: 5px 10px;
}

@media screen and (max-width: 640px){
	.result .res_number {
		font-size: 14px;
	}
}

.result .res_number span {
	font-size: 24px;
    font-weight: 600;
    color: #ec6c00;
	margin-right: 5px;
}

@media screen and (max-width: 640px){
	.result .res_number span {
		font-size: 20px;
	}
}

.not_search {
    margin: 20px 0;
    padding: 20px;
    border: 1px solid #32ab7f;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgb(0 0 0 / 30%);
    text-align: center;
}

.not_search p.caution {
    font-size: 16px;
    font-weight: 600;
    color: #dd0000;
}

.not_search .search{
	max-width: 600px;
	margin: auto;
}

.not_search .search p{
	font-size: 16px;
	font-weight: 600;
    color: #1f76e2;
	margin: 0 0 10px;
    border-bottom: 1px solid #1f76e2;
}

/* 絞り込み検索 */
.site-main .wrap {
    display: flex;
    flex-wrap: wrap;
	margin-top: 20px;
}

@media screen and (max-width: 640px){
	.site-main .wrap {
		display: block;
		margin-top: 0;
		padding: 0;
	}
}

.site-main .gakunen,
.site-main .tokucho,
.site-main a.maplink{
	margin: 5px;
	border: 1px solid;
    border-radius: 5px;
	overflow: hidden;
	box-shadow: 0 2px 4px #ccc;
}

@media screen and (max-width: 640px){
	.site-main .gakunen,
	.site-main .tokucho{
		border: 0;
		border-radius: 0;
	}
}

.site-main .gakunen{
	width: calc(25% - 10px);
	background: #e0f3ec;
    border-color: #32ab7f;
}

@media screen and (max-width: 640px){
	.site-main .gakunen{
		width: 100%;
		margin: 0;
	}
}

.site-main .tokucho{
	width: calc(50% - 10px);
	background: #ffecf1;
	border-color: #e36a87;
}

@media screen and (max-width: 640px){
	.site-main .tokucho{
		width: 100%;
		margin: 0;
	}
}

.site-main a.maplink{
	display: flex;
    width: calc(25% - 10px);
	font-size: 24px;
	font-weight: 600;
	color: #0d5083;
    background-color: #c8e6f9;
    background-image: url(/img/mapback2.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border-color: #71b7df;
	line-height: 30px;
	text-shadow: 0 0 1px #fff, 0 0 2px #fff, 0 0 3px #fff, 0 0 4px #fff, 0 0 5px #fff, 0 0 6px #fff, 0 0 7px #fff, 0 0 8px #fff;
    align-items: center;
    justify-content: center;
	transition: 0.3s;
}

@media screen and (max-width: 640px){
	.site-main a.maplink{
		display: none;
	}
}

.site-main a.maplink:hover{
	background-color: #8ed1fc;
	transition: 0.3s;
}

.site-main .gakunen h2,
.site-main .tokucho h2{
	font-size: 16px;
	font-weight: 600;
	text-align: center;
	color: #fff;
	margin: 0;
	padding: 5px 0 0;
}

.site-main .gakunen h2{
	background: linear-gradient(to bottom, #32ab7f 0%, #32ab7f 30%, #e0f3ec 100%);
	text-shadow: 0 2px 2px #32ab7f;
}

.site-main .tokucho h2{
	background: linear-gradient(to bottom, #e36a87 0%, #e36a87 30%, #ffecf1 100%);
	text-shadow: 0 2px 2px #e36a87;
}

@media screen and (max-width: 640px){
	.site-main .gakunen h2,
	.site-main .tokucho h2{
		position: relative;
		color: #1e996c;
    	background: #e7f3ef;
		padding: 7px 10px 7px 25px;
    	text-shadow: none;
		text-align: left;
		border-top: 1px solid #78bba2;
    	border-bottom: 1px solid #78bba2;
		line-height: 16px;
	}
	
	.site-main .gakunen h2::before,
	.site-main .tokucho h2::before{
		content: "▶";
		position: absolute;
		left: 5px;
    	top: 7px;
    	font-size: 16px;
		color: #1e996c;
	}
}

.site-main .gakunen ul,
.site-main .tokucho ul{
	display: flex;
	flex-wrap: wrap;
	padding: 10px;
}

@media screen and (max-width: 640px){
	.site-main .gakunen ul,
	.site-main .tokucho ul{
		padding: 0;
	}
}

.site-main .gakunen ul li{
	width: calc(100% / 1 - 4px);
	margin: 2px;
}

@media screen and (max-width: 640px){
	.site-main .gakunen ul li{
		width: calc(100% / 3);
		margin: 0;
	}
}

.site-main .tokucho ul li{
	width: calc(100% / 2 - 4px);
	margin: 2px;
}

@media screen and (max-width: 640px){
	.site-main .tokucho ul li{
		width: calc(100% / 3);
		margin: 0;
	}
}

@media screen and (max-width: 640px){
	.site-main .gakunen ul li:first-child,
	.site-main .gakunen ul li:nth-child(2),
	.site-main .gakunen ul li:nth-child(4),
	.site-main .gakunen ul li:nth-child(5),
	.site-main .tokucho ul li:first-child,
	.site-main .tokucho ul li:nth-child(2),
	.site-main .tokucho ul li:nth-child(4),
	.site-main .tokucho ul li:nth-child(5){
		border-right: 1px solid #ccc;
	}
	
	.site-main .tokucho ul li:nth-child(4),
	.site-main .tokucho ul li:nth-child(5),
	.site-main .tokucho ul li:nth-child(6){
		border-top: 1px solid #ccc;
	}
}

.site-main .gakunen ul li a,
.site-main .tokucho ul li a{
	display: flex;
    background: #fff;
    padding: 4px 10px;
    border: 1px solid;
    border-radius: 5px;
	transition: 0.3s;
}

@media screen and (max-width: 640px){
	.site-main .gakunen ul li a,
	.site-main .tokucho ul li a{
		display: block;
    	padding: 3px;
    	border: none;
    	border-radius: 0;
	}
}

.site-main .gakunen ul li a span,
.site-main .tokucho ul li a span{
    font-size: 14px;
	padding: 2px 0;
	line-height: 20px;
}

@media screen and (max-width: 640px){
	.site-main .gakunen ul li a span,
	.site-main .tokucho ul li a span{
		display: block;
		position: relative;
		font-size: 14px;
    	line-height: 14px;
   		color: #177e59;
    	padding: 8px 5px;
	}
	
	.site-main .gakunen ul li a span::before,
	.site-main .tokucho ul li a span::after{
		content: "";
    	position: absolute;
    	top: 10px;
    	right: 5px;
    	width: 10px;
    	height: 10px;
    	border-top: 2px solid #32ab7f;
    	border-right: 2px solid #32ab7f;
    	-webkit-transform: rotate(45deg);
    	transform: rotate(45deg);
	}
}

@media screen and (max-width: 400px){
	.site-main .gakunen ul li a span,
	.site-main .tokucho ul li a span{
		font-size: 12px;
    	line-height: 12px;
	}
}

.site-main .gakunen ul li a{
	color: #1e996c;
	border-color: #ade1ce;
}

@media screen and (min-width: 641px){
	.site-main .gakunen ul li a:hover{
		color: #fff;
		background: #32ab7f;
		transition: 0.3s;
	}
}

.site-main .tokucho ul li a{
	color: #cd3b5e;
	border-color: #e7b2bf;
}

@media screen and (min-width: 641px){
	.site-main .tokucho ul li a:hover{
		color: #fff;
		background: #e36a87;
		transition: 0.3s;
	}
}

@media screen and (min-width: 820px){
	.site-main .gakunen ul li a,
	.site-main .tokucho ul li a{
		display: flex;
		position: relative;
		padding: 4px 10px 4px 36px;
	}
	
	.site-main .gakunen ul li a span::before,
	.site-main .tokucho ul li a span::before{
		content:"";
		position: absolute;
		width: 20px;
		height: 20px;
		top: calc(50% - 11px);
		left: 10px;
		background-size: contain;
		background-repeat: no-repeat;
	}
	
	.site-main .gakunen ul li a span::before{
		background-image: url(/img/flower1.svg);
	}
	
	.site-main .tokucho ul li a span::before{
		background-image: url(/img/flower2.svg);
	}
	
	.site-main .gakunen ul li a:hover span::before,
	.site-main .tokucho ul li a:hover span::before{
		background-image: url(/img/flower3.svg);
		transition: 0.3s;
	}
}

/* 都道府県から探す */
.map {
	position: relative;
	width: 500px;
    height: 500px;
	margin: auto;
    background: url(/img/map.png);
    background-size: contain;
    background-repeat: no-repeat;
}

.map p {
    width: 320px;
    position: absolute;
    font-family: "ヒラギノ明朝 ProN W6", "HiraMinProN-W6", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝", serif;
    font-size: 24px;
    font-weight: 600;
    color: #0d5083;
    text-align: left;
    top: 50px;
}

.map ul{
	display: flex;
	position: absolute;
	width: 120px;
	flex-wrap: wrap;
	background: rgba(255, 255, 255, 0.8);
	border: 1px solid #000;
	border-radius: 5px;
	box-shadow: 0 0 2px #fff, 0 0 3px #fff, 0 0 4px #fff, 0 0 5px #fff;
	overflow: hidden;
}

.map ul li a {
    display: block;
    font-size: 14px;
	font-weight: 600;
    text-align: center;
	padding: 2px;
	transition: 0.3s;
}

.map ul li a:hover{
	color: #fff;
	transition: 0.3s;
}

.map ul li {
    width: 50%;
}

.map ul.mp1 {
    right: 0;
    top: 70px;
	border-color: #4388D3;
}

.map ul.mp1 li a:hover{
	background: #4388D3;
}

.map ul.mp2 {
    right: 20px;
    top: 180px;
	border-color: #4388D3;
}

.map ul.mp2 li a:hover{
	background: #4388D3;
}

.map ul.mp3 {
    right: 20px;
    bottom: 120px;
	border-color: #31BECA;
}

.map ul.mp3 li a:hover{
	background: #31BECA;
}

.map ul.mp4 {
    right: 100px;
    top: 170px;
	border-color: #4AB969;
}

.map ul.mp4 li a:hover{
	background: #4AB969;
}

.map ul.mp5 {
    right: 105px;
    bottom: 50px;
	border-color: #4AB969;
}

.map ul.mp5 li a:hover{
	background: #4AB969;
}

.map ul.mp6 {
    right: 170px;
    bottom: 120px;
	border-color: #B0B72F;
}

.map ul.mp6 li a:hover{
	background: #B0B72F;
}

.map ul.mp7 {
    left: 70px;
    bottom: 160px;
	border-color: #EF9F27;
}

.map ul.mp7 li a:hover{
	background: #EF9F27;
}

.map ul.mp8 {
    left: 130px;
    bottom: 40px;
	border-color: #d08f68;
}

.map ul.mp8 li a:hover{
	background: #d08f68;
}

.map ul.mp9 {
    left: 0;
    bottom: 20px;
	border-color: #FF7575;
}

.map ul.mp9 li a:hover{
	background: #FF7575;
}

/* スマホ用エリアアコーディオン */
.site-main .spmap {
    width: 100%;
	margin: 10px 0 0;
}

.site-main .spmap a.spmap_open {
    display: block;
	position: relative;
    margin: 0;
    background: #52a7dd;
	transition: 0.3s;
}

.site-main .spmap a.spmap_open::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 50%;
    background: #3a99d5;
}

.site-main .spmap a.spmap_open h2{
	position: relative;
	font-size: 16px;
    font-weight: 600;
    text-align: left;
	color: #fff;
	margin: 0;
	padding: 10px 10px 10px 25px;
	z-index: 1;
	transition: 0.3s;
}

.site-main .spmap a.spmap_open h2::before{
	content: "▼";
    position: absolute;
    left: 5px;
    top: 10px;
    font-size: 16px;
    color: #fff;
	transition: 0.3s;
}

.site-main .spmap a.spmap_open.on h2{
	background: #2f7ac6;
	transition: 0.3s;
}

.site-main .spmap a.spmap_open.on h2::before{
	content: "▲";
	transition: 0.3s;
}

.maplist{
	display: none;
}

.mapmenu__item {
	background: #eaf7ff;
	color: #fff;
	cursor: pointer;
	display: block;
	margin-bottom: 1px;
}

.mapmenu__item:last-child {
	margin-bottom: 0;
}

.mapmenu__item__link {
	display: block;
	font-size: 16px;
    font-weight: 600;
	color: #0d5083;
	padding: 5px 5px 5px 25px;
	line-height: 26px;
	position: relative;
	transition: 0.3s;
}

.mapmenu__item__link::before {
    content: "";
    position: absolute;
    left: 7px;
    width: 12px;
    height: 12px;
    margin: 7px 0;
    background: #9fb7cf;
    border-radius: 100%;
	transition: 0.3s;
}

.mapmenu__item__link:after {
	content: '\f067';
	display: block;
	font-family: "Font Awesome 5 Free";
	color: #0d5083;
	line-height: 36px;
	position: absolute;
	right: 0;
	text-align: center;
	top: 0;
	width: 36px;
}

.mapmenu__item__link.on{
	color: #fff;
	background: #52a7dd;
	transition: 0.3s;
}

.mapmenu__item__link.on:after {
	content: '\f068';
	color: #fff;
}

.mapmenu__item__link.on::before {
	background: #fff;
}
 
.submapmenu {
	display: none;
	background: #fff;
	padding: 3px;
}

.submapmenu__item {
	width: 25%;
    float: left;
	color: #222;
	text-align: center;
	padding: 1px;
}

.submapmenu__item a {
	display: block;
	color: #52a7dd;
    padding: 0 3px;
	border: 1px solid #52a7dd;
    border-radius: 5px;
}