/*!
Theme Name:   	Storefront Child for Publishers
Theme URI:    	https://www.yokendo.com/storefront-child
Author:         Yokendo Ltd. Publishers
Author URI:     https://www.yokendo.com/
Template:     	storefront
Description:  	Storefront Child Theme
Version:      	0.1.0
License:      	GNU General Public License v2 or later
License URI:  	http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  	storefront-child-for-publishers
Tags:         	e-commerce, two-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-menu, featured-images, full-width-template, threaded-comments, accessibility-ready, rtl-language-support, footer-widgets, sticky-post, theme-options
*/

body {
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS P Gothic", sans-serif !important;
	font-size: 14px !important;
	line-height: 1.5;
	font-weight: 300;
	text-align: justify;
}

.site-header {
	margin-bottom: 1em !important;
}

main#main {
	padding: 1rem !important;
}

footer .widget-title {
	padding: 1px 1px 1px 10px !important;
	border-bottom: none !important;
	border-left: solid 5px #cccccc !important;
	font-size: large !important;
}

.widget-area .widget-title {
	background-color: #2e3192 !important;
	color: #ffffff !important;
	padding: 5px 15px !important;
	margin-bottom: 5px !important;
	font-size: medium !important;
}

.widget_block .lkc-external-wrap {
	width: auto !important;
}

.entry_detail span.search-highlight {
	background-color: yellow;
}

div.whatsnew dt {
	color: #5d5d5d !important;
}

h1.product_title {
	font-size: 1.2rem !important;
	font-weight: 700 !important;
}

div.searchbox {
	margin: 1rem 0;
	padding: 5px;
    background-color: #33831f47;
}

div.searchbox h4 {
	background-color: #33831f;
    color: #fff;
    padding: 0.25rem 1rem
}

div.searchbox input[type=search]:focus {
    outline-color: #33831f;
}

.book_custom_meta th,
.book_custom_meta td{
	padding: 0.5rem 1rem !important;
}

ul.wc-tabs > li.active {
	background-color: rgba(0,0,255,.03);
}

.site-footer a:not(.button):not(.components-button) {
	color: #fefefe;
}

img.attachment-woocommerce_thumbnail {
	margin-bottom: 1rem;
}

img.attachment-woocommerce_thumbnail.size-woocommerce_thumbnail {
	box-shadow: 0px 3px 6px 0px light-dark(darkgray, lightgray);
}

.woocommerce-product-gallery__image.flex-active-slide {
    border: 1px solid lightgray;
}

@media screen and (max-width: 767px)
{
	div#product_categories {
		display: none;
	}

	img.woocommerce-placeholder,
	img.attachment-woocommerce_thumbnail,
	img.wp-post-image {
		display: block;
		margin: 0 auto 0.5rem auto;
	}

	h2.woocommerce-loop-product__title {
		display: block;
	}

	div.entry_thumbnail{
		float: none;
	}

	div.supervisor_tag,
	div.auther_and_editor_tag,
	div.author_tag,
	div.editor_tag,
	div.translator_tag {
		display: inline;
		white-space: normal !important;
	}

	li.product{
		clear:both;
	}

	.grecaptcha-badge { 
		bottom:65px !important; 
	}
	
	a.woocommerce-loop-product__link {
		display: block;
		min-height: 50px;
		margin-bottom: 8px;
	}
}

@media (min-width: 768px) {
	div#primary {
		width: 70%
	}
	
	div#secondary {
		width: 25%
	}

	div .woocommerce-product-gallery {
		width: 25% !important;
		margin-right: 2% !important;
		margin-bottom: 2% !important;
	}

	div.summary.entry-summary {
		width: 70% !important;
	}

	.woocommerce-breadcrumb {
		margin-bottom: 1em !important;
	}

	.col-full {
		min-width: 1024px !important;
		max-width: 1280px !important;
	}

	.site-branding {
		min-width: 250px;
		width: 25% !important;
		margin-right: 0 !important;
	}

	.secondary-navigation {
		width: 45% !important;
		margin-right: 0 !important;
	}

	.site-search {
		width: 28% !important;
	}

	#customer_details,
	#order_review_heading,
	#order_review {
		float: none;
		width: 90%;
	}

	.form-row-first {
		width: 45% !important;
		margin-right: 10% !important;
	}

	.form-row-last {
		width: 45% !important;
	}

	.footer-widgets {
		padding-top: 5px;
	}
}

