/*
Theme Name: FC GANJU Support
Description: FC GANJUサポート会員専用テーマ - 整理最適化版
Version: 7.0.0
Author: BELION
*/

/* ========================================
   1. リセット & ベース設定
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: 'Noto Sans JP', sans-serif;
    color: #fff;
    overflow-x: hidden;
    cursor: none;
    margin: 0 !important; /* 追加 */
    padding: 0 !important; /* 追加 */
}

body {
    background: #000;
    position: relative;
}

/* スマホ版のpadding削除 */
@media (max-width: 768px) {
    body {
        padding-top: 0 !important; /* 0に変更 */
    }
}
/* ========================================
   ローディング画面
======================================== */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #000 0%, #1a0a00 50%, #000 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
}

/* ロゴ部分 */
.loading-logo {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loading-logo-img {
    width: 80px; /* 小さめサイズ */
    height: auto;
    animation: logoFloat 1.2s ease-out forwards;
    filter: drop-shadow(0 0 20px rgba(255, 102, 0, 0.8));
}

/* ふわっと浮かぶアニメーション */
@keyframes logoFloat {
    0% {
        transform: translateY(20px);
        opacity: 0;
        filter: drop-shadow(0 0 10px rgba(255, 102, 0, 0.5));
    }
    60% {
        transform: translateY(-5px);
        opacity: 1;
        filter: drop-shadow(0 0 25px rgba(255, 102, 0, 1));
    }
    100% {
        transform: translateY(0);
        opacity: 1;
        filter: drop-shadow(0 0 20px rgba(255, 102, 0, 0.8));
    }
}


/* ローディングバー */
.loading-bar {
    width: 300px;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto 20px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

.loading-progress {
    height: 100%;
    background: linear-gradient(90deg, #ff3300, #ff6600, #ff9900);
    border-radius: 10px;
    width: 0%;
    transition: width 0.3s ease;
    box-shadow: 0 0 20px rgba(255, 102, 0, 0.8);
    animation: loadingShine 1.5s ease-in-out infinite;
}

@keyframes loadingShine {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(255, 102, 0, 0.8);
    }
    50% { 
        box-shadow: 0 0 30px rgba(255, 102, 0, 1);
    }
}

/* ローディングパーセンテージ */
.loading-percentage {
    font-size: 1.2rem;
    color: white;
    font-weight: bold;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(255, 102, 0, 0.8);
}
/* ローディング画面 - 完全非表示設定 */
#loading-screen.hidden,
.loading-screen.hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    display: none !important;
    z-index: -9999 !important;
}

/* ショップページでローディング画面がない場合のヘッダー表示 */
body.woocommerce-shop header,
body.post-type-archive-product header {
    display: block !important;
    opacity: 1 !important;
}

/* ========================================
   レスポンシブ対応
   ======================================== */
@media (max-width: 768px) {
    .soccer-ball {
        font-size: 80px;
    }
    
    .loading-bar {
        width: 200px;
        height: 6px;
    }
    
    .loading-percentage {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .soccer-ball {
        font-size: 60px;
    }
    
    .loading-bar {
        width: 150px;
        height: 4px;
        margin: 0 auto 10px;
    }
    
    .loading-percentage {
        font-size: 0.8rem;
    }
}

/* ========================================
   3. カスタムカーソル（GANJUロゴ完全版）
   ======================================== */

/* デフォルトカーソルを非表示 */
* {
    cursor: none !important;
}

/* カスタムカーソル本体（GANJUロゴ - 回転あり） */
.custom-cursor {
    position: fixed;
    width: 32px;
    height: 32px;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
    background-image: url('https://ganju.site/wp-content/uploads/2025/11/GANJUエンブレム（公式ｐ）-更新済み-scaled.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: drop-shadow(0 0 8px rgba(255, 102, 0, 0.6));
    opacity: 1;
    animation: cursorRotate 3s linear infinite;
}

/* 常に回転するアニメーション */
@keyframes cursorRotate {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* ホバー時にカーソルを大きく＆回転速度アップ */
body.cursor-hover .custom-cursor {
    animation: cursorRotateFast 1s linear infinite;
    filter: drop-shadow(0 0 15px rgba(255, 102, 0, 1));
    width: 48px;
    height: 48px;
}

@keyframes cursorRotateFast {
    0% {
        transform: translate(-50%, -50%) rotate(0deg) scale(1.5);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg) scale(1.5);
    }
}

/* トレイル効果（ロゴの軌跡） */
.cursor-trail {
    position: fixed;
    width: 24px;
    height: 24px;
    pointer-events: none;
    z-index: 99998;
    background-image: url('https://ganju.site/wp-content/uploads/2025/11/GANJUエンブレム（公式ｐ）-更新済み-scaled.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0;
    animation: logoTrailFade 0.8s ease-out forwards;
    transform: translate(-50%, -50%);
}

@keyframes logoTrailFade {
    0% {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.4) rotate(180deg);
    }
}

/* クリック時のリップルエフェクト */
.cursor-ripple {
    position: fixed;
    width: 40px;
    height: 40px;
    pointer-events: none;
    z-index: 99997;
    border: 3px solid rgba(255, 102, 0, 0.8);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: rippleEffect 0.6s ease-out forwards;
}

@keyframes rippleEffect {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(3);
        opacity: 0;
    }
}

/* 光のエフェクト */
.cursor-glow {
    position: fixed;
    width: 60px;
    height: 60px;
    pointer-events: none;
    z-index: 99996;
    background: radial-gradient(circle, rgba(255, 102, 0, 0.3), transparent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

body:hover .cursor-glow {
    opacity: 1;
}

/* カーソルが画面外に出たら非表示 */
body:not(:hover) .custom-cursor {
    opacity: 0;
}

/* スマホ・タブレットではデフォルトカーソル */
@media (hover: none) and (pointer: coarse) {
    * {
        cursor: auto !important;
    }
    
    .custom-cursor,
    .cursor-trail,
    .cursor-glow,
    .cursor-ripple {
        display: none !important;
    }
}

/* ローディング中 */
body.loading .custom-cursor {
    animation: cursorPulse 1s ease-in-out infinite;
}

@keyframes cursorPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        filter: drop-shadow(0 0 8px rgba(255, 102, 0, 0.6));
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        filter: drop-shadow(0 0 15px rgba(255, 102, 0, 1));
    }
}

/* テキスト選択時 */
::selection {
    background: rgba(255, 102, 0, 0.3);
    color: white;
}

::-moz-selection {
    background: rgba(255, 102, 0, 0.3);
    color: white;
}

/* ========================================
   4. ヘッダー
   ======================================== */
header {
    background: rgba(0, 0, 0, 0.9);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    width: 100%; /* 追加 */
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5px;
    width: 100%; /* 追加 */
}

.logo {
    flex-shrink: 0; /* 追加 */
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.header-logo {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.header-logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 20px;
    list-style: none;
    align-items: center;
    margin: 0; /* 追加 */
    padding: 0; /* 追加 */
    flex: 1; /* 追加 */
    justify-content: center; /* 追加 */
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s;
    white-space: nowrap; /* 追加 */
}

.nav-links a:hover {
    color: #ff6600;
}

.cart-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: white;
    font-size: 1.2rem;
    text-decoration: none;
    transition: color 0.3s;
}

.cart-icon:hover {
    color: #ff6600;
}

.cart-count {
    background: #ff3300;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
}

.nav-auth-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0; /* 追加 */
}
/* ========================================
   5. BGMボタン
   ======================================== */
.bgm-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 1000;
}

.bgm-button {
    background: linear-gradient(135deg, #ff3300, #ff6600);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    padding: 8px 16px;
    color: white;
    font-size: 0.85rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 3px 10px rgba(255, 51, 0, 0.3);
    transition: all 0.3s ease;
}

.bgm-button:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255, 51, 0, 0.5);
}

