/*
Theme Name: Twenty Twenty-Three Child
Template: twentytwentythree
Version: 1.0
Description: Twenty Twenty-Threeの子テーマ
Author: あなたの名前
*/

/* ========================================
   カスタムヘッダー
======================================== */
.custom-site-header {
    background: white !important;
    border-bottom: 2px solid #ffa500 !important;
    padding: 1rem 0 !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
}

.header-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 1rem !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.header-logo {
    flex-shrink: 0 !important;
}

.header-logo a {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: #2a2a2a !important;
    text-decoration: none !important;
    transition: color 0.3s !important;
}

.header-logo a:hover {
    color: #ffa500 !important;
}

.header-logo img {
    max-height: 60px !important;
    width: auto !important;
    display: block !important;
}

.header-navigation {
    display: flex !important;
}

.header-menu,
.header-navigation ul {
    display: flex !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 2rem !important;
    flex-direction: row !important;
}

.header-menu li,
.header-navigation ul li {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.header-menu li::before,
.header-navigation ul li::before {
    content: none !important;
    display: none !important;
}

.header-menu a,
.header-navigation ul a {
    color: #2a2a2a !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    transition: color 0.3s !important;
    padding: 0.5rem 0 !important;
    display: block !important;
    border: none !important;
}

.header-menu a:hover,
.header-navigation ul a:hover {
    color: #ffa500 !important;
}

.header-menu .current-menu-item > a,
.header-menu .current_page_item > a,
.header-navigation ul .current-menu-item > a,
.header-navigation ul .current_page_item > a {
    color: #ffa500 !important;
    border-bottom: 2px solid #ffa500 !important;
}

.header-menu .sub-menu,
.header-navigation ul .sub-menu {
    display: none !important;
}

/* ========================================
   楽曲一覧ページ
======================================== */
.song-list-wrapper {
    min-height: 100vh;
    background: #fff9f0;
    padding: 2rem 1rem;
}

.song-list-container {
    max-width: 1200px;
    margin: 0 auto;
}

.song-list-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2a2a2a;
    margin: 0 0 0.5rem 0;
}

.song-list-subtitle {
    font-size: 1rem;
    color: #666666;
    margin: 0 0 2rem 0;
    letter-spacing: 0.1em;
}

.song-list-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.song-card {
    background: white;
    border: 2px solid #ffa500;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.song-card:hover {
    box-shadow: 0 10px 25px rgba(255, 165, 0, 0.3);
    transform: translateY(-2px);
    border-color: #ff9500;
}

.song-card-content {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    align-items: center;
}

.song-thumbnail {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
}

.song-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.song-thumbnail-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ffa500 0%, #ffb700 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.music-icon {
    font-size: 2.5rem;
    opacity: 0.9;
    filter: brightness(0.3);
}

.song-info {
    flex: 1;
    min-width: 0;
}

.song-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 0.3rem 0;
    line-height: 1.3;
}

.song-title a {
    color: #2a2a2a;
    text-decoration: none;
    transition: color 0.2s;
}

.song-title a:hover {
    color: #ff9500;
}

.song-author {
    font-size: 0.85rem;
    color: #666666;
    margin: 0 0 0.5rem 0;
    font-weight: 500;
}