.related {
	border-top: 1px solid rgba(0,0,0,.05);
	padding-top: 1em;
}

.woocommerce-products-header {
	display: none;
}

.book_custom_meta th {
	width: 10em;
}

.woocommerce-checkout h3 {
	border-top: dashed 1px #999999;
	border-left: 0.5em solid;
	margin: 1em 0 0.5em 0 !important;
	padding: 0.5em;
	font-size: medium;
}

.menu {
	padding: 0 1em;
}

#secondary .wpp-list {
	counter-reset: posts-rank;
}

#secondary .wpp-list li {
	padding: 5px;
	position: relative;
}

#secondary .wpp-list li::before {
	counter-increment: posts-rank;
	content: counter(posts-rank);
	position: absolute;
	top: 5px;
	left: 0px;
	background-color: #5fbced;
	background-position: 5px 0px;
	font-size: 0.8rem;
	line-height: 1;
	color: #fff;
	margin-top: 5px;
	padding: 4px 6px;
}

.to_get_free {
	color: #ff6901;
	padding: 3px;
}

table th {
	font-weight: normal;
}

.whatsnew {
	margin-bottom: 2em !important;
}

div .entry_detail {
	padding-left: 1em;
	padding-bottom: 1em;
}

div .entry_detail +div{
	border-top: solid 1px #aaaaaa;
	padding-top: 1em;
}

.entry_detail .entry_header {
	color: #000000 !important;
	text-align: left;
}

.entry_category {
	margin: 0 0 0.1rem 0.5rem;
	padding: 0 0.5em;
	color: #ffffff;
	background-color: #888888;
	display: inline-block;
}

.entry_category:first-of-type {
	margin-left: 0;
}


.entry_category.cat-recruit {
	background-color: #09a335;
}

.entry_category.cat-news {
	background-color: #1971ff;
}

.entry_category.cat-errata {
	background-color: #db5127;
}

.entry_title {
	margin: 0.5em 0 0 0;
	font-size: large;
}

.entry_thumbnail {
	float: left;
	margin: 0.5rem 1rem 0 0;
}

.entry_contents {
	float: none;
}

.entry_footer {
	clear: both;
}

.wp-pagenavi {
	padding: 1em 0;
	font-size: smaller;
}

.search-form-header label {
	display: inline-flex;
	width: 100%;
}

.search-cat {
	background-color: #bbbbbb;
}

ol.list_parentheses {
	list-style-type: none;
	padding-left: 2em;
	margin: 0.5em 0;
}

ol.list_parentheses li.list_parentheses_child {
	counter-increment: cnt;
}

ol.list_parentheses li.list_parentheses_child::before {
	content: "(" counter(cnt) ") ";
	display:inline-block;
	margin-left:-2em;
	width: 2em;
}

div.site-info {
	padding: 1em 0;
}

div.widget {
	margin-bottom: 1em;
}

div.after_main_content {
	padding: 2em 0;
}

.storefront-breadcrumb {
	margin: 0 !important;
}

.dropdown-toggle {
	color: #ffffff !important;
}

img.woocommerce-placeholder,
img.attachment-woocommerce_thumbnail {
	width: auto;
	height: auto;
	max-width: 110%;
	max-height: 200px;
}

img.woocommerce-placeholder,
img.attachment-woocommerce_thumbnail,
img.wp-post-image {
	border-radius: 0;
}

li.product {
	text-align: left !important;
}

.woocommerce-loop-product__title {
	font-size: 0.9rem !important;
	margin: 0 !important;
}

.affiliate  {
	text-align: center;
}

.affiliate img {
	margin: 0 auto;
}

.page-nav a {
	color: inherit;
}

.next-page-link,
.previous-page-link {
    margin: .5rem auto;
    width: 80%;
    height: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: darkblue;
    border-radius: 1.5rem;
}

.split-page-nav {
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-number {
    margin: .5rem;
    height: 2rem;
    width: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.post-page-numbers.current .page-number {
    background-color: lightgray !important;
	color: initial;
}

.comment-form-comment label {
	display: block;
}