/** Shopify CDN: Minification failed

Line 19:0 All "@import" rules must come first

**/
/* =============================================
   KITANI WINE custom.css
   最終更新：2026年7月3日
   ============================================= */

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* -------------------------------------------
   1. フォント
------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Noto+Sans+JP:wght@400;500;700&family=Zen+Old+Mincho:wght@400;700&display=swap');

body,
input,
textarea,
select,
button {
    font-family: 'DM Sans', 'Noto Sans JP', sans-serif;
    font-feature-settings: "palt", "kern" !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4 {
    font-family: 'DM Sans', 'Noto Sans JP', sans-serif;
    font-weight: 500 !important;
    font-feature-settings: "palt" 1;
    letter-spacing: 0em !important;
}

strong {
    font-weight: 500 !important;
}

.title.h2{
  font-size: 40px !important;
}

@media screen and (max-width: 767px) {
  .title.h2{
  font-size: 28px !important;
}
}

.product-text h1 {
    font-size: 40px !important; 
    line-height: 1.2; 
}

@media screen and (max-width: 767px) {
.product-text h1 {
    font-size: 28px !important; 
    line-height: 1.2; 
}
}

.card__text h1{
    font-size: 48px !important; 
    line-height: 1.4 !important; 
}

@media screen and (max-width: 767px) {
.card__text h1{
    font-size: 34px !important; 
}
}

.shopify-policy__title h1{
    font-size: 40px !important; 
    line-height: 1.4 !important; 
}

@media screen and (max-width: 767px) {
.shopify-policy__title h1{
    font-size: 28px !important; 
}
}





/* -------------------------------------------
   2. テキスト・本文・背景
------------------------------------------- */
body {
    line-height: 1.8;
    color: var(--color-text-main);
}

p {
    color: var(--color-text-main);
}

.product-card__vendor,
.card__subtext,
figcaption {
    color: #636360;
    font-size: 12px;
}

body::before {
  content: "";
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 100vh;
  background-image: url('/cdn/shop/files/background_1.webp?v=1784536809');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  z-index: -999;
  pointer-events: none;
  opacity: 0.5;
}

#element-template--22221868302553__rich_text_bFXJKM > div > div.rich-text__text.align-content.align-content--horizontal-left.align-content--vertical-middle {
    background: linear-gradient(135deg, rgba(231, 242, 203, 0.40) 0%, rgba(21, 77, 54, 0.40) 100%), #1A6B4A;
}

.table__heading{
    background: transparent !important;
}

/* -------------------------------------------
   3. ヒーロー キャッチコピー（縦書き・右寄せ・Zen Old Mincho）
------------------------------------------- */
.card--fullwidth .card__text {
    display: block !important;
    padding-top: 10vh !important;
    padding-right: 6vw !important;
    padding-left: 6vw !important;
    box-sizing: border-box !important;
}

/* 日本語：縦書き・右寄せ（margin-leftをautoにして箱の右端に寄せる） */
.card--fullwidth .card__text .h2 {
    font-family: 'Zen Old Mincho', serif !important;
    writing-mode: vertical-rl !important;
    text-orientation: upright !important;
    font-size: clamp(28px, 3.5vw, 52px) !important;
    font-weight: 400 !important;
    letter-spacing: 0.15em !important;
    line-height: 1.8 !important;
    text-align: start !important;
    width: auto !important;
    margin: 0 0 0 auto !important;
}

@media (max-width: 768px) {
    .card--fullwidth .card__text {
        padding-right: 4vw !important;
        padding-left: 4vw !important;
    }

    .card--fullwidth .card__text .h2 {
        font-size: clamp(32px, 8vw, 48px) !important;
    }
}

/* 英語：縦書き解除・横書きに */
html[lang="en"] .card--fullwidth .card__text .h2 {
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
    font-size: clamp(22px, 3vw, 44px) !important;
    letter-spacing: 0.05em !important;
    line-height: 1.4 !important;
    margin: 0 !important;
    text-align: right !important;
}

@media (max-width: 768px) {
    html[lang="en"] .card--fullwidth .card__text .h2 {
        font-size: clamp(24px, 7vw, 40px) !important;
    }
}

/* -------------------------------------------
   4. 角丸
------------------------------------------- */
/* 商品カードの角丸除去 */
:root {
    --border-radius-cards: 0px !important;
}

/* ボタンの角丸除去 */
.button,
button.button--solid,
.btn {
    border-radius: 0px !important;
}

/* 全幅コンポーネントの角丸除去 */
.card--fullwidth {
    border-radius: 0 !important;
}

.card--no-radius {
    border-radius: 0 !important;
}

/* -------------------------------------------
   5. ボタン共通スタイル（Primary / Secondary / Tertiary）
------------------------------------------- */

/* === Primary === */
.button--primary,
.button--primary.button--regular,
.button--primary.button--large,
.button--primary.button--small {
    background-color: #1A6B4A !important;
    color: #fff !important;
    min-width: 100px;
}

.no-touchevents .button--primary:hover,
.no-touchevents .button--primary.button--regular:hover,
.no-touchevents .button--primary.button--large:hover,
.no-touchevents .button--primary.button--small:hover {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.20) 100%), #1A6B4A !important;
    color: #fff !important;
}

/* === Secondary === */
.button--secondary,
.button--secondary.button--regular,
.button--secondary.button--large,
.button--secondary.button--small {
    background-color: #fff !important;
    color: #1A6B4A !important;
    border: 1px solid #1A6B4A !important;
}

.no-touchevents .button--secondary:hover,
.no-touchevents .button--secondary.button--regular:hover,
.no-touchevents .button--secondary.button--large:hover,
.no-touchevents .button--secondary.button--small:hover {
    background-color: #EDF7F2 !important;
    border-color: #1A6B4A !important;
    color: #1A6B4A !important;
}

/* === Tertiary（通常背景用）=== */
.button--outline.button--regular,
.button--outline.button--large,
.button--outline.button--small,
.button--primary.button--regular,
.button--primary.button--large {
    background-color: transparent !important;
    color: var(--color-text-main) !important;
    border: 1px solid rgba(26, 36, 34, 0.1) !important;
}

.no-touchevents .button--outline.button--regular:hover,
.no-touchevents .button--outline.button--large:hover,
.no-touchevents .button--outline.button--small:hover,
.no-touchevents .button--primary.button--regular:hover,
.no-touchevents .button--primary.button--large:hover {
    background-color: #EDF7F2 !important;
    color: var(--color-text-main) !important;
    border-color: rgba(26, 36, 34, 0.3) !important;
}

/* === Tertiary on dark（濃い背景用）=== */
/* 木谷ワインについて / ラベルギャラリーを見る セクション */
#shopify-section-template--22221868302553__rich_text_bFXJKM .button--outline,
#shopify-section-template--22221868302553__media_with_text_overlay_N69C9L .button--outline {
    background-color: transparent !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
}

.no-touchevents #shopify-section-template--22221868302553__rich_text_bFXJKM .button--outline:hover,
.no-touchevents #shopify-section-template--22221868302553__media_with_text_overlay_N69C9L .button--outline:hover {
    background-color: #EDF7F2 !important;
    color: var(--color-text-main) !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
}

/* === Tertiary on dark：ラベルギャラリーを見るボタン（テーマ側の埋め込みstyleに勝つための詳細度強化） === */
#shopify-section-template--22221868302553__media_with_text_overlay_N69C9L .card__text .increased-spacing .button--outline {
    background-color: transparent !important;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
}

.no-touchevents #shopify-section-template--22221868302553__media_with_text_overlay_N69C9L .card__text .increased-spacing .button--outline:hover {
    background-color: #EDF7F2 !important;
    color: var(--color-text-main) !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
}

/* -------------------------------------------
   6. ヘッダー
------------------------------------------- */
.header__top {
    padding-top: 16px !important;
    padding-bottom: 16px !important;
}

.header__bottom {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}

.menu-link {
    font-size: 14px !important;
}

.header-info-block__title {
    font-size: 14px !important;
}

.header-actions--buttons>.button--cart-handle {
    margin-inline-end: 0 !important;
}

.site-header--absolute .mobile-search-button {
    color: white !important;
}

/* 透過ヘッダー時：白抜きロゴ */
.site-header--absolute .logo-img img {
    filter: brightness(0) invert(1);
}

