h2 {
    text-align: center;
    margin-bottom: 2rem;
}

/* img {
    width: 100%;
} */
.section-inner {
    margin: 0 auto;
    max-width: 1200px;
    padding: 40px 15px;
}

.flex-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

.notice {
    font-size: 1.35rem;
}

.btn-wrapper {
    text-align: center;
}

.btn {
    border-radius: 30px;
    padding: 5px 20px;
    min-width: 300px;
    text-align: center;
    display: inline-block;
    margin: 30px auto;
}

.btn__link {
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    color: inherit;
}

.btn__link:hover {
    text-decoration: none;
}

.btn--red {
    color: #fff;
    background-color: #BB0D24;
}

.btn--red:hover {
    background-color: #bb0d24dc;
}

.btn--yellow {
    background-color: #FEE800;
    color: #BB0D24;
}

.contact {
    background-color: #060A4A;
    margin: auto;
    position: relative;
    margin-top: calc(110px + 1.5rem);
    padding: 15px 40px;
    display: inline-block;
}

.contact-wrapper {
    text-align: center;
}

.contact__icon {
    position: absolute;
    height: 110px;
    top: 0;
    left: 50%;
    transform: translate(-50%, -100%);
}

.contact__icon img {
    height: 100%;
    width: auto;
}

.contact-container {
    gap: 2rem;
}

.contact__btn {
    text-align: center;
}

.contact__link {
    padding: 5px 15px;
    background-color: #BB0D24;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    display: block;
}

.contact__link:hover {
    text-decoration: none;
    background-color: #bb0d24dc;
}

.result {
    background-color: #F5C700;
}

.result-wrapper {
    max-width: calc(347px * 3 + 1.5rem*2);
    margin: auto;
}

.result-container {
    align-items: baseline;
    justify-content: space-between;
}

.result-item {
    width: min(347px, calc((100% - 3rem)/3));
    position: relative;
}

.result-item__img {
    width: 100%;
    height: auto;
}

.result-item__price {
    font-weight: 900;
    font-size: min(48px, 4.2vw);
    width: 100%;
    color: #DE1E19;
    position: absolute;
    text-align: center;
    bottom: 80px;
}

.result-item__price .small {
    font-size: 80%;
}

.works {
    max-width: 880px;
}

.works-item {
    width: calc((100% - 1rem)/2);
}

.works-item__video {
    width: 100%;
}

.works-item__comment {
    font-weight: 700;
}

.works-item__link {
    text-align: right;
}

.works-item__link a {
    color: #959597;
}

.events {
    background-color: #F2A83B;
}

.event-container {
    max-width: 1000px;
    margin: auto;
}

.event-item {
    width: 220px;
    background-color: #fff;
}

.event-link {
    text-align: right;
}

.event-content {
    padding: 8px;
}

.event-date {
    color: #FF7000;
    padding-bottom: 10px;
}

.gift {
    background-color: #171C60;
    margin-top: 150px;
    padding-top: 150px;
}

.gift .section-inner {
    position: relative;
}

.gift-header {
    position: absolute;
    top: -15%;
    left: 50%;
    transform: translate(50%, 50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    width: min(900px, 85vw);
}

.gift-other {
    align-items: center;
}

.gift-container {
    align-items: baseline;
    gap: 2rem;
    margin-bottom: 3rem;
}

.gift-other__txt {
    color: #fff;
    width: 400px;
    padding: 1rem 0;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
}

.contact-wrapper.bottom {
    margin-top: 5rem;
    margin-bottom: 5rem;
}

.to-top {
    margin-bottom: 5rem;
}

.top-btn {
    text-align: right;
    font-size: 1.5rem;
}

.top-btn a {
    text-decoration: none;
}

.top-btn a:hover {
    text-decoration: none;
}

.red {
    color: #BB0D24;
}

.event-item__thumbnail img,
.gift-item img,
.works-header img,
.gift-header img {
    width: 100%;
}

@media screen and (max-width: 767px) {
    .flex-container {
        flex-direction: column;
    }

    .notice {
        margin-top: 1rem;
        font-size: 1.2rem;
        font-weight: 500;
    }

    .btn {
        padding: 12px 20px;
        border-radius: 30px;
        min-width: 240px;
    }

    .btn__link {
        font-size: 3rem;
    }

    .contact {
        margin-top: calc(45vw + 1.5rem);
        padding-top: 40px;
    }

    .contact__icon {
        width: 100%;
        height: auto;
        top: -25%;
    }

    .contact__btn {
        width: 80%;
        position: absolute;
        top: -25%;
    }

    .contact__link {
        font-size: 1.5rem;
    }

    .result-item {
        width: 100%;
    }

    .result-item__price {
        font-size: 14vw;
        bottom: 98px;
    }

    .works-container {
        gap: 4rem;
    }

    .works-item {
        width: 100%;
    }

    .events-right>.flex-container {
        flex-direction: row;
    }

    .event-item {
        width: calc((100% - 1.5rem)/2);
        min-height: 390px;
    }

    .gift {
        padding-top: 100px;
    }

    .gift-header {
        top: -118px;
    }

    .gift-other {
        flex-direction: row;
        gap: 0;
    }

    .gift-other-wrapper {
        width: 60%;
    }

    .gift-other__fig {
        width: 40%;
    }

    .gift-other__txt {
        width: 100%;
        border: none;
    }
}