@charset "UTF-8";

/* ========================================
   index.html専用レスポンシブ
======================================== */


/* ========================================
   1400px以下
======================================== */

@media screen and (max-width: 1400px) {

    /*
     * PCの中でも画面が少し狭い場合
     * メイン画像を中央基準で表示
     */

    .main-visual-main-image {
        object-position: center center;
    }


    /* Beスポーツとは */

    .floating-image-card-01 {
        --image-width:
            clamp(
                135px,
                14vw,
                220px
            );

        top: auto;
        right: 2%;
        bottom: 8%;
        left: auto;
    }


    /* 動画編集 */

    .floating-image-card-02 {
        --image-width:
            clamp(
                135px,
                13vw,
                205px
            );

        top: 9%;
        right: auto;
        bottom: auto;
        left: 4%;
    }


    /* AI MUSIC */

    .floating-image-card-03 {
        --image-width:
            clamp(
                120px,
                12vw,
                185px
            );

        top: 34%;
        right: auto;
        bottom: auto;
        left: 3%;
    }


    /* Creative */

    .floating-image-card-04 {
        --image-width:
            clamp(
                110px,
                11vw,
                170px
            );

        top: auto;
        right: auto;
        bottom: 6%;
        left: 3%;
    }


    /* PLAY eゲーム */

    .floating-image-card-05 {
        --image-width:
            clamp(
                92px,
                9vw,
                145px
            );

        top: auto;
        right: auto;
        bottom: 26%;
        left: 4%;
    }


    /* ご利用の流れ */

    .floating-image-card-06 {
        --image-width:
            clamp(
                140px,
                14vw,
                215px
            );

        top: 8%;
        right: 2%;
        bottom: auto;
        left: auto;
    }


    /* スタッフ */

    .floating-image-card-07 {
        --image-width:
            clamp(
                105px,
                10vw,
                160px
            );

        top: 35%;
        right: 2%;
        bottom: auto;
        left: auto;
    }


    /* お問い合わせ */

    .floating-image-card-08 {
        --image-width:
            clamp(
                95px,
                9vw,
                150px
            );

        top: auto;
        right: 5%;
        bottom: 2%;
        left: auto;
    }

}


/* ========================================
   1100px以下
======================================== */

@media screen and (max-width: 1100px) {

    /*
     * ヘッダー部分はresponsive/common.cssで管理
     * ここではトップページだけ調整
     */

    .main-visual {

    padding: 0;
    }

    .main-visual-main-image {
        object-position: center center;
    }


    /* Beスポーツとは */

    .floating-image-card-01 {
        --image-width:
            clamp(
                120px,
                17vw,
                185px
            );

        top: auto;
        right: 2%;
        bottom: 9%;
        left: auto;
    }


    /* 動画編集 */

    .floating-image-card-02 {
        --image-width:
            clamp(
                115px,
                16vw,
                175px
            );

        top: 12%;
        right: auto;
        bottom: auto;
        left: 3%;
    }


    /* AI MUSIC */

    .floating-image-card-03 {
        --image-width:
            clamp(
                105px,
                15vw,
                160px
            );

        top: 35%;
        right: auto;
        bottom: auto;
        left: 2%;
    }


    /* Creative */

    .floating-image-card-04 {
        --image-width:
            clamp(
                98px,
                14vw,
                150px
            );

        top: auto;
        right: auto;
        bottom: 6%;
        left: 2%;
    }


    /* PLAY eゲーム */

    .floating-image-card-05 {
        --image-width:
            clamp(
                82px,
                12vw,
                125px
            );

        top: auto;
        right: auto;
        bottom: 27%;
        left: 3%;
    }


    /* ご利用の流れ */

    .floating-image-card-06 {
        --image-width:
            clamp(
                120px,
                17vw,
                185px
            );

        top: 12%;
        right: 2%;
        bottom: auto;
        left: auto;
    }


    /* スタッフ */

    .floating-image-card-07 {
        --image-width:
            clamp(
                95px,
                13vw,
                145px
            );

        top: 36%;
        right: 2%;
        bottom: auto;
        left: auto;
    }


    /* お問い合わせ */

    .floating-image-card-08 {
        --image-width:
            clamp(
                88px,
                12vw,
                135px
            );

        top: auto;
        right: 4%;
        bottom: 2%;
        left: auto;
    }

}

/* ========================================
   タブレット 900px以下
======================================== */

