@charset "UTF-8";
/* お問い合わせ
--------------------------- */
.p-contact {
  padding: 120px 0 180px 0;
  background: url("../img/page-bg01.webp") no-repeat 50% 0%;
  background-size: cover;
}
@media screen and (max-width: 767px) {
  .p-contact {
    padding: 70px 0 100px 0;
  }
}
.p-contact__head {
  margin-bottom: 40px;
  border-bottom: 1px solid #707070;
}
.p-contact__title {
  margin-bottom: 55px;
  font-size: 26px;
  letter-spacing: 0.1em;
  line-height: 2;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .p-contact__title {
    margin-bottom: 30px;
    font-size: 15px;
  }
}
.p-contact__memo {
  margin-bottom: 70px;
  font-size: 16px;
  line-height: 1.25;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .p-contact__memo {
    margin-bottom: 50px;
    font-size: 12px;
  }
}
.p-contact__memo > span {
  color: #c90000;
}
.p-contact form p {
  line-height: 1.25;
  font-size: 15px;
}

.require {
  color: #c90000;
}

/* フォームリセット
   text,email,tel,submitのリセット
--------------------------- */
input[type=text],
input[type=email],
input[type=tel],
input[type=submit] {
  padding: 0;
  border: none;
  border-radius: 0;
  outline: none;
  background: none;
  box-shadow: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  /* 枠線を付けておく */
  border: 1px solid rgb(1, 1, 1);
}

input[type=file] {
  padding: 0;
  border: none;
  border-radius: 0;
  outline: none;
  background: none;
  box-shadow: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* text,email,tel
--------------------------- */
input[type=text],
input[type=email],
input[type=tel] {
  width: 100%;
  height: 64px;
  padding: 0.5em 1em;
  border: none;
  background-color: #ecefef;
  font-family: serif;
  font-size: 16px;
  font-weight: 400;
}
@media screen and (max-width: 767px) {
  input[type=text],
input[type=email],
input[type=tel] {
    height: 55px;
  }
}

input[type=text]:focus,
input[type=email]:focus,
input[type=tel]:focus {
  outline: 1px solid #3498db;
}

/* Radio Button
--------------------------- */
input[type=radio] {
  position: absolute;
  opacity: 0;
  z-index: -1;
}

.wpcf7-radio {
  display: block;
  margin-top: 20px;
}
.wpcf7-radio .wpcf7-list-item {
  display: block;
  margin: 0 0 15px 0;
}
.wpcf7-radio .wpcf7-list-item-label {
  position: relative;
  display: inline-block;
  padding-left: 34px;
  margin-bottom: 5px;
  cursor: pointer;
}
.wpcf7-radio .wpcf7-list-item-label::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 24px;
  border: 1px solid #000;
  border-radius: 50%;
  position: absolute;
  inset: -1px auto 0 0;
}
@media screen and (max-width: 767px) {
  .wpcf7-radio .wpcf7-list-item-label::before {
    inset: -2px auto 0 0;
  }
}
.wpcf7-radio input[type=radio]:checked + .wpcf7-list-item-label::after {
  content: "";
  display: block;
  width: 14px;
  height: 14px;
  background-color: #000;
  border-radius: 50%;
  position: absolute;
  inset: 4.5px auto auto 5px;
  margin: auto;
}
@media screen and (max-width: 767px) {
  .wpcf7-radio input[type=radio]:checked + .wpcf7-list-item-label::after {
    inset: 3px auto auto 5px;
  }
}
.wpcf7-radio input[type=radio]:focus + .wpcf7-list-item-label::before {
  outline: 1px solid #3498db;
}

/* Checkbox
   input[type="checkbox"]+*の*は必要であればクラス名に変更すること
--------------------------- */
input[type=checkbox] {
  position: absolute;
  opacity: 0;
  z-index: -1;
}

/* input[type="checkbox"]+* はチェックの次の要素 */
input[type=checkbox] + * {
  position: relative;
  display: inline-block;
  padding-left: 34px;
  margin-bottom: 5px;
  cursor: pointer;
  line-height: 1.4;
}
@media screen and (max-width: 767px) {
  input[type=checkbox] + * {
    line-height: 1.8;
  }
}

input[type=checkbox] + *::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 24px;
  border: 1px solid #000;
  position: absolute;
  inset: -1px auto 0 0;
}

