@charset "utf-8";
/*
ブレイクポイントは標準のLightningテーマおよびBootstrapの理念に基づき
$sm-min: 576px;
$md-min: 768px;
$lg-min: 992px;
$xl-min: 1200px;
となっているのでそれに準じてください。
*/


/* .ucart li {
    font-size: 12px;
}
 */
/*-------------------------------------------*/
/* ウェルカート　カートページ
/*-------------------------------------------*/
/* カートの中身 ＞　テーブルの中身をGridレイアウト */
table#cart_table thead {
    display: none;
}
table#cart_table tfoot {
    display: grid;
}
table#cart_table tbody tr {
    display:grid;
    grid-template-columns: 100px auto auto;
    grid-template-rows: repeat(4, auto);
    width: 100%;
	gap: 0 1rem;
	margin-bottom: 1.5rem;
	border-bottom: solid 1px var(--welcart-color-border);
	padding-bottom: 1.5rem;
}
table#cart_table th,
table#cart_table td {
    padding: 0;
    border: none;
    text-align: left !important;
}
table#cart_table tbody .num {
    display: none;
}
table#cart_table tbody .thumbnail {
    grid-area: 1 / 1 / 6 / 2; 
}
table#cart_table tbody td.productname {
    grid-area: 1 / 2 / 2 / 4;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: .5em;
}
table#cart_table tbody td.unitprice {
    grid-area: 2 / 2 / 3 / 4;
	color: #aaa;
}
table#cart_table tbody td.unitprice::before{
	content:'商品単価：';
}
table#cart_table tbody td.stock {
    grid-area: 3 / 2 / 4 / 4;
	color: #aaa;
}
table#cart_table tbody td.stock::before{
	content:'在庫状況：';
}
table#cart_table tbody td.subtotal {
    grid-area: 4 / 2 / 5 / 4;
	color: #aaa;
	display: none; /* 商品ごとの小計表示が不要な場合。 */
}
table#cart_table tbody td.subtotal::before{
	content:'商品小計：';
}
table#cart_table tbody td.quantity {
    grid-area: 5 / 2 / 6 / 3; 
/* 	min-width: 100%; */
	align-self: center;
	padding-top: 1rem;
}
table#cart_table tbody td.quantity input.quantity {
    width: 100%;
}
table#cart_table tbody td.action {
    grid-area:  5 / 3 / 6 / 4;
/* 	width:100%; */
	align-self: center;
	padding-top: 1rem;
}
table#cart_table tbody td.action input.delButton {
    width: 100%;
}

/* テーブルフッター・合計/ポイント欄 */
table#cart_table tfoot tr {
    display: flex;
    justify-content: space-between;
}
table#cart_table tfoot tr .num,
table#cart_table tfoot tr .thumbnail,
table#cart_table tfoot tr .action,
table#cart_table tfoot tr .stock{
    display:none;
}
table#cart_table tfoot tr th,
table#cart_table tfoot tr td{
/*     text-align:left !important; */
}


/*  マイページ　＞　会員情報・新規会員登録 */
#customer-info table.customer_form,
#memberinfo table.customer_form,
#newmember table.customer_form,
#memberedit table.customer_form,
#delivery-info table.customer_form,
#info-confirm #confirm_table{
	border:none;
	font-size:14px;
	
	tr {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
		gap:.5em;
		border-bottom: solid 1px var(--welcart-color-border);
            padding-bottom: 1em;
            margin-bottom: 1em;
	}
	th, td {
		width: 100%;
		padding: 0;
		font-size: 14px;
		border: 0;
	}
	 input:not([type="radio"]),
	 select{
		margin:0 1rem 0 0 !important;
		width: 100% !important;
	}
	.customer_form input[id^='address'] {
		width: 100% !important;
	}
}
#newmember .customer_form .name_td .member_name, #memberinfo .customer_form .name_td .member_name{
	padding:0;
}
/*-------------------------------------------*/
/* ウェルカート　メンバーページ */
/*-------------------------------------------*/
/* マイページ ＞会員情報 */
#memberdetail tr {
    display: flex;
    flex-wrap: wrap;
}
#memberdetail th {
    width: 40%;
}
#memberdetail td {
    width: 60%;
}
#memberdetail .blank {
    display: none;
}

/* マイページ　＞　会員情報変更 */
#memberedit .send{
    display: flex;
    flex-direction: column;
    padding-left: 30px;
    padding-right: 30px;
}
#memberedit .send input[name="editmember"] {
    order:1;
}
#memberedit .send input[name="top"] {
    order:2;
}
#memberedit .send input[name="back"] {
    order:3;
}
#memberedit .send input[name="deletemember"] {
    order:4;
}