.bgm-button.playing {
    background: linear-gradient(135deg, #00ff88, #00cc66);
}

.bgm-icon {
    font-size: 1.1rem;
}

/* ========================================
   6. ヒーローセクション
   ======================================== */
.hero-video {
    position: relative;
    height: 100vh; /* PCは全画面 */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 0 20px;
    max-width: 1200px;
}

.hero-content h1 {
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: 6px;
    text-shadow: 
        0 0 40px rgba(255, 102, 0, 1),
        0 0 80px rgba(255, 51, 0, 1),
        0 0 120px rgba(255, 51, 0, 0.8),
        0 10px 50px rgba(0, 0, 0, 1);
    animation: slideInDown 1s ease-out;
    position: relative;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .hero-video {
        height: 100vh; /* スマホも全画面 */
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }
    
    .hero-content h1::after {
        font-size: 2rem;
        top: -40px;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .cta-button {
        font-size: 1rem;
        padding: 12px 30px;
    }
}
/* ========================================
   7. セクション共通レイアウト
   ======================================== */
.section-with-bg,
.section-with-dual-bg {
    position: relative;
    width: 100%;
    min-height: 700px;
    padding: 80px 0;
    overflow: visible;
}

#benefits { min-height: 700px; }
#news { min-height: 700px; }
#subscription { min-height: 600px; padding: 60px 0; }
#community { min-height: 550px; }
#shop { min-height: 900px; }
#radio { min-height: 700px; }

.section-bg,
.dual-bg-left,
.dual-bg-right {
    position: absolute;
    top: -50px;
    width: 100%;
    height: calc(100% + 200px);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    z-index: 0;
    animation: bgPulse 10s ease-in-out infinite;
}

.dual-bg-left,
.dual-bg-right {
    width: 50%;
}

.dual-bg-left {
    left: 0;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
}

.dual-bg-right {
    right: 0;
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
}

.section-overlay {
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: calc(100% + 200px);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
    animation: overlayShift 8s ease-in-out infinite;
}

.section-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-slant {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 120px), 0 100%);
    padding-bottom: 150px;
}

.section-slant-strong {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 150px), 0 100%);
    padding-bottom: 180px;
}

.section-slant-last {
    clip-path: none;
    padding-bottom: 100px;
}

.section-content h2 {
    font-size: 4rem;
    font-weight: 900;
    color: white;
    margin-bottom: 50px;
    text-align: center;
    letter-spacing: 8px;
    text-transform: uppercase;
    position: relative;
    padding-top: 50px;
    text-shadow: 
        0 0 30px rgba(255, 102, 0, 1),
        0 0 60px rgba(255, 51, 0, 0.9),
        0 0 90px rgba(255, 51, 0, 0.6),
        0 8px 40px rgba(0, 0, 0, 0.9);
    background: linear-gradient(135deg, #fff 0%, #ff6600 50%, #fff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleAppear 0.8s ease-out forwards;
}

.section-content h2::before {
    content: '⚽';
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    font-size: 2rem;
    opacity: 0.8;
    -webkit-text-fill-color: initial;
}

.section-content h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #ff6600, transparent);
    border-radius: 2px;
}

.section-content > p {
    font-size: 1.5rem;
    font-weight: 700;
    text-shadow: 
        0 4px 20px rgba(0, 0, 0, 1),
        0 0 10px rgba(255, 102, 0, 0.5);
    letter-spacing: 2px;
    color: #fff;
    animation: textFloat 3s ease-in-out infinite;
}

@keyframes titleAppear {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(-30px);
    }
    60% {
        opacity: 1;
        transform: scale(1.1) translateY(0);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes textFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes bgPulse {
    0%, 100% {
        transform: translateY(0) scale(1);
        filter: brightness(1);
    }
    50% {
        transform: translateY(10px) scale(1.02);
        filter: brightness(1.1);
    }
}

@keyframes overlayShift {
    0%, 100% {
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0.7) 100%);
    }
    50% {
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.7) 50%, rgba(0, 0, 0, 0.8) 100%);
    }
}

/* ========================================
   8. 背景画像
   ======================================== */
.bg-benefits { background-image: url('https://ganju.site/wp-content/uploads/2025/12/サポーター-1.png'); }
.bg-news-left { background-image: url('https://ganju.site/wp-content/uploads/2025/11/ガンジュスクール生.png'); }
.bg-news-right { background-image: url('https://ganju.site/wp-content/uploads/2025/11/2025ぽすたー-1.png'); }
.bg-subscription { background-image: url('https://ganju.site/wp-content/uploads/2025/11/ガンジュ壁紙.png'); }
.bg-community { background-image: url('https://ganju.site/wp-content/uploads/2025/11/ganju.jpg'); }
.bg-shop { background-image: url('https://ganju.site/wp-content/uploads/2025/11/ガンジュスクール生.png'); }
.bg-radio { background-image: url('https://ganju.site/wp-content/uploads/2025/11/ガンエンブレ.png'); }

/* ========================================
   9. 特典カード
   ======================================== */
.benefits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    perspective: 1000px;
}

.benefit-card {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    border: 3px solid rgba(255, 102, 0, 0.3);
    box-shadow: 
        0 8px 30px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(255, 102, 0, 0.2);
    transition: all 0.4s ease;
    overflow: hidden;
    transform-style: preserve-3d;
}

.benefit-card:nth-child(1) { transform: rotate(-2deg); }
.benefit-card:nth-child(2) { transform: rotate(2deg); }
.benefit-card:nth-child(3) { transform: rotate(-1.5deg); }
.benefit-card:nth-child(4) { transform: rotate(1.5deg); }

.benefit-card::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    background-size: cover;
    background-position: center;
    opacity: 0.6;
    z-index: 0;
    transition: opacity 0.3s, transform 0.3s;
}

.benefit-card:nth-child(1)::before { background-image: url('https://ganju.site/wp-content/uploads/2025/11/壁01.png'); }
.benefit-card:nth-child(2)::before { background-image: url('https://ganju.site/wp-content/uploads/2025/11/ガンジュ壁紙02.png'); }
.benefit-card:nth-child(3)::before { background-image: url('https://ganju.site/wp-content/uploads/2025/11/名称未設定-5.png'); }
.benefit-card:nth-child(4)::before { background-image: url('https://ganju.site/wp-content/uploads/2025/11/壁03.png'); }

.benefit-card:hover {
    transform: translateY(-12px) rotate(0deg) scale(1.05);
    box-shadow: 
        0 15px 50px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(255, 102, 0, 0.6),
        inset 0 0 20px rgba(255, 102, 0, 0.1);
    border-color: rgba(255, 102, 0, 0.8);
    z-index: 10;
}

.benefit-card:hover::before {
    opacity: 0.8;
    transform: scale(1.1);
}

