@charset "UTF-8";

/* 1. 全サイズ（PC〜SP）でmainの共通余白を消す */
main {
    padding-top: 0 !important;
}




/* ローディング画面 */
#loading {
    position: fixed;
    transform: translateY(40px);
    inset: 0;
    background: #f8f5f0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 1s ease;
}

/* 本体側の動画とロゴの初期状態 */
#heroVideo,
#heroContent {
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

/* 表示された時のクラス */
.is-visible {
    opacity: 1 !important;
}





.top-page-bg {
    position: relative;
    background-color: #f8f5f0;
    z-index: 0;
    overflow: hidden
}

.top-page-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../../img/Bak_TOP.jpg);
    background-position: center 400px;
    background-repeat: repeat;
    background-size: 2000px auto;
    opacity: 0.2;
    z-index: -1;
    pointer-events: none;

}


.hero-view {
    position: relative;
    width: 100%;
    height: 70vh;
    overflow: hidden;
}

/* 動画のコンテナ：親要素いっぱいに広げる */
.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: fadeInVideo 2.5s ease-in-out 0.5s forwards;
    opacity: 0;
    filter: blur(2px) !important;
    -webkit-filter: blur(2px) !important;
}

@keyframes fadeInVideo {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}


/* TOPロゴとテキスト */
.hero-content {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -40%) !important;
    z-index: 10;
    text-align: center;
    width: 100%;
    pointer-events: none;
    /* マスク設定：左から右へ現れるための仕掛け */
    -webkit-mask-image: linear-gradient(to right, black 50%, transparent 50%);
    mask-image: linear-gradient(to right, black 50%, transparent 50%);
    -webkit-mask-size: 200% 100%;
    mask-size: 200% 100%;
    -webkit-mask-position: 100% 0;
    mask-position: 100% 0;
    opacity: 0;
}

/* JSでこのクラスが付与されたらアニメーション開始 */
.hero-content.is-show {
    opacity: 1 !important;
    animation: revealLeft 4.5s ease-out forwards !important;
}

/* --- 2. アニメーションの動きを定義（左からふわっ） --- */
@keyframes revealLeft {
    0% {
        -webkit-mask-position: 100% 0;
        mask-position: 100% 0;
    }

    100% {
        -webkit-mask-position: 0% 0;
        mask-position: 0% 0;
    }
}

img.hero-logo-main {
    max-width: 300px;
    height: auto;
    opacity: 0.9;
}

.hero-subtitle {
    color: #fff;
    font-size: 1.2rem;
    letter-spacing: 0.2em;
    margin-top: 10px;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}


/*media Queries 768pxから1000pxの間
----------------------------------------------------*/
@media screen and (min-width: 768px) and (max-width: 1000px) {

    main {
        padding-top: 110px !important;
    }

    .top-page-bg::before {
        background-position: center top !important;
        top: 0;
    }

    /* 2. Heroエリアを上に吸い付かせる */
    .hero-view {
        margin-top: -80px !important;
        padding-top: 0 !important;
        height: 60vh !important;
    }

    /* 3. コンテナの余計な余白も排除 */
    .hero-video-container {
        padding-top: 0 !important;
        top: 0 !important;
    }

    /* 4. ローディングのズレもこの帯域で殺しておく */
    #loading {
        transform: none !important;
    }
}




/* ======================================= */
/* SP用　LOGOアニメーションの定義*/
/* ======================================= */
@keyframes shine {
    from {
        mask-position: 150%;
    }

    to {
        mask-position: -50%;
    }
}

/* 登場は「ふわっ」と（前回のものを少し微調整） */
@keyframes logoFadeInSimple {
    0% {
        opacity: 0;
        transform: translateY(5px);
    }

    100% {
        opacity: 0.8;
        transform: translateY(0);
    }
}

