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

body {
    font-family: 'Noto Serif JP', serif;
    font-weight: 300;
    line-height: 1.7;
    letter-spacing: 0.03em;
    color: #1A1A1A;
    background-color: #ffffff;
    animation: fadeIn 1s ease-in-out;
}

/* Keyframe animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.container {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    padding: 40px 0;
    text-align: center;
}

#logo {
    font-family: Arial, sans-serif; /* 幾何学的なサンセリフ */
    font-size: 2.5em;
    font-weight: 400;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}


nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
}

nav a {
    position: relative;
    text-decoration: none;
    color: #1A1A1A;
    font-weight: 300;
    transition: color 0.3s ease;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #333333;
    transition: width 0.3s ease;
}

nav a:hover {
    color: #333333;
}

nav a:hover::after {
    width: 100%;
}

main section {
    margin: 120px 0;
    text-align: center;
}

.hero h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.release-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.release, article {
    margin: 40px 0;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    background-color: #fafafa;
    transition: box-shadow 0.3s ease;
}

.release:hover, article:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

article {
    border-left: 4px solid #e2e8f0;
    padding-left: 30px;
}

article time {
    font-size: 0.9em;
    color: #666;
    margin-top: 10px;
    display: block;
}

footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid #e2e8f0;
}

a {
    position: relative;
    text-decoration: none;
    color: #1A1A1A;
    transition: color 0.3s ease;
}

a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #333333;
    transition: width 0.3s ease;
}

a:hover {
    color: #333333;
}

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

.album-jacket {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease;
}

.album-jacket:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.album-detail {
    margin: 120px 0;
    text-align: center;
}

.album-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}

.album-jacket-large {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease;
}

.album-jacket-large:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.album-info {
    max-width: 600px;
    text-align: left;
}

.album-info h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.album-info .artist, .album-info .release-date, .album-info .genre {
    font-weight: 400;
    margin-bottom: 10px;
}

.album-info .description {
    line-height: 1.8;
    margin-bottom: 20px;
}

.tracklist, .streaming-links, .pricing, .related, .download-links, .player {
    text-align: left;
    max-width: 400px;
    margin: 40px auto;
}

.tracklist {
    text-align: center;
    max-width: 400px;
    margin: 40px auto;
}

.tracklist h3 {
    text-align: center;
}

.tracklist ol {
    text-align: left;
    display: inline-block;
}

.streaming-links, .download-links {
    text-align: center;
    max-width: 600px;
    margin: 40px auto;
}

.streaming-links ul, .pricing, .related, .download-links ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.streaming-links li, .download-links li {
    margin-bottom: 0;
}

.streaming-links a, .download-links a {
    color: #1A1A1A;
    text-decoration: none;
    transition: color 0.3s ease;
}

.streaming-links a:hover, .download-links a:hover {
    color: #333333;
}

.player iframe {
    width: 100%;
    max-width: 560px;
    height: 315px;
    border: none;
    border-radius: 8px;
}

.play-btn {
    background-color: transparent;
    color: #1A1A1A;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    margin-left: 10px;
    transition: color 0.3s ease;
}

.play-btn:hover {
    background-color: transparent;
    color: #333333;
}

.url-input {
    width: 200px;
    margin-left: 10px;
    padding: 5px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    font-size: 0.9em;
    transition: border-color 0.3s ease;
}

.url-input:focus {
    border-color: #333333;
}

.track-link {
    color: #1A1A1A;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

.track-link:hover {
    color: #333333;
}

.album-title h2 {
    text-align: center;
    margin-bottom: 20px;
}

.album-details {
    max-width: 400px;
    margin: 0 auto;
    text-align: center;
}

.album-description {
    max-width: 400px;
    margin: 20px auto;
    line-height: 1.8;
    text-align: center;
}

.related {
    text-align: center;
    max-width: 400px;
    margin: 40px auto;
}

.album-info .artist a, .album-info .genre a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

.album-info .artist a i, .album-info .genre a i {
    font-size: 0.8em;
    transition: transform 0.3s ease;
}

.album-info .artist a:hover i, .album-info .genre a:hover i {
    transform: translateX(3px);
}

.album-info .artist a i, .album-info .genre a i {
    font-size: 0.8em;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    #logo {
        font-size: 2em;
    }

    nav ul {
        flex-direction: row;
        justify-content: center;
        gap: 15px;
    }

    main section {
        margin: 80px 0;
    }

    .release-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .album-header {
        flex-direction: column;
        gap: 20px;
    }

    .album-jacket-large {
        max-width: 100%;
    }

    .album-info {
        max-width: 100%;
        text-align: center;
    }

    .album-info h2 {
        font-size: 2em;
    }

    .tracklist, .streaming-links, .download-links, .related {
        max-width: 100%;
    }

    .streaming-links ul, .download-links ul {
        flex-direction: column;
        gap: 10px;
    }

    .player iframe {
        max-width: 100%;
        height: 250px;
    }
    
    #player-container iframe {
        max-width: 100%;
        height: 250px;
    }
}

@media (max-width: 480px) {
    #logo {
        font-size: 1.5em;
    }

    nav ul {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    main section {
        margin: 60px 0;
    }

    .album-info h2 {
        font-size: 1.8em;
    }

    .play-btn {
        font-size: 12px;
        padding: 3px 8px;
    }
    
    .player iframe {
        height: 200px;
    }
    
    #player-container iframe {
        height: 200px;
    }
}
