@charset "utf-8";
/* CSS Document */

#contents h1{
	background-color:#3ac8f7;
	color:#FFF;
	border-top-left-radius:30px;
	border-top-right-radius:30px;
	line-height:70px;
	position:relative;
	padding:10px;
	padding-left:90px;
}
#contents h1:before{
	content:url(data/tokusyu.png);
	position:absolute;
	left:10px;
}


#contents h2{
	color:#02BBEA; 
	border-bottom:#02BBEA solid 3px; 
	display:block; 
}
@media screen and ( max-width:1023px) {
#contents h1{
	font-size:1.5em;
}
}

@media screen and (min-width:0px) and ( max-width:750px) {
#contents h1{
	font-size:1.2em;
	line-height:35px;
}
#contents h2{
	font-size:1.2em;
}
}



#problem .FL{
	width:43%;
	min-height:150px;
	position:relative;
}
#problem .FL img{
	position:absolute;
	left:0;
	top:0;
}
#problem .FL p{
	left:90px;
}
#problem .FL p span{
	color:#02BBEA;
	font-weight:bold;
}


#problem .FR{
	width:54%;
	background-color:#C8F4FF;
	padding:20px;
	border-radius:10px;
	box-sizing:border-box;
}

#problem .FR h3{
	font-size:24px;
	border-left:#02BBEA solid 10px;
	padding-left:10px;
	display:block;
	margin:0;
}

#problem .FR .exp{
	position:relative;
	min-height:200px;
	margin-top:10px;
}

#problem .FR .exp p{
	left:120px;
}

#problem .FL p,
#problem .FR .exp p{
	right:0;
	position:absolute;
	top:50%;
	font-size:14px;
	margin:0;
	
	-webkit-transform: translate(0,-50%);
	-moz-transform: translate(0,-50%);
	-ms-transform: translate(0,-50%);
	-o-transform: translate(0,-50%);
	transform: translate(0,-50%);
}

#problem .FR .exp p span{
	background-color:#000;
	font-size:16px;
	padding:0.3em 0.5em;
	color:#FFF;
	font-weight:bold;
	margin-right:0.5em;
	margin-bottom:0.5em;
	display:inline-block;
}

@media screen and ( max-width:1023px) {
#problem .FL,
#problem .FR{
	width:100%;
	float:none;
}
#problem .FR{
	margin-top:10px;
}

}

@media screen and (min-width:0px) and ( max-width:750px) {
#problem .FR{
	padding:10px;
}
#problem .FR .exp img{
	position:absolute;
	top:0;
	left:0;
	width:90px;
	height:auto;
}

#problem .FR .exp p{	
	position:static;
	padding-left:100px;
	left:0;
	top:0;
	
	-webkit-transform: translate(0,0);
	-moz-transform: translate(0,0);
	-ms-transform: translate(0,0);
	-o-transform: translate(0,0);
	transform: translate(0,0);
}

}




/*************************************/

a.lineup{
	float:left;
	display:block;
	text-decoration:none;
	border-radius:20px;
	padding-top:10px;
	margin-top:2%;
}
a.lineup > img{
	margin:auto;
	display:block;
}




a.lineup div.exp{
	border-radius:20px;
	border-width:4px;
	border-style:solid;
	padding:10px;
	position:relative;
	margin-top:16px;
}

a.pink div.exp{
	border-color:#FADBD9;
}

a.special div.exp{
	border-color:#dcdddd;
}

a.red div.exp{
	border-color:#F4B3C1;
}

a.yellow div.exp{
	border-color:#FFE67A;
}

a.blue div.exp{
	border-color:#D3ECFB;
}


a.lineup div.exp .icon{
	position:absolute;
	height:28px;
	right:0;
	top:-16px;
	right:10px;
}
a.lineup div.exp h4{
	color:#B81C22; 
	font-size:16px;
	margin:0;
}
a.lineup div.exp p{
	font-size:14px;
	margin:0;
	color:#000;
	line-height:1.5em;
}

a.lineup:hover{
	-webkit-transition: 0.7s ease-in-out;
	-moz-transition: 0.7s ease-in-out;
	-o-transition: 0.7s ease-in-out;
	transition: 0.7s ease-in-out;
}
a.pink:hover{
	background-color:#FADBD9;
}

a.special:hover{
	background-color:#dcdddd;
}

a.red:hover{
	background-color:#F4B3C1;
}

a.yellow:hover{
	background-color:#FFE67A;
}

a.blue:hover{
	background-color:#D3ECFB;
}


a.w1,
a.w2,
a.w3
{
	width:32%;
	margin-right:2%;
	margin-top:0;
}

a.w4{
    width:32%;
	margin-right:2%;
    margin-top: 14px;
}

a.w4,
a.w5,
a.w6,
a.w7,
a.w8,
a.w9,
a.w10,
a.w11,
a.w12{
	width:23.5%;
	margin-right:2%;
}

a.w3,
a.w7,
a.w11{
	margin-right:0;
}

/*a.w4 p,*/
a.w5 p,
a.w6 p,
a.w7 p{
	height:6em;
}

a.w8 p,
a.w9 p,
a.w10 p,
a.w11 p,
a.w12 p{
	height:4.5em;
}

@media screen and ( max-width:1023px) {
a.w1,
a.w2,
a.w3,
a.w4,
a.w5,
a.w6,
a.w7,
a.w8,
a.w9,
a.w10,
a.w11,
a.w12{
	width:49%;
	margin-right:2%;
}
a.w2,
a.w4,
a.w6,
a.w8,
a.w10
a.w12{
	margin-right:0;
}
a.w3{
	margin-top:2%;
}

a.w4 p,
a.w5 p,
a.w6 p,
a.w7 p,
a.w8 p,
a.w9 p,
a.w10 p,
a.w11 p{
	height:3em;
}



}

@media screen and (min-width:0px) and ( max-width:750px) {
a.lineup{
	width:100%;
	margin-right:0%;
	margin-top:40px;
}
a.w1{
	margin-top:0;
}

a.lineup:after {
     content:".";
     display: block;
     height: 0;
     clear: both;
     visibility: hidden;
}

a.lineup > img{
	float:left;
	width:auto;
	height:auto;
	max-width:28%;
	max-height:150px;
	height:auto;
}
a.lineup div.exp{
	float:right;
	width:70%;
	box-sizing:border-box;
	margin:0;
}
a.lineup div.exp p{
	height:auto;
}

}



/**************************/

#contents hr{
	border:0;
	border-bottom:#02BBEA dashed 1px;
	margin:50px 0;
}

p.annai{
	text-align:right;
}
p.annai a{
	color:#02BBEA;
	font-weight:bold;
}