/*media Queries 767
----------------------------------------------------*/
@media screen and (max-width: 767px) {
    main {
        padding-top: 0px !important;
    }

    #loading {
        transform: none !important;
        top: 0 !important;
    }

    .loader-content {
        width: 100% !important;
        overflow: hidden;
    }

    .loading-piano {
        width: 280% !important;
        max-width: none !important;
        height: auto !important;
        margin-left: 50% !important;
        flex-shrink: 0;
        transform: translateX(-50%) !important;
    }


    /* --- ロゴのサイズと位置を画面幅に連動させる --- */
    img.hero-logo-main {
        position: relative !important;
        z-index: 99 !important;
        width: 60vw !important;
        max-width: 240px !important;
        height: auto;
        display: block !important;
        margin: 0 auto !important;
        background: linear-gradient(90deg, #fff, #ccc);
        -webkit-background-clip: text;
        color: transparent;
        mask-image: linear-gradient(120deg, transparent 30%, white 50%, transparent 70%);
        mask-size: 200%;
        animation: shine 6s linear infinite,
            logoFadeInSimple 1.5s ease-out forwards;
    }

    .top-page-bg::before {
        background-position: center top !important;
        background-size: 1500px auto !important;
        top: 0;
        height: 100%;
    }

    .hero-view {
        margin-top: 0 !important;
        padding-top: 0 !important;
        position: relative;
        z-index: 1;
        display: block !important;
        overflow: hidden;
        height: 50vh !important;
    }

    /* 2. 中のビデオコンテナ */
    .hero-video-container {
        position: absolute !important;
        top: 0 !important;
        left: 0;
        width: 100%;
        height: 100%;
        padding-top: 0 !important;
        transform: none !important;
    }

    .hero-video-container video {
        /* スマホではぼかしを0（なし）にする */
        filter: blur(0), brightness(0.9) !important;
        -webkit-filter: blur(0) !important;

    }

    .hero-view {
        margin-top: -20px !important;
    }

    .hero-subtitle {
        font-size: clamp(0.8rem, 3vw, 1rem) !important;
        margin-top: 5px;
    }

}





/* ======================================= */
/* TOP　共通項目
/* ======================================= */

.news-section,
.discography-section {
    padding: var(--section-gutter-pc) 0;
}


/* --- Moreボタン --- */

/* 配置の制御：PCでは右寄せ、余白を統一 */
.news-more-container,
.slider-more-container,
.discography-more-container {
    display: flex;
    justify-content: flex-end;
    margin-top: 40px;
    padding-right: 5px;

}


/* Moreボタン本体：シンプルな下線デザインに統一 */
.more-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-color) !important;
    font-family: var(--font-Jost);
    font-size: 1rem;
    letter-spacing: 0.2em;
    border: none;
    border-bottom: 1px solid var(--text-color);
    border-radius: 0;
    padding: 5px 0;
    background: none !important;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}


/* ホバー演出：右に少し動く */
.more-button:hover {
    transform: translateX(15px);
    opacity: 0.5;
}


/* 文字一文字ずつの設定 */
.section-title .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.8s linear;
    transition-delay: calc(0.1s * var(--char-index));
}


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



.section-title.reveal {
    display: flex;
    justify-content: center;
    gap: 0;
    align-items: baseline;
    gap: 0;
    width: 100%;
    margin-bottom: 10px;
}


.section-subtitle {
    display: block;
    text-align: center;
    width: 100%;
    margin: 0;
}

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

    .news-section,
    .discography-section {
        padding-top: 60px;
    }


    .news-more-container,
    .slider-more-container,
    .discography-more-container {
        justify-content: center;
        margin-top: 30px;
        padding-right: 0;
    }

    .more-button:hover {
        transform: none !important;
        opacity: 1 !important;
    }

}



/* ======================================= */
/* NEWSセクションのスタイル */
/* ======================================= */


/* 横並びのコンテナ */
.news-flex-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1300px;
    margin: 0 auto;
    padding: 120px 4%;
}

/* 左側：タイトルエリア */
.news-left {
    width: 25%;
    /* 幅を少し狭めて、右側との距離を作ります */
    position: sticky;
    top: 150px;
    margin-right: 10%;
}

.news-left .section-title {
    font-size: 5rem;
    font-family: var(--font-Jost);
    line-height: 1;
    margin-bottom: 10px;
    text-align: left;
    letter-spacing: 0.1em;
    font-weight: 350;
}

