@charset "utf-8";

.noto-serif-jp- {
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-weight: normal;
  font-style: normal;
  color: rgb(17, 17, 17);
}

.contact-backimage {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("/img/hasu-kuro.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
  opacity: 0.2;
  z-index: -1;
  }

/* ヒーローセクション（帯画像＋タイトル） */
.section-title {
  height: 400px;
  background-image: url(../img/index/jimusyo-1.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  text-shadow: 1px 1px 10px rgb(17, 17, 17);
}
.section-title h1 {
  font-family: "Noto Serif JP", serif;
  font-size: 45px;
  font-weight: bold;
}
.section-title p {
  font-size: 16px;
  margin-top: 15px;
}

/* お問い合わせフォーム */
.contact-form {
  max-width: 700px;
  margin: 0 auto 100px;
  background: #ffffff;
  padding: 2rem;
  border: 3px outset #e6b422;
  border-radius: 15px;
  background-color: rgba(255, 255, 255, 0.6);
}
.required-note {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  color: #555;
}
.form-group {
  margin-bottom: 1.5rem;
}
label {
  font-weight: bold;
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}
input,
textarea {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}
textarea {
  resize: vertical;
}
.required {
  color: red;
}
button {
  display: inline-block;
  background-color: #444;
  color: white;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 1rem;
}
button:hover {
  background-color: #666;
}

/* プライバシーリンク */
.privacy-link {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
}
.privacy-link a {
  color: #666;
  text-decoration: underline;
}
.privacy-link a:hover {
  color: #333;
}

/* 成功メッセージ */
.success-message {
  max-width: 700px;
  margin: 100px auto;
  background-color: #e6ffed;
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  color: #2a6f3a;
  font-size: 1.1rem;
}

/* スマホ対応 */
@media screen and (max-width: 800px) {
  .section-title {
    height: 200px;
  }
  .section-title h1 {
    font-size: 24px;
  }
  .section-title p {
    font-size: 14px;
    margin-top: 8px;
  }
  .contact-form {
    padding: 1.5rem 1rem;
  }
  input,
  textarea {
    font-size: 1rem;
    padding: 0.65rem;
  }
  button {
    width: 100%;
  }
  .privacy-link {
    font-size: 0.8rem;
  }
  .success-message {
    margin: 80px 1rem;
    font-size: 1rem;
  }
  .contact-form {
    max-width: 90%;
    }
}
