@charset "utf-8";
/* CSS Document */

#main img{
	padding:5px 5px 10px 5px;
}

img.left {
	float:left;
}
img.right{
	float:right;
}
img.star{
	width: 18px;
}
img.arrow{
	width: 15px;
  margin: 2px 0 0 -5px;
}

ul.student {
	display: flex;
	justify-content: center;
	margin-right: 10px;
}
ul.two li {
	width: calc(75% / 2 - 15px * 2);
	margin: 5px 15px -5px;
}
ul.three li {
	width: calc(97% / 3 - 3px * 2);
	margin: 5px 3px -5px;
}
ul.student li img{
	width: 100%;
}

#main h2 img{
}

#main h2 {
	text-align: center;
}
h3{
	font-size: 18px;
	font-weight:bold;
	line-height: 28px;
	margin-bottom:5px;
}

#main h4{
	font-size: 15px;
	padding-left: 15px;
	margin-bottom: 5px;
	color: #888;
}

p.coution{
	font-size: 11px;
	color: #0033dd;
	margin: -5px 10px;
	text-align: center;
}
p.text{
	line-height: 22px;
}

p.name{
	color: #888;
  text-align: right;
  font-size: 12px;
	margin: 5ÃŸpx 0 10px;
}

section {
	margin-top: 20px;
}

#main #primary{
	background: url(../images/voice_line_green.jpg) repeat-x 0 100%;
}

#main #r_primary{
	background: url(../images/voice_line_green.jpg) repeat-x 0 100%;
}

#main #r_junior{
	background: url(../images/voice_line_blue.jpg) repeat-x 0 100%;
}

#main #r_general{
	background: url(../images/voice_line_red.jpg) repeat-x 0 100%;
}

.sectionBorder {
	margin: 0 0 0px 0;
	padding: 10px 10px 25px;
	min-height:1px;
	opacity:0;
	transition: all 1.5s;
}

h3.guide{
	font-size: 13px;
	font-weight: bold;
	height: 33px;
	padding: 0 25px 0 3px;
	letter-spacing: 0.5px;
	color: #555;
	position: relative;
	line-height: 16px;
	display: flex;
	align-items: center;
}
h3.guide:after{
	content: "";
	position: absolute;
	right: 10px;
	top: 10px;
	width: 5px;
	height: 5px;
	border: 1px solid;
	border-color: transparent transparent #565656 #565656;
	transform: rotate(-135deg);
	display: flex;
	transition: all 0.5s;
}

/* アコーディオン */
.accbox {
    margin: 10px 10px 20px;
    max-width: 100%;
    border-bottom: 1px solid #666;
}

/* アコーディオンラベル */
.accbox label {
    display: block;
    margin: 0 0 -1px;
    padding: 10px 0 3px;
    color: #000;
    cursor: pointer;
    border-top: 1px solid #888;
}


/* チェックは隠す */
.accbox input {
	display: none;
}

/* 中身を非表示にしておく */
.accbox .accshow {
	height: 0;
	padding: 0;
	overflow: hidden;
	opacity: 0;
	border-top: 1px solid #ccc;
}

/* クリックで中身表示 */
.cssacc:checked + label + .accshow {
    height: auto;
    opacity: 1;
    line-height: 22px;
}
/* 矢印を下向きに */
.cssacc:checked + label h3.guide:after{
	transform: rotate(-45deg);
}

/* 中身をふわりと表示 */
.cssacc:checked + label + .accshow .sectionBorder {
	opacity: 1;
}
