:root {
  --base-bg: #fdf9f3;
  --accent: #c9b07e;
  --accent-dark: #a88c59;
  --text-main: #4b3d28;
  --text-sub: #5f513a;
}

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

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

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

/* ----------------------------------
   コンテンツ部分（横並び）
---------------------------------- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

.sauce-row {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 40px;
  margin: 60px auto;
}

.card {
  flex: 1 1 45%;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card-img img {
  width: 100%;
  height: auto;
  display: block;
}

.card-text {
  padding: 25px;
}

.card-text p {
  color: var(--text-sub);
  margin-bottom: 20px;
}

.btn {
  display: inline-block;
  background:  #c9b07e;
  color: #fff;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 25px;
  transition: background 0.3s ease;
}
.btn:hover {
  background: #a88c59;
}

/* ボタンだけ中央寄せ */
.card-text .btn{
  display: block;      /* ブロック化して */
  width: max-content;  /* ボタン幅は中身に合わせる */
  margin: 0 auto;      /* 左右オートで中央寄せ */
}

/* --- ２種のソース：テキスト & ボタン中央寄せ --- */
.card .card-text {
  text-align: center;   /* テキストを中央寄せ */
}

.card .card-text .btn {
  display: inline-block;
  margin: 0 auto;        /* ボタン中央寄せ */
}


/* ----------------------------------
   フッター
---------------------------------- */
.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) {
  .sauce-row {
    flex-direction: column;
  }
  .card {
    flex: 1 1 100%;
  }
}