@media screen and (max-width: 900px) {
    /* PC専用改行は900px以下で隠す */
    br.facility-pc-break {
        display: none;
    }
    .main-visual {

    padding: 0;
    }

    /*
     * 背景画像は画面全面表示
     * タブレットでは中央の人物を優先
     */

    .main-visual-main-image {
        width: 100%;
        height: 100%;

        object-fit: cover;
        object-position: center center;
    }


    /*
     * 背景を少し暗くして
     * 浮遊画像を見やすくする
     */

    .main-visual-filter {
        background:
            linear-gradient(
                90deg,
                rgb(2 4 8 / 38%),
                rgb(2 4 8 / 8%),
                rgb(2 4 8 / 38%)
            ),
            radial-gradient(
                circle at 50% 42%,
                transparent 20%,
                rgb(3 5 10 / 38%) 100%
            );
    }


    /* Beスポーツとは */

    .floating-image-card-01 {
        --image-width:
            clamp(
                105px,
                23vw,
                170px
            );

        top: auto;
        right: 2%;
        bottom: 9%;
        left: auto;
    }


    /* 動画編集 */

    .floating-image-card-02 {
        --image-width:
            clamp(
                100px,
                22vw,
                160px
            );

        top: 13%;
        right: auto;
        bottom: auto;
        left: 2%;
    }


    /* AI MUSIC */

    .floating-image-card-03 {
        --image-width:
            clamp(
                90px,
                20vw,
                145px
            );

        top: 35%;
        right: auto;
        bottom: auto;
        left: 1%;
    }


    /* Creative */

    .floating-image-card-04 {
        --image-width:
            clamp(
                85px,
                19vw,
                135px
            );

        top: auto;
        right: auto;
        bottom: 6%;
        left: 2%;
    }


    /* PLAY eゲーム */

    .floating-image-card-05 {
        --image-width:
            clamp(
                72px,
                16vw,
                112px
            );

        top: auto;
        right: auto;
        bottom: 27%;
        left: 3%;
    }


    /* ご利用の流れ */

    .floating-image-card-06 {
        --image-width:
            clamp(
                105px,
                23vw,
                170px
            );

        top: 13%;
        right: 2%;
        bottom: auto;
        left: auto;
    }


    /* スタッフ */

    .floating-image-card-07 {
        --image-width:
            clamp(
                82px,
                18vw,
                130px
            );

        top: 36%;
        right: 1%;
        bottom: auto;
        left: auto;
    }


    /* お問い合わせ */

    .floating-image-card-08 {
        --image-width:
            clamp(
                78px,
                17vw,
                120px
            );

        top: auto;
        right: 4%;
        bottom: 2%;
        left: auto;
    }


    /*
     * タブレットではマウスホバーによる拡大を弱める
     */

    .floating-image-card:hover
    .floating-image-motion {
        transform:
            translateY(-4px)
            scale(1.03);
    }


    /*
     * スクロール表示は画像と重なりやすいため非表示
     */

    .scroll-guide {
        display: none;
    }


/* 施設紹介・スマホ */

.facility-gallery .section-heading {
    margin-bottom: 34px;
}

.facility-catchcopy {
    margin-top: 18px;

    font-size:
        clamp(
            1.35rem,
            6vw,
            1.75rem
        );

    line-height: 1.55;
}

.facility-gallery .section-description {
    margin-top: 16px;

    font-size:
        clamp(
            0.78rem,
            3.8vw,
            0.92rem
        );

    line-height: 1.9;
    white-space: nowrap;
}
.facility-card-caption .facility-card-description_01 {
    width: 100%;
    max-width: 100%;
    min-width: 0;

    margin-top: 16px;

    font-size:
        clamp(
            0.6rem,
            3vw,
            0.8rem
        );

    line-height: 1.5;
    text-align: center;

    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
}
/* スマホでは専用改行を表示 */
br.facility-card_01{
    display: inline;
}
.facility-gallery-grid {
    grid-template-columns: 1fr;

    max-width: 620px;
    margin-right: auto;
    margin-left: auto;

    gap: 26px;
}

.facility-card-figure {
    height: auto;

    overflow: hidden;

    border-radius: 16px;
}

.facility-card-image-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;

    border-radius: 15px 15px 0 0;
}

.facility-card-image {
    min-height: 0;
}

.facility-card-caption {
    padding: 20px 18px 22px;
}

.facility-card-number {
    margin-bottom: 8px;

    font-size: 0.72rem;
}

