@charset "utf-8";
.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;
}

.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: 3px;
}

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

.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,
.form select {
  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 {
  max-width: 210px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: #f7f7f7 url(../images/select-arrow.svg) no-repeat right 12px
    center / 14px;
}

.form select.select__hour {
  background: #f7f7f7;
  font-size: clamp(9px, 0.96vw, 13px);
  text-align: center;
}

.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);
}

.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;
}

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

.contact__privacy-title::before {
  content: "";
  width: 13px;
  height: 13px;
  background: var(--color-base);
  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;
}

.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: #da2f1e;
  border: 1px solid #da2f1e;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.formBtn:hover {
  color: #da2f1e;
  background: #fff;
}

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

/* エントリーの希望日時カスタマイズ */

.entry__row {
  display: flex;
  align-items: center;
}

.contact__form .labelText01.label__small {
  font-size: 11px;
  letter-spacing: calc(50 / 1000 * 1em);
  font-weight: 400;
  line-height: 1.2;
  color: #454545;
}

@media screen and (min-width: 768px) {
  .contact__form .labelText01.label__small {
    font-size: 13px;
  }
}

.selectArea {
  margin-left: 5px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.d-md-inline-block {
  display: flex !important;
  flex-direction: column;
  gap: 5px;
}

@media screen and (min-width: 768px) {
  .d-md-inline-block {
    display: inline-flex !important;
    flex-direction: row;
    align-items: center;
  }
}

/* エントリーのファイル添付カスタマイズ */

.fileInput {
  width: 100%;
  height: inherit;
  font-size: 14px;
  line-height: 1;
}

.fileInput::file-selector-button {
  width: 200px;
  height: 50px;
  color: #272727;
  background: #f7f7f7;
  font-size: 14px;
  font-weight: 600;
  font-weight: 400;
  border-radius: 3px;
  border: 1px solid #d3d3d3;
  cursor: pointer;
  transition: all 0.5s ease;
}

.fileCaution {
  color: #969696;
  font-size: 12px;
  font-weight: 400;
  line-height: calc(17 / 12);
  margin-top: 8px;
}

.fileInput {
  text-align: start !important;
  white-space: nowrap !important;
  overflow: visible !important;
  text-overflow: clip !important;
  width: 100%;
  font-size: 12px;
  color: #333333;
  white-space: pre-line !important;
  line-height: 1.5 !important;
  position: relative;
}

.fileInput::file-selector-button {
  display: block !important;
  margin-bottom: 5px !important;
  width: 100%;
  height: 60px;
  color: transparent !important;
  background: #f7f7f7;
  font-size: 14px;
  border-radius: 3px;
  border: 1px solid #d3d3d3;
  cursor: pointer !important;
  white-space: normal !important;
}

/* fileAreaに疑似要素でカスタムテキストを追加 */
.fileArea {
  position: relative;
}

.fileArea::before {
  content: "ファイルを選択するまたはここにドラッグ＆ドロップ";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #272727;
  font-size: clamp(11px, 1.03vw, 14px);
  font-weight: 600;
  pointer-events: none;
  z-index: 1;
}

/* input要素内に改行を挿入 */
.fileInput::after {
  content: "\A";
  white-space: pre;
}

/* =======================
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: #da2f1e;
  border: 1px solid #da2f1e;
  border-radius: 5px;
  transition: all 0.3s ease;
}

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

.d-md-inline-block {
  display: inline-flex !important;
  flex-direction: row;
  align-items: center;
}