/* ホバー時：通常ロゴカラー */
.no-touchevents .site-header--absolute:hover .logo-img img {
    filter: none !important;
}

/* スクロール後に出てくるsticky-header内のロゴ：通常カラー */
.sticky-header .logo-img img {
    filter: none !important;
}

/* ヘッダーの検索アイコン：状態を問わず色を明示（実機Safariのデフォルト水色対策） */
.mobile-search-button {
    color: var(--color-text-main) !important;
    /* 通常時（ヘッダーが白っぽい状態） */
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
}

.site-header--absolute .mobile-search-button {
    color: white !important;
    /* 透明ヘッダー時（画像の上） */
}

/* -------------------------------------------
   7. カート画面・ボタン
------------------------------------------- */
.cart--empty div.cart-holder{
  background-color: transparent !important;
}

.cart--empty div.cart-form__items{
  font-size:14px !important;
}

.cart--empty .button--solid{
    background-color: #fff !important;
    color: #1A6B4A !important;
    border: 1px solid #1A6B4A !important;
}

.cart--empty .button--solid:hover {
    background-color: #EDF7F2 !important;
    border-color: #1A6B4A !important;
    color: #1A6B4A !important;
}

.site-header:not(.site-header--absolute) .button--cart-handle,
.header__bottom .button--cart-handle {
    background-color: transparent !important;
    border: 1px solid #1A6B4A !important;
    color: #1A6B4A !important;
}

.site-header:not(.site-header--absolute) .button--cart-handle svg *,
.header__bottom .button--cart-handle svg * {
    stroke: #1A6B4A !important;
    fill: none !important;
}

.no-touchevents .site-header:not(.site-header--absolute) .button--cart-handle:hover,
.no-touchevents .header__bottom .button--cart-handle:hover,
.no-touchevents .site-header--absolute .button--cart-handle:hover {
    background-color: #D4E8DC !important;
    border: 1px solid #1A6B4A !important;
    color: #1A6B4A !important;
}

.no-touchevents .site-header--absolute .button--cart-handle:hover svg * {
    stroke: #1A6B4A !important;
    fill: none !important;
}

/* ヘッダーホバー時のカートボタン：Primary */
.no-touchevents .site-header-container:hover .button--cart-handle {
    background-color: #1A6B4A !important;
    border: 1px solid #1A6B4A !important;
    color: #fff !important;
}

.no-touchevents .site-header-container:hover .button--cart-handle:hover {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.20) 100%), #1A6B4A !important;
    border-color: #1A6B4A !important;
    color: #fff !important;
}

.no-touchevents .site-header-container:hover .button--cart-handle svg *,
.no-touchevents .site-header-container:hover .button--cart-handle:hover svg * {
    stroke: #fff !important;
    fill: none !important;
}

/* -------------------------------------------
   8. アカウントボタン
------------------------------------------- */
.button--account-handle {
    border: 0px solid transparent !important;
}

.no-touchevents .site-header:not(.site-header--absolute) .button--account-handle:hover,
.no-touchevents .header__bottom .button--account-handle:hover,
.no-touchevents .site-header--absolute .button--account-handle:hover {
    background-color: #D4E8DC !important;
}

.site-header:not(.site-header--absolute) .button--account-handle [slot="signed-out-avatar"],
.header__bottom .button--account-handle [slot="signed-out-avatar"],
.no-touchevents .site-header--absolute:hover .button--account-handle [slot="signed-out-avatar"],
.no-touchevents .button--account-handle:hover [slot="signed-out-avatar"] {
    color: var(--color-text-main) !important;
}

.site-header:not(.site-header--absolute) .button--account-handle [slot="signed-out-avatar"] svg *,
.header__bottom .button--account-handle [slot="signed-out-avatar"] svg *,
.no-touchevents .site-header--absolute:hover .button--account-handle [slot="signed-out-avatar"] svg *,
.no-touchevents .button--account-handle:hover [slot="signed-out-avatar"] svg * {
    stroke: var(--color-text-main) !important;
    fill: none !important;
}

/* -------------------------------------------
   9. バッジ
------------------------------------------- */
.badge--new {
    background: #1A6B4A;
    color: #EDF7F2;
    border-radius: 3px;
    font-size: 11px;
    padding: 2px 6px;
}

.badge--soldout {
    background: #636360;
    color: #ffffff;
    border-radius: 3px;
    font-size: 11px;
    padding: 2px 6px;
}

.badge--orange,
.badge--limited {
    background: #DF7403;
    color: #ffffff;
    border-radius: 3px;
    font-size: 11px;
    padding: 2px 6px;
}

.badge--blue {
    background: #6F94CD;
    color: #ffffff;
    border-radius: 3px;
    font-size: 11px;
    padding: 2px 6px;
}

/* -------------------------------------------
   10. ラベル詳細ページ
------------------------------------------- */
.label-page {
    max-width: var(--theme-max-width, 1680px);
    margin: 0 auto;
    padding: 40px var(--gutter-container, 40px);
}

.label-page__main {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    margin-bottom: 40px;
}

/* 画像：50% */
.label-page__image {
    flex: 0 0 50%;
    max-width: 50%;
}

.label-page__image img {
    width: 100%;
    height: auto;
    display: block;
}

/* 右カラム */
.label-page__info {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-top: 8px;
}

/* タイトル */
.label-page__title {
    font-family: 'Zen Old Mincho', serif !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    margin-bottom: 20px;
    line-height: 1.4;
}

/* コンセプト文 */
.label-page__concept {
    font-size: 15px;
    line-height: 1.8;
    color: #636360;
    flex: 1;
}

/* このワインを見るボタン：右寄せ */
.label-page__product {
    margin-top: 24px;
    display: flex;
    justify-content: flex-end;
}

.label-page__product-link {
    background: #1A6B4A !important;
    color: #EDF7F2 !important;
    border-color: #1A6B4A !important;
    border-radius: 4px !important;
}

.no-touchevents .label-page__product-link:hover {
    background: #144f37 !important;
    border-color: #144f37 !important;
}

/* アーティスト */
.label-page__artist {
    border-top: 1px solid #D4E8DC;
    padding: 24px 0;
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.label-page__artist-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.label-page__artist-icon img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
}

/* アーティスト名 */
.label-page__artist-name {
    font-size: 16px !important;
    font-weight: 700 !important;
    display: block;
    margin-bottom: 8px;
}

/* プロフィール文 */
.label-page__artist-bio {
    font-size: 14px;
    line-height: 1.7;
    color: #636360;
    margin: 0 0 12px;
}

/* SNSボタン：左寄せ（Secondaryスタイル） */
.label-page__artist-sns {
    display: flex;
    justify-content: flex-start;
    margin-top: 12px;
}

.label-page__artist-sns .button--outline {
    background-color: #fff !important;
    color: #1A6B4A !important;
    border: 1px solid #1A6B4A !important;
    font-size: 13px !important;
}

.no-touchevents .label-page__artist-sns .button--outline:hover {
    background-color: #EDF7F2 !important;
    border-color: #1A6B4A !important;
    color: #1A6B4A !important;
}

/* SP */
@media (max-width: 768px) {
    .label-page__main {
        flex-direction: column;
        gap: 24px;
    }

    .label-page__image {
        flex: none;
        max-width: 100%;
        width: 100%;
    }
}

/* 関連商品グリッド */
.label-page__products {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #D4E8DC;
}

.label-page__products-title {
    font-family: 'Zen Old Mincho', serif !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    margin-bottom: 24px;
}

.label-page__products-grid .product-item.card {
    position: relative !important;
}

.label-page__products-grid .card__image {
    padding-top: 100% !important;
}

.label-page__products-grid .product-item {
    position: relative !important;
}

.label-page__products-grid .product-item.card .product-item__badges {
    position: absolute !important;
    top: var(--gutter-small) !important;
    right: var(--gutter-small) !important;
    left: auto !important;
    bottom: auto !important;
    width: auto !important;
    pointer-events: none !important;
    z-index: 2 !important;
    float: none !important;
}

