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

:root {
    --primary-color: #2a9d8f;
    --accent-color: #e76f51;
    --secondary-color: #264653;
    --text-color: #f1faee;
    --text-dark: #264653;
    --bg-color: #1d3a45;
    --bg-light: #264653;
    --bg-card: #2c5f6f;
    --white: #ffffff;
    --gray-light: #457b9d;
    --gray-medium: #a8dadc;
    --shadow: 0 4px 20px rgba(26,53,63,0.3);
    --shadow-glow: 0 0 30px rgba(42,157,143,0.2);
    --gradient-primary: linear-gradient(135deg, #2a9d8f 0%, #264653 100%);
    --gradient-dark: linear-gradient(135deg, #264653 0%, #1d3a45 100%);
    --water-blue: #457b9d;
    --sand-beige: #f1faee;
    --forest-green: #2a9d8f;
}

body {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: transparent;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header Styles */
header {
    background: rgba(38, 70, 83, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(69,123,157,0.3);
    box-shadow: 0 2px 20px rgba(26,53,63,0.4);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-img {
    height: 50px;
    width: auto;
    filter: drop-shadow(2px 2px 4px rgba(26,53,63,0.3));
    transition: all 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(3px 3px 6px rgba(26,53,63,0.4));
}


.nav-menu {
    list-style: none;
    display: flex;
    gap: 3rem;
    flex: 1;
    justify-content: center;
}

.mobile-social-links {
    display: none;
}

/* Desktop submenu styles */
@media (min-width: 769px) {
    .has-submenu {
        position: relative;
    }
    
    .submenu {
        position: absolute;
        top: 100%;
        left: 0;
        background: rgba(38, 70, 83, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-radius: 8px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        min-width: 200px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        margin-top: 10px;
        padding: 0.5rem 0;
        list-style: none;
    }
    
    .has-submenu:hover .submenu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .submenu li {
        border-bottom: none;
    }
    
    .submenu li a {
        display: block;
        padding: 0.75rem 1.5rem;
        color: var(--text-color);
        text-decoration: none;
        transition: all 0.2s ease;
        font-size: 0.95rem;
    }
    
    .submenu li a:hover {
        background: rgba(0, 255, 136, 0.1);
        color: var(--primary-color);
        padding-left: 2rem;
    }
    
    .mobile-social-links {
        display: none !important;
    }
}

.nav-menu li a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu li a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(42,157,143,0.5);
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-menu li a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--sand-beige);
    margin: 4px 0;
}

/* Main Content */
main {
    margin-top: 0;
    position: relative;
    z-index: 1;
}


/* Hero Section */
.hero {
    position: relative;
    min-height: calc(100vh + 80px);
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: -80px;
    padding-top: 80px;
    padding-bottom: 80px;
}

.hero-video-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-video-bg iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    min-height: 100vh;
    min-width: 177.78vh;
    transform: translate(-50%, -50%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(29,58,69,0.8) 0%, rgba(38,70,83,0.7) 100%);
    z-index: 0;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}


.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-logo {
    max-width: 400px;
    width: 80%;
    height: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(4px 4px 8px rgba(26,53,63,0.8));
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.hero-subtitle {
    font-size: 1.5rem;
    color: var(--sand-beige);
    margin-bottom: 3rem;
    line-height: 1.8;
    letter-spacing: 0.1em;
    opacity: 0.95;
    text-shadow: 2px 2px 6px rgba(26,53,63,0.8);
}




/* Buttons */
.cta-button {
    background: var(--accent-color);
    color: var(--sand-beige);
    border: none;
    padding: 18px 50px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(231,111,81,0.3);
    position: relative;
    overflow: hidden;
    display: inline-block;
    text-decoration: none;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(231,111,81,0.5);
    background: #d85740;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

/* Products Section */
.products {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(241,250,238,0.7) 0%, rgba(233,236,239,0.75) 100%);
    position: relative;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overflow: hidden;
}

.products::before {
    content: 'PRODUCTS';
    position: absolute;
    top: 10%;
    right: 5%;
    font-size: 8rem;
    font-weight: 900;
    color: rgba(241,250,238,0.15);
    font-family: 'Noto Sans JP', sans-serif;
    letter-spacing: 0.2em;
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    text-align: center;
    color: var(--secondary-color);
    margin-bottom: 4rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-family: 'Noto Sans JP', sans-serif;
    text-shadow: 2px 2px 4px rgba(255,255,255,0.8);
    position: relative;
    z-index: 1;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

a.product-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: rgba(255,255,255,0.9);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(26,53,63,0.15);
    transition: all 0.4s ease;
    border: 1px solid rgba(69,123,157,0.1);
    position: relative;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: pointer;
}


a.product-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(26,53,63,0.25);
    border-color: var(--primary-color);
    text-decoration: none;
}


.product-card .image-container {
    position: relative;
    width: 100%;
    padding-bottom: 100%; /* 1:1 正方形のアスペクト比 */
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.product-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover img {
    transform: scale(1.15);
}

.product-card .product-content {
    padding: 2rem;
}

.product-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.8rem;
}

.product-card p {
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
    opacity: 0.85;
}

.product-sizes {
    font-weight: 600;
    color: var(--primary-color) !important;
    font-size: 0.9rem;
    opacity: 1 !important;
}

.product-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-color);
    margin: 1rem 0;
    opacity: 1 !important;
}

.product-link {
    display: inline-flex;
    align-items: center;
    margin-top: 1.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.product-link::after {
    content: '→';
    margin-left: 5px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.product-link:hover {
    color: var(--accent-color);
}

.product-link:hover::after {
    transform: translateX(5px);
}

/* About Section */
.about {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(69,123,157,0.6) 0%, rgba(38,70,83,0.65) 100%);
    position: relative;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.about::before {
    content: 'ABOUT';
    position: absolute;
    top: 10%;
    right: 5%;
    font-size: 8rem;
    font-weight: 900;
    color: rgba(241,250,238,0.15);
    font-family: 'Noto Sans JP', sans-serif;
    letter-spacing: 0.2em;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 2;
    margin-bottom: 2rem;
    color: var(--text-color);
    opacity: 0.9;
    text-shadow: 1px 1px 3px rgba(26,53,63,0.8);
}

.about-text p:first-child {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--sand-beige);
}

/* Latest Posts Section */
.latest-posts {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(69,123,157,0.85) 0%, rgba(38,70,83,0.85) 100%);
    border-top: 1px solid rgba(69,123,157,0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    position: relative;
    overflow: hidden;
}

.latest-posts::before {
    content: 'POSTS';
    position: absolute;
    top: 10%;
    right: 5%;
    font-size: 8rem;
    font-weight: 900;
    color: rgba(241,250,238,0.08);
    font-family: 'Noto Sans JP', sans-serif;
    letter-spacing: 0.2em;
}

/* SNSリンクグリッド */
.social-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.social-card {
    background: rgba(255, 255, 255, 0.75);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid rgba(69,123,157,0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(26,53,63,0.3);
}

.social-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(26,53,63,0.4);
    background: rgba(255, 255, 255, 0.85);
}

.social-follow-btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 2px solid;
}

.social-follow-btn.instagram {
    color: #E4405F;
    border-color: #E4405F;
}

.social-follow-btn.instagram:hover {
    background: #E4405F;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(228, 64, 95, 0.4);
}

.social-follow-btn.twitter {
    color: #00d4ff;
    border-color: #00d4ff;
}

.social-follow-btn.twitter:hover {
    background: #00d4ff;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.4);
}

/* マニュアル投稿表示用スタイル */
.manual-posts {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-height: 500px;
    overflow-y: auto;
}

.post-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(0, 212, 255, 0.3);
    transition: all 0.3s ease;
}