.benefit-icon {
    font-size: 3.5rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.benefit-icon-image {
    width: 100px;
    height: auto;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.benefit-card:hover .benefit-icon,
.benefit-card:hover .benefit-icon-image {
    transform: rotate(5deg) scale(1.1);
}

.benefit-card h3 {
    color: #ff3300;
    margin-bottom: 10px;
    font-size: 1.5rem;
    font-weight: 900;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 10px rgba(255, 51, 0, 0.3);
    animation: textGlow 2s ease-in-out infinite;
}

.benefit-card p {
    color: #333;
    line-height: 1.5;
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

@keyframes textGlow {
    0%, 100% { text-shadow: 0 2px 10px rgba(255, 51, 0, 0.3); }
    50% { text-shadow: 0 2px 15px rgba(255, 51, 0, 0.6); }
}

/* ========================================
   10. ニュースカード
   ======================================== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.news-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 3px solid rgba(255, 102, 0, 0.3);
    box-shadow: 
        0 8px 30px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(255, 102, 0, 0.2);
    transition: all 0.4s ease;
}

.news-card:hover {
    transform: translateY(-12px) scale(1.05) rotate(0deg);
    box-shadow: 
        0 15px 50px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(255, 102, 0, 0.6),
        inset 0 0 20px rgba(255, 102, 0, 0.1);
    border-color: rgba(255, 102, 0, 0.8);
}

.news-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.news-card:hover .news-image img {
    transform: scale(1.1) rotate(-2deg);
}

.news-image-placeholder {
    background: linear-gradient(135deg, #ff6600, #ff9900);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.news-content {
    padding: 20px;
}

.news-date {
    color: #999;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.news-title {
    color: #ff3300;
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 12px;
    text-shadow: 0 2px 10px rgba(255, 51, 0, 0.3);
    animation: textGlow 2s ease-in-out infinite;
}

.news-content p {
    color: #666;
    line-height: 1.5;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.news-link {
    color: #ff6600;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.news-link:hover {
    color: #ff3300;
}

/* ========================================
   11. サブスクリプション & ショップ
   ======================================== */
.subscription-plans .woocommerce ul.products {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 25px;
    padding: 0;
    list-style: none;
}

.subscription-plans .woocommerce ul.products li.product,
#shop .products li.product {
    margin: 0;
    padding: 5px;
    background: white;
    border: 3px solid rgba(255, 102, 0, 0.3);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 
        0 8px 30px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(255, 102, 0, 0.2);
    transition: all 0.4s ease;
}

.subscription-plans .woocommerce ul.products li.product {
    width: 320px;
}

.subscription-plans .woocommerce ul.products li.product:hover,
#shop .products li.product:hover {
    transform: translateY(-12px) scale(1.05);
    box-shadow: 
        0 15px 50px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(255, 102, 0, 0.6),
        inset 0 0 20px rgba(255, 102, 0, 0.1);
    border-color: rgba(255, 102, 0, 0.8);
}

.subscription-plans .woocommerce ul.products li.product img,
#shop .products li.product img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

#shop .section-content {
    padding: 40px 20px;
}

#shop h2 {
    margin-bottom: 20px;
    font-size: 4rem;
}

#shop .shop-grid {
    max-width: 1000px;
    margin: 0 auto 30px auto;
}

#shop .products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 0;
    list-style: none;
}
/* ============================
   レスポンシブ（スマホ・タブレット）
   ============================ */

/* スマホ用 〜600px */
@media (max-width: 600px) {

    /* サブスクの商品（1列に） */
    .subscription-plans .woocommerce ul.products {
        flex-direction: column;
        gap: 15px;
    }

    .subscription-plans .woocommerce ul.products li.product {
        width: 100%;
        max-width: 300px;
    }

    .subscription-plans .woocommerce ul.products li.product img {
        height: 150px;
    }

    /* ショップ（スマホは1列） */
    #shop .products {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    #shop .products li.product {
        width: 100%;
        padding: 10px;
    }

    #shop .products li.product img {
        height: 150px;
    }

    #shop h2 {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    #shop .section-content {
        padding: 20px 10px;
    }
}

/* タブレット 600px〜900px → 2列 */
@media (min-width: 600px) and (max-width: 900px) {

    #shop .products {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    #shop .products li.product img {
        height: 160px;
    }

    .subscription-plans .woocommerce ul.products li.product {
        width: 260px;
    }
}

/* ========================================
   12. ボタン共通スタイル
   ======================================== */
.shop-link-button,
.community-link-button,
.radio-link-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 1.4rem;
    padding: 18px 50px;
    font-weight: 900;
    background: linear-gradient(135deg, #ff3300, #ff6600, #ff9900);
    background-size: 200% auto;
    color: white;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 
        0 8px 30px rgba(255, 51, 0, 0.6),
        inset 0 -2px 10px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(255, 102, 0, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: buttonShine 3s linear infinite, buttonPulse 2s ease-in-out infinite;
}

.shop-link-button::before,
.community-link-button::before,
.radio-link-button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 70%
    );
    animation: buttonGlare 3s infinite;
}

.shop-link-button:hover,
.community-link-button:hover,
.radio-link-button:hover {
    transform: translateY(-5px) scale(1.08);
    box-shadow: 
        0 15px 50px rgba(255, 51, 0, 0.8),
        inset 0 -2px 10px rgba(0, 0, 0, 0.3),
        0 0 80px rgba(255, 102, 0, 0.8);
}

.shop-link-wrapper,
.community-link-wrapper,
.radio-link-container {
    text-align: center;
    margin-top: 30px;
}

.radio-description {
    margin-top: 15px;
    color: white;
    font-size: 0.85rem;
    opacity: 0.8;
}

/* ========================================
   13. コミュニティ埋め込み
   ======================================== */
.ganju-community-embed {
    border: 4px solid rgba(255, 102, 0, 0.6);
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.4),
        0 0 50px rgba(255, 102, 0, 0.3),
        inset 0 0 30px rgba(255, 102, 0, 0.05);
    animation: embedGlow 3s ease-in-out infinite;
    scrollbar-width: thin;
    scrollbar-color: #ff6600 rgba(0,0,0,0.1);
}

.ganju-community-embed::-webkit-scrollbar {
    width: 8px;
}

.ganju-community-embed::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.05);
    border-radius: 10px;
}

.ganju-community-embed::-webkit-scrollbar-thumb {
    background: #ff6600;
    border-radius: 10px;
}

.ganju-community-embed::-webkit-scrollbar-thumb:hover {
    background: #ff3300;
}

.ganju-community-embed .ganju-community-header {
    margin-bottom: 20px;
}

