/* ========================================
   基本設定
======================================== */

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


/* ========================================
   body
======================================== */

body {

    min-height: 100svh;

    display: flex;

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

    background:
        linear-gradient(
            180deg,
            #f7fbff,
            #eef8fb 45%,
            #f8f3ff
        );

    overflow: hidden;

    font-family:
        "Hiragino Sans",
        "Yu Gothic",
        sans-serif;
}


/* ========================================
   背景
======================================== */

#background {

    position: fixed;

    inset: 0;

    overflow: hidden;
}


#particles {

    position: absolute;

    inset: 0;
}


/* ========================================
   バナー配置
======================================== */

.wrapper {

    position: relative;

    z-index: 2;

    width: min(1400px, 92vw);

    display: flex;

    gap: 2vw;
}


/* ========================================
   バナー本体
======================================== */

.banner {

    position: relative;

    flex: 1;

    aspect-ratio: 16 / 9;

    border-radius: 12px;

    overflow: hidden;

    background: #ffffff22;

    backdrop-filter: blur(14px);

    text-decoration: none;

    box-shadow:
        0 18px 50px rgba(0,0,0,.1),
        0 0 35px rgba(215,186,96,.12);

    transition: .45s;
}


/* ========================================
   バナー画像
======================================== */

.banner img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: .6s;
}


/* ========================================
   バナー下部文字
======================================== */

.banner span {

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    padding: 1rem;

    color: #fff;

    background:
        linear-gradient(
            transparent,
            rgba(0,0,0,.55)
        );
}


/* ========================================
   枠線エフェクト
======================================== */

.banner::after {

    content: "";

    position: absolute;

    inset: 0;

    border:
        1px solid rgba(255,255,255,.35);

    border-radius: 12px;

    transition: .4s;
}


/* ========================================
   光が走るエフェクト
======================================== */

.banner::before {

    content: "";

    position: absolute;

    top: 0;

    left: -160%;

    width: 60%;

    height: 100%;


    background:
        linear-gradient(
            110deg,
            transparent,
            rgba(255,245,180,.8),
            transparent
        );

    transform: skewX(-20deg);
}


/* ========================================
   ホバー演出
======================================== */

.banner:hover {

    transform: scale(1.00);

    box-shadow:
        0 25px 60px rgba(0,0,0,.15),
        0 0 40px rgba(255,220,120,.35);
}


.banner:hover img {

    transform: scale(1.03);
}


.banner:hover::before {

    left: 180%;

    transition: 1s;
}


.banner:hover::after {

    border-color:
        rgba(255,235,170,.95);

    box-shadow:
        0 0 16px rgba(255,225,140,.7),
        0 0 32px rgba(255,225,140,.3);
}


/* ========================================
   背景パーティクル
======================================== */

.particle {

    position: absolute;

    border-radius: 50%;

    filter: blur(35px);

    opacity: .22;

    background:
        radial-gradient(
            circle,
            rgba(255,255,255,.9),
            rgba(255,255,255,.3),
            transparent
        );
}


/* ========================================
   スマートフォン縦表示
======================================== */

@media screen and (max-device-width:1281px)
and (orientation: portrait) {


    body {

        overflow: auto;

        align-items: center;
    }


    .wrapper {

        width: 94vw;

        flex-direction: column;

        justify-content: center;

        padding: 5vh 0;
    }


    .banner {

        width: 100%;
    }

}
