/*
Theme Name: Storefront Child - Pantogar Custom
Theme URI: https://vitahairwomen.com
Description: Storefront Child Theme with Custom Design
Author: https://vitahairwomen.com
Author URI: https://vitahairwomen.com
Template: storefront
Version: 1.0.0
*/

/* Google Fonts: Playfair Display + Roboto */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Roboto:wght@300;400;500;600;700&display=swap');

:root {
  /* フォント */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* カラー */
  --color-primary: #2C5F2D;
  --color-secondary: #97BC62;
  --color-text: #666666;
  --color-accent: #F4A460;
  --color-white: #FFFFFF;
  --color-light-bg: #F9F9F9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    line-height: 1.6;
    background: var(--color-white);
}

/* =============================================
   ヘッダー
   ============================================= */
header.site-header {
    background: var(--color-white);
    border-bottom: 1px solid #e5e5e5;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
}

/* 管理バー対応 */
.admin-bar .site-header {
    top: 32px;
}


.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ロゴ */
.logo {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-decoration: none;
    gap: 4px;
}

.logo-image {
    width: 50px;
    height: 50px;
    object-fit: contain;
}
.logo-text-container {
    display: flex;
    flex-direction: column;
}
.logo-text {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 600;
    color: var(--color-primary);
    letter-spacing: -0.5px;
    line-height: 1.2;
    transition: color 0.3s ease;
}

.logo-tagline {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 400;
    color: var(--color-text);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

/* ロゴホバー効果 */
.logo-link:hover .logo-text {
    color: var(--color-secondary);
}

.logo-link:hover .logo-tagline {
    opacity: 1;
}

/* ナビゲーション */
nav ul {
    display: flex;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav li {
    margin: 0;
    padding: 0;
}

nav a {
    text-decoration: none;
    color: var(--color-text);
    font-size: 15px;
    font-family: var(--font-body);
    transition: color 0.3s;
    padding: 5px 0;
    display: inline-block;
}

nav a:hover,
nav a.active,
nav a.current-menu-item {
    color: var(--color-secondary);
}

/* ヘッダーボタン */
.header-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn-header {
    padding: 10px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    font-family: var(--font-body);
    transition: all 0.3s;
    display: inline-block;
}

.btn-faq {
    background: var(--color-secondary);
    color: white;
    border: none;
}

.btn-faq:hover {
    background: var(--color-primary);
    color: white;
}

.btn-availability {
    background: var(--color-light-bg);
    color: #333;
}

.btn-availability:hover {
    background: #e5e5e5;
}

/* カート */
.header-cart {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: var(--color-light-bg);
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    font-family: var(--font-body);
    transition: all 0.3s;
    color: #333;
}

.header-cart:hover {
    background: var(--color-secondary);
    color: white;
}

.cart-icon {
    font-size: 18px;
}

.cart-count {
    color: var(--color-secondary);
    font-weight: 600;
}

.header-cart:hover .cart-count {
    color: white;
}

.cart-amount {
    font-weight: 600;
}
/* ========================================
   Language Switcher - Custom Dropdown (隙間修正版)
   ======================================== */

.language-switcher {
    position: relative;
    margin-right: 15px;
    z-index: 9999;
}

.language-dropdown {
    position: relative;
}

/* 現在の言語ボタン */
.current-language {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: #8bc34a;
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: inherit;
}

.current-language:hover {
    background-color: #7cb342;
}

.current-language .arrow {
    font-size: 10px;
    transition: transform 0.3s ease;
}

/* ドロップダウンリスト */
.language-list {
    position: absolute;
    top: 100%; /* 隙間をなくす */
    right: 0;
    background: white;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    border-radius: 6px;
    padding: 8px 0;
    margin-top: 4px; /* 小さい隙間 */
    min-width: 220px;
    list-style: none;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0;
    
    /* 非表示の初期状態 */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 9998;
    
    /* 強制的に非表示 */
    display: none;
}

/* ホバー時に表示 */
.language-dropdown:hover .language-list,
.language-list:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    display: block;
}

/* 矢印を回転 */
.language-dropdown:hover .current-language .arrow {
    transform: rotate(180deg);
}

/* リスト項目 */
.language-list li {
    margin: 0;
    padding: 0;
}

.language-list li a {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
}

.language-list li a:hover {
    background-color: #f5f5f5;
    color: #8bc34a;
    padding-left: 24px;
}

/* 現在の言語を強調 */
.language-list li.active a {
    background-color: #f0f8e8;
    color: #8bc34a;
    font-weight: 600;
}

/* 透明なブリッジを作る（擬似要素） */
.language-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    height: 10px; /* ブリッジの高さ */
    background: transparent;
    display: none;
}

.language-dropdown:hover::after {
    display: block;
}

/* =============================================
   フッター
   ============================================= */
footer {
    background: var(--color-light-bg);
    padding: 60px 0 30px;
    margin-top: 0;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-about h3 {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 400;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.footer-about p {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--color-text);
    line-height: 1.8;
}

.footer-column h4 {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    display: grid;
    gap: 12px;
}

.footer-links a {
    font-family: var(--font-body);
    color: var(--color-text);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--color-secondary);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 40px 0;
    border-top: 1px solid #ddd;
    text-align: center;
    color: #999;
    font-size: 13px;
    font-family: var(--font-body);
}

/* =============================================
   ボタンスタイル
   ============================================= */
.btn-primary {
    background: var(--color-secondary);
    color: white;
    padding: 18px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font-body);
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    display: inline-block;
    text-align: center;
}

.btn-primary:hover {
    background: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(44, 95, 45, 0.3);
    color: white;
}

.btn-secondary {
    background: white;
    color: #333;
    padding: 18px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font-body);
    transition: all 0.3s;
    border: 2px solid #e5e5e5;
    display: inline-block;
    text-align: center;
}

.btn-secondary:hover {
    border-color: var(--color-secondary);
    color: var(--color-secondary);
}

/* =============================================
   セクションヘッダー
   ============================================= */
.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-subtitle {
    color: var(--color-body);
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.section-title {
    font-family: var(--font-body);
    font-size: 42px;
    font-weight: 400;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.section-description {
    font-family: var(--font-body);
    font-size: 18px;
    color: var(--color-text);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* =============================================
   コンテンツ
   ============================================= */
.site-content {
    padding: 60px 0;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* =============================================
   タイポグラフィ
   ============================================= */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-body);
    color: var(--color-primary);
    line-height: 1.3;
}

p {
    font-family: var(--font-body);
    color: var(--color-text);
    line-height: 1.7;
}
#wpfront-notification-bar-table p {
    color: #FFFFFF;
}

a {
    color: var(--color-secondary);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-primary);
}

/* ?????? */
.header-cart {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: #f5f5f5;
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    color: #333;
}

.header-cart:hover {
    background: #97BC62;
    color: white;
}

.cart-icon {
    font-size: 18px;
}

.cart-count {
    color: #97BC62;
    font-weight: 600;
}

.header-cart:hover .cart-count {
    color: white;
}

.cart-amount {
    font-weight: 600;
}

/* =============================================
   ????????
   ============================================= */
footer {
    background: #f5f5f5;
    padding: 60px 0 30px;
    margin-top: 0;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-about h3 {
    font-size: 32px;
    font-weight: 300;
    color: #808080;
    margin-bottom: 20px;
}

.footer-about p {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    display: grid;
    gap: 12px;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #97BC62;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 40px 0;
    border-top: 1px solid #ddd;
    text-align: center;
    color: #999;
    font-size: 13px;
}

/* =============================================
   ?????????
   ============================================= */
.btn-primary {
    background: #97BC62;
    color: white;
    padding: 18px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.btn-primary:hover {
    background: #5da636;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(108, 184, 65, 0.3);
    color: white;
}

.btn-secondary {
    background: white;
    color: #333;
    padding: 18px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid #e5e5e5;
    display: inline-block;
}

.btn-secondary:hover {
    border-color: #97BC62;
    color: #97BC62;
}

/* =============================================
   ???????????
   ============================================= */
.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-subtitle {
    color: #97BC62;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.section-title {
    font-size: 42px;
    font-weight: 300;
    color: #333;
    margin-bottom: 20px;
}

.section-description {
    font-size: 18px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* =============================================
   ????????
   ============================================= */
.site-content {
    padding: 60px 0;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* =============================================
   WooCommerce?? - ????????
   ============================================= */
   
/* ??????? */
.breadcrumb,
.woocommerce-breadcrumb {
    max-width: 1400px;
    margin: 20px auto;
    padding: 0 40px;
    font-size: 14px;
    color: #999;
}

.breadcrumb a,
.woocommerce-breadcrumb a {
    color: #999;
    text-decoration: none;
}

.breadcrumb a:hover,
.woocommerce-breadcrumb a:hover {
    color: #97BC62;
}

/* ??????????? */
.woocommerce-products-header {
    max-width: 1400px;
    margin: 40px auto 60px;
    padding: 0 40px;
    text-align: center;
}

.woocommerce-products-header__title,
.shop-header .shop-title {
    display: none !important;
}

.shop-description {
    font-size: 18px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

.products-container,
#primary.content-area {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* WooCommerce???????? */
.storefront-sorting {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding: 20px 0;
    border-bottom: 1px solid #e5e5e5;
}

.woocommerce-ordering select {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    background: white;
    cursor: pointer;
}

.woocommerce-result-count {
    color: #666;
    font-size: 14px;
}

/* ?????? */
ul.products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* ????? */
ul.products li.product {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    position: relative;
    margin: 0;
    padding: 0;
}

ul.products li.product:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

/* ????? */
.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #97BC62;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
}

.product-badge.popular {
    background: #FF6B6B;
}

/* ???? */
ul.products li.product .woocommerce-LoopProduct-link {
    display: block;
    text-decoration: none;
}

ul.products li.product img {
    width: 100%;
    height: auto;
    display: block;
    background: #ffffff;
    padding: 40px;
    min-height: 300px;
    object-fit: contain;
}

/* ???? */
.product-info,
ul.products li.product > a {
    padding: 30px;
}

ul.products li.product .woocommerce-loop-product__title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0 0 12px 0;
}

.product-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

/* ??????? */
.product-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e5e5e5;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
}

.feature-icon {
    color: #97BC62;
    font-size: 16px;
}

/* ???? */
ul.products li.product .price {
    display: block;
    margin-bottom: 20px;
}

ul.products li.product .price ins {
    text-decoration: none;
}

ul.products li.product .price del {
    font-size: 16px;
    color: #999;
    margin-right: 10px;
}

ul.products li.product .price .woocommerce-Price-amount {
    font-size: 32px;
    font-weight: 600;
    color: #97BC62;
}

ul.products li.product .price del .woocommerce-Price-amount {
    font-size: 16px;
    color: #999;
    font-weight: normal;
}

.price-per-unit {
    font-size: 13px;
    color: #999;
    margin-top: 5px;
}

.savings {
    display: inline-block;
    background: #FFF3E0;
    color: #F57C00;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 8px;
}

/* ????????? */
ul.products li.product .button,
ul.products li.product .add_to_cart_button {
    width: calc(100% - 60px);
    margin: 0 30px 30px;
    background: #97BC62;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    text-decoration: none;
    display: block;
}

ul.products li.product .button:hover,
ul.products li.product .add_to_cart_button:hover {
    background: #5da636;
    color: white;
}

/* Benefits ????? */
.benefits-section {
    background: #f9f9f9;
    padding: 80px 0;
    margin-bottom: 0;
}

.benefits-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.benefits-title {
    text-align: center;
    font-size: 36px;
    font-weight: 300;
    color: #333;
    margin-bottom: 50px;
}

.benefits-grid,
.features-grid,
.ingredients-grid,
.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.benefit-card {
    text-align: center;
    padding: 30px;
}

.benefit-icon-large {
    font-size: 48px;
    margin-bottom: 20px;
}

.benefit-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.benefit-description {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

#secondary.widget-area {
    display: none;
}
/* 記事ページ（single post）のみサイドバーを表示 */
.single-post #secondary.widget-area {
    display: block !important;
}

/* 記事ページのみサイドバーを表示 */
.single-post #secondary.widget-area {
    display: block !important;
    visibility: visible !important;
}

