:root {
    --color-border: #F8EFB4;
    --color-btn: #434242
}

body {
    background-image: url('../images/bg-pc.png');
    background-repeat: no-repeat;
    background-size: cover;
}

/* HEADER */
.header {
    margin-top: 10px;
    margin-bottom: 40px;
}

.header-wrapper {
    padding: 0 15px;
}

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

.header-wrapper .logo {
    display: inline-block;
    padding: 15px 105px 5px 105px;
}

.header-content_noti {
    color: #fff;
    column-gap: 20px;
}

.header-content_noti p {
    font-family: "Inter";
}

/* END HEADER */

/* MAIN */
.bg-fill {
    position: relative;
}

.bg-fill::before,
.main-form.bg-fill::after {
    content: '';
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    inset: 0;
    z-index: -1;
}

.main-form {
    position: relative;
    padding: 30px 125px 100px;
    border-radius: 38px;
    border: 3px solid #F8EFB4;
    overflow: hidden;
    width: 95%;
    margin: auto;
}

.main-form.bg-fill::before {
    background-image: url('../images/bg-imgform.png');
    opacity: 0.2;
}

.main-form.bg-fill::before,
.main-form.bg-fill::after {
    z-index: -2;
}

.main-form.bg-fill::after {
    background-color: #7D0002;
    opacity: 0.7;
}

.main-form form .form-main {
    margin-bottom: 80px;
    max-width: 727px;
    padding-top: 30px;
}

.main-form form .form-group {
    margin-bottom: 50px;
    display: flex;
}

.main-form form .form-footer .form-group {
    margin-bottom: 15px;
}

.main-form form .form-group .form-group_input {
    position: relative;
    width: 100%;
    padding-left: 15px;
}

.main-form form .form-group .form-group_input .img-input {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    max-width: 61px;
    max-height: 61px;
}


.main-form form .form-group .form-group_input .img-input img{  width: 100%; 
    height: 100%  }

.main-form form .form-group .form-group_input input,
.main-form form .form-group .btn {
    height: 37px;
}

.main-form form .form-group .form-group_input input {
    border-radius: 3px;
    width: 100%;
    max-width: 543px;
    background-color: #fff;
    padding: 0px 20px 0 70px;
    border: 2px solid transparent;
}

.main-form form .form-group .form-group_input input:focus {
    border-color: #ffc45e;
}

.main-form form .form-group .form-group_input input::placeholder {
    font-weight: 200;
    font-style: italic;
    color: var(--color-btn);

}

.form-group_btn {
    position: relative;
}

.form-group_btn .tooltip {
    border-radius: 8px;
    background-color: #555;
    color: #fff;
    padding: 10px 15px;
    font-size: 14px;
    position: absolute;
    top: calc(-100% - 15px);
    left: 0;
    z-index: 1;
    min-width: max-content;
    font-weight: 300
}

.form-group_btn .tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 30px;
    border-width: 8px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

.main-form form .form-group .btn {
    background-color: transparent;
    ;
    border: none;
    width: 105px;
    position: relative;
    cursor: pointer;
}

.main-form form .form-group .btn.bg-fill::before {
    background-image: url('../images/bg-btn.png');
}

.btn span {
    z-index: 1;
    position: relative;
}

.main-form form .form-group .btn span {
    font-weight: 500;
    text-transform: uppercase;
    color: var(--color-btn);
}

.main-form form .form-group .form-group_submit .btn.bg-fill::before {
    background-image: url('../images/bg-submit.png');
}

.main-form form .form-group .form-group_submit .btn {
    width: max-content;
    height: 60px;
    padding: 0 50px;
}

.main-form form .form-group .form-group_submit .btn:hover {
    transform: scale(1.05);
    transition: all 0.4s ease;
}

.main-form form .form-group .form-group_submit .btn span {
    color: #fff;
    display: block;
}

.main-form form .form-group .form-group_submit .btn img {
    z-index: 1;
    position: relative;
    margin-right: 10px;
    max-width: 36px;
    max-height: 36px;
}

.form-footer .form-group {
    justify-content: center;
}

.remind {
    padding: 0 50px;
}

.remind p {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    line-height: 16px;
    letter-spacing: -0.05em;
    text-align: center;

}

.remind p span {
    color: #FFD600;
}

.form-sent .bg-fill::before {
    background-image: url('../images/bg-sent.png');
}

.form-sent {
    margin: 20px 0 50px;
}

.form-sent .form-sent_span {
    width: 245px;
    height: 48px;
    color: #fff;
}

.main-form_footer ul {
    list-style: none;
    display: flex;
    justify-content: space-around;
}

.main-form_footer ul li a {
    color: var(--color-btn);
    height: 50px;
    text-transform: uppercase;
    width: 222px;
}

.main-form_footer ul li a.bg-fill::before {
    background-image: url('../images/bg-download.png');
}

.rule {
    padding: 0 30px;
    margin-bottom: 80px;
}

.rule .rule-content ul {
    list-style: none;
    margin-top: -10px;

}

.rule-img {
    margin-left: -15px;
}

.rule-img img {
    animation: zoom-in-out 1500ms infinite;
}

@keyframes zoom-in-out {
    0% {
        transform: scale(0.8, 0.8);
    }

    10%,
    20% {
        transform: scale3d(0.9, 0.9, 0.9) rotate(-4deg);
    }

    30%,
    50%,
    70%,
    90% {
        transform: scale3d(1, 1, 1) rotate(4deg);
    }

    40%,
    60%,
    80% {
        transform: scale3d(1, 1, 1) rotate(-4deg);
    }

    100% {
        transform: scale(0.9);
    }
}

