/* ------------------------------------------
  contact
------------------------------------------ */
.contact {
  padding: 0 0 10rem;
  margin-top: 8rem;
}

.contact_content_item + .contact_content_item {
  margin-top: 5rem;
}

.contact_content_item .title {
  line-height: 2.6rem;
  border-left: 0.3rem #ddd solid;
  padding-left: 1rem;
  position: relative;
  z-index: 0;
  font-weight: 600;
  font-size: 2.4rem;
  letter-spacing: 0.02em;
  text-align: left;
  color: #333;
}

.contact_content_item .title::before {
  position: absolute;
  background-color: #eacbc4;
  top: 0;
  left: -0.3rem;
  height: 1.3rem;
  width: 0.3rem;
  content: "";
}

.contact_content_item .text {
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  line-height: 2;
  margin-top: 2rem;
}

.contact_content_item .qr {
  width: 20rem;
  margin: 3rem auto 0;
}

.contact_content_item .link {
  display: none;
}

.contact_content_item .link a {
  text-align: center;
  text-decoration: underline;
  color: green;
  display: block;
}

.contact_content .form_wrap {
  margin-top: 3rem;
}

.contact_content .table {
  width: 100%;
  table-layout: fixed;
  border-top: 2px solid #eacbc4;
  border-bottom: 2px solid #eacbc4;
}

.contact_content .table .row + .row {
  border-top: 1px solid #e0e0e0;
}

.contact_content .table .row .head {
  font-weight: 700;
  width: 30%;
  border-right: 1px solid #e0e0e0;
  padding: 1.8rem 2rem;
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  line-height: 2;
  text-align: center;
  background-color: #ffeeeb;
}

.contact_content .table .row .desc {
  padding: 1.8rem 4rem;
  font-weight: 500;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  line-height: 1.5;
  text-align: left;
  color: #333;
  vertical-align: middle;
}

.contact_content .table .row .desc input {
  border: 1px solid #eee;
  width: 100%;
  line-height: 4rem;
  padding: 0 1rem;
}

.contact_content.confirm .table .row .desc input {
  border: none;
  line-height: 1;
  padding: 0;
}

.contact_content .table .row .desc textarea {
  border: 1px solid #eee;
  width: 100%;
  line-height: 1.5;
  padding: 1rem;
  height: 20rem;
}

.contact_content.confirm .table .row .desc textarea {
  border: none;
  padding: 0;
}

.contact_content .form_wrap .submit {
  margin: 5rem auto 0;
  display: table;
}

.contact_content .form_wrap .submit input {
  border: 0.1rem solid #333;
  display: block;
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 6.3rem;
  width: 45rem;
  position: relative;
  text-align: center;
  transition: 0.3s ease;
}
.contact_content .form_wrap .submit input:hover {
  background-color: #000;
  color: #fff;
  opacity: 1;
}

.contact_content .form_wrap .submit input + input {
  margin-top: 3rem;
}

.contact_content .form_wrap .submit input.previous {
  background-color: #eee;
  border: 0.1rem solid #eee;
}
.contact_content .form_wrap .submit input.previous:hover {
  background-color: #000;
  color: #fff;
  opacity: 1;
}

@media screen and (max-width: 767px) {
  .contact_content_item .qr {
    display: none;
  }

  .contact_content_item .link {
    margin: 3rem auto 0;
    display: block;
  }

  .contact_content .table {
    margin: 4rem auto 0;
  }

  .contact_content .table .row .head {
    width: 100%;
    border-right: none;
    padding: 1.5rem 0;
    display: block;
  }

  .contact_content .table .row .desc {
    padding: 2rem 0;
    display: block;
  }
  .contact_content .form_wrap .submit input {
    font-size: 1.6rem;
    line-height: 5.4rem;
    width: 29.5rem;
  }
}
