*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #f3f3f3;
    color: #161616;
    font-family: "Segoe UI", "PingFang TC", "Microsoft JhengHei", sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

.sheet {
    width: min(720px, calc(100% - 32px));
    margin: 24px auto 40px;
    padding: 24px 20px 32px;
    background: #fff;
}

.event-name,
.eyebrow,
.description,
.present {
    margin: 0;
}

.event-name,
.eyebrow {
    font-size: 14px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.product {
    text-align: center;
}

.logo-img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto 16px;
}

.car-img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
}

.product h1 {
    margin: 12px 0 0;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
}

.description {
    margin: 4px 0 0;
    color: #666;
    font-size: 12px;
    text-align: center;
}

form h2,
.notice h2 {
    margin: 28px 0 12px;
    font-size: 18px;
}

.field {
    margin-top: 16px;
}

label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

input,
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #c8c8c8;
    border-radius: 0;
    background: #fff;
    color: inherit;
    font: inherit;
}

textarea {
    resize: vertical;
}

.confirm {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-top: 20px;
    font-weight: 400;
}

.confirm input {
    width: 20px;
    height: 20px;
    margin-top: 2px;
}

.notice ul {
    margin: 0;
    padding-left: 18px;
}

.notice li + li {
    margin-top: 6px;
}

.error {
    margin: 6px 0 0;
    color: #9b1c1c;
    font-size: 14px;
}

button {
    width: 100%;
    margin-top: 20px;
    padding: 14px 16px;
    border: 0;
    background: #161616;
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

button:disabled {
    background: #6d6d6d;
    cursor: wait;
}

.summary {
    margin: 28px 0 0;
}

.summary div {
    padding: 10px 0;
    border-top: 1px solid #e4e4e4;
}

.summary dt {
    font-size: 13px;
    color: #555;
}

.summary dd {
    margin: 2px 0 0;
    font-size: 18px;
    font-weight: 700;
}

.qr {
    margin-top: 24px;
    text-align: center;
}

.qr svg {
    width: 220px;
    height: 220px;
}

.present {
    margin-top: 16px;
    text-align: center;
}

.present p {
    margin: 8px 0 0;
}

.qr-result {
    margin-top: 28px;
    text-align: center;
}

.qr-result h2 {
    margin: 0;
    color: #2e7d32;
    font-size: 20px;
}

.qr-result p {
    margin: 8px 0 0;
}

.order-no {
    margin: 8px 0 0;
    font-weight: 700;
    text-align: center;
}

@media (max-width: 720px) {
    body.reserve {
        background: #fff;
    }

    body.reserve .sheet {
        width: 100%;
        margin: 0;
        padding: 0 0 32px;
    }

    body.reserve .product {
        width: 100%;
    }

    body.reserve .sheet > :not(.product) {
        padding-right: 16px;
        padding-left: 16px;
    }
}
