/*!
Theme Name: Workout Nutrition Child
Template: workout-nutrition
*/

/* === ベース設定 === */
body {
  font-family: "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: #333;
  background-color: #fdfdfd;
  margin: 0;
  padding: 0;
}

a {
  color: #e53935;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* === レスポンシブコンテナ === */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* === ヘッダー === */
.site-header {
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.site-title {
  font-size: 1.8rem;
  font-weight: bold;
  color: #e53935;
}

/* === ナビゲーション === */
.site-navigation ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
}
.site-navigation a {
  color: #333;
  font-weight: 600;
  transition: color 0.3s ease;
}
.site-navigation a:hover {
  color: #e53935;
}

/* === モバイル対応 === */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    align-items: flex-start;
  }
  .site-navigation ul {
    flex-direction: column;
    width: 100%;
    margin-top: 0.5rem;
  }
}

/* === メイン記事 === */
main {
  padding: 2rem 0;
}
article {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
  margin-bottom: 2rem;
}
article h2 {
  color: #e53935;
}

/* === フッター === */
.site-footer {
  background-color: #f4f4f4;
  color: #666;
  text-align: center;
  padding: 2rem 0;
  font-size: 0.9rem;
}
