@charset utf-8;

/** ===============================================================================================


	ECサイト( WooCommerce用CSS)

	@author  K.Sekioka of HEVIZ Co.,Ltd.


=================================================================================================== **/


:root {
	--numeric-font-family : "Jost" , sans-serif;
	--text-color: #231815;
	--hover-color: #cc0000;
}



/** ---------------------------------------------------------------------------


	値段の表示 : 主に .post.tile.product用


------------------------------------------------------------------------------- **/

.productPrices {
	display: block;
	position: relative;
	margin: 0;
	padding: 0;
	font-size: smaller;
}

.productPrices.hasVariation {}

.productPrices ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

.productPrices .productPrice{
	margin: 0;
	padding: 0;
	text-align: right;
}

.productPrices .productPrice.hasStock {}

.productPrices .productPrice dl {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: flex-end;
	align-items: center;
	margin: 0;
	padding: 0
}

.productPrices .productPrice dt {
	margin: 0;
	padding: 0 1em 0 0;
	font-weight: inherit;
}

.productPrices .productPrice dd {
	margin: 0;
	padding: 0;
}

.productPrices .productPrice ins {
	padding: 0 3px;
	text-decoration: none;
	font-size: larger;
}

.productPrices .productPrice del {
	padding: 0 3px;
	font-size: inherit;
	font-weight: inherit;
	text-decoration: line-through;
}

.productPrices .productPrice span {
	font-size: smaller;
	padding-left: 0.5em;
}


.productPrices .productPrice .tax {}



/* 在庫無し */
.productPrices .productPrice.noStock {}

.productPrices .productPrice .empty {
	font-size: smaller;
	padding-left: 0.5em;
}


/* 販売終了 */
.tileEnded {
	text-align: right;
	font-size: smaller;
}



/** ---------------------------------------------------------------------------


	パーツ : カートに入れるボタン


------------------------------------------------------------------------------- **/



.productCarts {
	display: block;
	position: relative;
	margin: 50px 0 0 0;
	padding: 0;
}
.productCarts.hasVariation {}


.productCart {
	display: block;
	position: relative;
	margin: 10px 0 0 0;
	padding: 0;
}
.productCart:first-child {
	margin: 0;
}

.productCart.variation {}

.productCart.hasStock {}

.productCart.noStock {}

.productCart dl {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: flex-end;
	align-items: center;
	margin: 0;
	padding: 0;
}

.productCart dt {
	margin: 0;
	padding: 0
}

.productCart dt.variation {
	padding: 0 1em 0 0;
}

.productCart dd {
	margin: 0;
	padding: 0;
}

.productCart dd.price {
	font-size: smaller;
}

.productCart dd.price ins {
	padding: 0 3px;
	text-decoration: none;
	font-size: 20px;
	font-family: var( --numeric-font-family );
}

.productCart dd.price del {
	padding: 0 3px;
	font-size: inherit;
	font-weight: inherit;
	text-decoration: line-through;
	font-family: var( --numeric-font-family );
}

.productCart dd.price span {
	font-size: smaller;
	padding-left: 0.5em;
}

.productCart dd.price span.tax {}

.productCart dd.price span.empty {
	display: block;
	position: relative;
	margin: 0;
	padding: 10px 30px;
	font-size: larger;
	line-height: 1;
	background-color: rgba( 255,255,255,0.2 );
	color: #aaaaaa;
}

.productCart dd.cart {}

.productCart input[type="submit"] {}



/* 在庫なし */
.productEmpty {
	display: block;
	margin: 0 20px 0 0;
	padding: 10px;
	background-color: #f0f0f0;
	color: #aaaaaa;
}

.productCart .productVariation {
	margin: 0 20px 0 0;
}

.productCart .productPrice {
	display: block;
	margin: 0 20px 0 0;
}

.productCart .productPrice span {}

.productCart .productPrice strong {
	padding: 0 5px;
	font-family: "Cormorant Garamond" , serif;
	font-family: "Jost" , sans-serif;
	font-weight: 400;
	font-size: 24px;
}

