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

.work-detail-container {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Hiragino Sans', 'Noto Sans CJK JP', sans-serif;
    background: linear-gradient(135deg, #f5fffe 0%, #e8faf8 100%);
    min-height: 100vh;
}

/* ヒーローセクション */
.hero-section {
    background: #fff;
    box-shadow: 0 2px 20px rgba(142, 238, 231, 0.08);
    margin-bottom: 40px;
    padding: 40px 0;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 60px;
    align-items: start;
}

.hero-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #f8f9fa;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 400px;
}

.hero-image img {
    width: 100%;
    height: 400px;
    display: block;
    object-fit: cover;
}

.status-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    backdrop-filter: blur(10px);
}

.status-badge.new {
    background: linear-gradient(135deg, #ff6b6b, #ff8c42);
    color: #fff;
}

.status-badge.sold-out {
    background: rgba(30, 30, 30, 0.9);
    color: #fff;
}

.hero-content {
    padding: 20px 0;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #5fd4cd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #3db5ad;
}

.breadcrumb .separator {
    color: #cbd5e0;
}

.breadcrumb .current {
    color: #718096;
}

.work-title {
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: #2d3748;
    line-height: 1.4;
    margin-bottom: 20px;
    position: relative;
    animation: fadeInDown 0.8s ease-out;
}

.work-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, #8eeee7 0%, #5fd4cd 100%);
    margin: 15px 0 0;
    border-radius: 2px;
    animation: expandWidth 0.8s ease-out 0.3s both;
}

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

@keyframes expandWidth {
    from {
        width: 0;
    }
    to {
        width: 80px;
    }
}

.work-type-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, #8eeee7, #5fd4cd);
    color: #fff;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* コンテンツラッパー */
.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 80px;
}

/* セクションタイトル共通 */
.section-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #8eeee7, #5fd4cd);
    border-radius: 2px;
}

.section-title.center {
    text-align: center;
}

.section-title.center::after {
    left: 50%;
    transform: translateX(-50%);
}

/* 作品情報カード */
.info-section {
    margin-bottom: 60px;
}

.info-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(142, 238, 231, 0.06);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.info-label {
    font-size: 0.9rem;
    color: #718096;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.info-value {
    font-size: 1.2rem;
    color: #2d3748;
    font-weight: 600;
}

.info-value.price {
    font-size: 1.5rem;
    background: linear-gradient(135deg, #8eeee7, #5fd4cd);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.info-value.status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 1rem;
    width: fit-content;
}

.info-value.status.available {
    background: rgba(142, 238, 231, 0.1);
    color: #5fd4cd;
}

.info-value.status.sold-out {
    background: rgba(203, 213, 224, 0.1);
    color: #718096;
}

.info-value.status.limited {
    background: rgba(255, 193, 7, 0.1);
    color: #f59e0b;
}

/* 購入エリア */
.purchase-area {
    padding-top: 30px;
    border-top: 1px solid rgba(142, 238, 231, 0.2);
    text-align: center;
}

.purchase-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 40px;
    background: linear-gradient(135deg, #8eeee7, #5fd4cd);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(95, 212, 205, 0.3);
}

.purchase-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(95, 212, 205, 0.4);
}

.btn-icon {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.purchase-btn:hover .btn-icon {
    transform: translateX(4px);
}

.purchase-note {
    margin-top: 15px;
    color: #718096;
    font-size: 0.9rem;
}

/* 詳細説明セクション */
.description-section {
    margin-bottom: 60px;
}

.description-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(142, 238, 231, 0.06);
}

.description-content {
    line-height: 1.8;
    color: #4a5568;
    font-size: 1.05rem;
}

.description-content p {
    margin-bottom: 1.5em;
}

/* 曲目リスト */
.tracklist-section {
    margin-bottom: 60px;
}

.tracklist-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(142, 238, 231, 0.06);
}

.track-list {
    list-style: none;
    padding: 0;
}

