#contact {
  max-width: 1000px;
  margin: auto;
  /*padding: 60px 0;*/
}

#contact p:first-child {
  text-align: center;
  line-height: 1.75em;
  font-size: 15px;
}

#contact address {
  text-align: center;
  margin: 50px 0 50px 0;
}

#contact address a {
  color: #f58491;
  font-size: 42px;
}

#contact address p {
  font-size: 13px;
  line-height: 1.75em;
  margin-top: 10px;
}

#contact h3 {
  text-align: center;
  font-size: 22px;
  margin-top: 50px;
  margin-bottom: 15px;
}

#contact table {
  width: 100%;
  max-width: 800px;
  line-height: 1.75em;
  margin: 15px auto;
}

#contact table th,
#contact table td {
  padding: 8px 10px;
  vertical-align: top;
}

#contact table th {
  width: 16em;
  padding-top: 20px;
}

span.must {
  background: #4c4948;
  color: #fff;
  padding: 0px 5px;
  border-radius: 3px;
  font-size: 11px;
  line-height: 20px;
  margin: 4px 5px 0 5px;
  display: inline-block;
}

#contact table th span.must {
  float: right;
}

#contact input[type="text"],
#contact input[type="tel"],
#contact input[type="email"] {
  border: 1px solid #000;
  display: block;
  width: 100%;
  height: 50px;
  padding: 0 20px;
}
/*
#contact input[type="radio"] {
  display: none;
}
*/
.wpcf7 textarea[name="textarea-355"] {
  width: 100%;
  height: 150px !important;
}
/*
#contact .wpcf7-form-control-wrap.radio-purpose .wpcf7-list-item,
#contact .wpcf7-form-control-wrap.model-gender .wpcf7-list-item {
  position: relative;
}
*/
#contact input + .wpcf7-list-item-label:before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 10px;
  width: 15px;
  height: 15px;
  border: 1px solid #999;
  border-radius: 50%;
  transform: translateY(-50%);
}
#contact input:checked + .wpcf7-list-item-label:after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 13px;
  width: 11px;
  height: 11px;
  background: #f58491;
  border-radius: 50%;
  transform: translateY(-50%);
}
#contact .plan input + .wpcf7-list-item-label:before,
#contact .privacypolicy input + .wpcf7-list-item-label:before {
  display: none;
}
#contact .plan input:checked + .wpcf7-list-item-label:after,
#contact .privacypolicy input + .wpcf7-list-item-label:after {
  display: none;
}
#contact .plan .wpcf7-checkbox {
  margin-left: -1em;
}
/*
#contact .wpcf7-form-control-wrap.model-gender .wpcf7-radio {
  display: flex;
  justify-content: flex-start;
  -ms-flex-pack: start;
}
*/
#contact .wpcf7-form-control-wrap.model-gender .wpcf7-list-item {
  margin: 0;
}
/*
#contact .wpcf7-form-control-wrap.model-gender .wpcf7-radio .wpcf7-list-item:first-child {
  margin-left: 30px;
}
#contact .wpcf7-form-control-wrap.model-gender .wpcf7-radio .wpcf7-list-item:last-child {
  margin-left: 60px;
}
*/
#contact .model-gender label {
  padding-left: 25px;
}
#contact .model-gender input + .wpcf7-list-item-label:before {
  left: 0;
}
#contact .model-gender input + .wpcf7-list-item-label:after {
  left: 3px;
}
#contact select {
  border: 1px solid #000;
  height: 50px;
  line-height: 50px;
  vertical-align: bottom;
}

#contact .purpose {
  text-align: center;
}

#contact .purpose label {
  display: inline-block;
  /*padding: 20px 35px;
  border: 1px solid #000;*/
  width: 240px;
  text-align: left;
  color: #666;
}

#contact .purpose :checked + span {
  font-weight: normal;
}

#contact .purpose label input {
  margin-left: 0;
}

#contact .wpcf7-field-groups {
  text-align: center;
}

#contact .wpcf7-field-groups button {
  border: 0;
  background: #f2f2f2;
  color: #8c742a;
  min-width: 50px;
  height: 50px;
  padding: 0 10px;
  cursor: pointer;
  font-size: 20px;
  margin: 0 5px;
}

#contact .wpcf7-field-group-add:after {
  content: " 撮影対象者を追加する";
  font-size: 14px;
}

#contact .wpcf7-field-group-remove:after {
  content: " 削除する";
  font-size: 14px;
}

#contact .selectdate select:first-child {
  margin-top: 0;
}

#contact .selectdate select {
}

/*
#contact .wpcf7-radio {
  display: inline-block;
  margin-top: 14px;
}
*/