/* マイページ＞購入履歴 */
table#history_head {
    display: grid;
    grid-template-columns: auto auto;
}
tr.order_head_label {
    display: flex;
    flex-direction: column;
}
tr.order_head_value {
    display: flex;
    flex-direction: column;
}
#memberinfo th.historyrow {
    background:none !important;
    font-size: 12px !important;
    border-width: 0 0 1px;
	padding: 5px 0 !important;
}
#memberinfo tr.order_head_value td {
    font-size: 12px !important;
    border-width: 0 0 1px;
	padding: 5px 0 !important;
}

#memberinfo .retail thead {
    display: none;
}
#memberinfo .retail tbody tr {
    display: grid;
    grid-template-columns: 2em 60px auto;
    grid-template-rows: repeat(4, auto);
    gap: 0 .5rem;
    margin-bottom: 1rem;
    border-bottom: solid 1px #ddd;
    padding-bottom: 1rem;
}
#memberinfo .retail tbody tr td {
    padding: 0;
    text-align: left;
    border: none;
}
td.cartrownum {
    grid-area: 1 / 1 / 6 / 2;
    align-self: center;
    text-align: right !important;
}
td.thumbnail {
    grid-area: 1 / 2 / 6 / 3;
    align-self: center;
}
td.productname {
    grid-area: 1 / 3 / 2 / 4;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: .5em;
    display: -webkit-box; /* Flexboxの代わりに使う */
    -webkit-box-orient: vertical; /* 縦方向にボックスを配置 */
    -webkit-line-clamp: 2; /* 2行に制限 */
    overflow: hidden; /* 溢れた部分を隠す */
}
td.price {
    grid-area: 2 / 3 / 3 / 4;
}
td.quantity {
    grid-area: 3 / 3 / 4 / 4;
}
td.subtotal {
    grid-area: 4 / 3 / 5 / 4;
}
td.price ,
td.quantity ,
td.subtotal {
    color:#aaa !important;
}
td.price::before ,
td.quantity::before,
td.subtotal::before {
    content: attr(data-label) "："; /* data-label 属性の値を表示 */
}
/* 会員　購入確認ページ */
#info-confirm #confirm_table th {
	width: 10rem;
	min-width:unset;
}

/*-------------------------------------------*/
/* ウェルカート　商品詳細ページ */
/*-------------------------------------------*/
section.item_detail {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.item_detail .item_img_area {
	position: static;
	width: 100%;
}
#itempage .itemsubimg {
    display: flex !important;
    flex-wrap: nowrap;
    overflow-x: scroll;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    margin-left: -15px;
    margin-right: -15px;
    padding: 3px 15px;
    height: 86px;
}
#itempage .itemsubimg li {
    min-width: 80px;
    scroll-snap-align: start;
    scroll-margin-left: 15px;
	aspect-ratio: 1;
}
/* 複数SKU 表示調整 */
#itempage table.skumulti tr {
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
}
#itempage table.skumulti tr td.skudisp {
    grid-area: 1 / 1 / 2 / 3;
    border-bottom: none !important;
    display: inline-flex;
    flex-direction: row;
    align-items: baseline;
    gap: 0.5em;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
#itempage table.skumulti tr td.quant {
    grid-area: 2 / 1 / 3 / 2;
}
#itempage table.skumulti tr td.button {
    grid-area: 2 / 2 / 3 / 3;
    width: auto !important;
}


/*-------------------------------------------*/
/* ウェルカート設定　ここまで */
/*-------------------------------------------*/

/* 以下、新川追加分 */
#site-header-container .site-header-logo {
    padding-top: 1rem;
	padding-bottom:1rem;
}

#vk-mobile-nav-menu-btn {
    text-indent: 0;
    display: grid;
    align-items: end;
    justify-content: center;
    font-size: 11px;
    background-position-y: -4px;
    font-weight: bold;
}

/*-------------------------
TOPページ
---------------------------*/
/*ヒーローエリアnews*/
.heronews {
	flex-direction:column;
	align-items: start;
}
.heronews .wp-block-heading {
	border-right:none;
	padding-inline:0;
	padding-bottom:.5rem;
}
.heronews .vk_post {
	padding:0!important;
	margin-inline:0;
}

/*カテゴリー*/
.cate-btn .vk_button_link_caption {
	font-size:15px;
}

/*商品一覧*/
span.price {
	font-size:140%;
}

/*下固定*/
.mobile-fixedbtn {
	position:fixed;
	left:0;
	bottom:0;
	z-index:1000;
	width:100%;
}
.mobile-fixedbtn .vk_buttons_col {	
	flex-wrap:nowrap;
}
.mobile-fixedbtn.header-cart-button .vk_button .vk_button_link_txt {
	font-size:.8rem;
}
.site-footer-copyright {
	margin-bottom:60px;
}