
#gift-campaign {
  background: white;
  z-index: 0;
  padding: 6.4rem 0;
}

#gift-campaign .content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#gift-campaign .embla-gift-campaign {
    max-width: 1103px;
    
}


#gift-campaign {
  position: relative;
  overflow: hidden;
}

.gift-campaign-heading {
  margin: 0 auto 4rem;

  @media (max-width: 768px) {
    margin: 0 auto 2.4rem;
  }
}

.gift-campaign-heading::after {
  content: '';
  display: block;

  width: 4rem;
  height: 0.2rem;
  margin-top: 2.2rem;
  margin-inline: auto;

  background: #000;
}

.gift-campaign-heading h2 {
  font-size: 3.2rem;
  font-weight: 700;
  text-align: center;
  color: #000;
}

.gift-campaign-title p {
  font-size: 2.4rem;
  font-weight: 400;
  text-align: center;
  line-height: 1.5;
  position: relative;
  color: #181930;
}

#gift-campaign .video-wrapper {
  margin: 4rem auto 0;
  display: flex;
  justify-content: center;
}

.gift-campaign-title {
  width: fit-content;
  margin: 0 auto;
}

.gift-campaign-title p::after,
.gift-campaign-title p::before {
  content: '';
  display: block;
  width: 6rem;
  height: 15rem;
  background: url(../img/gift-campaign/title-line.svg);
  z-index: 1;
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
}

.gift-campaign-title p::before {
  top: 0;
  left: -8%;
  transform: scale(-1, 1);

  @media (max-width: 999px) {
    top: auto;
    bottom: -4rem;
    left: -11%;
  }
}

.gift-campaign-title p::after {
  right: -8%;
  top: 0;

  @media (max-width: 999px) {
    right: -11%;
    top: auto;
    bottom: -4rem;
  }
}

.gift-campaign-engineer {
  padding: 0 1.2rem;
  margin-inline: 0.8rem;

  background: #E2750F;

  color: #fff;
  font-size: 2.8rem;
  font-weight: bold;
  line-height: 1;

  @media (max-width: 768px) {
    padding: 0 0.3rem;
    margin-inline: 0.3rem;
    font-size: 1.4rem;
  }
}

.gift-campaign-course {
  padding: 0 1.2rem;
  margin-inline: 0.8rem;

  background: #34949b;

  color: #fff;
  font-size: 2.8rem;
  font-weight: bold;
  line-height: 1;

  @media (max-width: 768px) {
    padding: 0 0.3rem;
    margin-inline: 0.3rem;
    font-size: 1.4rem;
  }
}

#gift-campaign::before {
  content: '';
  position: absolute;
  left: 0;
  top: 55%;
  transform: skewY(-7deg);
  transform-origin: top right;
  z-index: -1;
  width: 100%;
  height: 100%;
  background: #edeee2;
  
  @media (max-width: 768px) {
    top: 62%;
    transform: skewY(-17deg);
  }
}

#gift-campaign .bold {
  font-weight: 900;
}

#gift-campaign .semi-bold {
  font-weight: 700;
}

#gift-campaign .light-bold {
  font-weight: 700;
}

#gift-campaign .line {
  border-bottom: 1px solid;
}

#gift-campaign .lg-font {
  font-size: 4rem;
}

#gift-campaign .md-font {
  font-size: 3.2rem;
}

.gift-campaign-desc {
  display: grid;
  justify-items: center;
  width: 100rem;
  margin: 4rem 2rem 0;
  border-radius: 0.4rem;
  border: 1px solid #181930;
  background: #fff;
}

.gift-campaign-desc .head {
  width: 100%;
  color: #e9d171;
  background: #181930;
  font-weight: 700;
  text-align: center;
  font-size: 2.8rem;
  padding: 1.5rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.gift-campaign-desc .head::before {
  content: '';
  background: url('../img/gift-campaign/bell_icon.svg');
  display: block;
  background-size: contain;
  background-repeat: no-repeat;
}

.gift-campaign-desc .text {
  font-size: 2.2rem;
  font-style: normal;
  padding: 1.5rem;
  line-height: 1.5;
  text-align: center;
}

.gift-campaign-texts .decotation {
  display: flex;
  justify-content: center;
  align-items: baseline;
}

.gift-campaign-texts .decotation::before {
  transform: scale(-1, 1);
}

.gift-campaign-note {
  color: #FF7171;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  margin: 20px auto 0;
  max-width: 33em;
  @media (max-width: 768px) {
    font-size: 14px;
  }
}



.gift-campaign-button {
  display: grid;
  place-items: center;

  max-width: 65rem;
  width: 100%;
  height: 6.5rem;
  margin-block: 2rem 0;
  margin-inline: auto;

  border-radius: 0.89rem;
  background: #E2750F;
}

.gift-campaign-button a {
  color: #fff;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  display: block;
}

.gift-campaign-button-dx {
  font-size: 2.4rem;
}

.gift-campaign-button-course {
  font-size: 2.2rem;
  background: #309DA4;
  background: linear-gradient(90deg, rgba(48, 157, 164, 1) 0%, rgba(35, 104, 167, 1) 100%);
}

@media (min-width: 1000px) {
  #gift-campaign .lg_none {
    display: none;
  }
}