.facility-card-caption h3 {
    min-height: 0;

    font-size: 1.05rem;
    line-height: 1.5;
}

.facility-card-caption p {
    margin-top: 10px;

    font-size: 0.88rem;
    line-height: 1.8;
}
/* 施設紹介・タブレット */

.facility-gallery-grid {
    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 24px;
}

.facility-card-caption {
    padding: 22px;
}

.facility-card-caption h3 {
    font-size: 1.1rem;
}
/* PC専用改行はタブレット・スマホでは隠す */
br.facility-pc-break {
    display: none;
}
}
/* ========================================
   スマホ横向き
======================================== */

@media screen
and (max-width: 900px)
and (orientation: landscape)
and (max-height: 520px) {

    .main-visual {

    padding: 0;
    }

    .main-visual-main-image {
        object-position: center 35%;
    }


    /* 左側 */

    .floating-image-card-02 {
        --image-width: 105px;

        top: 18%;
        left: 2%;
    }

    .floating-image-card-03 {
        --image-width: 92px;

        top: 43%;
        left: 1%;
    }

    .floating-image-card-04 {
        --image-width: 82px;

        bottom: 3%;
        left: 2%;
    }

    .floating-image-card-05 {
        --image-width: 70px;

        bottom: 20%;
        left: 14%;
    }


    /* 右側 */

    .floating-image-card-06 {
        --image-width: 105px;

        top: 18%;
        right: 2%;
    }

    .floating-image-card-07 {
        --image-width: 82px;

        top: 43%;
        right: 1%;
    }

    .floating-image-card-01 {
        --image-width: 105px;

        right: 2%;
        bottom: 4%;
    }

    .floating-image-card-08 {
        --image-width: 75px;

        right: 14%;
        bottom: 1%;
    }

}



/* ========================================
   スマホ 768px以下
======================================== */
@media screen and (max-width: 768px) {
/* 施設紹介・スマホ */

.facility-card-caption p {
    margin-top: 10px;

    font-size: 0.88rem;
    line-height: 1.8;
}
 br.facility-sp-break {
        display: inline;
    }

    /* 施設紹介の説明文をカード内で折り返す */
    .facility-card-caption p,
    .facility-card-caption .facility-card-description_01 {
        width: 100%;
        max-width: 100%;
        min-width: 0;

        white-space: normal;
        overflow-wrap: anywhere;
        word-break: normal;
    }
}
/* ========================================
   高さが低い画面
======================================== */

@media screen and (max-height: 700px)
and (min-width: 601px) {

    /*
     * ノートPCなど高さが低い画面では
     * 上下の画像を少し内側へ寄せる
     */

    .floating-image-card-01 {
        bottom: 5%;
    }

    .floating-image-card-02 {
        top: 14%;
    }

    .floating-image-card-03 {
        top: 37%;
    }

    .floating-image-card-04 {
        bottom: 3%;
    }

    .floating-image-card-05 {
        bottom: 23%;
    }

    .floating-image-card-06 {
        top: 14%;
    }

    .floating-image-card-07 {
        top: 37%;
    }

    .floating-image-card-08 {
        bottom: 1%;
    }

}



/* ========================================
   スマホ 600px以下
======================================== */

