.page-contact {
  padding: 15rem 5rem 22rem;
}

.page-contact .section-title {
  margin-bottom: 8rem;
}

.page-contact .section-title .ja {
  display: block;
  margin: 1rem 0 0;
}

/* フォームの基本スタイル */
.ipt {
  width: 100%;
  height: 4.6rem;
  padding: 0 1.5rem;
  border: 1px solid #ccc;
  background: #fff;
}

.ipt.are {
  height: 20rem;
  padding: 1.5rem;
}

.form-group {
  margin-bottom: 3rem;
}

.wpr-ipt {
  position: relative;
}

.wpr-ipt span {
  position: absolute;
  top: 50%;
  left: 1.5rem;
  transform: translateY(-50%);
  color: #999;
}

.wpr-ipt+.wpr-ipt {
  margin-top: 1rem;
}

.form-ctrl {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.form-ctrl_lbl {
  width: 20rem;
  font-weight: bold;
}

.form-ctrl_lbl .en {
  display: block;
  font-size: 1.4rem;
  color: #999;
}

.form-ctrl_lbl .ja {
  display: block;
  margin-top: 0.5rem;
}

.form-ctrl_ctn {
  flex: 1;
}

/* ボタンスタイル */
.form-btn {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 5rem;
}

.form-btn .btn {
  display: inline-block;
  min-width: 20rem;
  height: 5rem;
  padding: 0 3rem;
  background: var(--accent-color);
  color: #fff;
  font-size: 1.6rem;
  text-align: center;
  line-height: 5rem;
  border: none;
  cursor: pointer;
  transition: opacity 0.3s;
}

.form-btn .btn:hover {
  opacity: 0.8;
}

/* エラー表示 */
.formErrorContent {
  color: #ff0000;
  font-size: 1.2rem;
  margin-top: 0.5rem;
}

.is-error input,
.is-error textarea {
  border-color: #ff0000;
}

.is-error input::-webkit-input-placeholder,
.is-error textarea::-webkit-input-placeholder {
  color: #ff0000;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
  .page-contact {
    padding: 8rem 2rem 15rem;
  }

  .page-contact .section-title {
    margin: 0 0 4rem 0;
  }

  .page-contact .section-title:after {
    width: 3rem;
  }

  .page-contact .form-ctrl_lbl {
    width: 100%;
    padding-top: 0;
  }

  .ipt {
    height: 4rem;
  }

  .ipt.are {
    height: 15rem;
  }

  .wpr-ipt span {
    font-size: 1.2rem;
  }

  .wpr-ipt+.wpr-ipt {
    margin-top: 1rem;
  }

  .form-ctrl {
    margin-bottom: 2rem;
  }

  .form-ctrl_lbl .en {
    font-size: 1.2rem;
  }

  .form-ctrl_lbl .ja {
    font-size: 1.4rem;
  }

  .form-btn {
    flex-flow: column;
    gap: 2rem;
    margin-top: 0;
  }

  .form-btn .btn {
    font-size: 1.4rem;
    height: 4.6rem;
    line-height: 4.6rem;
  }
}
