html, body {
    margin: 0;
    padding: 0;
    height: 100vh;
    font-family: "AGE-R Default", system-ui;
}

:root {
    --red01: #C2102F;
    --gray100: #F4F6F9;
    --gray200: #EAECEE;
    --gray500: #292828;
    --gray50: #F8F8F8;
    --white: #FFFF;

    --font-size-xl: 110px;
    --font-size-lg: 45px;
    --font-size-md: 40px;
    --font-size-sm: 35px;
    --font-size-xs: 26px;

    --logo-image-width: 200px;
    --button-group-gap: 24px;
    --header-height: 1080px;
    --button-width: 240px;
    --button-height: 78px;
    --info-image-width: 320px;
    --footer-padding: 200px;
    --footer-button-title-gap: 64px;
}

@media(max-width: 1024px) {
    :root {
        --font-size-xl: 52px;
        --font-size-lg: 22px;
        --font-size-md: 20px;
        --font-size-sm: 18px;
        --font-size-xs: 16px;

        --logo-image-width: 112px;
        --button-group-gap: 16px;
        --header-height: 640px;
        --button-width: 276px;
        --button-height: 64px;
        --info-image-width: 238px;
        --footer-padding: 100px 64px 126px;
        --footer-button-title-gap: 40px;
    }
}

::-webkit-scrollbar {
    width: 0;
    display: none;
    scrollbar-width: none;

    --webkit-appearance: none;
}

* {
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: rgba(255 255 255 / 0%);
    user-select: none;
    -webkit-user-drag: none;
}

h1,
h2,
h3,
h4,
h5 {
    margin: 0;
    padding: 0;
}

a {
    color: inherit;
    text-decoration: inherit;
    height: 0;
}

img {
    width: 100%;
}

button {
    border: none;
    margin: 0;
    padding: 0;
    width: auto;
    overflow: visible;

    background: transparent;

    color: inherit;
    font: inherit;

    line-height: normal;

    -webkit-font-smoothing: inherit;
    -moz-osx-font-smoothing: inherit;

    -webkit-appearance: none;
    cursor: pointer;
}

button::-moz-focus-inner {
    border: 0;
    padding: 0;
}

header {
    position: relative;
    height: var(--header-height);
}

.header-video {
    position: absolute;
    top: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header-title {
    display: flex;
    flex-direction: column;
    place-items: center;
    text-align: center;
    gap: 16px;
    color: var(--white);
}

.header-title > img {
    max-width: var(--logo-image-width);
    width: calc(100% - 64px);
}


.foreground-cover {
    display: flex;
    flex-direction: column;
    place-content: end;
    gap: 32px;
    position: absolute;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 64%);
    width: 100%;
    height: 100%;
}
.foreground-cover > img {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 480px;
    object-fit: contain;
}

main {
    display: flex;
    flex-direction: column;
    gap: 73px;
    overflow: hidden;
    background: var(--gray200);
    padding-top: 100px;
    padding-bottom: 80px;
}

.main-title {
    display: flex;
    flex-direction: column;
    place-items: center;
    text-align: center;
    gap: 20px;
    padding: 0 32px;
}


.info-image-group {
    display: flex;
    flex-wrap: nowrap;
    place-content: flex-start;
    overflow-y: auto;
    scroll-behavior: smooth;
    width: calc(100% - 64px);
    padding: 0 32px;
    gap: 16px;
}

/*total info-image-group width calc*/
@media(min-width: calc((320px + 16px) * 5 + 64px)){
    .info-image-group {
        place-content: safe center;
    }
}

.info-image-group img {
    float: none;
    width: var(--info-image-width);
}

.button-group {
    display: flex;
    padding: 16px;
    place-content: center;
    place-items: center;
    gap: var(--button-group-gap);
    flex-wrap: wrap;
    width: fit-content;
    place-self: center;
}

.button-group button {
    max-width: var(--button-width);
    max-height: var(--button-height);
}

.button-group img {
    width: 100%;
    max-width: var(--button-width);
    max-height: var(--button-height);
    object-fit: contain;
}

footer {
    display: flex;
    flex-direction: column;
    place-items: center;
    place-content: center;
    color: var(--white);
    text-align: center;
    background: var(--red01);
    padding: var(--footer-padding);
    gap: 64px;
}

.footer-title {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

footer > img {
    max-width: 320px;
    width: calc(100% + 128px);
    object-fit: contain;
}

.footer-button-group-container {
    display: flex;
    flex-direction: column;
    gap: var(--footer-button-title-gap);
}

.w100 {
    width: 100%;
}

.bold {
    font-weight: 700;
}

.typo-xs {
    font-size: var(--font-size-xs);
}

.typo-sm {
    font-size: var(--font-size-sm);
}

.typo-md {
    font-size: var(--font-size-md);
}

.typo-lg {
    font-size: var(--font-size-lg);
}

.typo-xl {
    font-size: var(--font-size-xl);
}