/* Wrapperにflexboxを適用 */
.single-post .post-wrapper {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 40px !important;
    gap: 30px !important;

}

/* コンテンツエリアを調整 */
.single-post #primary.content-area {
    flex: 1 1 70% !important;
    max-width: 70% !important;
    padding: 0 !important;
}

/* サイドバーを調整 */
.single-post #secondary.widget-area {
    flex: 0 0 28% !important;
    max-width: 28% !important;
}

/* パントガール記事一覧ウィジェット */
.widget-pantogar-articles {
    margin-bottom: 30px;
    padding: 20px;
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
}

.widget-pantogar-articles .widget-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e74c3c;
    color: #333;
}

.widget-pantogar-articles ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget-pantogar-articles li {
    margin-bottom: 10px;
    padding-left: 15px;
    position: relative;
}

.widget-pantogar-articles li:before {
    position: absolute;
    left: 0;
    color: #e74c3c;
    font-weight: bold;
}

.widget-pantogar-articles a {
    color: #e74c3c;
    text-decoration: none;
    transition: color 0.3s, text-decoration 0.3s;
    font-size: 14px;
    line-height: 1.6;
}

.widget-pantogar-articles a:hover {
    color: #c0392b;
    text-decoration: underline;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .widget-pantogar-articles {
        padding: 15px;
    }
    
    .widget-pantogar-articles .widget-title {
        font-size: 16px;
    }
    
    .widget-pantogar-articles a {
        font-size: 13px;
    }
}
/* レスポンシブ対応：タブレット以下では縦に並べる */
@media (max-width: 1024px) {
    .single-post .post-wrapper {
        display: block !important;
    }
    
    .single-post #primary.content-area,
    .single-post #secondary.widget-area {
        flex: none !important;
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 !important;
    }
}

#primary.content-area {
    width: 100%;
    float: none;
}

 
.single-product #primary.content-area {
    max-width: 100%;
    width: 100%;
}

.single-product .site-main {
    max-width: 100%;
    width: 100%;
}

.single-product .product {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

/* ??????? */
.single-product .woocommerce-product-gallery {
    height: fit-content;
}

.single-product .woocommerce-product-gallery__wrapper {
    display: grid;
    gap: 20px;
}

.single-product .woocommerce-product-gallery__image {
    background: #ffffff;
    border-radius: 12px;
    padding: 40px;
    margin: 0;
}

.single-product .woocommerce-product-gallery__image img {
    width: 100%;
    height: auto;
}

/* ??????? */
.single-product .flex-control-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 20px;
    list-style: none;
    padding: 0;
}

.single-product .flex-control-thumbs li {
    background: #ffffff;
    border-radius: 8px;
    padding: 15px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s;
    margin: 0;
}

.single-product .flex-control-thumbs li:hover,
.single-product .flex-control-thumbs li.flex-active {
    border-color: #97BC62;
}

.single-product .flex-control-thumbs img {
    width: 100%;
    height: auto;
    opacity: 0.7;
}

.single-product .flex-control-thumbs li.flex-active img {
    opacity: 1;
}

/* ???? */
.single-product .summary {
    padding-top: 20px;
}

.single-product .product-badge {
    display: inline-block;
    background: #97BC62;
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.single-product .product_title {
    font-size: 42px;
    font-weight: 300;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.2;
}

/* ?? */
.single-product .woocommerce-product-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
}

.single-product .star-rating {
    color: #FFC107;
    font-size: 18px;
}

.single-product .woocommerce-review-link {
    color: #666;
    font-size: 14px;
    text-decoration: none;
}

/* ?? */
.single-product .price {
    font-size: 36px;
    font-weight: 600;
    color: #97BC62;
    margin-bottom: 30px;
}

.single-product .price del {
    font-size: 24px;
    color: #999;
    margin-right: 10px;
}

/* ??????? */
.single-product .woocommerce-product-details__short-description {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 35px;
    padding-bottom: 35px;
    border-bottom: 1px solid #e5e5e5;
}

/* ???????? */
.key-benefits {
    margin-bottom: 35px;
}

.key-benefits h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.benefits-list {
    display: grid;
    gap: 15px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.benefit-icon {
    color: #97BC62;
}

/* ??????? */
.single-product form.cart {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}


/* =============================================
   商品詳細ページ - 数量選択（実際の構造版）
   ============================================= */

/* 数量選択全体 */
.single-product .quantity {
    display: inline-flex;
    align-items: center;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    background: white;
}

/* マイナス・プラスボタン */
.single-product .quantity .qty-btn {
    background: #f5f5f5;
    border: none;
    width: 40px;
    height: 48px;
    cursor: pointer;
    font-size: 18px;
    color: #666;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.single-product .quantity .qty-btn:hover {
    background: #e5e5e5;
    color: #333;
}

/* 数量入力フィールド */
.single-product .quantity input.qty,
.single-product .quantity input[type="number"] {
    border: none;
    width: 60px;
    height: 48px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    background: white;
    -moz-appearance: textfield;
}

/* 数量フィールドの上下矢印を非表示 */
.single-product .quantity input[type="number"]::-webkit-inner-spin-button,
.single-product .quantity input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.single-product .quantity input:focus {
    outline: none;
}

/* カートフォーム全体 */
.single-product form.cart {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 25px;
}

/* カートに追加ボタン */
.single-product .single_add_to_cart_button {
    flex: 1;
    background: #97BC62 !important;
    color: white !important;
    border: none !important;
    padding: 14px 40px !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none !important;
}

.single-product .single_add_to_cart_button:hover {
    background: #5da636 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(108, 184, 65, 0.3);
}

/* ???? */
.single-product .product_meta {
    display: none !important;
}

/* Trust ??? */
.trust-badges {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.trust-badge {
    text-align: center;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.trust-badge-icon {
    font-size: 32px;
    color: #97BC62;
    margin-bottom: 10px;
}

.trust-badge-text {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.single-product .woocommerce-tabs {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 0 0 0 !important;
    padding: 0 !important;
    background: #fff;
    grid-column: 1 / -1; /* グリッドの全幅を使う */
}

.single-product .woocommerce-tabs .tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #e5e5e5;
    margin-bottom: 40px;
    list-style: none;
    padding: 0;
}

.single-product .woocommerce-tabs .tabs li {
    margin: 0;
}

.single-product .woocommerce-tabs .tabs a {
    display: block;
    background: none;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    text-decoration: none;
    position: relative;
    transition: color 0.3s;
}

.single-product .woocommerce-tabs .tabs .active a {
    color: #97BC62;
}

.single-product .woocommerce-tabs .tabs .active a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: #97BC62;
}

.single-product .wc-tabs li {
    list-style: none;
}
.single-product .wc-tab ol {
    padding-left: 0 !important;
    margin-left: 20px !important;
    list-style-position: outside !important;
}

.single-product .wc-tabs li.active a {
    color: #97BC62;
}

/* タブコンテンツエリア */
.single-product .woocommerce-Tabs-panel {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    background: white;
    display: none;
}

.single-product .woocommerce-Tabs-panel.active {
    display: block;
}

.single-product .wc-tabs li.active a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: #97BC62;
}

.single-product .panel {
    padding: 0;
}

.single-product .woocommerce-Tabs-panel h3 {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin-bottom: 25px;
    background: #FFF !important;
}

.single-product .woocommerce-Tabs-panel ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

/* Ingredients Grid */
.single-product .ingredients-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.single-product .ingredient-item {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
}

.single-product .ingredient-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 16px;
}