.ganju-community-embed .ganju-post-form {
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.ganju-community-embed .ganju-post-card {
    margin-bottom: 15px;
}

@keyframes embedGlow {
    0%, 100% {
        border-color: rgba(255, 102, 0, 0.6);
        box-shadow: 
            0 10px 40px rgba(0, 0, 0, 0.4),
            0 0 50px rgba(255, 102, 0, 0.3),
            inset 0 0 30px rgba(255, 102, 0, 0.05);
    }
    50% {
        border-color: rgba(255, 102, 0, 0.9);
        box-shadow: 
            0 10px 40px rgba(0, 0, 0, 0.4),
            0 0 70px rgba(255, 102, 0, 0.5),
            inset 0 0 30px rgba(255, 102, 0, 0.1);
    }
}

/* ========================================
   14. 会員価格表示
   ======================================== */
.ganju-member-price-tag {
    background: linear-gradient(135deg, #00ff88, #00cc66);
    padding: 8px 12px;
    border-radius: 6px;
    margin: 10px 12px;
    text-align: center;
}

.ganju-member-badge {
    display: block;
    font-weight: bold;
    color: white;
    font-size: 0.8rem;
    margin-bottom: 3px;
}

.ganju-member-only-badge {
    background: linear-gradient(135deg, #666, #999);
    padding: 8px 12px;
    border-radius: 6px;
    margin: 10px 12px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.ganju-nonmember-price-tag {
    background: rgba(255, 102, 0, 0.1);
    padding: 8px 12px;
    border-radius: 6px;
    margin: 10px 12px;
    text-align: center;
}

.ganju-member-benefit {
    display: block;
    font-size: 0.75rem;
    color: #ff6600;
    font-weight: bold;
}

.ganju-member-price {
    display: block;
    font-size: 1rem;
    color: #ff3300;
    font-weight: 900;
    margin: 3px 0;
}

.ganju-discount-rate {
    display: block;
    font-size: 0.7rem;
    color: #ff6600;
}

.ganju-discount-info {
    display: block;
    font-size: 0.75rem;
    color: white;
}

/* ========================================
   15. WooCommerce
   ======================================== */
.woocommerce ul.products li.product .button {
    background: linear-gradient(180deg, #ff3300, #ff6600);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 10px;
    font-size: 0.9rem;
    font-weight: bold;
    width: calc(100% - 24px);
    margin: 0 12px 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.woocommerce ul.products li.product .button:hover {
    background: linear-gradient(180deg, #ff6600, #ff9900);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 51, 0, 0.3);
}

/* ========================================
   16. スクロールアニメーション
   ======================================== */
.scroll-fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-slide-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-slide-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.scroll-slide-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-slide-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scroll-scale-up {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-scale-up.visible {
    opacity: 1;
    transform: scale(1);
}

/* ========================================
   17. フッター
   ======================================== */
footer {
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 30px 20px;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
    list-style: none;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

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

.ganju-footer-auth-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    gap: 15px;
    z-index: 999;
}

.ganju-auth-btn {
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.ganju-login-btn {
    background: linear-gradient(135deg, #ff3300, #ff6600);
    color: white;
}

.ganju-register-btn {
    background: linear-gradient(135deg, #00ff88, #00cc66);
    color: white;
}

.ganju-status-btn-small {
    background: linear-gradient(135deg, #ff3300, #ff6600);
    color: white;
    padding: 10px 20px;
    font-size: 13px;
}

.ganju-auth-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
/* ========================================
   ニックネーム設定エリア
   ======================================== */

.ganju-nickname-section {
    background: white;
    padding: 30px;
    border-radius: 15px;
    margin: 30px auto;
    max-width: 600px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.ganju-nickname-section h3 {
    color: #ff3300;
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-align: center;
}

.ganju-nickname-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.ganju-nickname-input {
    flex: 1;
    min-width: 200px;
    padding: 15px 20px;
    font-size: 1.1rem;
    border: 2px solid #ddd;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.ganju-nickname-input:focus {
    outline: none;
    border-color: #ff3300;
    box-shadow: 0 0 0 3px rgba(255, 51, 0, 0.1);
}

.ganju-nickname-button {
    padding: 15px 30px;
    background: linear-gradient(135deg, #ff3300, #ff6600);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(255, 51, 0, 0.3);
}

.ganju-nickname-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 51, 0, 0.4);
}

.ganju-current-nickname {
    margin-top: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: center;
}

.ganju-current-nickname strong {
    color: #ff3300;
    font-size: 1.2rem;
}

/* ========================================
   投稿削除ボタン
   ======================================== */

.ganju-delete-post-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 15px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.ganju-delete-post-btn:hover {
    background: #c82333;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(220, 53, 69, 0.3);
}

.ganju-delete-post-btn:active {
    transform: translateY(0);
}

/* 削除確認モーダル */
.ganju-delete-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.ganju-delete-modal.active {
    display: flex;
}

.ganju-delete-modal-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ganju-delete-modal h3 {
    color: #dc3545;
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-align: center;
}

.ganju-delete-modal p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 30px;
    text-align: center;
    line-height: 1.6;
}

.ganju-delete-modal-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.ganju-delete-confirm-btn,
.ganju-delete-cancel-btn {
    padding: 15px 30px;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ganju-delete-confirm-btn {
    background: #dc3545;
    color: white;
}

.ganju-delete-confirm-btn:hover {
    background: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.4);
}

.ganju-delete-cancel-btn {
    background: #6c757d;
    color: white;
}

.ganju-delete-cancel-btn:hover {
    background: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 117, 125, 0.4);
}


/* ========================================
   19. ユーティリティクラス
   ======================================== */
.text-center { text-align: center; }
.mb-20 { margin-bottom: 20px; }
.mb-25 { margin-bottom: 25px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #ff6600;
    outline-offset: 2px;
}
.ganju-nickname-section {
    padding: 20px;
    margin: 20px auto;
}

.ganju-nickname-section h3 {
    font-size: 1.3rem;
}

.ganju-nickname-form {
    flex-direction: column;
}

.ganju-nickname-input {
    width: 100%;
    min-width: auto;
    padding: 12px 15px;
    font-size: 1rem;
}

.ganju-nickname-button {
    width: 100%;
    padding: 12px 20px;
    font-size: 1rem;
}

.ganju-delete-modal-content {
    padding: 30px 20px;
}

.ganju-delete-modal h3 {
    font-size: 1.3rem;
}

.ganju-delete-modal p {
    font-size: 1rem;
}

.ganju-delete-modal-buttons {
    flex-direction: column;
}

.ganju-delete-confirm-btn,
.ganju-delete-cancel-btn {
    width: 100%;
    padding: 12px 20px;
    font-size: 1rem;
}
/* ========================================
   20. レスポンシブデザイン
   ======================================== */
@media (max-width: 768px) {
    /* ローディング画面 */
    .loading-logo {
        margin-bottom: 20px;
    }
    
    .logo-image {
        max-width: 50px;
    }
    
    .loading-bar {
        width: 150px;
        height: 4px;
        margin: 0 auto 10px;
    }
    
    .loading-percentage {
        font-size: 0.6rem;
    }
    
    /* ヘッダー */
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 80%;
        height: calc(100vh - 70px);
        background: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        padding: 20px;
        transition: right 0.3s ease;
        z-index: 99;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    /* ヒーロー */
    .hero-content h1 {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }
    
    .hero-content h1::after {
        font-size: 2rem;
        top: -40px;
    }
    
    /* セクション */
    .section-content h2 {
        font-size: 2.5rem;
        letter-spacing: 3px;
    }
    
    .section-content > p {
        font-size: 1.1rem;
    }
    
    .section-with-bg,
    .section-with-dual-bg {
        min-height: 600px;
        padding: 60px 0;
    }
    
    #shop {
        min-height: 850px;
    }
    
    #radio {
        min-height: 650px;
    }
    
    /* カード */
    .benefits {
        grid-template-columns: 1fr;
    }
    
    .benefit-card,
    .benefit-card:nth-child(1),
    .benefit-card:nth-child(2),
    .benefit-card:nth-child(3),
    .benefit-card:nth-child(4) {
        transform: rotate(0deg);
    }
    
    .benefit-card::before {
        opacity: 0.4;
    }
    
    .benefit-card:hover::before {
        opacity: 0.6;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    /* ショップ */
    #shop .products {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    #shop .products li.product {
        padding: 10px;
    }
    
    #shop h2 {
        font-size: 2rem;
    }
    
    /* BGMボタン */
    .bgm-container {
        top: 70px;
        right: 10px;
    }
    
    .bgm-button {
        padding: 4px 10px;
        font-size: 0.7rem;
    }
    
    /* ボタン */
    .cta-button,
    .shop-link-button,
    .community-link-button,
    .radio-link-button {
        font-size: 1rem;
        padding: 12px 30px;
    }
    
    /* デュアル背景 */
    .dual-bg-left,
    .dual-bg-right {
        width: 100%;
        height: 50%;
        background-attachment: fixed;
    }
    
    .dual-bg-left {
        top: -50px;
        clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
    }
    
    .dual-bg-right {
        top: 50%;
        right: auto;
        left: 0;
        clip-path: polygon(0 15%, 100% 0, 100% 100%, 0 100%);
    }
    
    /* コミュニティ */
    .ganju-community-embed {
        padding: 20px;
        max-height: 500px;
    }
}

@media (max-width: 480px) {
    #shop .products {
        grid-template-columns: 1fr;
    }
    
    .woocommerce ul.products {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   21. プリント用スタイル
   ======================================== */

/* ========================================
   グリッドカード - 縦線デザイン
   ======================================== */
.grid-container-full {
    max-width: 1600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px; /* カード間に4pxの隙間 */
    overflow-x: auto;
    padding: 0 20px;
    background: linear-gradient(
        180deg,
        transparent 0%,
        #ff6600 5%,
        #ff6600 95%,
        transparent 100%
    ); /* 隙間の色をオレンジに */
}

.grid-item {
    position: relative;
    min-height: 600px;
    min-width: 280px;
    border-radius: 0; /* 角を無くす */
    overflow: hidden;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.3),
        0 0 60px rgba(255, 102, 0, 0.2);
    transition: all 0.4s ease;
    border: none; /* ボーダーを削除 */
}

.grid-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 80px rgba(255, 102, 0, 0.4);
    z-index: 10;
}

/* グリッドオーバーレイ定義 */
.grid-overlay,
.grid-overlay-diagonal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(255, 102, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.8) 100%
    );
    z-index: 1;
    animation: overlayPulse 5s ease-in-out infinite;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .grid-container-full {
        grid-template-columns: 1fr;
        gap: 4px;
        overflow-x: visible;
    }
    
    .grid-item {
        min-height: 500px;
        min-width: 100%;
    }
}

@media (max-width: 768px) {
    .grid-container-full {
        grid-template-columns: 1fr;
        gap: 4px;
        overflow-x: visible;
        padding: 0;
    }
    
    .grid-item {
        min-height: 450px;
        min-width: 100%;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .grid-container-full {
        grid-template-columns: 1fr;
    }
    
    .grid-item {
        min-height: 400px;
    }
}
/* ========================================
   グリッドセクション - 斜め配置デザイン（高さ揃え）
   ======================================== */
.grid-section {
    position: relative;
    padding: 25px 0; /* パディングを調整 */
    overflow: hidden;
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
}

.grid-container-full {
    max-width: 100%;
    margin: 0;
    display: flex;
    transform: rotate(-3deg) translateY(0);
    transform-origin: center center; /* 回転の中心を中央に */
    gap: 0;
    overflow: visible;
    padding: 0;
    width: 120%;
    margin-left: -10%;
    align-items: stretch; /* 高さを揃える */
}

.grid-item {
    position: relative;
    height: 600px; /* min-height から height に変更 */
    flex: 1;
    min-width: 0;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    transition: all 0.4s ease;
    border: none;
    border-right: 3px solid #ff6600;
    margin: 0;
}

.grid-item:last-child {
    border-right: none;
}

.grid-item:hover {
    transform: scale(1.05);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.6),
        0 0 80px rgba(255, 102, 0, 0.6);
    z-index: 10;
}

/* コンテンツを元の角度に戻す */
.grid-content {
    position: relative;
    z-index: 2;
    padding: 50px 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    transform: rotate(3deg);
}

.grid-content h2 {
    font-size: 2.2rem;
    font-weight: 900;
    color: white;
    margin-bottom: 15px;
    text-shadow: 
        0 0 20px rgba(255, 102, 0, 1),
        0 0 40px rgba(255, 51, 0, 0.8),
        0 5px 30px rgba(0, 0, 0, 1);
    white-space: nowrap;
    overflow: hidden;
}

.grid-description {
    font-size: 1rem;
    color: white;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

/* 背景も元の角度に */
.grid-bg {
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    background-size: cover;
    background-position: center;
    z-index: 0;
    transition: transform 0.6s ease;
    transform: rotate(3deg) scale(1.1);
}

.grid-item:hover .grid-bg {
    transform: rotate(3deg) scale(1.2);
}

.grid-overlay,
.grid-overlay-diagonal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(255, 102, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.8) 100%
    );
    z-index: 1;
    transform: rotate(3deg) scale(1.1);
}

/* ボタン */
.grid-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 30px;
    background: linear-gradient(135deg, #ff3300, #ff6600, #ff9900);
    background-size: 200% auto;
    color: white;
    font-size: 1rem;
    font-weight: 900;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 
        0 5px 20px rgba(255, 51, 0, 0.5),
        inset 0 -2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.grid-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 10px 30px rgba(255, 51, 0, 0.7),
        inset 0 -2px 10px rgba(0, 0, 0, 0.2);
    background-position: right center;
}

/* プレビューコンテンツ */
.blog-preview,
.subscription-cards {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 20px 0;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
}

.community-preview,
.shop-preview,
.radio-preview {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.mini-blog,
.mini-product {
    background: white;
    padding: 20px;
    border-radius: 12px;
    border: 2px solid #ff6600;
    transition: all 0.3s ease;
    text-align: left;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.mini-blog {
    padding: 20px;
}

.mini-product {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mini-blog:hover,
.mini-product:hover {
    transform: translateY(-5px) translateX(5px);
    border-color: #ff8833;
    box-shadow: 0 8px 20px rgba(255, 102, 0, 0.4);
    background: #fff8f0;
}

.mini-date {
    display: block;
    color: #ff6600;
    font-size: 0.9rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.mini-blog h4 {
    color: #ff3300;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.4;
}

.mini-product img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 10px;
}

.mini-product h4 {
    flex: 1;
    color: #ff3300;
    font-size: 0.85rem;
    font-weight: 700;
}

.preview-icon,
.radio-icon {
    font-size: 3.5rem;
    animation: iconFloat 3s ease-in-out infinite;
}

.radio-icon {
    font-size: 4rem;
}

.community-preview p,
.shop-preview p,
.radio-preview p {
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    line-height: 1.6;
}

.radio-preview p {
    font-size: 1.3rem;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .grid-container-full {
        transform: rotate(0deg);
        flex-direction: column;
        width: 100%;
        margin-left: 0;
    }
    
    .grid-item {
        height: 500px; /* 高さ調整 */
        border-right: none;
        border-bottom: 3px solid #ff6600;
    }
    
    .grid-item:last-child {
        border-bottom: none;
    }
    
    .grid-content {
        transform: rotate(0deg);
        padding: 40px 30px;
    }
    
    .grid-content h2 {
        font-size: 2rem;
    }
    
    .grid-bg,
    .grid-overlay,
    .grid-overlay-diagonal {
        transform: rotate(0deg) scale(1);
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    
    .grid-item:hover .grid-bg {
        transform: rotate(0deg) scale(1.1);
    }
}

@media (max-width: 768px) {
    .grid-section {
        padding: 60px 0;
    }
    
    .grid-item {
        height: 450px;
    }
    
    .grid-content {
        padding: 30px 20px;
    }
    
    .grid-content h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .grid-item {
        height: 400px;
    }
    
    .grid-content h2 {
        font-size: 1.5rem;
    }
}/* ブログカードリンク */
.mini-blog-link {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
}

.mini-blog {
    transition: all 0.3s ease;
}

/* ============================================================
   ショップページ - スマホ版 (768px以下) Amazonスタイル
/* ============================================================
   ショップページ - PC版 基本スタイル
   ============================================================ */

/* ショップページ全体 */
.ganju-shop-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 100px 20px 40px;
}

.ganju-shop-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* ヘッダー */
.ganju-shop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(255, 102, 0, 0.3);
}

.shop-title {
    font-size: 2.5rem;
    color: white;
    margin: 0;
}

.header-actions {
    display: flex;
    gap: 15px;
}

.header-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(255, 102, 0, 0.1);
    border: 2px solid #ff6600;
    border-radius: 8px;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.header-link:hover {
    background: #ff6600;
    transform: translateY(-2px);
}

/* レイアウト */
.ganju-shop-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
}

/* サイドバー */
.ganju-shop-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 102, 0, 0.2);
}

.sidebar-title {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ff6600;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-item {
    margin-bottom: 8px;
}

.category-item a {
    display: block;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 102, 0, 0.2);
    border-radius: 6px;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.category-item a:hover,
.category-item.active a {
    background: rgba(255, 102, 0, 0.2);
    border-color: #ff6600;
}

/* コンテンツ */
.ganju-shop-content {
    background: rgba(255, 255, 255, 0.03);
    padding: 30px;
    border-radius: 12px;
}

/* 商品グリッド */
ul.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* 商品カード */
.ganju-product-wrapper {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 102, 0, 0.2);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
}

.ganju-product-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 102, 0, 0.3);
    border-color: #ff6600;
}