.label-page__products-grid .product-item.card .product-item__badge {
    clear: none !important;
    float: none !important;
    display: block !important;
    font-size: 11px !important;
    text-transform: uppercase !important;
    padding: 0 8px !important;
    border-radius: clamp(0px, var(--border-radius-buttons), 3px) !important;
    line-height: 1.5rem !important;
    white-space: nowrap !important;
    margin-bottom: calc(var(--gutter-small) / 2) !important;
}

/* SP：1カラム */
@media (max-width: 500px) {
    .label-page__products-grid {
        grid-template-columns: 1fr !important;
    }
}

/* -------------------------------------------
   11. 商品カード
------------------------------------------- */

:root {
    --gutter-regular: 16px;
}

@media screen and (max-width: 1280px) {
    :root {
        --gutter-regular: 16px;
    }
}

@media screen and (max-width: 1023px) {
    :root {
        --gutter-regular: 16px;
    }
}

.grid {
    --col-gap: 24px;
}

@media screen and (max-width: 1280px) {
    .grid {
        --col-gap: 24px;
    }
}

@media screen and (max-width: 1023px) {
    .grid {
        --col-gap: 16px;
    }
}

/* 「詳細を見る」ボタンを非表示 */
.product-item .button--outline {
    display: none;
}

/* カード全体をクリッカブルに（商品名リンクを全面に広げる） */
.product-item {
    position: relative;
}

.product-item .product-item__title {
    position: static;
}

.product-item .product-item__title::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* ① ホバー時のテキストアンダーラインを無効化 */
.no-touchevents .product-item a:hover .text-animation--underline {
    background-size: 0% 2px;
}

/* ② ホバー時に商品画像を1.05倍に拡大 */
.product-item .product-item__image-figure img {
    transition: transform 0.3s ease-in-out;
}

.no-touchevents .product-item:hover .product-item__image-figure img {
    transform: scale(1.05);
}

/* はみ出し防止（念のため） */
.product-item .product-item__image {
    overflow: hidden;
}

/* 商品カードのshadow用マージンを削除 */
.product-item.card {
    margin-inline-end: 0;
}

/* 商品価格の下マージンを削除 */
.product-item__price {
    margin-bottom: 0;
}

.grid--slider {
    align-items: stretch !important;
}

.product-item .img {
    padding: 0 !important;
    object-fit: cover !important;
}

.product-item .lazy-image--fit img {
    object-fit: cover !important;
}

.product-item.card {
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
}

.product-item .card__text {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
    text-align: left !important;
}

.product-item .card__text .product-item__title,
.product-item .card__text.text-align--center .product-item__title {
    text-align: left !important;
    width: 100% !important;
}

.product-item .card__text .product-item__price,
.product-item .card__text.text-align--center .product-item__price,
.product-item .card__text.text-align--center .product-item__price * {
    margin-top: auto !important;
    text-align: right !important;
    width: 100% !important;
}

.product-item__title .text-size--xlarge {
    font-size: 18px !important;
}

.product-item figure {
    border-radius: 0 !important;
}

.section-heading__title {
    font-family: "Zen Old Mincho", serif !important;
    font-weight: 700 !important;
}

.no-touchevents .card .rich-text__text .button--outline:hover {
    background-color: #144f37 !important;
    color: #EDF7F2 !important;
    border-color: #144f37 !important;
}

@media (max-width: 768px) {

    .sidebar a,
    .sidebar .menu-link {
        font-size: 18px !important;
    }
}

/* -------------------------------------------
   12. フッター
------------------------------------------- */
.main-footer .footer-item__menu.rte a,
.main-footer .footer-item__menu.rte a:link,
.main-footer .footer-item__menu.rte a:visited {
    text-decoration: none !important;
    font-size: 14px !important;
}

/* ネイティブ下線は出さない（白いborder-bottomのみ残す） */
.no-touchevents .main-footer .footer-item__menu.rte a:hover {
    text-decoration: none !important;
}

/* ホバーでも文字色を変えない（テーマのアクセントイエロー化を打ち消す） */
.no-touchevents .main-footer a:hover {
    color: #D4E4DC !important;
}

.main-footer .footer-item__menu a {
    border-bottom: none !important;
}

.no-touchevents .main-footer .footer-item__menu a:hover {
    border-bottom: 1px solid #D4E4DC !important;
}

/* -------------------------------------------
   13. PDP
------------------------------------------- */
@media (min-width: 768px) {
    .main-product.grid-2 {
        grid-template-columns: 1fr 2fr !important;
    }
}

.table__item .metafield-single_line_text_field-array {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0 !important;
}

/* -------------------------------------------
   14. ラベルギャラリー一覧
------------------------------------------- */

/* カード */
.template-page-page-gallery .card.gutter--regular {
    padding: 0 !important;
    overflow: hidden !important;
    margin-right: 0 !important;
}

/* spacing--large：flexで縦並び */
.template-page-page-gallery .spacing--large {
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

/* 画像ブロックの高さを確保 */
.template-page-page-gallery .spacing--large .shopify-block:first-child {
    flex-shrink: 0 !important;
}

/* 見出しブロック */
.template-page-page-gallery .spacing--large .shopify-block:nth-child(2) {
    flex: 1 !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    padding-top: 12px !important;
}

/* ボタンブロック */
.template-page-page-gallery .spacing--large .shopify-block:last-child {
    padding-left: 16px !important;
    padding-right: 16px !important;
    padding-bottom: 16px !important;
    margin-top: auto !important;
}

/* 画像：正方形 */
.template-page-page-gallery .block-image {
    width: 100% !important;
    margin: 0 !important;
    aspect-ratio: 1 / 1 !important;
    --image-height: auto !important;
    height: auto !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
}

.template-page-page-gallery .block-image__figure {
    margin: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

.template-page-page-gallery .block-image__figure img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
}

/* プレースホルダー */
.template-page-page-gallery .block-image .onboarding-svg {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
}

/* タイトル */
.template-page-page-gallery .card h3.h5,
.template-page-page-gallery .card h3.h4 {
    font-family: 'Noto Sans JP', sans-serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    text-align: left !important;
    line-height: 1.2em !important;
    opacity: 0.8;
}

/* アウトラインボタン：横幅いっぱい */
/* アウトラインボタン：横幅いっぱい（Secondaryスタイル） */
.template-page-page-gallery .card .button--outline {
    background-color: #fff !important;
    color: #1A6B4A !important;
    border: 1px solid #1A6B4A !important;
    width: 100% !important;
    display: block !important;
    text-align: center !important;
}

.no-touchevents .template-page-page-gallery .card .button--outline:hover {
    background-color: #EDF7F2 !important;
    border-color: #1A6B4A !important;
    color: #1A6B4A !important;
}

/* キャプション（アーティスト名）左寄せ */
.template-page-page-gallery .card span.text-size--regular {
    display: block !important;
    text-align: left !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    font-size: 13px !important;
    color: #636360 !important;
}

/* -------------------------------------------
   15. パンくず・ページタイトル
------------------------------------------- */
.breadcrumb {
    opacity: 0.6;
}

.title.h2,
.title.h1,
h1.h2,
h1.h1 {
    font-family: 'Zen Old Mincho', serif !important;
    font-weight: 700 !important;
    font-feature-settings: "palt", "kern" !important;
    --base-headings-spacing: 0.1em !important;
}

@media (max-width: 767px) {
    .main-page h1.title.h2 {
        font-size: 28px !important;
    }
}

/* -------------------------------------------
   16. PDP 造り方タグ
------------------------------------------- */
.process-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.process-tag {
    display: inline-block;
    padding: 4px 12px;
    border: 1px solid #1A6B4A;
    border-radius: 20px;
    color: #1A6B4A;
    font-size: 13px;
    font-family: 'Noto Sans JP', sans-serif;
}

.process-tag--empty {
    color: #9aaba6;
    font-size: 13px;
}

/* -------------------------------------------
   17. カートページ
------------------------------------------- */
.cart-holder,
.cart__details {
    border-radius: 0px !important;
    background-color: #ffffff !important;
}

.cart-block__head {
    border-radius: 0px !important;
    background-color: #ffffff !important;
}

.cart-item__thumbnail {
    border: none !important;
}

.cart-item__actions cart-product-quantity {
    gap: 4px;
}

@media (max-width: 767px) {
    .cart-holder {
        border-radius: 0px !important;
        background-color: #ffffff !important;
        padding: 0 16px !important;
    }
}

/* 合計金額テキストサイズ縮小 */
.cart__total .text-size--heading {
    font-size: 24px !important;
}

/* 右側ブロックの枠線除去 */
.cart__details.element--has-border--body,
.cart-holder.element--has-border--body {
    border: none !important;
}

/* -------------------------------------------
   18. 特定商取引法・ポリシーページ
------------------------------------------- */

/* コンテンツ幅を読みやすく絞る */
.shopify-policy__body {
    max-width: 800px;
}

/* H2：大見出し（基本情報 / 料金・配送 etc） */
.shopify-policy__body h2 {
    font-size: 18px !important;
    font-weight: 600 !important;
    color: var(--color-text-main);
    margin-top: 48px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #D4D9D8;
    line-height: 1.5 !important;
}

/* H3：サブ見出し（商品代金以外の料金 / お支払い方法 etc） */
.shopify-policy__body h3 {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #1A6B4A;
    margin-top: 28px;
    margin-bottom: 8px;
    line-height: 1.6 !important;
}

/* 本文・リスト */
.shopify-policy__body p,
.shopify-policy__body li {
    font-size: 14px;
    line-height: 1.9;
    color: var(--color-text-main);
}

/* テーブル（送料表など） */
.shopify-policy__body table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0 24px;
    font-size: 14px;
}

