/* contact_styles.css */

/* フォームコンテナ */
.contact-form-container {
  max-width: 480px;
  margin: 3rem auto;
  padding: 2rem 2rem 3rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(51, 78, 104, 0.15);
  font-family: 'Kokoro',"Noto Sans JP", "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "Yu Gothic", "游ゴシック体", "YuGothic", sans-serif;
  color: #1d3557;
}

/* 見出し */
.contact-form-container h1 {
  font-family: 'Kokoro',"Noto Sans JP", "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "Yu Gothic", "游ゴシック体", "YuGothic", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #1d3557;
  text-align: center;
}

/* ラベル */
.contact-form-container label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  color: #1d3557;
  font-size: 1.5rem;
}

/* 必須マーク */
.required {
  color: #457b9d;
  margin-left: 0.2rem;
}

/* テキスト入力・メール入力・テキストエリア */
.contact-form-container input[type="text"],
.contact-form-container input[type="email"],
.contact-form-container textarea {
  width: 100%;
  padding: 0.6rem 1rem;
  font-size: 1rem;
  font-family: 'Kokoro',"Noto Sans JP", "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "Yu Gothic", "游ゴシック体", "YuGothic", sans-serif;
  color: #1d3557;
  background-color: #fff;
  border: 2px solid #1d3557;
  border-radius: 6px;
  box-shadow: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 1.2rem;
  resize: vertical;
}

/* プレースホルダー色 */
.contact-form-container input::placeholder,
.contact-form-container textarea::placeholder {
  color: var(--color-light-text);
  opacity: 1;
}

/* フォーカス時 */
.contact-form-container input[type="text"]:focus,
.contact-form-container input[type="email"]:focus,
.contact-form-container textarea:focus {
  outline: none;
  border-color: #457b9d;
  box-shadow: 0 0 8px #457b9d;
  background-color: #fff;
}

/* テキストエリア高さ調整 */
.contact-form-container textarea {
  min-height: 120px;
}

/* 送信ボタン */
.contact-form-container button[type="submit"] {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1.1rem;
  font-weight: 700;
  font-family: 'Kokoro',"Noto Sans JP", "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "Yu Gothic", "游ゴシック体", "YuGothic", sans-serif;
  color: #fff;
  background-color: #1d3557;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 0.5rem;
}

.contact-form-container button[type="submit"]:hover,
.contact-form-container button[type="submit"]:focus {
  background-color: #457b9d;
  outline: none;
}