.single-product .ingredient-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* Related Products */
.single-product .related.products {
    max-width: 1400px;
    margin: 60px auto;
    padding: 0 40px;
}

.single-product .woocommerce-Tabs-panel li {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 10px;
}

.single-product .woocommerce-Tabs-panel p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

.single-product .wc-tabs a {
    display: block;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    text-decoration: none;
    position: relative;
    transition: color 0.3s;
}

.single-product .panel h2,
.single-product .panel h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.single-product .panel p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

/* ?????? */
.ingredients-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.ingredient-item {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
}

.ingredient-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 16px;
}

.ingredient-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* ????????? */
.single-product #reviews {
    margin-top: 40px;
}

.single-product #reviews .commentlist {
    list-style: none;
    padding: 0;
}

.single-product #reviews .comment {
    padding: 30px 0;
    border-bottom: 1px solid #e5e5e5;
}

.single-product .comment-text {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.single-product .star-rating {
    color: #FFC107;
}

.single-product .comment-text .description {
    font-size: 15px;
    line-height: 1.8;
    color: #666;
}

.single-product .related.products {
    display: none !important;
}

/* ================================
   基本レイアウト
   ================================ */

/* ページ全体の背景 */
.woocommerce-account .site-main {
    background: #fff;
    padding: 50px 20px 0;
}

/* WooCommerceのマイアカウントページ全体を2カラムグリッドに */
.woocommerce-account .woocommerce {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

/* 不要なサイドバーを非表示 */
.woocommerce-account #secondary {
    display: none;
}

/* ================================
   左カラム - ナビゲーション
   ================================ */

.woocommerce-MyAccount-navigation {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    height: fit-content;
}

/* ナビゲーションリスト - 縦並び */
.woocommerce-MyAccount-navigation ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
}

.woocommerce-MyAccount-navigation li {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    width: 100% !important;
    border-bottom: 1px solid #f5f5f5;
}

.woocommerce-MyAccount-navigation li:last-child {
    border-bottom: none;
}

/* ナビゲーションリンク */
.woocommerce-MyAccount-navigation a {
    display: block !important;
    padding: 12px 30px;
    color: #666;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 100% !important;
    box-sizing: border-box !important;
    border-left: 4px solid transparent;
}

/* ホバー効果 */
.woocommerce-MyAccount-navigation a:hover {
    color: #97BC62;
    background: #f9f9f9;
    padding-left: 35px;
}

/* アクティブなメニュー項目 */
.woocommerce-MyAccount-navigation li.is-active a {
    color: #97BC62;
    background: #f0f8ec;
    font-weight: 600;
    border-left: 4px solid #97BC62;
    padding-left: 26px;
}

/* ================================
   右カラム - コンテンツ
   ================================ */

.woocommerce-MyAccount-content {
    background: #ffffff;
    border-radius: 12px;
    padding: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    min-height: 400px;
}

/* ページタイトル */
.woocommerce-account .entry-title {
    display: none; /* ページ上部のタイトルを非表示 */
}
/* カートページのタイトル非表示 */
.woocommerce-cart .entry-title {
    display: none;
}

/* チェックアウトページのタイトル非表示 */
.woocommerce-checkout .entry-title {
    display: none;
}

/* ================================
   Dashboard ページ
   ================================ */

/* ダッシュボードの挨拶文 */
.woocommerce-MyAccount-content > p {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.woocommerce-MyAccount-content > p:first-child {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e5e5;
}

.woocommerce-MyAccount-content p strong {
    color: #97BC62;
    font-weight: 600;
}

.woocommerce-MyAccount-content p a {
    color: #97BC62;
    text-decoration: none;
    transition: all 0.3s ease;
}

.woocommerce-MyAccount-content p a:hover {
    color: #5da636;
    text-decoration: underline;
}

/* ================================
   Orders ページ
   ================================ */

/* 注文テーブル */
.woocommerce-MyAccount-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.woocommerce-MyAccount-content table th {
    background: #ffffff;
    padding: 15px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    color: #333;
    border-bottom: 1px solid #e5e5e5;
}
.woocommerce-order-details tbody tr:last-child td {
    border-bottom: 2px solid #666;
}
.woocommerce-MyAccount-content table td {
    padding: 15px;
    border-bottom: 1px solid #e5e5e5;
    font-size: 14px;
    color: #666;
}

.woocommerce-MyAccount-content table tbody tr:hover {
    background: #f9f9f9;
}

/* 注文番号リンク */
.woocommerce-orders-table__cell-order-number a {
    color: #97BC62;
    text-decoration: none;
    font-weight: 600;
}

.woocommerce-orders-table__cell-order-number a:hover {
    text-decoration: underline;
}

/* Order Details - 商品名リンク */
.woocommerce-table__product-name a {
    color: #97BC62;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.woocommerce-table__product-name a:hover {
    color: #5da636;
    text-decoration: underline;
}

/* 商品数量の表示 */
.woocommerce-table__product-name .product-quantity {
    color: #666;
    font-weight: normal;
    margin-left: 10px;
}

/* Viewボタン */
.woocommerce-button.button.view {
    background: #97BC62;
    color: white !important;
    padding: 8px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
    display: inline-block;
}

.woocommerce-button.button.view:hover {
    background: #5da636;
    transform: translateY(-1px);
}

/* ================================
   Order View (詳細) ページ
   ================================ */

/* 注文情報のマーク */
mark.order-number,
mark.order-date,
mark.order-status {
    background: #f0f8ec;
    color: #97BC62;
    padding: 2px 8px;
    border-radius: 3px;
    font-weight: 600;
}

/* 注文詳細セクション */
.woocommerce-order-details {
    margin-top: 30px;
}

.woocommerce-order-details__title {
    font-size: 20px;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e5e5e5;
}

/* 顧客詳細セクション */
.woocommerce-customer-details {
    margin-top: 40px;
}

/* 住所カラム */
.woocommerce-columns--addresses {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 20px;
}

.woocommerce-column__title {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e5e5;
}

.woocommerce-customer-details address {
    font-style: normal;
    line-height: 1.8;
    color: #666;
}

/* ================================
   Addresses ページ
   ================================ */

/* 住所カード */
.woocommerce-Addresses {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 20px;
}

.woocommerce-Address {
    background: #f9f9f9;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 30px;
}

.woocommerce-Address-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e5e5e5;
}

.woocommerce-Address-title h2 {
    font-size: 18px;
    color: #333;
    margin: 0;
}

.woocommerce-Address-title .edit {
    color: #97BC62;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.woocommerce-Address-title .edit:hover {
    text-decoration: underline;
}

.woocommerce-Address address {
    font-style: normal;
    line-height: 1.8;
    color: #666;
}

/* ================================
   Payment Methods ページ
   ================================ */

/* 支払い方法フォーム */
#add_payment_method {
    max-width: 600px;
}

.woocommerce-PaymentMethods {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}

.woocommerce-PaymentMethod {
    padding: 20px;
    background: #f9f9f9;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    margin-bottom: 15px;
}

.woocommerce-PaymentMethod input[type="radio"] {
    margin-right: 10px;
}

.woocommerce-PaymentMethod label {
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
}

.woocommerce-PaymentMethod label img {
    margin-left: 10px;
    height: 20px;
}

.woocommerce-PaymentBox {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e5e5e5;
}

/* ================================
   Account Details ページ
   ================================ */

/* フォーム全般 */
.woocommerce-EditAccountForm {
    max-width: 700px;
}

/* フォームの行 */
.woocommerce-form-row {
    margin-bottom: 25px;
}

.woocommerce-form-row--first {
    width: calc(50% - 10px);
    float: left;
    margin-right: 20px;
}

.woocommerce-form-row--last {
    width: calc(50% - 10px);
    float: left;
}

.woocommerce-form-row--wide {
    width: 100%;
    clear: both;
}

/* ラベル */
.woocommerce-MyAccount-content label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    font-size: 14px;
}

.woocommerce-MyAccount-content .required {
    color: #97BC62;
}

/* 入力フィールド */
.woocommerce-MyAccount-content input[type="text"],
.woocommerce-MyAccount-content input[type="email"],
.woocommerce-MyAccount-content input[type="password"],
.woocommerce-MyAccount-content input[type="tel"],
.woocommerce-MyAccount-content select,
.woocommerce-MyAccount-content textarea {
    width: 100%;
    padding: 14px 18px;
    font-size: 15px;
    color: #333;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: white;
}

.woocommerce-MyAccount-content input:focus,
.woocommerce-MyAccount-content select:focus,
.woocommerce-MyAccount-content textarea:focus {
    outline: none;
    border-color: #97BC62;
    box-shadow: 0 0 0 3px rgba(108, 184, 65, 0.1);
}

/* 説明文 */
.woocommerce-MyAccount-content em {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    color: #666;
    font-style: italic;
}

/* パスワード変更セクション */
.woocommerce-MyAccount-content fieldset {
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    padding: 30px;
    margin: 30px 0;
    background: #f9f9f9;
}

.woocommerce-MyAccount-content legend {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    padding: 0 15px;
    background: #fff;
    border-radius: 4px;
}

.show-password-input {
    margin-top: 5px !important;
    padding: 10px!important;
    border: 1px solid #e5e5e5 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    background: linear-gradient(135deg, #97BC62 0%, #5da636 100%);
    border-radius: 8px;
    transition: all 0.3s ease;
    min-width: 60px !important;
    text-align: center !important;
}

