/*
Theme Name: Tababooks
Theme URI: none // original
Description: tababooks original template.
Version: 1.0
License: nobody reuse this template.
License URI: none
*/

/* =============================================================================
   config
============================================================================= */
/* ----------------------------------------------
   overwrite normalize.css
---------------------------------------------- */
html,button,input,select,textarea {
	font-family : "Georgia","ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	vertical-align: bottom;
	color: #333;
}
h1,h2,h3,h4,h5,h6 {
	margin: 0;
	padding: 0;
}
p {
	margin-top: 0;
}
dl,ul,ol {
	margin-top: 0;
	margin-bottom: 0;
}
img {
	vertical-align: top;
	line-height: 1;
}
a {
	color: #333;
	text-decoration: underline;
}
a:hover {
	color: #ff5c5c;
	text-decoration: none;
}

/* ----------------------------------------------
   Clearfix
---------------------------------------------- */
.clearfix {
	/zoom: 1;
}
.clearfix:after {
	content: "";
	display: block;
	clear: both;
	height: 0;
}



/* =============================================================================
   WP generated class
============================================================================= */
img.alignnone {
}
img.alignleft {
	float: left;
	margin: 0 1.5em 1.5em 0;
}
img.alignright {
	float: right;
	margin: 0 0 1.5em 1.5em;
}
img.aligncenter {
	margin-right: auto;
	margin-left: auto;
}



/* =============================================================================
   Modules
============================================================================= */
.mod-box {
	position: relative;
	margin-bottom: 10px;
	padding: 40px;
	background-color: #fff;
}
.mod-box-text {
	padding-bottom: 60px;
}
.mod-box p:last-child {
	margin-bottom: 0;
}
.mod-box-dothr {
	background: url(images/common/dot_hr.gif) repeat-x left top;
	/zoom: 1;
}
.mod-box-dotbg {
	margin: 30px 0;
	padding: 30px;
	background: url(images/common/bg.gif) repeat left top;
	/zoom: 1;
}
.mod-box .mod-box-dotbg:last-child {
	margin-bottom: 0;
}
.mod-box-dotbg h1,
.mod-box-dotbg h2,
.mod-box-dotbg h3 {
	margin-bottom: 10px;
	font-size: 114.3%;
	font-weight: bold;
}
.mod-box-dotbg h1:first-child,
.mod-box-dotbg h2:first-child,
.mod-box-dotbg h3:first-child {
	margin-top: 0;
}
ul.mod-list-arrow {
	margin: 0;
	padding: 0;
	list-style: none;
}
ul.mod-list-arrow ul {
	margin: 0;
	padding: 0;
}
ul.mod-list-arrow li {
	margin: 5px 0 0;
	padding: 0 0 0 15px;
	background: url(images/common/icon_arrow.gif) no-repeat left 8px;
	list-style: none;
}

/* pager */
.pagination .prevlink {
	float: left;
}
.pagination .nextlink {
	float: right;
}

/* ----------------------------------------------
   title
---------------------------------------------- */
header h1 {
	font-size: 114.3%;
}

/* =============================================================================
   Parts
============================================================================= */
.book-icon {
	width: 60px;
	height: 60px;
	text-align: center;
	line-height: 60px;
	background: url(images/common/bg_icon_booktype.png) no-repeat center;
	color: #ff5c5c;
	font-size: 85.7%;
	font-weight: bold;
}
.tbinfo-icon {
	display: inline-block;
	/display: inline;
	padding: 2px 10px;
	border: 1px solid #0fb9f0;
	text-align: center;
	font-size: 85.7%;
	line-height: 1.5;
	color: #3cc7f4;
	/zoom: 1;
}
.type-tababooks-news {
	background: #0fb9f0;
	border: 1px solid #0fb9f0;
	color: #fff;
}

/* ----------------------------------------------
   nav view
---------------------------------------------- */
.mod-box header {
	margin-bottom: 40px;
	/zoom: 1;
}
.home .mod-box header,
#secondary .mod-box header {
	margin-bottom: 20px;
}
#secondary .mod-box header {
	margin-bottom: 0;
}
.mod-box header:after {
	content: '';
	display: block;
	clear: both;
}
.mod-box header h1 {
	float: left;
}
.mod-box header .nav-view {
	float: right;
}
.mod-box header h1,
.mod-box header .nav-view {
	line-height: 27px;
	vertical-align: middle;
}
.mod-box header .nav-view ul {
	margin: 0;
	list-style: none;
}