.post-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 212, 255, 0.5);
    transform: translateX(5px);
}

.post-date {
    color: #00d4ff;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.post-content {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* モバイル対応 */
@media (max-width: 768px) {
    .x-timeline-container {
        padding: 20px;
        margin: 0 15px 30px;
    }
    
    .latest-posts {
        padding: 60px 0;
    }
    
    .latest-posts::before {
        font-size: 3rem;
        top: 5%;
    }
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: rgba(241,250,238,0.65);
    border-top: 1px solid rgba(69,123,157,0.2);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: 'CONTACT';
    position: absolute;
    top: 10%;
    right: 5%;
    font-size: 8rem;
    font-weight: 900;
    color: rgba(241,250,238,0.15);
    font-family: 'Noto Sans JP', sans-serif;
    letter-spacing: 0.2em;
}

.contact-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.contact-content > p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.contact-info {
    background: rgba(255,255,255,0.75);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(26,53,63,0.3);
    border: 1px solid rgba(69,123,157,0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.contact-info p {
    font-size: 1.1rem;
    margin: 1rem 0;
    color: var(--text-dark);
    opacity: 0.9;
}

.contact-info p:first-child {
    color: var(--primary-color);
    font-weight: 600;
}

/* Footer */
footer {
    background: rgba(38,70,83,0.75);
    color: var(--text-color);
    padding: 4rem 0;
    border-top: 1px solid rgba(69,123,157,0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: relative;
    z-index: 2;
}

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

.footer-logo {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: 0.2em;
    margin-bottom: 2rem;
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--sand-beige);
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.footer-nav a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
}

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

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(241,250,238,0.1);
    color: var(--text-color);
    transition: all 0.3s ease;
    border: 1px solid rgba(241,250,238,0.2);
}

.social-link:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(42,157,143,0.3);
    border-color: var(--primary-color);
}

/* Footer Social Links */
.footer-social {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin: 2rem 0 1rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(241,250,238,0.1);
    color: var(--text-color);
    transition: all 0.3s ease;
    border: 1px solid rgba(241,250,238,0.2);
}

.footer-social a:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(42,157,143,0.4);
    border-color: var(--primary-color);
}

