.contact_wrap {
  width: 100%;
  height: auto;
  z-index: 9999;
  padding-bottom: 50px;
  font-family: "Noto Sans JP", "hiragino sans", Meiryo, sans-serif;
  font-weight: 400;
  background-color: rgb(47, 45, 50);
  /* position: relative; */
}

.contact_title {
  width: 500px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 150px;
}
.contact_title img {
  width: 100%;
}
.contact_title_jp {
  width: 30%;
  text-align: center;
  font-size: 20px;
  padding-top: 60px;
  color: rgb(255, 255, 255);
}
.c_message {
  /* width: 100%; */
  width: auto;
  font-family: serif;
  font-size: 16px;
  font-weight: 300;
  height: 24px;
  line-height: 24px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 50px;

  padding-bottom: 0px;
  text-align: left;
  color: rgb(255, 255, 255);
  /* background-color: rgba(0, 0, 255, 0.471); */
  /* word-break: keep-all;
  overflow-wrap: break-word; */
}
.page_content {
  width: 50%;
  height: auto;
  padding-top: 50px;
  margin-left: auto;
  margin-right: auto;
  padding-left: auto;
  padding-right: auto;
  position: relative;
}
.thanks_content {
  width: 50%;
  height: auto;
  padding-top: 100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: auto;
  padding-right: auto;
  position: relative;
}
input[type="text"],
input[type="password"],
input[type="email"],
textarea,
select {
  outline: none;
  background-color: rgb(200, 192, 218);
  box-sizing: border-box;
}

input[type="text"],
input[type="password"],
input[type="email"],
textarea,
select :hover {
  border: none;
}
input[type="submit"] {
  color: rgb(23, 3, 3);
  font-size: 24px;
  outline: none;
}
/* 補完候補選択時、背景色が変更されない処理 */
input:-webkit-autofill {
  box-shadow: 0 0 0px 999px rgb(200, 192, 218) inset;
  transition: color 10000s ease-in-out 0s;
}

/* contact form 7 */