.news-left .section-subtitle {
    font-size: 0.9rem;
    color: var(--text-color);
    letter-spacing: 0.3em;
    padding-left: 5px;
}

/* 右側：リストエリア */
.news-right {
    width: 65%;
}

.news-list {
    margin-bottom: 40px;
}

.news-item {
    display: flex;
    align-items: center;
    padding: 40px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    text-decoration: none;
    transition: all 0.4s ease;
    /* 変化をなめらかに */
    margin: 0 -30px;
}

.news-item:last-child {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.news-date {
    width: 120px;
    font-size: 1.1rem;
    font-family: var(--font-Jost);
    color: var(--text-color);
    font-weight: 400;
    opacity: 0.6;
}

.news-text {
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-color);
    letter-spacing: 0.03em;
}

/* ホバー演出：Music Creatorらしい少しドラマチックな動き */
.news-item:hover {
    background-color: #1a1a1a;
    padding-left: 45px;
}

.news-item:hover .news-date,
.news-item:hover .news-text {
    color: #ffffff;
    opacity: 1;
}





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

    .news-section {
        padding-bottom: 30px !important;
        margin-bottom: 30px !important;
    }

    .news-flex-container {
        flex-direction: column;
        align-items: center;
        padding: 40px 20px !important;
    }

    /* タイトルエリアを中央に */
    .news-left {
        width: 100%;
        display: block;
        text-align: center;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        position: static;
        margin-bottom: 40px;
    }

    .news-left .section-title {
        font-size: 2.0rem;
        font-weight: 350;
        letter-spacing: 0.15em;
        margin-bottom: 5px;
        text-align: center;

    }

    .news-left .section-subtitle {
        text-align: center;
        font-size: 0.9rem;
        padding-left: 0;
    }


    /* 記事エリアを横幅いっぱいに */
    .news-right {
        width: 100%;
    }

    .news-item {
        flex-direction: column;
        align-items: flex-start;
        margin: 0;
        padding: 20px 0 !important;
    }

    .news-date {
        width: auto;
        margin-bottom: 8px;
        font-size: 0.8rem;
    }

    .news-text {
        font-size: 1rem;
        line-height: 1.6;
    }



    .more-button {
        padding: 10px 20px;
        font-size: 1.1rem;
    }

    /* スマホでは背景色変化やズレを抑える（誤操作防止） */
    .news-item:hover {
        padding-left: 0;
        background-color: transparent;
    }

    /* 文字色のホバー演出もSPではリセットする */
    .news-item:hover .news-date,
    .news-item:hover .news-text {
        color: var(--text-color);
        opacity: 0.6;
    }

    .news-item:hover .news-text {
        opacity: 1;
    }

}



/* ======================================= */
/* 4. メインスライダーのスタイル (Slick用) */
/* ======================================= */


.main-slider {
    padding: 60px 0;
    background-color: transparent;
    width: 100%;
    margin-bottom: var(--section-gutter-pc);
    overflow: hidden;
}

.main-slider .section-title .char {
    font-size: 5rem;
    font-family: var(--font-Jost);
    line-height: 1;
    text-align: center;
    letter-spacing: 0.1em;
    margin-bottom: 0px;
    font-weight: 350;
}


/* 日本語部分 */
.main-slider .section-subtitle {
    display: block;
    font-size: 1rem;
    font-family: var(--font-noto);
    letter-spacing: 0.3em;
    margin-top: 0px;
    margin-bottom: 50px;
    text-transform: none;
    font-weight: 350;
}

.slider-container {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 40px 0;
    background-color: #1a1a1a;
    overflow: hidden;
}


.slider-container .slick-list {
    width: 94%;
    margin: 0 auto;
    overflow: visible;
}


/* 上の帯 */
.slider-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background-color: #1a1a1a;
    z-index: 20;
}

/* 下の帯 */
.slider-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background-color: #1a1a1a;
    z-index: 20;
}


