/* リセットとベーススタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Hiragino Kaku Gothic ProN', 'メイリオ', Meiryo, sans-serif;
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
}

/* メインバナーセクション */
.hero-banner {
    width: 100%;
    height: 460px;
    position: relative;
    overflow: hidden;
}

.hero-carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.2));
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    padding: 0 50px;
}

.hero-label {
    font-size: 0.95rem;
    letter-spacing: 0.4em;
    color: #b7f5e7;
    text-transform: uppercase;
}

.hero-text {
    font-size: 3.6rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.35;
    text-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}

.hero-subtext {
    font-size: 1.15rem;
    color: #f0f7f6;
    max-width: 620px;
}

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.65);
    color: #0a6b57;
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
    z-index: 3;
}

.hero-arrow:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-50%) scale(1.05);
}

.hero-arrow.prev { left: 24px; }
.hero-arrow.next { right: 24px; }

/* 人気商品TOP3セクション */
.popular-products {
    max-width: 1200px;
    margin: 60px auto;
    padding: 40px 30px;
    border: 3px solid #e0e0e0;
    border-radius: 20px;
    background-color: #fafafa;
}

.section-title {
    font-size: 2rem;
    font-weight: bold;
    color: #2c7d6e;
    margin-bottom: 40px;
    padding-left: 10px;
}

.products-container {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.product-card {
    width: 280px;
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.product-image-wrapper {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.product-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-divider {
    width: 80%;
    height: 2px;
    background-color: #333;
    margin: 0 auto 15px;
}

.product-name {
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-price {
    font-size: 1.8rem;
    font-weight: bold;
    color: #2c7d6e;
    background-color: #d4f4dd;
    display: inline-block;
    padding: 5px 20px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.buy-button {
    width: 80%;
    padding: 12px 0;
    background-color: #5eb3d6;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.buy-button:hover {
    background-color: #4a9bbf;
}

/* カテゴリーセクション */
.categories {
    width: 100%;
    margin-top: 80px;
    margin-bottom: 0;
}

.categories-wrapper {
    width: 100%;
    background-color: #6b6b6b;
    padding: 60px 0;
    min-height: 280px;
}

.categories-overlay {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 0 50px;
    min-height: 280px;
}

.categories-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 20px;
}

.category-link {
    font-size: 1.6rem;
    font-weight: bold;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s, transform 0.3s;
    display: inline-block;
}

.category-link:hover {
    color: #5eb3d6;
    transform: translateX(10px);
}

.categories-image {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.dumbbell-image {
    width: auto;
    height: 280px;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
}

/* レスポンシブデザイン */
@media (max-width: 1024px) {
    .hero-banner {
        height: 420px;
    }
    .hero-text {
        font-size: 2.8rem;
    }
    .products-container {
        gap: 20px;
    }
    .product-card {
        width: 260px;
    }
}

@media (max-width: 768px) {
    .hero-banner {
        height: 360px;
    }
    .hero-content {
        padding: 0 30px;
    }
    .hero-text {
        font-size: 2.2rem;
    }
    .hero-subtext {
        font-size: 1rem;
    }
    .hero-arrow {
        width: 38px;
        height: 38px;
        font-size: 22px;
    }
    .products-container {
        flex-direction: column;
        align-items: center;
    }
    .product-card {
        width: 100%;
        max-width: 320px;
    }
    .categories-overlay {
        flex-direction: column;
        gap: 40px;
        padding: 0 30px;
        min-height: auto;
    }
    .categories-list {
        align-items: center;
        padding-top: 0;
    }
    .categories-wrapper {
        min-height: auto;
    }
    .dumbbell-image {
        width: 250px;
        height: auto;
    }
}

@media (max-width: 480px) {
    .hero-text {
        font-size: 1.8rem;
    }
    .hero-subtext {
        font-size: 0.95rem;
    }
    .section-title {
        font-size: 1.6rem;
    }
    .category-link {
        font-size: 1.6rem;
    }
}
