* {
  padding: 0;
  margin: 0;

  h1 {
    font-size: clamp(36px, 3.2vw, 48px);
  }

  h2 {
    font-size: 24px;
  }

  h3 {
    font-size: 16px;
  }

  p {
    font-size: 20px;
  }

  a {
    text-decoration: none;
  }
}

body {
  font-family: kaisei-tokumin, sans-serif;
}

.cf7 {
  width: 100%;
  max-width: 840px;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 10px;
}

.cf7__list {
  margin: 0 auto;
  width: 90%;
  display: flex;
  flex-direction: column;
}

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

.cf7__list dt {
  width: 100%;
  max-width: 720px;
  padding-top: 10px;
}

.cf7__list dd {
  width: 100%;
}

/* 必須 */

.cf7__required {
  margin-left: 15px;
  padding: 6px 14px;
  color: #fff;
  font-size: 12px;
  vertical-align: 1px;
  background: #ff3500;
  border-radius: 3px 3px;
}

/* input・textarea */
.cf7__list dd input[type="text"],
.cf7__list dd input[type="tel"],
.cf7__list dd input[type="email"] {
  box-sizing: border-box;
  width: 100%;
  height: 50px;
  padding: 5px;
  background: #ffffff;
  border: solid 1px #eeeeee;
  border-radius: 3px 3px;
}

.cf7__list dd textarea {
  box-sizing: border-box;
  width: 100%;
  height: 200px;
  padding: 5px;
  background: #ffffff;
  border: solid 1px #eeeeee;
  border-radius: 3px 3px;
}

/* ラジオボタン */
.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="radio"] {
  position: relative;
  width: 18px;
  height: 18px;
  margin-right: 8px;
  border: 1px solid #bcbcbc;
  vertical-align: -3px;
  cursor: pointer;
  background-color: #ffffff;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* ラジオボタン */
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: "";
}

/* プレースホルダー */
/* Google Chrome / Safari / Mozilla Firefox / Opera */
.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;
}

/* Microsoft Edge */
.cf7__list dd input[type="text"]::-ms-input-placeholder,
.cf7__list dd input[type="tel"]::-ms-input-placeholder,
.cf7__list dd input[type="email"]::-ms-input-placeholder,
.cf7__list dd textarea::-ms-input-placeholder {
  color: #a5a5a5;
}

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

input[type="submit"] {
  margin-top: 50px;
  width: 100%;
  height: 60px;
  background: #000;
  color: #fff;
  transition: opacity 0.6s;
}

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

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