/*
Theme Name:		Welcart Mode Child Theme
Template:		welcart_mode
Theme URI:		https://www.welcart.com/archives/12623.html
Author:			Collne.Inc
Author URI:		https://www.collne.com/
Description:	Mode Child is the Welcart Mode Child Theme.
Version:		1.0.0
License:		GNU General Public License v2 or later
License URI:	http://www.gnu.org/licenses/gpl-2.0.html
Tags:			responsive-layout, mode, one-columns, left-sidebar or right-sidebar
*/

/* Common Style
	 ========================================================================== */

.wp-block-table th,
.wp-block-table td {
	border: 1px solid #cccc;
	padding: 8px 12px;
}
.wp-block-pullquote {
	border-top: 3px solid #ccc;
	border-bottom: 3px solid #ccc;
}
.wp-block-image figcaption {
	text-align: center;
}
.wp-block-quote.is-style-default {
	border-left: 2px solid #333;
	padding-left: 1rem;
}
.wp-block-quote.is-style-large cite {
	display: block;
}

#site a:link {
	color: #0085c9 !important;
}
#site a:visited {
	color: #cc7eb1 !important;
}
#site a:hover {
	color: #f26284 !important;
}

.is-product .add-to-cart .cart-button .skubutton,
#tofavorite-content .tofavorite-page-link a,
#tofavorite-content .tologin-page-link a,
#tofavorite-content .tologin-newmember-page-link a,
.favorite-button .add-favorite:hover,
.favorite-button .add-favorite.added:hover {
	background-color: #c92a2a !important;
}

/* Home
	 ========================================================================== */

.cat-area {
	margin: 0 0 20px;
	overflow: hidden;
}
.cat-area .img {
	margin-bottom: 8px;
}
.cat-area .img img {
	width: 100%;
}
.cat-area .flex-block {
	display: flex;
	flex-wrap: wrap;
	margin-right: -15px;
}
.cat-area .flex-block .list {
	width: 100%;
	margin: 0 15px 15px 0;
}
.cat-area .flex-block .list
.cat-area .flex-block .list .img a {
	display: block;
	position: relative;
	overflow: hidden;
}
.cat-area .flex-block .list ul li:before {
	content: '■';
	color: #ea009f;
	margin-right: 2px;
}
.cat-area .flex-block .list .img a:before {
	content: '';
	display: block;
	padding-top: 61.7%;
}
.cat-area .flex-block .list .img a img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}
.relation-area {
	margin: 0 0 20px;
	overflow: hidden;
}
.relation-area h2 {
	width: calc(50% - 7.5px);
	margin: 0 0 15px;
}
.relation-area h2 a,
.relation-area .flex-block ul li a {
	display: block;
	font-size: 16px;
	font-weight: bold;
	line-height: 1.2;
	padding: 8px 16px;
	text-align: center;
	color: #fff;
	background-color: #86b7ef;
}
.relation-area .relation-title a {
	background-color: #012b67;
}
.relation-area .flex-block {
	overflow: hidden;
}
.relation-area .flex-block ul {
	display: flex;
	flex-wrap: wrap;
	margin-right: -15px;
}
.relation-area .flex-block ul li {
	width: calc(50% - 15px);
	margin: 0 15px 15px 0;
}
.top-post-header {
	margin-bottom: 20px;
}
.entry-content h1 {
	font-size: 138%;
	line-height: 1.5;
}
.entry-content h2 {
	font-size: 130.8%;
	line-height: 1.5;
}
.entry-content h3 {
	font-size: 123%;
	line-height: 1.5;
}
.entry-content h4 {
	font-size: 115.4%;
	line-height: 1.5;
}
.entry-content h5 {
	font-size: 107.7%;
	line-height: 1.5;
}
.entry-content h6 {
	font-size: 100%;
	line-height: 1.5;
}
.entry-content ul {
	list-style: disc;
	margin-left: 1rem;
	padding-inline-start: 0;
}
.entry-content ol {
	padding-inline-start: 1.1em;
}
.entry-content table caption {
	font-size: 115.4%;
	line-height: 1.2;
	padding: 8px;
	border-top: 1px solid #cdcdcd;
	font-weight: bold;
}
.entry-content table th,
.entry-content table td {
	padding: 8px;
	vertical-align: middle;
}
.entry-content table th {
	border-top: 1px solid #cdcdcd;
	border-bottom: 1px solid #dedede;
	line-height: 1.2;
}
.entry-content table td {
	border-top: 1px dotted #dedede;
	border-bottom: 1px dotted #dedede;
}
.entry-content .wp-block-button__link {
	font-size: inherit;
}
.entry-content .shortcode-products ul {
	margin-left: 0;
	list-style: none;
}
.entry-content .shortcode-products li {
	font-size: 10px;
	line-height: 1.2;
}
.top-entry-content p {
	margin-bottom: 1rem;
}

