/* ===== ジャンルセクション ===== */
.cc-genre {
    width: 100%;
    margin: 0;
    padding: 0;
}

/* タイトル画像 */
.cc-genre-title {
    width: 100%;
    line-height: 0;
}
.cc-genre-title img {
    width: 100%;
    height: auto;
    display: block;
}
.cc-genre-title-sp {
    display: none;
}

/* グリッド：PC 6列 */
.cc-genre-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    padding: 24px 16px;
}

/* カード */
.cc-genre-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    border-radius: 16px;
    padding: 12px;
    text-decoration: none;
    color: #333;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}
a.cc-genre-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.cc-genre-card-image {
    width: 100%;
    line-height: 0;
}
.cc-genre-card-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}
.cc-genre-card-desc {
    margin: 12px 0 8px;
    font-size: 13px;
    line-height: 1.6;
    text-align: center;
    color: #444;
}
.cc-genre-card-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    margin-bottom: 12px;
}
.cc-genre-tag {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #f5f5f5;
    color: #666;
}
.cc-genre-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: bold;
    color: #fff;
    border-radius: 999px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* カラーテーマ別 */
.cc-genre-card--pink   .cc-genre-btn { background: linear-gradient(135deg, #ff6b9d, #ff8cb3); }
.cc-genre-card--orange .cc-genre-btn { background: linear-gradient(135deg, #ff9a44, #ffb673); }
.cc-genre-card--green  .cc-genre-btn { background: linear-gradient(135deg, #5dca6c, #82dd92); }
.cc-genre-card--blue   .cc-genre-btn { background: linear-gradient(135deg, #4d9bff, #7eb6ff); }
.cc-genre-card--purple .cc-genre-btn { background: linear-gradient(135deg, #a06bff, #b88cff); }
.cc-genre-card--yellow .cc-genre-btn { background: linear-gradient(135deg, #ffc940, #ffd970); }

.cc-genre-card--pink   .cc-genre-tag { background: #ffe4ee; color: #d63d77; }
.cc-genre-card--orange .cc-genre-tag { background: #fff0dd; color: #c9701d; }
.cc-genre-card--green  .cc-genre-tag { background: #e0f7e3; color: #2d8a3d; }
.cc-genre-card--blue   .cc-genre-tag { background: #e0eeff; color: #2870d6; }
.cc-genre-card--purple .cc-genre-tag { background: #f0e4ff; color: #7340c4; }
.cc-genre-card--yellow .cc-genre-tag { background: #fff5d4; color: #b58400; }

/* ===== Tipsセクション（迷っているあなたへ） ===== */
.cc-genre-tips {
    width: 100%;
    padding: 32px 16px 40px;
    background: linear-gradient(180deg, rgba(255, 240, 248, 0.4), rgba(245, 235, 255, 0.4));
    text-align: center;
}

/* タイトルバー */
.cc-genre-tips-title {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0 auto 24px;
    padding: 10px 32px;
    background: linear-gradient(135deg, #ff6b9d, #ff8cb3);
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(255, 107, 157, 0.3);
}
.cc-genre-tips-spark {
    font-size: 14px;
}
.cc-genre-tips-titletext {
    letter-spacing: 0.05em;
}

/* 4カードグリッド */
.cc-genre-tips-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
}

.cc-genre-tip {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #fff;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.cc-genre-tip-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    line-height: 0;
}
.cc-genre-tip-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.cc-genre-tip-body {
    flex: 1;
    min-width: 0;
}
.cc-genre-tip-title {
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: bold;
    color: #4d9bff;
    line-height: 1.4;
}
.cc-genre-tip-desc {
    margin: 0;
    font-size: 12px;
    line-height: 1.6;
    color: #555;
}

/* CTA画像 */
.cc-genre-cta {
    width: 100%;
    line-height: 0;
}
.cc-genre-cta img {
    width: 100%;
    height: auto;
    display: block;
}
.cc-genre-cta-link {
    display: block;
    line-height: 0;
}
.cc-genre-cta-sp {
    display: none;
}

/* ===== SP（768px以下） ===== */
@media (max-width: 768px) {
    .cc-genre-title-pc { display: none; }
    .cc-genre-title-sp { display: block; }

    /* ジャンル6カード：2列 */
    .cc-genre-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
        padding: 0;
    }
    .cc-genre-card {
        border-radius: 0;
        box-shadow: none;
        border: 1px solid #f0f0f0;
        padding: 12px 8px;
    }
    a.cc-genre-card:hover {
        transform: none;
    }
    .cc-genre-card-desc {
        font-size: 12px;
    }
    .cc-genre-tag {
        font-size: 10px;
        padding: 2px 6px;
    }
    .cc-genre-btn {
        font-size: 12px;
        padding: 6px 14px;
    }

    /* Tips：1列縦並び */
    .cc-genre-tips {
        padding: 24px 16px 32px;
    }
    .cc-genre-tips-title {
        font-size: 14px;
        padding: 8px 20px;
        margin-bottom: 20px;
    }
    .cc-genre-tips-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .cc-genre-tip {
        padding: 14px;
    }
    .cc-genre-tip-icon {
        width: 48px;
        height: 48px;
    }
    .cc-genre-tip-title {
        font-size: 14px;
    }
    .cc-genre-tip-desc {
        font-size: 12px;
    }

    /* CTA画像SP切替 */
    .cc-genre-cta-pc { display: none; }
    .cc-genre-cta-sp { display: block; }
}