/****************************** mobile,cpmmon ******************************/

/* -------------------- contact form7 -------------------- */
input[type="button"]
,input[type="text"]
,input[type="tel"]
,input[type="email"]
,input[type="submit"]
,input[type="image"]
,textarea{
  -webkit-appearance: none;
  /* border-radius: 0; */
}
/* コーポレートカラーに変更する */
input[type="text"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus,
input[type="time"]:focus,
input[type="date"]:focus,
textarea:focus{
  outline: none;
	box-shadow: 0 0 0 2px var(--corp_color);
}
input[type="submit"]:focus {
  outline: none;
}
/* お問い合わせ完了テキスト */
div.wpcf7-mail-sent-ok
,div.wpcf7-validation-errors
,div.wpcf7-acceptance-missing
,.wpcf7-response-output {
  color: #222222;
  text-align: center;
  letter-spacing: 1px;
	line-height: 24px;
  font-size: 14px!important;
  border: none!important;
}
/* 必須入力テキスト */
span.wpcf7-not-valid-tip {
	font-size: 14px!important;
  position: absolute;
  top: 50%;
  left: 100px;
  transform: translateY(-50%);
  border: none!important;
}
.wpcf7-list-item {
  margin: 0!important;
  display: block!important;
}
.wpcf7-list-item-label::before,
.wpcf7-list-item-label::after {
  display: none!important;
}

/* -------------------- h2要素 -------------------- */
.sCntctHdCon {
  background-image: url(../image/hd_cntct.jpg);
}

/* -------------------- お問い合わせ説明 -------------------- */
.sCntctInfoTxt {
  margin-bottom: 40px;
}

/* -------------------- フォーム要素 -------------------- */
.cnFormItem {
  margin-bottom: 22px;
}
.cnFormItemName {
  margin-bottom: 10px;
}
.cnFormItemRadioName {
  margin-bottom: 15px;
}
.cnFormInput input
,.cnFormTextArea textarea
,.cnFormSelect select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  font-size: 16px;
}
.cnFormInput input::placeholder,
.cnFormTextArea textarea::placeholder,
.cnFormSelect select::placeholder,
.cnFormItemName,
.cnFormRadio,
.cnFormPp,
.cnFormInputCheck span,
.cnFormButton input,
.cnFormItemPp span,
.cnFormItemPp .anchorInit {
  font-size: 13px;
}

/* 必須 */
.required {
  color: #ffffff;
  background: #ff0000;
  font-size: 10px;
  padding: 3px 5px;
  border-radius: 1px;
  box-sizing: border-box;
  margin-left: 3px;
  font-weight: 600;
}

/* フォームinput */
.cnFormInput input,
.cnFormTextArea textarea {
  background: rgba(255,255,255,0.8);
  border: 1px solid #c7c7c7;
  width: 100%;
  padding-left: 5px;
  box-sizing: border-box;
  border-radius: 3px;
}
.cnFormInput input
,.cnFormSelect select {
  height: 40px;
}
.cnFormTextArea textarea {
  height: 120px;
}

/* ラジオボタン */
.cnFormRadio label {
  display: block;
}
.cnFormRadio label:not(last-child) {
  margin-bottom: 8px;
}
.cnFormRadio input {
  margin: 0px 0px 2px 0px;
}
.cnFormRadio label span {
  padding-left: 5px;
}

/* プライバシーポリシー */
.cnFormItemPp {
  margin-bottom: 30px;
}
.cnFormItemPp br {
  display: none;
}
.cnFormItemPp .anchorInit {
  color: #767676;
  margin-top: 6px;
  display: block;
}
.cnFormItemPp input {
  width: 13px;
  top: 3.5px;
  position: relative;
  cursor: pointer;
  font-weight: 400;
  margin: 0px 5px 10px 0px;
}

/* フォームボタン */
.cnFormButton input {
  background: var(--corp_color);
  font-size: 14px;
  font-weight: 600;
  width: 100%;
  height: 48px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
}
.cnFormButton {
  height: 48px;
  margin-bottom: 10px;
}

/* recaptcha */
.cn_form_captcha {
  font-size: 10px;
  line-height: 16px;
}
.cn_form_captcha a {
  display: inline-block;
}

/* -------------------- 正規表現チェック時のエラースタイル -------------------- */
.errInput {
  background: rgba(255,0,0,0.5);
  font-size: 10px;
  margin: 5px 0 0;
  border-radius: 1px;
  padding: 3px 5px;
  display: none;
}
.errInputDisp {
  display: inline-block;
}

/****************************** tablet ******************************/
@media (min-width: 600px){

  /* -------------------- コンテンツ要素 -------------------- */
  .sCntctInfoTxt {
    text-align: center;
  }

  /* -------------------- フォーム要素 -------------------- */
  .cnFormItem {
    display: flex;
    justify-content: space-between;
  }
  .cnFormItem {
    margin-bottom: 40px;
  }
  .cnFormItemName {
    width: 25%;
    margin-bottom: 0;
  }
  .cnFormInput,
  .cnFormRadio,
  .cnFormTextArea {
    width: 70%;
  }

  /* ラジオボタン  */
  .cnFormRadio label {
    display: inline-block;
  }
  .cnFormRadio label:not(last-child) {
    margin-right: 20px;
    margin-bottom: 0px;
  }

  /* チェックボックス */
  .cnFormItemPp {
    text-align: center;
    margin-bottom: 50px;
  }

  /* フォームボタン */
  .cnFormButton {
    width: 300px;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 15px;
  }

  /* recaptcha */
  .cn_form_captcha {
    font-size: 11px;
    text-align: center;
  }

  /* -------------------- contact form7 -------------------- */
  .wpcf7-list-item {
    display: inline!important;
  }
}

/****************************** tablet Pro ******************************/
@media (min-width: 960px){

  /* -------------------- お問い合わせ説明 -------------------- */
  .sCntctInfoTxt {
    margin-bottom: 60px;
  }
  /* -------------------- フォーム要素 -------------------- */
  .cnFormInput input::placeholder,
  .cnFormTextArea textarea::placeholder,
  .cnFormSelect select::placeholder,
  .cnFormItemName,
  .cnFormPp,
  .cnFormRadio,
  .cnFormInputCheck span,
  .cnFormButton input,
  .cnFormItemPp span,
  .cnFormItemPp .anchorInit {
    font-size: 14px;
  }
  .cnFormInput input {
    height: 45px;
  }
}
