@charset "UTF-8";

/* ブレークポイント
SP:～519px
Tab:520px～959px
PC:960px～ */

/* 変数宣言 */
:root {
    --main-color: #f0eae5;
    --main-color02: #E3DDD8;
    --text-color: #333333;
    --size-sm: 1.2rem;
    --size-md: 1.6rem;
    --size-lg: 2.6rem;
    --size-xl: 3.2rem;
    --size-2xl: 4.2rem;
    --size-3xl: 6.6rem;
    --font-Jost: "Jost", sans-serif;
    --font-Noto: "Noto Sans JP", sans-serif;
    --gutter-base: 8px;
    --side-gutter: calc(var(--gutter-base)*2);
    --contents-gutter: calc(var(--gutter-base)*5);
    --contents-gutter-pc: calc(var(--gutter-base)*10);
    --section-gutter: calc(var(--gutter-base)*10);
    --section-gutter-pc: calc(var(--gutter-base)*20);
    --footer-gutter: calc(var(--gutter-base)*40);
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    /* font-size: 62.5%; */
    overflow-x: hidden;
    box-sizing: border-box;
}


body {
    margin: 0;
    padding: 0;
    font-family: var(--font-Jost);
    font-size: 1.5rem;
    letter-spacing: .05em;
    background-color: #f9f7f2;
    color: var(--text-color);
    overflow-x: hidden;
    box-sizing: border-box;
    word-break: keep-all;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}



main {
    flex: 1;
    padding-top: 120px;
}

/* サイト内のすべての画像を守る設定 */
img {
    pointer-events: none;
    -webkit-touch-callout: none;
    /* 3. 画像がテキストのように選択されるのを防ぐ */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    /* 4. 画像の「反転」などを防いで保護感を出す */
    -webkit-user-drag: none;
    -khtml-user-drag: none;
}



/* --- 3. スクロールふわっと演出 --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- 4. フッターなどの白背景を守る --- */
.main-footer {
    background-color: #ffffff !important;
    position: relative;
    z-index: 10;
}


/* --- 1. Discography用-TOPもUNDERも（PC3列 / SP2列） --- */
.disco-item.reveal:nth-child(3n+1) {
    transition-delay: 0s;
}

.disco-item.reveal:nth-child(3n+2) {
    transition-delay: 0.2s;
}

.disco-item.reveal:nth-child(3n) {
    transition-delay: 0.4s;
}

/*media Queries 959
----------------------------------------------------*/
@media (max-width: 959px) {
    .disco-item.reveal:nth-child(n) {
        transition-delay: 0s;
    }

    /* 一旦リセット */
    .disco-item.reveal:nth-child(2n+1) {
        transition-delay: 0s;
    }

    .disco-item.reveal:nth-child(2n) {
        transition-delay: 0.2s;
    }
}





.header_sp,
.menu-trigger {
    display: none;
}


.header {
    background-color: #Fff;
    padding: 10px 0;
    text-align: center;
    margin-bottom: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}


.header .container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 1. ヘッダーロゴとキャッチフレーズ */

/* ロゴ部分のラッパー */
.header-branding {
    margin-bottom: 0;
    text-align: left;
}

/* ロゴの画像スタイル */
.header-logo img {
    max-width: 130px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* キャッチフレーズのスタイル */
.header-subtitle {
    font-size: 1rem;
    letter-spacing: 0.05em;
    color: var(--text-color);
    margin-top: var(--gutter-base);
    font-family: var(--font-Jost);
    white-space: nowrap;
}


/* 2. グローバルナビゲーション */

/* ナビゲーションリスト (アイコン群) の全体設定 */
.gnav-list {
    display: flex;
    justify-content: flex-end;
    list-style: none;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    gap: clamp(5px, 1.5vw, 15px);
}

/* 個々のナビゲーションアイテム */
.gnav-item {
    margin: 0 5px;
    flex-shrink: 1;

}

/* リンク (アイコンとテキストのペア) の設定 */
.gnav-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
    font-size: var(--size-sm);

    width: 80px;
    /* ★高さを抑えるために円を小さく。ロゴの高さと揃うはず */
    height: 80px;
    padding: 5px;
    padding: 10px;
    border-radius: 50%;
    transition: all 0.3s ease;
    max-width: 110px;

    aspect-ratio: 1 / 1;

    justify-content: center;

}

/* リンクホバー時 */
.gnav-item a:hover {
    background-color: var(--text-color);
    color: #fff;
    opacity: 1;
}

/* ホバー時にアイコンも白っぽく（反転）させたい場合 */
.gnav-item a:hover img {
    filter: brightness(0) invert(1);
}



/* アイコン画像の設定 */
.gnav-item img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    margin-bottom: 4px;
}

