@charset "utf-8";
/*
ブレイクポイントは標準のLightningテーマおよびBootstrapの理念に基づき
$sm-min: 576px;
$md-min: 768px;
$lg-min: 992px;
$xl-min: 1200px;
となっているのでそれに準じてください。
*/
/*root*/ :root {
  --vk-mobile-nav-menu-btn-bg-src: url("https://serveronly18.xsrv.jp/grow/wp-content/themes/lightning/_g3/inc/vk-mobile-nav/package/images/vk-menu-btn-white.svg");
  --vk-mobile-nav-menu-btn-close-bg-src: url("https://serveronly18.xsrv.jp/grow/wp-content/themes/lightning/_g3/inc/vk-mobile-nav/package/images/vk-menu-close-black.svg");
  --vk-menu-acc-icon-open-black-bg-src: url("https://serveronly18.xsrv.jp/grow/wp-content/themes/lightning/_g3/inc/vk-mobile-nav/package/images/vk-menu-acc-icon-open-white.svg");
}
/*汎用*/
.order1 {
  order: 1;
}
.order2 {
  order: 2;
}
/*余白調整*/
.gap-none {
  gap: 0;
}
.gap-4em {
  gap: 2em;
}
.gap-3em {
  gap: 1em;
}
.gap-2em {
  gap: 0;
}
.gap-1em {
  gap: 0;
}
/*ヘッダー*/
.home .site-header-logo {
  display: none !important;
}
.site-header {
  min-height: 58px !important;
}
.site-header-logo img {
  max-height: 38px !important;
}

body, html {
    #site-header-container {
        position: relative;
        min-height: 44px;
    }
}

body, html {
    .head-btn img {
        width: 60px;
        margin: 0 4px;
    }
}

/*ヘッダーサブコンテナーを表示させる*/
.header_nav_search_container {
  display: block;
}
/*ハンバーガー*/
#vk-mobile-nav {
  padding-top: 85px;
}
#vk-mobile-nav-menu-btn {
  height: 58px;
  width: 58px;
}
.mobile-nav-btn-right .vk-mobile-nav-menu-btn, .vk-mobile-nav-menu-btn.position-right {
  right: 0;
  top: 0;
}
.vk-mobile-nav-menu-btn {
  border: medium none;
  border-radius: 0;
  cursor: pointer;
  text-indent: -9999px;
}
.vk-mobile-nav-menu-btn {
  background: url(../../../wp-content/themes/lightning/_g3/inc/vk-mobile-nav/package/images/vk-menu-btn-white.svg) center bottom no-repeat rgba(255, 255, 255, 1);
  background-size: 40px 50px;
  background-color: #333;
  color: #fff;
  font-family: var(--min);
  font-size: .6rem !important;
  padding: 10px;
}
.vk-mobile-nav-menu-btn.menu-open {
  background: url(../../../wp-content/themes/lightning/_g3/inc/vk-mobile-nav/package/images/vk-menu-close-white.svg) center bottom no-repeat rgba(255, 255, 255, 1);
  background-size: 40px 50px;
  background-color: #000;
}
.vk-mobile-nav {
  background-color: var(--vk-color-custom-3);
  border-bottom: medium none;
}
.wp-block-columns.is-not-stacked-on-mobile {
  flex-wrap: nowrap !important;
  gap: 0.5em;
}
.vk-mobile-nav .acc-btn {
  border-width: 0;
}
/*パンくず*/
ol.breadcrumb-list {
  white-space: normal;
}
/* フッターウィジェット、フッターロゴ、コピーライト */
.site-footer-content {
  padding: 1em 0 2em 0 !important;
}
.copyright {
  text-align: center;
  margin: 0 auto;
}
.site-footer-content .widget_nav_menu {
  display: none;
}
/*FV*/
.fv {
  align-items: stretch !important;
  min-height: 76vh !important;
}
.fv .copy {
  font-size: 2.7rem !important;
  margin-bottom: .5em !important;
  line-height: 1.4em;
}
.fv .wp-block-cover__inner-container {
  padding: 40vh 2em 0 !important;
}
/* .fv-subcopy {
  font-size: 1.1rem !important;
} */

