/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/*reset*/

html {
  height: 100%;
  box-sizing: border-box;
}

body, button {font-family: "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka,"ＭＳ Ｐゴシック", "MS PGothic", sans-serif;}


body {
	background-color: #f0f0f0;
	position: relative;
	min-height: 100%;
}

/*table*/
table {
	border-collapse: collapse;
}

/*header*/
.logo_container {
	background-color: #fff;
	padding: 10px 20px;
}
.logo_image {
	width: 110px;
}
/*header*/
/*wrapper*/
.textbook_wrapper{
	max-width: 900px;
	width: 100%;
	margin: 0 auto;
	padding: 35px 20px;
	margin-top: 30px;
	margin-bottom: 30px;
	background: #fff;
	border-radius: 5px;
	display: block;
}
h1.textbook_title {
	font-size: 28px;
	margin: 0 20px 10px;
	color: #0f6b94;;
	text-align: left;
}
h2.textbook_price {
	font-size: 24px;
	margin: 10px 73px 30px;
	color: #0f6b94;;
	text-align: left;
}
h2.second_title{
	text-align: left;
	margin: 25px 20px 30px;
	font-size: 23px;
	color:#0f6b94;
}
h2.second_title_business_card {
	font-size: 13px;
    color: #777;
    line-height: 20px;
    margin-bottom: 50px;
    padding-left: 3%;
}
h3.prod_price{
	font-size: 20px;
	text-align: center;
	padding-top: 25px;
	padding-bottom: 15px;
}
h3.prod_title{
	font-size: 20px;
	margin: 40px 73px 15px;
	color:#0f6b94;
}
h3 span.h3_price{
	margin-right: 4%;
	margin-left: 20px;
}


/*breadcrumbs*/
.crumb_wrapper{
	margin-bottom: 20px;
	margin-top: -10px;
	font-size: 13px;
	padding-left: 3%;
}
.crumb_wrapper ul li{
	display: inline-block;
	vertical-align: top;
}
.crumb_wrapper ul li:after{
	content:">";
	margin-left: 2px;
	margin-right: 1px;
	color: #000;
}
.crumb_wrapper ul li:last-child:after{
		content: "";
	}
.crumb_wrapper ul li a{
	text-decoration: none;
	color: #000;
}
.crumb_wrapper ul li a.active{
	color: #1597d2;
}
.crumb_wrapper span.active_pro{
	color: #1597d2;
}
.crumb_wrapper span.active{
	text-decoration: underline;
}
.crumb_wrapper ul li a span:hover{
	cursor: pointer;
}

/*breadcrumbs*/


/*title*/
._title {
	font-size: 18px;
	margin: 0 20px 20px;
	color: #1597d2;
	text-align: left;
	font-weight: bold;
}
/*title*/

/*buttons*/
.btn_wrapper{
	width: 100%;
	text-align:center;
	padding-top: 25px
}

.btn_wrapper button {
	width: 25%;
	padding: 10px 0px;
	border-radius: 10px;
	margin:0px 10px;
	border: 1px #ccc solid;
}

.btn_wrapper a{
	text-decoration: none;
}

.btn_wrapper button:hover {
	background:#ffcf00;
	cursor: pointer;
}
.btn_wrapper button.cart{
	background: #A2C1F5;
	border:1px #ccc solid;
}
.btn_wrapper button.cart:hover{
	background-color: #86A7DD;
	cursor: pointer;
}
.btn_wrapper button.to{
	background: #FFF676;
	border:1px #ccc solid;
}
.btn_wrapper button.to:hover{
	background: #FFF34D;
}
.btn_wrapper button.updt{
	background: #DBDBB2;
	border:1px #ccc solid;
	width: 15%;
	padding: 7px 0px;
}
.btn_wrapper button.updt:hover{
	background: #DDDDCD;
}

/*buttons*/

/*error*/
.error_wrapper{
	margin-top: 20px;
	text-align: center;
}

.error_wrapper span{
	color: red;
	font-size: 13px;
}
/*error*/

/*footer*/
.footer_container span{
	font-size: 12px;
}

footer{
  padding: 15px 0px;
  background-color: #fff;
  text-align: center;
}
/*footer*/

/*hr dashed line*/
.dash{
  border: 0 none;
  border-top: 2px dashed #ccc;
  background: none;
  height:0;
}

.comp_txt {
    font-size: 13px;
    color: #777;
    line-height: 20px;
    margin-bottom: 20px;
}
/*hr dashed line*/
@media screen and (max-width: 940px) {
	.textbook_wrapper{
		width: 90%;
	}
}

@media screen and (max-width: 840px) {
	.main_container{
		width:100%;
		margin:0 auto;
	}
	.textbook_wrapper{
		width:90%;
	}
}

@media screen and (max-width: 767px) {
	 .btn_wrapper button{
	 	width: 40%;
	 	margin-bottom: 5px!important;
/*	 	display: block;
	 	margin: 0 auto;
*/
	}
	.btn_wrapper {
	 	text-align: center;
	 	padding: 20px 0px!important;
	}
	.textbook_wrapper{
		padding: 30px 10px;
	}
	h1.textbook_title{
		font-size: 25px;
	}
	.comp_txt {
        font-size: 13px;
	}
}

@media screen and (max-width: 646px) {
	h1.textbook_title{
		font-size: 20px;
	}
	h2.textbook_price{
		font-size: 18px;
		margin:5px 23px 15px;
	}
	h2.second_title{
		font-size: 18px;
		margin:25px 20px 30px;
		margin-bottom: 10px;
	}
	.btn_wrapper button.updt{
		width: 25%;
	}
    .comp_txt {
        font-size: 12px;
    }
}
@media screen and (max-width: 500px) {
	h1.textbook_title{
		font-size: 23px;
		margin:0 9px 10px;
	}
	.textbook_wrapper{
		width: 90%;
	}
	h2.textbook_price{
		font-size: 16px;
		margin:5px 10px 15px;
	}
	h2.second_title{
		font-size: 18px;
		margin:25px 10px 30px;
		margin-bottom: 10px;
	}
	.btn_wrapper button{
	 	width: 60%;
	 	margin-bottom: 5px!important;
	 	font-size: 13px;

	 }
	 .crumb_wrapper{
		font-size: 13px;
		width: 102%;
	}
	.btn_wrapper button.updt{
		width: 25%
	}

}

@media screen and (max-width: 389px) {
	.crumb_wrapper{
		font-size: 12px;
		width: 102%;
	}
}
@media screen and (max-width: 350px) {
	h1.textbook_title{
		font-size: 20px;
	}
	h2.textbook_price{
		font-size: 13px;
	}
	.crumb_wrapper{
		font-size: 10.6px;
		width: 102%;
	}
	h2.second_title{
		font-size: 16px;
	}
	h3.prod_price{
		font-size: 14px;
	}
	h3 span.h3_price{
		margin-left: 10px;
	}
	.img_thumb{
		padding: 0 3%!important;
	}
}