.shopify-policy__body th,
.shopify-policy__body td {
    padding: 10px 14px;
    border: 1px solid #D4D9D8;
    text-align: left;
    line-height: 1.6;
}

.shopify-policy__body th {
    background: #EBEFEE;
    font-weight: 500;
    color: var(--color-text-main);
}

/* ページタイトル */
.shopify-policy__title h1 {
    font-family: 'Zen Old Mincho', serif !important;
    font-weight: 700 !important;
    font-feature-settings: "palt" on !important;
    letter-spacing: 0em;
    font-family: 'Zen Old Mincho', serif !important;
    font-weight: 700 !important;
    font-feature-settings: "palt" on !important;
    font-size: 40px !important;
    line-height: 1.2 !important;
    letter-spacing: 0em;
}

@media (max-width: 767px) {
    .shopify-policy__title h1 {
        font-size: 28px !important;
    }
}

/* -------------------------------------------
   19. Hero Slideshow — Fade transition
------------------------------------------- */

.mount-slideshow .css-slider-viewport {
    overflow: visible !important;
}

.mount-slideshow .css-slider-holder {
    overflow: visible !important;
    position: relative;
}

.mount-slideshow .css-slider-container {
    display: block !important;
    position: relative;
}

.mount-slideshow .css-slide {
    position: absolute !important;
    top: 0;
    left: 0 !important;
    width: 100% !important;
    opacity: 0;
    transition: opacity 2s ease;
    pointer-events: none;
}

.mount-slideshow .css-slide.css-slide-active {
    opacity: 1;
    pointer-events: auto;
    position: relative !important;
}

.mount-slideshow .css-slider-navigation-container {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.mount-slideshow #slider-section {
    position: relative;
}



#shopify-section-template--22221868302553__media_with_text_overlay_N69C9L .card {
    margin-bottom: 0;
    margin-right: 0;
}

/* -------------------------------------------
   20. Aboutページ
------------------------------------------- */

/* ヒーロー：全幅・角丸除去 */
#shopify-section-template--22305181991129__intro .container--large {
    padding-left: 0;
    padding-right: 0;
    margin-top: 0;
    max-width: 100%;
    --border-radius-cards: 0px;
}

#shopify-section-template--22305181991129__intro .card,
#shopify-section-template--22305181991129__intro .card__image,
#shopify-section-template--22305181991129__intro .card__image--background,
#shopify-section-template--22305181991129__intro .card__image--with-overlay,
#shopify-section-template--22305181991129__intro .card__image--with-overlay::after,
#shopify-section-template--22305181991129__intro img,
#shopify-section-template--22305181991129__intro .lazy-image {
    border-radius: 0 !important;
    overflow: hidden;
}

/* ヒーロー内テキストの余白調整 */
#shopify-section-template--22305181991129__intro .card__text {
    padding: var(--gutter-container) !important;
}

/* 強みセクション：番号付きレイアウト */
#shopify-section-template--22305181991129__strengths .container--large {
    padding-bottom: 72px;
}

#shopify-section-template--22305181991129__strengths .grid {
    counter-reset: strengths-counter;
}

#shopify-section-template--22305181991129__strengths .js-slider-item {
    counter-increment: strengths-counter;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
}

#shopify-section-template--22305181991129__strengths .js-slider-item::before {
    content: counter(strengths-counter);
    font-family: 'Playfair Display', serif;
    font-size: 64px;
    font-weight: 300;
    line-height: 1;
    color: #1A6B4A;
    min-width: 48px;
    flex-shrink: 0;
    text-align: center;
}

#shopify-section-template--22305181991129__strengths .js-slider-item .h5 {
    font-weight: 600 !important;
}

/* コンセプトセクション：背景色・max-width制限 */
#shopify-section-template--22305181991129__concept {
    background-color: #E8F0EB;
}

#shopify-section-template--22305181991129__concept .container--large {
    padding: 72px 40px;
    margin-top: 0;
    max-width: 1680px;
}

/* PC：1カラム・画像左テキスト右 */
#shopify-section-template--22305181991129__concept .grid {
    --visible-cols: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 60px !important;
}

#shopify-section-template--22305181991129__concept .js-slider-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 40px !important;
    width: 100% !important;
}

/* PC：偶数番目は画像右・テキスト左 */
@media screen and (min-width: 750px) {
    #shopify-section-template--22305181991129__concept .js-slider-item:nth-child(even) {
        flex-direction: row-reverse !important;
    }
}

#shopify-section-template--22305181991129__concept .js-slider-item .card__icon {
    flex: 0 0 50% !important;
    width: 50% !important;
    max-width: none !important;
    height: auto !important;
    aspect-ratio: 3 / 2 !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    background: transparent !important;
}

#shopify-section-template--22305181991129__concept .js-slider-item .card__icon figure {
    position: relative !important;
    padding-top: 0 !important;
    height: 100% !important;
    margin: 0 !important;
    aspect-ratio: 3 / 2 !important;
}

#shopify-section-template--22305181991129__concept .js-slider-item .card__icon img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

#shopify-section-template--22305181991129__concept .js-slider-item .spacing--small {
    flex: 1 !important;
    width: auto !important;
    text-align: left !important;
}

#shopify-section-template--22305181991129__concept .js-slider-item .h5 {
    font-weight: 600 !important;
}

/* モバイル：縦積み・padding調整 */
@media screen and (max-width: 749px) {
    #shopify-section-template--22305181991129__concept .container--large {
        padding: 72px 15px !important;
    }

    #shopify-section-template--22305181991129__concept .js-slider-item {
        flex-direction: column !important;
        gap: 16px !important;
    }

    #shopify-section-template--22305181991129__concept .js-slider-item .card__icon {
        width: 100% !important;
        flex: none !important;
    }

    #shopify-section-template--22305181991129__concept .js-slider-item .spacing--small {
        width: 100% !important;
    }
}

/* infoセクション：全幅・余白除去 */
#shopify-section-template--22305181991129__info .container--vertical-space {
    margin-top: 0px !important;
    margin-bottom: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 100% !important;
}

/* infoセクション：背景画像・オーバーレイ */
.about-info {
    position: relative;
    width: 100%;
    min-height: 300px;

    background: #162318 url('/cdn/shop/files/DSC09961_1.jpg?v=1782396291') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-info__overlay {
    position: absolute;
    inset: 0;
    background: rgba(22, 35, 24, 0.7);
}

.about-info__content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 72px 40px;
}

.about-info__address {
    color: #EDF7F2;
    margin-bottom: 16px;
    font-size: 14px;
}

.about-info__links {
    display: flex;
    gap: 32px;
    justify-content: center;
}

.about-info__links a {
    color: #EDF7F2;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 0.05em;
    border-bottom: 1px solid rgba(237, 247, 242, 0.4);
    padding-bottom: 2px;
}

.no-touchevents .about-info__links a:hover {
    border-bottom-color: #EDF7F2;
}