/*スクロール*/
.scroll {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  white-space: nowrap;
  justify-content: center;
}
/*コンセプト*/
.concept-item {
  padding: 0 !important;
}
.concept-item .wp-block-media-text__content {
  padding-top: 4em !important;
  padding: 3em 2em !important;
}
/*コンセプト > 4列のレイアウト*/
.concept-grid {
  display: block;
  padding: 0 2em;
}
.concept-grid .wp-block-column {
  padding: 3em 0;
  border-left: medium none;
  border-top: 1px solid #999;
}
.concept-grid .wp-block-column:first-child {
  padding-left: 0;
  border-left: none;
  border-top: medium none;
}
/*products*/
.product .vertical-text {
  position: absolute;
}
.product .wp-block-media-text__content {
  padding: 1em 0 0 0;
}
/*パララックス*/
.parallax {
  min-height: 30vh !important;
}
/* .ucart li {
    font-size: 12px;
}
 */
/* ストーリー */
.story-catch{
    margin-top: 0.5em!important;
}


 */
/*-------------------------------------------*/
/* ウェルカート　カートページ
/*-------------------------------------------*/
/* カートの中身 ＞　テーブルの中身を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: 0;
  top:10px;
}
#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;
  left: 0;
  top: 0;
}

/*-------------------------------------------*/
/* ショッピングカート */
/*-------------------------------------------*/
.post-2965 .send .to_customerinfo_button{
        margin-top: 20px!important;
        margin-right: 10px!important;
}
.sp-menu-cart .cart_num{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 24px;
    padding: 0;
    border-radius: 50%;
    font-size: 8px;
    line-height: 1;
    box-sizing: border-box;
	top: 12px;
    right: 25px;
}


    /* テーブル全体のブロック化 */
    #cart #cart_table,
    #cart #cart_table thead,
    #cart #cart_table tbody,
    #cart #cart_table th,
    #cart #cart_table td,
    #cart #cart_table tr {
        display: block !important;
        width: 100% !important;
    }

	    #cart #cart_table td.subtotal,
    #cart #cart_table .subtotal td {
        display: flex !important;
    }
	
    /* 見出し（thead）を非表示 */
    #cart #cart_table thead {
        display: none !important;
    }

    /* 各商品行をカード型レイアウトに */
    #cart #cart_table tbody tr {
        margin-bottom: 1.5rem;
        padding: 1rem;
        border: 1px solid #ddd;
        background: #fff;
    }

    /* Welcartデフォルトで display: none にされがちな要素を強制再表示 */
    #cart #cart_table td {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        padding: 0.5rem 0;
        border: none;
        border-bottom: 1px dashed #eee;
    }

    #cart #cart_table td:last-child {
        border-bottom: none;
    }

    /* サムネイル画像や削除ボタン等の非表示解除 */
    #cart #cart_table .thumbnail,
    #cart #cart_table .action,
    #cart #cart_table .subtotal {
        display: block !important;
    }


  #memberdetail,
    #memberdetail tbody,
    #memberdetail tr,
    #memberdetail th,
    #memberdetail td {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    #memberdetail tr {
        border-bottom: none !important;
        margin-bottom: 15px;
        border: 1px solid #eee;
    }

    #memberdetail th {
        background-color: #f2f2f2 !important;
        padding: 8px 12px !important;
        border-bottom: 1px solid #eee !important;
    }

    #memberdetail td {
        padding: 10px 12px !important;
        border-bottom: 1px solid #eee !important;
    }

    #memberdetail td:last-child {
        border-bottom: none !important;
    }



    /* 入会日を含め、すべてのデータセル(td)の下に確実に下線を引く */
    #memberdetail td,
    #memberdetail tr td:last-child {
        border-bottom: 1px solid #eee !important;
    }

    /* 各ブロック（tr）の外枠・下余白の調整 */
    #memberdetail tr {
        border: 1px solid #eee !important;
        border-bottom: none !important; /* 中のtdの下線と二重になるのを防ぐ */
        margin-bottom: 15px !important;
        display: block !important;
        background-color: #fff;
    }