.song-description {
    font-size: 0.85rem;
    color: #555555;
    line-height: 1.5;
    margin: 0 0 0.5rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.song-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: #666666;
    margin-bottom: 0.5rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.icon {
    font-size: 1rem;
    color: #ffa500;
}

.song-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.tag {
    font-size: 0.8rem;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-weight: 500;
    transition: all 0.2s;
    border: 1px solid #2a2a2a;
    background: white;
    color: #2a2a2a;
    text-decoration: none;
    display: inline-block;
}

.tag:hover {
    transform: scale(1.05);
    background: #ffa500;
    color: white;
    border-color: #ffa500;
}

.song-download {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.dl-button {
    background: white;
    color: #2a2a2a;
    padding: 0;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0;
    text-decoration: none;
    transition: all 0.3s;
    border: 2px solid #ffa500;
    cursor: pointer;
    overflow: hidden;
}

.dl-button:hover {
    border-color: #ff9500;
    box-shadow: 0 4px 12px rgba(255, 165, 0, 0.3);
}

.dl-icon-box {
    background: #ffa500;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.3s;
}

.dl-button:hover .dl-icon-box {
    background: #ff9500;
}

.dl-icon-box svg {
    width: 24px;
    height: 24px;
}

.dl-text {
    padding: 0 1rem;
    white-space: nowrap;
}

.song-date {
    padding: 0 1rem 0.75rem 1rem;
    text-align: right;
}

.song-date time {
    font-size: 0.75rem;
    color: #999999;
}

/* ========================================
   楽曲個別ページ
======================================== */
.song-single-wrapper {
    min-height: 100vh;
    background: #FFFFFF;
    padding: 2rem 1rem;
}

.song-single-container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
}

.song-single-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.song-single-left {
    display: flex;
    flex-direction: column;
}

.song-video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.song-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.song-single-thumbnail {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.song-single-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.song-single-thumbnail-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #ffa500 0%, #ffb700 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.music-icon-large {
    font-size: 6rem;
    opacity: 0.9;
    filter: brightness(0.3);
}

.song-single-right {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.song-single-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2a2a2a;
    margin: 0 0 1rem 0;
}

.song-info-row {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.song-info-row:last-child {
    border-bottom: none;
}

.info-label {
    min-width: 90px;
    font-weight: 700;
    color: #2a2a2a;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.info-content {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.duration-text {
    font-size: 1rem;
    color: #2a2a2a;
    font-weight: 500;
}

.song-single-download {
    margin-top: 1rem;
    padding-top: 1.5rem;
}

.dl-button-large {
    background: white;
    color: #2a2a2a;
    padding: 0;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0;
    text-decoration: none;
    transition: all 0.3s;
    border: 3px solid #ffa500;
    cursor: pointer;
    overflow: hidden;
    width: 100%;
}

.dl-button-large:hover {
    border-color: #ff9500;
    box-shadow: 0 6px 16px rgba(255, 165, 0, 0.4);
    transform: translateY(-2px);
}

.dl-icon-box-large {
    background: #ffa500;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.3s;
}

.dl-button-large:hover .dl-icon-box-large {
    background: #ff9500;
}

.dl-text-large {
    padding: 0 1.5rem;
    white-space: nowrap;
    flex: 1;
    text-align: center;
}

.song-single-description {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #f0f0f0;
}

.description-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2a2a2a;
    margin: 0 0 1rem 0;
}

.song-single-content {
    font-size: 1rem;
    line-height: 1.8;
    color: #333333;
}

.song-single-date {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
    font-size: 0.9rem;
    color: #999999;
}

.back-to-list {
    max-width: 900px;
    margin: 2rem auto 0;
    text-align: center;
}

.back-button {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: white;
    color: #2a2a2a;
    border: 2px solid #ffa500;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.back-button:hover {
    background: #ffa500;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 165, 0, 0.3);
}

/* ========================================
   レスポンシブ
======================================== */
@media (max-width: 968px) {
    .song-single-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column !important;
        gap: 1rem !important;
    }
    
    .header-menu,
    .header-navigation ul {
        gap: 1rem !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
    }
    
    .song-list-wrapper {
        padding: 1rem 0.5rem;
    }
    
    .song-card-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .song-thumbnail {
        width: 100%;
        height: 200px;
    }
    
    .song-download {
        width: 100%;
    }
    
    .dl-button {
        width: 100%;
        justify-content: center;
    }
    
    .song-single-wrapper {
        padding: 1rem 0.5rem;
    }
    
    .song-single-container {
        padding: 1.5rem;
    }
    
    .song-info-row {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .header-menu,
    .header-navigation ul {
        flex-direction: column !important;
        gap: 0.5rem !important;
        text-align: center !important;
    }
}
/* 音楽プレイヤー */
.audio-player-container {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border: 2px solid #ffa500;
    border-radius: 12px;
}

#global-audio-player {
    width: 100%;
    max-width: 800px;
    margin-bottom: 1rem;
}

#now-playing {
    font-size: 0.9rem;
    color: #666;
    font-weight: 600;
}

.play-button {
    background: #ffa500;
    color: white;
    border: none;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.play-button:hover {
    background: #ff9500;
    transform: scale(1.05);
}

.play-button:active {
    transform: scale(0.98);
}