@media (min-width: 769px) {
  .gift-campaign-desc .head::before {
    width: 3.3rem;
    height: 3.3rem;
  }
  #application .gift-campaign-texts .decotation::after,
  #application .gift-campaign-texts .decotation::before {
    width: 1.6rem;
    height: 1.6rem;
  }
  #gift-campaign .sp_only {
    display: none;
  }
}

@media (max-width: 768px) {
  #gift-campaign {
    padding: 4.8rem 2rem 1.2rem;
  }
  .gift-campaign-title p {
    font-size: 1.4rem;
    font-weight: 400;
    text-align: center;
    line-height: 1.5;
    position: relative;
  }
  #gift-campaign .lg-font {
    font-size: 1.8rem;
  }
  #gift-campaign .md-font {
    font-size: 1.65rem;
  }

  .gift-campaign-title p::after,
  .gift-campaign-title p::before {
    content: '';
    display: block;
    width: 3rem;
    height: 5.5rem;
    background: url(../img/gift-campaign/title-line.svg);
    z-index: 1;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
  }

  .gift-campaign-title p::before {
    bottom: 0;
    left: -1.5rem;
    top: auto;
  }

  .gift-campaign-title p::after {
    right: -1.5rem;
    bottom: 0;
    top: auto;
  }

  .gift-campaign-desc {
    width: 100%;
    margin: 2rem auto 0;
    border-radius: 0.4rem;
    border: 0.1rem solid #181930;
    background: #fff;
  }
  .gift-campaign-desc .head {
    color: #e9d171;
    background: #181930;
    font-weight: 900;
    text-align: center;
    font-size: 1.6rem;
    padding: 0.7rem 0;
  }
  .gift-campaign-desc .text {
    font-size: 1.4rem;
    font-style: normal;
    padding: 1rem;
    line-height: 1.5;
    text-align: center;
  }
  #gift-campaign .sample {
    width: 100%;
  }
  .gift-campaign-desc .head::before {
    width: 1.4rem;
    height: 1.1rem;
    width: 1.8rem;
    height: 1.8rem;
  }
  #gift-campaign .video-wrapper {
    margin: 2.4em auto 0;
  }
  #gift-campaign .is_sp_block {
    display: block;
  }
  .gift-campaign-button {
    height: 5.9rem;
  }
  .gift-campaign-button a {
    font-size: 1.6rem;
    line-height: 1.25;
  }
}

#application .gift-campaign-texts {
    display: flex;
    justify-content: center;
    text-align: center;
    font-weight: 700;
    margin: 3.2rem auto;
    /* line-height: 2.5; */
}

#application .gift-campaign-texts .underline {
    border-bottom: 1px solid;
    line-height: 1.5;
}

#application .gift-campaign-texts .big {
    color: #181930;
    font-size: 2.5rem;
    font-style: normal;
    font-weight: 900;
    line-height: normal;
}

#application .gift-campaign-texts .decotation::after, #application .gift-campaign-texts .decotation::before {
    content: "";
    background: url("../img/gift-campaign/yellow_title_icon.svg");
    display: block;
    background-size: contain;
    background-repeat: no-repeat;
    position: relative;
    top: -0.9rem;
}

#application .gift-campaign-texts .middle {
    color: #181930;
    font-size: 2.4rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

#application .bg_yellow {
    background: #E9D171;
    padding: 1.2rem 0;
    display: block;
    margin: 1rem auto 0.3rem;
    width: fit-content;
}

@media (min-width: 769px) {
    #application .gift-campaign-texts {
        font-size: 2rem;
    }
    #application .gift-campaign-texts .big {
        font-size: 2.5rem;
    }   
    #application .gift-campaign-texts .middle {
        font-size: 2.4rem;
    }
    #application .bg_yellow {
        padding: 1.2rem 0;
    }
}

@media (max-width: 769px) {
    #application .gift-campaign-texts {
        margin: 1.6rem 0;
    }
    #application .gift-campaign-texts {
        font-size: 1.6rem;
    }
    #application .gift-campaign-texts .big {
        font-size: 2rem;
    }   
    #application .gift-campaign-texts .middle {
        font-size: 2rem;
    }
    #application .bg_yellow {
        padding: 1.2rem 0;
        margin: .8rem auto 0.3rem;
    }
    #application .wrapper .form_wrapper .top {
        margin-bottom: 0!important;
    }
    #application .gift-campaign-texts .decotation::after, #application .gift-campaign-texts .decotation::before {
        width: 1.6rem;
        height: 1.6rem;
        top: -3px;
        position: relative;
    }
}