/* ドット全体のコンテナ */
.slick-dots {
    bottom: 0 !important;
    transform: translateY(35px) !important;
    position: absolute !important;
    width: 100%;
    display: flex !important;
    justify-content: center;
    list-style: none;
    z-index: 30;

}

/* ドットの基本形状（細い線にする） */
.slick-dots li {
    width: 30px !important;
    height: 2px !important;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 5px !important;
    transition: all 0.3s ease;
}

/* アクティブな（今表示されてる）ドット */
.slick-dots li.slick-active {
    background: #fff !important;
    width: 50px !important;
}

/* slickが生成するデフォルトの円を消す魔法 */
.slick-dots li button:before {
    display: none !important;
}



.slider-item {
    padding: 0 15px;
    box-sizing: border-box;
    overflow: hidden;
}

.slider-item a {
    display: block;
    line-height: 0;
    position: relative;
    background-color: #000;
}



.slider-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.8) saturate(0.6) contrast(0.9) sepia(0.1);
    transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}



/* --- 1. 画像の色を戻す --- */
.slick-center img,
.slider-item:hover img {
    filter: brightness(0.6) saturate(0.6);
    transform: scale(1.05);
}



/* --- 2. 膜(::after)を消す --- */
.slick-center .slider-item a::after,
.slider-item:hover a::after {
    opacity: 0 !important;
}



.slide-arrow {
    background-color: var(--main-color);
    bottom: 0;
    height: 0;
    margin: auto;
    position: absolute;
    top: 0;
    width: 0;
}


.prev-arrow {
    border-bottom: 15px solid var(--main-color);
    border-left: 0;
    border-right: 15px solid #333;
    border-top: 15px solid var(--main-color);
    left: -25px;
}

.next-arrow {
    border-bottom: 15px solid var(--main-color);
    border-left: 15px solid #333;
    border-right: 0;
    border-top: 15px solid var(--main-color);
    right: -25px;
}

button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    padding: 0;
}


/* ======================================= */
/* スライダーのホバー演出*/
/* ======================================= */

/* ホバーでタイトルを表示 */
.slider-item a {
    position: relative;
    overflow: hidden;
    display: block;
}


/* スライダー用の情報オーバーレイ */
.slider-info {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 15, 0.7);

    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    padding: 20px;
    box-sizing: border-box;
    z-index: 2;
}

/* ホバーした時に表示 */
.slider-item:hover .slider-info {
    opacity: 1;
}



/* カテゴリとタイトルの装飾（Jostフォントを使用） */
.slider-info .category {
    font-family: var(--font-Jost);
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    margin-bottom: 10px;
    display: block;
}

.slider-info .title {
    font-family: var(--font-noto);
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.4;
}

/* コンテンツの最大幅と中央揃え */
.main-slider .inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 var(--contents-gutter);
}



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

    /* 1. 黒い帯が邪魔をしないように一旦消す */
    .slider-container::before,
    .slider-container::after {
        display: none !important;
    }

    .main-slider .section-title .char {
        font-size: 2.0rem;
        font-weight: 350;
        letter-spacing: 0.15em;
        margin-bottom: 5px;
        text-align: center;
    }

    /* 日本語部分 */
    .main-slider .section-subtitle {
        font-size: 0.9rem;
        letter-spacing: 0.3em;
        padding-left: 5px;
    }


    .main-slider {
        margin-top: 40px !important;
        margin-bottom: 40px !important;
        width: 100%;
    }

    .main-slider .inner {
        padding: 0 32px;
    }


    .slider-container {
        padding: 30px 0 !important;
    }

    .slider-item img {
        height: auto;
        aspect-ratio: 16 / 9;
        object-fit: cover;
        opacity: 1 !important;
        visibility: visible !important;
        filter: brightness(0.95) saturate(0.8) contrast(0.95) sepia(0);
    }


    /* 黒い幕と曲情報を完全に消す */
    .slider-info {
        display: none !important;
    }

    /* タップした時に画像が暗くなるPC用の設定を解除（明るさを維持） */
    .slick-center img,
    .slider-item:active img,
    .slider-item:hover img {
        filter: brightness(0.95) saturate(0.95) !important;
        transform: scale(1.0) !important;
    }

    /* aタグの背景色（黒）が透けるのを防ぐ */
    .slider-item a {
        background-color: transparent !important;
    }


    .prev-arrow,
    .next-arrow {
        display: none !important;
    }


}


