@charset "UTF-8";

.contact{
    margin-top: 14px;
}

.contact tbody th {
    padding: 25px 30px 25px 0;
    text-align: left;
}

.contact tbody th,tbody td {
    border-bottom: 1px solid #ccc;
    text-align: left;
}

.contact tbody th{
    width: 210px;
    font-weight: bold;
}

.contact .end th,.contact .end td {
    /*padding: 20px; */
    border-bottom: none;
    vertical-align: middle;
}

.contact table{
    width: 100%;
}



#container .contact .inquiry select {
    border-radius: 0 !important;
    border-width: 1px;
    border-style: solid;
}

#container .contact .private_corporation select {
    border-radius: 0 !important;
    border-width: 1px;
    border-style: solid;
}


.form_text_head{
    margin-bottom: 20px;
    display: block;
    line-height: 1.8;
}

.required{
    font-size: 14px;
    color: red;
}

.inquiry select{
    width: 300px;
}

.private_corporation select{
    width: 170px;
}

/*
.required_custam1:after{
    font-size: 12px;
    color: red;
    content: "※法人のみ";
}

.required_custam2:after{
    font-size: 12px;
    color: red;
    content: "（1000文字以内）";
}*/



.wpcf7-form-control-wrap{
    width: 65%;
}

.inquiry .wpcf7-form-control-wrap select{
    width: 300px !important;
}

.private_corporation .wpcf7-form-control-wrap select{
    width: 150px !important;
}

.wpcf7-text{
    width: 100%;
}

.wpcf7-textarea{
    width: 100%;
    border: 1px solid #ccc;
}

.required_custam3 input[type="submit" i]{
    border: 1px solid #000;
    padding: 10px 90px;
    margin: 40px auto 20px;
    display: block;
    background-image: url(../img/inquiry/submit_arrow_right.png?date=201910) ;
    background-repeat: no-repeat;
    background-position-x: 250px;
    background-position-y: 15px;
}

.required_custam4 input[type="submit" i]{
    border: 1px solid #000;
    padding: 10px 90px;
    display: block;
    background: #f3f3f3;
    background-image: url(../img/inquiry/submit_arrow_right.png?date=201910) ;
    background-repeat: no-repeat;
    background-position-x: 180px;
    background-position-y: 15px;
}

.required_custam3 input[type="button" i]{
    border: 1px solid #000;
    padding: 10px 90px;
    display: block;
    background: #f3f3f3;
    background-image: url(../img/inquiry/submit_arrow_left.png?date=201910);
    background-repeat: no-repeat;
    background-position-x: 20px;
    background-position-y: 15px;
}

.required_custam3 input[type="submit" i]:after{
    color: red;
    content: ">";
}

.contact .default_text{
    display: block;
}

.confirm_text: {
}

.confirm_none {
  display:none;
}

.contact .custom-wpcf7c-confirmed .default_text{
    display: none;
}

.contact .custom-wpcf7c-confirmed input::placeholder{
    color: transparent;
}

#wpcf7cpcnf .confirm_text{
    display: block;
}

.contact .custom-wpcf7c-confirmed .box{
    border-bottom: none;
}

.custom-wpcf7c-confirmed .even_row{
    background: #ececec;
    border-bottom: none;
}

.custom-wpcf7c-confirmed table{
    border: 1px solid #ccc;
    padding: 30px;
}

.custom-wpcf7c-confirmed .box_end{
    border: 1px solid #ccc;
    padding: 30px;
}

.custom-wpcf7c-confirmed select{
    -webkit-appearance: none;
}

.custom-wpcf7c-confirmed textarea{
    cursor: text;
    outline: none;
    -webkit-appearance: none;
}

.custom-wpcf7c-confirmed .contact tbody th,tbody td {
    padding: 25px;
    text-align: left;
}

.custom-wpcf7c-confirmed tbody th{
    padding: 25px;
    border-right: 1px solid #ccc;
}

.custom-wpcf7c-confirmed .box{
    width: 70%;
    margin: 20px auto;
}

.custom-wpcf7c-confirmed .required{
    display: none;
}

