@charset "UTF-8";

/* ==================================================
   2025年度 コンピレーションアルバム
   Sky Blue × Lime Yellow × White
   ※ HTML / JavaScript / アニメーションの動作は変更しない
================================================== */

/* 1. カラー・フォント */
:root {
    --sky: #62A5E5;
    --lime: #DEF156;
    --page-bg: #F8FBFF;
    --navy: #182B49;
    --pale-blue: #DDEEFF;
    --pale-lime: #F5FBCB;
    --mid-blue: #3478B8;
    --muted: #74869D;

    --ink: var(--mid-blue);
    --font-gothic: sans-serif;
    --font-mincho: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    color: var(--ink);
    font-family: var(--font-gothic);
    background:
        radial-gradient(ellipse at 70% 18%, rgba(98, 165, 229, 0.22), transparent 45%),
        radial-gradient(ellipse at 15% 80%, rgba(222, 241, 86, 0.16), transparent 40%),
        var(--page-bg);
}

/* 2. 共通ナビゲーションバー */
.site-header {
    position: relative;
    z-index: 20;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: 100%;
    min-height: 76px;
    padding: 12px 32px;
    border-bottom: 1px solid rgba(52, 120, 184, 0.15);
    background: rgba(248, 251, 255, 0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.site-header-left {
    display: flex;
    align-items: center;
    justify-self: start;
    min-width: 0;
}

.site-logo {
    display: grid;
    color: var(--ink);
    line-height: 1.15;
    text-decoration: none;
}
.site-logo-main { font-size: 1.15rem; font-weight: 800; letter-spacing: 0.08em; }
.site-logo-sub { margin-top: 4px; font-size: 0.68rem; font-weight: 700; }

.site-nav { display: flex; grid-column: 2; gap: 32px; }
.site-nav a {
    color: var(--ink);
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    text-shadow: 0 2px 6px rgba(98, 165, 229, 0.08);
    white-space: nowrap;
    transition: opacity 0.2s;
}
.site-nav a:hover { opacity: 0.65; }

.header-x {
    display: grid;
    grid-column: 3;
    justify-self: end;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(52, 120, 184, 0.35);
    border-radius: 50%;
    color: var(--ink);
    transition: background 0.2s, transform 0.2s;
}
.header-x svg { width: 16px; height: 16px; }
.header-x:hover {
    background: rgba(98, 165, 229, 0.16);
    transform: translateY(-2px);
}

/* 3. ページ共通 */
main { max-width: 1200px; margin: 0 auto; padding: 40px 32px 120px; }
.back-link { margin-bottom: 48px; }
.back-link a {
    color: var(--mid-blue);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s;
}
.back-link a:hover { color: var(--sky); }

/* 4. アルバム紹介 */
.album-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 70px;
    margin-bottom: 120px;
}
.album-art { position: relative; width: 100%; margin: 0; isolation: isolate; }
.album-art::before {
    content: "";
    position: absolute;
    z-index: -1;
    left: 52%;
    top: 44%;
    transform: translate(-50%, -50%);
    width: 88%;
    height: 88%;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(98, 165, 229, 0.32) 0%,
        rgba(222, 241, 86, 0.22) 28%,
        rgba(221, 238, 255, 0.18) 48%,
        transparent 72%
    );
    filter: blur(34px);
}
.album-art img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    border-radius: 6px;
    box-shadow:
        0 15px 50px rgba(24, 43, 73, 0.18),
        0 0 35px rgba(98, 165, 229, 0.18);
}
.album-details { min-width: 0; }
.album-label {
    margin: 0 0 20px;
    color: var(--mid-blue);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.18em;
}

/* 大きな見出しはライム＋ブルーの細い輪郭 */
.album-title {
    width: fit-content;
    max-width: 100%;
    margin: 0 0 20px;
    color: var(--lime);
    font-family: var(--font-gothic);
    font-size: clamp(3rem, 5vw, 5.2rem);
    font-weight: 900;
    line-height: 1.35;
    letter-spacing: 0.04em;
    -webkit-text-stroke: 0.8px var(--mid-blue);
    text-shadow: 0 2px 2px rgba(52, 120, 184, 0.22);
    overflow-wrap: anywhere;
}
.title-accent { color: var(--sky); }
.album-subtitle {
    margin: 0 0 32px;
    color: var(--mid-blue);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.12em;
}
.album-description {
    padding-top: 28px;
    border-top: 1px solid rgba(52, 120, 184, 0.25);
    color: var(--ink);
    font-family: var(--font-mincho);
    font-size: 1rem;
    font-weight: 500;
    line-height: 2.2;
}
.album-description p { margin: 0 0 18px; }