input[type=checkbox]:checked + *::after {
  content: "";
  display: block;
  width: 9px;
  height: 18px;
  border: solid #c90000;
  border-width: 0 2px 2px 0;
  position: absolute;
  inset: 0 auto auto 7px;
  margin: auto;
  transform: rotate(45deg);
}

input[type=checkbox]:focus + *::before {
  outline: 1px solid #3498db;
}

/* input[type="file"]は保留
--------------------------- */
/* select
   optionのcssは変更できない。JSで書き換えることになる。
--------------------------- */
.select-wrap {
  position: relative;
  display: inline-block;
  width: 300px;
}

.select-wrap::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 10px;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #000;
  transform: translateY(-50%);
  pointer-events: none;
}

.select {
  padding: 10px;
  border: 2px solid #000;
  border-radius: 4px;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  font-size: 16px;
  color: #000;
}

.select:focus {
  border-color: #3498db;
}

/* Textarea
--------------------------- */
textarea {
  width: 100%;
  min-height: 300px;
  padding: 1em 1em;
  border: none;
  background-color: #ecefef;
  border-radius: 4px;
  font-size: 16px;
  resize: vertical;
  outline: none;
  box-sizing: border-box;
  margin-bottom: 20px;
  font-family: serif;
  font-weight: 400;
  font-size: 16px;
}

textarea:focus {
  border-color: #3498db;
}

/* Submit
--------------------------- */
input[type=submit] {
  width: 100%;
  max-width: 400px;
  height: 84px;
  padding: 0.5em;
  background-color: #fff;
  color: #000;
  border: 1px solid #000;
  text-align: center;
  font-size: 18px;
  letter-spacing: 0.2em;
  line-height: 1;
  cursor: pointer;
}
@media screen and (max-width: 767px) {
  input[type=submit] {
    height: 70px;
  }
}

input[type=submit]:hover {
  opacity: 1;
  background-color: #000;
  color: #fff;
}

input[type=submit]:active {
  background-color: #1c598a;
}

input[type=submit]:focus {
  background-color: #1c598a;
  border: 1px solid #3498db;
}

/* wpcf7 */
.form-item {
  margin-bottom: 44px;
}
@media screen and (max-width: 767px) {
  .form-item {
    margin-bottom: 30px;
  }
}

.wpcf7-list-item {
  margin: 0;
}

.wpcf7-form-control-wrap {
  display: block;
  margin-top: 10px;
}

.wpcf7-acceptance {
  display: block;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .wpcf7-acceptance {
    text-align: left;
  }
}
.wpcf7-acceptance a {
  color: #000;
  text-decoration: underline;
}
.wpcf7-acceptance a:hover {
  text-decoration: none;
}

.form-submit {
  margin: 70px 0 0 0;
  text-align: center;
}

.form-submit-btn-wrap {
  position: relative;
}
.form-submit-btn-wrap::after {
  content: "";
  position: absolute;
  top: calc(50% - 3px);
  right: 21px;
  width: 6px;
  height: 6px;
  border-top: 1px solid #000;
  border-right: 1px solid #000;
  transform: rotate(45deg);
}
.form-submit-btn-wrap:hover::after {
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
}

.wpcf7-spinner {
  display: none;
}

/* 送信完了
--------------------------- */
.p-thanks {
  padding: 120px 0 180px 0;
  background: url("../img/page-bg01.webp") no-repeat 50% 0%;
  background-size: cover;
}
@media screen and (max-width: 767px) {
  .p-thanks {
    padding: 70px 0 100px 0;
  }
}
.p-thanks__title {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin: 0 auto 90px;
  padding-bottom: 5.5px;
  border-bottom: 1px solid #c90000;
  font-size: 26px;
  letter-spacing: 0.1em;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .p-thanks__title {
    margin: 0 auto 60px;
    font-size: 18px;
  }
}
.p-thanks__memo {
  line-height: 2.5;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .p-thanks__memo {
    text-align: left;
    font-size: 14px;
  }
}

/* 正常送信のメッセージ */
.wpcf7-form.sent .wpcf7-response-output {
  display: none;
}

/* recaptcha */
.grecaptcha-badge {
  display: none;
}

.p-recaptcha {
  margin-top: 50px;
  text-align: right;
  font-size: 12px;
}
@media screen and (max-width: 767px) {
  .p-recaptcha {
    font-size: 11px;
  }
}