/* リセット */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 共通設定 */
body {
  margin: 0;
  font-family: "Arial", sans-serif;
  background: #fffef9;
  color: #333;
  line-height: 1.6;
}

header {
  background: #a67c52;
  color: white;
  padding: 20px 0;
  text-align: center;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: flex;
  justify-content: center;
  gap: 20px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.section {
  padding: 40px 20px;
  max-width: 800px;
  margin: auto;
}

h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #a67c52;
}

p {
  text-align: center;
}

.menu-list {
  list-style: none;
  padding: 0;
  text-align: center;
}

.menu-list li {
  margin: 10px 0;
  font-size: 1.1em;
}

.gallery {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.gallery img {
  width: 200px;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s;
}

.gallery img:hover {
  transform: scale(1.05);
}

/* access */
/* Googleマップ埋め込み */
.map {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
}

.map iframe {
  width: 100%;
  height: 300px;
  border: 0;
}


/* お問い合わせフォーム */
/* --- 基本のフォームスタイル --- */
#contact-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 10px;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* 入力欄とエラースタイル */
#contact-form input,
#contact-form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  width: 100%;
  transition: border-color 0.3s;
  box-sizing: border-box;
}

/* エラーがある場合の赤枠 */
input:invalid,
textarea:invalid {
  border-color: #e74c3c;
}

/* 入力中に赤枠がつかないようにする（ユーザーが触った後にだけエラー） */
input:focus:invalid,
textarea:focus:invalid {
  border-color: #e74c3c;
}

/* 送信ボタン */
  form button {
    padding: 12px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
  }

  form button:hover {
    background-color: #0056b3;
  }

/* エラーメッセージ */
#error-message {
  display: none;
  color: #d9534f;
  background-color: #f8d7da;
  border: 1px solid #d9534f;
  padding: 10px;
  border-radius: 5px;
  text-align: center;
  font-weight: bold;
  margin-top: 10px;
}

/* 送信完了メッセージ */
#thank-you {
  display: none;
  color: green;
  font-size: 18px;
  text-align: center;
  margin-top: 20px;
}

/* スマホ対応（レスポンシブ） */
@media screen and (max-width: 600px) {
  #contact-form {
    padding: 15px;
  }

  #contact-form input,
  #contact-form textarea {
    font-size: 14px;
  }
}

footer {
  background: #a67c52;
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
}

/* アニメーション */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease-in-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
