@charset "utf-8";

.mw_wp_form {
	padding-bottom: 80px;
}

.customer_form_ttl {
  font-size: 32px;
  font-family: HiraMinPro-W3;
  border-bottom: solid 1px #000;
  padding: 40px 0 11px;
  margin: 0 auto 93px;
  width: 1364px;
  margin: 0 auto;
}

.form_group h2 {
  font-family: "Times New Roman", "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "メイリオ", Meiryo, serif;
  font-size: 20px;
  margin-bottom: 30px;
}

.aipro-h2 {
  text-align: center;
  margin: 2rem auto;
}

.form_area {
  width: 1088px;
  margin: 0 auto;
}

.inquiry-form {
  width: fit-content;
  margin: auto;
}

#inquiry-confirm {
  display: none;
}

#customer-inquiry-kind {
  margin-bottom: 70px;
  height: 40px;
  width: 398px;
  color: #747474;
}

#corporate-inquiry-kind {
  margin-bottom: 70px;
  height: 40px;
  width: 398px;
  color: #747474;
}


label.form-btn {
  padding: 30px 23px;
  background-color: #ff5757;
  border-radius: 4px;
  width: 536px;
  color: #fff;
  display: block;
  text-align: center;
  margin: 60px auto;
}

.form_text {
  font-size: 20px;
  padding-top: 60px;
}

.form_text span {
  color: #ff5757;
}

#inquiry-message-box {
  font-size: 20px;
  line-height: 1.7;
  font-family: HiraginoSans-W3;
  color: #747474;
}

#inquiry-message-box h3 {
  font-size: 32px;
  font-family: "Times New Roman", "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "メイリオ", Meiryo, serif;
  padding: 80px 0 60px;
  border-top: 1px solid #c1c1c1;
  color: #191919;
}

#inquiry-message-box strong {
  font-family: HiraginoSans-W5;
  color: #191919;
}

#inquiry-message-box h4 {
  font-family: HiraginoSans-W3;
  color: #191919;
}

.form_box {
  width: 398px;
  height: 40px;
  border-radius: 7px;
  border: 1px solid #c1c1c1;
}

.form_textarea {
  width: 398px;
  border-radius: 7px;
  border: 1px solid #c1c1c1;
}

.top_button,
.confirm_complete {
  background-color: #191919;
  color: #fff;
  width: 320px;
  text-align: center;
  border-radius: 4px;
  margin: 50px 35%;
  padding: 15px 0;
}
.top_button {
  display: block;
  text-decoration: none;
  font-size: 18px;
}

.form_subtext {
  display: block;
  margin: auto;
  width: 100%;
  max-width: 860px;
  font-size: 16px;
  color: #747474;
  padding-bottom: 20px;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.8px;
}

.form_upload-file_text {
  font-size: 0.9rem;
  color: #000;
  background-color: cornsilk;
  margin: 2rem auto;
  padding: 1rem;
  line-height: 1.5;
  letter-spacing: 0.8px;
}

.form_upload-file_text input {
  margin-top: 5px;
}

.mw-wp-form_image img {
  width: 100px;
  height: 100px;
  object-fit: cover;
}

.inn-box {
  margin: 1rem auto;
}

.radio-ask {
  display: block;
  margin-top: 1rem;
}
.radio-ask .wpcf7-list-item {
  display: block;
  font-size: 0.8rem;
}

.txt-ask {
  margin: 1rem 0;
  font-size: 0.9rem;
}

span[data-name="radio-gender"],
span[data-name="request-procedure"]
{
  display: block;
  margin: 1rem 0 3rem;
}

@media screen and (max-width: 839px) {
	.customer_form_ttl {
	  width: 100%;
	  padding: 30px 0 11px;
	  font-size: 18px;
	  line-height: 1.72;
	  color: #000000;
	}
	.form_area {
	  width: 100%;
	}
	.form_text {
	  font-size: 20px;
	  padding-top: 20px;
	  font-size: 13px;
	  line-height: 1.62;
	}
	#customer-inquiry-kind {
	  width: 100%;
	  margin-bottom: 0;
	}
  #corporate-inquiry-kind {
	  width: 100%;
	  margin-bottom: 0;
	}
	#inquiry-message-box {
	  font-size: 14px;
	}

	#inquiry-message-box h3 {
	  font-size: 18px;
	  padding: 30px 0 20px;
	  border-top: 1px solid #c1c1c1;
	  line-height: 1.72;
	  color: #000000;
	}
	label.form-btn {
	  width: 100%;
	  padding: 18px 0;
	  margin: 30px auto;
	}
	.form_box {
	  width: 100%;
	}
	.form_textarea {
	  width: 100%;
	}

    .top_button,
	.confirm_complete {
	  width: 100%;
	  margin: 30px 0;
	  padding: 13px 0;
	  font-size: 14px;
	}

	.form_subtext{
	  font-size: 11px;
	  line-height: 1.45;
	}
  
  .mw-wp-form_image img {
    width: 100px;
    height: 100px;
    object-fit: cover;
  }
}

