#gift-campaign {
  z-index: 0;
  width: calc(100% - 80px);
  max-width: 1000px;
  margin-inline: auto;
  position: relative;
  overflow: hidden;
  display: block;
  @media (max-width: 768px) {
    width: auto;
  }
}

.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: #1a1a1a;
}

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

.gift-campaign-title p {
  font-size: min(calc(100vw * (32/1440)), 32px);
  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-inline: 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: var(--Dify-thema-gradation-blue);

  color: #fff;
  font-size: min(calc(100vw * (28/1440)), 28px);
  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 .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: min(calc(100vw * (40/1440)), 40px);
}

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

.gift-campaign-desc {
  width: 100%;
  margin: 4rem 0 0;
  border-radius: 12px;
  border: 1px solid #181930;
  background: #fff;
  overflow: hidden;
}

.gift-campaign-desc .head {
  width: 100%;
  color: #e9d171;
  background: #071466;
  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-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: linear-gradient(90deg, #309da4 0%, #2368a7 100%);
}

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

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

.gift-campaign-button-course {
  font-size: 2.2rem;
}

@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: 0 2rem 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.8rem;
  }

  .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: -2rem;
    top: auto;
  }

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

  .gift-campaign-desc {
    width: 100%;
    max-width: 650px;
    margin: 2rem auto 0;
    border-radius: 0.4rem;
    background: #fff;
  }
  .gift-campaign-desc .head {
    color: #e9d171;
    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: var(--En-Primitive-Blue-70, #108FE2);
  color: #fff;
  padding: 1.2rem 0;
  display: block;
  margin: 1rem 0 0.3rem;
}

@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: 768px) {
  #application .gift-campaign-texts {
    margin: 3.2rem 0;
    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: 0.8rem 0 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: 65rem;
}
#application .user_flow {
  max-width: 380px;
  width: 100%;
  background-color: #f5f5f5;
  border-radius: 4.38px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto 40px;
  padding: 12px 0;
  gap: 12px;
}
#application .user_flow p {
  font-size: 16px;
  color: #1a1a1a;
  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;
}
@media (max-width: 1024px) {
  #application .user_flow a .red_box::after {
    margin-top: 1px;
  }
}
@media (max-width: 768px) {
  #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;
  }
}
@media (min-width: 769px) and (max-width: 999px) {
  .gift-campaign-title p {
    font-size: 2.4rem;
  }
  #gift-campaign .lg-font {
    font-size: 3.2rem;
  }
  #gift-campaign .md-font {
    font-size: 2.4rem;
  }
}

.please_note {
  color: #fff;
  padding: 1.6rem 0;
  background: #071466;
  font-size: 1.2rem;
}

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

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