@charset "utf-8";

#syugaku p a{
padding: 0;
display: table;
margin-left: auto;
margin-right: auto;
}


#syugaku .in_line{display: inline;}





.morinfo	{
background-color: #f63a00;
padding: 5px 13px;
color: #fff !important;
margin-left: 1.5rem !important;
}
.movie-wrap {
position: relative;
padding-bottom: 56.25%; /*比 16:9*/
height: 0;
overflow: hidden;
margin-bottom: 20px;
}

.movie-wrap iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}

.yt-ttl{
margin: 0 0 5px;
font-size: 0.85em;
font-weight: bold;
}



.sub_back{
    margin: 3em 0 0 0 !important;
    background-color: #2fb0df;
    text-align: center;
}



article {
margin-bottom:2em;
}

a {
color:#FF4500;
text-decoration:underline;
}

p {
color: #333;
font-size:16px;
font-family:sans-serif; 
}

table.conditions {
border-collapse: collapse;
width: 100%;
}

table.conditions, .conditions td, .conditions th {
border: 1px #666 solid;
}

table.conditions p {
color: #333;
font-size:16px;
font-family:sans-serif; 
font-weight:bold;
padding:0;
margin:0;
line-height:1.25em;
}

table td.title {
background-color:#666;
text-align:center;
}
table td {
background-color:#fff;
}

table td.title p {
color:#FFF;
font-weight:normal;
}

table.conditions td {
padding:0.4em;
}

td.basic {
white-space: nowrap;
}

table.conditions p.small {
font-size:12px;
}

article#contents1 {
padding:3%;
background-color:#EDFAFB;
margin-bottom:0;
}

article#contents2 {
padding:3%;
background-color:#FFF4F9;
margin-bottom:0;
}

p.pink {
/* color:#FF527F; */
font-size:20px;
font-weight:bold;
line-height:1.5em;
}

p.blue {
color:#4A86C4;
font-size:20px;
font-weight:bold;
line-height:1.5em;
}

.indent-3 {
color: #666;
font-size:12px;
padding-left:3em;
text-indent:-3em;
}

.boxContainer {
width:100%;
display: flex;
}


#message .left {
width:60%;
}

#message .right {
width:40%;
text-align:right;
}

#message .left table {
width:100%;
margin-top:16px;
}

p.overview {
color:#FFF;
font-weight:bold;
font-size: 1.6em;
margin:2em 0 0 0;
background-color:#2fb0df;
padding:0.5em;
text-align:center;
}

.ftbg_blue {
background-color:#1e6ab6;
}

.ftbg_pink {
background-color:#e95425;
}


.details,
#supplement{
max-width: 750px;
width: 100%;
margin-left: auto;
margin-right: auto;
float: none;
overflow: hidden;																		
}

#contents1.left {
width:100%;
padding: 2%;
}

#contents2.right {
width:100%;
padding: 2%;
}

#simulation {
width:100%;
text-align:center;
float: left;
}

#simulation p.title {
color:#FFF;
font-weight:bold;
font-size:3em;
margin:3em 0 0 0;
background-image: url("http://mydreams.jp/wp/wp-content/uploads/2019/09/syugakushien_simulation-bg.png");
padding:0.5em;
margin-bottom:20px;
text-align:center;
}

p.title span.name {
color:yellow;
}

p.title span.small {
font-size:80%;
}

.indent-3.pc-only {
font-size:16px;
}


img {
max-width: 100%;
vertical-align: bottom;
}

.all_box{
margin-bottom: 50px;
}

.common_school{
font-size: 18px;
color: #fff;
padding: 10px!important;
line-height: 120%;
margin: 0;
}

.common_subject{
font-size: 16px;
font-weight: bold;
padding: 20px 0 5px 0!important;
margin:0;
line-height: 120%;
}

.subject_box{
list-style: none;
margin-bottom: 60px;
width: 100%;
}

/*menu*/
#school_menu{
margin-top: 10%;
}

.menu_subject {
list-style: none;
margin: 10px 15px 30px 15px;
}

.menu_subject li {
margin: 10px 0;
}

.menu_subject li a {
font-size: 16px;
vertical-align: middle;
height: 34px;
color: #FF007F
}

.menu_subject i{
padding-right: 5px;
}



.hosp_subject{
color: #EF959E;
}


.cups_sucr{
display: block;
overflow: hidden;
float: left;
width: 100%;
margin-bottom: 4em;
margin-top: 3em;
}

.cups_sucr p {
font-size: 2.5rem;
background-color: #f30134;
color: #fff;
line-height: 1em;
padding: 15px !important;
}

.setai_ttl {
font-size: 2.5rem !important;
background-color: #f30134;
color: #fff !important;
line-height: 1em !important;
padding: 15px 0 !important;
text-align: center;
width: 100%;
}

.cups_sucr img{
display: table;
margin: 0 auto;
}

.fl_box{
float: left;
}



#contents1 p,
#contents2 p{
	margin: 0 0 2.5rem;
}



@media screen and (max-width: 810px){

p.pink {margin: 2% 0 3%;}
#supplement .indent-3{margin: 2% 0 3% !important;}
table.conditions {width: 100%;}


.boxContainer {
display: block;
}




#contents1.left,
#contents2.right {
padding: 3%;
}

}




@media screen and (max-width: 768px){
.yt-ttl {
font-size: 1em;
text-align: center;
}
.movie-wrap {
position: relative;
padding-bottom: 52.95%;
height: 0;
overflow: hidden;
margin-bottom: 20px;
margin-right: 10px;
margin-left: 10px;
}
}




@media screen and (max-width: 640px){
	p.pink {
		font-size: 18px;
	}
}