/* =============================================================================
   Template
============================================================================= */
body {
	background: url(images/common/bg.gif) repeat left top;
	line-height: 1.72;
}
#container {
	margin: 0 auto;
	padding: 20px 0;
	width: 960px;
}
#main {
	font-size: 87.5%;
}
#primary {
	float: left;
	width: 680px;
}
#secondary {
	float: right;
	width: 270px;
}

/* ----------------------------------------------
   Global Header
---------------------------------------------- */
#global-header {
	position: relative;
	margin-bottom: 10px;
	padding-bottom: 30px;
	letter-spacing: -.3em;
}
#global-header .header-inner {
	background: url(images/common/header_bg.gif) repeat-y center top;
}
#global-header #site-logo,
#global-header #global-nav,
#global-header .sns {
	display: inline-block;
	/display: inline;
	/zoom: 1;
	letter-spacing: normal;
	vertical-align: middle;
}
#global-header #site-logo {
	margin: 0;
	padding: 0 0 0 22px;
	width: 245px;
}
#global-header #global-nav {
	padding: 0 14px 4px 37px;
	width: 410px;
}
#global-header #global-nav ul {
	margin: 0;
	padding: 0;
	letter-spacing: -.3em;
	list-style: none;
	/zoom: 1;
}
#global-header #global-nav ul:after {
	content: '';
	clear: both;
	display: block;
}
#global-header #global-nav li {
	display: inline-block;
	/display: inline;
	margin: 0;
	padding: 0 0 2px;
	letter-spacing: normal;
	line-height: 1;
	/zoom: 1;
}
#global-header #global-nav li:nth-child(odd) {
	width: 226px;
}
#global-header #global-nav li:nth-child(even) {
	width: 184px;
}
#global-header #global-nav li a {
	line-height: 1;
}
#global-header .sns {
	width: 124px;
	vertical-align: top;
}
#global-header .sns ul {
	display: block;
	margin: 0;
	padding: 16px 29px 10px 28px;
	width: 100%;
	list-style: none;
	letter-spacing: -.4em;
	text-align: left;
	box-sizing: border-box;
}
#global-header .sns ul li {
	display: inline-block;
	letter-spacing: normal;
	text-align: left;
	/display: inline;
	/zoom: 1;
}
#global-header .sns ul li:nth-child(1),
#global-header .sns ul li:nth-child(2) {
	margin-bottom: 6px
}
#global-header .sns ul li:nth-child(odd) {
	margin-right: 12px
}
#global-header .header-txt {
	margin: 20px 0 0;
	font-size: 75%;
	letter-spacing: normal;
}

/* ----------------------------------------------
   Global Footer
---------------------------------------------- */
.pagetop {
	margin: 30px auto 0;
	width: 108px;
	height: 108px;
}
.pagetop a {
	display: block;
	padding-top: 30px;
	background: url(images/common/pagetop.gif) no-repeat center;
	line-height: 78px;
	font-size: 62.5%;
	text-align: center;
	text-decoration: none;
}
#global-footer {
	position: relative;
	padding-top: 30px;
	font-size: 75%;
	text-align: left;
}
#global-footer p {
	margin: 0;
}
#global-footer .company-info h1 {
	margin-bottom: 20px;
	font-size: 100%;
}
#global-footer .copyright {
	position: absolute;
	right: 0;
	bottom: 0;
}
#global-footer .copyright small {
	font-size: 100%;
}

/* ----------------------------------------------
   Sidebar
---------------------------------------------- */
#secondary .current a,
#secondary .current li.current a {
	color: #ff5c5c;
	text-decoration: none;
}
#secondary .current li a {
	color: #333;
	text-decoration: underline;
}
#secondary #recent-books {
	padding-bottom: 10px;
}
#secondary #recent-books header h1 {
	margin-bottom: 20px;
	line-height: 1;
}
#secondary #recent-books .books-info {
	margin-bottom: 30px;
	padding: 0 0 25px;
	background: url(images/common/dot_hr.gif) repeat-x left bottom;
}
#secondary #recent-books .newestbook {
	padding-bottom: 0;
	background: none;
}
#secondary #recent-books .books-info p {
	margin: 0;
}
#secondary #recent-books .book-img {
	position: relative;
	margin-bottom: 20px;
	text-align: center;
}
#secondary #recent-books .book-img .book-icon {
	position: absolute;
	bottom: -10px;
	right: 0;
}
#secondary #recent-books a {
	color: #333;
	text-decoration: none;
}
#secondary #recent-books a h1 {
	text-decoration: underline;
	font-size: 100%;
	font-weight: bold;
}
#secondary #recent-books a:hover h1 {
	color: #ff5c5c;
	text-decoration: none;
}