/* Mercari Link Styles */
.mercari-link img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.copyright {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Product Detail Page Styles */
.product-detail {
    padding: 6rem 0 4rem;
    background: linear-gradient(135deg, var(--bg-color) 0%, var(--bg-light) 50%, var(--bg-color) 100%);
    min-height: 100vh;
}

@media (max-width: 768px) {
    .product-detail {
        padding-top: 2rem;
        margin-top: 60px;
    }
    
    .product-detail .container {
        padding-top: 0;
    }
    
    .product-detail .breadcrumb {
        margin-top: 0;
        margin-bottom: 1.5rem;
        padding-top: 0;
    }
}

.breadcrumb {
    margin-bottom: 3rem;
    color: var(--gray-medium);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    position: relative;
    z-index: 1;
    font-weight: 500;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.breadcrumb a {
    color: var(--sand-beige);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 2px;
}

.breadcrumb a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

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

.breadcrumb a:hover::after {
    width: 100%;
}

.breadcrumb > span {
    color: var(--gray-light);
    font-weight: 300;
    opacity: 0.6;
}

.breadcrumb > span:last-child {
    color: var(--sand-beige);
    font-weight: 600;
    opacity: 1;
}

.product-detail-content {
    margin-top: 2rem;
}

.product-detail-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.product-gallery {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.main-image {
    margin-bottom: 1rem;
}

.main-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-glow);
    border: 1px solid rgba(0,255,136,0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.main-image img:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0,255,136,0.3);
    border-color: rgba(0,255,136,0.5);
}

.thumbnail-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}