/* 5. Track List見出し */
.track-section { max-width: 1000px; margin: 0 auto; }
.track-heading { margin-bottom: 40px; text-align: center; }
.track-heading h2 {
    display: inline-block;
    margin: 0 0 14px;
    color: var(--lime);
    font-family: var(--font-gothic);
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 900;
    letter-spacing: 0.05em;
    -webkit-text-stroke: 1px var(--mid-blue);
    text-shadow: 0 2px 2px rgba(52, 120, 184, 0.20);
}
.track-heading h2::after {
    content: "";
    display: block;
    width: 100px;
    height: 2px;
    margin: 22px auto 0;
    background: linear-gradient(90deg, transparent, var(--lime), transparent);
}
.track-heading p { margin: 0; color: var(--muted); font-size: 0.9rem; }

/* 6. Disc 1 / Disc 2 */
.disc-list { display: grid; gap: 80px; }
.disc-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 10px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(52, 120, 184, 0.28);
}
.disc-heading h3 {
    margin: 0;
    color: var(--lime);
    font-family: var(--font-gothic);
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    -webkit-text-stroke: 0.8px var(--mid-blue);
    text-shadow: 0 2px 2px rgba(52, 120, 184, 0.18);
}
.disc-count {
    color: var(--mid-blue);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}
.disc-empty { padding: 30px 18px; color: var(--muted); font-size: 0.9rem; }

