@charset "UTF-8";
/*------------------- Company -------------------*/
/*-------------------p-contact.css -------------------*/
/* ---------------------------------------- */
/* ---------------------------------------- */
.p-contact {
  font-size: 1.6rem;
}
.p-contact select {
  -webkit-appearance: none;
  appearance: none;
  /* デフォルトの矢印を非表示 */
}
.p-contact select::-ms-expand {
  display: none;
}
.p-contact input[type=checkbox] {
  margin-right: 2px;
  -ms-transform: scale(1.1, 1.1);
  -webkit-transform: scale(1.1, 1.1);
  transform: scale(1.1, 1.1);
  accent-color: #CD4F2F;
}
.p-contact input[type=checkbox]:checked {
  color: #fff;
  background: #CD4F2F;
}
@media screen and (max-width: 960px) {
  .p-contact {
    width: 92%;
    margin: 78px 4% 0;
  }
}
@media screen and (min-width: 960px) and (max-width: 1160px) {
  .p-contact {
    width: calc(78.6% - 5px) 78.6%;
    margin-right: 5px;
  }
}
@media screen and (min-width: 961px) {
  .p-contact {
    width: 78.6%;
    margin-top: 78px;
    margin-left: auto;
  }
}
.p-contact__sub-heading {
  padding: 8px 0 8px 23px;
  border-left: solid 1px #CD4F2F;
}
.p-contact__form {
  margin-top: 50px;
  font-weight: 500;
}
@media screen and (min-width: 961px) {
  .p-contact__form {
    margin-top: 38px;
  }
}
.p-contact__form-group-mail {
  width: 100%;
}
.p-contact__form-section {
  margin-top: 30px;
  padding-bottom: 30px;
  width: 100%;
  max-width: 900px;
  border-bottom: solid 1px #D7D5D5;
  display: flex;
  flex-wrap: wrap;
}
.p-contact__form-section:first-of-type {
  margin-top: 0;
}
.p-contact__form-section:nth-of-type(n+8) {
  padding-bottom: 0;
  border: none;
}
.p-contact__form-section--name {
  justify-content: space-between;
}
@media screen and (max-width: 1064px) {
  .p-contact__form-section--name {
    flex-flow: column;
  }
}
.p-contact__form-section--consultation {
  flex-flow: column;
}
@media screen and (min-width: 960px) and (max-width: 1150px) {
  .p-contact__form-section {
    width: calc(100% - 10px);
    margin-right: 10px;
  }
}
@media screen and (min-width: 961px) {
  .p-contact__form-section {
    margin-top: 59px;
    padding-bottom: 58.6px;
  }
}
@media screen and (min-width: 961px) {
  .p-contact__form-section--agree {
    justify-content: center;
    margin-top: 45px;
  }
}
@media screen and (min-width: 961px) {
  .p-contact__form-section--submit {
    justify-content: center;
  }
}
@media screen and (max-width: 1064px) {
  .p-contact__form-group-name-kana {
    margin-top: 20px;
  }
}
.p-contact__form-label {
  display: block;
}
.p-contact__form-input {
  height: 40px;
}
@media screen and (min-width: 961px) {
  .p-contact__form-input {
    height: 47px;
  }
}
.p-contact__form-input--name, .p-contact__form-input--name-kana {
  width: 160px;
}
.p-contact__form-input--name:first-of-type, .p-contact__form-input--name-kana:first-of-type {
  margin-right: 23px;
}
@media screen and (max-width: 376px) {
  .p-contact__form-input--name:first-of-type, .p-contact__form-input--name-kana:first-of-type {
    margin-right: 10px;
  }
}
@media screen and (max-width: 376px) {
  .p-contact__form-input--name, .p-contact__form-input--name-kana {
    width: 150px;
  }
}
@media screen and (min-width: 961px) {
  .p-contact__form-input--name, .p-contact__form-input--name-kana {
    width: 188px;
  }
}
.p-contact__form-input--tel {
  width: 90px;
}
@media screen and (min-width: 961px) {
  .p-contact__form-input--tel {
    width: 211px;
  }
}
.p-contact__form-input--mail {
  width: 100% !important;
  max-width: 900px;
}
.p-contact__img-dash {
  height: 47px;
  width: 12px;
  margin: 0 17px;
  display: inline-block;
  transform: translate(0, 32%);
  -webkit-transform: translate(0, 32%);
  -ms-transform: translate(0, 32%);
}
@media screen and (max-width: 420px) {
  .p-contact__img-dash {
    margin: 0 3px;
  }
}
.p-contact__inquiry-options, .p-contact__purpose-options, .p-contact__scale-options {
  display: flex;
}
@media screen and (max-width: 960px) {
  .p-contact__inquiry-options, .p-contact__purpose-options, .p-contact__scale-options {
    margin-top: 20px;
    flex-direction: column;
  }
}
@media screen and (min-width: 961px) {
  .p-contact__inquiry-options, .p-contact__purpose-options, .p-contact__scale-options {
    margin-top: 20px;
  }
}
.p-contact__inquiry-group {
  display: flex;
  flex-direction: column;
}
@media screen and (max-width: 960px) {
  .p-contact__inquiry-group--right {
    margin-top: 20px;
  }
}
@media screen and (min-width: 961px) {
  .p-contact__inquiry-group--right {
    margin-left: 40px;
  }
}
.p-contact__inquiry-option:not(:first-of-type) {
  margin-top: 17px;
}
@media screen and (min-width: 961px) {
  .p-contact__inquiry-option:not(:first-of-type) {
    margin-top: 16px;
  }
}
.p-contact__purpose-group {
  display: flex;
}
@media screen and (max-width: 960px) {
  .p-contact__purpose-group:not(:first-of-type) {
    margin-top: 17px;
  }
}
@media screen and (max-width: 960px) {
  .p-contact__purpose-option--left, .p-contact__scale-option--left, .p-contact__consultation-option--left {
    width: 150px;
    display: inline-block;
    order: 1;
  }
  .p-contact__purpose-option--right, .p-contact__scale-option--right, .p-contact__consultation-option--right {
    order: 2;
  }
}
@media screen and (max-width: 960px) {
  .p-contact__scale-group:not(:first-of-type) {
    margin-top: 17px;
  }
}
@media screen and (max-width: 960px) {
  .p-contact__consultation-options {
    margin-top: 20px;
    flex-direction: column;
  }
}
@media screen and (min-width: 961px) {
  .p-contact__consultation-options {
    margin-top: 20px;
  }
}
.p-contact__consultation-datetime {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  margin-top: 23px;
}
@media screen and (max-width: 960px) {
  .p-contact__consultation-datetime {
    flex-flow: column;
  }
}
@media screen and (min-width: 960px) and (max-width: 1055px) {
  .p-contact__consultation-datetime {
    flex-flow: column;
  }
}
@media screen and (min-width: 1056px) {
  .p-contact__consultation-datetime {
    margin-top: 24px;
    justify-content: space-between;
  }
}
@media screen and (max-width: 1055px) {
  .p-contact__consultation-datetime-group:not(:first-of-type) {
    margin-top: 23px;
  }
}
.p-contact__consultation-select-label:not(:last-of-type) {
  margin-right: 20px;
}
.p-contact__consultation-select-wraper {
  display: inline-block;
  position: relative;
}
.p-contact__consultation-select-wraper::after {
  height: 10px;
  width: 10px;
  border-right: solid 1px #c9caca;
  border-bottom: solid 1px #c9caca;
  display: block;
  content: "";
  position: absolute;
  transform: translate(0, -50%);
  -webkit-transform: translate(0, -50%);
  -ms-transform: translate(0, -50%);
  transform: rotate(45deg);
  top: calc(50% - 7.5px);
  right: 15px;
  pointer-events: none;
}
@media screen and (min-width: 961px) {
  .p-contact__consultation-select-wraper::after {
    right: 23px;
  }
}
.p-contact__consultation-select {
  height: 40px;
  margin-right: 2px;
  padding-right: 15px;
  border: solid 1px #c9caca;
  border-radius: 7.5px;
  text-align-last: center;
}
.p-contact__consultation-select:focus {
  outline-color: #CD4F2F;
}
@media screen and (max-width: 960px) {
  .p-contact__consultation-select--month, .p-contact__consultation-select--day {
    width: 80px;
  }
  .p-contact__consultation-select--hour {
    width: 90px;
  }
}
@media screen and (min-width: 961px) {
  .p-contact__consultation-select {
    margin-right: 10px;
  }
  .p-contact__consultation-select--month, .p-contact__consultation-select--day {
    width: 82px;
  }
  .p-contact__consultation-select--hour {
    width: 105px;
  }
}
.p-contact__consultation-datetime-sub-title {
  font-size: 1.6rem;
  letter-spacing: 0.01em;
}
.p-contact__consultation-datetime-fields {
  margin-top: 12px;
}
.p-contact__message-group {
  width: 100%;
}
.p-contact__message-textarea {
  height: 145px;
  width: calc(100% - 1px);
  margin-top: 10px;
  padding: 20px;
  border: solid 1px #9fa0a0;
  border-radius: 10px;
  font-size: 1.6rem;
  line-height: 1.5em;
  box-sizing: border-box;
  resize: none;
}
.p-contact__message-textarea:focus {
  border: 1px solid #CD4F2F;
  outline: 0;
}
.p-contact__agree-option-label {
  margin-right: 0;
}
.p-contact__agree-option-text {
  font-size: 1.6rem;
  font-weight: 500;
}
.p-contact__agree-policy-link {
  display: inline-block;
  position: relative;
}
.p-contact__agree-policy-link::before {
  height: 30px;
  width: 129px;
  border-bottom: 1px solid #c9caca;
  display: inline-block;
  content: "";
  position: absolute;
  top: 0;
}
.p-contact__form-button {
  height: 50px;
  width: 200px;
  border: none;
  border-radius: 10px;
  color: #fff;
  background: #CD4F2F;
  font-size: 1.6rem;
  font-weight: 500;
  display: flex;
  justify-content: center;
  align-items: center;
}
.p-contact__alert-message {
  width: 100%;
  margin-bottom: 5px;
  color: #ff0000;
  font-size: 1.4rem;
  font-weight: 500;
  display: block;
}
.p-contact__form-section--agree > .p-contact__alert-message {
  text-align: center;
}