@import "http://fonts.googleapis.com/earlyaccess/notosansjapanese.css";

body {
  background-color: #FFFFFF;
}

.text-danger {
  color: red;
  font-size: 10px;
  display: block;
  margin-top: 5px;
}

.text-success {
  border: 2px solid #2DA948;
  font-size: 14px !important;
  padding: 0px 10px;
  margin: 0;
  color: #333333;
  font-weight: 900 !important;
}

.page-form-background {
  margin-top: 8rem;
  background-image: url("../../img/page/form/page-form-background.png");
  height: 300px;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-form-background .page-form-title {
  text-align: center;
  color: #FFFFFF;
  font-size: 55px;
  letter-spacing: 0px;
  font-weight: 500;
  text-shadow: 0px 0px 16px rgba(0, 0, 0, 0.462745098);
  opacity: 1;
  font-weight: bold;
  line-height: 77px;
}

.form-intro {
  background: #F7F7F7;
  padding-top: 63px;
}

.form-content {
  background: #F7F7F7;
  padding-top: 46px;
  padding-bottom: 105px;
}

.form-intro-title {
  text-align: center;
}

.form-intro-title h3 {
  font-size: 36px;
  color: #02459C;
  line-height: 50px;
  letter-spacing: 6px;
}

.form-intro-title-content {
  margin-top: 18px;
}

.form-intro-title-content p {
  font-size: 16px;
  line-height: 23px;
  color: #2C2F2C;
  letter-spacing: 0px;
}

.form-intro-content {
  width: 856px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.intro-content-item {
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.intro-content-item p:first-child {
  padding-top: 41px;
  color: #F0AC3F;
  font-size: 26px;
  line-height: 35px;
}

.intro-content-item:first-child p:first-child {
  letter-spacing: -1.5px;
}

.intro-content-item p.content-item-detail {
  font-size: 16px;
  line-height: 22px;
  color: #2C2F2C;
  padding: 0px 20px 41px 20px;
  font-weight: normal;
  letter-spacing: 1px;
  font-family: "Noto Sans", sans-serif;
}

.intro-content-item img {
  padding-top: 17px;
  padding-bottom: 26px;
}

.form__box h1 {
  text-align: center;
  color: #02459C;
  font-size: 36px;
  line-height: 46px;
  margin-top: 83px;
  margin-bottom: 31px;
  letter-spacing: -1.5px;
}

.single-news {
  width: 640px;
  margin: 0 auto 94px auto;
  border-radius: 10px;
}

.single-news-wrap {
  padding-top: 40px;
}

.form_wrap {
  margin-bottom: 22px;
}

.form_wrap p {
  font-size: 16px;
  line-height: 25px;
  color: #2C2F2C;
  display: flex;
  align-items: center;
  font-weight: bold;
  margin-bottom: 10px;
}

.form_wrap p span.label-require {
  font-size: 12px;
  color: #DB5D00;
  line-height: 14px;
  padding: 2px 15px;
  border-radius: 5px;
  border: 1px solid #DB5D00;
  margin-left: 10px;
}

.form_wrap input[type=text] {
  width: 100%;
  height: 40px;
  border: none;
  border-radius: 5px;
  font-family: "Noto Sans JP", sans-serif;
  background: #F7F7F7;
  padding: 0 15px;
}

.form_wrap input[type=email] {
  width: 100%;
  height: 40px;
  border: none;
  border-radius: 5px;
  background: #F7F7F7;
  padding: 0 15px;
}

.form_wrap input[type=radio] {
  margin: 0;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.form_wrap .input span {
  font-size: 14px;
  color: #222222;
  line-height: 18px;
}

.input-payment {
  display: flex;
  gap: 51px;
  align-items: center;
}

.input-people {
  display: flex;
  gap: 28px;
}

.group-input-radio {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 8px;
}

.submit-btn button {
  display: flex;
  justify-content: center;
  background: #02459C;
  border-radius: 5px;
  padding: 20px 0;
  font-size: 20px;
  line-height: 24px;
  color: #FFFFFF;
  border: none;
  width: 100%;
  margin-bottom: 40px;
  cursor: pointer;
  font-family: "Noto Sans JP", sans-serif;
}

.confirm-form {
  margin-bottom: 46px;
  display: grid;
  justify-content: center;
  cursor: pointer;
}

.confirm-form input {
  margin: 0;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.confirm-form span {
  font-size: 14px;
  line-height: 18px;
}

.confirm-form span a {
  text-decoration: underline #02459C;
  color: #02459C;
}

.group-confirm-validate {
  display: flex;
  gap: 7px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: -14px;
}

#submit-form:disabled {
  cursor: not-allowed;
}

p.title-form {
  font-size: 24px;
  line-height: 33px;
  color: #2C2F2C;
  font-weight: bold;
  margin-bottom: 33px;
}

p.title-card-payment {
  font-size: 24px;
  line-height: 33px;
  color: #2C2F2C;
  font-weight: bold;
  margin-bottom: 33px;
  margin-top: 69px;
  margin-bottom: 33px !important;
}

#card-number {
  background: #F7F7F7;
  height: 40px;
  border-radius: 5px;
  margin-bottom: 26px;
}

#card-holder {
  background: #F7F7F7;
  height: 40px;
  border-radius: 5px;
  margin-bottom: 20px;
}

#card-expiry {
  background: #F7F7F7;
  height: 40px;
  border-radius: 5px;
  margin-bottom: 8px;
}

#card-cvc {
  background: #F7F7F7;
  height: 40px;
  border-radius: 5px;
  margin-bottom: 0px;
}