.track-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border-bottom: 1px solid rgba(142, 238, 231, 0.1);
    transition: background-color 0.3s ease;
}

.track-item:hover {
    background: rgba(142, 238, 231, 0.03);
}

.track-item:last-child {
    border-bottom: none;
}

.track-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(142, 238, 231, 0.2), rgba(95, 212, 205, 0.2));
    color: #5fd4cd;
    border-radius: 50%;
    font-weight: 600;
    font-size: 0.9rem;
}

.track-name {
    flex: 1;
    color: #2d3748;
    font-size: 1.05rem;
}

/* 関連作品セクション */
.related-section {
    margin-top: 80px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.related-card {
    display: block;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0, 1);
    animation: cardFadeIn 0.6s ease-out both;
    animation-delay: calc(var(--card-index, 0) * 0.05s);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.related-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 40%, rgba(142, 238, 231, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.related-card:hover::before {
    opacity: 1;
}

.related-card:hover {
    transform: translateY(-8px);
    z-index: 10;
    box-shadow: 
        0 20px 40px rgba(142, 238, 231, 0.15),
        0 10px 20px rgba(0, 0, 0, 0.05);
}

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

.related-image {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: #f8f9fa;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s cubic-bezier(0.4, 0, 0, 1);
    filter: brightness(1) contrast(1);
}

.related-card:hover .related-image img {
    transform: scale(1.05);
    filter: brightness(1.05) contrast(1.05);
}

.related-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
    z-index: 3;
    background: rgba(30, 30, 30, 0.9);
    color: #fff;
}

.related-badge.new {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.9), rgba(255, 140, 66, 0.9));
    color: #fff;
}

.related-info {
    padding: 20px;
    position: relative;
    z-index: 2;
    background: #ffffff;
}

.related-title {
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    margin-bottom: 8px;
    color: #2c3e50;
    line-height: 1.3;
    transition: all 0.3s ease;
}

.related-card:hover .related-title {
    color: #8eeee7;
}

.related-date {
    color: #90a4ae;
    font-size: 0.9rem;
    margin-bottom: 8px;
    font-weight: 400;
}

.related-price {
    color: #8eeee7;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    display: inline-block;
}

.related-type-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(142, 238, 231, 0.1);
    border: 1px solid #8eeee7;
    border-radius: 20px;
    color: #5fd4cd;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.related-card:hover .related-type-badge {
    background: rgba(142, 238, 231, 0.2);
    border-color: #8eeee7;
}

/* レスポンシブデザイン */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 20px;
    }
    
    .work-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .hero-container {
        padding: 30px 20px;
    }
    
    .work-title {
        font-size: 1.8rem;
    }
    
    .work-title::after {
        width: 80px;
        margin: 20px 0 0;
    }
    
    @keyframes expandWidth {
        from { width: 0; }
        to { width: 80px; }
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .info-card,
    .description-card,
    .tracklist-card {
        padding: 30px 20px;
    }
    
    .related-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .related-image {
        height: 280px;
    }
    
    .related-title {
        font-size: 1.2rem;
    }
    
    .related-price {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .hero-container {
        padding: 20px 15px;
    }
    
    .work-title {
        font-size: 1.5rem;
    }
    
    .work-title::after {
        width: 60px;
        height: 2px;
        margin: 15px 0 0;
    }
    
    @keyframes expandWidth {
        from { width: 0; }
        to { width: 60px; }
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .purchase-btn {
        width: 100%;
        padding: 14px 30px;
        font-size: 1rem;
    }
    
    .track-item {
        padding: 15px 10px;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .related-card {
        border-radius: 16px;
    }
    
    .related-image {
        height: 250px;
    }
    
    .related-info {
        padding: 18px;
    }
    
    .related-title {
        font-size: 1.15rem;
    }
}

/* スムーズスクロール */
html {
    scroll-behavior: smooth;
}

/* フォーカススタイル */
a:focus,
button:focus {
    outline: 2px solid #5fd4cd;
    outline-offset: 2px;
}

