@charset "utf-8";

.fade-in {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  transition: opacity 1s ease, transform 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/*===========================
article header
===========================*/

.article__header {
    background-image: url(../images/page-backPC.webp);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    /* background-size: 100%; */
    margin-top: -118px;
    padding: 18%;
    position: relative;
    z-index: -100;
}

.page__title {
    top: 50%;
    left: 17%;
    font-size: 4rem;
    font-weight: 500;
    line-height: 150%;
    position: absolute;
    z-index: 10;
}

.page__title::before {
    content: '';
    display: inline-block;
    width: 117px;
    height: 107px;
    background-image: url(../images/decorationPC.webp);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    left: -45px;
    top: 50%;
    transform: translateY(-50%);
    z-index: -1;
}

@media screen and (max-width: 1024px) {
    .page__title {
        font-size: 3rem;
    }

    .page__title::before {
        width: 80px;
        height: 77px;
        left: -32px;
    }
}

/* .article header sp */
@media screen and (max-width: 767px) {
    .article__header {
        background-image: url(../images/page-backSP.webp);
        background-size: cover;
        margin-top: -62px;
        padding: 32% 0;
    }

    .page__title {
        top: 50%;
        left: 15%;
        font-size: 2rem;
    }

    .page__title::before {
        width: 50px;
        height: 45.7px;
        background-image: url(../images/decorationSP.webp);
        background-size: contain;
        background-position: center;
        left: -18px;
    }
}

/*===========================
thanks
===========================*/
.section__thanks {
    margin: 104px auto 300px;
    width: 82%;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.thanks__copy {
    text-align: center;
    font-size: 3.2rem;
    font-weight: 500;
    color: var(--primary-pink);
}

.thanks__txt {
    text-align: center;
    font-family: "BIZ UDPGothic";
    font-size: 1.8rem;
    font-weight: 400;
    line-height: 180%;
}

.tel {
    text-decoration-line: underline;
    text-decoration-style: solid;
}

@media screen and (max-width: 767px) {
    .section__thanks {
        margin: 60px auto 100px;
        padding: 0 3%;
        width: 100%;
        gap: 40px;
    }

    .thanks__copy {
        font-size: 2rem;
    }

    .thanks__txt {
        font-size: 1.4rem;
        line-height: 150%;
    }

}