/* ======================================= */
/* 6. Discographyセクションのスタイル */
/* ======================================= */
.discography-header {
    text-align: center;
    margin-bottom: 80px;
    /* 下の画像リストとの距離 */
}

.discography-section {
    padding-bottom: var(--section-gutter-pc);
    background-color: var(--main-bg-color);
}

/* コンテンツの最大幅と中央揃え */
.discography-section .inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 var(--contents-gutter);
}


.discography-section .section-title .char {
    font-size: 5rem;
    font-family: var(--font-Jost);
    line-height: 1.3;
    margin-bottom: 10px;
    text-align: center;
    letter-spacing: 0.1em;
    margin-bottom: 0px;
    font-weight: 350;
}

.discography-section .section-subtitle {
    display: block;
    font-size: 0.9rem;
    font-family: var(--font-noto);
    letter-spacing: 0.3em;
    margin-top: 10px;
    text-transform: none;
    margin-bottom: 50px;
}






/* --- ディスコグラフィーリスト (3列レイアウト) --- */
.discography-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 80px;
    margin-bottom: var(--section-gutter-pc);
}

/* 個別アイテム（リンク全体） */
.discography-item {
    display: block;
    text-decoration: none;
    line-height: normal;
    color: var(--text-color);
    position: relative;
    /* 子要素のabsoluteの基準点 */
    overflow: hidden;
}

/* 画像スタイル */
.discography-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease;
    margin-bottom: 0;
}

/* ホバー時の挙動 */
.discography-item:hover .discography-info {
    opacity: 1;
    /* マウスを載せた時だけ表示 */
}

.discography-item:hover .discography-image {
    transform: scale(1.05);
}

/* テキストエリア（オーバーレイ）のスタイル */
.discography-info {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
    box-sizing: border-box;
}

.discography-info .category {
    font-size: 1.4vw;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.discography-info .title {
    font-size: 1.8vw;
    font-weight: normal;
}

.more-button {
    background-color: var(--main-color);
}


/* --- PC最大文字サイズ： --- */
@media (min-width: 1200px) {
    .discography-info .category {
        font-size: var(--size-sm);
    }

    .discography-info .title {
        font-size: var(--size-md);
    }
}


/* --- Moreボタンのコンテナ --- */
.discography-more-container {
    display: flex;
    justify-content: flex-end;
    padding-right: var(--side-gutter);
}



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

    .discography-section .section-title .char {
        font-size: 2.0rem;
        font-weight: 350;
        letter-spacing: 0.15em;
        margin-bottom: 5px;
        text-align: center;

    }

    .discography-section .inner {
        padding: 0 32px;
    }

    .discography-image {
        margin-bottom: 20px;
    }

    .discography-item {
        width: 100%;
        max-width: 300px;
        /* ← 画像が大きくなりすぎないようガード */
        margin: 0 auto;
        display: block;
    }


    .discography-list {
        grid-template-columns: 1fr;
        gap: 40px !important;
        /* 広すぎる余白を固定値でスッキリさせる */
        margin-bottom: 40px;
    }

    .discography-info {
        position: static;
        opacity: 1 !important;
        visibility: visible;
        background: none;
        color: var(--text-color);
        display: block;
        height: auto;
        width: 100%;
        padding: 10px 0 0;
        text-align: center;
    }


    .discography-info .category {
        font-size: 12px !important;
        margin-bottom: 6px;
    }

    .discography-info .title {
        font-size: 15px !important;
    }

    .discography-more-container {
        justify-content: center;
        padding-right: 0;
        margin-top: 20px;
    }

    /* --- 画像のズームアップを止める --- */
    .discography-item:hover .discography-image {
        transform: none !important;
    }

    /* --- 文字エリアの透明度を固定する --- */
    .discography-item:hover .discography-info {
        opacity: 1 !important;
    }


}