@media screen and (max-width: 749px) {
    .about-info__content {
        padding: 60px 15px;
    }
}

/* Aboutページ：フッター上のmargin除去 */
.template-page-about #shopify-section-sections--22221864206553__footer {
    margin-top: 0;
}

/* ヒーロー：テキストエリアの余白のみ調整 */
#shopify-section-template--22305181991129__intro .card__text {
    max-width: 1680px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 40px !important;
    box-sizing: border-box;
}

@media screen and (max-width: 749px) {
    #shopify-section-template--22305181991129__intro .card__text {
        padding: 24px 15px !important;
    }
}

.block-table .table__columns {
    background-color: transparent !important;
}

.block-table {
    border-radius: 0px !important;
}

.table__columns .table__item:nth-last-child(n+3) {
    border-bottom: 1px solid #ccc;
}

/* -------------------------------------------
   21. 卸販売のご案内ページ
------------------------------------------- */

/* ヒーロー：全幅・角丸除去 */
#shopify-section-template--22306059813081__intro .container--large {
    padding-left: 0;
    padding-right: 0;
    margin-top: 0;
    max-width: 100%;
    --border-radius-cards: 0px;
}

#shopify-section-template--22306059813081__intro .card,
#shopify-section-template--22306059813081__intro .card__image,
#shopify-section-template--22306059813081__intro .card__image--background,
#shopify-section-template--22306059813081__intro .card__image--with-overlay,
#shopify-section-template--22306059813081__intro .card__image--with-overlay::after,
#shopify-section-template--22306059813081__intro img,
#shopify-section-template--22306059813081__intro .lazy-image {
    border-radius: 0 !important;
    overflow: hidden;
}

/* ヒーロー：テキストエリアをヘッダーのコンテンツ幅に揃える */
#shopify-section-template--22306059813081__intro .card__text {
    max-width: 1680px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 40px !important;
    box-sizing: border-box;
}

@media screen and (max-width: 749px) {
    #shopify-section-template--22306059813081__intro .card__text {
        padding: 24px 15px !important;
    }
}

#shopify-section-template--22306059813081__body .card.rich-text {
    box-shadow: none !important;
}

@media screen and (min-width: 750px) {
    #shopify-section-template--22306059813081__body .rich-text__image {
        aspect-ratio: unset !important;
        overflow: hidden;
    }

    #shopify-section-template--22306059813081__body .rich-text__image .lazy-image {
        position: relative !important;
        width: 100% !important;
        padding-top: 66.67% !important;
        height: 0 !important;
    }

    #shopify-section-template--22306059813081__body .rich-text__image img {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
}

@media screen and (max-width: 749px) {


    #shopify-section-template--22306059813081__body .rich-text__text .card__text {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

@media screen and (max-width: 749px) {
    #element-template--22306059813081__body {
        margin-right: 0 !important;
        margin-bottom: 0 !important;
    }
}

.wholesale-contact {
    text-align: center;
    padding: 72px 40px;
}

.wholesale-contact__address {
    margin-top: 24px;
    color: #636360;
    font-size: 14px;
}

#shopify-section-template--22306059813081__body .rte a {
    display: inline-block;
    margin-top: 24px;
    padding: 14px 28px;
    background-color: #1A6B4A !important;
    color: #fff !important;
    border: none !important;
    border-radius: 0px !important;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none !important;
    letter-spacing: 0.03em;
}

.no-touchevents #shopify-section-template--22306059813081__body .rte a:hover {
    background-color: #144f37 !important;
}

/* PC：テキスト左padding除去・ボタン幅固定 */
@media screen and (min-width: 750px) {
    #shopify-section-template--22306059813081__body .card__text {
        padding-left: 0 !important;
    }

    #shopify-section-template--22306059813081__body .rte a {
        width: 250px;
        text-align: center;
    }
}

/* モバイル：ボタン全幅 */
@media screen and (max-width: 749px) {
    #shopify-section-template--22306059813081__body .rte a {
        display: block;
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }
}

#shopify-section-template--22306059813081__body .rte a {
    font-size: 16px !important;
    font-weight: 700 !important;
}

/* -------------------------------------------
   22. 販売店リストページ
------------------------------------------- */

.retailer-list {
    max-width: 1000px;
    margin: 0 auto;
    padding: 72px 40px;
}

.retailer-list__title {
    font-family: 'Zen Old Mincho', serif;
    font-size: 56px;
    font-weight: 700;
    letter-spacing: 1.68px;
    line-height: 1;
    color: var(--color-text-main);
    margin-bottom: 48px;
}

.retailer-list__table {
    width: 100%;
    border-collapse: collapse;
}

.retailer-list__table thead tr {
    border-bottom: 2px solid #1A6B4A;
}

.retailer-list__table th {
    padding: 12px 16px;
    text-align: left;
    font-size: 13px;
    font-weight: 500;
    color: #636360;
    letter-spacing: 0.05em;
}

.retailer-list__table tbody tr {
    border-bottom: 1px solid #D4E8DC;
}

.retailer-list__table tbody td {
    padding: 20px 16px;
    font-size: 14px;
    color: #1A1A18;
    vertical-align: top;
    line-height: 1.7;
}

.retailer-list__table tbody td:first-child {
    font-weight: 500;
    white-space: nowrap;
}

@media screen and (max-width: 749px) {
    .retailer-list {
        padding: 8px 0 !important;
    }

    .retailer-list__title {
        font-size: 24px !important;
        margin-bottom: 16px !important;
    }

    .retailer-list__table thead {
        display: none;
    }

    .retailer-list__table tbody tr {
        display: block;
        padding: 20px 0;
    }

    .retailer-list__table tbody td {
        display: block;
        padding: 2px 0;
    }

    .retailer-list__table tbody td:first-child {
        font-size: 15px;
        margin-bottom: 4px;
    }


}

/* -------------------------------------------
   23. お問い合わせページ
------------------------------------------- */

.contact-subtitle {
    font-size: 14px;
    color: #636360;
    margin-bottom: 32px;
}

.template-page-contact .field__input {
    background-color: #fff !important;
    border-radius: 0px !important;
}

shopify-forms-embed {
    /* input角丸を0に */
    --form-field-border-radius: 0px;

    /* 送信ボタンをprimaryカラー・角丸0に */
    --button-background-color: #1A6B4A;
    --button-background-color-hovered-modifier: opacity(85%);
    --button-text-color: #EDF7F2;
    --button-border-radius: 0px;

    /* フォーカス時のボーダーもグリーンに揃える */
    --form-field-border-focused: 0 0 0 2px #1A6B4A;
}

/* -------------------------------------------
   24. Newバッジ
------------------------------------------- */

.product-item__badge--new {
    background-color: #1A6B4A !important;
    color: #EDF7F2 !important;
}

/* -------------------------------------------
   25. ブログ記事
------------------------------------------- */

/* アイキャッチ画像を記事ページで非表示 */
.article__featured-image {
    display: none !important;
}

/* 記事タイトル */
.rte.article .h2 {
    font-size: 36px !important;
    line-height: 1.4 !important;
}

@media (max-width: 1023px) {
    .rte.article .h2 {
        font-size: 24px !important;
    }
}

/* 記事内画像 */
.article__content img {
    display: block !important;

    max-width: 900px !important;
}

/* 記事内 h2 */
.article__content h2 {
    font-family: 'Zen Old Mincho', serif !important;
    font-size: 30px !important;
    font-weight: 600 !important;
    line-height: 1.6 !important;
    color: #1A6B4A !important;
    margin-top: 2em !important;
    margin-bottom: 0.8em !important;
}

@media (max-width: 1023px) {
    .article__content h2 {
        font-size: 22px !important;
    }
}

/* 記事内 h3 */
.article__content h3 {
    font-size: 22px !important;
    font-weight: 600 !important;
    line-height: 1.6 !important;
    margin-top: 1.8em !important;
    margin-bottom: 0.6em !important;
    opacity: 0.9;
}

@media (max-width: 1023px) {
    .article__content h3 {
        font-size: 18px !important;
    }
}

/* 記事内リスト */
.article__content ul li p,
.article__content ol li p {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
}

/* 記事内リスト li間隔 */
.article__content ul li:not(:first-child),
.article__content ol li:not(:first-child) {
    margin-top: 0.1rem !important;
}

