#crmWebToEntityForm.zcwf_lblLeft * {
  box-sizing: border-box;
}

#crmWebToEntityForm {
  text-align: left;
}

#crmWebToEntityForm * {
  direction: ltr;
}

.zcwf_lblLeft .zcwf_title {
  padding: 0 6px 10px;
  font-weight: bold;
  overflow-wrap: break-word;
}

.zcwf_lblLeft.cpT_primaryBtn:hover {
  color: #fff !important;
  outline: 0 !important;
  background: linear-gradient(#02acff 0, #006be4 100%) no-repeat padding-box !important;
  border: 0 !important;
  box-shadow: 0 -2px 0 0 #0159b9 inset !important;
}

.zcwf_lblLeft .wfrm_fld_dpNn {
  display: none;
}

.zcwf_lblLeft .zcwf_col_help {
  float: left;
  max-width: 35%;
  margin-left: 7px;
  font-size: 12px;
  word-break: break-word;
}

.zcwf_lblLeft .zcwf_help_icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  font-size: 11px;
  font-weight: bold;
  line-height: 16px;
  color: #c1c1c1;
  text-align: center;
  cursor: pointer;
  background: #fff;
  border: 1px solid #c0c6cc;
  border-radius: 50%;
}

.zcwf_lblLeft .formsubmit {
  margin-right: 5px;
  font-size: 12px;
  color: #313949;
  cursor: pointer;
}

.zcwf_lblLeft .zcwf_tooltip_over {
  position: relative;
}

.zcwf_lblLeft .zcwf_tooltip_ctn {
  position: absolute;
  top: 3px;
  z-index: 100;
  min-width: 100px;
  max-width: 150px;
  padding: 3px 6px;
  color: #313949;
  word-break: break-word;
  background: #dedede;
  border-radius: 4px;
}

.zcwf_lblLeft .zcwf_ckbox {
  float: left;
}

.zcwf_lblLeft .zcwf_file {
  float: left;
  box-sizing: border-box;
  width: 55%;
}

.cBoth::after {
  clear: both;
  display: block;
  content: "";
}

@media all and (width <= 600px) {
  .zcwf_lblLeft .zcwf_col_help {
    width: 40%;
  }
}

/*
add: layout
*/
.zcwf_lblLeft .zcwf_row {
  display: grid;
  gap: 1em;
  align-items: baseline;
  padding-block: 20px;
  border-bottom: #e2e2e2 1px solid;
}

.zcwf_lblLeft .zcwf_col_lab label {
  display: flex;
  gap: 0.5em;
  align-items: baseline;
  font-weight: 700;
}

.zcwf_lblLeft .zcwf_col_lab label::before {
  flex-shrink: 0;
  width: calc(40 / 12 * 1em);
  padding: 2px 0;
  font-size: calc(12 / 16 * 1em);
  font-weight: normal;
  line-height: 1.5;
  color: #fff;
  text-align: center;
  content: "任意";
  background-color: #777;
}

.zcwf_lblLeft .zcwf_col_lab label:has(span)::before {
  content: "必須";
  background-color: #8d0d0e;
}

/* 元の*は非表示にする */
.zcwf_lblLeft .zcwf_col_lab label span[style="color:red;"] {
  display: none;
}

/* .zcwf_lblLeft .zcwf_col_fld {} */

.zcwf_lblLeft .zcwf_privacy .newCustomchkbox-md {
  display: flex;
  gap: 0.333em;
  align-items: center;
  justify-content: center;
}

.zcwf_lblLeft .zcwf_privacy_txt {
  font-size: 90%;
}

.zcwf_lblLeft .zcwf_privacy_txt a {
  color: #9eb3c9;
  text-decoration-line: underline;
}

.zcwf_lblLeft .zcwf_submit {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(min(100%, 240px),1fr));
  gap: 1em;
  width: min(640px, 100%);
  margin-block-start: 40px;
  margin-inline: auto;
}

.zcwf_lblLeft .zcwf_button {
    padding: 1em;
    font-size: 18px;
    font-weight: normal;
    text-align: center;
    border: solid 1px #000;
    transition: .2s ease;
}

.zcwf_lblLeft .zcwf_button.formsubmit {
  color: #fff;
  background-color: #000;
}

.zcwf_lblLeft .zcwf_button.formsubmit:hover {
  color: #000;
  background-color: #fff;
}

@media (width >= 741px) {
  .zcwf_lblLeft .zcwf_row:not(:has(.zcwf_privacy)) {
    grid-template-columns: 280px 1fr;
  }
}

/*
add: form tag
*/
.zcwf_lblLeft :where(input[type="text"], textarea, select) {
  box-sizing: border-box;
  display: block;
  width: 100%;
  min-height: 2em;
  padding: 0.5em 0.75em;
  font-size: inherit;
  line-height: 1.8;
  background: #f5f5f5;
  border: 1px solid #bebebe;

  /* transition: all .2s ease; */
}

.zcwf_lblLeft textarea {
  min-height: 8em;
}

.zcwf_lblLeft select {
  width: auto;
  appearance: menulist;
  appearance: menulist;
  appearance: auto;
}

.zcwf_lblLeft .zcwf_radioGroup {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em 1.5em;
  align-items: center;
  min-height: 2em;
}

.zcwf_lblLeft .zcwf_radioItem {
  display: flex;
  gap: 0.5em;
  align-items: center;
  font-weight: normal;
  cursor: pointer;
}

