/*----------ヘッダープルダウン--------------*/
.menu {
	list-style-type:none;
}
.menu > li {
	display:inline-block;
	
	position:relative;
}
.menu > li > ul {
	display:none;
}
.menu > li:hover ul {
	display:block;
	position:absolute;
	padding:0;
	margin:0;
	top:1.5em;
	left:0;
	list-style-type:none;
}
.menu_nowrap {
	white-space: nowrap;
	padding-top: 10px;
	background-color: #fff;
	padding: 10px;
	padding: 20px 10px 0 10px;
}
.menu_nowrap_2 {
	padding-bottom:25px;
	padding-top:20px;
}

/*----------メインコンテンツ--------------*/
.boder-box-new {
	border:unset;
}

.school_list {
	display: flex;
    justify-content: space-between;
    padding: 0;
    flex-wrap: wrap;
    margin-bottom: 140px;
}
.school_item {
	list-style: none;
    width: 48%;
	position: relative;
}
.school_item img {
	width: 100%;
}
.school_box {
	position: absolute;
    top: 90%;
    left: 50%;
	width:90%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}
.school_box h3 {
	        font-weight: bold;
    color: #fff;
    text-align: center;
    margin-bottom: 20px;
    /* text-shadow: #2387bb 1px 1px 10px, #2387bb -1px 1px 10px, #2387bb 1px 1px 10px, #2387bb -1px 1px 10px, #2387bb 1px 1px 10px, #2387bb -1px 1px 10px, #2387bb 1px -1px 10px, #2387bb -1px -1px 10px; */
    background-color: rgba(35,135,187,0.9);
    width: 70%;
    margin: auto;
    padding: 5px 0 8px 0;
    border-radius: 5px;
}
.school_box p {
	padding: 0.5em 1em;
    margin: 2em 0;
    color: #18284d;
    background: #fff;
    border-bottom: solid 6px #18284d;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25);
    border-radius: 3px;
	height: 230px;
}
.title_main_new {
	font-size: 18px!important;
	text-align: center;
}
.boder-t3-center {
	text-align: center;
}
.school_text_center {
	text-align: center;
    display: inline-block;
}
.school_btn_inner {
	display: flex;
	justify-content: space-between;
	margin-top: -30px;
}
.school_btn_inner_left {
	width:48%;
	text-align: center;
	display: flex;
    justify-content: space-around;
}
.school_btn_inner_right {
	width:48%;
	text-align: center;
	display: flex;
    justify-content: space-around;
}
.school_btn_inner_left a {
	    border: 1px solid #007bff;
    padding: 10px;
	border-radius: 5px;
}
.school_btn_inner_right a{
	    border: 1px solid #007bff;
    padding: 10px;
	border-radius: 5px;
}
.school_btn_inner_sp {
	display: none;
}
.school_box a {
	color: #fff;
    background-color: rgba(35,135,187,0.9);
    padding: 5px;
	border-radius: 3px;
}
.school_link_01 {
	margin-left: 55px;
    margin-right: 20px;
}
.school_box a:hover {
	opacity: 0.6;
}

@media screen and (max-width: 1200px) {
	.school_box p {
		height: 260px;
	}
	.school_link_01 {
    margin-left: 20px;
    margin-right: 20px;
}
	
}
@media screen and (max-width: 1000px) {
	.school_box p {
		height: 270px;
	}
}


@media screen and (max-width: 767px) {
	
	.school_list {
    display: block;
}
.school_item {
   
    width: auto;
   margin-bottom: 270px;
}
	.school_box {
    position: absolute;
    top: 130%;
    left: 50%;
    width: 90%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}
	.school_box p {
		height: 330px!important;
	}
	.school_btn_inner {
		display: none;
	}
	.school_btn_inner_sp {
	    display: block;
    margin-top: -20px;
    margin-bottom: 30px;
	}
	.school_btn_inner_left {
		    width: auto;
    text-align: center;
    display: flex;
    justify-content: space-around;
	}
	.school_btn_inner_left a {
		    border: 1px solid #007bff;
    padding: 2px;
    border-radius: 5px;
	}
	.school_box h3 {
		width: 90%;
	}
	.school_box a {
    font-size: 12px;
}
	.school_link_01 {
    margin-left: 0px;
    margin-right: 0px;
}
	.school_list {
		margin-bottom: 310px;
	}
	
	
}