#secondary #categorylist li {
	font-weight: bold;
}

#secondary #bannerlist ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
#secondary #bannerlist ul li {
	margin-bottom: 20px;
	text-align: center;
}
#secondary #bannerlist ul li:last-child {
	margin-bottom: 0;
}
#secondary .tbinfo-top {
	margin-top: 20px;
}




/* =============================================================================
   toppage
============================================================================= */
.home #box-tbinfo .entrylist {
	padding: 0;
	list-style: none;
}
.home #box-tbinfo .entrylist li {
	margin-bottom: 1em;
	padding: 0 3px;
	line-height: 1.5;
}
.home #box-tbinfo .entrylist .tbinfo-icon {
	float: left;
	display: block;
	margin-right: 1em;
	padding: 0;
	width: 6.5em;
}
.home #box-tbinfo .entrylist a {
	overflow: hidden;
	display: block;
}
.home #box-tbedit ul {
	margin: 0;
	padding: 0;
}
.home #box-tbedit li {
	margin-bottom: 10px;
	list-style: none;
}
.home #box-tbedit li:last-child {
	margin-bottom: 0;
}
.home #box-tbedit img {
	width: 100%;
}
.home #box-bnrarea {
	position: relative;
	padding-right: 0;
	/zoom: 1;
}
.home #box-bnrarea ul {
	position: relative;
	margin: -20px -30px 0 0;
	padding: 0;
	width: 630px;;
	/zoom: 1;
}
.home #box-bnrarea li {
	float: left;
	margin: 20px 30px 0 0;
	padding: 0;
	list-style: none;
}



/* =============================================================================
   出版物アーカイブ
============================================================================= */
.post-type-archive-books .book-category {
	padding: 30px 0 0;
}
.post-type-archive-books .first-book-category {
	padding: 0;
}
.post-type-archive-books .book-category h1.category-title {
	float: left;
	width: 140px;
}
.post-type-archive-books .book-category .book-wrap {
	overflow: hidden;
	/zoom: 1;
}

.post-type-archive-books .book {
	float: left;
	margin-right: 10px;
	padding: 0 0 35px;
	width: 360px;
	_width: 350px;
}
.post-type-archive-books .book .photo {
	float: left;
	margin: 0 20px 0 0;
	width: 130px;
	text-align: left;
}
.post-type-archive-books .book a {
	text-decoration: none;
	color: #333;
}
.post-type-archive-books .book a h1 {
	float: none;
	text-decoration: underline;
	font-size: 100%;
}
.post-type-archive-books .book a:hover h1 {
	color: #ff5c5c;
	text-decoration: none;
}
.post-type-archive-books .book .books-info {
	overflow: hidden;
}
.post-type-archive-books .book .books-info p {
	margin: 0;
}
.post-type-archive-books .book .books-info .book-icon {
	margin-top: 10px;
}


/* =============================================================================
   出版物詳細ページ
============================================================================= */
.single-books .photo {
	float: left;
	width: 300px;
	text-align: center;
}
.single-books .books-info {
	float: right;
	position: relative;
	width: 540px;
}
.single-books #book-header {
	margin-bottom: 20px;
}
.single-books #book-header h2 {
	float: left;
	font-size: 142.8%;
}
.single-books #book-header .book-icon {
	float: right;
	margin-left: 20px;
}
.single-books .other-info {
	margin-top: 30px;
	padding-top: 30px;
}


/* =============================================================================
   tB通信 アーカイブ
============================================================================= */
.post-type-archive-tbinfo #main .tbinfo {
	margin-bottom: 30px;
	padding: 0 0 30px;
	background: url(images/common/dot_hr.gif) repeat-x left bottom;
}
.post-type-archive-tbinfo #main .tbinfo p:last-child {
	margin-bottom: 0;
}
.post-type-archive-tbinfo #main .tbinfo h1 {
	margin-bottom: 10px;
	font-size: 114.3%;
}


/* =============================================================================
   tB通信 タクソノミー一覧
============================================================================= */
.tax-tax_tbinfo #main .tbinfo {
	margin-bottom: 30px;
	padding: 0 0 30px;
	background: url(images/common/dot_hr.gif) repeat-x left bottom;
}
.tax-tax_tbinfo #main .tbinfo p:last-child {
	margin-bottom: 0;
}
.tax-tax_tbinfo #main .tbinfo h1 {
	margin-bottom: 10px;
	font-size: 114.3%;
}


