:root {
    --blue: #1dbbba;
    --beige: #f7f5e9;
    --dark: #1d1d1b;
    --orange: #ed741b;
    --yellow: #ffdf50;
    --red: #ff0c12;
    --white: #ffffff;
    --dark-blue: #004aad;
    --gray: #bdbbbc;
}

html,
body {
    padding: 0;
    margin: 0;
}

@font-face {
    font-family: Chikara;
    src: url(https://reply.learningift.com/lp-test/referralrecruitment01/assets/fonts/chikara.woff);
}

@font-face {
    font-family: Hannari;
    src: url(https://cdn-rect.learningift.com/lp-test/referralrecruitment01/assets/fonts/hannari-mincho.woff);
}

@font-face {
    font-family: Keifont;
    src: url(https://tech.learningift.com/lp-test/referralrecruitment01/assets/fonts/keifont.woff);
}

@font-face {
    font-family: RoundedM;
    src: url(https://cdn-rect.learningift.com/lp-test/referralrecruitment01/assets/fonts/rounded-mplus.woff);
}


body {
    background-color: var(--blue);
    position: relative;
    min-height: 100dvh;
}

.bg-page {
    --bg-page-padding: 5%;
    --bg-page-boder-radius: 60px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    padding: 0 var(--bg-page-padding) var(--bg-page-padding);
    background-color: transparent;
}

.bg-page::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 0 0 var(--bg-page-boder-radius) var(--bg-page-boder-radius);
    background-color: var(--beige);
}

.page-loader{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #00000070;
    color: #fff;
    z-index: 99;
}

.page-loader .spinner-border{
    --bs-spinner-width: 2.5rem;
    --bs-spinner-height: 2.5rem;
}

.btn-register {
    width: 60%;
    padding: 6%;
    background-image: url(../img/WS000108.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    font-size: 3.2vw;
    display: flex;
    justify-content: space-around;
    align-items: center;
    color: var(--white);
    text-decoration: none;
    font-family: RoundedM;
    transition: all 0.2s ease-in-out;
}

.btn-register .arrow-right-icon {
    background-color: var(--white);
    border: 5px solid var(--dark);
    border-radius: 8px;
    padding: 5%;
    position: relative;
    transition: all 0.2s ease-in-out;
}

.btn-register .arrow-right-icon img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 60%;
    object-fit: contain;
    transition: all 0.2s ease-in-out;
}

.btn-register:hover {
    color: var(--dark);
    transform: scale(0.94);
}

.btn-register:hover .arrow-right-icon {
    background-color: var(--dark);
    border-color: var(--white);
}

.btn-register:hover .arrow-right-icon img {
    filter: brightness(0) invert(1);
}

.mt-btn {
    margin-top: 6%;
}

@media only screen and (min-width: 1024px) {
    .bg-page {
        --bg-page-boder-radius: 80px;
    }

    .btn-register .arrow-right-icon {
        border: 10px solid var(--dark);
        border-radius: 18px;
    }
}

/* -------------------------------------------------------------------------*/

.header {
    position: relative;
    z-index: 1;
    font-family: Chikara;
    padding-top: 4%;
    min-height: 31vw;
}

.header .img-bg {
    position: absolute;
    top: 12%;
    left: 0;
    width: 100%;
    z-index: 0;
}

.header .img-top-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 30%;
    z-index: 1;
}

.header .img-top-right {
    position: absolute;
    top: 0;
    right: 0;
    width: 18%;
    z-index: 1;
}

.header .img-bottom-right {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 15%;
    z-index: 1;
    transform: translateY(60%);
}

.header-title {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 2;
    padding: 9% 7%;
}

.header-title .title {
    position: relative;
    margin-bottom: 4px;
}

.header-title .title h1 {
    font-size: 6.6vw;
    position: relative;
    z-index: 1;
    margin-bottom: 0;
}

.header-title .title .highlight {
    font-size: 9.6vw;
    color: var(--red);
    position: relative;
}

.header-title .title .highlight-line {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40%;
    z-index: 0;
    transform: translate(-12%, 15%);
    opacity: 0;
    border-radius: 30% 0;
}

.highlight-line img {
    width: 100%;
}

.header-title p {
    margin-bottom: 0;
    font-size: 2.8vw;
}

@media only screen and (min-width: 425px) {
    .header-title {
        padding: 10% 7%;
    }
}

@media only screen and (min-width: 425px) {
    .header-title .title h1 {
        margin-bottom: 1%
    }
}


/* -------------------------------------------------------------------------*/

.main-content {
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.section-intro {
    padding: 6% 10% 2%;
}

.section-title-fill {
    font-size: 4vw;
    display: inline-block;
    padding: 3% 10%;
    margin-bottom: 20px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    font-family: Hannari;
    font-weight: 700;
}

.section-title-fill.bg-orange {
    background-image: url(../img/bg-orange.png);
}

.section-title-fill.bg-green {
    background-image: url(../img/bg-green.png);
}

.section-title-fill.bg-pink {
    background-image: url(../img/bg-pink.png);
}

.section-text {
    font-size: 3vw;
    font-family: Hannari;
    font-weight: 700;
    line-height: 1.8;
}

@media only screen and (min-width: 1024px) {
    .section-title-fill {
        margin-bottom: 60px;
    }

    .section-text p:not(:last-child) {
        margin-bottom: 40px;
    }
}

/* -------------------------------------------------------------------------*/

.section-referent {
    position: relative;
    padding: 10% 14% 2%;
    overflow: hidden;
}

.section-referent .img-left {
    position: absolute;
    z-index: 0;
    top: 52%;
    left: 1%;
    width: 8%;
}

.section-referent .img-right-1 {
    position: absolute;
    z-index: 0;
    top: 0;
    right: -3%;
    width: 30%;
}

.section-referent .img-right-2 {
    position: absolute;
    z-index: 0;
    top: 10%;
    right: 24%;
    width: 8%;
}

/* -------------------------------------------------------------------------*/

.section-bonus {
    padding: 4% 8%;
}

.section-bonus .img-left-wrapper {
    flex: 0 0 24%;
    font-size: 2.5vw;
    white-space: nowrap;
    font-family: Hannari;
    font-weight: 600;
}

.section-bonus .img-left-wrapper .img-left {
    width: 116%;
    margin-bottom: 10px;
    position: relative;
}

.section-bonus .img-left .img-person {
    width: 80%;
}

.section-bonus .img-left .img-music {
    position: absolute;
    z-index: 0;
    top: 0;
    right: 0;
    width: 36%;
}


.section-bonus .title {
    font-size: 4vw;
    color: var(--orange);
    font-family: Keifont;
    margin-bottom: 22px;
    padding-left: 22%;
}

.section-bonus .title.title-2 {
    padding-left: 12%;
}

.section-bonus .cost-group {
    font-size: 2.5vw;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    max-width: calc((100% - 2rem)/3);
    opacity: 0;
    font-family: Hannari;
    font-weight: 600;
}

.cost-group.animate-popup {
    opacity: 1;
}

.cost-group .plus-icon {
    font-size: 4vw;
}

.section-bonus .img-money {
    width: 80%;
    margin-left: auto;
}

.bonus-info {
    position: relative;
    padding-top: 14%;
}

.bonus-info-title {
    font-size: 6vw;
    margin-bottom: 8%;
    font-family: Hannari;
    font-weight: 700;
}

.bonus-info-title>span {
    font-size: 8vw;
    display: inline-flex;
    gap: 50%;
    transform: translateY(-18%);
    margin-left: 2%;
}


.bonus-info .teaser {
    width: 80%;
    padding: 20% 16%;
    font-family: Hannari;
    font-weight: 700;
    font-size: 2.8vw;
    line-height: 1.8;
    background-image: url(../img/WS000113-min.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    margin-left: auto;
    margin-bottom: -35%;
    transform: translateX(13%);
    position: relative;
    z-index: 0;
}

.bonus-info .teaser .highlight {
    font-size: 4vw;
    color: var(--red);
    display: inline-block;

}

.bonus-info .img-person {
    min-height: 48vw;
    object-fit: contain;
    object-position: bottom;
    width: 40%;
    margin-left: 8%;
    position: relative;
    z-index: 1;
}

.yellow-frame {
    background-color: var(--yellow);
    color: var(--dark);
    border-radius: 10px;
    padding: 4% 5%;
    width: 100%;
    margin: 0 auto;
    font-family: Hannari;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.yellow-frame .table-info {
    font-size: 3.8vw;
    width: 100%;
    margin-bottom: 10px;
}

.yellow-frame tr td:nth-child(2) {
    text-align: center;
}

.yellow-frame tr td:nth-child(3) {
    text-align: end;
}

.yellow-frame p {
    font-size: max(9px, 1.8vw);
    margin-bottom: 0;
    line-height: 1.8;
}

@media only screen and (min-width: 375px) {
    .yellow-frame {
        border-radius: 20px;
        padding: 4% 7%;
        width: 90%;
    }
}

@media only screen and (min-width: 1024px) {
    .section-bonus .title {
        margin-bottom: 40px;
    }

    .yellow-frame {
        border-radius: 30px;
    }

    .yellow-frame .table-info {
        margin-bottom: 20px;
    }

    .section-bonus .img-left-wrapper .img-left {
        margin-bottom: 20px;
    }
}


/* -------------------------------------------------------------------------*/

.section-slogan {
    padding: 6% 8% 10%;
}

.section-slogan .title {
    font-size: 5.2vw;
    text-align: center;
    margin-bottom: 10%;
    font-family: Hannari;
    font-weight: 700;
}

.section-slogan .text-content {
    display: flex;
    font-size: 2.8vw;
    justify-content: space-between;
    font-family: RoundedM;
}

.section-slogan .text-content p {
    margin-bottom: 0;
}

.section-slogan .text-content :nth-child(1) {
    transform: rotate(-10deg) translateX(-10%);
}

.section-slogan .text-content :nth-child(2) {
    transform: rotate(2deg) translateX(-16%);
}

.section-slogan .text-content :nth-child(3) {
    transform: rotate(8deg) translateX(10%);
}

.section-slogan .image-content {
    position: relative;
    margin-top: 10px;
    min-height: 54vw;
}

.section-slogan .img-bottom-right {
    position: absolute;
    bottom: -8%;
    right: -5%;
    width: 20%;
}

.section-slogan .img-top-left {
    position: absolute;
    top: 0;
    left: -5%;
    width: 20%;
}

.section-slogan .img-center {
    width: 100%;
}

/* -------------------------------------------------------------------------*/

.section-form {
    padding: 6% 9% 16%;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--dark);
}

.section-form .section-title-fill {
    text-align: center;
    font-size: max(18px, 4vw);
}

.apply-form {
    width: 100%;
    padding: 4%;
    background-color: var(--white);
    font-family: RoundedM;
}

.apply-form [data-step="2"] {
    display: none;
}

.apply-form.step-2 [data-step="2"] {
    display: block;
}

.apply-form.step-2 [data-step="1"] {
    display: none;
}

.apply-form .form-des {
    margin-bottom: 6%;
}

.apply-form .form-des[data-step="1"] {
    font-size: max(12px, 1.7vw);
}

.apply-form .form-des[data-step="2"] {
    text-align: center;
    font-size: max(14px, 3vw);
}

.form-group-title {
    font-size: max(18px, 1.8vw);
    display: flex;
    align-items: center;
}

.form-group-title .required {
    background-color: var(--red);
    color: var(--white);
    font-size: max(14px, 1vw);
    padding: 2px 8px;
    margin-left: 8px;
}

.sub-text {
    font-size: max(12px, 1.1vw);
    display: block;
}

.apply-form label {
    font-size: max(14px, 1.5vw);
}

.apply-form :is(input:not([type="radio"]), select) {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid var(--gray);
    font-size: max(14px, 1.4vw);
}

.apply-form select {
    position: relative;
    -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
    background: url("../img/arrow-down.png") no-repeat;
    background-position: calc(100% - 4px) center !important;
    -moz-appearance:none !important;
    -webkit-appearance: none !important; 
    appearance: none !important;
    padding-right: 2rem !important;
}


.apply-form .form-check input {
    border-color: var(--gray);
    margin-right: 8px;
    cursor: pointer;
    margin-top: 0;
}

.apply-form .is-invalid {
    border-color: var(--red) !important;
}

.apply-form .is-invalid:focus-visible {
    outline-color: var(--red) !important;
}

.apply-form .form-check {
    display: inline-flex;
    align-items: center;
}

.apply-form .form-check label {
    cursor: pointer;
}

.apply-form .row {
    align-items: center;
    margin-bottom: max(10px, 2%);
}

.section-form .form-group-btn {
    margin-top: max(20px, 8%);
}

.form-group-btn .sub-text {
    font-size: max(12px, 1.4vw);
    margin-bottom: max(10px, 1.5%);
}

.section-form .btn-action {
    --box-shadow-color: var(--dark);
    font-size: max(14px, 2vw);
    text-align: center;
    min-width: 40%;
    border-radius: 1.2vw;
    padding: 2% 4%;
    border: 1px solid #727272;
    box-shadow: var(--box-shadow-color) 4px 4px 0px;
    transition: all .2s ease-in-out;
    display: inline-block;
}

.section-form .btn-action:hover {
    box-shadow: var(--box-shadow-color) 2px 2px 0px;
    transform: scale(0.96);
}

.btn-action.bg-blue {
    background-color: var(--dark-blue);
    color: var(--white);
    --box-shadow-color: #727272;
}

.btn-action.bg-yellow {
    background-color: var(--yellow);
}

.btn-action.bg-gray {
    background-color: var(--gray);
}

@media only screen and (min-width: 768px) {
    .section-form {
        padding: 6% 12% 14%;
    }

    .section-form .section-title-fill {
        font-size: 4vw;
    }

    .form-group-title .required {
        margin-left: 10px;
        padding: 5px 12px;
    }


    .section-form .btn-action {
        padding: 1.5% 3%;
        box-shadow: var(--box-shadow-color) 8px 6px 0px;
    }

    .section-form .btn-action:hover {
        box-shadow: var(--box-shadow-color) 4px 4px 0px;
        transform: scale(0.96);
    }

    .apply-form .form-check input {
        width: 1.8vw;
        height: 1.8vw;
    }
}

@media only screen and (min-width: 1024px) {
    .section-form .btn-action {
        box-shadow: var(--box-shadow-color) 10px 6px 1px;
    }
}

/* ------------------------------ANIMATION-------------------------------------------*/

.animate-wrap-circle {
    animation: wrap-circle 2s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-wrap-left {
    overflow: hidden;
    opacity: 1 !important;
}

.animate-wrap-left::before {
    animation: wrap-left 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    background: var(--yellow);
    content: '';
    inset: 0;
    pointer-events: none;
    position: absolute;
    z-index: 1;
}

.animate-popup {
    animation: popup 1s 1 linear;
}

@keyframes wrap-circle {
    0% {
        clip-path: circle(0 at 50% 50%);
        -webkit-clip-path: circle(0 at 50% 50%);
    }

    100% {
        clip-path: circle(100% at 50% 50%);
        -webkit-clip-path: circle(100% at 50% 50%);
    }
}

@keyframes wrap-left {
    100% {
        transform: translateX(110%);
    }
}

@keyframes popup {
    0% {
        transform: scale(0);
    }

    50% {
        transform: scale(1.1);
    }

    to {
        transform: scale(1);
    }
}
.grecaptcha-badge {
    opacity: 0!important;
}


/* -------------------------------Thank you------------------------------------------*/
.section-thanks{
    padding: 3% 10% 7%;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: RoundedM;
    position: relative;
}

.section-thanks .section-title{
    font-size: 3vw;
    margin-bottom: 3%;
}

.section-thanks p {
    font-size: 2vw;
    margin-bottom: 4%;
    width: 100%;
    text-align: center;
}

.section-thanks .btn-register{
    width: 40%;
    padding: 5%;
    font-size: 2vw;
}

@media only screen and (min-width: 1024px) {
    .section-thanks .section-title{
        font-size: 2.4vw;
    }

    .section-thanks p {
        font-size: 1.5vw;
    }

    .section-thanks .btn-register{
        width: 30%;
        padding: 3%;
        font-size: 1.5vw;
    }
}