.ganju-image-link {
    display: block;
    position: relative;
}

.ganju-image-wrapper {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
}

.ganju-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ganju-product-content {
    padding: 20px;
}

.ganju-product-title {
    margin: 0 0 10px 0;
    font-size: 1.1rem;
    line-height: 1.4;
}

.ganju-product-title a {
    color: white;
    text-decoration: none;
}

.ganju-product-title a:hover {
    color: #ff6600;
}

.ganju-product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ff6600;
    margin-bottom: 15px;
}

.ganju-product-action .button {
    display: block;
    width: 100%;
    padding: 12px;
    background: #ff6600;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.ganju-product-action .button:hover {
    background: #ff8833;
    transform: scale(1.05);
}

    body.woocommerce-shop .ganju-shop-page,
    body.post-type-archive-product .ganju-shop-page,
    body.tax-product_cat .ganju-shop-page {
        padding: 0 !important;
        background: #F7F7F7 !important;
    }
    
    body.woocommerce-shop .ganju-shop-container,
    body.post-type-archive-product .ganju-shop-container,
    body.tax-product_cat .ganju-shop-container {
        padding: 10px !important;
        background: #F7F7F7 !important;
    }
    
    /* ヘッダー：白背景 */
    body.woocommerce-shop .ganju-shop-header,
    body.post-type-archive-product .ganju-shop-header,
    body.tax-product_cat .ganju-shop-header {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 10px !important;
        margin-bottom: 10px !important;
        padding: 12px !important;
        background: white !important;
        border-radius: 8px !important;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
    }
    
    body.woocommerce-shop .ganju-shop-page .shop-title,
    body.post-type-archive-product .ganju-shop-page .shop-title,
    body.tax-product_cat .ganju-shop-page .shop-title {
        font-size: 1.2rem !important;
        margin: 0 !important;
        color: #0F1111 !important;
    }
    
    body.woocommerce-shop .ganju-shop-page .header-link .text,
    body.post-type-archive-product .ganju-shop-page .header-link .text,
    body.tax-product_cat .ganju-shop-page .header-link .text {
        display: none !important;
    }
    
    body.woocommerce-shop .ganju-shop-page .header-link .icon,
    body.post-type-archive-product .ganju-shop-page .header-link .icon,
    body.tax-product_cat .ganju-shop-page .header-link .icon {
        font-size: 1.3rem !important;
    }
    
    /* レイアウト：縦並び */
    body.woocommerce-shop .ganju-shop-layout,
    body.post-type-archive-product .ganju-shop-layout,
    body.tax-product_cat .ganju-shop-layout {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
    
    /* サイドバー：白背景ボックス */
    body.woocommerce-shop .ganju-shop-sidebar,
    body.post-type-archive-product .ganju-shop-sidebar,
    body.tax-product_cat .ganju-shop-sidebar {
        position: static !important;
        padding: 12px !important;
        background: white !important;
        border: none !important;
        border-radius: 8px !important;
        margin-bottom: 10px !important;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
    }
    
    body.woocommerce-shop .ganju-shop-page .sidebar-title,
    body.post-type-archive-product .ganju-shop-page .sidebar-title,
    body.tax-product_cat .ganju-shop-page .sidebar-title {
        font-size: 0.9rem !important;
        margin-bottom: 10px !important;
        padding-bottom: 8px !important;
        color: #0F1111 !important;
        border-bottom: 1px solid #e0e0e0 !important;
    }
    
    /* カテゴリ：縦並び・白背景 */
    body.woocommerce-shop .ganju-shop-page .category-list,
    body.post-type-archive-product .ganju-shop-page .category-list,
    body.tax-product_cat .ganju-shop-page .category-list {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 6px !important;
        overflow-x: visible !important;
        padding: 0 !important;
    }
    
    body.woocommerce-shop .ganju-shop-page .category-item,
    body.post-type-archive-product .ganju-shop-page .category-item,
    body.tax-product_cat .ganju-shop-page .category-item {
        margin: 0 !important;
        width: 100% !important;
    }
    
    body.woocommerce-shop .ganju-shop-page .category-item a,
    body.post-type-archive-product .ganju-shop-page .category-item a,
    body.tax-product_cat .ganju-shop-page .category-item a {
        display: block !important;
        width: 100% !important;
        padding: 8px 12px !important;
        font-size: 0.85rem !important;
        text-align: left !important;
        border-radius: 6px !important;
        background: #F7F7F7 !important;
        border: 1px solid #D5D9D9 !important;
        color: #007185 !important;
        text-decoration: none !important;
    }
    
    body.woocommerce-shop .ganju-shop-page .category-item.active a,
    body.post-type-archive-product .ganju-shop-page .category-item.active a,
    body.tax-product_cat .ganju-shop-page .category-item.active a {
        background: #E7F6F8 !important;
        border-color: #007185 !important;
        font-weight: 600 !important;
    }
    
    /* コンテンツ */
    body.woocommerce-shop .ganju-shop-content,
    body.post-type-archive-product .ganju-shop-content,
    body.tax-product_cat .ganju-shop-content {
        padding: 0 !important;
        background: transparent !important;
    }
    
    /* 商品グリッド：1列・画面幅いっぱい */
    body.woocommerce-shop .ganju-shop-page ul.products,
    body.post-type-archive-product .ganju-shop-page ul.products,
    body.tax-product_cat .ganju-shop-page ul.products,
    body.woocommerce-shop .ganju-shop-content ul.products,
    body.post-type-archive-product .ganju-shop-content ul.products,
    body.tax-product_cat .ganju-shop-content ul.products {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        max-width: 100% !important;
        margin: 0 !important;
    }
    
    /* 商品カード：左画像・右説明 */
    body.woocommerce-shop .ganju-product-wrapper,
    body.post-type-archive-product .ganju-product-wrapper,
    body.tax-product_cat .ganju-product-wrapper {
        max-width: 100% !important;
        margin: 0 !important;
        background: white !important;
        border-radius: 8px !important;
        overflow: hidden !important;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
        display: grid !important;
        grid-template-columns: 120px 1fr !important;
        gap: 0 !important;
        min-height: 120px !important;
    }
    
    /* 画像：左側・説明の高さに合わせる */
    body.woocommerce-shop .ganju-image-link,
    body.post-type-archive-product .ganju-image-link,
    body.tax-product_cat .ganju-image-link {
        display: block !important;
        width: 120px !important;
        height: 100% !important;
    }
    
    body.woocommerce-shop .ganju-image-wrapper,
    body.post-type-archive-product .ganju-image-wrapper,
    body.tax-product_cat .ganju-image-wrapper {
        padding-top: 0 !important;
        width: 120px !important;
        height: 100% !important;
        background: white !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    body.woocommerce-shop .ganju-image-wrapper img,
    body.post-type-archive-product .ganju-image-wrapper img,
    body.tax-product_cat .ganju-image-wrapper img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
    }
    
    body.woocommerce-shop .ganju-product-content,
    body.post-type-archive-product .ganju-product-content,
    body.tax-product_cat .ganju-product-content {
        padding: 10px !important;
        gap: 4px !important;
        background: white !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
    }
    
    body.woocommerce-shop .ganju-product-title,
    body.post-type-archive-product .ganju-product-title,
    body.tax-product_cat .ganju-product-title {
        font-size: 0.85rem !important;
        min-height: auto !important;
        line-height: 1.3 !important;
        color: #0F1111 !important;
        margin-bottom: 4px !important;
    }
    
    body.woocommerce-shop .ganju-product-title a,
    body.post-type-archive-product .ganju-product-title a,
    body.tax-product_cat .ganju-product-title a {
        color: #007185 !important;
        text-decoration: none !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }
    
    body.woocommerce-shop .ganju-product-price,
    body.post-type-archive-product .ganju-product-price,
    body.tax-product_cat .ganju-product-price {
        font-size: 1rem !important;
        font-weight: 700 !important;
        color: #B12704 !important;
        margin-bottom: 4px !important;
    }
    
    body.woocommerce-shop .ganju-product-action .button,
    body.post-type-archive-product .ganju-product-action .button,
    body.tax-product_cat .ganju-product-action .button {
        padding: 6px 10px !important;
        font-size: 0.7rem !important;
        background: #FFD814 !important;
        color: #0F1111 !important;
        border: 1px solid #FCD200 !important;
        border-radius: 4px !important;
        font-weight: 600 !important;
        width: auto !important;
        align-self: flex-start !important;
    }
    
    body.woocommerce-shop .ganju-product-action .button:hover,
    body.post-type-archive-product .ganju-product-action .button:hover,
    body.tax-product_cat .ganju-product-action .button:hover {
        background: #F7CA00 !important;
    }
}

