* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --common-width: 25vw;
}

body {
    background-image: url("../image/background.png");
    background-size: contain;
    background-color: black;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

header {
    width: var(--common-width);
    display: flex;
    align-items: center;
    padding: 1vw;
}

header .logo {
    flex: 1;
}

header .logo img {
    height: 3vw;
    margin: 0 auto; 
    display: block;
}

main {
    width: var(--common-width);
    flex: 1;
    overflow: hidden;
    text-align: center;
}

main .title {
    width: 90%;
    margin: 0 auto;
}

main .swiper {
    position: relative;
    width: var(--common-width);
    overflow: hidden;
}

main .swiper-wrapper {
    display: flex;
}

main .swiper-slide img {
    width: 100%;
    min-width: 0;
    user-select: none;
    cursor: pointer;
}

footer {
    position: fixed;
    width: var(--common-width);
    bottom: 0;
    right: 0;
    left: 50%;
    z-index: 9;
    transform: translate(-50%);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1vw;
    padding: 1vw;
}

footer img {
    width: 100%;
}

@media (min-width:768px) and (max-width:1024px) {
    :root {
            --common-width: 65vw;
        }

    header .logo img {
            height: 8vw;
        }
}

@media screen and (max-width:768px) {
    body {
            width: 100vw;
            min-height: 750px;
            background-repeat: no-repeat;
            background-size: 100% 100%;
            object-fit: cover;
        }

    header {
            width: 100vw;
            left: 0;
            padding: 3vw;
        }

    header .logo img {
            height: 15vw;
        }

    main {
            width: 100vw;
            text-align: center;
        }

    main .swiper {
            width: 100vw;
        }

    main .swiper-slide img {
            width: 100vw;
        }

    footer {
            width: 100vw;
            gap: 3vw;
            padding: 3vw;
        }
}

@media screen and (max-width:390px) {
    main .swiper-slide img {
            width: 85vw;
        }
}