.custom-wpcf7c-confirmed .wpcf7c-conf{
    background-color: #ffffff;
    color: black;
    border: 1px solid #ffffff;
}

.custom-wpcf7c-confirmed .even_row .wpcf7c-conf{
    background-color: #ececec !important;
    color: black;
    border: 1px solid #ececec;
}

.custom-wpcf7c-confirmed input:-internal-autofill-selected {
    background-color: rgb(255, 255, 255) !important;
    background-image: none !important;
    color: rgb(0, 0, 0) !important;
}

.contact input[type="text"]{
    background-color: #ffffff !important;
}

.custom-wpcf7c-confirmed input[type="text"][readonly]{
    background-color: rgba(0,0,0,0) !important;
    cursor: text;
    outline: none;
    -webkit-appearance: none;
}



.screen-reader-response_2{
    display: none;
}

.sent .screen-reader-response_2{
    display: block;
}

.wpcf7-response-output{
    display: none !important;
}

.sent .sent_thanks{
    display: none;
}

.screen-reader-response_2 .required_custam3{
    width: 20%;
    text-align: center;
    border: 1px solid #000;
    padding: 10px 90px;
    margin: 40px auto 20px;
    display: block;
    background: #f3f3f3;
    background-image: url(../img/inquiry/submit_arrow_left.png?date=201910);
    background-repeat: no-repeat;
    background-position-x: 20px;
    background-position-y: 15px;
}
.screen-reader-response_2 p{
    margin-top: 4px;
}

.required_custam3{
    margin-right: 30px;
}
.required_custam4{
    margin-left: 30px;
}
div.wpcf7cp-progress-cover {
  display: none;
}
div.wpcf7cp-progress-content {
  display: none;
}



/* テーブル */
#wpcf7cpcnf table {
    border: none;
    border: 1px solid #ccc;
}
#wpcf7cpcnf table tr:nth-child(odd) {
  width: 210px;
  font-weight: bold;
}

#wpcf7cpcnf table tr:nth-child(even) {
  width: 210px;
  font-weight: bold;
  padding: 25px;
  border-right: 1px solid #ccc;
  background: #ececec;
}


#wpcf7cpcnf table th {
  padding: 25px;
  border-right: 1px solid #ccc;
}
#wpcf7cpcnf table th p {
  font-weight: bold;
}
#wpcf7cpcnf table td {
  padding: 25px;
}

.wpcf7cp-form-hide {
  display:none;
}
div#wpcf7cpcnf {
  position: inherit!important;
  z-index: 1!important;
}

/* ボタン */
.wpcf7-submit:disabled {
    opacity: .5;
}



.contact .box {
  width: 100%;
  margin-top: 50px;
  margin-bottom: 80px;
  display: flex;
  justify-content: center;
}
.required_custam4 {
  display: flex;
  justify-content: center;
}

.wpcf7cp-btns {
  display: flex;
  justify-content: center;
  margin-bottom: 80px;
}
#wpcf7cpcnf .wpcf7-submit {
  border: 1px solid #000;
      padding: 10px 90px;
      display: block;
      background: #f3f3f3;
      background-image: url(../img/inquiry/submit_arrow_right.png?date=201910);
      background-repeat: no-repeat;
      background-position-x: 250px;
      background-position-y: 15px;
  }
#wpcf7cpcnf .wpcf7cp-cfm-edit-btn {
      border: 1px solid #000;
      padding: 10px 90px;
      display: block;
      background: #f3f3f3;
      background-image: url(../img/inquiry/submit_arrow_left.png?date=201910);
      background-repeat: no-repeat;
      background-position-x: 20px;
      background-position-y: 15px;
  }
@media only screen and (max-width: 768px) {
  #wpcf7cpcnf table th {
    display: block;
    width: 90%;
    text-align: left;
    border: none;
    margin: 0 auto;
  }
  #wpcf7cpcnf table td {
    display: block;
    width: 90%;
    text-align: left;
    margin: 0 auto;
  }
}
.contact .box {
  width: 100%;
  display: flex;
  justify-content: center;
  flex-direction:column;
}