.zcwf_lblLeft .zcwf_radioItem input[type="radio"] {
  width: 1.2em;
  height: 1.2em;
  margin: 0;
}

/* zcwf-two-column */
.zcwf-two-column {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  align-items: center;
}

.zcwf-two-column-container {
  display: flex;
  gap: 10px;
  align-items: center;
}

.zcwf-two-column-container span {
  white-space: nowrap;
}

/* zcwf-ex-note */
.zcwf-ex-note {
  margin-block-start: 5px;
  margin-bottom: 0;
  font-size: 90%;
  color: #666;
}

/*
**********************************
元コード ※不要なら削除OK
**********************************

.formsubmit.zcwf_button{
  color: white !important;
  background: transparent linear-gradient(0deg, #0279FF 0%, #00A3F3 100%);
}
#crmWebToEntityForm.zcwf_lblLeft{
  width: 100%;
  padding: 25px;
  margin: 0 auto;
  box-sizing: border-box;
}
#crmWebToEntityForm.zcwf_lblLeft *{
  box-sizing: border-box;
}
#crmWebToEntityForm{
  text-align: left;
}
#crmWebToEntityForm *{
  direction: ltr;
}
.zcwf_lblLeft .zcwf_title{
  word-wrap: break-word;
  padding: 0px 6px 10px;
  font-weight: bold }
.zcwf_lblLeft.cpT_primaryBtn:hover{
  background: linear-gradient(#02acff 0,#006be4 100%)no-repeat padding-box !important;
  box-shadow: 0 -2px 0 0  #0159b9 inset !important;
  border: 0 !important;
  color:  #fff !important;
  outline: 0 !important;
}
.zcwf_lblLeft .zcwf_col_fld input[ type  = text], input[ type  = password], .zcwf_lblLeft .zcwf_col_fld textarea{
  width: 60%;
  border: 1px solid  #c0c6cc !important;
  resize: vertical;
  border-radius: 2px;
  float: left;
}
.zcwf_lblLeft .zcwf_col_lab{
  width: 30%;
  word-break: break-word;
  padding: 0px 6px 0px;
  margin-right: 10px;
  margin-top: 5px;
  float: left;
  min-height: 1px;
}
.zcwf_lblLeft .zcwf_col_fld{
  float: left;
  width: 68%;
  padding: 0px 6px 0px;
  position: relative;
  margin-top: 5px;
}
.zcwf_lblLeft .zcwf_privacy{
  padding: 6px;
}
.zcwf_lblLeft .wfrm_fld_dpNn{
  display: none;
}
.dIB{
  display: inline-block;
}
.zcwf_lblLeft .zcwf_col_fld_slt{
  width: 60%;
  border: 1px solid  #ccc;
  background:  #fff;
  border-radius: 4px;
  font-size: 12px;
  float: left;
  resize: vertical;
  padding: 2px 5px;
}
.zcwf_lblLeft .zcwf_row:after, .zcwf_lblLeft .zcwf_col_fld:after{
  content: '';
  display: table;
  clear: both;
}
.zcwf_lblLeft .zcwf_col_help{
  float: left;
  margin-left: 7px;
  font-size: 12px;
  max-width: 35%;
  word-break: break-word;
}
.zcwf_lblLeft .zcwf_help_icon{
  cursor: pointer;
  width: 16px;
  height: 16px;
  display: inline-block;
  background:  #fff;
  border: 1px solid  #c0c6cc;
  color:  #c1c1c1;
  text-align: center;
  font-size: 11px;
  line-height: 16px;
  font-weight: bold;
  border-radius: 50%;
}
.zcwf_lblLeft .zcwf_row{
  margin: 15px 0px;
}
.zcwf_lblLeft .formsubmit{
  margin-right: 5px;
  cursor: pointer;
  color:  #313949;
  font-size: 12px;
}
.zcwf_lblLeft .zcwf_privacy_txt{
  width: 90%;
  color: rgb(0, 0, 0);
  font-size: 12px;
  font-family: Arial;
  display: inline-block;
  vertical-align: top;
  color:  #313949;
  padding-top: 2px;
  margin-left: 6px;
}
.zcwf_lblLeft .zcwf_button{
  font-size: 12px;
  color:  #313949;
  border: 1px solid  #c0c6cc;
  padding: 3px 9px;
  border-radius: 4px;
  cursor: pointer;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.zcwf_lblLeft .zcwf_tooltip_over{
  position: relative;
}
.zcwf_lblLeft .zcwf_tooltip_ctn{
  position: absolute;
  background:  #dedede;
  padding: 3px 6px;
  top: 3px;
  border-radius: 4px;
  word-break: break-word;
  min-width: 100px;
  max-width: 150px;
  color:  #313949;
  z-index: 100;
}
.zcwf_lblLeft .zcwf_ckbox{
  float: left;
}
.zcwf_lblLeft .zcwf_file{
  width: 55%;
  box-sizing: border-box;
  float: left;
}
.cBoth:after{
  content: '';
  display: block;
  clear: both;
}
@media all and  (max-width: 600px){
  .zcwf_lblLeft .zcwf_col_lab, .zcwf_lblLeft .zcwf_col_fld{
    width: auto;
    float: none !important;
  }
  .zcwf_lblLeft .zcwf_col_help{
    width: 40%;
  }
}
*/