.form_wrap_payment {
  display: none;
}

.form_wrap_payment p {
  margin-bottom: 10px;
}

.field {
  box-sizing: border-box;
  padding: 0 15px;
  cursor: text;
}

#card-brand {
  position: absolute;
  top: 55%;
  left: 92%;
}

#card-brand img {
  height: 26px;
  width: 36px;
}

#cardNumber {
  position: relative;
}

#list-card {
  position: absolute;
  top: 55%;
  left: 67%;
}

.title-total-price {
  font-size: 18px !important;
  line-height: 25px !important;
}

.title-total-price span {
  font-size: 32px;
  font-weight: bold;
  line-height: 45px;
  color: #2C2F2C;
}

.title-total-price span:nth-child(1) {
  margin-left: 33px;
}

.form_wrap_price {
  margin-top: 50px;
}

.error {
  color: red;
}

.mg-20 {
  margin-bottom: 20px !important;
}

.mg-22 {
  margin-bottom: 22px;
}

.mg-34 {
  margin-bottom: 34px !important;
}

#card-number-error {
  position: absolute;
  left: 0;
  bottom: -25%;
}

::placeholder {
  color: #C6C6C6;
}

.group-confirm-validate .privacy-policy:hover {
  opacity: 0.7;
}

#password-discount {
  color: red;
  margin-top: 2px;
  font-size: 10px;
}

.error-card {
  position: absolute;
  top: 100%;
}

@media screen and (max-width: 765px) {
  .page-form-background {
    margin-top: 64px;
    background-image: url("../../img/page/form/page-form-background-sp.png");
    height: 202px;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    background-position: center;
    position: relative;
  }

  .page-form-background .page-form-title {
    font-size: 32px;
    font-weight: bold;
    z-index: 1;
  }

  .page-form-background-sp {
    background: rgb(73, 125, 137);
    background: linear-gradient(360deg, rgb(73, 125, 137) 0%, rgb(0, 66, 155) 100%);
    width: 100%;
    height: 100%;
    position: absolute;
    opacity: 0.7;
  }

  .form-intro {
    padding-top: 37px;
  }

  .form-intro-title h3 {
    font-size: 24px;
    line-height: 28px;
  }

  .form-intro-title-content {
    margin-top: 39px;
  }

  .form-intro-title-content span {
    display: block;
  }

  .form-intro-title-content p {
    line-height: 32px;
  }

  .form-intro-content {
    width: unset;
    grid-template-columns: 1fr;
    padding: 0 15px;
    gap: 20px;
  }

  .intro-content-item p:first-child {
    font-size: 20px;
    line-height: 20px;
  }

  .intro-content-item p.content-item-detail {
    line-height: 24px;
    padding: 0px 34px 14px 34px;
    letter-spacing: 0px;
  }

  .intro-content-item img {
    padding-top: 42px;
  }

  .intro-content-item .item-2 {
    width: 96px;
    padding-bottom: 32px;
  }

  .form-content {
    padding-top: 27px;
    padding-bottom: 40px;
  }

  .single-news {
    width: unset;
    padding: 40px 15px 40px 15px;
  }

  .single-news-wrap {
    display: unset;
  }

  .form_wrap {
    display: unset;
  }

  .form_wrap .input {
    margin-bottom: 28px;
  }

  .form_wrap p {
    width: unset;
    margin-bottom: 10px;
    font-size: 16px;
  }

  .form_wrap input[type=text] {
    width: 100%;
  }

  .form_wrap input[type=email] {
    width: 100%;
  }

  .form_wrap .input.input-radio {
    gap: 66px;
  }

  .confirm-form {
    justify-content: unset;
    margin-bottom: 40px;
  }

  .group-confirm-validate {
    justify-content: unset;
    margin-left: unset;
  }

  .group-input-radio {
    gap: 10px;
  }

  .submit-btn button {
    padding: 18px 0px;
    margin-bottom: unset;
  }

  .form__box h1 {
    font-size: 24px;
    margin-top: 62px;
    margin-bottom: 26px;
    line-height: 28px;
  }

  .title-total-price span {
    font-size: 24px;
  }

  .title-total-price span:nth-child(1) {
    margin-left: 20px;
  }

  p.title-card-payment {
    margin-top: 30px;
    font-size: 24px !important;
  }

  #card-brand {
    left: 87%;
  }

  #card-brand img {
    width: 26px;
    height: 26px;
  }

  #list-card {
    width: 32%;
    position: absolute;
    top: 66%;
    left: 66%;
  }

  .form_wrap .input span {
    min-width: 140px;
  }

  .input-people {
    gap: 32px !important;
  }

  .group-input-people span {
    min-width: 120px !important;
  }

  #card-number {
    margin-bottom: 30px;
  }
}