/* Category
	 ========================================================================== */
.img.square img {
	object-fit: contain;
}
.category-info .entry-head .jp {
    display: block;
    margin-top: 0;
    font-size: 24px;
	line-height: 1.2;
	margin-bottom: 20px;
}
.category-info .category-description {
    line-height: 1.5;
	margin-top: 0;
}
#cat_child_list {
	margin-bottom: 40px;
	padding-bottom: 16px;
	border-bottom: 1px solid #eee;
}
#cat_child_list .child_list_flex .list {
	margin-bottom: 24px;
}
#cat_child_list .child_list_flex .list > a {
	display: block;
	overflow: hidden;
	position: relative;
	margin-bottom: 8px;
	border: 1px solid #fff;
}
#cat_child_list .child_list_flex .list > a:hover {
	border: 1px solid #ddd;
}
#cat_child_list .child_list_flex .list > a:before {
	content: '';
	display: block;
	padding-top: 100%;
}
#cat_child_list .child_list_flex .list > a img {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}
#cat_child_list .child_list_flex .list > h2 {
	text-align: center;
	font-size: 16px;
	margin-bottom: 8px;
	line-height: 1.2;
}
#cat_child_list .child_list_flex .list > p {
	text-align: center;
}
#alacarte {
	margin-bottom: 40px;
	padding-bottom: 16px;
	border-bottom: 1px solid #eee;
}
#alacarte .alacarte-title {
	font-size: 20px;
	line-height: 1.2;
	text-align: center;
	margin: 0 0 20px;
}
#alacarte .alacarte_list .list {
	margin-bottom: 24px;
}
#alacarte .alacarte_list .list > a {
	display: block;
	overflow: hidden;
	position: relative;
	margin-bottom: 8px;
}
#alacarte .alacarte_list .list > a:before {
	content: '';
	display: block;
	padding-top: 100%;
}
#alacarte .alacarte_list .list > a img {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}
#alacarte .alacarte_list .list > h2 {
	text-align: center;
	font-size: 16px;
	margin-bottom: 8px;
	line-height: 1.2;
}
#alacarte .alacarte_list .list > p {
	text-align: center;
}
.product-group.column-grid {
	margin-bottom: 40px;
}
.column-grid .list p {
	font-size: 12px;
	line-height: 1.4;
	margin-top: 8px;
}
.is-cart .inside {
	display: flex;
	align-items: center;
}
.is-cart .inside p {
	margin: 4px 0;
}
.is-cart .inside p:first-child {
	margin-right: 1rem;
	width: 5rem;
}
.is-cart .c-box .fixed_phrase {
	margin-top: 16px;
}
.is-product .add-to-cart .skuquantity {
    display: block;
    margin: 4px 0;
}
.is-product .field-price-inside p:last-child {
	font-size: 28px;
}
#cat_content.entry-content p {
	margin: 1rem 0;
}
#cat_content.entry-content p img {
	margin: 1rem 0;
}

/* Item Single
	 ========================================================================== */

.is-product .cat-name-block {
	margin-bottom: 10px;
}
.is-product .parent_cat_name {
	font-size: 20px;
}
.is-product .here_cat_name {
	font-size: 16px;
}
.entry-box ul.border {
	color: #1e366a;
	border-top: solid #1e366a 1px;
	border-bottom: solid #1e366a 1px;
	padding: 0.5em 0 0.5em 1.5em;
	list-style-type: square;
	margin-left: 0;
}
.entry-box ul.border li {
	line-height: 1.5;
	padding: 0.5em 0;
}
.entry-box ul.padding li {
	padding: 0.5em 0;
}
.is-product .tabs-pc .tabs li.active {
    background-color: #003f8e !important;
}
.is-product .tabs-pc .tabs li {
    background-color: #a2c2e6 !important;

}
.is-product .entry-review .reviews_btn a {
	background-color: #a2c2e6;
}

.category-item .is-product {
	font-family: 'Noto Sans JP','Hiragino Kaku Gothic ProN','sans-serif';
}


/* Topic Path
	 ========================================================================== */