@media screen and (max-width: 600px) {

    .main-visual {

    padding: 0;
    }


    /*
     * スマホでは縦画面になるため
     * 中央の人物を維持してトリミング
     */

    .main-visual-main-image {
        width: 100%;
        height: 100%;

        object-fit: cover;
        object-position: center top;
    }


    /*
     * スマホでは両端の画像を読みやすくするため
     * 中央より両端を少し暗くする
     */

    .main-visual-filter {
        background:
            linear-gradient(
                90deg,
                rgb(2 4 8 / 46%),
                rgb(2 4 8 / 10%),
                rgb(2 4 8 / 46%)
            ),
            linear-gradient(
                to bottom,
                rgb(2 4 8 / 18%),
                transparent 30%,
                transparent 68%,
                rgb(2 4 8 / 32%)
            );
    }


    /*
     * 浮遊移動量を少なくする
     */

    .floating-image-motion {
        animation-name:
            floatingImageMoveMobile;
    }


    /* Beスポーツとは */

    .floating-image-card-01 {
        --image-width:
            clamp(
                78px,
                27vw,
                120px
            );

        top: auto;
        right: 1%;
        bottom: 8%;
        left: auto;
    }


    /* 動画編集 */

    .floating-image-card-02 {
        --image-width:
            clamp(
                76px,
                26vw,
                115px
            );

        top: 14%;
        right: auto;
        bottom: auto;
        left: 1%;
    }


    /* AI MUSIC */

    .floating-image-card-03 {
        --image-width:
            clamp(
                67px,
                23vw,
                102px
            );

        top: 35%;
        right: auto;
        bottom: auto;
        left: 0;
    }


    /* Creative */

    .floating-image-card-04 {
        --image-width:
            clamp(
                64px,
                22vw,
                96px
            );

        top: auto;
        right: auto;
        bottom: 5%;
        left: 1%;
    }


    /* PLAY eゲーム */

    .floating-image-card-05 {
        --image-width:
            clamp(
                54px,
                18vw,
                82px
            );

        top: auto;
        right: auto;
        bottom: 25%;
        left: 2%;
    }


    /* ご利用の流れ */

    .floating-image-card-06 {
        --image-width:
            clamp(
                78px,
                27vw,
                120px
            );

        top: 14%;
        right: 1%;
        bottom: auto;
        left: auto;
    }


    /* スタッフ */

    .floating-image-card-07 {
        --image-width:
            clamp(
                64px,
                21vw,
                96px
            );

        top: 36%;
        right: 0;
        bottom: auto;
        left: auto;
    }


    /* お問い合わせ */

    .floating-image-card-08 {
        --image-width:
            clamp(
                60px,
                20vw,
                90px
            );

        top: auto;
        right: 3%;
        bottom: 1.5%;
        left: auto;
    }


    /*
     * タッチ端末ではホバー拡大を無効化
     */

    .floating-image-card:hover
    .floating-image-motion {
        transform: none;
    }

    .floating-image-card:hover
    .floating-image {
        transform: none;
    }
/* インフォメーション */

.information-item-static .information-title {
    font-size: 0.82rem;
    line-height: 1.65;
}

    /* 公式SNS */

    .sns-list {
        grid-template-columns:
            repeat(4, minmax(0, 1fr));

        gap: 6px;
    }

    .sns-link {
        gap: 6px;

        min-width: 0;
        min-height: 100px;

        padding: 10px 2px;
    }

    .sns-icon-img {
        width: clamp(42px, 13vw, 64px);
        height: clamp(42px, 13vw, 64px);
    }

    .sns-name {
        font-size: clamp(0.58rem, 2.4vw, 0.75rem);
        white-space: nowrap;
    }

}


/* ========================================
   小型スマホ 400px以下
======================================== */

@media screen and (max-width: 400px) {

    .floating-image-card-01 {
        --image-width: 88px;

        right: 1%;
        bottom: 8%;
    }

    .floating-image-card-02 {
        --image-width: 84px;

        top: 14%;
        left: 1%;
    }

    .floating-image-card-03 {
        --image-width: 73px;

        top: 35%;
        left: 0;
    }

    .floating-image-card-04 {
        --image-width: 70px;

        bottom: 5%;
        left: 1%;
    }

    .floating-image-card-05 {
        --image-width: 60px;

        bottom: 25%;
        left: 2%;
    }

    .floating-image-card-06 {
        --image-width: 88px;

        top: 14%;
        right: 1%;
    }

    .floating-image-card-07 {
        --image-width: 70px;

        top: 36%;
        right: 0;
    }

    .floating-image-card-08 {
        --image-width: 66px;

        right: 3%;
        bottom: 1.5%;
    }

}



/* ========================================
   スマホ用浮遊アニメーション
======================================== */

@keyframes floatingImageMoveMobile {

    0%,
    100% {
        transform:
            translate3d(0, 0, 0)
            rotate(-0.3deg);
    }

    50% {
        transform:
            translate3d(0, -5px, 0)
            rotate(0.3deg);
    }

}


/* ========================================
   動きを減らす設定
======================================== */

@media (prefers-reduced-motion: reduce) {

    .floating-image-card,
    .floating-image-motion,
    .floating-image {
        animation: none !important;
        transition: none !important;
    }

}


/* 「好きなことから未来のチカラに」を上へ移動 */

@media screen and (max-width: 1400px) {

    .floating-image-card-01 {
        bottom: 14%;
    }

}
@media screen
and (max-width: 900px)
and (orientation: landscape)
and (max-height: 520px) {

    .floating-image-card-01 {
        bottom: 12%;
    }

}
@media screen and (max-width: 600px) {

    .floating-image-card-01 {
        bottom: 16%;
    }

}