.show-password-input::before {
    content: "Show" !important;
    color: #fff !important;
    font-weight: 600 !important;
}

.show-password-input:empty::before {
    content: "Show" !important;
}

.show-password-input:hover {
    color: #fff !important;
    background: linear-gradient(135deg, #5da636 0%, #4d8a2d 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(108, 184, 65, 0.3);
}

/* ================================
   共通ボタンスタイル
   ================================ */

.woocommerce-MyAccount-content button[type="submit"],
.woocommerce-MyAccount-content .button,
.woocommerce-Button {
    background: linear-gradient(135deg, #97BC62 0%, #5da636 100%);
    color: white !important;
    border: none;
    padding: 16px 40px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    text-decoration: none;
    text-align: center;
}

.woocommerce-MyAccount-content button[type="submit"]:hover,
.woocommerce-MyAccount-content .button:hover,
.woocommerce-Button:hover {
    background: linear-gradient(135deg, #5da636 0%, #4d8a2d 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(108, 184, 65, 0.3);
    text-decoration: none;
}

/* ================================
   メッセージ・通知
   ================================ */

.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    border-left: 4px solid;
}

.woocommerce-message {
    background: #f0f8ec;
    border-color: #97BC62;
    color: #4a6332;
}

.woocommerce-error {
    background: #fef0f0;
    border-color: #e74c3c;
    color: #721c24;
}

.woocommerce-info {
    background: #e3f2fd;
    border-color: #2196f3;
    color: #0c5460;
}

/* =============================================
   カート・チェックアウトページ
   ============================================= */

/* ================================
   カートページ
   ================================ */

/* カートページ全体のコンテナ */
.woocommerce-cart .site-main {
    background: #f5f5f5;
    padding: 40px 0;
}

.woocommerce-cart .entry-header {
    max-width: 1400px;
    margin: 0 auto 30px;
    padding: 0 40px;
}

.woocommerce-cart .entry-title {
    font-size: 42px;
    font-weight: 300;
    color: #333;
    text-align: center;
    margin-bottom: 10px;
}

/* カートのメインコンテナ */
.wp-block-woocommerce-cart {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ================================
   カートに商品がある場合
   ================================ */

.wp-block-woocommerce-filled-cart-block {
    display: flex;
    grid-template-columns: 1fr 400px;
    gap: 10px;
    align-items: start;
}

/* 左側 - カート商品エリア */
.wp-block-woocommerce-cart-items-block {
    flex: 1;
    min-width: 0;
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* カートテーブル */
.wc-block-cart-items {
    width: 100%;
}

/*
.wc-block-cart-items__header {
    display: grid;
    grid-template-columns: 100px 1fr 120px 120px 120px 50px;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e5e5e5;
    margin-bottom: 20px;
}
*/

.wc-block-cart-items__header-image,
.wc-block-cart-items__header-product,
.wc-block-cart-items__header-quantity,
.wc-block-cart-items__header-price,
.wc-block-cart-items__header-total {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* カート商品行 */
.wc-block-cart-items__row {
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #f5f5f5;
    align-items: center;
}

.wc-block-cart-items__row:last-child {
    border-bottom: none;
}

/* 商品画像 */
.wc-block-cart-item__image {
    position: relative;
}

.wc-block-cart-item__image img,
.wc-block-components-product-image img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 8px;
    background: #f9f9f9;
    padding: 10px;
}

/* 商品情報 */
/*
.wc-block-cart-item__product {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
*/

.wc-block-components-product-name {
    font-size: 16px;
    color: #97BC62 !important;
    text-decoration: none !important;
}

.wc-block-components-product-name:hover {
    color: #5da636 !important;
    text-decoration: underline !important;
}

.wc-block-components-product-metadata {
    font-size: 13px;
    color: #666;
}
/* カート商品の説明を非表示 */
.wc-block-cart-item__product-metadata,
.wc-block-components-product-metadata {
    display: none !important;
}

/* 数量セレクター */
.wc-block-components-quantity-selector {
    display: flex;
    align-items: center;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    width: 100px;
}

.wc-block-components-quantity-selector__button {
    background: #f5f5f5;
    border: none;
    width: 30px;
    height: 40px;
    cursor: pointer;
    font-size: 18px;
    color: #666;
    transition: all 0.3s ease;
}

.wc-block-components-quantity-selector__button:hover:not(:disabled) {
    background: #97BC62;
    color: white;
}

.wc-block-components-quantity-selector__button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.wc-block-components-quantity-selector__input {
    border: none;
    width: 40px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    background: white;
}

/* 価格表示 */
.wc-block-components-product-price {
    font-size: 16px;
    color: #333;
}

.wc-block-components-product-price__value {
    font-weight: 600;
}

.wc-block-components-product-price__regular {
    text-decoration: line-through;
    color: #999;
    margin-right: 8px;
}

.wc-block-cart-item__total .wc-block-components-product-price {
    font-size: 18px;
    color: #97BC62;
    font-weight: 600;
}

/* 削除ボタン */
.wc-block-cart-item__remove-link,
.wc-block-components-product-remove-button {
    background: none;
    border: none;
    color: #97BC62 !important;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s ease;
    padding: 10px;
    text-decoration: none !important;
}

.wc-block-cart-item__remove-link:hover,
.wc-block-components-product-remove-button:hover {
    color: #5da636;
    text-decoration: underline !important;
}

/* 右側 - カート合計エリア */
.wp-block-woocommerce-cart-totals-block {
    width: 400px;
    flex-shrink: 0;
    position: sticky;
    top: 100px;
}

.wp-block-woocommerce-cart-order-summary-block {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* 合計セクションのタイトル */
.wc-block-cart__totals-title,
.wc-block-components-totals-wrapper > h2 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e5e5e5;
}

/* クーポンフォーム */
.wc-block-components-totals-coupon {
    margin-bottom: 25px;
}

.wc-block-components-totals-coupon__content {
    display: flex;
    gap: 10px;
}

.wc-block-components-totals-coupon__input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.wc-block-components-totals-coupon__input:focus {
    outline: none;
    border-color: #97BC62;
    box-shadow: 0 0 0 3px rgba(108, 184, 65, 0.1);
}

.wc-block-components-totals-coupon__button {
    background: #f5f5f5;
    color: #333;
    border: 2px solid #e5e5e5;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wc-block-components-totals-coupon__button:hover {
    border-color: #97BC62;
    color: #97BC62;
    background: #f0f8ec;
}

/* 適用済みクーポン */
.wc-block-components-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f0f8ec;
    color: #97BC62;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
}

.wc-block-components-chip__remove {
    background: none;
    border: none;
    color: #97BC62;
    cursor: pointer;
    font-size: 16px;
    padding: 0;
    margin-left: 5px;
}

/* 合計金額の詳細 */
.wc-block-components-totals-table {
    margin: 25px 0;
}

.wc-block-components-totals-table__line {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
}

.wc-block-components-totals-table__line:last-child {
    border-bottom: none;
}

.wc-block-components-totals-table__line-label {
    font-size: 15px;
    color: #666;
}

.wc-block-components-totals-table__line-value {
    font-size: 16px;
    color: #333;
    font-weight: 600;
}

/* 合計金額（強調） */
.wc-block-components-totals-footer-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    margin-top: 20px;
    border-top: 2px solid #333;
}

.wc-block-components-totals-footer-item-label {
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.wc-block-components-totals-footer-item-value {
    font-size: 28px;
    font-weight: 600;
    color: #97BC62;
}

/* チェックアウトへ進むボタン */
.wp-block-woocommerce-proceed-to-checkout-block {
    margin-top: 25px;
}

.wc-block-components-checkout-button,
.wc-block-components-button.wc-block-cart__submit-button {
    width: 100%;
    background: linear-gradient(135deg, #97BC62 0%, #5da636 100%);
    color: white !important;
    border: none;
    padding: 18px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    display: block;
    text-decoration: none;
}

.wc-block-components-checkout-button:hover,
.wc-block-components-button.wc-block-cart__submit-button:hover {
    background: linear-gradient(135deg, #5da636 0%, #4d8a2d 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(108, 184, 65, 0.3);
}

/* 支払い方法アイコン */
.wc-block-components-payment-method-icons {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f5f5f5;
}

.wc-block-components-payment-method-icon {
    height: 30px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.wc-block-components-payment-method-icon:hover {
    opacity: 1;
}

/* ================================
   空のカート
   ================================ */

.wp-block-woocommerce-empty-cart-block {
    background: #ffffff;
    border-radius: 12px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.wc-block-cart__empty-cart__title {
    font-size: 24px;
    font-weight: 300;
    color: #666;
    margin-bottom: 30px;
}

.wc-block-cart__empty-cart__title.with-empty-cart-icon::before {
    content: "🛒";
    display: block;
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.3;
}

/* 空のカート内の商品グリッド */
.wp-block-woocommerce-empty-cart-block .wc-block-grid {
    margin-top: 40px;
}

.wp-block-woocommerce-empty-cart-block .wc-block-grid__products {
/*    display: grid; */
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    list-style: none;
    padding: 0;
    margin: 40px 0 0 0;
    justify-content: center;
}

.wp-block-woocommerce-empty-cart-block .wc-block-grid__product {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
}

.wp-block-woocommerce-empty-cart-block .wc-block-grid__product:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.wp-block-woocommerce-empty-cart-block .wc-block-grid__product-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 15px;
}

.wp-block-woocommerce-empty-cart-block .wc-block-grid__product-title {
    font-size: 18px;
    font-weight: 600;
    color: #97BC62;
    padding: 0 25px;
    margin: 20px 0 15px;
    line-height: 1.4;
    text-align: center;
    text-decoration: none !important;
}

.wp-block-woocommerce-empty-cart-block .wc-block-grid__product-link:hover .wc-block-grid__product-title {
    text-decoration: underline !important;
    color: #97BC62;
}

.wp-block-woocommerce-empty-cart-block .wc-block-grid__product-link {
    text-decoration: none !important;
}

.wp-block-woocommerce-empty-cart-block .wc-block-grid__product-price {
    font-size: 18px;
    font-weight: 600;
    color: #97BC62;
    margin-bottom: 15px;
    
}

/* ボタン本体 */
.wp-block-woocommerce-empty-cart-block .add_to_cart_button,
.wp-block-woocommerce-empty-cart-block .wp-block-button__link,
.wp-block-woocommerce-empty-cart-block .wp-block-button a {
    display: inline-block !important;
    width: auto !important;
    min-width: 120px !important;
    background: #97BC62 !important;
    color: white !important;
    border: none !important;
    padding: 10px 24px !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-align: center !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    white-space: nowrap !important;
    line-height: 1.4 !important;
    margin: 0 !important;
    letter-spacing: 0.3px !important;
}

/* ホバー効果 */
.wp-block-woocommerce-empty-cart-block .add_to_cart_button:hover,
.wp-block-woocommerce-empty-cart-block .wp-block-button__link:hover {
    background: #5da636 !important;
    color: white !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 8px rgba(108, 184, 65, 0.3) !important;
}

/* ボタンのラッパー */
.wp-block-woocommerce-empty-cart-block .wp-block-button,
.wp-block-woocommerce-empty-cart-block .wc-block-grid__product-add-to-cart {
    padding: 0 20px 20px !important;
    margin: 0 !important;
    text-align: center !important;
}

/* ================================
   ローディング状態
   ================================ */

.wc-block-checkout.is-loading,
.wp-block-woocommerce-cart.is-loading {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

.wc-block-checkout.is-loading::after,
.wp-block-woocommerce-cart.is-loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 4px solid #e5e5e5;
    border-top-color: #97BC62;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}


/* ================================
   チェックアウトページ - 基本レイアウトのみ
   ================================ */

/* チェックアウトページ全体の背景 */
.woocommerce-checkout .site-main {
    background: #f5f5f5;
    padding: 40px 0;
}

/* ページタイトル */
.woocommerce-checkout .entry-header {
    max-width: 1400px;
    margin: 0 auto 10px;
    padding: 0 40px;
}

.woocommerce-checkout .entry-title {
    font-size: 42px;
    font-weight: 300;
    color: #333;
    text-align: center;
}

/* チェックアウトのメインコンテナ幅 */
.wp-block-woocommerce-checkout {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}
.wp-block-woocommerce-checkout-fields-block {
  flex: 1;
  min-width: 0;
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.wp-block-woocommerce-checkout-order-summary-block {
  background: #ffffff;
  border-radius: 12px !important;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* クーポンコード入力フィールドの調整 */
.wc-block-components-totals-coupon__content {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.wc-block-components-totals-coupon__input,
.wc-block-components-totals-coupon input[type="text"] {
    flex: 1;
    padding: 12px 15px !important;
    border: 1px solid #e5e5e5 !important;
    border-radius: 8px;
    font-size: 14px;
    background: white;
    transition: all 0.3s ease;
}

.wc-block-components-totals-coupon__input:focus,
.wc-block-components-totals-coupon input[type="text"]:focus {
    outline: none;
    border-color: #97BC62 !important;
    box-shadow: 0 0 0 3px rgba(108, 184, 65, 0.1);
}

/* Applyボタン */
.wc-block-components-totals-coupon__button,
.wc-block-components-button.wc-block-components-totals-coupon__button {
    background: #f5f5f5 !important;
    color: #333 !important;
    border: 1px solid #e5e5e5 !important;
    padding: 12px 24px !important;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.wc-block-components-totals-coupon__button:hover {
    border-color: #97BC62 !important;
    color: #97BC62 !important;
    background: #f0f8ec !important;
}

/* クーポンフィールド全体の余白調整 */
.wc-block-components-totals-coupon {
    margin-bottom: 25px;
    padding-top: 10px;
}

/* Free shipping行のボーダーを削除 */
.wc-block-components-totals-wrapper {
    border-top: none !important;
}
/* Place Orderボタンのスタイル統一 */
.wc-block-components-checkout-place-order-button,
.wc-block-checkout__actions_row button[type="submit"],
button.wc-block-components-button.wp-element-button.wc-block-components-checkout-place-order-button {
    width: 40%;
    background: #97BC62 !important;
    background: linear-gradient(135deg, #97BC62 0%, #5da636 100%) !important;
    color: white !important;
    border: none !important;
    padding: 18px 30px !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    display: block;
    text-decoration: none;
}
.wc-block-components-button {
    text-decoration: none !important;
}

.wc-block-components-checkout-place-order-button:hover,
.wc-block-checkout__actions_row button[type="submit"]:hover {
    background: linear-gradient(135deg, #5da636 0%, #4d8a2d 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(108, 184, 65, 0.3);
}

/* Return to Cartリンクのスタイル */
.wc-block-components-checkout-return-to-cart-button {
    color: #97BC62 !important;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.wc-block-components-checkout-return-to-cart-button:hover {
    color: #5da636 !important;
    text-decoration: underline;
}

.wc-block-components-checkout-place-order-button__text {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* カートアイコン付きメッセージ */
.wp-block-woocommerce-empty-cart-block .wc-block-cart__empty-cart__title.with-empty-cart-icon::before {
    content: "🛒";
    display: block;
    font-size: 24px;
    margin-bottom: 20px;
    opacity: 0.2;
    filter: grayscale(100%);
}

/* =============================================
   決済完了ページ（Order Received / Thank You Page）
   ============================================= */

/* ページ全体の背景 */
.woocommerce-order .site-main {
    background: #f5f5f5;
    padding: 40px 0;
}

/* ページタイトル非表示 */
.woocommerce-order .entry-title {
    display: none;
}

.woocommerce-order {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 40px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* ================================
   サンクスメッセージ
   ================================ */

.woocommerce-thankyou-order-received,
.woocommerce-notice.woocommerce-notice--success.woocommerce-thankyou-order-received,
p.woocommerce-notice.woocommerce-notice--success.woocommerce-thankyou-order-received {
    background: linear-gradient(135deg, #97BC62 0%, #5da636 100%) !important;
    color: white !important;
    padding: 30px 40px !important;
    border-radius: 12px !important;
    font-size: 24px !important;
    font-weight: 300 !important;
    text-align: center !important;
    margin-bottom: 40px !important;
    box-shadow: 0 4px 20px rgba(108, 184, 65, 0.3) !important;
    border: none !important;
    list-style: none !important;
}

/* アイコン追加 */
.woocommerce-thankyou-order-received::before,
.woocommerce-notice.woocommerce-notice--success.woocommerce-thankyou-order-received::before,
p.woocommerce-notice.woocommerce-notice--success.woocommerce-thankyou-order-received::before {
    content: "✓" !important;
    display: inline-block !important;
    width: 50px !important;
    height: 50px !important;
    background: rgba(255, 255, 255, 0.2) !important;
    border-radius: 50% !important;
    line-height: 50px !important;
    font-size: 32px !important;
    margin-right: 15px !important;
    vertical-align: middle !important;
}

/* WooCommerceのデフォルトアイコンを非表示 */
.woocommerce-thankyou-order-received::before {
    font-family: inherit !important;
}

/* ================================
   注文概要（Order Overview）- 縦1列バージョン
   ================================ */

.woocommerce-order-overview {
    display: flex;
    flex-direction: column;
    gap: 0;
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.woocommerce-order-overview li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    font-size: 15px;
    color: #666;
    border-bottom: 1px solid #f5f5f5;
    background: #ffffff;
    transition: background 0.3s ease;
}

.woocommerce-order-overview li:last-child {
    border-bottom: none;
}

.woocommerce-order-overview li:hover {
    background: #f9f9f9;
}

.woocommerce-order-overview strong {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    word-break: break-all;
    overflow-wrap: break-word;
    text-align: right;
}

.woocommerce-order-overview .total {
    background: #f0f8ec;
    border-left: 4px solid #97BC62;
}

.woocommerce-order-overview .total strong {
    color: #97BC62;
    font-size: 24px;
}

/* ================================
   支払い方法の説明
   ================================ */

.woocommerce-order > p {
    background: #fff9e6;
    border-left: 4px solid #f39c12;
    padding: 15px 20px;
    margin: 0 0 40px 0;
    border-radius: 0 8px 8px 0;
    font-size: 15px;
    color: #666;
}

/* ================================
   注文詳細テーブル
   ================================ */

.woocommerce-order-details {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.woocommerce-order-details__title {
    font-size: 24px;
    font-weight: 300;
    color: #333;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e5e5e5;
}

/* テーブル */
.woocommerce-table--order-details {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.woocommerce-table--order-details thead th {
    background: #f9f9f9;
    padding: 15px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    color: #333;
    border-bottom: 2px solid #e5e5e5;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.woocommerce-table--order-details tbody td {
    padding: 20px;
    border-bottom: 1px solid #f5f5f5;
    font-size: 15px;
    color: #666;
}

.woocommerce-table--order-details tbody tr:last-child td {
    border-bottom: 2px solid #e5e5e5;
}

.woocommerce-table--order-details tbody tr:hover {
    background: #f9f9f9;
}

/* 商品名リンク */
.woocommerce-table__product-name a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.woocommerce-table__product-name a:hover {
    color: #97BC62;
    text-decoration: underline;
}

/* 数量 */
.product-quantity {
    color: #666;
    font-weight: normal;
    margin-left: 10px;
}

/* 価格 */
.woocommerce-table__product-total {
    text-align: right;
    font-weight: 600;
    color: #333;
}

/* テーブルフッター（合計） */
.woocommerce-table--order-details tfoot th {
    padding: 15px 20px;
    text-align: left;
    font-weight: 500;
    font-size: 15px;
    color: #666;
    background: #f9f9f9;
}

.woocommerce-table--order-details tfoot td {
    padding: 15px 20px;
    text-align: right;
    font-weight: 600;
    font-size: 15px;
    color: #333;
    background: #f9f9f9;
}

/* 最終合計行 */
.woocommerce-table--order-details tfoot tr:nth-last-child(2) th,
.woocommerce-table--order-details tfoot tr:nth-last-child(2) td {
    background: #97BC62;
    color: white;
    font-size: 18px;
    font-weight: 600;
}

/* ================================
   顧客情報（住所）
   ================================ */

.woocommerce-customer-details {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.woocommerce-columns--addresses {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 0;
}

.woocommerce-column__title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e5e5e5;
}

.woocommerce-customer-details address {
    font-style: normal;
    line-height: 1.8;
    color: #666;
    font-size: 15px;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #97BC62;
}

.woocommerce-customer-details--phone,
.woocommerce-customer-details--email {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e5e5e5;
    font-weight: 500;
    color: #333;
}

.woocommerce-customer-details--email {
    color: #97BC62;
}

/* =============================================
   ログイン・登録ページ（完全中央揃え - 最終版）
   ============================================= */

body.woocommerce-account:not(.logged-in) .woocommerce {
    display: block !important;
    grid-template-columns: none !important;
}

.woocommerce-account .entry-content {
    background: #fff;
    padding: 0 60px 60px;
}

#customer_login {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.u-column1,
.u-column2 {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

#customer_login h2 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #97BC62;
}

/* フォームスタイル */
.woocommerce-form-row {
    margin-bottom: 20px;
}

.woocommerce-form-row label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 14px;
}

.woocommerce-form-row .required {
    color: #97BC62;
}

.woocommerce-Input {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: #fafafa;
}

.woocommerce-Input:focus {
    outline: none;
    border-color: #97BC62;
    background: white;
    box-shadow: 0 0 0 3px rgba(108, 184, 65, 0.1);
}

/* チェックボックス */
.woocommerce-form-login__rememberme {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    cursor: pointer;
}

.woocommerce-form__input-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* ボタン */
.woocommerce-button {
    background: linear-gradient(135deg, #97BC62 0%, #5da636 100%);
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
}

.woocommerce-button:hover {
    background: linear-gradient(135deg, #5da636 0%, #4d8a2d 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 184, 65, 0.3);
    color: white;
}

/* パスワード忘れリンク */
.woocommerce-LostPassword {
    text-align: center;
    margin-top: 20px;
}

.woocommerce-LostPassword a {
    color: #97BC62;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.woocommerce-LostPassword a:hover {
    color: #5da636;
    text-decoration: underline;
}

/* プライバシーポリシー */
.woocommerce-privacy-policy-text {
    margin: 20px 0;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

.woocommerce-privacy-policy-text a {
    color: #97BC62;
    text-decoration: none;
}

.woocommerce-privacy-policy-text a:hover {
    text-decoration: underline;
}

/* エラーメッセージ */
.woocommerce-error {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #f5c6cb;
}

.woocommerce-message {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #c3e6cb;
}

/* =============================================
   決済完了ページ - ログインフォーム（ログアウト時）
   ============================================= */

/* サンクスメッセージを非表示（ログアウト時） */
.woocommerce-order-received:not(.logged-in) .woocommerce-thankyou-order-received {
    display: none !important;
}

/* ページタイトルを非表示 */
.woocommerce-order-received .entry-title {
    display: none;
}

/* メッセージボックス */
.woocommerce-order-received .woocommerce-info {
    background: #e3f2fd;
    border-left: 4px solid #2196F3;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 8px;
    font-size: 15px;
    color: #1565C0;
    text-align: center;
}

/* ログインフォーム全体 */
.woocommerce-order-received .woocommerce-form-login {
    max-width: 500px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* フォーム行 */
.woocommerce-order-received .form-row {
    margin-bottom: 20px;
}

.woocommerce-order-received .form-row-first,
.woocommerce-order-received .form-row-last {
    width: 100%;
    float: none;
}

.woocommerce-order-received .clear {
    clear: both;
    display: none;
}

/* ラベル */
.woocommerce-order-received .woocommerce-form-login label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 14px;
}

.woocommerce-order-received .required {
    color: #97BC62;
}

/* スクリーンリーダー用テキストを非表示 */
.woocommerce-order-received .screen-reader-text {
    position: absolute;
    left: -9999px;
}

/* 入力フィールド */
.woocommerce-order-received .woocommerce-form-login input[type="text"],
.woocommerce-order-received .woocommerce-form-login input[type="password"],
.woocommerce-order-received .input-text {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: #fafafa;
    box-sizing: border-box;
}

.woocommerce-order-received .woocommerce-form-login input[type="text"]:focus,
.woocommerce-order-received .woocommerce-form-login input[type="password"]:focus,
.woocommerce-order-received .input-text:focus {
    outline: none;
    border-color: #97BC62;
    background: white;
    box-shadow: 0 0 0 3px rgba(108, 184, 65, 0.1);
}

/* Remember me チェックボックス */
.woocommerce-order-received .woocommerce-form-login__rememberme {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    cursor: pointer;
}

.woocommerce-order-received .woocommerce-form__input-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* ログインボタン */
.woocommerce-order-received .woocommerce-form-login__submit {
    background: linear-gradient(135deg, #97BC62 0%, #5da636 100%) !important;
    color: white !important;
    border: none !important;
    padding: 12px 40px !important;
    border-radius: 8px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: auto !important;
    display: inline-block !important;
    margin: 0 auto !important;
}

.woocommerce-order-received .woocommerce-form-login__submit:hover {
    background: linear-gradient(135deg, #5da636 0%, #4d8a2d 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 184, 65, 0.3);
    color: white !important;
}

/* パスワード忘れリンク */
.woocommerce-order-received .lost_password {
    text-align: center;
    margin-top: 20px;
}

.woocommerce-order-received .lost_password a {
    color: #97BC62;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.woocommerce-order-received .lost_password a:hover {
    color: #5da636;
    text-decoration: underline;
}


/* 虫眼鏡アイコンを非表示 */
.woocommerce-product-gallery__trigger {
    display: none !important;
}

/* ========================================
   既存CSSのリセット
======================================== */
/* Free shippingのオプションの既存スタイルをリセット */
.wc-block-components-shipping-rates-control__package label.wc-block-components-radio-control__option {
  background-color: transparent !important;
  box-shadow: none !important;
  border: 2px solid #ddd !important;
}

.wc-block-components-shipping-rates-control__package label.wc-block-components-radio-control__option:hover {
  background-color: transparent !important;
  box-shadow: none !important;
}

.wc-block-components-shipping-rates-control__package label.wc-block-components-radio-control__option-checked {
  background-color: transparent !important;
  box-shadow: none !important;
  border-color: #999 !important;
}

/* ========================================
   テキスト入力フィールドのボーダー
======================================== */
#email,
#shipping-first_name,
#shipping-last_name,
#shipping-address_1,
#shipping-city,
#shipping-postcode,
#shipping-phone,
#billing-first_name,
#billing-last_name,
#billing-address_1,
#billing-city,
#billing-postcode,
#billing-phone {
  border: 2px solid #ddd !important;
  border-radius: 8px !important;
}

/* フォーカス時 */
#email:focus,
#shipping-first_name:focus,
#shipping-last_name:focus,
#shipping-address_1:focus,
#shipping-city:focus,
#shipping-postcode:focus,
#shipping-phone:focus,
#billing-first_name:focus,
#billing-last_name:focus,
#billing-address_1:focus,
#billing-city:focus,
#billing-postcode:focus,
#billing-phone:focus {
  border-color: #999 !important;
  outline: none !important;
  box-shadow: none !important;
}

/* ========================================
   セレクトボックスのボーダー
======================================== */
#shipping-country,
#shipping-state,
#billing-country,
#billing-state {
  border: 2px solid #ddd !important;
  border-radius: 8px !important;
}

/* フォーカス時 */
#shipping-country:focus,
#shipping-state:focus,
#billing-country:focus,
#billing-state:focus {
  border-color: #999 !important;
  outline: none !important;
  box-shadow: none !important;
}

/* ========================================
   アドレスカード
======================================== */
.wc-block-components-address-card {
  border: 2px solid #ddd !important;
  border-radius: 8px !important;
  background-color: #f5f5f5 !important;
  padding: 16px !important;
}

/* ========================================
   ラジオボタンのラベル（配送・支払い）
======================================== */
label.wc-block-components-radio-control__option {
  border: 2px solid #ddd !important;
  border-radius: 8px !important;
}

/* 選択されているオプション */
label.wc-block-components-radio-control__option-checked {
  border-color: #999 !important;
}

/* アコーディオンオプション内のラベルはボーダーを上部のみに */
.wc-block-components-radio-control-accordion-option label.wc-block-components-radio-control__option {
  border-bottom: none !important;
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

/* Cash on deliveryなどアコーディオンではないオプションは通常のボーダー */
.wc-block-components-radio-control > .wc-block-components-radio-control-accordion-option:not(:has(.wc-block-components-radio-control-accordion-content)) label.wc-block-components-radio-control__option {
  border-bottom: 2px solid #ddd !important;
  border-bottom-left-radius: 8px !important;
  border-bottom-right-radius: 8px !important;
}

/* ========================================
   Express Checkout
======================================== */
/* 既存スタイルのリセット */
.wc-block-components-express-payment,
.wc-block-components-express-payment.wc-block-components-express-payment--checkout {
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  border: 2px solid #ddd !important;
  border-radius: 8px !important;
  padding: 8px !important;
}

.wc-block-components-express-payment__content,
.wc-block-components-express-payment--checkout .wc-block-components-express-payment__content {
  background-color: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  border-top: none !important;
  margin-top: 0 !important;
}

/* Express Checkoutのタイトルコンテナの線も無効化 */
.wc-block-components-express-payment--checkout .wc-block-components-express-payment__title-container::before,
.wc-block-components-express-payment--checkout .wc-block-components-express-payment__title-container::after {
  display: none !important;
}

/* タイトルを中央配置 */
.wc-block-components-express-payment--checkout .wc-block-components-express-payment__title-container {
  justify-content: center !important;
  position: relative !important;
  top: auto !important;
  margin-bottom: 20px !important;
}

.wc-block-components-express-payment--checkout .wc-block-components-title.wc-block-components-express-payment__title {
  transform: none !important;
}

/* コンテンツのマージン調整 */
.wc-block-components-express-payment--checkout .wc-block-components-express-payment__content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* アコーディオン式の支払いオプション内のコンテンツ部分 */
.wc-block-components-radio-control-accordion-content {
  border: 2px solid #ddd !important;
  border-top: none !important;
  border-bottom-left-radius: 8px !important;
  border-bottom-right-radius: 8px !important;
  padding: 16px !important;
}

/* 選択されているアコーディオンのコンテンツ */
.wc-block-components-radio-control-accordion-option--checked-option-highlighted .wc-block-components-radio-control-accordion-content {
  border-color: #999 !important;
  border-top: none !important;
}


/* ========================================
   Cash on deliveryのラジオボタンオプション
======================================== */
/* すべてのラジオボタンオプションのボーダー太さを統一 */
label.wc-block-components-radio-control__option {
  border-width: 2px !important;
}

.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted,
.wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option--checked-option-highlighted {
  box-shadow: none !important;
}
.wc-block-components-radio-control--highlight-checked::after {
  display: none !important;
}
/* ラジオボタンコントロールのpositionをリセット */
.wc-block-components-radio-control--highlight-checked,
.wc-block-components-radio-control--highlight-checked div.wc-block-components-radio-control-accordion-option {
  position: static !important;
}



/* ========================================
  Privacy Policy
======================================== */

.entry-header {
    text-align: center;
    padding-bottom: 20px;
}

.entry-title {
    font-size: 48px;
    font-weight: 300;
    color: #333;
    margin: 0;
}

.entry-content {
    /* max-width: 900px; */
    margin: 0 auto;
}

.entry-content h2.wp-block-heading {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin: 45px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 3px solid #97BC62;
    display: block;
    width: auto;
}

.entry-content h2.wp-block-heading:first-child {
    margin-top: 0;
}

.entry-content p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

.entry-content a {
    color: #97BC62;
    text-decoration: none;
    font-weight: 500;
}

.entry-content a:hover {
    text-decoration: underline;
}
/* =============================================
   チェックアウトページ - Log in リンク
   ============================================= */

/* Log in リンクのスタイル */
.wc-block-checkout__login-prompt a,
.wc-block-components-checkout-step__heading-content a {
    font-size: 18px !important;  /* フォントサイズを大きく */
    color: #8AB858 !important;   /* グリーンのリンク色 */
    text-decoration: none !important;
    font-weight: 500 !important;
}

/* Log in リンクのホバー */
.wc-block-checkout__login-prompt a:hover,
.wc-block-components-checkout-step__heading-content a:hover {
    color: #6d9642 !important;   /* ホバー時に少し暗く */
    text-decoration: underline !important;
}


/* =============================================
   WordPress管理バー対応
   ============================================= */
@media screen and (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px;
    }
}

/* =============================================
   タブレット対応（1024px以下）
   ============================================= */
@media (max-width: 1024px) {
    /* ヘッダー */
    .header-container {
        padding: 0 30px;
    }
    
    .logo-text {
        font-size: 28px;
    }
    
    .logo-tagline {
        font-size: 10px;
        letter-spacing: 1.2px;
    }
    
    /* ナビゲーション */
    nav ul {
        display: none; /* モバイルメニューに切り替え */
        gap: 30px;
    }
    
    nav a {
        font-size: 14px;
    }
    .benefits-grid,
    .features-grid,
    .ingredients-grid,
    .comparison-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
        padding: 0 30px;
    }
    .shop-description {
        text-align: center;
    }
    /* フッター */
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    /* セクション */
    .section-title {
        font-size: 32px;
    }
    
    /* 商品ページ（シングル） */
    .single-product .product {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .single-product .woocommerce-product-gallery {
        position: static;
    }
    
    .ingredients-grid {
        grid-template-columns: 1fr;
    }
    
    .single-product .related.products ul.products {
        grid-template-columns: 1fr;
    }
    .storefront-sorting {
        flex-direction: column-reverse;  /* 逆順（下から上） */
        align-items: stretch;
        gap: 15px;
        padding: 15px 20px;
    }
    
    .woocommerce-ordering {
        order: 2;
        width: 100%;
    }
    ul.products {
	    display: block;
    }
    ul.products li.product {
        margin: 0 0 15px;
    }
    ul.products li.product .woocommerce-LoopProduct-link {
        display: inline;
    }
    ul.products li.product img {
        padding: 15px;
    }

    .woocommerce-ordering select {
        width: 100%;
        padding: 12px;
        font-size: 16px;
    }    
    /* マイアカウント */
    .woocommerce-account .woocommerce {
        grid-template-columns: 1fr;
    }
    
    .woocommerce-MyAccount-navigation {
        margin-bottom: 30px;
    }
    
    /* カート */
    .wp-block-woocommerce-filled-cart-block {
        display: block !important;
    }
    
    .wp-block-woocommerce-cart-totals-block {
        position: static;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .wc-block-cart-items__header,
    .wc-block-cart-items__row {
        grid-template-columns: 80px 1fr 100px 100px 40px;
    }
    
    .wc-block-cart-items__header-price,
    .wc-block-cart-item__price {
        display: none;
    }
    
    /* 空のカート */
    .wp-block-woocommerce-empty-cart-block .wc-block-grid__products {
        gap: 25px;
    }
    
    .wp-block-woocommerce-empty-cart-block .wc-block-grid__product {
        width: calc(50% - 12.5px) !important;
        max-width: 450px !important;
    }
    /* ========== 商品ページ（シングル） ========== */
    .single-product .woocommerce-product-gallery__image {
        padding: 0px;
    }
    
    .trust-badges {
        display: block;  /* gridを無効化 */
    }
    
    .single-product .woocommerce-tabs .tabs {
        display: block;  /* flexを無効化 */
    }
    .products-container {
        padding: 0;
    }
    .wp-block-woocommerce-checkout {
        padding: 0 10px;
    }
    .woocommerce-checkout .site-main {
        background: none;
    }
    .wp-block-woocommerce-checkout-fields-block {
        box-shadow: none;
        background: none;
    }
    .wp-block-woocommerce-checkout-order-summary-block {
        box-shadow: none;
        padding: 20px;
    }
    .woocommerce-cart .site-main {
        background: none;
    }
    .wp-block-woocommerce-cart-items-block {
        box-shadow: none;
    }
    .wc-block-cart table.wc-block-cart-items,
    .wc-block-cart table.wc-block-cart-items td,
    .wc-block-cart table.wc-block-cart-items th {
        margin:0;
    }
	.wc-block-components-sidebar {
  		width: 100% !important;;
	}
  .wp-block-woocommerce-filled-cart-block {
        display: block !important;
    }
  .wc-block-components-sidebar-layout .wc-block-components-main {
    width: 100% !important;
  }
  .wc-block-components-sidebar {
    width: 100% !important;
  }
  .woocommerce-MyAccount-content table th {
    border: none;
  }
  .woocommerce-MyAccount-content table td {
    border: none;
  }
}

/* =============================================
   モバイル対応（768px以下）
   ============================================= */
@media (max-width: 768px) {
    /* ========== ヘッダー ========== */
    .header-container {
        padding: 0 20px;
        flex-wrap: wrap;
    }
    .hero {
        padding: 20px 0 0 !important;;
    }
    .entry-content p {
        margin: 0;
        font-size: inherit;
        text-align: left;
        padding: 0 0 30px;
    }
    .logo-text {
        font-size: 24px;
    }
    
    .logo-tagline {
        font-size: 9px;
        letter-spacing: 1px;
    }
    
    nav ul {
        gap: 20px;
        flex-wrap: wrap;
    }
    
    nav a {
        font-size: 13px;
    }
    
    .header-container .logo {
        margin-bottom: 10px !important;
    }

    .header-buttons {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 80px !important;
        width: 100% !important;
    }
    
    .btn-header {
        padding: 8px 16px;
        font-size: 13px;
    }
    .benefits-grid,
    .features-grid,
    .ingredients-grid,
    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 20px;
    }
    .language-list {
        right: auto;
        left: 0;
        min-width: 180px;
    }
    .current-language {
        padding: 6px 12px;
        font-size: 13px;
    }
    .showcase-container {
        padding: 50px 20px 0;
    }
    .showcase-content > a.btn-primary {
        display: block;
        margin: 0 auto 50px;
        width: fit-content;
    }
    .showcase-content {
        text-align: left;
    }
    .hero-stats {
        margin-top: 40px;
    }
    .features,
    .clinical-data,
    .cta-section,
    .faq-section {
        padding: 50px 0;
    }
    .how-it-works,
    .product-showcase {
        padding: 0;
    }
    .how-container .section-header {
           padding: 50px 0 0;
    }
    .faq-container .section-header {
        margin-bottom: 0;
    }
    /* ========== フッター ========== */
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px;
    }
    
    .footer-about h3 {
        font-size: 24px;
    }
    
    .footer-bottom {
        padding: 30px 20px 0;
    }
    
    /* ========== セクション ========== */
    .section-title {
        font-size: 32px;
    }
    
    .section-description {
        font-size: 16px;
    }
    
    /* ========== コンテナ ========== */
    .container {
        padding: 0 20px;
    }
    
    .site-content {
        padding: 40px 0;
    }
    .hero-description {
        padding: 0 0 20px;
    }
    /* ========== 商品一覧（ショップページ） ========== */
    .products {
        grid-template-columns: 1fr;
    }
    .shop-description {
        text-align: center;
    }    
    /* ========== 商品ページ（シングル） ========== */
    .single-product .product {
        grid-template-columns: 1fr;
        padding: 0 20px;
        gap: 40px;
    }
    
    .single-product .wc-tabs,
    .single-product .woocommerce-Tabs-panel {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .single-product .ingredients-grid {
        grid-template-columns: 1fr;
    }
    
    /* ========== マイアカウント ========== */
    .woocommerce-MyAccount-content {
        padding: 20px 15px;
    }
    .woocommerce-account .entry-content {
	      padding: 0;
    }
    .woocommerce-form-row--first,
    .woocommerce-form-row--last {
        width: 100%;
        float: none;
        margin-right: 0;
    }
    .woocommerce-account .woocommerce {
    display: block;
    }
    .woocommerce-MyAccount-content table {
        margin: 0;
    }
    .woocommerce-MyAccount-content table th {
        padding: 0;
        font-size: 12px;
    }

    .woocommerce-MyAccount-content table td {
        padding: 2px;
        font-size: 12px;
    }
    .woocommerce-button.button.view {
      padding: 8px 10px;
    }
    .woocommerce-Addresses,
    .woocommerce-columns--addresses {
        grid-template-columns: 1fr;
    }
    
    .woocommerce-account .site-main {
        padding: 20px 10px;
    }
    .storefront-sorting {
        flex-direction: column-reverse;  /* 逆順（下から上） */
        align-items: stretch;
        gap: 15px;
        padding: 15px 20px;
    }
    
    .woocommerce-ordering {
        order: 2;  /* 下に表示 */
        width: 100%;
    }
    .woocommerce-order-details {
      box-shadow: none;
    }
    .woocommerce-order-details, 
    .woocommerce-customer-details {
      padding: 0;
    }
    .woocommerce-customer-details {
      box-shadow: none;
    }
    .woocommerce-ordering select {
        width: 100%;
        padding: 12px;
        font-size: 16px;
    }
    .woocommerce-table--order-details tbody tr:last-child td {
      border-bottom: none;
    }
    .woocommerce-order-details tbody tr:last-child td {
      border-bottom: none;
    }
    ul.products {
	    display: block;
    }
    ul.products li.product {
        margin: 0 0 15px;
    }
    ul.products li.product .woocommerce-LoopProduct-link {
        display: inline;
    }
    ul.products li.product img {
        padding: 15px;
    }
    /* ========== カート ========== */
    .woocommerce-cart .entry-title {
        font-size: 32px;
    }
    
    .wp-block-woocommerce-cart {
        padding: 0 20px;
    }
    
    .wp-block-woocommerce-cart-items-block,
    .wp-block-woocommerce-cart-order-summary-block {
        padding: 20px;
    }
    
    /* カートヘッダーを非表示 */
    .wc-block-cart-items__header {
        display: none;
    }
    
    /* カート商品行をカード型に */
    .wc-block-cart-items__row {
        display: block;
        padding: 20px;
        background: #f9f9f9;
        border-radius: 8px;
        margin-bottom: 15px;
        border-bottom: none;
        gap: 0;
        background: none;
        align-items: normal;
    }
    
    .wc-block-cart-item__image img {
        width: 80px;
        height: 80px;
    }
    
    .wc-block-cart-item__product {
        margin-bottom: 15px;
    }
    
    .wc-block-cart-item__quantity,
    .wc-block-cart-item__total {
        display: inline-block;
        margin-right: 20px;
    }
    
    /* ========== 空のカート ========== */
    .wp-block-woocommerce-empty-cart-block {
        padding: 60px 20px;
    }
    
    .wp-block-woocommerce-empty-cart-block .wc-block-grid__products {
        gap: 20px;
    }
    
    .wp-block-woocommerce-empty-cart-block .wc-block-grid__product {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }
    
    .wp-block-woocommerce-empty-cart-block .wc-block-cart__empty-cart__title {
        font-size: 22px;
    }
    
    .wp-block-woocommerce-empty-cart-block .wc-block-cart__empty-cart__title.with-empty-cart-icon::before {
        font-size: 40px;
        margin-bottom: 15px;
    }
    
    .wp-block-woocommerce-empty-cart-block h2:not(.wc-block-cart__empty-cart__title) {
        font-size: 24px;
        margin-bottom: 35px;
    }
    
    .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-image {
        padding: 20px;
    }
    
    .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-title {
        font-size: 16px;
    }
    
    .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-price {
        font-size: 20px;
    }
    
    /* ========== 注文完了ページ ========== */
    .woocommerce-order .woocommerce {
        padding: 0 20px;
    }
    
    .woocommerce-thankyou-order-received {
        font-size: 20px;
        padding: 25px 20px;
    }
    
    .woocommerce-thankyou-order-received::before {
        display: block;
        margin: 0 auto 15px;
    }
    
    /* 注文概要を縦並びに */
    .woocommerce-order-overview li {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 15px 20px;
    }
    
    .woocommerce-order-overview strong {
        text-align: left;
        font-size: 18px;
    }
    
    .woocommerce-order-overview .total strong {
        font-size: 24px;
    }
    
    .woocommerce-order-details__title,
    .woocommerce-column__title {
        font-size: 20px;
    }
    
    /* 注文詳細テーブルを縦並びに */
    .woocommerce-table--order-details thead {
        display: none;
    }
    
    .woocommerce-table--order-details tbody tr {
        display: block;
        margin-bottom: 20px;
        border: 1px solid #e5e5e5;
        border-radius: 8px;
        overflow: hidden;
    }
    
    .woocommerce-table--order-details tbody td {
        display: block;
        text-align: left !important;
        padding: 12px 15px;
        border-bottom: none;
    }
    
    .woocommerce-table--order-details tbody td:last-child {
        border-bottom: none;
    }
    
    .woocommerce-table--order-details tfoot tr {
        display: flex;
        justify-content: space-between;
        padding: 12px 15px;
    }
    
    .woocommerce-table--order-details tfoot th,
    .woocommerce-table--order-details tfoot td {
        padding: 0;
        background: transparent !important;
        color: inherit !important;
    }
    
    .woocommerce-table--order-details tfoot tr:nth-last-child(2) th,
    .woocommerce-table--order-details tfoot tr:nth-last-child(2) td {
        color: #97BC62 !important;
        background: transparent !important;
    }
    .woocommerce-checkout .site-main {
      padding: 0;
    }
    .wp-block-woocommerce-checkout {
      padding-top: 0 !important;
    }
    .form-row{
      text-align: center;
    }
    /* ========== ログイン ========== */
    #customer_login {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }
    
    .u-column1,
    .u-column2 {
        padding: 30px 25px;
    }
    
    .woocommerce-order-received .woocommerce-form-login {
        padding: 30px 25px;
    }
    
    .woocommerce-order-received .woocommerce-form-login__submit {
        width: 100% !important;
    }
    /* ========== 商品ページ（シングル） ========== */
    .single-product .woocommerce-product-gallery__image {
        padding: 0px;
    }
    
    .trust-badges {
        display: block;  /* gridを無効化 */
    }
    
    .single-product .woocommerce-tabs .tabs {
        display: block;  /* flexを無効化 */
    }
    .products-container {
        padding: 0;
    }
    .wc-block-cart-items__row {
        gap: 0;
        background: none;
        align-items: normal;
    }

    .products-container,
    #primary.content-area {
        margin: 0px auto 40px;
        padding: 0;
    }
    .wp-block-woocommerce-checkout {
        padding: 0 10px;
    }
    .woocommerce-checkout .site-main {
        background: none;
    }
    .wp-block-woocommerce-checkout-fields-block {
        box-shadow: none;
        background: none;
    }
    .wp-block-woocommerce-checkout-order-summary-block {
        box-shadow: none;
        padding: 20px;
    }
    .woocommerce-cart .site-main {
        background: none;
    }
    .wp-block-woocommerce-cart-items-block {
        box-shadow: none;
    }
    .wc-block-cart table.wc-block-cart-items,
    .wc-block-cart table.wc-block-cart-items td,
    .wc-block-cart table.wc-block-cart-items th {
        margin:0;
    }

}
/* チェックアウト - タブレット専用 */
@media (min-width: 768px) and (max-width: 1024px) {
    /* Order summary を一番上に */
    .wp-block-woocommerce-checkout-totals-block {
        order: 1 !important;
        width: 100% !important;
        margin-bottom: 30px !important;
        position: static !important; */
    }
    .wp-block-woocommerce-checkout-fields-block {
        order: 2 !important;
        width: 100% !important;
    } 
}