
/* ロゴと画像のスタイルを中央揃えにする */
.logo {
  margin: 0 auto;
  text-align: center;
  /* ロゴのフェードインアニメーション */
  animation: fadeIn 2s;
}

img {
  width: 50%;
  /* 画像を少し大きくしてから元のサイズに戻るアニメーション */
  animation: pulse 2s infinite;
}

/* 料理の例コンテナをフレックスボックスで横並びにする */
.example-dishes-container {
  display: flex;
  justify-content: center; /* 全体を中央に寄せる */
  margin: 20px auto; /* 上下の余白を調整し、全体を中央揃え */
  gap: 20px; /* 各料理の例の間にスペースを追加 */
  max-width: 80%; /* 親要素の幅を調整 */
  margin-bottom: 50px;
}

.example-dish {
  background-color: #f9f9f9;
  padding: 15px;
  border-radius: 5px;
  width: 30%;
  text-align: center; /* 文字を中央揃え */
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.example-dish p {
  margin: 5px 0 0 0;
  font-weight: normal;
  font-size: 14px;
  color: #555;
}


/* ボタンのスタイルを設定し、ホバー時のアニメーションを追加 */
button {
  display: block;
  width: 200px;
  margin: 20px auto;
  background-color: #ff8c00;
  color: white;
  padding: 20px 0;
  font-size: 18px;
  font-weight: bold;
  border: none;
  border-radius: 40px;
  cursor: pointer;
  transition: all 0.3s ease;
  /* ボタンのフェードインアニメーション */
  animation: fadeInUp 1s;
  margin-bottom: 50px;
}

button:hover {
  transform: scale(1.05);
}

a:hover {
  opacity: 0.6;
}

/* フェードインアニメーション */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* 画像のパルスアニメーション */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* ボタンのフェードインアップアニメーション */
@keyframes fadeInUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media screen and (max-width:900px) {

  img{
    width: 100%;
  }

  button {
    width:  150px;
    margin: 8px auto;
    font-size: 15px;
    margin-bottom: 30px;
  }

  .example-dishes-container {
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
  }

  .example-dish {
    width: 90%;
    margin-bottom: 20px;
  }

}