@charset "utf-8";

.wrap {
    width: 100vw;
    height: 100vh;
    font-size: clamp(12px, .83vw, 16px);
    background: url(../images/bg.webp) no-repeat right center;
    background-size: cover;
}

.main {
    position: relative;
    transform: translateX(-50%);
    left: 50%;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.main.active {
    display: inline-flex;
}

.logo {
    position: relative;
    z-index: 1;
    display: block;
    width: 22.3125em;
    height: 15.312em;
    margin: 0 auto -4em;
    background: url(../images/logo-cn.png) no-repeat center;
    background-size: contain;
}
.en .logo{
    width: 31.25em;
    height: 17.5em;
    margin: 0 auto -8.2em;
    background: url(../images/logo-en.png) no-repeat center;
}

.content {
    position: relative;
    box-sizing: border-box;
    width: 60em;
    height: auto;
    padding: 4.5em 2.25em 2.5em;
    color: #fff;
    line-height: 1.5;
    background: url(../images/con-bg.webp) no-repeat center;
    background-size: 100% 100%;
}
.cn .content{
    padding: 4.5em 3.5em 2.5em;    
}
.en .con-b{
    font-size: clamp(12px, .73vw, 20px);
    color: #ccc;
}
.content a {
    color: #ef89ff;
}
.content a:hover {
    text-decoration: underline;
}
.con-t h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1em;
}
.con-t h3::before, .con-t h3::after {
    content: "";
    position: relative;
    top: 1px;
    display: block;
    width: 1.25em;
    height: 1.25em;
    background: url(../images/title-deco.png) no-repeat center;
    background-size: contain;
}
.con-t h3 strong {
    margin: 0 .5em;
    font-size: 1.5em;
    font-weight: bold;
    line-height: 1;
    text-align: center;
}
.con-t p {
    margin-bottom: 1em;
}
.con-t p span {
    display: flex;
}
.con-t p span::before {
    content: "";
    margin-top: .15em;
    width: 1.125em;
    height: 1.125em;
    margin-right: .5em;
    background: url(../images/deco.webp) no-repeat center;
    background-size: contain;
}
.margin {
    margin-top: 1em;
}

.btn {
    position: relative;
    z-index: 10;
    display: block;
    --img-w: 378;
    --h: 92;
    --app-w: 22em;
    width: var(--app-w);
    aspect-ratio: 378/92;
    margin: 1.2em auto 0;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    cursor: pointer;
    transition: filter .3s ease;
}
.ios {
    background-image: url(../images/ios.png);
}
.google {
    background-image: url(../images/gp.png);
}
.btn:hover {
    filter: brightness(1.1) drop-shadow(0 0 6px rgba(0, 0, 0, .5));
}

@media (max-width: 900px) {
    .wrap {
        font-size: clamp(12px, 4.27vw, 32px);
        background-image: url(../images/bg-m.webp);
        background-position: center top;
        background-size: 100% auto;
        background-color: #3a1d62;
        overflow-x: hidden;
    }

    .main {
        box-sizing: border-box;
        justify-content: flex-end;
        padding: 1.5em 0;
    }

    .content {
        width: 22em;
        min-height: inherit;
        padding: 3.5em 1.5em 1.5em;
        background-image: url(../images/con-bg-m.webp);
    }
    .content::before {
        top: -.4em;
        left: -.9em;
        width: 4em;
        height: 2em;
    }
    .content::after {
        bottom: -0.3em;
        right: -.38em;
        width: 5em;
        height: 6em;
    }
    
    .cn .content{
        padding: 3.5em 1.5em 1.5em;   
    }
    .headroom{
        max-height: 26em;
        overflow: auto;
    }
    .logo {
        width: 100%;
        height: 7em;
        margin-bottom: -3em;
    }
    .en .logo{
        width: 17.5em;
        height: 8.562em;
        margin: 0 auto -4em;
        background-size: cover;
    }
    .content * {
        font-size: clamp(10px, 3.2vw, 24px);
    }
    .btn {
        --app-w: 14em;
        margin-top: 1em;
    }
}

@supports not (aspect-ratio: 1) {
    .btn {
        height: calc(var(--app-w) * var(--h) / var(--img-w));
    }
}