/* モバイルでのサムネイルカルーセル */
@media (max-width: 768px) {
    .thumbnail-list {
        display: flex;
        gap: 0.75rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        margin: 0 -1rem 2rem;
        padding: 0 1rem;
        height: auto;
    }
    
    .thumbnail-list::-webkit-scrollbar {
        display: none;
    }
    
    .thumbnail {
        flex: 0 0 70px;
        width: 70px;
        height: 70px;
        min-width: 70px;
        scroll-snap-align: start;
        border-radius: 8px;
        overflow: hidden;
        aspect-ratio: 1 / 1;
    }
    
    /* 最後の要素の余白を追加してスクロール可能にする */
    .thumbnail:last-child {
        margin-right: 1rem;
    }
    
    /* メイン画像の調整 */
    .main-image {
        margin-bottom: 1.5rem;
    }
    
    .main-image img {
        max-height: 350px;
        width: 100%;
        object-fit: contain;
    }
    
    /* 商品ギャラリーセクション全体の調整 */
    .product-gallery {
        padding-bottom: 2rem;
        border-bottom: 1px solid rgba(0, 255, 136, 0.1);
        margin-bottom: 2rem;
    }
}

.thumbnail {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.5;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    filter: grayscale(50%);
    aspect-ratio: 1;
    object-fit: cover;
}

.thumbnail.active,
.thumbnail:hover {
    opacity: 1;
    border-color: var(--primary-color);
    filter: grayscale(0%);
    box-shadow: 0 0 15px rgba(0,255,136,0.4);
}

.product-info h1 {
    font-size: 3rem;
    font-weight: 900;
    color: var(--sand-beige);
    margin-bottom: 0.5rem;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    line-height: 1.2;
}

/* モバイルでの商品情報セクション調整 */
@media (max-width: 768px) {
    .product-info {
        padding: 0 1rem;
    }
    
    .product-info h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .product-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .product-description h2 {
        font-size: 1.5rem;
        margin: 2rem 0 1rem;
    }
    
    .product-description h3 {
        font-size: 1.2rem;
        margin: 1.5rem 0 1rem;
    }
    
    .product-specs {
        padding: 1.5rem;
        margin: 2rem 0;
    }
    
    .specs-table th,
    .specs-table td {
        padding: 1rem;
        font-size: 0.85rem;
    }
    
    .options-table th,
    .options-table td {
        padding: 1rem;
        font-size: 0.85rem;
    }
}

.product-subtitle {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 3rem;
    opacity: 0.8;
    letter-spacing: 0.05em;
}

.product-description h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 3rem 0 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: 'Orbitron', sans-serif;
}

.product-description h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent-color);
    margin: 2rem 0 1rem;
    letter-spacing: 0.05em;
}

.product-description p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.feature-list {
    list-style: none;
    margin: 1rem 0;
}

.feature-list li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
    line-height: 1.8;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.product-specs {
    background: rgba(38, 70, 83, 0.3);
    padding: 2.5rem;
    border-radius: 12px;
    margin: 3rem 0;
    border: 1px solid rgba(0, 255, 136, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table th,
.specs-table td {
    padding: 1.25rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid rgba(0, 255, 136, 0.1);
}

.specs-table th {
    font-weight: 700;
    color: var(--primary-color);
    width: 40%;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
    background: rgba(0, 255, 136, 0.05);
}

.specs-table td {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.specs-table tr:last-child th,
.specs-table tr:last-child td {
    border-bottom: none;
}

.product-options {
    margin: 2rem 0;
}

.options-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(38, 70, 83, 0.3);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.options-table th,
.options-table td {
    padding: 1.25rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid rgba(0, 255, 136, 0.1);
}

.options-table th {
    background: rgba(0, 255, 136, 0.15);
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.95rem;
    border-bottom: 2px solid rgba(0, 255, 136, 0.3);
}

.options-table td {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.options-table tr:hover td {
    background: rgba(0, 255, 136, 0.05);
    transition: background 0.3s ease;
}

.options-table td:last-child {
    font-weight: 600;
    color: var(--primary-color);
}

.options-table tr:last-child td,
.options-table tr:last-child th {
    border-bottom: none;
}

/* 使用上の注意 */
.product-notice {
    background: rgba(231, 111, 81, 0.1);
    border: 1px solid rgba(231, 111, 81, 0.3);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.product-notice h3 {
    color: var(--accent-color);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-notice h3::before {
    content: "⚠";
    font-size: 1.3rem;
}

.product-notice p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .product-notice {
        padding: 1rem;
        margin: 1.5rem 0;
    }
    
    .product-notice h3 {
        font-size: 1rem;
    }
    
    .product-notice p {
        font-size: 0.9rem;
    }
}

.product-gallery-section {
    margin: 4rem 0;
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-color) 100%);
    border-radius: 16px;
}

.product-gallery-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.detail-images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    padding: 0 2rem;
}

/* PC表示時の詳細画像レイアウト */
@media (min-width: 1024px) {
    .detail-images {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
        max-width: 1400px;
        margin: 2rem auto 0;
    }
}

@media (min-width: 1400px) {
    .detail-images {
        grid-template-columns: repeat(4, 1fr);
    }
}

.detail-images img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,255,136,0.1);
    cursor: pointer;
}