/*--------------------------------------------
        Inquiery Form Tablet CSS
---------------------------------------------*/

@media screen and (min-width: 840px) and (max-width: 1390px) {

  .inner {
    max-width: 1366px;
    margin: 0 auto;
    padding: 0;
    position: relative;
    width: 95%;
  }

  .customer_form_ttl {
    font-size: 32px;
    font-family: HiraMinPro-W3;
    border-bottom: solid 1px #000;
    padding: 40px 0 11px;
    margin: 0 auto 93px;
    max-width: 1364px;
    margin: 0 auto;
    width: 100%;
  }

  #inquiry-message-box h3 {
    font-size: 30px;
  }

  .form_area {
    max-width: 1088px;
    margin: 0 auto;
    width: 95%;
  }

  .form_text {
    font-size: 19px;
    padding-top: 60px;
  }

}


/*******************************
* バッジの色
********************************/
/* 必須マーク */
.required-field {
	background: #FF1A00;
	color: #fff;
	border-radius: 3px;
	font-size: 12px;
	margin-right: 10px;
	padding: 5px 10px;
	letter-spacing: 0.2em;
}

/* 任意マーク */
.free {
	background: #999;
	color: #fff;
	border-radius: 3px;
	font-size: 12px;
	margin-right: 10px;
	padding: 5px 10px;
	letter-spacing: 0.2em;
}

/*******************************
* 送信後メッセージのスタイリング
********************************/

.wpcf7-not-valid-tip {
  margin-bottom: 0.3rem;
}

/*.wpcf7-response-output::before {
  font-family: "Font Awesome 5 Free"; font-weight: 900; content: "\f058";
  color:#0e8516;
}*/

/*--- success ---*/
.wpcf7 form.sent .wpcf7-response-output {
  font-size: min(4vw,1.5rem);
}

.wpcf7 form.sent .wpcf7-response-output::before {
  font-family: "Font Awesome 5 Free"; font-weight: 900; content: "\f058";
  color:#0e8516;
  margin-right: 0.5rem;
  font-size: min(4vw,1.5rem);
}

/*--- alert ---*/
.wpcf7 form.invalid .wpcf7-response-output::before,
.wpcf7 form.unaccepted .wpcf7-response-output::before {
  font-family: "Font Awesome 5 Free"; font-weight: 900; content: "\f06a";
  color:#ff0000;
}

/*******************************
* フォームの設定
********************************/
/* フォーム入力項目 */

.wpcf7 form {
  display: block;
  width: 100%;
  max-width: 500px;
  margin: 3rem auto;
}

.wpcf7 form * {
  box-sizing: border-box;
}

/* .wpcf7 form label {
  margin-bottom: 2.5rem;
} */