/* テキスト部分の設定 */
.gnav-item span {
    font-family: var(--font-Noto);
    text-transform: capitalize;
    font-size: 0.9rem;
    letter-spacing: -0.01em;
    display: block;
    width: 100%;
    text-align: center;
}


/* 1. PCサイズで少し狭くなってきた時（1200px〜960px） 
----------------------------------------------------*/
@media screen and (max-width: 1200px) {

    .header-logo img {
        max-width: 120px;
    }

    .header-subtitle {
        font-size: 0.9rem;
        /* 少しだけ小さく */
    }

    .gnav-list {
        gap: 5px;
        justify-content: space-around;
    }

    .gnav-item a {
        width: 75px;
        height: 75px;
        padding: 5px;
    }

    .gnav-item {
        /* アイテム同士の隙間をさらに詰める */
        margin: 0 10px;
    }

    .gnav-item img {
        width: 28px;
        height: 28px;
    }

    .gnav-item span {
        font-size: 0.8rem;
    }
}



/* タブレット〜小型PCサイズ（959px以下）での調整 
----------------------------------------------------*/
@media (max-width: 1050px) {

    .header .container {
        padding-left: 25px !important;
        padding-right: 25px !important;
        max-width: 100% !important;
    }

    .header-branding {
        padding-left: 0;
        flex-shrink: 0;
    }

    .header-subtitle {
        font-size: 0.85rem;
    }


    .gnav-list {
        justify-content: center;

    }

    .gnav-item {
        margin: 0;
        /* gapを使う場合はmarginは0でOK */
    }

    /* 1. 円のサイズをさらにコンパクトに（95px → 85px） */
    .gnav-item a {
        width: 70px;
        height: 70px;
        padding: 5px;
    }

    /* 2. アイコンサイズをさらに絞る */
    .gnav-item img {
        margin-bottom: 2px;
    }



    /* 4. コンテナ自体の余白で横幅をギリギリまで使う */
    .header .container {
        padding-left: 5px;
        padding-right: 5px;
    }
}



/* ======================================= */
/* 3. SP (スマートフォン) スタイル */
/* ======================================= */

/*media Queries 959
----------------------------------------------------*/
@media screen and (max-width: 959px) {

    /* PC版ヘッダーを非表示 */
    .header {
        display: none;
    }

    /* SPヘッダーの基本設定 */
    .header_sp {
        display: block;
        width: 100%;
        background-color: #fff;
        padding: 15px 0;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 100;
    }

    .sp-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 15px;
    }

    /* ロゴとキャッチフレーズのラッパー (画像イメージに合わせるため追加) */
    .sp-header-branding {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: -8px;
    }

    /* SPロゴ */
    .sp-header-logo {
        margin: 0;
    }

    .sp-header-logo img {
        width: 120px;
        height: auto;
    }

    /* SPキャッチフレーズ (画像イメージに合わせるため追加) */
    .sp-header-subtitle {
        font-size: 0.8rem;
        color: var(--text-color);
        margin-top: -10px;
        font-family: var(--font-Jost);
        width: 100%;
        text-align: center;
        white-space: nowrap;
    }


    /* --- ハンバーガーメニューボタン (.menu-trigger) --- */
    .menu-trigger {
        display: block;
        width: 25px;
        height: 25px;
        position: relative;
        cursor: pointer;
        z-index: 102;
    }

    .menu-bar {
        position: absolute;
        width: 100%;
        height: 1px;
        background-color: var(--text-color);
        left: 0;
        transition: transform 0.3s, opacity 0.3s;
    }

    /* 線の位置を調整 */
    .menu-bar1 {
        top: 0;
    }

    .menu-bar2 {
        top: 50%;
        transform: translateY(-50%);
    }

    .menu-bar3 {
        top: 100%;
        transform: translateY(-100%);
    }

    /* 押された後のバツ印アニメーションの調整 */
    .header_sp.is-active .menu-bar1 {
        transform: translateY(12.5px) rotate(45deg);
    }

    .header_sp.is-active .menu-bar2 {
        opacity: 0;
    }

    .header_sp.is-active .menu-bar3 {
        transform: translateY(-12.5px) rotate(-45deg);
    }


    /* --- SP用ナビゲーションメニュー本体 (.sp-gnav-menu) --- */
    .sp-gnav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(227, 221, 216, 0.95);
        overflow-y: auto;
        padding-top: 40px;
        z-index: 101;

        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s, visibility 0.4s;
    }

    /* メニューが開いた状態 */
    .sp-gnav-menu.is-open {
        opacity: 1;
        visibility: visible;
    }

    /* ナビゲーションリスト */
    .sp-gnav-list {
        list-style: none;
        padding: 10px var(--side-gutter);
    }

    /* 個々のナビゲーションアイテム */
    .sp-gnav-item {
        border-bottom: 1px solid rgba(51, 51, 51, 0.1);
        margin-bottom: 0;
    }

    .sp-gnav-item:last-child {
        border-bottom: none;
    }

    /* リンク (アイコン + テキスト) */
    .sp-gnav-item a {
        display: flex;
        align-items: center;
        text-decoration: none;
        color: var(--text-color);
        font-size: 0.9rem;
        padding: var(--side-gutter) 0;
    }

    /* アイコン画像 (SP用サイズ) */
    .sp-gnav-item img {
        width: 25px;
        height: 25px;
        object-fit: contain;
        margin-right: 15px;
    }

    /* テキスト部分 */
    .sp-gnav-item span {
        font-family: var(--font-Noto);
        font-size: var(--size-md);
    }
}