/* ============================================================
   商品カード - バッジ位置調整
   ============================================================ */

/* バッジ */
.ganju-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;
    display: flex;
    gap: 5px;
}

.ganju-badge {
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
}

.ganju-badge.sale {
    background: #ff3333;
}

.ganju-badge.featured {
    background: #ffaa00;
}

/* カテゴリリスト - ALLカテゴリのスタイル */
.category-item:first-child a {
    font-weight: 700;
    background: rgba(255, 102, 0, 0.1);
}

.category-item:first-child.active a {
    background: rgba(255, 102, 0, 0.3);
    border-color: #ff6600;
}

@media (max-width: 768px) {
    .ganju-badges {
        top: 5px;
        left: 5px;
    }
    
    .ganju-badge {
        padding: 3px 8px;
        font-size: 0.7rem;
    }
    
    /* スマホ版：カテゴリALLのスタイル */
    body.woocommerce-shop .ganju-shop-page .category-item:first-child a,
    body.post-type-archive-product .ganju-shop-page .category-item:first-child a,
    body.tax-product_cat .ganju-shop-page .category-item:first-child a {
        font-weight: 700 !important;
        background: rgba(255, 102, 0, 0.1) !important;
    }
    
    body.woocommerce-shop .ganju-shop-page .category-item:first-child.active a,
    body.post-type-archive-product .ganju-shop-page .category-item:first-child.active a,
    body.tax-product_cat .ganju-shop-page .category-item:first-child.active a {
        background: rgba(255, 102, 0, 0.3) !important;
        border-color: #ff6600 !important;
    }
}

