@charset "utf-8";

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: #4a4a4a;
  background-image: url(./bg.png);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 100vh;
  object-fit: cover;
  font-family: "Noto Serif JP", serif;
  letter-spacing: 0px;
}

a{
  text-decoration: none;
}

.page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  width: 88%;
  text-align: center;
  margin: auto;
  padding: 0px 0 200px;
}

.contact {
  width: min(950px, 100%);
}

.contact_jp {
  text-align: center;
  letter-spacing: 18px;
  font-size: 24px;
  margin: 0 0 10px;
  line-height: 240%;
}

.contact_ttl {
  text-align: center;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  letter-spacing: 3%;
  font-size: 90px;
  line-height: 100%;
  margin: 0 0 50px;
  color: #4a4a4a;
}

/* フォーム */
.form {
  width: min(920px, 100%);
  margin: 0 auto;
}

.field-block {
  margin: 12px 0 0;
}

.field-label {
  margin: 0px;
  font-size: 20px;
  line-height: 45px;
  color: #5a5a5a;
  text-align: left;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

@media (max-width: 789px) {
  .contact_ttl {
    font-size: 12vw;
  }

  .contact_jp {
    font-size: 4vw;
    margin: 0 0 1%;
  }

  .grid-2 {
    gap: 14px;
  }

  .field-label {
    font-size: 3.2vw;
    line-height: 7vw;
    letter-spacing: 0;
  }

}

.field {
  display: block;
}

.input,
.textarea {
  width: 100%;
  background: #fff;
  color: #4a4a4a;
  padding: 12px 12px;
  font-size: 20px;
  outline: none;
  border: none;
  box-shadow: inset 0px 2px 2px 0px rgba(0, 0, 0, 0.25);
}

.input {
  height: 71px;
}

.textarea {
  padding: 14px 12px;
  min-height: 280px;
  resize: vertical;
}

.notes {
  margin: 22px 0 0;
  padding: 0 0 0 18px;
  font-size: 18px;
  line-height: 40px;
  letter-spacing: 0;
}

.notes li {
  text-align: left;
}

.actions {
  display: flex;
  justify-content: center;
  margin-top: 110px;
}

.btn {
  appearance: none;
  background: #283E6C;
  border: #283E6C 2px solid;
  color: #fff;
  letter-spacing: 12%;
  font-size: 20px;
  padding: 14px 56px;
  width: 350px;
  height: 80px;
  border-radius: 200px;
  cursor: pointer;
  transition: transform .06s ease, background .2s ease, opacity .2s ease;
  font-family: "Noto Serif JP", serif;
  display: flex;
justify-content: center; 
align-items: center;
}

.btn:hover {
  background: #fff;
  color: #283E6C;
}

.btn:active {
  transform: translateY(1px);
}

@media (max-width: 789px) {
  .notes {
    font-size: 12px;
    line-height: 20px;
    letter-spacing: 0;
  }

  .input {
  height: 50px;
}
}

/* ボット対策 */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-error {
  display: none;
  margin: 0 0 18px;
  padding: 12px 14px;
  background: #fff3f3;
  border: 1px solid #e4b4b4;
  color: #b40000;
  font-size: 13px;
  line-height: 1.7;
  border-radius: 4px;
}

.form-error.is-show {
  display: block;
}

.thanks_txt {
  margin: 70px 0 120px;
  font-size: 20px;
}
.thanks_txt p{
  text-align: center;
}

@media (max-width: 789px) {
.thanks_txt {
  font-size: 18px;
}
}

/* スマホだけ エラーメッセージの「。」で改行 */
@media (max-width: 640px){
  .form-error::after{
    content: "";
  }

  .form-error{
    white-space: pre-line;
  }
}