#gift-campaign iframe.youtube-16-9 {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    max-width: 65.5rem;
    /* background-image: url(../img/gift-campaign/image.png);
    background-size: cover; */
}
#gift-campaign iframe.youtube-16-9.image {
    background-image: url(../img/gift-campaign/image.png);
    background-size: cover;
}

@media (min-width: 769px) and (max-width: 1000px) {
    .gift-campaign-title h2 {
        font-size: 2.4rem;
    }
    #gift-campaign .lg-font {
        font-size: 3.2rem;
    }
    #gift-campaign .md-font {
        font-size: 2.4rem;
    }
    .gift-campaign-title h2::after {
        right: -4%;
    }
    .gift-campaign-title h2::before {
        left: -4%;
    }
}
@media (max-width: 769px) {
    #campaign img{
        padding: 2rem;
    }
}
#application .user_flow {
    max-width: 380px; 
    width: 100%;
    background-color: #F5F5F5;
    border-radius: 4.38px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 32px auto 40px;
    padding: 12px 0;
    gap: 12px;

    @media (max-width: 768px) {
      margin-top: 16px !important;
    }
}
#application .user_flow p{
    font-size: 16px;
    color: #000000;
    font-weight: bold;
    line-height: 100%;
    letter-spacing: 0;
}
#application .user_flow a {
    font-size: unset;
}
#application .user_flow a .red_box {
    text-align: center;
    max-width: 259px;
    width: 100%;
    border-radius: 3px;
    padding: 6px 9px;
    border: #E73354 1px solid;
    background-color: #FFFFFF;
    color: #E73354;
    display: flex;
    align-items: center;
    gap: 5.6px;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
}
#application .user_flow a .red_box::after {
    width: 9px;
    height: 8.4px;
    background-image: url('../img/gift-campaign/training_pink_arrow.webp');
    content: "";
    display: block;
    background-size: contain;
    background-repeat: no-repeat;
    margin-top: 2px;
}
#application .application_banner {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 3.2rem;

  @media (max-width: 768px) {
    padding-inline: 20px;
  }
}
@media (max-width: 1024px){
    #application .user_flow a .red_box::after {
        margin-top: 1px;
    }
}
@media (max-width: 769px) {
    #application .user_flow {
        max-width: 89.3vw; 
        width: 100%;
        border-radius: 1.168vw;
        margin: 0 auto 8.53vw;
        padding: 3.2vw 0;
        gap: 3,2vw;
    }
    #application .user_flow p{
        font-size: 4.26vw;
    }
    #application .user_flow a {
        width: 100%;
        max-width: 69vw;
    }
    #application .user_flow a .red_box {
        max-width: 69vw;
        width: 100%;
        border-radius: 0.8vw;
        padding: 1.6vw 0;
        border: #E73354 0.36vw solid;
        gap: 1.49vw;
        letter-spacing: 0.13vw;  
        font-size: 2.9vw; 
        font-weight: bold;    
    }
    #application .user_flow a .red_box::after {
        width: 2.4vw;
        height: 2.44vw;
    }
}
.please_note {
    display: flex;
    padding: 1.6rem 0;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background: #E9D171;
    font-size: 1.2rem;
}

@media (max-width: 769px) {
    .please_note {
        text-align: center;
        line-height: 1.5;
        padding: 1rem 1.4rem;
    }
}

@media (min-width: 769px) {
    .is_sp {
        display: none;
    }
}

.gift-campaign-marketing {
  background-color: #F44C36;
}

.special-benefits-wrapper {
  padding-bottom: 6.4rem;
  margin: 0 auto;
  width: 100%;
  background: #F4EDDF;
}

@media (max-width: 768px) {
  .special-benefits-wrapper {
    padding-bottom: 5rem;
  }
}

.special-benefits__image {
  max-width: 1000px;
  margin: 0 auto;  
}

@media (max-width: 768px) {
  .special-benefits__image {
    padding-right: 2rem;
  }
}

.quick-booking-button {
  width: min(calc(100vw * (420 / 1440)), 420px);
  margin: 4rem auto 0;
}

@media (max-width: 768px) {
  .quick-booking-button {
    width: calc(100vw - 4rem);
    margin: 2rem auto 0;
  }
}

.quick-booking-button a {
  display: flex;
  align-items: center;
  background-color: #f47808;
  color: white;
  width: 100%;
  height: 100%;
  font-weight: 700;
  border-radius: 0.5rem;
  padding: 2rem 0;
  justify-content: center;
  font-size: 2rem;
}

.quick-booking-button__caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

@media (max-width: 768px) {
  .quick-booking-button__caption {
    font-size: 1.8rem;
  }
}

.quick-booking-button__caption:before,
.quick-booking-button__caption:after {
  content: '';
  display: block;
  width: 1.25em;
  height: 1.25em;
  background: url('../../../../img/point.svg') top left no-repeat;
  background-size: cover;
}

.quick-booking-button__caption:after {
  transform: scaleX(-1);
}