/* 7. 楽曲一覧 */
.track-list {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid rgba(52, 120, 184, 0.24);
}
.disc-section .track-list { border-top: none; }
.track-list li { border-bottom: 1px solid rgba(52, 120, 184, 0.24); }
.track-list button {
    display: flex;
    align-items: center;
    gap: 24px;
    width: 100%;
    padding: 24px 18px;
    border: none;
    background: rgba(221, 238, 255, 0.72);
    color: var(--mid-blue);
    font-family: var(--font-gothic);
    font-size: 1.2rem;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    transition: background 0.25s, color 0.25s;
}
.track-list button:hover {
    background: rgba(245, 251, 203, 0.85);
    color: var(--mid-blue);
}
.track-list button:focus-visible {
    outline: 2px solid var(--mid-blue);
    outline-offset: -2px;
}
.track-number {
    flex-shrink: 0;
    min-width: 2.5em;
    color: var(--lime);
    font-family: var(--font-gothic);
    font-size: 0.9rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
/* 2025年度版：Discによって曲番号の色を変える */
.disc-section:nth-child(1) .track-number {
    color: var(--lime); 
    -webkit-text-stroke: 0.55px var(--mid-blue);
}
.disc-section:nth-child(2) .track-number {
    color: var(--lime);
    -webkit-text-stroke: 0.55px var(--mid-blue);
}
.track-main { display: flex; flex: 1; flex-direction: column; gap: 7px; min-width: 0; }
.track-name {
    color: #3478B8; /* 希望のミドルブルー */
    font-family: var(--font-gothic); /* 明朝体 → ゴシック体 */
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.6;
    overflow-wrap: anywhere;
}
.track-artist {
    color: var(--muted);
    font-family: var(--font-gothic);
    font-size: 0.8rem;
    font-weight: 400;
}
.track-arrow {
    flex-shrink: 0;
    margin-left: auto;
    color: var(--sky);
    font-family: var(--font-gothic);
    font-size: 2rem;
    line-height: 1;
    transition: transform 0.25s;
}
.track-list button:hover .track-arrow { transform: translateX(5px); }
.track-list-status {
    padding: 30px 0;
    color: var(--muted);
    text-align: center;
    font-size: 0.95rem;
}

/* 8. 楽曲詳細モーダル：明るいガラス調 */
.track-modal {
    width: min(620px, calc(100% - 32px));
    max-height: min(85vh, 800px);
    padding: 0;
    overflow: hidden;
    background: linear-gradient(
        135deg,
        rgba(221, 238, 255, 0.93),
        rgba(245, 251, 203, 0.88)
    );
    backdrop-filter: blur(16px) saturate(150%);
    -webkit-backdrop-filter: blur(24px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 24px;
    color: var(--ink);
    box-shadow:
        0 20px 70px rgba(52, 120, 184, 0.20),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
}
.track-modal::backdrop {
    background: rgba(98, 165, 229, 0.18);
    backdrop-filter: blur(3px);
}
/* 内容のみスクロール。×ボタンは固定 */
.modal-content {
    max-height: min(85vh, 800px);
    padding: 36px 42px 48px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 55px;
}
.modal-track-number {
    color: var(--mid-blue);
    font-family: var(--font-gothic);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}
.modal-close {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(98, 165, 229, 0.15);
    color: var(--ink);
    font-size: 1.4rem;
    cursor: pointer;
}
/* ×ボタンをモーダル右上に固定 */
#track-modal #modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    left: auto;
    z-index: 20;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;
    margin: 0;
    padding: 0;

    border: 1px solid rgba(52, 120, 184, 0.18);
    border-radius: 50%;

    background: rgba(248, 251, 255, 0.90);
    color: #3478B8;

    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}
.track-modal > #modal-close:hover { background: rgba(222, 241, 86, 0.85); }
.modal-close:hover { background: rgba(222, 241, 86, 0.70); }

/* 楽曲詳細の文字色は従来のまま、フォントだけゴシックに */
.modal-track-title {
    display: table;
    max-width: 100%;
    margin: 20px 0 36px;
    padding: 0;
    color: var(--lime);
    background: transparent;
    font-family: var(--font-gothic);
    font-size: 2rem;
    font-weight: 900;
    -webkit-text-stroke: 0.8px var(--mid-blue);
    text-shadow: 0 2px 2px rgba(52, 120, 184, 0.18);
    overflow-wrap: anywhere;
}
.modal-credits { margin-bottom: 40px; font-family: var(--font-gothic); }
.modal-credits h3,
.modal-lyrics h3 {
    display: table;
    margin: 0 0 20px;
    padding: 0;
    color: var(--lime);
    background: transparent;
    font-family: var(--font-gothic);
    font-size: 1.25rem;
    font-weight: 700;
    -webkit-text-stroke: 0.6px var(--mid-blue);
}
.modal-credits dl {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 14px 20px;
    margin: 0;
}
.modal-credits dt { color: var(--mid-blue); font-size: 0.9rem; font-weight: 700; }
.modal-credits dd { margin: 0; line-height: 1.8; overflow-wrap: anywhere; }
.modal-credits a,
.modal-credits dd a {
    color: var(--mid-blue);
    text-decoration-color: rgba(52, 120, 184, 0.65);
    text-underline-offset: 4px;
    transition: color 0.2s;
}
.modal-credits dd a:hover { color: var(--ink); }
.modal-lyrics {
    padding-top: 28px;
    border-top: 1px solid rgba(52, 120, 184, 0.23);
    font-family: var(--font-gothic);
}
.modal-lyrics-text {
    font-family: var(--font-gothic);
    font-size: 0.95rem;
    line-height: 2.2;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

/* 9. ページ表示アニメーション */
.album-hero,
.track-section { animation: fadeInUp 0.8s ease-out both; }
.track-section { animation-delay: 0.2s; }
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* 10. 歌詞カードの開閉アニメーション（従来どおり） */
.track-modal[open] {
    animation: modal-open 1.25s both;
    transform-origin: center center;
}
.track-modal[open]::backdrop { animation: backdrop-open 0.85s ease-out both; }
.track-modal.is-closing { animation: modal-close 0.22s ease-in forwards; }
.track-modal.is-closing::backdrop { animation: backdrop-close 0.22s ease-in forwards; }

@keyframes modal-open {
    0% {
        opacity: 0;
        transform: scale(0.65);
        animation-timing-function: cubic-bezier(0.16, 0.8, 0.25, 1);
    }
    30% {
        opacity: 1;
        transform: scale(1.07);
        animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    }
    100% { opacity: 1; transform: scale(1); }
}
@keyframes modal-close {
    from { opacity: 1; transform: translateY(0) scale(1); }
    to   { opacity: 0; transform: translateY(10px) scale(0.97); }
}
@keyframes backdrop-open {
    from { background: rgba(0, 0, 0, 0); backdrop-filter: blur(0); }
    to   { background: rgba(98, 165, 229, 0.18); backdrop-filter: blur(8px); }
}
@keyframes backdrop-close {
    from { background: rgba(98, 165, 229, 0.18); backdrop-filter: blur(8px); }
    to   { background: rgba(0, 0, 0, 0); backdrop-filter: blur(0); }
}

/* 11. スマートフォン対応 */
@media (max-width: 720px) {
    .site-header {
        grid-template-columns: 1fr;
        gap: 12px;
        min-height: 0;
        padding: 16px 20px;
    }
    .site-nav {
        grid-column: 1;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 12px 20px;
    }
    .site-nav a { font-size: 0.82rem; }
    .header-x { position: absolute; top: 16px; right: 20px; }
    main { padding: 28px 20px 80px; }
    .back-link { margin-bottom: 32px; }
    .album-hero {
        grid-template-columns: 1fr;
        gap: 36px;
        margin-bottom: 80px;
    }
    .album-art { max-width: 460px; margin: 0 auto; }
    .album-title { font-size: clamp(2.8rem, 9vw, 4.2rem); }
    .disc-list { gap: 60px; }
    .disc-heading h3 { font-size: 1.6rem; }
    .track-list button { gap: 14px; padding: 20px 10px; font-size: 1rem; }
    .track-name { font-size: 1rem; }
    .track-artist { font-size: 0.75rem; }
    .track-arrow { font-size: 1.6rem; }
    .modal-content { padding: 24px 22px 36px; }
    .modal-credits dl { grid-template-columns: 80px 1fr; }
}

/* 12. アニメーションを減らす設定 */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .album-hero,
    .track-section,
    .track-modal[open],
    .track-modal[open]::backdrop,
    .track-modal.is-closing,
    .track-modal.is-closing::backdrop { animation: none; }
}

/* 2025年度は1枚組なので、空のDisc 2を非表示 */
.disc-section:nth-child(2) {
    display: none;
}

/* 2025年度はDisc見出しを非表示 */
.disc-heading {
    display: none;
}