main {
  max-width: 532px;
  margin: 0 auto;
  padding: 40px 16px 60px;
}

/* 注意書き */
/* -------------------------------------- */
.entry-note {
  margin-top: 32px;
}

.entry-note p {
  font-family: 'Noto Sans JP';
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 180%;
  letter-spacing: 0.04em;
  color: #2E2E2E;
}

.entry-note span {
  color: #F9BF11;
}

.entry-note a {
  color: #F9BF11;
  text-decoration: underline;
  transition: opacity .3s;
  cursor: pointer;
}

.entry-note a:hover {
  opacity: .7;
}

/* コンタクトフォーム */
/* -------------------------------------- */
.require-label {
  color: #F9BF11;
}

.wpcf7-form {
  width: 100%;
  margin-top: 32px;
}

.wpcf7-form p {
  color: #2E2E2E;
  font-family: 'Noto Sans JP';
  font-style: normal;
  font-weight: 700;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0.04em;
}

.wpcf7-form>p+p,
.wpcf7-form>p+div,
.wpcf7-form>div+div,
.wpc7-form>input {
  margin-top: 28px;
}

.wpcf7-form-control-wrap {
  display: block;
  margin-top: 12px;
}

/* チェックボックス */
.wpcf7-form>p>.acceptance {
  margin-top: 36px;
  font-size: 16px;
  color: #333333;
  display: flex;
  align-items: center;
  font-weight: 700;
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 100%;
}

.acceptance a {
  color: #F9BF11;
  margin-left: 8px;
  margin: 0 6px 0 8px;
  text-decoration: underline;
  transition: opacity .3s;
  font-weight: 700;
}

.acceptance a:hover {
  opacity: .7;
}

.acceptance>.wpcf7-form-control-wrap {
  margin-top: 0;
}

.acceptance input[type="checkbox"] {
  display: inline-block !important;
  width: 22px;
  height: 22px;
  appearance: none;
  border: 1px solid #A0A0A0;
  background: #F6F6F6;
  position: relative;
}

.acceptance input[type="checkbox"]:checked::before {
  content: '';
  background-image: url(../images/icons/checkbox.png);
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  top: 1px;
  display: flex;
  align-items: center;
  width: 22px;
  height: 22px;
  justify-content: center;
}

.wpcf7-list-item {
  margin: 0;
}

.ext_icon {
  margin-left: 6px;
}


/* テキスト入力ボックス */
.wpcf7-form-control-wrap>input {
  background: #FFFFFF;
  padding: 12px 10px;
  border: 1px solid #A0A0A0;
  width: 100%;
  height: 40px;
}

/* プレイスホルダー */
.wpcf7-form-control-wrap>input::placeholder {
  font-family: 'Noto Sans JP';
  color: #BBBBBB;
  font-weight: 400;
  font-size: 16px;
}

/* セレクトボックス */
select {
  display: block;
  width: 100%;
  height: 40px;
  padding-left: 10px;
  font-family: 'Noto Sans JP';
  font-style: normal;
  color: #2E2E2E;
  font-size: 16px;
  font-weight: 400;
  appearance: none;
  background-image: url(../images/icons/chevron-down.png);
  background-position: right 10px center;
  background-repeat: no-repeat;
  background-size: 12px 7px;
}

.wpcf7-form .select-box {
  margin-top: 12px;
}

.wpcf7-form .age-box {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.age-box>p {
  font-family: 'Noto Sans JP';
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 100%;
  color: #333333;
}

.age-box .wpcf7-form-control-wrap {
  margin-top: 0;
  width: 96px;
  height: 40px;
}

/* ファイル */
.wpcf7-form>.file-input {
  margin-top: 20px;
}

.wpcf7-form>.file-note {
  margin-top: 20px;
  font-weight: 400;
  line-height: 180%;
  letter-spacing: normal;
}

.wpcf7-form>.file-description {
  margin-top: 36px;
}

.file-input>p {
  font-weight: 400;
}

.file-input .wpcf7-form-control-wrap>input {
  border: none;
  font-family: 'Noto Sans JP';
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 140%;
  padding: 0;
  height: 34px;
}

/* 水平線 */
#hr {
  border: 1px solid #A0A0A0;
  margin: 36px 0;
  width: 100%;
}

/* 送信ボタン */
.submit .wpcf7-form-control {
  display: block;
  max-width: 500px;
  width: 100%;
  height: 100%;
  font-family: 'Noto Sans JP', sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0.04em;
  padding: 22px 20px;
  text-align: left;
  cursor: pointer;
  transition: opacity .3s;
  background-color: #2E2E2E;
  color: #FFFFFF;
  border: none;
  background-image: url(../images/icons/arrow-right.png);
  background-position: right 20px center;
  background-repeat: no-repeat;
  background-size: 32.5px 12px;
}

.submit .wpcf7-form-control:hover {
  opacity: .7;
}

#hr+p {
  height: 60px;
}

/* 入力不備時のテキスト */
.wpcf7-not-valid-tip {
  margin-top: 8px;
  font-size: 12px;
}

.age-box .wpcf7-not-valid-tip {
  width: 500px;
}

.wpcf7 form .wpcf7-response-output {
  padding: 0;
  margin: 16px auto 0;
  max-width: 500px;
  width: 100%;
  font-family: 'Noto Sans JP', sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 16px;
  line-height: 160%;
  letter-spacing: 0.04em;
  color: #dc3232;
  border: none;
  text-align: center;
}

/* 送信成功時のメッセージを非表示 */
.wpcf7-form.sent .wpcf7-response-output {
  display: none;
}

/* 送信中のスピナーを非表示 */
.wpcf7 .wpcf7-spinner {
  display: none;
}

@media screen and (min-width: 1024px) {
  main {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0 80px;
  }

  /* 注意書き */
  /* -------------------------------------- */
  .entry-note {
    margin-top: 40px;
  }

  /* コンタクトフォーム */
  /* -------------------------------------- */
  .wpcf7-form {
    margin-top: 40px;
  }

  /* チェックボックス */
  .wpcf7-form>p>.acceptance {
    margin-top: 40px;
    justify-content: center;
  }

  .acceptance>.wpcf7-form-control-wrap {
    margin-top: 0;
  }

  /* セレクトボックス */
  select {
    width: 400px;
  }

  .wpcf7-form>.select-box_pc {
    display: flex;
    gap: 16px;
  }

  .select-box {
    margin-top: 0px;
  }

  .select-box+.select-box {
    margin-top: 0px;
  }

  /* ファイル */
  .wpcf7-form>.file-input {
    margin-top: 20px;
    display: flex;
    gap: 20px;
    align-items: center;
  }

  .wpcf7-form>.file-input>p>span {
    margin-top: 0;
  }

  .wpcf7-form>.file-input>p:first-child {
    width: 88px;
  }

  .wpcf7-form>.file-description {
    margin-top: 30px;
  }

  /* 水平線 */
  #hr {
    margin: 40px 0;
  }

  /* 送信ボタン */
  .submit .wpcf7-form-control {
    max-width: 300px;
    margin: 0 auto;
  }
}