.productCart > *:last-child {
	margin-right: 0;
}

.productCart input[type="submit"] {
	margin-left: 10px;
	border-radius: 5px;
	transition: all 0.3s;
}



/** ----------------------------------------------------------------------------


	商品タイル template.css -> .post.tileからの拡張


-------------------------------------------------------------------------------- **/



/** ---------------------------------------------------------------------------


	商品詳細 : template.css -> .post.singleの拡張


------------------------------------------------------------------------------- **/



/** ---------------------------------------------------------------------------


	商品詳細・商品一覧用 商品表示 共通


------------------------------------------------------------------------------- **/



/* 商品画像 ---------------------------------------- */

.productImages {
	display: block;
	position: relative;
	width: 50%;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

.productImages .hvSlider .screen > ul > li {
	text-align: center;
	background-color: transparent;
}

.productImages .hvSlider .pointer.image li {
    background-color: transparent;
}



/* 説明部分 ----------------------------------------- */

.productDesc {
	display: block;
	position: relative;
	width: 50%;
	margin: 0;
	padding: 30px 0 0 30px;
	box-sizing: border-box;
}


/* 商品名 ------------------------------------------- */

.productTitle {
	margin: 0;
	padding: 0;
	font-size: 24px;
	font-weight: 700;
}

.productTitle a {}
.productTitle a:link,
.productTitle a:visited { color: inherit; }



/** 短い説明 ---------------------------------------- */

.productExcerpt {
	margin: 50px 0 0 0;
	padding: 0;
}



/* スペック表示用 */
.productExcerpt table {
	font-size: smaller;
}

.productExcerpt table tr td {
	border-left: 0;
	border-right: 0;
	border-color: #ddd;
}

.productExcerpt table tr td:first-child {
	white-space: nowrap;
}


.productExcerpt.richEdit h3,
.productExcerpt.richEdit h4 {
    padding: 0;
    background-color: transparent;
    border-left: 0;
}


/* メタ ----------------------------------------------- */

.productMeta {
	margin: 30px 0 0 0;
}












/** ---------------------------------------------------------------------------


	記事ページ埋め込み用 商品表示


------------------------------------------------------------------------------- **/


.product.insert {
	display: block;
	position: relative;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}




/** ---------------------------------------------------------------------------


	商品詳細ページ


------------------------------------------------------------------------------- **/


.product.detail {
	display: block;
	position: relative;
/*	width: calc( 100% - 100px ); */
	margin: 0 0 50px;
	padding: 0;
}


.product.detail .productHeader {
	position: relative;
	margin: 0;
	padding: 50px;
	align-items: center;
	background-color: #f0f0f0;
}

.product.detail .productContent {
	width: calc( 100% - 100px );
	max-width: 1200px;
	margin: 50px auto 0;
	padding: 0;
}





/** ---------------------------------------------------------------------------


	商品一覧


------------------------------------------------------------------------------- **/



.productTiles {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: flex-start;
	
	position: relative;
	width: calc( 100% - 100px );
	max-width: 1200px;
	margin: 50px auto 0;
	padding: 0;
}




/** ---------------------------------------------------------------------------

	商品一覧用 商品表示

------------------------------------------------------------------------------- **/



/** ---------------------------------------------------------------------------

	商品カテゴリー

------------------------------------------------------------------------------- **/

.product-category {
	margin: 0;
	padding: 0;
	font-size: inherit;
	font-weight: inherit;
}

.product-category a {
	color: inherit;
	text-decoration: none;
}

.product-category a:link,
.product-category a:visted { color: inherit; }
.product-category a:hover,
.product-category a:active { color: inherit; text-decoration: underline; }












/** ---------------------------------------------------------------------------


	商品一覧用 商品表示


------------------------------------------------------------------------------- **/

.product.summary {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	align-items: flex-start;
	position: relative;
	margin: 30px 0 0;
	padding: 30px;
}

.product.summary .product-header-left {
	display: block;
	position: relative;
	width: 50%;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

.product.summary .product-images {}

.product.summary .product-images .hvSlider {}

.product.summary .product-header-right {
	display: block;
	position: relative;
	width: 50%;
	margin: 0;
	padding: 30px 0 0 30px;
	box-sizing: border-box;
}

.product.summary .product-title {}

.product.summary .product-excerpt {}

.product.summary .product-carts {}

.product.summary .product-cart {}



/** ---------------------------------------------------------------------------


	ショートコード : カテゴリー商品一覧埋め込み


------------------------------------------------------------------------------- **/

.block.products.category {
	display: block;
	position: relative;
	margin: 100px 0;
	padding: 0;
}

.block.products.category .blockHeader {}

.block.products.category .blockTitle {
	margin: 0;
	padding: 10px;
	text-align: left;
	font-size: 24px;

	background-color: rgba(0,0,0,0.1);
    border-left: 5px solid #C11825;
}

.block.products.category .productSummaries {}


.block.products.category .product.summary {
	margin: 30px 0;
	background-color: #ffffff;
}










/** ---------------------------------------------------------------------------


	商品一覧ページ


------------------------------------------------------------------------------- **/

.product-list {
	display: block;
	position: relative;
	width: calc( 100% - 100px );
	max-width: 1000px;
	margin: 0 auto 100px;
	padding: 0;	
}




/** ----------------------------------------------------------------------------


	商品詳細article


-------------------------------------------------------------------------------- **/


/*
.product.detail {
	display: block;
	position: relative;
	width: calc( 100% - 60px );
	max-width: 1000px;
	margin: 50px auto 100px;
	padding: 0;
}

.product.detail .product-header {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: flex-start;
	position: relative;
	margin: 0;
	padding: 20px;
	
	border: 1px solid #e0e0e0;
	background-color: #ffffff;
}

.product.detail .product-header-left {
	display: block;
	position: relative;
	width: 50%;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

.product.detail .product-images {}

.product.detail .product-header-right {
	display: block;
	position: relative;
	width: 50%;
	margin: 0;
	padding: 30px 0 0 30px;
	box-sizing: border-box;
}

.product.detail .product-title {}

.product.detail .product-body {}

.product.detail .product-content {}
*/


/** --------------------------------------------------------------------------------


	購入ページの購入内容
	※ woocommerce/checkout/review-order.phpの書き換え対応


----------------------------------------------------------------------------------- **/








/** ----------------------------------------------------------------------------


	商品タイル


-------------------------------------------------------------------------------- **/

.productTile {}

.productTile a:link,
.productTile a:visited { color: inherit; }

.productTile > dl {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: center;
	margin: 0;
	padding: 0;
}

.productTile > dl > dt {
	display: block;
	position: relative;
	width: 100px;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

.productTile  > dl > dd {
	display: block;
	position: relative;
	width: calc( 100% - 100px );
	margin: 0;
	padding: 0 0 0 20px;
	box-sizing: border-box;
	text-align: left;
}

.productTile .productImage img {
	width: 100% !important;
	vertical-align: bottom;
}

.productTile .productName {
	margin: 0 0 5px;
	padding: 0;
	font-size: inherit;
	font-weight: 700;
}

.productTile .productPrice {
	display: inline-block;
	vertical-align: middle;
	margin: 0;
	padding: 0;
}

.productTile .productQuantity {
	display: inline-block;
	vertical-align: middle;
	margin: 0;
	padding: 0 0 0 10px;
}

.productTile .productQuantity input[type="number"] {
	width: 5em;
	padding: 5px;
	text-align: center;
}



/** ----------------------------------------------------------------------------


	ショートコード : カテゴリー毎の商品タイル一覧


-------------------------------------------------------------------------------- **/


.products.tiles {
	display: block;
	position: relative;
	margin: 50px 0 0 0;
	padding: 0;
}

.products.tiles .tilesTitle {
	display: block;
	position: relative;
	margin: 0;
	padding: 0 0 20px;
	text-align: center;
}
.products.tiles .tilesTitle::after {
	content: "";
	display: block;
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 30px;
	height: 3px;
	margin: 0;
	padding: 0;
	background-color: #DD2427;
	transform: translateX(-50%);
}

.products.tiles .productTiles {
	justify-content: center;
	width: auto;
	max-width: none;
}



/** ----------------------------------------------------------------------------


	カート (woocommerceの上書き)


-------------------------------------------------------------------------------- **/


/* 左右に並べる */
.post.single.cart .woocommerce {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	align-items: stretch;
}

.post.single.cart .woocommerce-notices-wrapper {
	width: 100%;	
}

.post.single.cart .woocommerce-cart-form {
	width: 60%;
	padding: 10px;
	box-sizing: border-box;
}

.post.single.cart .cart-collaterals {
	width: 40%;
	padding: 10px;
	box-sizing: border-box;
}


.post.single.cart .woocommerce-cart-form table.shop_table {
	width: 100% !important;
}

.post.single.cart .woocommerce .cart-collaterals .cart_totals {
    float: none;
    width: auto;
}



/* テーブル共通 ------------------------ */

.woocommerce table.shop_table {
	width: 100% !important;
	box-sizing: border-box;
	
	border-collapse: collapse;
	border-radius: 0;
	border: 0;
}

.woocommerce table.shop_table caption {
	font-size: larger;
	font-weight: 700;
	text-align: center;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
    border: 1px solid #c0c0c0;
}

.woocommerce-cart .cart-collaterals .cart_totals table th,
.woocommerce-cart .cart-collaterals .cart_totals table td,
.woocommerce-cart .cart-collaterals .cart_totals table tr:first-child th,
.woocommerce-cart .cart-collaterals .cart_totals table tr:first-child td {
	border-top: 1px solid #c0c0c0;
	border-left: 1px solid #c0c0c0;
	border-right: 1px solid #c0c0c0;
}



/* カート用の商品表示 -------------------- */

.product.cart {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
	position: relative;
	margin: 0;
	padding: 0;
}

.product.cart a:link,
.product.cart a:visited { color:inherit; }

.product.cart .cartImage {
	display: block;
	position: relative;
	width: 100px;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

.product.cart .cartImage img {
	width: 100%;
	vertical-align: bottom;
}

.product.cart .cartDesc {
	display: block;
	position: relative;
	width: calc( 100% - 100px );
	margin: 0;
	padding: 0 0 0 20px;
	box-sizing: border-box;
	text-align: left !important;
}

.product.cart .cartTitle {
	margin: 0;
	padding: 0;
	font-size: larger;
}

.product.cart .woocommerce-Price-amount {
	font-family: var( --numeric-font-family );
	font-size: larger;
	font-weight: inherit;
}

.product.cart input[type="number"] {
	width: 4em;
	vertical-align: middle;
}

.product.cart .woocommerce-Price-amount .woocommerce-Price-currencySymbol {
	font-size: inherit;
}

/* 削除ボタン */
.woocommerce a.remove {
    display: inline-block;
	margin-left: 5px;
	vertical-align: middle;
}



/* クーポン */
.woocommerce table.cart td.actions .coupon {
	float: none;
	margin-bottom: 15px;
}

.woocommerce table.cart td.actions .coupon .input-text {
	float: none;
	width: calc( 60% - 0.5em );
	box-sizing: border-box;
	border-radius: 5px;
}

.woocommerce table.cart td.actions .coupon .button {
	width: 40%;
	box-sizing: border-box;
}



.woocommerce-cart table.cart td.actions .coupon .input-text {
	float: none;
    box-sizing: border-box;
    border: 1px solid #d3ced2;
    padding: 6px 6px 5px;
    margin: 0 4px 0 0;
    outline: 0;
}

.woocommerce-cart table.cart button[name="update_cart"] {
	width: 100%;
	box-sizing: border-box;
}


/* 合計 */
.woocommerce table.shop_table_responsive tr.cart-subtotal td,
.woocommerce table.shop_table_responsive tr.order-total td {
	text-align: right;
}


/* 送料選択 */
.woocommerce form .form-row-first#calc_shipping_state_field,
.woocommerce-page form .form-row-last#calc_shipping_state_field {
	float: none;
    width: 100%;
}



/** for Smart Phone ---------------------------------------- **/

@media all and (max-width:767px) {

	/* 左右に並べる */
	.post.single.cart .woocommerce {
		display: block;
	}

	.post.single.cart .woocommerce-cart-form,
	.post.single.cart .cart-collaterals {
		width: auto;
		padding: 10px 0;
	}


	/* テーブル共通 ------------------------ */
	
	
	.woocommerce table.shop_table_responsive tbody th,
	.woocommerce-page table.shop_table_responsive tbody th {
		display: table-cell;
	}

	.post.single.cart .woocommerce table.shop_table td::before {
		display: none;
	}
	
	.woocommerce table.shop_table_responsive tr,
	.woocommerce-page table.shop_table_responsive tr {
		display: table-row;
	}
	
	.woocommerce table.shop_table_responsive tr td,
	.woocommerce-page table.shop_table_responsive tr td {
		display: table-cell;
 		text-align: left !important;
	}
	
	.woocommerce table.shop_table_responsive tbody tr:first-child td:first-child,
	.woocommerce-page table.shop_table_responsive tbody tr:first-child td:first-child {
		border-top: 1px solid #c0c0c0;
	}

	

	/* 合計 ------------------------------ */
		
	.woocommerce table.shop_table_responsive tr.cart-subtotal td,
	.woocommerce table.shop_table_responsive tr.order-total td {
		text-align: right !important;
	}
}












/** ---------------------------------------------------------------------------


	お支払いページ


------------------------------------------------------------------------------- **/



/* フォーム共通 */
.woocommerce form .form-row-first,
.woocommerce form .form-row-last,
.woocommerce-page form .form-row-first,
.woocommerce-page form .form-row-last {
	width: 50%;
	box-sizing: border-box;
}


/* 支払い */
.woocommerce-checkout #payment div.form-row.place-order {
    padding: 1em 0;
}




/* 固定ページarticleを拡張する */
/*
.post.page.checkout {
    width: auto;
    max-width: none;
    margin: 0 0 100px;
}

.post.page.checkout .post-header {
    width: calc( 100% - 100px );
    max-width: 1000px;
    margin: 0 auto;
}

.post.page.checkout .post-content {}
*/


/* 横並びにする */
/*
form.woocommerce-checkout {
	display: flex;
	flex-direction: row-reverse;
	flex-wrap: wrap;
	justify-content: center;
	align-items: stretch;
}

form.woocommerce-checkout .woocommerce-checkout-review-order {
	display: block;
	position: relative;
	width: 40%;
	margin: 0;
	padding: 0 30px;
	box-sizing: border-box;
	
	background-color: #f5f5f5;
	border-right: 1px solid #f0f0f0;
}

form.woocommerce-checkout table.shop_table {}

form.woocommerce-checkout .checkout_inputs {
	display: block;
	position: relative;
	width: 60%;
	margin: 0;
	padding: 0 30px;
	box-sizing: border-box;
}
*/

/* selectの表示がおかしい */



/* 支払いフォームが崩れているので修正 */

#add_payment_method #payment, .woocommerce-cart #payment, .woocommerce-checkout #payment {
    background: transparent;
    border-radius: 0;
}

tr.cart-subtotal td,
tr.order-total td {
	text-align: right;
}


/* 購入ボタン */
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
	margin-bottom: 0;
}




/*
#add_payment_method #payment div.payment_box .form-row,
.woocommerce-cart #payment div.payment_box .form-row,
.woocommerce-checkout #payment div.payment_box .form-row {
    margin: 0;
}


.woocommerce form .form-row-first,
.woocommerce form .form-row-last,
.woocommerce-page form .form-row-first,
.woocommerce-page form .form-row-last {
	width: calc( 50% - 1em );
	box-sizing: border-box;
}
*/





/* 支払い方法の選択 */
.woocommerce-checkout #payment ul.payment_methods {
    padding: 1em 0;
}