/* ============================================================
   未分類カテゴリを強制的に非表示
   ============================================================ */

/* 未分類カテゴリを非表示（複数の方法で確実に） */
.category-item a[href*="uncategorized"],
.category-item a[href*="未分類"],
li.product_cat-uncategorized,
.term-uncategorized {
    display: none !important;
}

/* 未分類という文字列を含むカテゴリを非表示 */
.category-item a:has-text("未分類"),
.category-item:has(a[href*="uncategorized"]) {
    display: none !important;
}

/* スマホ版でも未分類を非表示 */
@media (max-width: 768px) {
    body.woocommerce-shop .category-item a[href*="uncategorized"],
    body.post-type-archive-product .category-item a[href*="uncategorized"],
    body.tax-product_cat .category-item a[href*="uncategorized"],
    body.woocommerce-shop .category-item a[href*="未分類"],
    body.post-type-archive-product .category-item a[href*="未分類"],
    body.tax-product_cat .category-item a[href*="未分類"] {
        display: none !important;
    }
    
    body.woocommerce-shop .category-item:has(a[href*="uncategorized"]),
    body.post-type-archive-product .category-item:has(a[href*="uncategorized"]),
    body.tax-product_cat .category-item:has(a[href*="uncategorized"]) {
        display: none !important;
    }
}

/* ============================================================
   商品カードのカテゴリ表示を完全に削除
   ============================================================ */

/* 商品カードに表示されるカテゴリを非表示 */
.woocommerce-loop-category__title,
.woocommerce-loop-product__title .posted_in,
.product_meta .posted_in,
.ganju-product-wrapper .product_cat,
.ganju-product-card .product_cat {
    display: none !important;
}

/* 未分類という文字を含む要素を非表示 */
*:contains("未分類"),
*[class*="uncategorized"] {
    display: none !important;
}

/* 商品カード内のカテゴリリンクを非表示 */
.ganju-product-wrapper a[rel="tag"],
.ganju-product-card a[rel="tag"],
.products .product a[rel="tag"] {
    display: none !important;
}

/* スマホ版でも同様に非表示 */
@media (max-width: 768px) {
    body.woocommerce-shop .woocommerce-loop-category__title,
    body.post-type-archive-product .woocommerce-loop-category__title,
    body.tax-product_cat .woocommerce-loop-category__title,
    body.woocommerce-shop .product_cat,
    body.post-type-archive-product .product_cat,
    body.tax-product_cat .product_cat {
        display: none !important;
    }
    
    body.woocommerce-shop a[rel="tag"],
    body.post-type-archive-product a[rel="tag"],
    body.tax-product_cat a[rel="tag"] {
        display: none !important;
    }
}

/* ============================================================
   カテゴリボックスを完全に非表示（最優先）
   ============================================================ */

/* WooCommerceのカテゴリボックスを強制非表示 */
.woocommerce .products li.product-category,
.woocommerce ul.products li.product-category,
li.product-category,
.product_cat-uncategorized,
.term-uncategorized {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    position: absolute !important;
    left: -9999px !important;
}

/* カテゴリタイトルを非表示 */
.woocommerce-loop-category__title,
h2.woocommerce-loop-category__title,
.product-category h2 {
    display: none !important;
}

/* 未分類リンクを非表示 */
a[href*="product-category/uncategorized"],
a[href*="product-category/未分類"],
a[href*="product_cat=uncategorized"] {
    display: none !important;
}

/* スマホ版でも確実に非表示 */
@media (max-width: 768px) {
    body.woocommerce-shop li.product-category,
    body.post-type-archive-product li.product-category,
    body.tax-product_cat li.product-category {
        display: none !important;
    }
}
/* ============================================================
   カテゴリタブ - Amazon風（商品の上に配置）
   ============================================================ */

