@charset "UTF-8";

.pd-form {
  padding: 0 0 30px 0;
  
  font-size: 14px;
  color: rgb(51, 51, 51);
}

.pd-form-fields {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 40px;
  background: #f7faff;
  padding: 20px;
}

.pd-form-row {
  margin-top: 20px;
  
  box-sizing: border-box;
  width: 100%;
  
  display: flex;
  /* align-items: center; */
}

.pd-form-requied > .pd-form-cell-label:after {
  display: inline-block;
  padding: 5px;
  font-size: 10px;
  font-weight: bold;
  line-height: 1;
  color: #b19529;
  content: "必須";
  background: #fff6d2;
  border: 1px solid #ccc;
  border-radius: 4px;
  vertical-align: middle;
  float: right;
  margin-right: 14px;
}

.pd-form-optional > .pd-form-cell-label:after {
  display: inline-block;
  padding: 5px;
  font-size: 10px;
  font-weight: bold;
  line-height: 1;
  color: #6E6E73;
  content: "任意";
  background: #EDEDED;
  border: 1px solid #ccc;
  border-radius: 4px;
  vertical-align: middle;
  float: right;
  margin-right: 14px;
}

.pd-form-requied input,
.pd-form-requied select,
.pd-form-requied textarea {
  background-color: rgb(255, 242, 199);  
}

.pd-form input[type="text"],
.pd-form select {
  padding: 0 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 100%;
  height: 34px;
  box-sizing: border-box;
}
.pd-form select {
  -moz-appearance: auto;
  -webkit-appearance: auto;
}
.pd-form textarea {
  padding: 10px 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  
  width: 100%;
  height: 80px;
  box-sizing: border-box;
}
.pd-form input[type="checkbox"] {
  /* margin-top: 10px; */
}
.pd-form-logicals {
  margin-top: 8px;
}
.pd-form-logical {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}
.pd-form-checkbox,
.pd-form-radio {
  margin-right: 4px;
}

.pd-form .pd-form-error {
  background-color: #ffd7d4;
}

.pd-form-cell-label {
  width: 210px;
  min-width: 210px;
  flex-grow: 0;
  margin-top: 8px;
  text-align: left;
  display: flex;
  align-items: start; 
}
.pd-form-cell-label > label {
  flex-grow: 1;
}
.pd-form-cell-label::after {
  flex-grow: 0;
  min-width: fit-content;
}
.pd-form-cell-input {
  flex-grow: 1;
  box-sizing: border-box;
}

.pd-form-cell-field {
  display: flex;
  /* align-items: center; */
  margin-right: 12px;
}
.pd-form-cell-field:last-child {
  margin-right: 0;
}
.pd-form-cell-field > .pd-form-cell-label {
  min-width: fit-content;
  width: auto;
  margin-right: 12px;
}

.pd-form-description {
  margin-top: 4px;
  font-size: 12px;
  color: #757c85;
}


.pd-form-hiddens {
  display: none;
}


.pd-form-html .privacy-policy {
  text-align: center;
  margin-top: 80px;
  margin-bottom: 80px;
}


.pd-form-submit {
  text-align: center;
}
.pd-form-submit input[type="submit"] {
   cursor: pointer;
  
  width: 391px;
  padding: 21px 0;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  background: #ff6400;
  border: none;
  border-radius: 36px;
  line-height: 1.5;
  max-width: 100%;
}
.pd-form-submit input[type="submit"]:active {
  background: #ff934d;
}


.pd-form-columns {
  display: flex;
}
.pd-form-columns > * {
  margin-left: 20px;
}
.pd-form-columns > *:first-child {
  margin-left: 0;
}
.pd-form-flex-fit {
  width: fit-content;
  min-width: fit-content;
  flex-grow: 0;
}


@media screen and (max-width:700px) {
  .pd-form {
    width: 100% !important;
  }
  .pd-form-row {
    display: block;
  }
  .pd-form-cell-label {
    width: 100%;
    margin-bottom: 10px;
  }
  .pd-form-requied .pd-form-cell-label:after {
    float: none;
  }
  .pd-form-cell-field {
    margin-right: 0;
  }
  
  .pd-form-columns {
    flex-wrap: wrap;
    justify-content: center;
  }
}