/* 記事内テーブル */
.article__content table {
    width: 100% !important;
    border-collapse: collapse !important;
}

.article__content td:first-child,
.article__content th:first-child {
    width: 160px !important;
    min-width: 160px !important;
}

@media (max-width: 767px) {

    .article__content td:first-child,
    .article__content th:first-child {
        width: 100px !important;
        min-width: 100px !important;
    }
}

/* -------------------------------------------
   26. 商品スライダー：右端ちら見え（他セクション影響なし）
------------------------------------------- */

/* はみ出しクリップ：このセクションのみ */
#shopify-section-template--22221868302553__products_list_9fnDqU {
    overflow: hidden;
}

/* holderを右側だけ広げる：このスライダーIDで完全限定 */
#css-slider-template--22221868302553__products_list_9fnDqU .css-slider-holder {
    margin-right: calc(-1 * var(--gutter-container));
    width: calc(100% + var(--gutter-container));
    padding-right: calc(var(--gutter-container) * 2);
    box-sizing: border-box;
}

/* 商品スライダー：全ての商品を見るボタン */
#shopify-section-template--22221868302553__products_list_9fnDqU .products-list-view-all {
    text-align: center;
    margin-top: 24px;
}

/* -------------------------------------------
   27. PDP カートに追加するボタン（Primary）
------------------------------------------- */

/* Default */
.product-form .add-to-cart.button--solid {
    background-color: #1A6B4A !important;
    border-color: #1A6B4A !important;
    color: #fff !important;
}

/* Hover (PC only) */
.no-touchevents .product-form .add-to-cart.button--solid:hover {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.20) 100%), #1A6B4A !important;
    border-color: #1A6B4A !important;
    color: #fff !important;
}

/* -------------------------------------------
   28. コレクション フィルターボタン（Tertiary light）
------------------------------------------- */

/* Default */
#collection-filters-handle {
    padding-top: 16px !important;
    padding-bottom: 16px !important;
    padding-left: 24px !important;
    border-color: rgba(26, 36, 34, 0.1) !important;
    color: var(--color-text-main) !important;
    background-color: transparent !important;
}

#collection-filters-handle .button__icon {
    display: none;
}


/* Hover (PC only) */
.no-touchevents #collection-filters-handle:hover {
    background-color: #EDF7F2 !important;
    border-color: rgba(26, 36, 34, 0.3) !important;
}

/* -------------------------------------------
   29. フィルター・並び順 共通スタイル（PC）
------------------------------------------- */

/* 在庫〜造り方のsummary（desktop IDのみ） */
#FacetFiltersForm .facets__summary {
    padding-right: 48px;
    border-radius: 2px !important;
    border: none !important;
    background-color: #fff !important;
    box-sizing: border-box !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    background-position: calc(100% - 16px) 50% !important;
}

/* 並び順のselect */
#desktop-SortBy- {
    border-radius: 2px !important;
    border: none !important;
    background-color: #fff !important;
    box-sizing: border-box !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    height: 48px !important;
    background-position: calc(100% - 16px) 50% !important;
}

/* -------------------------------------------
   30. モバイル ドロワー 絞り込みと並び替え
------------------------------------------- */

#mobile-SortBy-drawer {
    border-radius: 2px !important;
    border: none !important;
    background-color: #fff !important;
    box-sizing: border-box !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    height: 48px !important;
    background-position: calc(100% - 16px) 50% !important;
}

/* 適用ボタン（Primary） */
.sidebar__footer .button--solid {
    background-color: #1A6B4A !important;
    border-color: #1A6B4A !important;
    color: #fff !important;
}

.no-touchevents .sidebar__footer .button--solid:hover {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.20) 100%), #1A6B4A !important;
    border-color: #1A6B4A !important;
}

/* すべてクリアボタン（Tertiary） */
.sidebar__footer .button--outline {
    background-color: transparent !important;
    border-color: rgba(26, 36, 34, 0.1) !important;
    color: var(--color-text-main) !important;
    font-size: 14px;
}

.no-touchevents .sidebar__footer .button--outline:hover {
    background-color: #EDF7F2 !important;
    border-color: rgba(26, 36, 34, 0.3) !important;
}

/* 選択中フィルタータグ（樽熟成…等）：ボーダーなし・背景#fff */
#site-filters-sidebar .active-facets__button--light {
    background-color: #fff !important;
    border: none !important;
}

/* すべてクリア（Tertiary） */
#site-filters-sidebar .active-facets__button.button--solid {
    background-color: transparent !important;
    border: 1px solid rgba(26, 36, 34, 0.1) !important;
    color: var(--color-text-main) !important;
}

.no-touchevents #site-filters-sidebar .active-facets__button.button--solid:hover {
    background-color: #EDF7F2 !important;
}

a.active-facets__button {
    font-size: 14px !important;
}

/* === Cart Checkout Button - Primary Style === */
button[name="checkout"],
#checkout {
    background-color: #1A6B4A !important;
    color: #fff !important;
    min-width: 100px;
    border: none !important;
    /* ← この1行を追加して枠線を消します */
}

/* ホバー時のスタイル（タッチデバイス以外、および一般的なホバー） */
.no-touchevents button[name="checkout"]:hover,
.no-touchevents #checkout:hover,
button[name="checkout"]:hover,
#checkout:hover {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.20) 100%), #1A6B4A !important;
    color: #fff !important;
    border: none !important;
    /* ← ホバー時も念のため追加 */
}

/* モバイル メニュードロワー */

a.menu-link span {
    font-size: 14px !important;
}

/* ポップアップ　キッキー */
.popup--cookies .popup-title {
    font-size: 20px !important;
}

.popup--cookies {
    background-color: rgba(17, 17, 17, 0.8) !important;
}

/* -------------------------------------------
   31. モバイルドロワー L2デフォルト展開
------------------------------------------- */
#site-menu-sidebar .site-nav.style--sidebar .has-submenu .submenu.normal-menu {
    display: block !important;
    position: static;
    transform: none !important;
    width: 100%;
    padding-left: 20px;
    /* L2であることが分かるようインデント */
}

#site-menu-sidebar .site-nav.style--sidebar .has-submenu .submenu-back {
    display: none;
}

#site-menu-sidebar .site-nav.style--sidebar .has-submenu>a.menu-link .icon {
    display: none;
}

.sidebar a,
.sidebar .menu-link {
    font-size: 16px !important;
}

/* -------------------------------------------
   32. 検索結果「もう一度検索する」ボタンにSecondaryスタイル適用
------------------------------------------- */
.template-search .button--solid,
.search-template .button--solid {
    background-color: #fff !important;
    color: #1A6B4A !important;
    border: 1px solid #1A6B4A !important;
}

.no-touchevents.template-search .button--solid:hover,
.no-touchevents.search-template .button--solid:hover {
    background-color: #EDF7F2 !important;
    border-color: #1A6B4A !important;
    color: #1A6B4A !important;
}

/* -------------------------------------------
   33. お問い合わせフォーム ラベル表示
------------------------------------------- */

.contact-form__label {
    display: block;
    font-size: 14px;
    color: #1A1A18;
    margin-bottom: 6px;
}

.contact-form__required {
    color: #DF7403;
    margin-left: 2px;
}

/* -------------------------------------------
   34. フォーム プレースホルダー文字色
------------------------------------------- */

.contact-form__the-form ::placeholder {
    color: rgba(26, 26, 24, 0.2);
    opacity: 1;
    /* Firefoxはデフォルトでopacityが下がるため明示指定 */
}

.contact-form__the-form input::-webkit-input-placeholder,
.contact-form__the-form textarea::-webkit-input-placeholder {
    color: rgba(26, 26, 24, 0.2);
}

/* -------------------------------------------
   35. お問い合わせフォーム 送信ボタン Primary化
------------------------------------------- */

.contact-form__the-form .button--solid {
    background-color: #1A6B4A;
    border-color: #1A6B4A;
    color: #EDF7F2;
}

.no-touchevents.contact-form__the-form .button--solid:hover,
.no-touchevents .contact-form__the-form .button--solid:hover {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.20) 100%), #1A6B4A;
}

/* -------------------------------------------
   36. フォーム送信成功メッセージ（全フォーム共通）
------------------------------------------- */

