@charset "utf-8";

.contact__line-banner {
  text-align: center;
}

.contact__line-banner-link {
  display: inline-block;
  padding: clamp(18px, 2.27vw, 31px) clamp(25px, 2.71vw, 37px)
    clamp(18px, 2.05vw, 28px) clamp(50px, 6.59vw, 90px);
  border-radius: 8px;
  background: #0ca508;
  color: var(--color-white);
  position: relative;
  text-align: center;
}

.contact__line-banner-link::before {
  content: "";
  position: absolute;
  aspect-ratio: 50/48;
  top: 50%;
  left: clamp(12px, 1.91vw, 26px);
  transform: translateY(-50%);
  width: clamp(30px, 3.67vw, 50px);
  height: auto;
  background: url(../images/line-icon) no-repeat center center/contain;
}

.contact__line-banner-text {
  color: var(--color-white);
  font-size: clamp(14px, 1.32vw, 18px);
  font-weight: 600;
  letter-spacing: calc(60 / 1000 * 1em);
  line-height: 1.2;
}

.contact__line-banner-text-small {
  color: var(--color-white);
  margin-top: 3px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: calc(60 / 1000 * 1em);
  line-height: 1.2;
}

.contact__line-banner-description {
  margin-top: 11px;
  font-size: clamp(10px, 0.88vw, 12px);
  font-weight: 400;
  line-height: 1.2;
  color: #555555;
  text-align: center;
}

@media screen and (min-width: 768px) {
  .contact__inner.l-inner {
    max-width: calc(1060px + 40px * 2);
  }
}
.contact__container {
  margin-top: 60px;
  padding: clamp(50px, 6.59vw, 90px) 5px;
  border-radius: 10px;
  background: var(--color-white);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
}

@media screen and (min-width: 768px) {
  .contact__container {
    padding: clamp(50px, 6.59vw, 90px) clamp(20px, 5.86vw, 70px);
  }
}

.contact__form-wrap {
  width: 100%;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.contact__form label {
  margin-bottom: 0;
}

.contact__form .col-md-4,
.contact__form .col-md-8 {
  max-width: 100%;
  padding-right: 0;
  padding-left: 0;
}

.row {
  margin-left: 0;
  margin-right: 0;
}

.contact__form .container .row {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact__form .formTh {
  display: flex;
  gap: 12px;
}

.requiredText {
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.2;
  padding: 3px 7px 2px;
  background: #d80e0e;
  border-radius: 2px;
}

.anyText {
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.2;
  padding: 3px 7px 2px;
  background: #5a5a5a;
  border-radius: 2px;
}

.contact__form .labelText01 {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
  color: #454545;
}

.contact__form .labelText02 {
  font-size: 13px;
}

.form input[type="text"],
.form input[type="email"],
.form input[type="email"],
.form textarea {
  width: 100%;
  border-radius: 3px;
  border: 1px solid #d3d3d3;
  background: #f7f7f7;
  color: var(--color-base);
  padding: 14px 14px;
  font-size: 14px;
}

.form input[type="text"]::placeholder,
.form input[type="email"]::placeholder,
.form input[type="email"]::placeholder,
.form textarea::placeholder {
  color: #555555;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
}

.form input[type="text"]:focus,
.form input[type="email"]:focus,
.form input[type="email"]:focus,
.form textarea:focus,
.form select:focus {
  outline: none;
  border: 1px solid var(--color-base);
}

.form select {
  color: #555555;
  width: 100%;
  max-width: 236px;
  min-width: 50px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: #f7f7f7 url(../images/select-arrow.svg) no-repeat right 1px center /
    8px;
  border-radius: 3px;
  border: 1px solid #d3d3d3;
  padding: 14px 10px 14px 10px;
  font-size: 12px;
}

@media screen and (min-width: 768px) {
  .form select {
    background: #f7f7f7 url(../images/select-arrow.svg) no-repeat right 12px
      center / 14px;
    padding: 14px 32px 14px 14px;
    font-size: 14px;
  }
}

.form textarea {
  min-height: 197px;
}

.contact__privacy {
  background: #f7f7f7;
  border-radius: 3px;
  border: 1px solid #d3d3d3;
  padding: 24px 20px 17px;
  height: 155px;
  width: 100%;
  overflow-y: scroll;
}

@media screen and (min-width: 768px) {
  .contact__privacy {
    padding: 40px 54px 25px 30px;
  }
}

.contact__privacy-text,
.contact__privacy-box a {
  font-size: clamp(12px, 1.03vw, 14px);
  font-weight: 400;
  line-height: calc(30 / 14);
  color: #464646;
}

.contact__privacy-box {
  margin-top: 60px;
}

.contact__privacy-box .contact__privacy-text {
  margin-top: 40px;
}

.contact__privacy-title {
  margin-bottom: 41px;
  font-size: clamp(12px, 1.32vw, 18px);
  font-weight: 500;
  letter-spacing: calc(60 / 1000 * 1em);
  line-height: 1.2;
  padding-bottom: 15px;
  border-bottom: 1.5px solid #d0d0d0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #464646;
}

@media screen and (min-width: 768px) {
  .contact__privacy-title {
    gap: 20px;
  }
}

.contact__privacy-title::before {
  content: "";
  width: 13px;
  height: 13px;
  background: #272727;
  border-radius: 4px;
  flex-shrink: 0;
}

.contact__form .container .contact__privacy-check.row {
  margin-top: -20px;
}

.form input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border-radius: 2px;
  border: 1px solid var(--color-base);
  margin-right: 12px;
}

.privacyLabel {
  font-size: clamp(12px, 1.03vw, 14px);
  font-weight: 400;
  line-height: 1.2;
  color: #454545;
}

.formBtnTd {
  margin-top: 30px;
  text-align: center;
  margin-inline: auto;
  display: block;
  width: 100%;
}

.formBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 183px;
  padding: 13px 50px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: calc(50 / 1000 * 1em);
  line-height: 1.2;
  background: #0086cc;
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.3);
  border: 1px solid #0086cc;
  border-radius: 10px;
  transition: all 0.5s ease;
}

.formBtn:hover {
  color: #0086cc;
  background: #fff;
}

.formError {
  margin-top: -34px !important;
}

.contact__address {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.addArea {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact__addArea {
  display: flex;
  align-items: center;
  gap: 5px;
}

.zipInput {
  max-width: 150px;
}

.selectArea.birth {
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.birth-top {
  display: flex;
  align-items: center;
  gap: 3px;
}
/* =======================
formcomplete
========================== */

.contact__complete-text {
  line-height: 1.6;
  font-weight: 500;
}

.contact__complete-button {
  margin-top: 40px;
  display: block;
  text-align: center;
}

.contact__complete-button-link p {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 50px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: calc(50 / 1000 * 1em);
  background: #0086cc;
  border: 1px solid #0086cc;
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  transition: all 0.5s ease;
}

.contact__complete-button-link:hover p {
  color: #0086cc;
  background: #fff;
}
