@charset "utf-8";

.inquiry .layout {
  max-width: 1320px;
}

.inquiry {
  padding: 100px 0 633px;
}

.inquiry .top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.inquiry .top h3 {
  font-weight: 700;
  font-size: 32px;
  letter-spacing: -0.02em;
  color: #000000;
}

.inquiry .top p {
  font-weight: 500;
  font-size: 16px;
  color: var(--color-text-sub);
}

.inquiry .top p em {
  display: inline-block;
  color: #f86564;
}

.inquiry dl {
  margin-top: 20px;
  border-top: 1px solid #000;
}

.inquiry dl dt {
  width: 224px;
  font-weight: 500;
  color: var(--color-text);
  font-size: 20px;
  letter-spacing: -0.02em;
  position: relative;
  top: 29px;
}

.inquiry dl dt em {
  display: inline-block;
  color: #f86564;
}

.inquiry dl dd {
  padding: 20px 0 20px 224px;
  border-bottom: 1px solid #c4c4c4;
}

.inquiry dl dd:last-child {
  border-color: #000;
}

.inquiry dl dd input[type="text"],
.inquiry dl dd input[type="tel"],
.inquiry dl dd input[type="email"] {
  width: 100%;
  max-width: 1008px;
  height: 48px;
  border: 1px solid #c4c4c4;
  border-radius: 4px;
  font-weight: 500;
  padding: 0 20px;
  font-size: 18px;
  color: var(--color-text-sub);
}

.inquiry dl dd textarea {
  padding: 20px;
  width: 100%;
  max-width: 1008px;
  height: 240px;
  border: 1px solid #c4c4c4;
  border-radius: 4px;
  font-weight: 500;
  font-size: 18px;
  color: var(--color-text-sub);
  resize: none;
}

.inquiry dl dd select {
  width: 100%;
  max-width: 1008px;
  height: 48px;
  border: 1px solid #c4c4c4;
  border-radius: 4px;
  font-weight: 500;
  padding: 0 20px;
  font-size: 18px;
  color: var(--color-text-sub);
}

.inquiry dl dd .check-group {
  padding: 9px 0;
}

.inquiry dl dd .check-group .checkbox-type1 + .checkbox-type1 {
  margin-left: 43px;
}

.inquiry .terms-box {
  margin-top: 32px;
}

.inquiry .terms-box h3 {
  font-weight: 600;
  font-size: 24px;
  color: var(--color-text);
}

.inquiry .terms-box .txt-box {
  margin-top: 36px;
  padding: 30px 44px;
  background: #f7f7f7;
  border: 1px solid #c4c4c4;
  border-radius: 4px;
  height: 300px;
  overflow-y: auto;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.01em;
  color: var(--color-text-sub);
}

.inquiry .terms-box .txt-box strong {
  font-weight: 700;
  font-size: 20px;
}

.inquiry .terms-box .checkbox-type1 {
  margin-top: 21px;
}

.inquiry .button-box {
  margin-top: 111px;
  text-align: center;
  font-size: 0;
}

.inquiry .button-box button {
  display: inline-block;
  width: 280px;
  height: 88px;
  text-align: center;
  background: #027afd;
  border-radius: 4px;
  border: 1px solid #027afd;
  color: #fff;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.01em;
}

.inquiry .button-box button:first-child {
  border-color: var(--color-text);
  background: #fff;
  color: var(--color-text);
}

@media all and (max-width: 1280px) {
  .inquiry {
    padding: 100px 48px 433px;
  }
}

@media all and (max-width: 768px) {
  .inquiry {
    padding: 60px 32px 306px;
  }

  .inquiry .top h3 {
    font-size: 24px;
  }

  .inquiry dl {
    margin-top: 14px;
  }

  .inquiry dl dt {
    font-weight: 500;
    top: 0;
    padding-top: 20px;
    font-size: 16px;
    width: 100%;
    float: none;
  }

  .inquiry dl dd {
    padding: 10px 0 20px 0;
  }

  .inquiry dl dd .check-group {
    padding: 9px 0 0;
  }

  .inquiry dl dd .check-group .checkbox-type1 + .checkbox-type1 {
    margin-left: 24px;
  }

  .inquiry dl dd input[type="text"],
  .inquiry dl dd input[type="tel"],
  .inquiry dl dd input[type="email"] {
    height: 40px;
    font-size: 16px;
    color: var(--color-text-sub);
  }

  .inquiry dl dd textarea {
    height: 200px;
    font-size: 16px;
  }

  .inquiry dl dd select {
    height: 40px;
    font-size: 16px;
  }

  .inquiry .terms-box h3 {
    font-size: 20px;
  }

  .inquiry .terms-box .txt-box {
    margin-top: 28px;
    padding: 30px 22px;
  }

  .inquiry .button-box {
    margin-top: 55px;
    display: flex;
  }

  .inquiry .button-box button {
    width: 230px;
    height: 60px;
    font-size: 20px;
  }
}
