@font-face {
  font-family: "garamond-regular";
  src: url("../fonts/EB_Garamond/Regular.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "garamond-medium";
  src: url("../fonts/EB_Garamond/Medium.ttf") format("truetype");
  font-display: swap;
}
.main-inquiry {
  padding-top: 160px;
  min-height: calc(100dvh - 60px);
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
@media screen and (min-width: 768px) {
  .main-inquiry {
    padding-top: 290px;
    min-height: calc(100vh - 75px);
  }
}

.inquiry-title {
  font-size: 1.9rem;
  letter-spacing: 0.03em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  font-family: "garamond-regular", serif;
  color: #2C2C2C;
}
@media screen and (min-width: 768px) {
  .inquiry-title {
    font-size: 2rem;
  }
}

.inquiry-form {
  margin-inline: auto;
  padding-top: 81px;
  padding-bottom: 130px;
  width: 89.7435897436%;
}
@media screen and (min-width: 768px) {
  .inquiry-form {
    padding-top: 110px;
    padding-bottom: 255px;
    width: 700px;
  }
}
.inquiry-form form {
  width: 100%;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: minmax(0, 1fr);
  grid-template-columns: minmax(0, 1fr);
  row-gap: 35px;
}
@media screen and (min-width: 768px) {
  .inquiry-form form {
    row-gap: 45px;
  }
}

.inquiry-form__row {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: minmax(0, 1fr);
  grid-template-columns: minmax(0, 1fr);
  cursor: pointer;
}
@media screen and (min-width: 768px) {
  .inquiry-form__row {
    padding-bottom: 10px;
    -ms-grid-columns: 142px 83px 1fr;
    grid-template-columns: 142px 1fr;
    -webkit-column-gap: 83px;
       -moz-column-gap: 83px;
            column-gap: 83px;
    border-bottom: 1px solid #AAA6A2;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
  }
  .inquiry-form__row:last-of-type {
    padding-bottom: 0;
  }
}
.inquiry-form__row.error {
  position: relative;
}
@media screen and (min-width: 768px) {
  .inquiry-form__row.error {
    margin-bottom: 29px;
    border-bottom: 1px solid #CE2B2B;
  }
}

.error-message {
  margin-top: 6px;
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  line-height: 1.8;
  font-family: "source-han-sans-japanese", sans-serif;
  color: #CE2B2B;
}
@media screen and (min-width: 768px) {
  .error-message {
    position: absolute;
    bottom: -8px;
    -webkit-transform: translateY(100%);
            transform: translateY(100%);
  }
}

.row-title {
  font-size: 1.4rem;
  color: #393939;
}
@media screen and (min-width: 768px) {
  .row-title {
    font-size: 1.5rem;
  }
}
.body-en .row-title {
  letter-spacing: 0.04em;
  line-height: 1.8;
  font-family: "garamond-medium", serif;
}
.body-ja .row-title {
  letter-spacing: 0.1em;
  line-height: 1.8;
  font-family: "source-han-serif-jp-subset";
  font-weight: 600;
}

.row-detail {
  margin-top: 15px;
  padding-top: 1px;
  padding-left: 0;
  padding-bottom: 8px;
  display: block;
  width: 100%;
  font-size: 1.4rem;
  line-height: 1.8;
  color: #393939;
  background: transparent;
  border: none;
  border-bottom: 1px solid #AAA6A2;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  outline: none;
  font-family: "source-han-serif-jp-subset";
}
@media screen and (min-width: 768px) {
  .row-detail {
    margin-top: -1px;
    padding: 0;
    font-size: 1.5rem;
    line-height: 2;
    border: none;
  }
}
.error .row-detail {
  border-bottom: 1px solid #CE2B2B;
}
@media screen and (min-width: 768px) {
  .error .row-detail {
    border: none;
  }
}
.body-en .row-detail {
  letter-spacing: 0.04em;
  font-family: "garamond-regular", serif;
}
.body-ja .row-detail {
  letter-spacing: 0.1em;
}

textarea.row-detail {
  height: 200px;
  line-height: 2;
  text-align: justify;
}
@media screen and (min-width: 768px) {
  textarea.row-detail {
    height: 277px;
  }
}

.inquiry-form__button {
  margin-top: 34px;
  margin-inline: auto;
  width: 200px;
  height: 50px;
  font-size: 1.4rem;
  color: #393939;
  display: -ms-grid;
  display: grid;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  border: 1px solid #AAA6A2;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  background-color: #CFCDC9;
  -webkit-transition: opacity 0.3s;
  transition: opacity 0.3s;
  line-height: 1;
}
@media screen and (min-width: 768px) {
  .inquiry-form__button {
    margin-top: 15px;
    width: 180px;
    height: 54px;
  }
}
.inquiry-form__button:hover {
  opacity: 0.5;
}
.body-en .inquiry-form__button {
  letter-spacing: 0.04em;
  font-family: "garamond-regular", serif;
}
.body-ja .inquiry-form__button {
  letter-spacing: 0.01em;
  font-family: "source-han-serif-jp-subset";
}