/* カテゴリタブコンテナ */
.ganju-category-tabs {
    background: white;
    padding: 0;
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* 横スクロールエリア */
.category-tabs-scroll {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0;
    padding: 10px 5px;
}

.category-tabs-scroll::-webkit-scrollbar {
    display: none;
}

/* カテゴリタブ */
.category-tab {
    flex-shrink: 0;
    padding: 8px 16px;
    background: #F7F7F7;
    border: 1px solid #D5D9D9;
    border-radius: 20px;
    color: #007185;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.2s;
    margin: 0 5px;
}

.category-tab:hover {
    background: #E7F6F8;
    border-color: #007185;
}

.category-tab.active {
    background: #007185;
    color: white;
    border-color: #007185;
    font-weight: 600;
}

/* 商品リストラッパー */
.ganju-shop-products-wrapper {
    background: transparent;
    padding: 0;
}

/* スマホ版 */
@media (max-width: 768px) {
    .ganju-category-tabs {
        margin: 0 -10px 10px;
        border-radius: 0;
    }
    
    .category-tabs-scroll {
        padding: 12px 10px;
        gap: 8px;
    }
    
    .category-tab {
        padding: 10px 18px;
        font-size: 0.95rem;
        border-radius: 25px;
    }
}

/* サイドバーを非表示（カテゴリタブに置き換え） */
.ganju-shop-sidebar { display: none !important; }
.ganju-shop-layout { grid-template-columns: 1fr !important; }


/* ============================================================
   スマホ版ショップページ - カテゴリタブ使用
   ============================================================ */

@media (max-width: 768px) {
    /* サイドバーを完全に非表示 */
    body.woocommerce-shop .ganju-shop-sidebar,
    body.post-type-archive-product .ganju-shop-sidebar,
    body.tax-product_cat .ganju-shop-sidebar {
        display: none !important;
    }
    
    /* レイアウトを1列に */
    body.woocommerce-shop .ganju-shop-layout,
    body.post-type-archive-product .ganju-shop-layout,
    body.tax-product_cat .ganju-shop-layout {
        grid-template-columns: 1fr !important;
    }
    
    /* カテゴリタブをスマホ最適化 */
    body.woocommerce-shop .ganju-category-tabs,
    body.post-type-archive-product .ganju-category-tabs,
    body.tax-product_cat .ganju-category-tabs {
        margin: 0 0 15px 0 !important;
        border-radius: 0 !important;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    }
    
    body.woocommerce-shop .category-tabs-scroll,
    body.post-type-archive-product .category-tabs-scroll,
    body.tax-product_cat .category-tabs-scroll {
        padding: 15px 10px !important;
    }
    
    body.woocommerce-shop .category-tab,
    body.post-type-archive-product .category-tab,
    body.tax-product_cat .category-tab {
        padding: 12px 20px !important;
        font-size: 1rem !important;
    }
}
/* ============================================================
   スマホ版ショップページ - 完全Amazon風
   ============================================================ */

@media (max-width: 768px) {
    /* ページ全体：白背景 */
    body.woocommerce-shop,
    body.post-type-archive-product,
    body.tax-product_cat {
        background: #F7F7F7 !important;
    }
    
    body.woocommerce-shop .ganju-shop-page,
    body.post-type-archive-product .ganju-shop-page,
    body.tax-product_cat .ganju-shop-page {
        padding: 0 !important;
        background: #F7F7F7 !important;
    }
    
    body.woocommerce-shop .ganju-shop-container,
    body.post-type-archive-product .ganju-shop-container,
    body.tax-product_cat .ganju-shop-container {
        padding: 10px !important;
        background: #F7F7F7 !important;
    }
    
    /* ヘッダー：白背景・横並び */
    body.woocommerce-shop .ganju-shop-header,
    body.post-type-archive-product .ganju-shop-header,
    body.tax-product_cat .ganju-shop-header {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 10px !important;
        margin-bottom: 10px !important;
        padding: 12px !important;
        background: white !important;
        border-radius: 8px !important;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
    }
    
    body.woocommerce-shop .shop-title,
    body.post-type-archive-product .shop-title,
    body.tax-product_cat .shop-title {
        font-size: 1.2rem !important;
        margin: 0 !important;
        color: #0F1111 !important;
    }
    
    /* サイドバーを完全非表示 */
    body.woocommerce-shop .ganju-shop-sidebar,
    body.post-type-archive-product .ganju-shop-sidebar,
    body.tax-product_cat .ganju-shop-sidebar {
        display: none !important;
    }
    
    /* レイアウト：1列 */
    body.woocommerce-shop .ganju-shop-layout,
    body.post-type-archive-product .ganju-shop-layout,
    body.tax-product_cat .ganju-shop-layout {
        display: block !important;
        grid-template-columns: 1fr !important;
    }
    
    /* カテゴリタブ：商品の上に配置 */
    body.woocommerce-shop .ganju-category-tabs,
    body.post-type-archive-product .ganju-category-tabs,
    body.tax-product_cat .ganju-category-tabs {
        background: white !important;
        margin: 0 0 10px 0 !important;
        border-radius: 8px !important;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
        overflow: hidden !important;
    }
    
    body.woocommerce-shop .category-tabs-scroll,
    body.post-type-archive-product .category-tabs-scroll,
    body.tax-product_cat .category-tabs-scroll {
        display: flex !important;
        overflow-x: auto !important;
        padding: 12px 10px !important;
        gap: 8px !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
    }
    
    body.woocommerce-shop .category-tabs-scroll::-webkit-scrollbar,
    body.post-type-archive-product .category-tabs-scroll::-webkit-scrollbar,
    body.tax-product_cat .category-tabs-scroll::-webkit-scrollbar {
        display: none !important;
    }
    
    body.woocommerce-shop .category-tab,
    body.post-type-archive-product .category-tab,
    body.tax-product_cat .category-tab {
        flex-shrink: 0 !important;
        padding: 10px 20px !important;
        background: #F7F7F7 !important;
        border: 1px solid #D5D9D9 !important;
        border-radius: 25px !important;
        color: #007185 !important;
        font-size: 0.95rem !important;
        font-weight: 500 !important;
        text-decoration: none !important;
        white-space: nowrap !important;
    }
    
    body.woocommerce-shop .category-tab.active,
    body.post-type-archive-product .category-tab.active,
    body.tax-product_cat .category-tab.active {
        background: #007185 !important;
        color: white !important;
        border-color: #007185 !important;
        font-weight: 600 !important;
    }
    
    /* 商品リスト：縦1列 */
    body.woocommerce-shop ul.products,
    body.post-type-archive-product ul.products,
    body.tax-product_cat ul.products {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* 商品カード：左画像・右情報 */
    body.woocommerce-shop .ganju-product-wrapper,
    body.post-type-archive-product .ganju-product-wrapper,
    body.tax-product_cat .ganju-product-wrapper {
        display: flex !important;
        flex-direction: row !important;
        align-items: stretch !important;
        max-width: 100% !important;
        margin: 0 !important;
        background: white !important;
        border-radius: 8px !important;
        overflow: hidden !important;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
        min-height: 140px !important;
    }
    
    /* 画像：左側・固定幅 */
    body.woocommerce-shop .ganju-image-link,
    body.post-type-archive-product .ganju-image-link,
    body.tax-product_cat .ganju-image-link {
        display: block !important;
        width: 140px !important;
        min-width: 140px !important;
        flex-shrink: 0 !important;
    }
    
    body.woocommerce-shop .ganju-image-wrapper,
    body.post-type-archive-product .ganju-image-wrapper,
    body.tax-product_cat .ganju-image-wrapper {
        width: 140px !important;
        height: 100% !important;
        padding-top: 0 !important;
        background: white !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    body.woocommerce-shop .ganju-image-wrapper img,
    body.post-type-archive-product .ganju-image-wrapper img,
    body.tax-product_cat .ganju-image-wrapper img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
    }
    
    /* 商品情報：右側 */
    body.woocommerce-shop .ganju-product-content,
    body.post-type-archive-product .ganju-product-content,
    body.tax-product_cat .ganju-product-content {
        flex: 1 !important;
        padding: 12px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        gap: 6px !important;
        background: white !important;
    }
    
    /* タイトル */
    body.woocommerce-shop .ganju-product-title,
    body.post-type-archive-product .ganju-product-title,
    body.tax-product_cat .ganju-product-title {
        font-size: 0.9rem !important;
        line-height: 1.3 !important;
        color: #0F1111 !important;
        margin: 0 0 6px 0 !important;
        min-height: auto !important;
    }
    
    body.woocommerce-shop .ganju-product-title a,
    body.post-type-archive-product .ganju-product-title a,
    body.tax-product_cat .ganju-product-title a {
        color: #007185 !important;
        text-decoration: none !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }
    
    /* 価格 */
    body.woocommerce-shop .ganju-product-price,
    body.post-type-archive-product .ganju-product-price,
    body.tax-product_cat .ganju-product-price {
        font-size: 1.2rem !important;
        font-weight: 700 !important;
        color: #B12704 !important;
        margin: 0 0 8px 0 !important;
    }
    
    /* カートボタン */
    body.woocommerce-shop .ganju-product-action .button,
    body.post-type-archive-product .ganju-product-action .button,
    body.tax-product_cat .ganju-product-action .button {
        padding: 8px 16px !important;
        font-size: 0.85rem !important;
        background: #FFD814 !important;
        color: #0F1111 !important;
        border: 1px solid #FCD200 !important;
        border-radius: 8px !important;
        font-weight: 600 !important;
        width: auto !important;
        align-self: flex-start !important;
    }
    
    body.woocommerce-shop .ganju-product-action .button:hover,
    body.post-type-archive-product .ganju-product-action .button:hover,
    body.tax-product_cat .ganju-product-action .button:hover {
        background: #F7CA00 !important;
    }
}