/* ===== 基本設定 ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    /* 優しさ、繊細さを感じさせるフォント */
    font-family: 'M PLUS 1p', 'Noto Serif JP', serif;
    line-height: 1.8;
    color: #5a5a5a;
    background-color: #fdfbf9;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3 {
    font-family: 'Noto Serif JP', serif;
    font-weight: 500;
    color: #708090;
    margin-bottom: 0.8em;
    line-height: 1.5;
}

h2.section-title {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 1.5em;
    font-weight: 500;
}

h3 {
    /* charm-title と artist-info h3 共通 */
    font-size: 1.3rem;
    color: #8a7d90;
    margin-bottom: 0.6em;
    font-weight: 500;
}

p {
    margin-bottom: 1.6em;
    font-family: 'M PLUS 1p', sans-serif;
    font-weight: 400;
}

a {
    color: #a0b8c8;
    text-decoration: none;
    transition: color 0.3s ease, opacity 0.3s ease;
}

a:hover {
    color: #778899;
    opacity: 0.8;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* スマートフォン用の改行 */
.sp-br {
    display: block;
}

@media (min-width: 769px) {
    .sp-br {
        display: none;
    }
}

/* ===== レイアウト・共通 ===== */
.container {
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.content-section {
    padding: 70px 0;
}

.bg-light {
    background-color: #f5f5f5;
}

/* ===== ボタン共通スタイル ===== */
.button {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

/* ===== ヒーローセクション (虹色背景 + 桜アニメーション) ===== */
.hero-section {
    /* 既存のスタイルに加えて */
    position: relative;
    /* 桜の基準点 */
    overflow: hidden;
    /* はみ出した桜を隠す */
    /* ↓ 虹の橋をイメージしたグラデーション */
    background: linear-gradient(135deg, #ffb3ba, #ffdfba, #ffffba, #baffc9, #bae1ff, #e0c3fc);
    background-size: 200% 200%;
    /* グラデーションを大きくして滑らかに */
    animation: rainbow-bg 15s ease infinite;
    /* グラデーションを動かすアニメーション */
    padding: 6rem 0;
    /* 元のスタイルに合わせるか調整 */
    text-align: center;
    /* ヒーローセクションの基本スタイル */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 85vh;
    /* 高さは元のスタイルを維持 */
    /* color: #fff; /* 元の文字色 (hero-contentで上書き) */
}

@keyframes rainbow-bg {
    0% {
        background-position: 0% 50%
    }

    50% {
        background-position: 100% 50%
    }

    100% {
        background-position: 0% 50%
    }
}

.hero-content {
    position: relative;
    /* 重なり順の基準 */
    z-index: 1;
    /* 桜の上に表示 */
    /* 文字色を濃いめにして視認性確保 */
    color: #333;
    /* または #555 など */
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.7);
    /* 白い影で少し浮かせる */
    max-width: 700px;
    /* 元のスタイル */
}

.main-catchcopy {
    font-size: 2.4rem;
    font-weight: 500;
    /* color: #5a5a5a; */
    /* hero-contentで上書き */
    margin-bottom: 0.4em;
    /* text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5); */
    /* hero-contentで上書き */
}

.song-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #708090;
    /* 元のスタイル維持 */
    margin-bottom: 0.2em;
}

.sub-catchcopy {
    font-size: 1.3rem;
    /* color: #696969; */
    /* hero-contentで上書き */
    margin-bottom: 2.5em;
    font-family: 'M PLUS 1p', sans-serif;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-button {
    font-size: 1.05rem;
    padding: 10px 25px;
    border-width: 1px;
    /* ボタンのスタイルも調整 */
    background-color: rgba(255, 255, 255, 0.8);
    /* 半透明の白背景 */
    color: #555;
    /* 文字色 */
    border: 1px solid #ccc;
}

.hero-button:hover {
    background-color: rgba(255, 255, 255, 1);
    /* ホバー時は不透明に */
    color: #333;
}

/* 元の個別ボタンスタイルは削除 (hero-buttonで統一) */
/* .hero-button-listen { ... } */
/* .hero-button-listen:hover { ... } */
/* .hero-button-mv { ... } */
/* .hero-button-mv:hover { ... } */


/* ===== イントロダクションセクション ===== */
.intro-section .intro-container {
    max-width: 750px;
    text-align: center;
}

.intro-title {
    font-size: 1.6rem;
    color: #8a7d90;
}

.intro-message {
    font-size: 1.05rem;
    color: #666;
}

/* ===== 楽曲の魅力セクション ===== */
.charms-list {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 35px;
}

.charm-point {
    background-color: #fff;
    padding: 25px;
    border-radius: 6px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.04);
    text-align: center;
}

.charm-description {
    font-size: 0.95rem;
    color: #666;
}

/* ===== MV紹介セクション ===== */
.mv-section .mv-container {
    text-align: center;
}

.mv-description {
    font-size: 1.05rem;
    color: #666;
    margin-bottom: 2.5em;
}

.mv-embed {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 30px auto 0;
    padding-top: 56.25%;
    /* 16:9 */
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.mv-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ===== コールトゥアクション (CTA) セクション ===== */
.cta-section .cta-container {
    text-align: center;
}

.cta-title {
    font-size: 1.6rem;
    color: #8a7d90;
}

.cta-buttons {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.cta-button {
    min-width: 320px;
    padding: 14px 30px;
    font-size: 1.1rem;
}

.cta-button-listen {
    background-color: #a0b8c8;
    color: #fff;
    border-color: #a0b8c8;
}

.cta-button-listen:hover {
    background-color: #8ca6b8;
    border-color: #8ca6b8;
    color: #fff;
}

.cta-button-mv {
    background-color: transparent;
    color: #a0b8c8;
    border-color: #a0b8c8;
}

.cta-button-mv:hover {
    background-color: rgba(160, 184, 200, 0.1);
    color: #778899;
    border-color: #778899;
}

/* ===== アーティスト情報セクション ===== */
.artist-info-section .artist-info-container {
    text-align: center;
}

/* アーティスト情報セクションのタイトル */
.artist-info-section .section-title {
    font-size: 1.6rem;
    /* 他のセクションタイトルと合わせる */
    color: #708090;
    /* スレートグレー */
    margin-bottom: 1em;
}

/* アーティストプロフィールエリア */
.artist-profile {
    display: flex;
    flex-direction: column;
    /* スマホでは縦 */
    align-items: center;
    gap: 20px;
    margin-top: 1.5em;
    /* タイトルからのマージン */
    margin-bottom: 2.5em;
    /* 下のh3からのマージン */
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.artist-image-wrapper {
    flex-shrink: 0;
}

.artist-image {
    width: 100px;
    /* 少し小さめに */
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.artist-details {
    text-align: center;
    /* 中央揃え */
}

.artist-details p {
    margin-bottom: 0.6em;
    line-height: 1.6;
    font-size: 0.95rem;
    color: #666;
}

.artist-details p strong {
    color: #5a5a5a;
    font-weight: 500;
}

.artist-details a {
    /* プロフィール内リンク */
    color: #a0b8c8;
    font-weight: 500;
    text-decoration: underline;
}

.artist-details a:hover {
    color: #778899;
}

/* 「もっとアーティストを知る」のh3 */
.artist-info-section h3 {
    text-align: center;
    margin-bottom: 1em;
}

.artist-message {
    font-size: 1.05rem;
    color: #666;
    margin-bottom: 2.5em;
}

.artist-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.artist-button {
    min-width: 300px;
    background-color: #f5f5f5;
    color: #708090;
    border-color: #e0e0e0;
    font-weight: 500;
}

.artist-button:hover {
    background-color: #e8e8e8;
    color: #5a6874;
    border-color: #d0d0d0;
}

/* ===== フッター ===== */
.footer {
    background-color: #f5f5f5;
    color: #888;
    padding: 40px 0 30px;
    text-align: center;
    font-size: 0.85rem;
}

.footer-note {
    margin-bottom: 1em;
    font-family: sans-serif;
}

.copyright {
    margin-top: 1em;
}

/* ===== レスポンシブ対応 ===== */
@media (max-width: 768px) {
    h1.main-catchcopy {
        font-size: 2rem;
    }

    .song-title {
        font-size: 1.5rem;
    }

    .sub-catchcopy {
        font-size: 1.1rem;
    }

    h2.section-title {
        font-size: 1.6rem;
    }

    h3 {
        /* charm-title と artist-info h3 */
        font-size: 1.2rem;
    }

    .content-section {
        padding: 50px 0;
    }

    .hero-cta {
        gap: 15px;
    }

    .button {
        padding: 10px 22px;
        font-size: 0.95rem;
    }

    .cta-button {
        min-width: 280px;
        padding: 12px 25px;
        font-size: 1rem;
    }

    .artist-button {
        min-width: 260px;
    }

    .mv-embed {
        max-width: 90%;
    }

    .artist-profile {
        /* スマホではデフォルトで縦なので変更不要 */
    }
}

@media (min-width: 769px) {
    .cta-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 25px;
    }

    .artist-profile {
        /* PCでは横並び */
        flex-direction: row;
        text-align: left;
        gap: 30px;
        align-items: center;
        /* 中央揃え */
    }

    .artist-details {
        text-align: left;
    }

    .artist-links {
        flex-direction: row;
        justify-content: center;
        gap: 20px;
        flex-wrap: wrap;
    }

    .artist-button {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 15px;
    }

    h1.main-catchcopy {
        font-size: 1.8rem;
    }

    .song-title {
        font-size: 1.3rem;
    }

    h2.section-title {
        font-size: 1.5rem;
    }

    .hero-button,
    .cta-button,
    .artist-button {
        width: 90%;
    }
}

/* ===== 桜アニメーション ===== */
.sakura {
    position: absolute;
    top: 0;
    left: 0;
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    /* hero-contentの下に表示 */
    pointer-events: none;
    /* 桜がクリック操作を妨げないように */
}

.sakura li {
    position: absolute;
    list-style: none;
    top: -50px;
    /* 開始位置を画面上外に */
    /* ▼▼▼ 変更: 桜の色を真白に ▼▼▼ */
    background: #fff;
    /* 真っ白 */
    /* ▲▲▲ 変更 ▲▲▲ */
    border-radius: 0% 70%;
    animation: fall 4s linear infinite, sway1 2s ease-in-out infinite alternate;
    /* sway1かsway2を適用 */
}


@keyframes fall {
    0% {
        top: -10%;
        /* 開始位置を確実に画面外に */
        /* ▼▼▼ 変更: 透明度をなくす ▼▼▼ */
        opacity: 1;
        /* ▲▲▲ 変更 ▲▲▲ */
    }

    100% {
        top: 110%;
        /* 終了位置を確実に画面外に */
        /* ▼▼▼ 変更: 透明度をなくす ▼▼▼ */
        opacity: 1;
        /* ▲▲▲ 変更 ▲▲▲ */
    }
}

@keyframes sway1 {
    from {
        transform: translateX(0px) rotate(0deg);
    }

    to {
        transform: translateX(50px) rotate(-45deg);
        /* 横移動量を少し減らす */
    }
}

@keyframes sway2 {
    from {
        transform: translateX(0px) rotate(0deg);
        /* 開始時の横移動を0に */
    }

    to {
        transform: translateX(-50px) rotate(45deg);
        /* 横移動量を少し減らし、逆方向にも */
    }
}

/* 各li要素のスタイル（提供されたものをベースに調整） */
.sakura li:nth-child(1) {
    left: 5%;
    width: 20px;
    height: 12px;
    animation: fall 10s linear infinite,
        sway1 3s ease-in-out infinite alternate;
    animation-delay: 1s;
}

.sakura li:nth-child(2) {
    left: 15%;
    width: 12px;
    height: 8px;
    animation: fall 14s linear infinite,
        sway2 2.5s ease-in-out infinite alternate;
    animation-delay: 5s;
}

.sakura li:nth-child(3) {
    left: 25%;
    width: 15px;
    height: 9px;
    animation: fall 9s linear infinite,
        sway1 3.5s ease-in-out infinite alternate;
    animation-delay: 10s;
}

.sakura li:nth-child(4) {
    left: 35%;
    width: 18px;
    height: 11px;
    animation: fall 8s linear infinite,
        sway2 4s ease-in-out infinite alternate;
    animation-delay: 3s;
}

.sakura li:nth-child(5) {
    left: 45%;
    width: 14px;
    height: 9px;
    animation: fall 12s linear infinite,
        sway1 3.8s ease-in-out infinite alternate;
    animation-delay: 0s;
}

.sakura li:nth-child(6) {
    left: 55%;
    width: 22px;
    height: 14px;
    animation: fall 11s linear infinite,
        sway2 3.2s ease-in-out infinite alternate;
    animation-delay: 2s;
}

.sakura li:nth-child(7) {
    left: 65%;
    width: 15px;
    height: 9px;
    animation: fall 7s linear infinite,
        sway1 3.5s ease-in-out infinite alternate;
    animation-delay: 6s;
}

.sakura li:nth-child(8) {
    left: 75%;
    width: 13px;
    height: 8px;
    animation: fall 9s linear infinite,
        sway2 3s ease-in-out infinite alternate;
    animation-delay: 8s;
}

.sakura li:nth-child(9) {
    left: 85%;
    width: 17px;
    height: 10px;
    animation: fall 10s linear infinite,
        sway1 4.2s ease-in-out infinite alternate;
    animation-delay: 4s;
}

/* ===== 桜アニメーションここまで ===== */