:root {
  --bg: #fdf6ec;
  --accent: #c9a86a;
  --accent-dark: #b1894e;
  --text-main: #4b3d28;
}

body {
  margin: 0;
  font-family: "Zen Maru Gothic", "Hiragino Sans", Meiryo, sans-serif;
  background: var(--bg);
  color: var(--text-main);
  line-height: 1.8;
}

/* ヘッダー */
.site-header {
  background: #fff;
  border-bottom: 3px solid var(--accent);
}
.logo {
  margin: 0;
  padding: 24px 0 10px;
  text-align: center;
  font-size: 1.8rem;
  color: var(--text-main);
}
.nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding-bottom: 10px;
  flex-wrap: wrap;
}
.nav a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: bold;
  padding: 6px 14px;
  border-radius: 20px;
  transition: background 0.3s ease;
}
.nav a:hover,
.nav a.active {
  background: rgba(201,168,106,0.25);
}

/* ヒーロー */
.hero {
  position: relative;
  text-align: center;
  overflow: hidden;
}
.hero img {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 6px solid var(--accent);
}
.hero-text {
  position: absolute;
  bottom: 15%;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}
.hero-text h2 {
  font-size: 2.4rem;
  margin-bottom: 10px;
}
.hero-text p {
  font-size: 1.2rem;
}

/* カード2枠横並び */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

.card-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  margin: 60px auto;
}

.card {
  flex: 1 1 45%;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
  text-align: center;
  padding: 20px;
  transition: transform 0.3s ease;
}
.card:hover {
  transform: translateY(-5px);
}
.card img{
  width: 100%;
  /* ここから追加・変更 */
  aspect-ratio: 4 / 3;     /* 枠の比率（必要なら 16/9 や 1/1 に変更可） */
  height: auto;            /* aspect-ratioで高さが決まります */
  object-fit: cover;       /* 枠いっぱいに拡大＆はみ出しをトリミング */
  display: block;
  /* ここまで */
  border-radius: 10px;
  margin-bottom: 16px;
}

.card p {
  font-size: 1.05rem;
}

/* ボタン */
.button-area {
  text-align: center;
  margin: 30px 0 60px;
}
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 25px;
  transition: background 0.3s ease;
}
.btn:hover {
  background: var(--accent-dark);
}

/* フッター */
.site-footer {
  text-align: center;
  background: #fff;
  border-top: 1px solid #e2d5b4;
  color: var(--text-main);
  padding: 30px 0;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
  .card-row {
    flex-direction: column;
    align-items: center;
  }
  .card {
    flex: 1 1 100%;
  }
}