/*　フォーム全体　*/

/* ボタン */
.btnArea {
  text-align: center;
}
input[type="submit"] {
  background: #c84772;
  border: 2px solid #ffffff;
  width: 280px;
  color: #ffffff;
  text-align: center;
  font-size: 2.5rem;
  line-height: 1.3;
  letter-spacing: 0.5em;
  text-indent: 0.5em;
  font-weight: bold;
  padding: 1.4rem 0;
  margin-top: 2rem;
  cursor: pointer;
  border-radius: 0.3rem;
  transition: all 0.3s;
}
/* ボタンにホバーした時 */
input[type="submit"]:hover {
  color: #c84772;
  background-color: #ffffff;
  border-color: #c84772;
}

/* */
.inq-content {
  width: 89.6%;
  max-width: 1230px;
  margin: 0 auto;
}
.inq-content-width {
  max-width: 1100px;
  max-width: 960px;
}
.all_white_bg {
  padding: 180px 92px 160px;
  padding: 80px 95px 160px;
}

@media (max-width: 1220px) {
  .all_white_bg {
    padding: 180px 7% 160px;
  }
}

@media (max-width: 600px) {
  .all_white_bg {
    padding: 70px 6%;
  }
}

.contact .all_sub_fv .all_border_title ._main {
  padding-right: 0.05em;
}

.contact_flow {
  width: 100%;
  max-width: 410px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}
.contact_flow:before {
  content: "";
  background: #e7e7e7;
  width: calc(100% - 70px);
  height: 2px;
  position: absolute;
  left: 50%;
  top: 7px;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  display: block;
}
.contact_flow li {
  padding-top: 40px;
  position: relative;
  z-index: 2;
  line-height: 1;
}
.contact_flow li:after {
  content: "";
  background: #fff;
  width: 16px;
  height: 16px;
  position: absolute;
  left: 50%;
  top: 0;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  display: block;
  border: 1px #808080 solid;
  border-radius: 50%;
}
.contact_flow span {
  letter-spacing: 0.02em;
  font-weight: 700;
  font-size: 16px;
  color: #222020;
  opacity: 0.5;
}
.contact_flow ._current:after {
  background: #e31e23;
  border-color: #e31e23;
}
.contact_flow ._current span {
  color: #e31e23;
  opacity: 1;
}
.contact_flow + .all_text {
  margin: 80px 0 0;
}

.contact_table {
  width: 100%;
  margin: 48px 0 0;
}
.contact_table th {
  width: 260px;
  min-width: 260px;
  padding: 40px 0;
  vertical-align: top;
  text-align: left;
}
.contact_table th p {
  position: relative;
  font-size: 2rem;
}
.contact_table th p ._require {
  position: absolute;
  left: 0;
  top: -18px;
  font-weight: 700;
  font-size: 13px;
  font-size: 1.35rem;
  color: #e31e23;
}
.contact_table ._no_box th {
  padding: 25px 0;
}
.contact_table td {
  padding: 25px 0;
  vertical-align: top;
  font-weight: 700;
}
.contact_table input[type="text"] {
  width: 100%;
  padding: 17px 25px;
  display: block;
  -webkit-box-shadow: none;
  box-shadow: none;
  border: 2px rgba(34, 32, 32, 0.3) solid;
  font-weight: 700;
  color: #222020;
  font-size: 1.65rem;
  font-family: "Zen Kaku Gothic New", sans-serif;
}
.contact_table input[type="text"]:focus {
  border: 1px #e31e23 solid;
  outline: 0;
}
.contact_table *::-webkit-input-placeholder {
  color: #222020;
  opacity: 0.3;
}
.contact_table *::-moz-placeholder {
  color: #222020;
  opacity: 0.3;
}
.contact_table *:-ms-input-placeholder {
  color: #222020;
  opacity: 0.3;
}
.contact_table *::-ms-input-placeholder {
  color: #222020;
  opacity: 0.3;
}
.contact_table *::placeholder {
  color: #222020;
  opacity: 0.3;
}
.contact_table label {
  position: relative;
  display: block;
  line-height: 2;
}
.contact_table label span {
  padding-left: 40px;
  position: relative;
  display: inline-block;
}
.contact_table label input[type="radio"] ~ span:before {
  content: "";
  background: #e31e23;
  width: 12px;
  height: 12px;
  position: absolute;
  left: 4px;
  top: 1em;
  z-index: 2;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  display: block;
  border-radius: 50%;
  opacity: 0;
}
.contact_table label input[type="radio"] ~ span:after {
  content: "";
  width: 20px;
  height: 20px;
  position: absolute;
  left: 0;
  top: 1em;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  display: block;
  border: 1px #cdd6dd solid;
  border-radius: 50%;
}
.contact_table label input[type="checkbox"] ~ span:before {
  content: "";
  width: 7px;
  height: 11px;
  position: absolute;
  left: 6.5px;
  top: calc(1em - 2px);
  border-bottom: 1.5px #e31e23 solid;
  border-right: 1.5px #e31e23 solid;
  -webkit-transform: translateY(-50%) rotate(45deg);
  transform: translateY(-50%) rotate(45deg);
  display: block;
  opacity: 0;
}
.contact_table label input[type="checkbox"] ~ span:after {
  content: "";
  width: 20px;
  height: 20px;
  position: absolute;
  left: 0;
  top: 1em;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  display: block;
  border: 1px rgba(34, 32, 32, 0.1) solid;
  border-radius: 2px;
}
.contact_table label input {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
}
.contact_table label input:checked ~ span:before {
  opacity: 1;
}
.contact_table ._select {
  position: relative;
  border: 1px rgba(34, 32, 32, 0.1) solid;
}