.fb_breadcrumb {
	margin: 0 1em;
	padding: 1em 0;
}
.fb_breadcrumb ul {
	display: flex;
	flex-wrap: wrap;
}
.fb_breadcrumb ul li {
	display: flex;
	align-items: center;
}
.fb_breadcrumb ul li::after {
	content: '';
	display: inline-block;
	-webkit-mask-image: url('data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cpath%20d%3D%22M294.1%20256L167%20129c-9.4-9.4-9.4-24.6%200-33.9s24.6-9.3%2034%200L345%20239c9.1%209.1%209.3%2023.7.7%2033.1L201.1%20417c-4.7%204.7-10.9%207-17%207s-12.3-2.3-17-7c-9.4-9.4-9.4-24.6%200-33.9l127-127.1z%22%2F%3E%3C%2Fsvg%3E');
	mask-image: url('data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cpath%20d%3D%22M294.1%20256L167%20129c-9.4-9.4-9.4-24.6%200-33.9s24.6-9.3%2034%200L345%20239c9.1%209.1%209.3%2023.7.7%2033.1L201.1%20417c-4.7%204.7-10.9%207-17%207s-12.3-2.3-17-7c-9.4-9.4-9.4-24.6%200-33.9l127-127.1z%22%2F%3E%3C%2Fsvg%3E');
	mask-repeat: no-repeat;
	-webkit-mask-size: contain;
	-webkit-mask-repeat: no-repeat;
	mask-size: contain;
	background-color: #555;
	width: 15px;
	height: 15px;
	margin: 0 0.5rem;
}
.fb_breadcrumb ul li:last-child:after {
	display: none;
}
.fb_breadcrumb ul li.removie {
	display: none;
}

/* --- Header --- */

:not(.home) .header-group {
	border-bottom: 1px solid #b4aeb1;
}

/* ---- copyright ---- */

.copyright {
	background-color: #e4007f !important;
}

/* 商品詳細ページ */
.is-product .gallery .itemimg img {
	width: initial;
	max-width: 100%;
}
.is-product .gallery .itemimg-sub .slick-current {
	border: 1px solid #333;
}
.is-product .gallery .itemimg-sub .list {
	opacity: 1;
}

/**
 * 16.1 Mobile Large 620px
 */
@media screen and (min-width: 38.75em) {
	.cat-area .flex-block .list {
		width: calc(50% - 15px);
	}

	/* Category
		 ========================================================================== */

	#cat_child_list {
		overflow: hidden;
	}
	#cat_child_list .child_list_flex {
		display: flex;
		flex-wrap: wrap;
		margin-right: -20px;
	}
	#cat_child_list .child_list_flex .list {
		width: calc(33.333% - 20px);
		margin: 0 20px 20px 0;
	}
	#alacarte {
		overflow: hidden;
	}
	#alacarte .alacarte_list {
		display: flex;
		flex-wrap: wrap;
		margin-right: -20px;
	}
	#alacarte .alacarte_list .list {
		width: calc(33.333% - 20px);
		margin: 0 20px 20px 0;
	}
	#alacarte .alacarte-title {
		text-align: left;
	}
}

/**
 * 16.2 Tablet Small 740px
 */
@media screen and (min-width: 46.25em) {

	/* Home
		 ========================================================================== */

	.cat-area .flex-block .list {
		width: calc(33.333% - 15px);
	}
	.relation-area h2 {
		width: calc(33.333% - 7.5px);
	}
	.relation-area .flex-block ul li {
		width: calc(33.333% - 15px);
	}
}

/**
  * Tablet Large 880px
  */
@media screen and (min-width: 55em) {

	.site-branding {
		margin: 0 25px 0 0;
	}

	/* Category
		 ========================================================================== */

	#cat_child_list .child_list_flex .list > a,
	#cat_child_list .child_list_flex .list > h2,
	#alacarte .alacarte_list .list > a,
	#alacarte .alacarte_list .list > h2 {
		margin-bottom: 16px;
	}
	#cat_child_list,
	#alacarte {
		padding-bottom: 24px;
		margin-bottom: 64px;
	}
	.product-group.column-grid {
		margin-bottom: 64px;
	}
	#alacarte .alacarte_list .list {
		width: calc(25% - 20px);
	}
	.global-navigation ul.default-menu li a {
		padding: 24px 8px;
		margin-right: 0;
	}
	.fb_breadcrumb {
		margin: 0 1.42857em;
		padding: 1.42857em 0;
	}
	.drawer-sp {
		width: 100%;
	}
}

/**
  * Tablet Large 1000px
  */
@media screen and (min-width: 62.5em) {
	#alacarte .alacarte_list .list {
		width: calc(20% - 20px);
	}
}

/**
  * Tablet Large 1150px
  */
@media screen and (min-width: 71.875em) {
	.drawer-sp {
		width: initial;
	}
}
