
@charset "UTF-8";

/* ========================================
   ページ全体
======================================== */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background-color: #ffffff;
    color: #000000;
}


/* ========================================
   サイト共通ナビゲーションバー
======================================== */

.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;

    background: rgba(15, 23, 32, 0.95);
    backdrop-filter: blur(10px);

    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}


/* 左側：サークルロゴ */

.site-header-left {
    grid-column: 1;
    min-width: 0;
}

.site-logo {
    display: grid;
    color: #ffffff;
    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 {
    grid-column: 2;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.site-nav a {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
    text-decoration: none;

    white-space: nowrap;

    transition: opacity 0.2s;
}

.site-nav a:hover {
    opacity: 0.65;
}

.site-nav a[aria-current="page"] {
    color: #cceafb;
}


/* 右側：公式X */

.header-x {
    display: grid;
    grid-column: 3;
    justify-self: end;
    place-items: center;

    width: 36px;
    height: 36px;

    color: #ffffff;

    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 50%;

    transition: background 0.2s, transform 0.2s;
}

.header-x svg {
    width: 17px;
    height: 17px;
}

.header-x:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}


/* ========================================
   Compilation ページタイトル
======================================== */

.compilation-header {
    text-align: center;
    font-weight: 600;
    font-size: 3rem;
    text-shadow: 0 3px 8px rgba(23, 33, 43, 0.16);
    margin: 0;
}

.compilation-header h1 {
    font-size: 48px;
    margin: 0;
}

.compilation-header p {
    font-size: 16px;
    color: #506093;
    margin: 12px 0 0;
}


/* ========================================
   メインコンテンツ
======================================== */

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 30px 100px;
}


/* ========================================
   コンピレーションの紹介
======================================== */

.compilation-about {
    max-width: 900px;
    margin: 40px auto 90px;
    padding: 50px 60px;

    text-align: center;

    /* 淡い水色のグラデーション */
    background: linear-gradient(
        135deg,
        #f7fcff 0%,
        #eaf7ff 100%
    );

    /* 角丸の枠線 */
    border: 1px solid #cceafb;
    border-radius: 24px;

    /* ふんわりした影 */
    box-shadow: 0 8px 30px rgba(8, 20, 46, 0.07);
}

/* 見出し */
.compilation-about h2 {
    font-size: 32px;
    font-weight: 700;
    color: #08142e;

    margin: 0 0 28px;
}

/* 見出しの下に短い水色ライン */
.compilation-about h2::after {
    content: "";
    display: block;

    width: 76px;
    height: 3px;

    margin: 18px auto 0;
    border-radius: 999px;

    background: linear-gradient(
        90deg,
        #cceafb,
        #009fe4,
        #cceafb
    );
}

/* 紹介文 */
.compilation-about p {
    font-size: 16px;
    line-height: 2;
    color: #506093;

    margin: 0;
}

/* 段落同士の余白 */
.compilation-about p + p {
    margin-top: 16px;
}


/* ========================================
   アルバム一覧
======================================== */

.compilation-section {
    margin-bottom: 80px;
}

.compilation-section > h2 {
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);

    margin: 0 0 48px;
    padding-bottom: 14px;

    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-align: center;

    color: #08142e;
    background: linear-gradient(180deg, #08142e, #0b3980);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;

    text-shadow:
        3px 3px 0 rgba(0, 159, 228, 0.18),
        0 6px 18px rgba(77, 142, 204, 0.18);
}

.compilation-section > h2::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);

    width: 75%;
    height: 3px;
    border-radius: 999px;

    background: linear-gradient(90deg, #0099d9 0%, #009fe4 50%, #cceafb 100%);
    box-shadow: 0 0 10px rgba(0, 159, 228, 0.25);
}

/* 横スクロール領域 */

.album-list {
    display: flex;
    gap: 25px;

    overflow-x: auto;
    padding: 10px 5px 25px;

    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}


/* ========================================
   アルバムカード
======================================== */

.album-card {
    flex: 0 0 280px;

    border: 1px solid #e0e5eb;
    border-radius: 16px;

    overflow: hidden;
    background-color: #ffffff;

    scroll-snap-align: start;

    transition: transform 0.3s,
                box-shadow 0.3s;
}

.album-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(8, 20, 46, 0.12);
}

.album-card a {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}


/* ========================================
   ジャケット画像
======================================== */

.album-cover {
    width: 100%;
    aspect-ratio: 1 / 1;

    background-color: #08142e;

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

.album-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* ========================================
   アルバム情報
======================================== */

.album-info {
    padding: 20px;
}

.album-year {
    font-size: 13px;
    color: #506093;
    margin: 0 0 10px;
}

.album-info h3 {
    font-size: 23px;
    margin: 0 0 12px;
}

.album-description {
    font-size: 14px;
    color: #506093;
    margin: 0;
}


/* ========================================
   タブレット対応
======================================== */

@media (max-width: 900px) {

    .site-header {
        grid-template-columns: 1fr auto;
        row-gap: 16px;
        padding: 15px 20px;
    }

    .site-header-left {
        grid-column: 1;
        grid-row: 1;
    }

    .header-x {
        grid-column: 2;
        grid-row: 1;
    }

    .site-nav {
        grid-column: 1 / -1;
        grid-row: 2;

        flex-wrap: wrap;
        gap: 12px 24px;
    }
}


/* ========================================
   スマートフォン対応
======================================== */

@media (max-width: 720px) {

    .site-header {
        padding: 15px;
    }

    .site-logo-main {
        font-size: 1rem;
    }

    .site-logo-sub {
        font-size: 0.6rem;
    }

    .site-nav {
        grid-column: 1 / -1;
        grid-row: 2;

        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 20px;
    }

    .site-nav a {
        font-size: 0.8rem;
    }

    .compilation-header {
        padding: 45px 15px 20px;
    }

    .compilation-header h1 {
        font-size: 36px;
    }

    main {
        padding: 15px 20px 60px;
    }

    .compilation-about {
        margin: 30px auto 65px;
    }

    .compilation-about h2 {
        font-size: 25px;
    }

    .compilation-section > h2 {
        font-size: 30px;
    }

    .album-list {
        gap: 15px;
    }

    .album-card {
        flex-basis: 240px;
    }
}




/* ページ読み込み時のフェードイン */
.compilation-header,
.compilation-about,
.compilation-section {
    animation: fadeInDown 0.8s ease-out both;
}

/* 順番に表示する */
.compilation-about {
    animation-delay: 0.15s;
}

.compilation-section {
    animation-delay: 0.3s;
}

/* アニメーションの定義 */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 動きを減らす設定のユーザーには適用しない */
@media (prefers-reduced-motion: reduce) {
    .compilation-header,
    .compilation-about,
    .compilation-section {
        animation: none;
    }
}