/* 承諾エリアラッパー */
.wpcf7-list-item {
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

/* input[type="checkbox"] {
  width: 30px;
  height: 30px;
  display: inline-block;
  accent-color: rgb(255, 255, 255);
  position: absolute;
  top: 1.2px;
  border: 0px;
  border-radius: 0;
  appearance: auto;
}
.acceptance2 {
  width: 30px;
  height: 30px;
  display: inline-block;
  accent-color: rgb(255, 255, 255);
  position: absolute;
  top: 1.2px;
  border: none;
  appearance: auto;
  border-radius: 0;
} */

/* .acceptance2:hover {
  accent-color: rgb(255, 255, 255);
  border: none;
} */

/* .acceptance2:focus {
  display: none;
} */

.wpcf7-acceptance {
  display: block;
  width: 250px;
  margin-top: 100px;
  margin-left: auto;
  margin-right: auto;
}

/* チェックボックスのカスタマイズ */
.wpcf7-list-item-label {
  position: relative;
  font-size: 18px;
  display: block;
  padding-left: 50px;
  height: 18px;
  line-height: 18px;
  color: #ffffff;
}
/*承諾ボタンのCSS*/
.wpcf7-list-item-label::after {
  content: "";
  display: inline-block;
  margin: -15px 0px 0px 0px;
  width: 30px;
  height: 30px;
  background-color: rgb(255, 255, 255);
}
.wpcf7-list-item-label::after,
.wpcf7-list-item-label:before {
  position: absolute;
  content: "";
  display: block;
  top: 50%;
  left: 0%;
  bottom: 50%;
  margin-top: auto;
  margin-bottom: auto;
}
/*チェックマークの追加*/
.wpcf7-list-item-label:before {
  margin-top: -7px;
  margin-left: 8px;
  width: 5px;
  height: 9px;
  background-image: url(../img/footer4.png);
  border-right: 14px solid rgb(88, 14, 14);
  border-bottom: 14px solid rgb(88, 14, 14);
  transform: rotate(45deg);
  opacity: 0;
}
/*承諾ボタンがチェックされた時に動作する内容*/
input[type="checkbox"]:checked + .wpcf7-list-item-label:before {
  opacity: 1;
  z-index: 3;
}

/* エラーメッセージ非表示 */
/* .wpcf7-form-control-wrap {
  > .wpcf7-not-valid-tip {
    display: none;
    opacity: 0;
    margin-top: 10px;
  }

  &.is-show {
    > .wpcf7-not-valid-tip {
      display: block;
      opacity: 0;
    }
  }
} */
.wpcf7-not-valid-tip {
  display: none;

  opacity: 0;
  margin-top: 10px;
}
.is-show > .wpcf7-not-valid-tip {
  display: block;
  opacity: 1;
}

.item {
  font-size: 16px;
  color: rgb(161, 160, 160);
  font-family: sans-serif;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 20px;
}
.item::after {
  content: "必須";
  color: rgb(255, 255, 255);
  background-color: rgb(143, 5, 5);
  font-size: 15px;
  padding: 5px 10px 5px 10px;
  margin-left: 10px;
}
.wpcf7-text {
  width: 100%;
  height: 50px;
  font-size: 16px;
  padding-left: 20px;
  color: rgb(51, 51, 52);
}
/* 送信後エラーメッセージ非表示 */
.wpcf7-response-output {
  display: none;
}
.wpcf7-textarea {
  resize: vertical;
  width: 100%;
  height: 300px;
  font-size: 16px;
  padding-top: 30px;
  padding-left: 30px;
  padding-right: 30px;
  line-height: 30px;
  color: rgb(51, 51, 52);
  position: relative;
}

.wpcf7-submit {
  width: 180px;
  height: 65px;
  font-weight: 500;
  text-align: center;
  border: none;
  border-radius: 0;
  position: relative;
  display: block;
  margin-top: 100px;
  margin-bottom: 50px;
  margin-left: auto;
  margin-right: auto;
  background-color: rgb(181, 176, 176);
}
.complete_message {
  color: white;
  font-size: 22px;
  font-family: sans-serif;
  font-weight: 700;
  text-align: center;
}
.complete_message1 {
  max-width: 675px;
  color: white;
  font-size: 16px;
  font-family: sans-serif;
  line-height: 30px;
  font-weight: 500;
  padding-top: 60px;
  padding-bottom: 50px;
  margin-left: auto;
  margin-right: auto;
}
.complete_message2 {
  width: 80%;
  color: rgb(225, 206, 31);
  font-size: 15px;
  line-height: 25px;
  font-family: sans-serif;
  font-weight: 500;
  margin-left: auto;
  margin-right: auto;
}
.go_to_top2 {
  width: 200px;
  height: 70px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 70px;
  margin-bottom: 50px;
  background-color: rgb(62, 62, 60);
  text-align: center;
  font-size: 17px;
  font-family: sans-serif;
  font-weight: 700;
  color: rgb(255, 255, 255);
  line-height: 70px;
}
.go_to_top2:hover {
  background-color: rgb(150, 145, 139);
}
.footer_contact {
  width: 100%;
  height: 300px;
  border-top: solid 1px white;
  background-color: rgb(47, 45, 50);
}

.logo2_responsive_contact {
  width: 300px;
  height: auto;
  padding-top: 100px;
  margin-left: auto;
  margin-right: auto;
  display: block;
}
.logo2_responsive_contact img {
  width: 100%;
  text-align: center;
}

.address {
  width: 600px;
  margin-top: 30px;
  margin-left: auto;
  margin-right: auto;
  color: white;
  text-align: center;
}
.grecaptcha-badge {
  /* visibility: hidden; */
}
.recaptcha {
  width: 70%;
  margin-top: 30px;
  margin-left: auto;
  margin-right: auto;
  font-size: 14px;
  color: antiquewhite;
  text-align: center;
  display: none;
}
.recaptcha a {
  color: rgb(185, 173, 158);
}

/* 以下MWWP関係 */
.c_name {
  font-size: 18px;
  color: rgb(161, 160, 160);
  font-family: sans-serif;
  font-weight: 600;
  margin-top: 0px;
  margin-bottom: 20px;
}
input.c_name_box {
  width: 100%;
  height: 50px;
  font-size: 16px;
  padding-left: 20px;
  color: rgb(51, 51, 52);
}
.c_name_box:hover {
  width: 100%;
  height: 50px;
  margin-left: auto;
  margin-right: auto;
  color: rgb(51, 51, 52);
}
.c_title {
  width: 100%;
  font-size: 18px;
  margin-top: 50px;
  margin-bottom: 20px;
  color: rgb(161, 160, 160);
  font-family: sans-serif;
  font-weight: 600;
  color: rgb(161, 160, 160);
}
.c_title::after {
  content: "必須";
  color: rgb(255, 255, 255);
  background-color: rgb(143, 5, 5);
  font-size: 15px;
  padding: 5px 10px 5px 10px;
  margin-left: 10px;
}

input.c_title_box {
  width: 100%;
  height: 50px;
  font-size: 16px;
  padding-left: 20px;
  color: rgb(51, 51, 52);
}
.c_content {
  color: rgb(161, 160, 160);
  font-size: 18px;
  font-family: sans-serif;
  font-weight: 600;
  margin-top: 50px;
  margin-bottom: 20px;
}
.c_content::after {
  content: "必須";
  color: rgb(255, 255, 255);
  background-color: rgb(143, 5, 5);
  font-size: 15px;
  padding: 5px 10px 5px 10px;
  margin-left: 10px;
}

/* シフトキーでボックスの枠線を表示させない処理 */
/* .submit_button:focus {
  display: none;
} */
/* .has-spinner:focus {
  display: none;
} */
textarea.c_content_box {
  resize: vertical;
  width: 100%;
  height: 300px;
  font-size: 16px;
  padding-top: 30px;
  padding-left: 30px;
  padding-right: 30px;
  line-height: 30px;
  color: rgb(51, 51, 52);
}
.mw_wp_form_confirm p {
  line-height: 30px;
}
.c_mail {
  color: rgb(161, 160, 160);
  margin-top: 50px;
  margin-bottom: 20px;
  font-size: 18px;
  font-family: sans-serif;
  font-weight: 600;
}
.c_mail::after {
  content: "必須";
  color: rgb(255, 255, 255);
  background-color: rgb(143, 5, 5);
  font-size: 15px;
  padding: 5px 10px 5px 10px;
  margin-left: 10px;
}
.c_mail2 {
  margin-bottom: 20px;
}
input.c_mail_box {
  width: 100%;
  height: 50px;
  font-size: 16px;
  padding-left: 20px;
  color: rgb(51, 51, 52);
}
.button_area {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 120px;
  display: flex;
}
.c_submitButton {
  width: 200px;
  height: 100px;
  border: none;
  border-radius: 0;
  position: relative;
  display: block;
  margin-left: auto;
  margin-right: auto;
  background-color: rgb(181, 176, 176);
}

/* .submit-button:focus {
  border: none;
} */
/* 確認ページ用のボタンCSS */
/* .mw_wp_form_confirm .c_submitButton {
  display: none;
} */

.mw_wp_form_confirm .c_submitButton2 {
  display: block;
  height: 100px;
  border: none;
  border-radius: 0;
  position: relative;
  display: block;
  margin-top: 0px;
  margin-right: 0px;
  background-color: rgb(181, 176, 176);
}
.c_submitButton:hover {
  background-color: antiquewhite;
}
.c_backButton {
  height: 100px;
  border: none;
  background-color: rgb(174, 110, 110);
}
.c_backButton:hover {
  background-color: rgb(186, 147, 147);
}

/* 確認ページの入力テキストのカラー変更 */
.mw_wp_form_confirm p {
  color: rgb(255, 255, 255);
}
/* 上記の設定で全てのテキストが同色になるため、タイトルのテキストカラーを新たに指定する
htmlにクラスを二つ設定し、ページによって使うクラスを切り替える */
.mw_wp_form_confirm .c_name,
.mw_wp_form_confirm .c_title,
.mw_wp_form_confirm .c_content,
.mw_wp_form_confirm .c_mail {
  display: none;
}

.c_name2,
.c_title2,
.c_content2,
.c_mail2 {
  display: none;
  font-family: sans-serif;
  font-weight: 600;
  color: rgb(161, 160, 160);
  margin-top: 50px;
  margin-bottom: 10px;
}
.mw_wp_form_confirm .c_name2,
.mw_wp_form_confirm .c_title2,
.mw_wp_form_confirm .c_content2,
.mw_wp_form_confirm .c_mail2 {
  display: block;
  color: rgb(161, 160, 160);
  margin-left: -30px;
}

.sama {
  display: none;
}
.mw_wp_form_confirm .sama {
  display: inline;
}
.mw_wp_form_complete .page_content {
  width: 80%;
  height: auto;
}
.complete {
  width: 100%;
  height: auto;
  padding-top: 100px;
  margin-left: auto;
  margin-right: auto;
}

/* .message_confirmation {
  width: 100%;
  font-family: serif;
  font-size: 22px;
  text-align: center;
  padding-top: 100px;
  color: white;
} */
.message_confirmation {
  width: 180px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 120px;
  padding-bottom: 30px;
}
.message_confirmation img {
  width: 100%;
}
.error {
  margin-top: 10px;
}

.message_complete {
  font-size: 22px;
  color: #ffffff;
  width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.message_complete2 {
  font-size: 18px;
  color: #ffffff;
  width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.message_complete3 {
  font-size: 18px;
  color: #ddf903;
  width: 500px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 0px) {
  .contact_title {
    width: 250px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 80px;
  }
  .contact_title_jp {
    width: 130px;
    text-align: center;
    font-size: 20px;
    font-family: serif;
    margin-left: auto;
    margin-right: auto;
    padding-top: 0px;
    margin-bottom: 70px;
    color: rgb(255, 255, 255);
  }
  .contact_title_jp img {
    width: 100%;
  }
  .c_message {
    width: 85%;
    font-size: 16px;
  }
  .page_content {
    width: 80%;
  }
  .thanks_content {
    width: 80%;
  }
  .address {
    display: none;
  }
  .address2 {
    width: 80%;
    margin-top: 30px;
    margin-left: auto;
    margin-right: auto;
    color: white;
    font-size: 16px;
    line-height: 25px;
    text-align: center;
  }
  .telfax a {
    font-family: sans-serif;
    font-weight: 300;
    color: rgb(255, 255, 255);
    text-decoration: none;
  }

  .button_area {
    width: fit-content;
  }
  .c_submitButton {
    width: 180px;
    height: 70px;
    font-size: 20px;
    font-family: "Noto Sans JP";
    /* font-family: sans-serif; */
    font-weight: 500;
    text-align: center;
    color: #020202;
  }
  .c_backButton {
    width: 150px;
    height: 70px;
    font-size: 20px;
    font-weight: 500;
    margin-right: 10px;
    font-family: "Noto Sans JP";
    color: #020202;
    text-align: center;
  }
  .mw_wp_form_confirm .c_submitButton2 {
    width: 150px;
    height: 70px;
    margin-left: 10px;
    text-align: center;
  }
}
@media (min-width: 590px) {
  .c_message {
    width: 75%;
  }
  .page_content {
    width: 70%;
  }
  .thanks_content {
    width: 70%;
  }
}
@media (min-width: 750px) {
  .contact_title {
    width: 300px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 80px;
  }
  .contact_title_jp {
    width: 140px;
    margin-bottom: 80px;
  }
  .message_confirmation {
    width: 200px;
  }
  .c_message {
    width: 65%;
  }
  .page_content {
    width: 60%;
  }
  .thanks_content {
    width: 60%;
  }
  .address {
    display: block;
  }
  .address2 {
    display: none;
  }
  .c_backButton {
    width: 200px;
  }
  .mw_wp_form_confirm .c_submitButton2 {
    width: 200px;
  }
}

@media (min-width: 900px) {
  .contact_title {
    width: 300px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 80px;
  }

  .c_message {
    width: 55%;
  }
  .page_content {
    width: 50%;
  }
  .thanks_content {
    width: 50%;
  }
  .c_submitButton {
    width: 220px;
    height: 70px;
    font-size: 20px;
    font-weight: 500;
    color: #020202;
  }

  .c_backButton {
    width: 200px;
    font-size: 20px;
    font-weight: 500;
    color: #020202;
  }
}
@media (min-width: 1100px) {
  .contact_title {
    width: 400px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 80px;
  }
  .contact_title_jp {
    width: 150px;
    margin-bottom: 100px;
  }
  .message_confirmation {
    width: 220px;
  }
  .c_message {
    width: 100%;
    text-align: center;
    font-size: 18px;
  }
  .item {
    font-size: 18px;
  }
  .wpcf7-list-item-label {
    font-size: 20px;
    height: 20px;
    line-height: 20px;
    padding-left: 60px;
  }
  .wpcf7-acceptance {
    width: 280px;
  }
  .wpcf7-submit {
    width: 200px;
    height: 80px;
  }
  .c_submitButton {
    width: 250px;
    height: 70px;
    font-size: 20px;
    font-weight: 500;
    color: #020202;
  }
}
