@charset "utf-8";

/*
 ------------------------------

 ◆creation date: 14/12/01
 ・16/12/08：レスポンシブ対応

 ----------------------------- */


#voice {
	font-size:14px;
}



/*-- 生徒の声-------------------------*/

#voice #student,
#voice #parent {
	margin-bottom:45px;
}

#voice #student dl.cassette,
#voice #parent dl.cassette {
	display:inline-block;
	position:relative;
	width:310px;
	margin-right:5px;
	margin-bottom:10px;
}

#voice #student dl.cassette {
	background-color:#ffddaa;
	height:170px;
}

#voice #parent dl.cassette {
	height:170px;
}

#voice #student dl.cassette dt {
	background-color:#ff9900;
	height:26px;
	font-weight:bold;
	color:#FFFFFF;
	padding:6px 0 0 15px;
}

#voice #student dl.cassette dd p.icon {
	position:absolute;
	top:38px;
	left:10px;
}

#voice #student dl.cassette dd div.fukidashi {
	position:absolute;
	top:10px;
	right:10px;
	/*background:url(/international/theme/switzerland_ryuugaku/ryuugaku/voice/image/151218/bg_fukidashi.png) no-repeat;*/
	background-color:#fff;
	border-radius:5px;
	width:220px;
	height:150px;
}

#voice #student dl.cassette dd div.fukidashi p,
#voice #parent dl.cassette dd div.fukidashi p {
	padding:6px 9px 9px 9px;
	line-height:145%;
}



/*-- 父兄の声-------------------------*/


#voice #parent dl.cassette {
	background-color:#cbeafe;
}

#voice #parent dl.cassette dt {
	background-color:#3385d7;
	height:26px;
	font-weight:bold;
	color:#FFFFFF;
	padding:6px 0 0 20px;
}

#voice #parent dl.cassette dd p.icon {
	position:absolute;
	top:38px;
	left:15px;
}

#voice #parent dl.cassette dd div.fukidashi {
	position:absolute;
	top:10px;
	right:10px;
	background-color:#fff;
	border-radius:5px;
	width:220px;
	height:150px;
}




/*-- clearFIX -------------------------*/


#voice .voice-block:after {
	content: ".";
	visibility: hidden;
	display: block;
	clear: both;
	height: 1px;
}

* html #voice .voice-block {
	zoom:1;
}/* IE6 */

*:first-child+html #voice .voice-block {
	zoom:1;
}/* IE7 */




/*-- マージン -------------------------*/
#voice #student dl.cassette:nth-child(3n),
#voice #parent dl.cassette:nth-child(3n) {
	margin-right:0;
}

#voice #student .ie8,
#voice #parent .ie8 {
	margin-right:0\9 !important;
}



@media screen and (max-width: 950px) {
	#voice #student dl.cassette {
		width:49%;
		height:170px;
		margin-right:1%;
	}
	
	#voice #student dl.cassette dd div.fukidashi {
		position:absolute;
		top:10px;
		left:82px;
		background-color:#fff;
		border-radius:5px;
		height:150px;
		width:auto !important;
	}
	
	#voice #student dl.cassette dd div.fukidashi p,
	#voice #parent dl.cassette dd div.fukidashi p {
		padding:2%;
	}
	
	#voice #parent dl.cassette {
		width:49%;
		margin-right:1%;
	}
	
	#voice #student dl.cassette:nth-child(2n+1),
	#voice #parent dl.cassette:nth-child(2n+1) {
		margin-right:1%;
	}

	#voice #student dl.cassette:nth-child(2n),
	#voice #parent dl.cassette:nth-child(2n) {
		margin-right:0;
	}
	
	#voice #parent dl.cassette dd div.fukidashi {
		position:absolute;
		top:10px;
		left:87px;
		width:auto !important;
		height:150px;
	}
}


@media screen and (max-width: 640px) {
	#voice #student dl.cassette {
		width:100%;
		min-height:170px;
		margin-right:0;
		margin-bottom:2%;
	}
	
	#voice #parent dl.cassette {
		width:100%;
		min-height:150px;
		margin-right:0;
		margin-bottom:2%;
	}
	
	#voice #student dl.cassette:nth-child(3),
	#voice #parent dl.cassette:nth-child(3) {
		margin-right:0;
	}
	
	#voice #student dl.cassette dd div.fukidashi {
		position:absolute;
		top:10px;
		left:82px;
		min-height:100px;
	}
	
	#voice #parent dl.cassette dd div.fukidashi {
		position:absolute;
		top:10px;
		left:87px;
		min-height:110px;
	}
}