#contact .wpcf7-checkbox {
  display: inline-block;
  margin-top: 14px;
  margin-bottom: 10px;
}

#contact .privacypolicytext {
  overflow: scroll;
  height: 10em;
  text-align: left;
  line-height: 2rem;
  background: #f2f2f2;
  padding: 20px;
  max-width: 800px;
  margin: 50px auto 0px auto;
}

#contact .privacypolicytext + div {
  text-align: center;
  margin: 20px 0;
}

#contact .privacypolicytext p {
  text-align: left;
}

#contact .sendbtn {
  text-align: center;
  margin: 40px 0;
}

#contact .sendbtn input {
  background: #333333;
  color: #b1a683;
  line-height: 80px;
  border: 0;
  cursor: pointer;
  display: inline-block;
  width: 200px;
}
#contact .selectdate span.p-anounce {
  display: block;
  font-size: 15px;
}

@media only screen and (max-width: 800px) {
  #contact {
    padding: 30px 15px;
  }

  #contact p:first-child {
    font-size: 11px;
    text-align: left;
  }

  #contact p:first-child br {
    display: none;
  }

  #contact h3 {
    font-size: 18px;
  }

  #contact address a {
    font-size: 28px;
  }

  #contact table th,
  #contact table td {
    display: block;
    padding-left: 0;
    padding-right: 0;
  }

  #contact table th {
    width: 100%;
    padding-bottom: 0;
    font-size: 15px;
  }

  #contact table th span.must {
    float: none;
  }

  #contact .purpose label {
    display: inline-block;
    width: 150px;
  }

  #contact select {
    height: 40px;
    line-height: 40px;
  }

  #contact .sendbtn input {
    height: 40px;
    line-height: 40px;
  }
} /*media*/

/* ==================================================
▼ ▼ ▼ 20201202 NEWフォーム ▼ ▼ ▼ 
================================================== */
#l-contact__form__birthday .l-contact__form__birthday__list {
  display: flex;
  align-items: center;
}
#l-contact__form__birthday .l-contact__form__birthday__list span {
  margin-left: 0.8rem;
  margin-right: 0.8rem;
}

#l-contact__form__checks {
  display: flex;
  flex-wrap: wrap;
}

#l-contact__form__checks__other {
  margin-top: 1rem;
}

#l-contact__form__checks .horizontal-item {
  width: 30%;
  line-height: 2rem;
  margin-left: 0 !important;
}

#l-contact__form__textarea {
  width: 100%;
  min-height: 200px;
}

input[type="radio"] {
  display: none;
}

input[type="radio"] + span {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  padding: 1.5rem;
  text-align: center;
  border-radius: 0.5rem;
  cursor: pointer;
  border: 1px solid #999;
}
input[type="radio"]:checked + span {
  color: white;
}
input[type="radio"]:checked + span::after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border-radius: 0.4rem;
  z-index: -1;
  background: #f58491;
}

#l-contact__form__gender .l-contact__form__gender__list {
  display: flex;
  width: 100%;
}
#l-contact__form__gender .l-contact__form__gender__list .horizontal-item {
  width: 30%;
}
#l-contact__form__gender .l-contact__form__gender__list .horizontal-item input[type="radio"] + span {
  padding: 0.6rem;
}

.l-contact__confirm .must,
.l-contact__confirm .privacypolicytext,
.l-contact__confirm #l-contact__form__privacy {
  display: none;
}

.l-contact__error .p-error__balloon {
  width: 100%;
}

.l-contact__error .p-error__balloon--center {
  text-align: center !important;
}
.l-contact__error .error {
  display: inline-block !important;
  position: relative !important;
  margin-top: 1rem !important;
  padding: 0.6rem !important;
  font-size: 0.7rem !important;
  line-height: 1 !important;
  color: white !important;
  border-radius: 0.3rem !important;
  background: #b70000 !important;
}
.l-contact__error .error::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  margin-left: -5px;
  border: 5px solid transparent;
  border-bottom: 5px solid #b70000;
}
#l-contact__form__btns {
  display: flex;
  justify-content: center;
}

#l-contact__form__btns li {
  margin: 0 0.6rem;
}

#l-contact__form__btns li input {
  padding: 1rem 4rem;
  border: none;
  cursor: pointer;
}

#l-contact__form__btns li:nth-child(1) input {
  background: #f58491;
  color: white;
}

.ui-datepicker-calendar thead tr th:nth-child(2),
.ui-datepicker-calendar thead tr th:nth-child(3) {
  color: #f58491;
}

.ui-datepicker-calendar tbody tr td:nth-child(2) a,
.ui-datepicker-calendar tbody tr td:nth-child(3) a {
  background: #f58491;
}