.alert--success {
    background-color: #edf7f2;
    border-radius: 0;
}

.alert--success .alert__icon {
    background-color: #1A6B4A;
}


/* -------------------------------------------
   37. 卸売パートナー登録フォーム（Wholesale Helper）
------------------------------------------- */

/* ---- パンくず位置修正 ---- */
.breadcrumb-main--static {
    position: static !important;
    top: 0 !important;
}

.breadcrumb-main--static::before,
.breadcrumb-main--static::after {
    display: none !important;
}

/* ---- ページ全体レイアウト ---- */
#wpdMainContainer {
    max-width: 1680px !important;
    margin: 0 auto 80px !important;
    padding: 0 40px !important;
    box-sizing: border-box !important;
}

#wpdMainContainer>* {
    max-width: 640px !important;
    box-sizing: border-box !important;
}

/* ---- 見出し・リード文 ---- */
#wpdMainHeader {
    font-family: 'Zen Old Mincho', serif !important;
    font-size: 56px !important;
    font-weight: 700 !important;
    color: var(--color-text-main) !important;
    margin-top: 0 !important;
    margin-bottom: 16px !important;
    text-align: left !important;
}

#wpdHelpTextWrapper {
    text-align: left !important;
    margin-bottom: 32px !important;
}

#wpdHelpTextWrapper .wpd-secondary-text {
    font-size: 14px !important;
    color: #636360 !important;
}

/* ---- フィールドレイアウト：ご担当者様情報（名・姓は2列、メールは全幅） ---- */
#wpdPrimaryContactFieldsWrapper {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 18px 24px !important;
}

#wpdEmailWrapper {
    grid-column: 1 / -1 !important;
}

/* ---- フィールドレイアウト：会社・店舗情報（完全1列） ---- */
#wpdBusinessDetailFieldsWrapper {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
}

.wpd-signup-field {
    width: 100% !important;
}

/* ---- ラベル ---- */
#wpdMainContainer .wpd-signup-field label {
    display: block !important;
    font-size: 14px !important;
    color: #1A1A18 !important;
    font-weight: 400 !important;
    margin-bottom: 6px !important;
}

/* ---- 必須マーク（JSでspan化した後に適用） ---- */
.wpd-required-mark {
    color: #DF7403 !important;
    margin-left: 2px !important;
}

/* ---- インプット・セレクト ---- */
#wpdMainContainer input[type="text"],
#wpdMainContainer input[type="email"],
#wpdMainContainer input[type="tel"],
#wpdMainContainer select,
#wpdMainContainer textarea {
    border-radius: 0 !important;
    border: 1px solid rgba(26, 36, 34, 0.3) !important;
    background-color: #FFFFFF !important;
    padding: 12px !important;
    font-size: 16px !important;
    color: var(--color-text-main) !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

#wpdMainContainer ::placeholder {
    color: rgba(26, 26, 24, 0.2) !important;
    opacity: 1 !important;
}

/* ---- 送信ボタン（Primaryスタイル） ---- */
#wpdSubmitButtonWrapper {
    text-align: left !important;
}

#wpdMainContainer #wpdSubmitButton {
    background-color: #1A6B4A !important;
    color: #EDF7F2 !important;
    border-radius: 0 !important;
    border: none !important;
    padding: 11px 36px !important;
    font-size: 18px !important;
    width: auto !important;
    min-width: 0 !important;
    display: inline-block !important;
}

.no-touchevents #wpdMainContainer #wpdSubmitButton:hover {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.20) 100%), #1A6B4A !important;
}

@media screen and (max-width: 749px) {
    #wpdMainContainer {
        padding: 0 20px !important;
        margin: 0 auto 48px !important;
    }

    #wpdMainHeader {
        font-size: 24px !important;
        margin-bottom: 16px !important;
    }

    #wpdHelpTextWrapper {
        margin-bottom: 24px !important;
    }

    #wpdPrimaryContactFieldsWrapper,
    #wpdBusinessDetailFieldsWrapper,
    #wpdOtherDetailFieldsWrapper {
        grid-template-columns: 1fr !important;
        margin: 0 !important;
    }

    #wpdEmailWrapper {
        grid-column: 1 !important;
    }

    .wpd-secondary-header {
        margin: 16px 0px !important;
    }
}

#wpdMainContainer #wpdMarketingEmailsWrapper {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    gap: 8px !important;
}

#wpdMainContainer #wpdMarketingEmailsWrapper label {
    text-align: left !important;
}

#wpdMainContainer #wpdMarketingEmails {
    margin-top: 3px !important;
}

#wpdMarketingEmails {
    margin: 3px 0px !important;
}

/* ---- カート画面 請求書払いボタン ---- */
#wpdNetContainer .button--solid  {
    background-color: #fff !important;
    color: #1A6B4A !important;
    border: 1px solid #1A6B4A !important;
}

#wpdNetContainer .button--solid:hover {
    background-color: #EDF7F2 !important;
    border-color: #1A6B4A !important;
    color: #1A6B4A !important;
}

/* カート明細行：Wholesale/割引表示アプリが打ち消し線価格を出しているときだけ適用 */
/* 通常価格側の色変更（アプリのマークアップが子要素にある場合のみ発火） */
.cart-item__total strong:has(> .wpd-ext-compare-at-price) {
  color: var(--color-text-main) !important;
}

/* 打ち消し線価格：縦積み・太字解除・80%不透明度のテキストカラー */
.cart-item__total strong > .wpd-ext-compare-at-price {
  display: block;                 /* 縦積み */
  font-weight: normal !important; /* strongの太字を打ち消す */
  margin-right: 0 !important;     /* アプリ側の横方向マージンを解除 */
  margin-bottom: 2px;             /* 2行の間に少し余白 */
  font-size: 14px !important;
}

/* 商品名下の価格表示：打ち消し線価格（アプリ表示時のみ・PC/SP共通） */
.cart-item__price .wpd-ext-compare-at-price {
  font-size: 14px !important;
  font-weight: normal !important;
}

/* 商品名下の価格表示：通常価格側（打ち消し線価格が存在する時だけ発火） */
.cart-item__price .element--hide-on-small > span:has(> .wpd-ext-compare-at-price),
.cart-item__price .element--hide-on-desk > strong:has(> .wpd-ext-compare-at-price) {
  font-size: 14px !important;
  font-weight: normal !important;
  color: var(--color-text-main) !important;
}

/* サイドバー合計欄：打ち消し線の元合計（実際に line-through が適用されている時だけ） */
.cart__total strong.wcp-original-cart-total[style*="line-through"] {
  font-weight: normal !important;
  font-size: 14px !important;
  padding: 0px !important;
  color: #E9330C !important;
}

.wcp-cart-total{
  padding: 0px !important;
}

.wpd-ext-compare-at-price{
  font-weight: normal !important;
  font-size: 14px !important;
}

/* サイドバーメッセージ */
.wcp_multicurrency_msg,
#wpdNetContainer{
  font-size: 14px !important;
}

/* ---- フィールドレイアウト：登録済み ---- */
#wpdLoggedInMessage,
#wpdDisabledSignupFormMessage,
#wpdHelpTextWrapper {
    max-width: 800px;
    margin: 40px auto!important;
}


/* -------------------------------------------
   38. 言語スイッチャー
------------------------------------------- */
/* 言語スイッチャー（PC）：中央寄せをお問い合わせと同じ仕組みに統一 */
/* → コンテナの高さ（通常時／固定ヘッダー時で異なる）に依存せず正しく中央寄せされる */
.header-language-switcher-desktop,
.header-language-switcher-desktop .localization-form,
.header-language-switcher-desktop .localization-form__item {
  display: flex;
  align-items: center;
}
.header-language-switcher-desktop .localization-form__item-button {
  margin-top: 2.5px;
}

/* 言語スイッチャー（PC）：ヘッダーの文字色・アイコン色をお問い合わせ等と統一 */
.header-language-switcher-desktop .localization-form__item-button,
.header-language-switcher-desktop .localization-form__item-text {
    color: var(--color-text-header);
}

.header-language-switcher-desktop svg path {
    fill: var(--color-text-header);
}

