@charset "utf-8";
/* CSS Document */
.top{
	width: 100%;
	height: auto;
	position: relative;
	margin-bottom:20px;
	text-align:center;
}
.top h2 img{
	max-width:100%;
	height:auto;
}


.Text{
	margin-bottom:10px;
}

.tabBox {
	margin-bottom: 20px;
	text-align: center;
	margin-top: 20px;
	margin-right: 0px;
	margin-left: 0px;
}

.BoxBig {
	background-color: #F06292;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	margin-top: 15px;
	padding: 7px;
}

.BoxS {
	background-color: #FFFFFF;
	/*padding: 2px;*/
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}

.BoxSS {
	/*border: 1px solid #e5030a;*/
	padding: 10px;
	display:flex;
	flex-direction:column;
}
.schoolBoxS .BoxSS {
	display:inherit;
}

.BoxSS h3 {
	margin-bottom: 20px;
	padding-bottom: 10px;
	padding-left: 10px;
	border-bottom-width: 2px;
	border-bottom-style: solid;
	border-bottom-color: #e5030a;
	font-size: 20px;
	font-weight: bold;
	color: #E5030A;
	background-image: url(/special/nisseki2025/images/icon.gif);
	background-repeat: no-repeat;
	padding-left: 33px;
	order:1;
}
.BoxSS h4 {
	color: #F06292;
	/* border-bottom-width: 1px; */
	/* border-bottom-style: solid; */
	/* border-bottom-color: #006daa; */
	margin-bottom: 15px;
	font-size: 16px;
	font-weight: bold;
	order:2;
}
.schoolBoxS .BoxSS h4 {
	color: #F06292;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #F06292;
	margin-bottom: 15px;
	font-size: 16px;
	font-weight: bold;
}

.nisseki_text{
	margin-bottom:20px;
	order:3;
}
.imgbox {
	display:flex;
	flex-direction:column;
	align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #666666;
    margin-bottom:20px;
	order:4;
}
.imgbox img{
	margin-bottom:5px;
	max-width:300px;
}

.BoxSS_2 {
	counter-reset: number 0;
}
.BoxSS_2 h4{
	position: relative;
	padding-left: calc(28px + 10px);
	padding-top: 4px;
}
.BoxSS_2 h4::before {
	counter-increment: number 1;
    content: counter(number) " ";
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    margin-right: 10px;
    width: 28px;
    height: 28px;
    color: #fff;
	font-size: 16px;
    font-weight: 700;
    /*line-height: 1;*/
    background-color: #F06292;
    border: 1px solid #F06292;
    border-radius: 100%;
}

.BoxSS .BoxSS_3 {
	display:flex;
	flex-direction:column;
	order: 3;
}
.BoxSS .BoxSS_3 .nisseki_text{
	order:1;
}
.BoxSS .BoxSS_3 .pass_rate{
	order:2;
	background-color:#FCE4EC;
	font-size: 16px;
	font-weight: 700;
	/* width:300px; */
	margin: 0 20px 20px;
	padding: 20px;
	display:flex;
	flex-direction: column;
	justify-content: center;
	box-sizing:border-box;
	text-align: center;
	line-height: 2;
}
.BoxSS .BoxSS_3 .pass_rate span:nth-of-type(1){
	font-size: 24px;
}
.BoxSS .BoxSS_3 .pass_rate span:nth-of-type(2){
	font-size: 24px;
	color:#E91E63;
}
.BoxSS .BoxSS_3 .pass_rate span:nth-of-type(3){

}

.Box_contact{
	display: flex;
    flex-direction: column;
}
.Box_contact h4{
	position: relative;
    padding-left: 18px;
	order:1;
}
.Box_contact h4::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: #F06292;
    border-radius: 5px;
}
.Box_contact .nisseki_text{
	order:2;
}
.Box_contact .nisseki_link{
	order:3;
	position: relative;
    padding-left: 16px;
	margin-bottom: 10px;
}
.Box_contact .nisseki_link::before {
    content: "";
    position: absolute;
    top: 6px;
    left: 0;
    border-top: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 6px solid #aab2bd;
}
.Box_contact img{
	display:block;
	text-align:center;
	margin:10px auto;
}

.imgboxR {
	font-size: 10px;
	color: #666666;
	text-align: center;
	padding-bottom: 15px;
}

.imgboxL {
	font-size: 10px;
	color: #666666;
	float: left;
	text-align: center;
	padding-bottom: 20px;
	padding-right: 20px;
	width: 106px;
}


span.titleB {
	font-size: 20px;
}

/* 1ページ目
----------------------------------*/
.SSboxIn {
	float: right;
}

p.read {
	font-size: 10px;
	color: #999999;
	text-align: center;
}

.imgBox {
	float: right;
	width: 270px;
	padding-right: 10px;
	padding-left: 15px;
}

.textBox {
	float: right;
	width: 435px;
	height: auto;
}

/* 2ページ目
----------------------------------*/
.schoolBox {
	border: 1px solid #CCCCCC;
	margin-bottom: 10px;
	padding: 10px;
}

.schoolBoxIN2 {
	height: auto;
}

.schoolBoxS .BoxSS h4.schoolTitle {
	border-bottom-width: 1px;
	border-bottom-style: dotted;
	border-bottom-color: #AAB2BD;
	margin-bottom: 10px;
	border-left-width: 7px;
	border-left-style: solid;
	border-left-color: #e5030a;
	padding-left: 5px;
	font-size: 14px;
	font-weight: bold;
	margin-bottom: 5px;
	line-height: 16px;
	margin-top: 5px;
	font-weight: bold;
	padding-bottom: 3px;
	color: #484848;
}

.schoollink {
	background-color: #e8f1f7;
}

.link {
	float: right;
	height: 16px;
	width: 80px;
}

p.school {
	font-size: 10px;
	line-height: 16px;
	background-image: url(/special/nisseki2025/images/school.gif);
	background-repeat: no-repeat;
	background-position: left 2px;
	padding-left: 18px;
	border-bottom-width: 1px;
	border-bottom-style: dashed;
	border-bottom-color: #CCCCCC;
	margin-bottom: 5px;
}
p.text {
	margin-right: 25px;
	margin-left: 10px;
	margin-bottom: 20px;
}

p.heikou {
	color: #006daa;
}