.detail-images img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0,255,136,0.3);
    border-color: rgba(0,255,136,0.5);
}

/* PC表示時の詳細画像レイアウト */
@media (min-width: 1024px) {
    .product-gallery-section {
        margin-top: 1rem;
    }
    
    .detail-images {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

/* 画像拡大モーダル */
.image-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease;
}

.image-modal.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.modal-content {
    max-width: 100%;
    max-height: 85vh;
    position: relative;
    animation: zoomIn 0.3s ease;
    overflow: hidden;
}

/* 画像スライダーコンテナ */
.modal-slider {
    display: flex;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    height: 100%;
    align-items: center;
}

.modal-slider.dragging {
    transition: none;
}

.modal-slide {
    flex: 0 0 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    position: relative;
}

.modal-slide img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    pointer-events: none;
}

.close-modal {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: #fff;
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1001;
}

.close-modal:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

/* モーダルコントロール */
.modal-controls {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1.5rem;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.modal-nav {
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #fff;
    font-size: 1.3rem;
    font-weight: bold;
}

.modal-nav:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

.modal-nav:active {
    transform: scale(0.95);
}

.modal-nav.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.modal-nav.disabled:hover {
    background: transparent;
    transform: scale(1);
}

/* 画像カウンター */
.modal-counter {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
    min-width: 60px;
    text-align: center;
    user-select: none;
}

/* タッチエリアヒント */
.modal-touch-hint {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-modal:hover .modal-touch-hint {
    opacity: 1;
}

.touch-area {
    width: 30%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 3rem;
    pointer-events: auto;
    cursor: pointer;
    transition: all 0.3s ease;
}

.touch-area:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* モバイル対応 */
@media (max-width: 768px) {
    .modal-content {
        max-height: 80vh;
    }
    
    .modal-controls {
        bottom: 1rem;
        padding: 0.5rem 1rem;
        gap: 0.75rem;
    }
    
    .modal-nav {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
    }
    
    .modal-counter {
        font-size: 0.85rem;
    }
    
    .modal-touch-hint {
        display: none;
    }
}

/* 画像インジケーター */
.modal-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.modal-indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
    cursor: pointer;
}

.modal-indicator-dot.active {
    background: var(--primary-color);
    transform: scale(1.3);
}

.modal-indicator-dot:hover:not(.active) {
    background: rgba(255, 255, 255, 0.7);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.cta-section {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-card) 100%);
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
    margin-top: 4rem;
    border: 1px solid rgba(0,255,136,0.2);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0,255,136,0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    z-index: 1;
}

.cta-section p {
    margin-bottom: 2rem;
    color: var(--text-color);
    position: relative;
    z-index: 1;
}

/* Instagram Feed Section */
.instagram-feed {
    padding: 4rem 0;
    background: rgba(241,250,238,0.05);
    position: relative;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    overflow: hidden;
}

