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


body.page {
        font-size: calc(var(--vk-size-text) * 1);
    }
h2.en-heading {
    font-size: 2.5rem;
}
div#vk-mobile-nav-menu-btn {
    color: transparent;
}
/*-------------------------------------------*/
/* ウェルカート　カートページ
/*-------------------------------------------*/
/* カートの中身 ＞　テーブルの中身を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;
}

#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;
}


/**ヘッダー**/
.site-header-container.container {
	max-width:100%;	
	margin-right:unset;
}
#site-header-container .site-header-logo {
	padding-bottom:1rem;
}

/**フッター**/
.site-footer-copyright p {
	position:static;
}

/*要素を広げる解除*/
.column-out-right{
    margin-right: unset;
}
.column-out-left{
    margin-left: unset;
}

.gap-0 {
	gap:0;
}


/*メディアとテキスト*/
@media (max-width: 600px) {
	.wp-block-media-text>.wp-block-media-text__content {
		padding-right:0;
		padding-left:0;
		margin-top: 2rem;
	}
}

/*ボタン枠あり*/
/*ボタンベタ*/
.vk_button_link.btn.is-style-outline,
.vk_button_link.btn.has-background {
	min-width:100%!important;
	padding:1.5rem 3rem 1.5rem 1.5rem;
}
.vk_button_link.btn.is-style-outline .vk_button_link_after,
.vk_button_link.btn.has-background .vk_button_link_after {
	right:1rem;
}

/**googlemap**/
.gmap {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 56.25%;
}
.gmap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/*テーブル（レンタル）*/
.table-rental th,
.table-rental td {
	padding:.5rem!important;
	font-size:1rem!important;
}
.table-rental tr:nth-child(-n+3) {
display: grid;
grid-template-columns: 1fr 1fr;
grid-template-rows: repeat(2, auto);
grid-column-gap: 0px;
grid-row-gap: 0px;
}
.table-rental tr:nth-child(-n+3) th { 
	grid-area: 1 / 1 / 2 / 3;
	width:100%!important;
}
.table-rental tr:nth-child(-n+3) td:nth-child(1) { grid-area: 2 / 1 / 3 / 2; }
.table-rental tr:nth-child(-n+3) td:nth-child(3) { grid-area: 2 / 2 / 3 / 3; }

/*4行目から*/
.table-rental tr:nth-child(n+4) {
display: grid;
grid-template-columns: 1fr;
grid-template-rows: repeat(2, auto);
grid-column-gap: 0px;
grid-row-gap: 0px;
}
.table-rental tr:nth-child(n+4) th { 
	grid-area: 1 / 1 / 2 / 2;
	width:100%!important;
}
.table-rental tr:nth-child(n+4) td {
	grid-area: 2 / 1 / 3 / 2;
}
.table-rental td.table-rental-thead {
    font-size: 1.5rem !important;
    font-weight: bold;
}

/*テーブル（フッターinfo）*/
.table-info tr:first-child {
display: grid;
grid-template-columns: auto 1fr;
grid-template-rows: repeat(2, auto);
grid-column-gap: 0px;
grid-row-gap: 0px;
}
.table-info tr:first-child td:first-child { grid-area: 1 / 1 / 2 / 3; }
.table-info tr:first-child td:nth-child(2) { grid-area: 2 / 1 / 3 / 2; }
.table-info tr:first-child td:nth-child(3) { grid-area: 2 / 2 / 3 / 3; }

.table-info tr:nth-child(n+2) {
display: grid;
grid-template-columns: auto 1fr;
grid-template-rows: 1fr;
grid-column-gap: 0px;
grid-row-gap: 0px;
}
.table-info tr:nth-child(n+2) td:first-child { grid-area: 1 / 1 / 2 / 2; }
.table-info tr:nth-child(n+2) td:last-child { grid-area: 1 / 2 / 2 / 3; }


/* メールフォーム */
.smf-file-control {
    margin-bottom: 2rem;
    font-size: 14px;
    letter-spacing: 0;
}
span.smf-file-control__clear {
    margin: 0;
}