.contact_table ._select select {
  background: none transparent;
  width: calc(100% + 50px);
  height: 60px;
  margin: 0;
  padding: 17px 25px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0;
  border: 0;
  font-weight: 700;
  outline: none;
  color: #222020;
  opacity: 0.3;
}
.contact_table textarea {
  width: 100%;
  height: 180px;
  padding: 17px 25px;
  display: block;
  -webkit-box-shadow: none;
  box-shadow: none;
  border: 1px rgba(34, 32, 32, 0.1) solid;
  font-weight: 500;
  resize: vertical;
  font-family: "Zen Kaku Gothic New", sans-serif;
}
.contact_table textarea:focus {
  border: 1px #e31e23 solid;
  outline: 0;
}
.contact_table ._has_privacy label {
  margin: 6px 0 0;
}
.contact_table ._has_privacy span {
  padding-left: 32px;
  font-weight: 700;
  font-size: 14px;
}
.contact_table ._has_privacy span a {
  font-weight: 700;
}

.contact .mw_wp_form .horizontal-item {
  display: block;
  font-size: 15px;
  color: #1a1a1a;
}
.contact .mw_wp_form .horizontal-item + .horizontal-item {
  margin: 5px 0 0;
}

.contact_agree_btn + span {
  cursor: pointer;
}

.contact_button {
  margin: 50px 0 0;
}
.contact_button .all_button {
  margin: 0 auto;
  padding: 0;
}
.contact_button .all_button::after {
  pointer-events: none;
}
.contact_button .all_button._hover input {
  color: #fff;
}
.contact_button input {
  background: transparent;
  width: 100%;
  height: 100%;
  padding: 0 50px 0 30px;
  border: none;
  line-height: 60px;
  font-weight: 700;
  font-size: 16px;
  color: #e31e23;
  cursor: pointer;
  -webkit-transition: 0.4s ease;
  transition: 0.4s ease;
}
.contact_button.disabled .all_button {
  opacity: 0.5;
  pointer-events: none;
}

.confirm .contact_table {
  max-width: 540px;
  margin: 60px auto 0;
}
.confirm .contact_table th {
  padding: 25px 0;
}
.confirm .contact_table ._select {
  border: none;
  font-weight: 700;
}
.confirm .contact_table ._select:after {
  display: none;
}