.instagram-feed::before {
    content: 'INSTAGRAM';
    position: absolute;
    top: 10%;
    right: 5%;
    font-size: 8rem;
    font-weight: 900;
    color: rgba(241,250,238,0.15);
    font-family: 'Noto Sans JP', sans-serif;
    letter-spacing: 0.2em;
}

.instagram-widget-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Behold Widget Custom Styles */
behold-widget {
    width: 100%;
    margin: 2rem 0;
    display: block;
}

/* Behold Grid Customization */
behold-widget::part(grid) {
    gap: 1.5rem !important;
}

behold-widget::part(grid-item) {
    border-radius: 16px !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    border: 1px solid rgba(0,255,136,0.1) !important;
    background: var(--bg-card) !important;
}

behold-widget::part(grid-item):hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 30px rgba(0,255,136,0.3) !important;
    border-color: rgba(0,255,136,0.3) !important;
}

/* Behold Load More Button */
behold-widget::part(load-more-button) {
    background: var(--gradient-primary) !important;
    color: var(--text-dark) !important;
    border: none !important;
    padding: 12px 30px !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    transition: all 0.3s ease !important;
    margin-top: 2rem !important;
}

behold-widget::part(load-more-button):hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 30px rgba(0,255,136,0.5) !important;
}

/* Mobile First Responsive Design */
@media (max-width: 768px) {
    /* 背景テキストのモバイル対応 */
    .products::before,
    .about::before,
    .contact::before,
    .instagram-feed::before {
        font-size: 4rem;
        top: 5%;
        right: 2%;
        letter-spacing: 0.1em;
    }
    
    .instagram-widget-container {
        padding: 0 1rem;
    }
    
    body {
        font-size: 16px;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    /* Mobile Header */
    header {
        border-bottom: 1px solid rgba(0,255,136,0.2);
        z-index: 1000;
        height: 60px;
    }
    
    nav {
        padding: 1rem;
    }
    
    .logo-img {
        height: 35px;
    }
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(38, 70, 83, 0);
        backdrop-filter: blur(0px);
        -webkit-backdrop-filter: blur(0px);
        flex-direction: column;
        padding: 80px 2rem 2rem;
        box-shadow: 0 2px 20px rgba(26,53,63,0);
        z-index: 998;
        overflow-y: auto;
        justify-content: flex-start;
        align-items: stretch;
        gap: 0;
        display: flex;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease, backdrop-filter 0.3s ease, -webkit-backdrop-filter 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
        display: flex;
    }
    
    .social-links {
        display: none;
    }
    
    /* モバイルソーシャルリンク */
    .mobile-social-links {
        display: flex !important;
        justify-content: center;
        align-items: center;
        gap: 1rem;
        padding: 2rem 0 1rem;
        margin-top: auto;
        border-top: 1px solid rgba(69,123,157,0.2);
        border-bottom: none !important;
        width: 100%;
    }
    
    .mobile-social-links a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: rgba(241,250,238,0.1);
        color: var(--text-color);
        transition: all 0.3s ease;
        border: 1px solid rgba(241,250,238,0.2);
        padding: 0;
        margin: 0;
        text-decoration: none;
        flex-shrink: 0;
    }
    
    .mobile-social-links a svg {
        width: 20px;
        height: 20px;
        display: block;
        margin: 0;
        padding: 0;
    }
    
    .mobile-social-links a:hover {
        background: var(--primary-color);
        color: var(--white);
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(42,157,143,0.3);
        border-color: var(--primary-color);
    }
    
    
    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        background: rgba(38, 70, 83, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        box-shadow: 0 2px 20px rgba(26,53,63,0.8);
    }
    
    .nav-menu > li:not(.mobile-social-links) {
        width: 100%;
        text-align: left;
        border-bottom: 1px solid rgba(69,123,157,0.2);
    }
    
    .nav-menu > li:last-child {
        border-bottom: none;
    }
    
    .nav-menu > li:not(.mobile-social-links) > a {
        display: block;
        padding: 1.5rem 2rem;
        font-size: 1.1rem;
        color: var(--text-color);
        text-decoration: none;
    }
    
    .nav-menu > li:not(.mobile-social-links) > a:hover,
    .nav-menu > li:not(.mobile-social-links) > a:active {
        background-color: rgba(42,157,143,0.1);
        color: var(--primary-color);
    }
    
    /* モバイルサブメニュー */
    .has-submenu {
        border-bottom: none !important;
    }
    
    .has-submenu > a {
        position: relative;
        color: var(--text-color);
        opacity: 0.6;
        font-size: 0.9rem;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        pointer-events: none;
        padding: 1rem 2rem !important;
    }
    
    .submenu {
        display: block;
        list-style: none;
        padding: 0;
        margin: 0;
        background: transparent;
    }
    
    .submenu li {
        border-bottom: 1px solid rgba(69,123,157,0.1);
        background: transparent;
        width: 100%;
        text-align: left;
    }
    
    .submenu li:last-child {
        border-bottom: 1px solid rgba(69,123,157,0.2);
    }
    
    .submenu li a {
        padding: 1.2rem 2rem 1.2rem 3rem;
        font-size: 1rem;
        background: transparent;
        text-align: left;
        display: block;
        position: relative;
        color: var(--text-color);
        text-decoration: none;
    }
    
    .submenu li a::before {
        content: '•';
        position: absolute;
        left: 2rem;
        color: var(--primary-color);
        opacity: 0.6;
    }
    
    .submenu li a:hover {
        background-color: rgba(0,255,136,0.05);
        color: var(--primary-color);
    }
    
    .mobile-menu-toggle {
        display: flex;
        z-index: 1001;
        position: relative;
    }
    
    
    /* Hero Mobile */
    .hero {
        padding: 4rem 1rem;
        min-height: 100vh;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-logo {
        max-width: 280px;
        margin-bottom: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
        
    .cta-button {
        padding: 16px 40px;
        font-size: 0.95rem;
        width: 100%;
        max-width: 300px;
    }
    
    /* Products Mobile */
    .products {
        padding: 4rem 0;
    }
    
    .section-title {
        font-size: 2.2rem;
        margin-bottom: 3rem;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    
    .product-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    a.product-card {
        margin: 0;
        border-radius: 16px;
    }
    
    .product-card .image-container {
        padding-bottom: 100%; /* 正方形を維持 */
        background: #f8f9fa;
    }
    
    .product-card img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        padding: 1rem;
    }
    
    .product-card h3 {
        font-size: 1.2rem;
        padding: 1.2rem 1.2rem 0.5rem;
    }
    
    .product-card p {
        font-size: 0.9rem;
        padding: 0 1.2rem;
    }
    
    .product-link {
        margin: 1.2rem;
        font-size: 0.85rem;
    }
    
    /* About & Contact Mobile */
    .about {
        padding: 4rem 0;
    }
    
    .about-text p {
        font-size: 1rem;
        line-height: 1.8;
        margin-bottom: 1.5rem;
        padding: 0 1rem;
    }
    
    .contact {
        padding: 4rem 0;
    }
    
    .contact-info {
        margin: 0 1rem;
        padding: 2rem 1.5rem;
    }
    
    /* Instagram Mobile */
    .instagram-setup-guide ol li {
        font-size: 0.95rem;
    }
    
    .placeholder-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    /* 背景テキストの小画面対応 */
    .products::before,
    .about::before,
    .contact::before,
    .instagram-feed::before {
        font-size: 2.5rem;
        top: 3%;
        right: 1%;
        letter-spacing: 0.05em;
    }
    
    .logo-img {
        height: 30px;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
    }
    
    .mercari-link img {
        width: 28px;
        height: 28px;
    }
    
    
    /* Footer Mobile */
    footer {
        padding: 3rem 0;
    }
    
    .footer-logo {
        font-size: 2rem;
    }
    
    .footer-nav {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .footer-nav a {
        font-size: 0.85rem;
    }
    
    /* Product Detail Mobile */
    .product-detail {
        padding: 2rem 0 3rem;
    }
    
    .product-detail-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-gallery {
        position: static;
    }
    
    .breadcrumb {
        font-size: 0.75rem;
        padding: 0 1rem;
        margin-bottom: 1.5rem;
        line-height: 1.4;
        word-break: break-word;
    }
    
    .product-detail-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .product-gallery {
        position: static;
        padding: 0 1rem;
    }
    
    .main-image {
        margin-bottom: 0.75rem;
    }
    
    .main-image img {
        border-radius: 16px;
        max-height: 70vh;
        object-fit: contain;
        background: #f8f8f8;
    }
    
    .thumbnail-list {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.5rem;
        margin-top: 0.75rem;
    }
    
    .thumbnail {
        border-radius: 8px;
        cursor: pointer;
    }
    
    .product-info {
        padding: 0 1rem;
    }
    
    .product-info h1 {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 0.5rem;
    }
    
    .product-subtitle {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }
    
    .product-description h2 {
        font-size: 1.4rem;
        margin: 2.5rem 0 1rem;
    }
    
    .product-description h3 {
        font-size: 1.15rem;
        margin: 1.5rem 0 0.75rem;
    }
    
    .product-description p {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    .feature-list li {
        font-size: 0.9rem;
        padding: 0.4rem 0 0.4rem 1.2rem;
        line-height: 1.6;
    }
    
    .product-specs,
    .product-options {
        margin: 2rem 0;
        padding: 1.25rem;
        border-radius: 16px;
    }
    
    .product-specs h2,
    .product-options h2 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    /* モバイル用テーブルレイアウト */
    .specs-table,
    .options-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .specs-table th,
    .specs-table td {
        padding: 0.75rem 0.5rem;
        font-size: 0.85rem;
        min-width: 100px;
    }
    
    .specs-table th {
        font-size: 0.8rem;
        white-space: nowrap;
    }
    
    .options-table th,
    .options-table td {
        padding: 0.75rem 0.5rem;
        font-size: 0.85rem;
    }
    
    .options-table th {
        font-size: 0.8rem;
    }
    
    /* オプションテーブルの価格列を右寄せ */
    .options-table td:last-child {
        text-align: right;
        white-space: nowrap;
    }
    
    .product-gallery-section {
        margin: 2rem 0;
    }
    
    .product-gallery-section h2 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
        padding: 0 1rem;
    }
    
    .detail-images {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 0 1rem;
    }
    
    .detail-images img {
        border-radius: 12px;
        cursor: pointer;
    }
    
    .cta-section {
        margin: 2.5rem 1rem;
        padding: 2rem 1.5rem;
        border-radius: 16px;
    }
    
    .cta-section h2 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }
    
    .cta-section p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    /* CTAボタンのモバイル最適化 */
    .cta-section .cta-button {
        width: 100%;
        max-width: 280px;
        padding: 16px 24px;
        font-size: 0.95rem;
        touch-action: manipulation;
    }
}

/* Extra Small Devices */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .product-card {
        margin: 0 0.5rem;
    }
    
    /* Product Detail Extra Small */
    .product-info h1 {
        font-size: 1.5rem;
    }
    
    .product-subtitle {
        font-size: 0.9rem;
    }
    
    .product-description h2 {
        font-size: 1.25rem;
    }
    
    .product-description h3 {
        font-size: 1.1rem;
    }
    
    .thumbnail-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.4rem;
    }
    
    .product-specs,
    .product-options {
        padding: 1rem;
    }
    
    .cta-section {
        padding: 1.5rem 1rem;
    }
    
    .cta-section h2 {
        font-size: 1.25rem;
    }
}


/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .product-card:hover {
        transform: none;
    }
    
    .product-card:active {
        transform: scale(0.98);
    }
    
    .cta-button:hover {
        transform: none;
    }
    
    .cta-button:active {
        transform: scale(0.95);
    }
    
    .product-link:active {
        color: var(--accent-color);
    }
}