/* ===========================
   ベース設定
=========================== */
html, body {
  margin: 0;
  padding: 0;
  font-family: 'Noto Serif JP', serif;
  background-color: #f8f5f0;
  color: #333;
  line-height: 1.8;
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  display: block;
}

/* ===========================
   ヒーローセクション
=========================== */
/* ===========================
   ヒーローセクション
=========================== */
.hero {
  background-size: cover;
  background-position: center;
  height: 60vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero .overlay {
  background-color: rgba(255, 255, 255, 0.75);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  animation: fadeIn 1.8s ease;

  /* ★ ここを追加：Flexで縦方向も中央寄せにする */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero .overlay .site-logo {
  width: 160px;       /* 少し大きくしてもOK */
  height: auto;
  display: block;
  margin: 0 auto 1rem auto;  /* ★ 中央寄せ＋下に余白 */
}


.hero .overlay h1 {
  font-size: 2.4rem;
  font-weight: 700;
  margin: 0.5rem 0;
}

.hero .overlay .site-description {
  font-size: 1.3rem;
  color: #444;
  margin: 0;
}

/* ===========================
   ナビゲーション
=========================== */
.navbar {
  background-color: #2b2b2b;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0.5rem 1rem;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: auto;
}

.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
}

.nav-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.nav-list li a {
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.nav-list li a:hover {
  color: #d1a15a;
}

/* ===========================
   カードグリッド
=========================== */
.container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.card {
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
}

.card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.6s ease;
}

.card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.card img {
  height: 180px;
  object-fit: cover;
  width: 100%;
}

.card-content {
  padding: 1rem;
}

.card-content h2 {
  font-size: 1.2rem;
  color: #3c2f1e;
  margin-bottom: 0.4rem;
}

.card-content p {
  font-size: 0.95rem;
  color: #555;
}

/* ===========================
   フッター
=========================== */
.footer {
  text-align: center;
  background: #2b2b2b;
  color: #eee;
  padding: 2rem 0;
  font-size: 0.9rem;
  margin-top: 3rem;
}

.footer p:first-child {
  font-weight: bold;
  color: #c49a6c;
}

/* ===========================
   アニメーション
=========================== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===========================
   スマホ対応
=========================== */
@media (max-width: 768px) {
  .hero {
    height: 45vh;
    padding: 1rem;
  }

  .hero .overlay h1 {
    font-size: 1.8rem;
  }

  .hero .overlay .site-description {
    font-size: 1.1rem;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    background-color: #1e1e1e;
    width: 100%;
    padding: 1rem;
    border-radius: 10px;
    margin-top: 0.5rem;
  }

  .nav-list.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .card img {
    height: 160px;
  }

  .card-content h2 {
    font-size: 1.05rem;
    text-align: center;
  }

  .card-content p {
    text-align: center;
    font-size: 0.9rem;
  }
}