/* ======================================= */
/* 7. Footerセクションのスタイル (ロゴ追加・一列版) */
/* ======================================= */

.main-footer {
    background-color: #FFFFFF;
    padding: 30px 0;
}

.main-footer .inner {
    /* 1. Discographyのコンテナ幅(900px)ではなく、全体の最大幅に合わせつつpaddingで調整 */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* --- 【追加】中央ロゴのスタイル --- */
.footer-center-logo {
    text-align: center;
}

.footer-center-logo a {
    text-decoration: none;
}

.footer-logo-img {
    width: 100px;
    /* サイズはヘッダーに合わせて微調整してください */
    height: auto;
    display: inline-block;
    margin: 0 auto;
}

.footer-subtitle {
    font-size: 10px;
    color: var(--text-color);
    margin-top: 5px;
}

/* 2. 左右と中央を「完全な3等分」にして軸を固定する */
.social-links,
.footer-center-logo,
.copyright {
    flex: 1;
    width: 33.333%;
}



.copyright {
    text-align: right;
    white-space: nowrap;
    font-size: var(--size-sm);
    color: var(--text-color);
}

/* 左：SNSは左寄せ */
.social-links {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
}

.social-icon {
    display: block;
    text-decoration: none;
    transition: opacity 0.3s;
}

.social-img {
    width: 30px;
    height: 30px;
    display: block;
}

.social-icon:hover {
    opacity: 0.8;
}

/*media Queries 959
----------------------------------------------------*/
@media screen and (max-width: 959px) {
    .main-footer {
        padding: 30px 0 20px;

    }

    .main-footer .inner {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        padding: 0 var(--side-gutter);
    }

    .social-links,
    .footer-center-logo,
    .copyright {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .footer-center-logo {
        order: 1;
    }



    .social-links {
        order: 2;
        gap: 25px;
    }

    .copyright {
        order: 3;
        margin-top: 10px;
    }
}


/* ======================================= */
/* --- PAGE TOP：垂直線スタイル --- */
/* ======================================= */

.pagetop {
    position: fixed;
    right: 40px;
    bottom: 40px;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    /* 少し速めに */

    /* 丸ボタンのベース */
    width: 50px;
    height: 50px;
    background-color: rgba(51, 51, 51, 0.8);
    /* お好みで #9facea に変更可 */
    border-radius: 50%;
}

/* JSで表示される時の制御（そのまま活かします） */
.pagetop.is-show {
    opacity: 1;
    visibility: visible;
}

.pagetop a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    transition: transform 0.3s ease;
}

/* --- 山形（／＼）のデザイン --- */
/* lineとtextを隠しているなら、aタグの疑似要素で作ります */
.pagetop a::after {
    content: '';
    width: 10px;
    height: 10px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(-45deg);
    margin-top: 4px;
    /* 目見当で中央に見える微調整 */
}

/* PC：1360px以下の位置制御（あすみさんのロジックを継承） */
/* @media screen and (max-width: 1360px) {
    .pagetop {
        right: calc(50% - 660px);
    }
} */

/* 1320px以下：右端固定 */
@media screen and (max-width: 1320px) {
    .pagetop {
        right: 20px;
    }
}

/* ホバー演出（PC） */
@media (hover: hover) {
    .pagetop:hover {
        background-color: rgba(51, 51, 51, 1);
        transform: translateY(-5px);
    }
}

/* --- Media Queries 959 (SP) --- */
@media screen and (max-width: 959px) {
    .pagetop {
        right: 20px;
        bottom: 20px;
        /* SPでは少しだけコンパクトに */
        width: 45px;
        height: 45px;
    }

    .pagetop a::after {
        width: 8px;
        height: 8px;
        margin-top: 3px;
    }

    /* スマホでタップした時の余計な動きを防止 */
    .pagetop:hover {
        transform: none !important;
    }
}