/* 全体設定 */
body {
    font-family: 'Zen Maru Gothic', sans-serif; /* 丸みのあるフォント */
    margin: 0;
    padding: 0;
    color: #5d5045;
    background-color: #fdfaf5; /* 柔らかい背景色 */
    line-height: 1.8;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

/* ヒーローエリア */
.hero {
    /* PCでの高さ設定 */
    height: 80vh; 
    
    /* 画像の指定：日本語URLはこのまま（出る状態の書き方）を維持します */
    background-image: url('https://www.tnlab.net/radio/hero_tablet.png');
    background-repeat: no-repeat;
    background-position: center center;
    
    /* 【PCの設定】coverで隙間なく表示 */
    background-size: cover;
    
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

/* スマホ用の微調整（画面が小さい時） */
@media (max-width: 768px) {
    .hero {
        /* 【スマホの設定】全体が見えるようにcontain（100% auto）に変更 */
        background-size: 100% auto;
        
        /* 高さを画像に合わせる設定を維持 */
        height: auto;
        aspect-ratio: 16 / 9; 
        
        /* 画像が上すぎる場合はここを center に変えて調整 */
        background-position: center center; 
    }
}
.hero h1 {
    font-size: 3.5rem;
    margin: 0;
    letter-spacing: 0.2rem;
    line-height: 1.2;
}

/* --- パソコン（基本）の設定 --- */
.sub-title {
    position: absolute;
    top: 50px;          /* パソコンでの上からの位置 */
    left: 50%;
    transform: translateX(-50%);
    font-weight: bold;
    margin-bottom: 10px;
    white-space: nowrap;
    z-index: 10;
    
    /* 文字のサイズもパソコン用に調整する場合 */
    font-size: 1.2rem;
    color: #5d5045;     /* 文字色 */
}

/* --- スマホ（画面幅768px以下）の設定 --- */
@media (max-width: 768px) {
    .sub-title {
        top: 20px;      /* スマホでの上からの位置（ここを自由に調整してください） */
        
        /* スマホで文字が大きすぎる場合はサイズを調整 */
        font-size: 0.9rem; 
    }
}

/* セクション設定 */
.section {
    padding: 30px 0;
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: #d4c4a8;
}

/* ボタンを囲むグループ（ここを追加） */
.btn-group {
    display: flex;          /* 横並びの土台 */
    justify-content: center; /* 中央寄せ */
    gap: 20px;              /* ボタン間の隙間 */
    margin: 30px auto;      /* 上下の余白 */
    width: 100%;
}

/* ボタン（既存の設定を調整） */
.btn {
    display: flex;          /* 中の文字を中央にするため変更 */
    align-items: center;
    justify-content: center;
    
    /* margin: 15px auto; ← 横並びの邪魔になるので削除 */
    padding: 16px;
    width: 240px;           /* パソコンでのボタン幅を固定 */
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    color: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* ボタンの色設定 */
.btn-spotify { background-color: #1DB954; }
.btn-salus { background-color: #1f1d8a; }
.btn-note { background-color: #000; }
.btn-youtube { background-color: #c4302b; }


/* スマホ用の設定（ここを追加） */
@media (max-width: 768px) {
    .btn-group {
        flex-direction: column; /* 縦並びに切り替え */
        align-items: center;    /* 中央寄せ */
        gap: 15px;              /* 縦の隙間 */
    }
    
    .btn {
        width: 80%;             /* スマホでは画面に合わせた幅に */
        max-width: 300px;
    }
}
/* フッター */
.footer {
    padding: 40px;
    background-color: #e8dcc4;
    text-align: center;
    font-size: 0.9rem;
}