.contact_confirm_back {
  margin: 44px 0 0;
  text-align: center;
  display: none;
}
.contact_confirm_back input {
  background: transparent;
  text-decoration: underline;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.confirm .contact_confirm_back {
  display: block;
}

.contact_thanks_copy {
  margin: 90px 0 0;
  text-align: center;
}

.contact_thanks_back {
  margin: 65px 0 0;
  text-align: center;
}
.all_text {
  letter-spacing: 0.05em;
  line-height: 2;
  font-size: 16px;
  margin-bottom: 3.5rem;
}

.all_text_small {
  line-height: 2.13;
  font-size: 15px;
}

.all_text_smaller {
  line-height: 2;
  font-size: 14px;
}

.all_text_link {
  font-weight: inherit;
  text-decoration: underline;
  color: #222020;
}

@media (max-width: 768px) {
  .contact_table th {
    width: 100%;
    min-width: auto;
    padding: 40px 0 0;
    display: block;
  }
  .contact_table th p ._require {
    margin-left: 10px;
    position: static;
  }
  .contact_table tbody tr:nth-child(1) th {
    padding-top: 0;
  }
  .contact_table td {
    width: 100%;
    padding: 15px 0 0;
    display: block;
  }
  .contact_table ._no_box th {
    padding: 40px 0 0;
  }

  .confirm .contact_table th {
    padding: 35px 0 0;
  }
  .confirm .contact_table td {
    padding-top: 10px;
  }

  .contact_confirm_back {
    margin-top: 30px;
  }
}
@media (max-width: 600px) {
  .contact_flow + .all_text {
    margin-top: 45px;
  }
  .all_text {
    letter-spacing: 0;
    margin-bottom: 5rem;
  }
}

/* */
#contact .cf7 {
  font-family: "Zen Kaku Gothic New", sans-serif;
}
#contact .cf7__list {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

#contact .cf7__list dt:nth-of-type(n + 2),
#contact .cf7__list dd:nth-of-type(n + 2) {
  margin-top: 30px;
}

#contact .cf7__list dt {
  width: 35%;
  padding-top: 15px;
}

#contact .cf7__list p {
  font-size: 2rem;
}

#contact .cf7__list dd {
  width: 65%;
}

/* 必須・任意 */
#contact .cf7__required,
#contact .cf7__optional {
  margin-right: 15px;
  padding: 6px 14px;
  color: #fff;
  font-size: 12px;
  font-size: 1.75rem;
  vertical-align: 1px;
}

#contact .cf7__required {
  background: #be1d1d;
}

#contact .cf7__optional {
  background: #878d8e;
}

/* input・textarea */
#contact .cf7__list dd input[type="text"],
#contact .cf7__list dd input[type="tel"],
#contact .cf7__list dd input[type="email"],
#contact .cf7__list dd textarea {
  width: 100%;
  padding: 15px 20px;
  background: #f4f4f4;
}

/* ドロップダウンメニュー */
#contact .cf7__select {
  position: relative;
}

#contact .cf7__select:before {
  position: absolute;
  top: 50%;
  right: 20px;
  z-index: 10;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 8px solid #000;
  border-right: 6px solid transparent;
  border-left: 6px solid transparent;
  pointer-events: none;
  content: "";
}

#contact .cf7__select select {
  width: 100%;
  padding: 19px 20px;
  background: #f4f4f4;
  color: #a5a5a5;
  color: #504946;
  font-size: 1.5rem;
  font-family: "Zen Kaku Gothic New", sans-serif;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

#contact .cf7__select select option {
  font-family: "Zen Kaku Gothic New", sans-serif;
}

/* チェックボックス・ラジオボタン */
#contact .cf7__list dd .wpcf7-checkbox,
#contact .cf7__list dd .wpcf7-radio {
  display: block;
  padding: 15px 0 10px;
}

/* 縦並び（チェックボックス・ラジオボタン） */
#contact .cf7__list dd .wpcf7-list-item {
  display: block;
  margin: 0;
}

#contact .cf7__list dd .wpcf7-list-item:nth-child(n + 2) {
  margin-top: 18px;
}

/* マウスカーソル（チェックボックス・ラジオボタン） */
#contact .cf7__list dd .wpcf7-list-item label {
  cursor: pointer;
}

/* チェックボックス・ラジオボタン */
#contact input[type="checkbox"],
#contact input[type="radio"] {
  position: relative;
  width: 18px;
  height: 18px;
  margin-right: 8px;
  border: 1px solid #bcbcbc;
  vertical-align: -3px;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* チェックボックス */
