/*
.c_contact_bg {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: url(../images/contact/contact_bg.webp) center center no-repeat;
    background-size: cover;
}
*/
.c_contact .c_main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.contact_body {
  position: relative;
  width: 90.9375%;
  margin: 0 auto;
  z-index: 1;
}

.contact_body:before {
  content: "";
  position: relative;
  display: block;
  padding-top: 7.5%;
}

.contact_body:after {
  content: "";
  position: relative;
  display: block;
  padding-top: 7.5%;
}

.contact_inquery {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  font-family: "M PLUS 1", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "BIZ UDPGothic", sans-serif;
  font-weight: 400;
  font-optical-sizing: auto;
  font-style: normal;
  font-size: max(0.625vw, 12px);
}

.contact {
  width: 53%;
}

.inquery {
  width: 41.122%;
}

.contact h2 {
  font-size: max(0.78125vw, 15px);
  margin-bottom: 1em;
  font-weight: normal;
}

.contact h3 {
  font-size: max(0.8854166667vw, 17px);
  margin-bottom: 1em;
  font-weight: normal;
}

.inquery h3 {
  position: relative;
  margin-left: -0.5em;
  font-weight: bold;
}

.c_en .inquery h3 {
  margin-left: 0;
}

.contact_inquery h3 + p {
  margin-bottom: 1em;
}

.inquery h4 {
  font-size: max(0.8854166667vw, 17px);
  font-weight: bold;
  line-height: 2.41;
  padding-left: 3.2%;
  border-bottom: 1px solid #000;
  margin-bottom: 3.34%;
}

.contact_inquery p + h3, dl + h3 {
  margin-top: 2em;
}

.contact_inquery dl {
  position: relative;
  margin-bottom: 1em;
}

.contact_inquery dd {
  margin-bottom: 1em;
}

.contact_inquery dt {
  position: relative;
  display: block;
  display: flex;
  font-weight: bold;
  justify-content: space-between;
  cursor: pointer;
  margin-left: -0.35em;
}

.c_en .contact_inquery dt {
  margin-left: 0;
}

.inqueryform {
  position: relative;
  background-color: #F0EFEE;
}

#confirmform,
#sentform,
#errorform {
  display: none;
}

#errorform,
#sentform {
  padding-bottom: 2em;
}

.formitem {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4.45% 0 3.2%;
  margin-bottom: 2%;
}

.formitem.email {
  margin-bottom: 1%;
}

#confirmform .formitem.email {
  margin-bottom: 2%;
}

.formitem .itemname {
  width: 16.41%;
}

.formitem.text .itemname {
  align-self: start;
  padding-top: 1%;
  border-top: 1px solid transparent;
}

.itemvalue {
  position: relative;
  width: 83.59%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/*
#confirmform .itemvalue {
    border-top: none;
    justify-content: center;
    background-color: #666;
    border-bottom: 1px solid #999;
}
*/
.itemvalue input[type=text],
.itemvalue input[type=email],
.itemvalue input[type=tel],
.itemvalue textarea {
  width: 98%;
  border: 1px solid #000;
  padding: 1%;
  line-height: 1.5;
}

.itemvalue input[readonly],
.itemvalue textarea[readonly] {
  pointer-events: none;
  border-top: none;
  border-left: none;
  border-right: none;
  border-color: #ccc;
  background-color: rgba(255, 255, 255, 0.3);
}

.itemvalue textarea {
  height: 10em;
}

.errortext {
  color: #f00;
  display: block;
  font-size: max(0.5208333333vw, 10px);
}

.formsubmit {
  width: 100%;
}

.formsubmit input {
  width: 100%;
  line-height: 2.58;
  border: none;
  color: #fff;
  text-align: center;
  background: #000;
  cursor: pointer;
}

#inqueryform .formsubmit input:disabled {
  background: #ccc;
  cursor: auto;
}

#inqueryform .formsubmit input:hover {
  background-color: #666;
}

#inqueryform .formsubmit input:disabled:hover {
  background: #ccc;
}

#confirmform .formsubmit {
  display: flex;
  justify-content: space-between;
}

#confirmform input[type=submit] {
  width: 48%;
}

/*
@include media-max($bp-md) {
    .c_contact .c_main {
        justify-content: flex-start;
    }
    .contact_body {
        width: 90%;
    }
    .contact_body:before {
        padding-top: 100px;
    }
    .contact_body:after {
        padding-bottom: 100px;
    }
    .contact_inquery {
        flex-wrap: wrap;
        align-items: center;
        flex-direction: column;
        @include font-size-calc-max(12, $bp-md);
    }
    .contact {
        width: 100%;
        margin-bottom: 10%;
    }
    .inquery {
        width: 100%;
    }
    .contact h2 {
        @include font-size-calc-max(15, $bp-md);
    }
    .contact h3,
    .inquery h4 {
        @include font-size-calc-max(17, $bp-md);
    }
    .errortext {
        @include font-size-calc-max(10, $bp-md);
    }
}
*/
@media screen and (max-width: 767px) {
  .c_contact .c_main {
    justify-content: flex-start;
  }
  .contact_body {
    width: 90%;
  }
  .contact_body:before {
    padding-top: 100px;
  }
  .contact_body:after {
    padding-bottom: 100px;
  }
  .contact_inquery {
    flex-wrap: wrap;
    align-items: center;
    flex-direction: column;
    font-size: max(0.878477306vw, 12px);
  }
  .contact {
    width: 100%;
    margin-bottom: 10%;
  }
  .inquery {
    width: 100%;
  }
  .contact h2 {
    font-size: max(1.0980966325vw, 15px);
  }
  .contact h3,
  .inquery h4 {
    font-size: max(1.2445095168vw, 17px);
  }
  .errortext {
    font-size: max(0.7320644217vw, 10px);
  }
  .contact_inquery {
    font-size: max(1.5645371578vw, 12px);
  }
  .contact_body:before {
    padding-top: 24%;
  }
  .contact_body:after {
    padding-bottom: 10%;
  }
  .contact h2 {
    font-size: max(1.9556714472vw, 15px);
  }
  .contact h3,
  .inquery h4 {
    font-size: max(2.2164276402vw, 17px);
  }
  .errortext {
    font-size: max(1.3037809648vw, 10px);
  }
}