/* ==========================================
   1. サイト全体の基本設定
   ========================================== */
html {
  overflow-y: scroll;
}

body {
    background-color: #FFFFFF;
    color: #000000;          
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
    text-align: center;
    margin: 0;          
    padding-top: 120px;        
    line-height: 1.8;          
}

#Main {
    display: none;
}

#Profile, #Works, #Contact {
    display: none;
}

a {
    color: #4a90e2;         
    text-decoration: none;  
}

a:hover {
    color: #aaccee;         
}

h1 {
    font-size: 26px;
    letter-spacing: 0.1em;     
    margin-bottom: 30px;
}


/* ==========================================
   2. Enter（最初の画面）のデザイン調整
   ========================================== */
#Enter {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #FFFFFF;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#Enter h1 {
    font-size: 32px;
    margin-bottom: 40px;
}

button {
    font-size: 16px;           
    letter-spacing: 0.1em;
    padding: 12px 40px;
    background-color: #FFFFFF;
    color: #000000;
    border: 1px solid #000000; 
    border-radius: 4px;        
    cursor: pointer;
    transition: 0.3s;          
}

button:hover {
    background-color: #000000;
    color: #FFFFFF;
}


/* ==========================================
   3. Menubar（メニューバー）のデザイン調整
   ========================================== */
#Menubar {
    position: fixed;        
    top: 0;                 
    left: 0;                
    width: 100%;            
    background-color: #aaccee; 
    padding: 20px 0;        
    display: flex;          
    justify-content: center;
    gap: 40px;              
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05); 
}

#Menubar a {
    color: white;           
    text-decoration: none;  
    font-weight: bold;      
    font-size: 15px;        
    letter-spacing: 0.05em;
    transition: 0.3s;
}

#Menubar a:hover {
    color: #2a7cd2;         
}


/* ==========================================
   4. 各コンテンツ画面のレイアウト・見やすさアップ
   ========================================== */
#Top, #Profile, #Works, #Contact {
    max-width: 600px;
    margin: 40px auto;
    padding: 0 20px;
}

#Top {
    text-align: left;          
}

#Top h1, #Top h3, .lead-text {
    text-align: center;
}

#Top h3 {
    font-size: 16px;
    color: #666666;
}

.lead-text {
    font-size: 14px;
    color: #555555;
    margin-bottom: 30px;
}

.top-group {
    background-color: #f7f9fa; 
    padding: 20px 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    border: 1px solid #eef2f5;
}

.top-group h2 {
    font-size: 16px;
    margin-top: 0;
    margin-bottom: 12px;
    color: #000000;
    border-left: 4px solid #aaccee; 
    padding-left: 10px;
}

.top-btn {
    display: inline-block;
    background-color: #000000; 
    color: #FFFFFF !important;
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 13px;
}
.top-btn:hover {
    background-color: #aaccee; 
    color: #FFFFFF !important;
}

#Profile h2 {
    font-size: 18px;
    color: #555555;            
    margin-bottom: 25px;
}

#Profile p {
    text-align: left;          
    display: inline-block;     
    background-color: #f7f9fa; 
    padding: 25px 35px;
    border-radius: 8px;
}

#Contact {
    text-align: left;          
}

#Contact h1, #Contact h3, .lead-text {
    text-align: center;
}

#Contact h3 {
    font-size: 16px;
    color: #666666;
}

.contact-group {
    background-color: #f7f9fa; 
    padding: 20px 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    border: 1px solid #eef2f5;
}

.contact-group h2 {
    font-size: 16px;
    margin-top: 0;
    margin-bottom: 12px;
    color: #000000;
    border-left: 4px solid #aaccee; 
    padding-left: 10px;
}

.sns-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sns-list li {
    margin-bottom: 10px;
    font-size: 14px;
    border-bottom: 1px dashed #eef2f5; 
    padding-bottom: 10px;
}
.sns-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.mail-btn, .skeb-btn {
    display: inline-block;
    background-color: #000000; 
    color: #FFFFFF !important;
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 13px;
}
.mail-btn:hover, .skeb-btn:hover {
    background-color: #aaccee; 
    color: #FFFFFF !important;
}

/* ==========================================
   5. 自作メディアプレイヤー用スタイル（更新版）
   ========================================== */
/* （これまでのプレイヤーのスタイルはそのまま維持） */

/* ★追加：ソート・期間指定パネルの見た目 */
.works-control-panel {
    background-color: #f7f9fa;
    border: 1px solid #eef2f5;
    padding: 15px 20px;
    border-radius: 8px;
    margin: 0 auto 30px auto;
    max-width: 560px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    font-size: 14px;
}

.control-group-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.works-control-panel select, 
.works-control-panel input[type="date"] {
    padding: 4px 8px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    background-color: #ffffff;
    font-family: inherit;
}

#clear-date-btn {
    font-size: 12px;
    padding: 4px 12px;
    background-color: #ffffff;
    color: #666666;
    border: 1px solid #cccccc;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.2s;
}
#clear-date-btn:hover {
    background-color: #eeeeee;
}

@media (max-width: 600px) {
    .works-control-panel {
        flex-direction: column;
        align-items: flex-start;
    }
}

.tag-filter-container {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}
.filter-btn {
    font-size: 13px;
    padding: 6px 16px;
    background-color: #f7f9fa;
    color: #333333;
    border: 1px solid #eef2f5;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.2s;
}
.filter-btn.active, .filter-btn:hover {
    background-color: #aaccee;
    color: #FFFFFF;
    border-color: #aaccee;
}
.audio-player {
    background: #f7f9fa; 
    border: 1px solid #eef2f5;
    padding: 25px;
    border-radius: 12px;
    margin: 0 auto 30px auto;
    max-width: 340px;
    box-sizing: border-box;
    transition: opacity 0.3s, transform 0.3s;
}

/* ★変更：画像リンクにホバーした時、少し拡大して「クリックできる感」を出す */
.img-popup-link {
    display: block;
    overflow: hidden;
    border-radius: 8px;
}
.player-img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background-color: #ddd;
    transition: transform 0.3s;
    display: block;
}
.img-popup-link:hover .player-img {
    transform: scale(1.05); /* マウスを乗せると少しズーム */
}

.player-info {
    margin: 15px 0 10px 0;
}
.track-title {
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 5px 0;
    color: #000000;
}
.artist-name {
    font-size: 13px;
    color: #666666;
    margin: 0 0 8px 0;
}
.player-tags span {
    display: inline-block;
    font-size: 11px;
    color: #aaccee;
    background: #ffffff;
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid #eef2f5;
    margin-right: 4px;
}
.seek-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 12px;
    color: #666666;
}
.seek-bar {
    flex-grow: 1;
    height: 6px;
    cursor: pointer;
    accent-color: #aaccee;
}

/* ボタンエリアを横並びにする調整 */
.player-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.custom-play-btn {
    font-size: 14px;
    padding: 10px 35px;
    background-color: #000000;
    color: #FFFFFF;
    border: none;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}
.custom-play-btn:hover {
    background-color: #aaccee;
    color: #FFFFFF;
}

/* ★追加：ダウンロードボタンの見た目 */
.download-link {
    display: inline-block;
    font-size: 13px;
    padding: 9px 18px;
    background-color: #ffffff;
    color: #000000 !important;
    border: 1px solid #000000;
    border-radius: 20px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.2s;
}
.download-link:hover {
    background-color: #000000;
    color: #ffffff !important;
}