/* テーブル要素のブロック化 */
    #memberdetail,
    #memberdetail tbody,
    #memberdetail tr,
    #memberdetail th,
    #memberdetail td {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* 各行(tr)の設定 */
    #memberdetail tr {
        margin-bottom: 15px !important;
        border: none !important;
        background: transparent !important;
    }

    /* 全ての見出し(th)のデザイン */
    #memberdetail th {
        background-color: #f2f2f2 !important;
        padding: 8px 12px !important;
        font-weight: bold;
        border: 1px solid #eee !important;
        border-bottom: none !important;
    }

    /* 全てのデータ(td)のデザイン */
    #memberdetail td {
        background-color: #fff !important;
        padding: 10px 12px !important;
        border: 1px solid #eee !important;
    }

    /* 1行目の中にある「会員番号の値」と「入会日」の間に余白を作る */
    #memberdetail tr:first-child td:first-of-type {
        margin-bottom: 15px !important;
    }

    /* 不要な空セルの非表示 */
    #memberdetail .blank_cell,
    #memberdetail th.blank,
    #memberdetail td.blank,
    #memberdetail th:empty,
    #memberdetail td:empty {
        display: none !important;
    }

/*-------------------------------------------*/
/* ヘッダー：キャンペーンテキストとの重なり回避（SP・タブレット）
/* TOPページのみ .vk-campaign-text が出力される前提
/*-------------------------------------------*/
@media (max-width: 991px) {

    /* キャンペーンテキストの実測高さ。2行に折り返す場合はその高さを入れる */
    body.home {
        --campaign-h: 44px;
    }

    #site-header .vk-campaign-text {
        position: relative;
        z-index: 10;
    }

    /* ヘッダーの最小高さにキャンペーン分を加算（上部の 58px 指定を上書き） */
    /*body.home .site-header {
        min-height: calc(58px + var(--campaign-h)) !important;
    }*/

    /* ハンバーガーボタン：#site-header 基準の top:0 をキャンペーン分だけ下げる */
    /*body.home #vk-mobile-nav-menu-btn,
    body.home .mobile-nav-btn-right .vk-mobile-nav-menu-btn,
    body.home .vk-mobile-nav-menu-btn.position-right {
        top: var(--campaign-h);
    }*/

    /* カートバッジ：既存の top:12px にキャンペーン分を加算 */
    body.home .sp-menu-cart .cart_num {
        top: calc(12px + var(--campaign-h));
    }

    /* ロゴ：既存の top:10px にキャンペーン分を加算（.home では非表示のため保険） */
    body.home #site-header-container .site-header-logo {
        top: calc(10px + var(--campaign-h));
    }
}


/*-------------------------------------------*/
/* ヘッダー：下層ページのロゴ見切れ・左寄り解消（SP・タブレット）
/* TOPページは .home .site-header-logo が display:none のため対象外
/*-------------------------------------------*/
@media (max-width: 991px) {

    /* ヘッダーの器を確保。ロゴ画像の実高さ＋上下余白に合わせて調整 */
    body:not(.home) .site-header {
        min-height: 76px !important;
    }

    /* アイコン類は通常フローで右寄せ。ロゴの絶対配置の基準にもなる */
    body:not(.home) #site-header-container {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        min-height: 76px;
    }

    /* ロゴ：フローから外して常にコンテナの絶対中央へ
       両サイドの要素の幅に影響されないため、画面幅が変わっても左右にずれない */
    body:not(.home) #site-header-container .site-header-logo {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        margin: 0;
        padding-top: 0;
        z-index: 1;
    }

    /* ロゴ画像の上限。極小幅でアイコンに重ならないよう max-width も指定 */
    body:not(.home) #site-header-container .site-header-logo img {
        max-height: 56px;
        max-width: 40vw;
        width: auto;
    }

    /* アイコン類はロゴより手前に */
    body:not(.home) #site-header-container .header_nav_search_container {
        position: relative;
        z-index: 2;
    }
}
