@import url(common.css);


* {
	-webkit-backface-visibility:visible;
	backface-visibility: visible;
}

body {
	background-image: url('../img/bg_body.png');
	background-position: center top;
	background-repeat:  no-repeat;
	background-size: contain;
}

p.lead{
	font-size: 14px;
	line-height:2.5;
	margin: 20px 0 40px 0;
}

a {
	color: #333;
	}

/* searchArea */
ul.tabnav { 
	position: relative;
	bottom: -1px;
	max-width: 650px;
	margin: 0 auto;
	display: flex;
}

ul.tabnav li:not(:last-child) {
	margin: 0 10px 0 0;
}

.filter{
	background-color: #fff;
	border: solid 1px #d4d4d4;
	max-width: 900px;
	margin: 0 auto;
}

.filter dl {
	padding: 20px 20px 10px 20px;
	display: flex;
}

.filter dl+dl {
	border-top: dotted 1px #d3d3d3;	
}

.filter dl dd {
	flex: 1;	
}

.filter dl li {
	margin: 0 0 10px 10px;
}

.filter dl ul {
	display: flex;
	flex-wrap: wrap;
}

.filter input[type=checkbox] {
	display: none;
}

input:checked+span:before {
	display: block;
	position: relative;
	height: 45px;
	margin-bottom: -45px;
}

input[name=subjectall]:checked+span:before {    content: url(../img/bt_all_o.png);}
input[name=math]:checked+span:before {    content: url(../img/bt_math_o.png);}
input[name=mathj]:checked+span:before {    content: url(../img/bt_math_j_o.png);}
input[name=science]:checked+span:before {    content: url(../img/bt_science_o.png);}
input[name=english]:checked+span:before {    content: url(../img/bt_english_o.png);}
input[name=multilingual]:checked+span:before {    content: url(../img/bt_multilingual_o.png);}
input[name=gradeall]:checked+span:before {    content: url(../img/bt_all_o.png);}
input[name=grade1]:checked+span:before {    content: url(../img/bt_1_o.png);}
input[name=grade2]:checked+span:before {    content: url(../img/bt_2_o.png);}
input[name=grade3]:checked+span:before {    content: url(../img/bt_3_o.png);}
input[name=grade4]:checked+span:before {    content: url(../img/bt_4_o.png);}
input[name=grade5]:checked+span:before {    content: url(../img/bt_5_o.png);}
input[name=grade6]:checked+span:before {    content: url(../img/bt_6_o.png);}
input[name=gradeteacher]:checked+span:before {    content: url(../img/bt_teacher_o.png);}

ul.textbook>li {
	display: none;
	transition: 0.5s;
} 
ul.textbook>li.active {
	display: block;
}


.purchase {
	text-align: center;
	font-size: 1.6rem;
	margin-top: 20px;
	margin-bottom: 20px;
}

/* SP ======================================*/
@media only screen and (max-width:749px) {
/*==========================================*/
	.filter dl {
		display: block;
		padding: 10px;
	}
	.filter ul {
		margin: 10px 0 0 -10px;
		zoom: 0.7;
	}
}



/* PRINT ======================================*/
@media print {
/*==========================================*/

	body {
		zoom: 0.8;
	}
}