#contact input[type="checkbox"]:checked {
  border: 1px solid #000;
  background: #000;
}

#contact input[type="checkbox"]:checked:before {
  position: absolute;
  top: 2px;
  left: 5px;
  transform: rotate(50deg);
  width: 6px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  content: "";
}

/* ラジオボタン */
#contact input[type="radio"] {
  border-radius: 50%;
}

#contact input[type="radio"]:checked:before {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #000;
  content: "";
}

/* プレースホルダー */
/* Google Chrome / Safari / Mozilla Firefox / Opera */
#contact .cf7__list dd input[type="text"]::placeholder,
#contact .cf7__list dd input[type="tel"]::placeholder,
#contact .cf7__list dd input[type="email"]::placeholder,
#contact .cf7__list dd textarea::placeholder {
  color: #a5a5a5;
  color: #504946;
}

/* Microsoft Edge */
#contact .cf7__list dd input[type="text"]::-ms-input-placeholder,
#contact .cf7__list dd input[type="tel"]::-ms-input-placeholder,
#contact .cf7__list dd input[type="email"]::-ms-input-placeholder,
#contact .cf7__list dd textarea::-ms-input-placeholder {
  color: #a5a5a5;
  color: #504946;
}

/* Internet Explorer */
#contact .cf7__list dd input[type="text"]:-ms-input-placeholder,
#contact .cf7__list dd input[type="tel"]:-ms-input-placeholder,
#contact .cf7__list dd input[type="email"]:-ms-input-placeholder,
#contact .cf7__list dd textarea:-ms-input-placeholder {
  color: #a5a5a5;
  color: #504946;
}

/* 送信ボタン */
#contact .cf7__button {
  padding-left: 72px;
  text-align: center;
  font-family: "Zen Kaku Gothic New", sans-serif;
}

#contact input[type="submit"] {
  width: 260px;
  height: 60px;
  background: #000;
  color: #fff;
  transition: opacity 0.6s;
  font-family: "Zen Kaku Gothic New", sans-serif;
}

#contact input[type="submit"]:hover {
  opacity: 0.4;
}

/* ajax-loader */
#contact .wpcf7-spinner {
  vertical-align: middle;
}

@media screen and (max-width: 767px) {
  #contact .cf7__list dt {
    width: 100%;
    margin-bottom: 15px;
    padding-top: 0;
  }

  #contact .cf7__list dd {
    width: 100%;
  }

  #contact .cf7__list dd:nth-of-type(n + 2) {
    margin-top: 0;
  }

  #contact .cf7__list dd .wpcf7-checkbox,
  #contact .cf7__list dd .wpcf7-radio {
    padding: 15px 0 0;
  }

  #contact .cf7__button {
    padding-left: 0;
  }
  /* 送信ボタン */
  #contact input[type="submit"] {
    width: 180px;
    height: 56px;
  }
}

/* エラー文 */
.wpcf7-not-valid-tip {
  box-sizing: border-box;
  border-radius: 5px;
  background-color: #e50031;
  color: #fff;
  display: block;
  font-size: 14px;
  font-weight: bold;
  margin-top: 10px;
  padding: 10px 10px;
  position: relative;
}
.wpcf7-not-valid-tip::before {
  content: "";
  border: 10px solid transparent;
  border-bottom: 15px solid #e50031;
  position: absolute;
  top: -25px;
  left: 5%;
}

.wpcf7 form.sent .wpcf7-response-output {
  /* 送信ボタン下完了時 */
  border-color: #8cebe5;
  border: 2px solid #8cebe5;
  padding: 5px;
  font-size: 1.6rem;
  margin-top: 2.5rem;
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
  /* 送信ボタン下未入力警告 */
  border-color: #f88;
  border: 2px solid #f88;
  padding: 5px;
  font-size: 1.6rem;
  margin-top: 2.5rem;
}
.wpcf7-not-valid-tip {
  /* 必須未入力項目下の文章 */
  color: #f88;
  color: #fff;
  font-size: 12px;
  font-size: 1.35rem;
}

/* エラーメッセージの上部を消去 */
div.screen-reader-response {
  display: none;
}