.rule .rule-content ul li {
    color: #fff;
    margin-bottom: 18px;
}

.main-form_footer ul li a img {
    display: none;
}

/* END MAIN */
/* FOOTER */
.footer-main {
    padding: 30px 0;
    display: grid;
    margin: 0 -15px;
    grid-template-columns: 33.333% 16.667% 25% 25%;
}

.footer-main>.item {
    padding: 0 15px !important;
}

.footer-main>.item .partner img {
    max-width: 100%;
    margin-top: 5px;
}

.footer {
    background-color: #A80000
}

.footer .item-1 .content {
    color: #fff;
    font-size: 14px;
    font-weight: 300;
    margin-bottom: 20px
}

.footer .item .item-title h3 {
    color: #F8F22E;
    font-size: 24px;
}

.footer .item .item-title {
    position: relative;
    padding-left: 31px;
}

.footer .item .item-title:before {
    content: '';

    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translatey(-50%);
    width: 21px;
    height: 21px;
}

.footer .item.item-3 .item-title:before {
    background-image: url('../images/icon-title.png');
}

.footer .item.item-2 .item-title:before {
    background-image: url('../images/icon-title-2.png');
}

.footer .item ul {
    list-style-type: none;
    margin-top: 15px;
}

.footer .item ul li {
    padding: 8px 0;
    border-bottom: 1px dotted #DF8181
}

.footer .item ul li a {
    color: #fff;
    font-weight: 300;
    text-transform: capitalize;
    position: relative;
    font-size: 14px;
    padding-left: 22px;
    display: block;
}

.footer .item ul li a:before {
    content: '';
    position: absolute;
    left: 0;
    background-image: url('../images/icon-hover.png');
    background-repeat: no-repeat;
    background-size: cover;
    width: 12px;
    height: 14px;
    top: 50%;
    transform: translateY(-50%);
    background-position-y: 0;
}

.footer .item ul li a:hover {
    color: #F8F22E;
}

.footer .item ul li a:hover:before {
    background-position-y: 100%;
}

.footer-coppyright {
    background-color: #670001;

}

.footer-coppyright p {
    color: #fff;
    font-weight: 300;
    text-align: center;
    line-height: 72px;
}

.footer .item-1 .content.mobile,
.footer-main>.item .partner .mobile {
    display: none;
}

/* END FOOTER */

@media (max-width: 768px) {
    * {
        font-size: 12px !important;
    }

    .header {
        margin-bottom: 20px;
    }

    body {
        background-image: url(../images/bg-mobile.jpg);
    }

    .header-wrapper {
        text-align: left;
    }

    .header-wrapper .logo {
        padding: 0;
    }

    .header-content_noti {
        justify-content: start;
        gap: 10px;
    }

    .header-wrapper .logo {
        max-width: 100px;
        height: auto;
    }

    .header-content_noti p {
        font-size: 12px;
    }

    .main-form {
        padding: 15px 15px 35px;
    }

    .main-form form .form-group .form-group_input .img-input {
        max-width: 38px;
        max-height: 38px;
    }

    .main-form form .form-group .form-group_input input,
    .main-form form .form-group .btn {
        height: 30px;
    }

    .main-form form .form-group .btn span {
        font-weight: 400;
        font-size: 12px;
    }

    .main-form form .form-group .btn {
        width: 85px;
    }

    .main-form form .form-group .form-group_input input {
        padding: 0px 20px 0 30px;
    }

    .main-form form .form-group {
        margin-bottom: 35px;
        gap: 20px;
    }

    .main-form form .form-group .form-group_input {
        width: calc(100% - 105px);
    }

    .main-form form .form-group .form-group_submit .btn {
        height: 50px;
        padding: 0 32px;
    }

    .main-form form .form-group .form-group_submit .btn img {
        max-width: 24px;
        height: auto;
    }

    .main-form form .form-group .form-group_submit .btn,
    .form-group_submit {
        width: 100%;
    }

    .remind {
        padding: 0;
    }

    .form-sent .form-sent_span {
        width: 220px;
        height: 45px;
    }

    .main-form_footer ul {
        justify-content: space-between;
    }

    .main-form_footer ul li a.bg-fill::before {
        content: none;
    }

    .main-form_footer ul li a {
        width: 100%;
        height: 30px;
    }

    .main-form_footer ul li a span {
        display: none;
    }

    .main-form_footer ul li a img {
        display: block;
    }

    .rule-img {
        max-width: 165px;
    }

    .rule {
        padding: 0 15px;
        margin-bottom: 40px;
    }

    .footer-main {
        display: flex;
        flex-wrap: wrap;
    }

    .footer-main>.item {
        margin-bottom: 20px;
    }

    .footer .item .item-title h3 {
        font-size: 16px !important;
    }

    .footer-main>.item-2, .footer-main>.item-2 {
        width: 50%;
    }

    .footer .item-1 .content.pc,
    .footer-main>.item .partner .pc {
        display: none;
    }

    .footer .item-1 .content.mobile,
    .footer-main>.item .partner .mobile {
        display: block;
        text-align: center;
    }

    .footer-main>.item-1 {
        text-align: center;
    }

    .footer-main>.item-1 .logo {
        max-width: 120px;
    }

    .img-old {
        text-align: left;
    }
}