:root {
  --title-fontsize-1000-1440-23-25: clamp(1.4375rem, 1.1534rem + 0.4545vw, 1.5625rem);
  --title-fontsize-480-1000-22-23: clamp(1.375rem, 1.3173rem + 0.1923vw, 1.4375rem);
  --title-fontsize-250-480-19-21: clamp(1.1875rem, 1.0516rem + 0.8696vw, 1.3125rem);

  --fontsize-1000-1440-18-20: clamp(1.125rem, 0.8409rem + 0.4545vw, 1.25rem);
  --fontsize-480-1000-17-18: clamp(1.0625rem, 1.0048rem + 0.1923vw, 1.125rem);
  --fontsize-250-480-17-18: clamp(1.0625rem, 0.9946rem + 0.4348vw, 1.125rem);
  --font-size2: clamp(0.75rem, 0.3333rem + 2.2222vw, 1rem);
}

main {
  margin-top: 50px;
}


.cf7__list {
  display: flex;
  flex-wrap: wrap;
  padding: 5vw;
  background-color: #fdf6de;
  max-width: 1200px;
  margin: 5vw auto;
}

.cf7 .contact-title {
  font-size: clamp(1rem, 0.8636rem + 0.7273vw, 1.5rem);
  text-align: left;
  text-align: center;
}

.cf7 .contact-semititle {
  font-size: 10px;
  text-align: center;
}

.cf7__list dt p {
  font-size: 18px;
}

.cf7__list dt:nth-of-type(n + 2),
.cf7__list dd:nth-of-type(n + 2) {
  margin-top: 30px;
}

.cf7__list dt {
  width: 35%;
  padding-top: 15px;
}

.cf7__list dd {
  width: 65%;
}

/* 必須・任意 */
.cf7__required,
.cf7__optional {
  margin-right: 15px;
  padding: 6px 14px;
  color: #fff;
  font-size: 12px;
  vertical-align: 1px;
}

.cf7__required {
  background: #BE1D1D;
}

.cf7__optional {
  background: #878D8E;
}

/* input・textarea */
.cf7__list dd input[type="text"],
.cf7__list dd input[type="tel"],
.cf7__list dd input[type="email"],
.cf7__list dd textarea {
  width: 100%;
  padding: 15px 20px;
  background: #F4F4F4;
}


/* ドロップダウンメニュー */
.cf7__select {
  position: relative;
}

.cf7__select:before {
  position: absolute;
  top: 50%;
  right: 20px;
  z-index: 10;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 8px solid #000;
  border-right: 6px solid transparent;
  border-left: 6px solid transparent;
  pointer-events: none;
  content: '';
}


.cf7__select select {
  width: 100%;
  padding: 19px 20px;
  background: #F4F4F4;
  color: #a5a5a5;
  appearance: none;
}

/* チェックボックス・ラジオボタン */
.cf7__list dd .wpcf7-checkbox,
.cf7__list dd .wpcf7-radio {
  display: block;
  padding: 15px 0 10px;
}

/* 縦並び（チェックボックス・ラジオボタン） */
.cf7__list dd .wpcf7-list-item {
  display: block;
  margin: 0;
}

.cf7__list dd .wpcf7-list-item:nth-child(n + 2) {
  margin-top: 18px;
}

/* マウスカーソル（チェックボックス・ラジオボタン） */
.cf7__list dd .wpcf7-list-item label {
  cursor: pointer;
}

/* チェックボックス・ラジオボタン */
input[type="checkbox"],
input[type="radio"] {
  position: relative;
  width: 18px;
  height: 18px;
  margin-right: 8px;
  border: 1px solid #bcbcbc;
  vertical-align: -3px;
  cursor: pointer;
  appearance: none;
}

/* チェックボックス */
input[type="checkbox"]:checked {
  border: 1px solid #000;
  background: #000;
}

input[type="checkbox"]:checked:before {
  position: absolute;
  top: 2px;
  left: 5px;
  transform: rotate(50deg);
  width: 6px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  content: '';
}

/* ラジオボタン */
input[type="radio"] {
  border-radius: 50%;
}

input[type="radio"]:checked:before {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #000;
  content: '';
}


.cf7__list dd input[type="text"]::placeholder,
.cf7__list dd input[type="tel"]::placeholder,
.cf7__list dd input[type="email"]::placeholder,
.cf7__list dd textarea::placeholder {
  color: #a5a5a5;
}


/* 送信ボタン */
.cf7__button {
  padding-left: 72px;
  text-align: center;
}

input[type="submit"] {
  width: 260px;
  height: 60px;
  background: #029400;
  color: #fff;
  transition: opacity .2s;
  border-radius: 10vw;
}

input[type="submit"]:hover {
  opacity: .6;
}

/* ajax-loader */
.wpcf7-spinner {
  vertical-align: middle;
}

@media screen and (max-width: 767px) {
  .wpcf7-textarea,
  .wpcf7-not-valid-tip {
  font-size:17px;
  }

  .cf7__list dt {
    width: 100%;
    margin-bottom: 15px;
    padding-top: 0;
  }

  .cf7__list dd {
    width: 100%;
  }

  .wpcf7-radio span {
    font-size: 17px;
  }

  .cf7__select select {
    font-size: 17px;
    width: 100%;
    padding: 10px 11px;
    background: #F4F4F4;
    color: #a5a5a5;
    appearance: none;
  }

  .wpcf7-form-control-wrap input {
    padding: 10px 11px;
    font-size: 17px;
  }

  .cf7__list dd:nth-of-type(n + 2) {
    margin-top: 0;
  }

  .cf7__list dd .wpcf7-checkbox,
  .cf7__list dd .wpcf7-radio {
    padding: 15px 0 0;
  }

  /* 送信ボタン */
  input[type="submit"] {
    width: 180px;
    height: 56px;
  }

  .cf7__list dt p {
    font-size: 16px;
  }

}

.cf7__checkbox {
  margin: 20px 0;
  text-align: center;
}

.cf7__checkbox label {
  font-size: 14px;
  cursor: pointer;
}

.cf7__checkbox input[type="checkbox"] {
  margin-right: 5px;
}

.policy-box {
  width: 90%;
  /* ボックスの幅 */
  max-width: 800px;
  height: 20vw;
  /* ボックスの高さ */
  min-height: 200px;
  text-align: left;
  overflow-y: auto;
  /* 縦スクロール可能にする */
  background-color: #fff2c8;
  /* 背景色 */
  border-radius: 5px;
  /* 角を丸くする */
  margin: 5vw auto;
}


.policy-box p {
  font-size: 14px;
  font-family: sans-serif !important;
  color: #212121;
  line-height: 30px;
}

.policy-box p span {
  font-weight: bold;
  font-size: 14px;
  margin: 13px 0;
  display: block;
  color: #ff7300;
}

.wpcf7-response-output {
  font-size: 18px !important;
  border: 0px solid #fff !important;
}

@media screen and (max-width:768px) {
  .wpcf7-response-output {
    font-size: 16px !important;
  }

}