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

/* -------------------- フォーム要素 -------------------- */
.cnFormItem {
  margin-bottom: 20px;
}
/* フォーム要素名 */
.cnFormItemName {
  letter-spacing: 1px;
  margin-bottom: 5px;
  line-height: 20px;
}
.cnFormInput input
,.cnFormTextArea textarea
,.cnFormSelect select {
  font-size: 16px;
}
.cnFormInput input::placeholder
,.cnFormTextArea textarea::placeholder
,.cnFormSelect select::placeholder {
  font-size: 13px;
}
.cnFormItemName
,.cnFormPp
,.cnFormInputCheck span
,.cnFormButton input {
  font-size: 13px;
}
/* 必須 */
.required {
  color: #ffffff;
  background: #ff0000;
  font-size: 10px;
  letter-spacing: 1px;
  padding: 3px 5px;
  border-radius: 1px;
  box-sizing: border-box;
  margin-left: 3px;
  font-weight: 600;
}
.chushaku {
  color: #444444;
  display: block;
}
/* フォームinput */
.cnFormInput input
,.cnFormTextArea textarea {
  background: rgba(255,255,255,0.8);
  border: 1px solid #dcdcdc;
  width: 100%;
  padding-left: 5px;
  letter-spacing: 1px;
  box-sizing: border-box;
  border-radius: 3px;
}
.cnFormInput input
,.cnFormSelect select {
  height: 40px;
}

/* ラジオボタン */
.cnFormInputCheck input {
  width: 13px;
  top: 4px;
  position: relative;
  cursor: pointer;
  font-weight: 400;
  margin: 0px 5px 10px 0px;
}

/* セレクト */
.cnFormSelect {
  position: relative;
  border: 1px solid #dcdcdc;
  border-radius: 2px;
  background: rgba(255,255,255,0.5);
}
.cnFormSelect:before {
  position: absolute;
  top: 16px;
  right: 12px;
  content: '';
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid #666666;
  pointer-events: none;
  z-index: 1;
}
.cnFormSelectYr {
  margin: 0 0 5px 0;
}
.addSelect {
  margin-bottom: 10px;
}
.cnFormSelect select {
  width: 100%;
  padding: 8px 38px 8px 8px;
  border: none;
  outline: none;
  appearance: none;
}
.cnFormSelect select::-ms-expand {
  display: none;
}
/* テキストエリア  */
.cnFormTextArea textarea {
  height: 120px;
}
/* フォームボタン */
.cnFormButton input {
  background: #1f2774;
  color: #6d6d6d;
  font-weight: 600;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  letter-spacing: 1px;
}
.cnFormButton {
  letter-spacing: 1px;
  height: 48px;
  margin: 30px 0 0 0;
}
/* チェックボックス（プライバシーポリシー） */
#udAnchor {
  cursor: pointer;
}
#ppAnchor {
  cursor: pointer;
}
.cnFormPp input {
  width: 13px;
  top: 3.5px;
  position: relative;
  cursor: pointer;
  font-weight: 400;
  margin: 0px 5px 10px 0px;
}
.ppTxt
,.udTxt {
  transition: 0.3s;
  background: #f4f4f4;
  padding: 10px;
  max-width: 600px;
  box-sizing: border-box;
  margin: 0 auto;
}
.ppHide {
  display: none;
}
.ppDisplay {
  display: 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){

  /* -------------------- フォーム要素 -------------------- */
  .cnFormItem {
    display: flex;
    margin-bottom: 40px;
  }
  .cnFormItemPp {
    text-align: center;
  }
  .ppTxt
  ,.udTxt {
    text-align: left;
    padding: 15px;
  }
  .cnFormItemName
  ,.cnFormPp
  ,.cnFormInput input
  ,.cnFormTextArea textarea
  ,.cnFormInputCheck span
  ,.cnFormSelect select
  ,.cnFormPp
  ,.cnFormButton input {
    font-size: 14px;
  }
  .cnFormItemName {
    width: 30%;
    padding-right: 30px;
    box-sizing: border-box;
  }
  .cnFormInput
  ,.cnFormTextArea
  ,.cnFormAddCon
  ,.cnFormtxChckCon {
    width: 70%;
  }
  .cnFormButton {
    width: 300px;
    margin: 30px auto 0;
  }
  /* 住所 */
  .cnFormAddCon {
    display: flex;
    justify-content: space-between;
  }
  .cnFormSelect
  ,.cnFormMonth {
    width: 29%;
  }
  .cnFormSelectYr {
    margin: 0 8px 0 0;
  }
  /* ラジオボタン */
  .cnFormInputCheck span {
    margin-bottom: 5px;
  }
}

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

  /* -------------------- フォーム要素 -------------------- */
  .cnFormInput input
  ,.cnFormSelect select {
    height: 45px;
  }
  .cnFormButton input:hover {
    opacity: 0.8;
    transition: 0.3s;
  }
}