/* =============================================================================
   tB通信詳細ページ
============================================================================= */
.single-tbinfo header {
	margin-bottom: 15px;
}
.single-tbinfo header .tbinfo-icon {
	padding: 2px 10px;
}
.single-tbinfo header .tbinfo-icon-wrap {
	margin-bottom: 25px;
}
.single-tbinfo header h1 {
	float: none;
	margin-bottom: 15px;
	font-size: 142.9%;
}
.single-tbinfo header .date {
	margin-bottom: 20px;
	text-align: right;
}
.single-tbinfo .series-links-box {
	margin-top: 40px;
	padding-top: 40px;
}
.single-tbinfo .series-links-box h2 {
	margin-bottom: 20px;
	font-size: 128.6%;
}
.single-tbinfo .series-links-box ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.single-tbinfo .series-links-box ul li.current {
	font-weight: bold;
}


/* =============================================================================
   タバブックスについて
============================================================================= */
.page-about .mod-box header h1 {
	line-height: 1;
}
.page-about .about-intro .mod-box-first {
	float: left;
}
.page-about .about-intro .mod-box-second {
	float: right;
}
.page-about .about-intro .mod-box-first,
.page-about .about-intro .mod-box-second {
	padding-right: 40px;
	width: 400px;
}
.page-about .about-intro h2 {
	margin-top: 30px;
	margin-bottom: 15px;
	line-height: 1.2;
	font-size: 114.3%;
}
.page-about .about-intro h2:first-child {
	margin-top: 0;
}
.page-about #bio {
	margin-top: 60px;
}
.page-about #bio h1 {
	margin-bottom: 15px;
}
.page-about #bio h2 {
	font-size: 100%;
}
.page-about #bio section h1,
.page-about #bio section p {
	font-size: 85.7%;
}
.page-about #bio .mod-box-col2 {
	margin-top: 35px;
}
.page-about #bio .mod-box-first,
.page-about #bio .mod-box-second {
	padding-right: 20px;
	width: 380px;
}
.page-about #bio .mod-box-first {
	float: left;
}
.page-about #bio .mod-box-second {
	float: right;
}
.page-about #bio .mod-box-col2 h1 {
	margin-bottom: 5px;
}


/* =============================================================================
   tB編集室
============================================================================= */
.page-tbedit .mod-box-dotbg h2 {
	margin-bottom: 10px;
}


/* =============================================================================
   購入方法
============================================================================= */
#main .page-howtobuy section.howtobuy h1 {
	float: left;
	margin-right: 10px;
	width: 220px;
	font-size: 128.6%;
	line-height: 144%;
	/zoom: 1;
}
#main .page-howtobuy section.howtobuy .howto-content {
	overflow: hidden;
	position: relative;
	/zoom: 1;
}
#main .page-howtobuy .mod-box-dothr {
	margin-top: 40px;
	padding-top: 40px;
}
#main .page-howtobuy .mod-box-dotbg p {
	margin-bottom: 0;
}
#main .page-howtobuy .pdf-image {
	float: left;
	margin-right: 30px;
}
#main .page-howtobuy .pdf-image .pdf-info {
	overflow: hidden;
}


/* =============================================================================
   お問い合わせ
============================================================================= */
#main .wpcf7 {
	margin-top: 40px;
	padding-top: 40px;
	background: url(images/common/dot_hr.gif) repeat-x left top;
}
#main .wpcf7 .form-table,
#main .wpcf7 .form-table th,
#main .wpcf7 .form-table td {
	border: none;
}
#main .wpcf7 .form-table th,
#main .wpcf7 .form-table td {
	padding: 10px;
	text-align: left;
	vertical-align: top;
	font-weight: normal;
}
#main .wpcf7 .form-table {
	width: 100%;
}
#main .wpcf7 .form-table th {
	width: 20%;
}
#main .wpcf7 .form-table td input,
#main .wpcf7 .form-table td textarea {
	padding: 5px;
	border: 1px solid #e0e0e0;
}
#main .wpcf7 .form-table td input {
	width: 300px;
}
#main .wpcf7 .form-table td textarea {
	width: 600px;
}

#main .wpcf7 .submit {
	margin-top: 30px;
	text-align: center;
}
#main .wpcf7 .submit input {
	padding: 10px 0;
	width: 220px;
	border: none;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	background: #ff5c5c;
	color: #fff;
}


/* =============================================================================
  404
============================================================================= */
.error404 #main .btn-home {
	margin-top: 100px;
	text-align: center;
}
.error404 #main .btn-home a {
	display: block;
	margin: 0 auto;
	padding: 10px;
	width: 220px;
	border: none;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	background: #ff5c5c;
	color: #fff;
}
