@charset "utf-8";

.wrap {
    width: 100vw;
    height: 100vh;
    font-size: clamp(14px, .83vw, 20px);
    background: url(../images/bg.webp) no-repeat center;
    background-size: cover;
}

.main {
    position: relative;
    left: 19%;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.logo {
    display: block;
    width: 39.5em;
    height: 10.375em;
    margin: 0 auto 1.875em;
    background: url(../images/logo.png) no-repeat center;
    background-size: contain;
}

.content {
    position: relative;
    box-sizing: border-box;
    width: 44.375em;
    height: auto;
    min-height: 31.875em;
    padding: 2.5em 2.25em;
    color: #8e3f20;
    line-height: 1.8;
    background: url(../images/con-bg.webp) no-repeat center;
    background-size: 100% 100%;
}
.content::before, .content::after {
    content: '';
    position: absolute;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}
.content::before {
    top: -1em;
    left: -1.625em;
    width: 6.875em;
    height: 3.25em;
    background-image: url(../images/hua1.webp);
}
.content::after {
    bottom: -.75em;
    right: -.38em;
    width: 8.75em;
    height: 10.375em;
    background-image: url(../images/hua2.webp);
}
.content a {
    color: #ff0f00;
}
.content a:hover {
    text-decoration: underline;
}
.line {
    width: 100%;
    height: .625em;
    margin: 2em auto;
    background: url(../images/wire.png) no-repeat center;
    background-size: contain;
}
.margin {
    margin-top: 1em;
}

.btn {
    position: relative;
    z-index: 10;
    display: block;
    width: 18.75em;
    height: 5.25em;
    margin: 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/google.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);
        overflow-x: hidden;
    }

    .main {
        left: 0;
        box-sizing: border-box;
        display: flex;
        justify-content: space-between;
        padding: 1.5em 0;
    }

    .content {
        width: 22em;
        min-height: inherit;
        padding: 1.5em;
    }
    .content::before {
        top: -.4em;
        left: -.9em;
        width: 4em;
        height: 2em;
    }
    .content::after {
        bottom: -0.3em;
        right: -.38em;
        width: 5em;
        height: 6em;
    }
    .logo {
        width: 100%;
        height: 5em;
        margin-bottom: 0;
    }
    .content * {
        font-size: clamp(10px, 3.2vw, 24px);
    }
    .btn {
        width: 13.25em;
        height: 3.75em;
        margin-top: 1em;
    }
    .line {
        height: .5em;
        margin: 1em auto;
    }
}