/* 言語スイッチャー（PC）：お問い合わせとの余白を「ワインを探す/ギフト・セット」間と揃える */
/* 固定ヘッダー（-stickyクローン）にも同じ余白を適用するため属性セレクタに変更 */
.header-actions--blocks [id^="site-header-block-1"] {
  margin-inline-end: 16px !important;
}

/* -------------------------------------------
   39. 卸売モーダル
------------------------------------------- */

/* Wholesale Helper：請求書払い（Net Terms）モーダルをヘッダーより手前に表示 */
#wpdNetOverlay {
  z-index: 9999 !important;
}
#wpdNetMainContainer {
  z-index: 10000 !important;
}

/* 卸販売 請求書払い（Net Terms）モーダル - ラベル・インプット統一 */
/* お問い合わせフォームと同じスタイルルールに統一 */
#wpdNetMainContainer#wpdNetMainContainer label {
  font-size: 14px !important;
  color: #1A1A18 !important;
  margin-bottom: 6px !important;
  display: block !important;
}

#wpdNetMainContainer#wpdNetMainContainer input[type="text"],
#wpdNetMainContainer#wpdNetMainContainer input[type="email"],
#wpdNetMainContainer#wpdNetMainContainer input[type="tel"],
#wpdNetMainContainer#wpdNetMainContainer input[type="number"],
#wpdNetMainContainer#wpdNetMainContainer select,
#wpdNetMainContainer#wpdNetMainContainer textarea {
  border-radius: 0 !important;
  border: 1px solid #D4D9D8 !important;
  background-color: #FFFFFF !important;
  color: #1A1A18 !important;
  font-size: 14px !important;
}

#wpdNetMainContainer#wpdNetMainContainer ::placeholder {
  color: rgba(26, 26, 24, 0.2) !important;
  opacity: 1 !important;
}

#wpdCloseNetPopup{
  background: transparent !important;
}

/* Place Order → Primary */
#wpdNetMainContainer#wpdNetMainContainer #wpdNetPlaceOrder {
  background-color: #1A6B4A !important;
  min-width: 200px !important;
}
#wpdNetMainContainer#wpdNetMainContainer #wpdNetPlaceOrder span {
  color: #fff !important;
}
.no-touchevents #wpdNetMainContainer#wpdNetMainContainer #wpdNetPlaceOrder:hover {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.20) 100%), #1A6B4A !important;
}
.no-touchevents #wpdNetMainContainer#wpdNetMainContainer #wpdNetPlaceOrder:hover span {
  color: #fff !important;
}

/* Apply → Secondary */

#wpdNetDiscountCodeBtn {
    padding: 8px 24px !important;
}
#wpdNetMainContainer#wpdNetMainContainer #wpdNetDiscountCodeBtn {
  background-color: #fff !important;
  border: 1px solid #1A6B4A !important;
}
#wpdNetMainContainer#wpdNetMainContainer #wpdNetDiscountCodeBtn span {
  color: #1A6B4A !important;
}
.no-touchevents #wpdNetMainContainer#wpdNetMainContainer #wpdNetDiscountCodeBtn:hover {
  background-color: #EDF7F2 !important;
  border-color: #1A6B4A !important;
}
.no-touchevents #wpdNetMainContainer#wpdNetMainContainer #wpdNetDiscountCodeBtn:hover span {
  color: #1A6B4A !important;
}


#wpdShippingFieldsWrapper, #wpdBillingFieldsWrapper {
    row-gap: 24px !important;
}

#wpdNetTitle{
    color: var(--color-text-main) !important;
}

#wpdNetMainContainer#wpdNetMainContainer label {
    margin-bottom: 0px !important;
}

#wpdShippingAddressWrapper{
    margin: 24px 0 !important;
}

#wpdNetDiscountCodeTxt {
    padding: 12px !important;
}

#wpdCartBasedVDMessage {
    display: none !important;
}

#wpdNetTitle{
    font-size: 18px !important;
    font-family: 'DM Sans', 'Noto Sans JP', sans-serif !important;
  }

#wpdExtraFieldsWrapper{
  display: none !important;
}

#wpdNetDiscountCodeWrapper {
    padding: 24px 24px !important;
}

/* Order summary の商品画像：正方形トリミング + object-fit: cover */
#wpdNetMainContainer#wpdNetMainContainer .wpd-net-cart-item-image-wrapper {
  width: 72px !important;
  height: 72px !important;
  flex-shrink: 0 !important;
  aspect-ratio: 1 / 1 !important;
  overflow: hidden !important;
}
#wpdNetMainContainer#wpdNetMainContainer .wpd-net-cart-item-image-wrapper .wpd-net-cart-item-image,
#wpdNetMainContainer#wpdNetMainContainer img.wpd-net-cart-item-image {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* Billing address チェックボックスをテキスト1行目に揃える */
#wpdSameBillingAddressWrapper#wpdSameBillingAddressWrapper {
  align-items: flex-start !important;
}

/* モバイル：モーダルを画面端から上下左右16px内側に */
@media screen and (max-width: 767px) {
  #wpdNetMainContainer#wpdNetMainContainer {
    top: 16px !important;
    left: 16px !important;
    right: 16px !important;
    bottom: 16px !important;
    width: auto !important;
    height: auto !important;
  }

  #wpdNetMainContainer {
    padding: 16px !important;
  }

  #wpdShippingFieldsWrapper, #wpdBillingFieldsWrapper {
    row-gap: 16px !important;
  }

  #wpdNetTitle{
    font-size: 16px !important;
  }

  #wpdNetRightContent {
    max-width: 100% !important;
    min-width: 300px !important;
  }

  #wpdNetLeftContent {
    max-width: 100% !important;
  }

}

/* -------------------------------------------
   40. ブレークポイント
------------------------------------------- */

/* ヘッダー モバイル切り替えブレークポイントを1200pxに変更 */

@media screen and (min-width: 768px) and (max-width: 1023px) {
      .site-header .header__top {
    --header-logo: 90px !important;
  }

}

@media screen and (min-width: 1024px) and (max-width: 1150px) {
/* レイアウトをモバイル同様のflexに戻す（デスクトップ用2列gridを無効化）＋ロゴサイズをモバイル値に固定 */
  .site-header .header__top {
    display: flex !important;
    justify-content: space-between !important;
    --header-logo: 90px !important;
  }

  .site-header .header-actions--buttons.portable-hide,
  .site-header .header-container--bottom.portable-hide {
    display: none !important;
  }

  .site-header .mobile-header-left,
  .site-header .mobile-header-actions {
    display: flex !important;
    align-items: center;
    height: 40px;
    width: 80px;
    flex-shrink: 0;
  }
  .site-header .mobile-header-left {
    order: 0;
    justify-content: flex-start;
  }
  .site-header .mobile-header-actions {
    order: 2;
    justify-content: flex-end;
    row-gap: 0.25rem;
    column-gap: 0.25rem;
  }

  .site-header .logo {
    order: 1;
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: auto;
    text-align: center;
    padding: 0 1.5rem !important;
    justify-content: center;
  }

  .site-header .logo-img--desk-only {
    display: none !important;
  }
  .site-header .logo-img--mobile {
    display: inline-flex !important;
    height: auto;
  }

  .site-header .mobile-menu-button {
    margin-inline-start: -0.625rem;
  }
  .site-header .mobile-menu-button svg path {
    fill: var(--color-text-header);
  }

  .site-header .mobile-menu-button,
  .site-header .mobile-cart-button,
  .site-header .mobile-account-button {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .site-header .mobile-cart-button {
    position: relative;
    cursor: pointer;
  }
  .site-header .mobile-cart-button svg path {
    stroke: var(--color-text-header);
  }
  .site-header .mobile-cart-button svg .circle {
    fill: var(--color-text-header);
  }
  .site-header .mobile-cart-button span {
    position: absolute;
    top: 0.25rem;
    right: 0.25rem;
    background: var(--color-text-header);
    color: var(--color-foreground-header);
    font-weight: var(--font-weight-body-bold);
    width: 16px;
    height: 16px;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: calc(9px / 16 * var(--base-body-size) + 0px);
  }

  .site-header .mobile-account-button shopify-account {
    display: flex;
    height: 100%;
    --shopify-account-signed-in-avatar-size: 26px;
  }
  .site-header .mobile-account-button .button__icon path {
    stroke: var(--color-text-header);
  }
}