.field-box {
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.wpcf7 form .wpcf7-form-control-wrap,
.wpcf7 form label,
.wpcf7 form input
{
  display: block;
  width: 100%;
  max-width: 500px;
}

.wpcf7 form input[type="file"] {
  margin-top: 5px;
}

.wpcf7 form span[data-name="file-up-1"] input[type="file"] {
  margin-top: 10px;
}

.wpcf7 select {
  margin-top: 10px;
  margin-bottom: 2.5rem
}

.wpcf7 form input[type="radio"],
.wpcf7 form input[type="checkbox"]
{
  display: inline-block;
  width: auto;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="number"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea  {
	 width: 100%;
   /*max-width: 350px;*/
	 padding: 8px;
   /* margin: 10px auto 2.5rem; */
   margin: 10px auto 0;
	 border: 1px solid #ddd;
	 border-radius: 3px;
   background-color: #ddd;
}

.wpcf7 input[type="file"]::file-selector-button {
color: #000;
}
.wpcf7 input[type="file"]::file-selector-button:hover {
color: #000;
}

.validity-date_field {
  width: 50px!important;
}

span[data-name="accept-terms"] {
  text-align: center;
}

span[data-name="contact-phone"] input[type="tel"],
span[data-name="tel-imei_new"] input[type="text"],
span[data-name="contract-phone"] .line-restart
{
  margin-bottom: 1rem;
}

.underfield-note {
  margin-bottom: 2.5rem;
  font-size: 0.8rem;
}

.file-up-note {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.8rem;
}



/* 送信ボタン */
input.submit-btn {
	width: 300px;
	height: 60px;
  margin: 1rem auto;
	background: #FF1A00;
	color: #FFF;
	font-size: 1.1em;
	font-weight: bold;
	letter-spacing: 0.2em;
	border: 1px solid #FF1A00;
  border-radius: 5px;
	-webkit-transition: 0.3s;
	-moz-transition: 0.3s;
	-o-transition: 0.3s;
	-ms-transition: 0.3s;
	transition: 0.3s;
  cursor: pointer;
}

/* 送信ボタンホバー */
input.submit-btn:hover{
	background: #FFF;
	color: #FF1A00;  
}

input.submit-btn::before{
  content: "〉";
	color: #fff;  
}

/* 送信ボタン中央寄せ */
.center {
	text-align:center;
}


#faq_select-topic {
  display: block;
  width: 90%;
  max-width: 500px;
  margin: 3rem auto;
  padding: 1rem;
  border-color: #eaeaea;
  border-radius: 5px;
  background-color: #eaeaea;
  text-align: center;
}

#faq_select-topic:hover {
  cursor: pointer;
}

#faq_next {
  display: block;
  margin: 3rem auto;
  padding: 1rem;
  width: 90%;
  max-width: 150px;
  text-align: center;
  text-decoration: none;
  color: #fff;
  border: solid 1px #0e8516;
  border-radius: 5px;
  background-color: #0e8516;
}

#faq_next:hover {
  color: #0e8516;
  background-color: #fff;
}

.faq_disabled {
  pointer-events: none;
  opacity: 0.5;
}


/*#inquiry-list {
  display: block;
  width: 90%;
  max-width: 500px;
  margin: 1rem auto;
}*/

.inquiry-txt__box {
  width: 90%;
  max-width: 800px;
  margin: 3rem auto;
  line-height: 1.5;
  font-size: 0.9rem;
  color: #000;
  background-color: aliceblue;
  border-radius: 5px;
  padding: 1rem;
}

.inquiry-txt__box a {
  display: block;
}

.name-change__txt {
  font-weight: bold;
  margin-bottom: 2rem;
}

.alert-note-red {
  width: 90%;
  max-width: 800px;
  margin: 3rem auto;
  line-height: 1.5;
  font-size: 0.9rem;
  font-weight: bold;
  color: red;
  border-radius: 5px;
  padding: 1rem;
}

.alert-note {
  width: 90%;
  max-width: 800px;
  margin: 3rem auto;
  line-height: 1.5;
  font-size: 0.9rem;
  font-weight: bold;
  color: #000;
  border-radius: 5px;
  padding: 1rem;
}

.faulty-sim-txt__box {
  width: 90%;
  max-width: 800px;
  margin: 3rem auto;
  line-height: 1.5;
  font-size: 0.9rem;
  color: #000;
  background-color: cornsilk;
  border: solid 3px #000;
  border-radius: 5px;
  padding: 1rem;
}

.fsim__box {
  padding-left: 1rem;
  text-indent: -1.5rem;
  margin-left: 1rem;
  margin-bottom: 0.5rem;
}

.txt-red {
  color: red;
}

.txt-bold {
  font-weight: bold;
}


/*------- test form upload ---------*/

/*.wpcf7-form-control.wpcf7-file {
  Hide the Contact Form 7 file input
  display: none !important; 
}*/

.upload-container {
  border: 2px dashed #cccccc;
  padding: 3rem;
  text-align: center;
  position: relative;
  cursor: pointer;
}

.upload-container input[type="file"] {
  display: none;
}

.upload-button {
  background-color: #0073aa;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
}

.upload-container:hover {
  background-color: #f7f7f7;
}

/* Styling for the thumbnail container and delete button */

#thumbnail {
  margin: 1rem 0;
}

.img-thumbnail-container {
  position: relative;
  display: inline-block;
}

.img-thumbnail-container .thumbnail:hover {
  opacity: 0.6;
  cursor: pointer;
}

.delete-btn {
  position: absolute;
  top: 0;
  right: 0;
  background-color: red;
  color: white;
  border: none;
  cursor: pointer;
  padding: 2px 6px;
  font-size: 12px;
  border-radius: 100vh;
  border: solid 1px #000;
}