


/* ======== 共通リセット ======== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'BIZ UDPゴシック', sans-serif;
  color: #471d12;
  background-color: #fffdf8;
  line-height: 1.6;
}

/* ======== ページ全体の枠組み ======== */
#wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1; /* フッターを下に押し下げる */
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

/* ======== ヘッダー ======== */
#header {
  min-height: 80px;
  background: linear-gradient(to bottom,
    #e76f51 0%,
    #f4a261 60%,
    rgba(244, 162, 97, 0) 100%);
  padding: 20px;
  text-align: center;
}

#header h1 {
  font-family: 'M PLUS IP', 'BIZ UDPゴシック', sans-serif;
  font-size: 28px;
  color: #471d12;
  margin-bottom: 15px;
}

/* ナビゲーション */
#header nav ul {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-around;
  list-style: none;
  padding: 5px;
}

#header nav ul li a {
  color: rgb(65, 43, 12);
  background-color: #fff5e6;
  text-decoration: none;
  font-size: 18px;
  padding: 10px 15px;
  border-radius: 12px;
  display: inline-block;
  transition: background-color 0.3s;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#header nav ul li a:hover {
  background-color: #e76f51;
}

.icon {
  width: 24px;
  height: 24px;
  vertical-align: middle;
}

/* ======== メディアクエリ（スマホ対応） ======== */
@media screen and (max-width: 600px) {
  #header nav ul {
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 10px;
  }

  #header nav ul li a {
    min-width: 100px;
    text-align: center;
  }

  #header h1 {
    font-size: 22px;
  }

  main {
    padding: 15px;
  }
}

/* ======== フッター ======== */
#footer {
  background-color: #FFAD58;
  color: #471d12;
  text-align: center;
  
  height: 60px;                /* 高さを固定 */
  display: flex;               
  align-items: center;         /* 文字を縦中央 */
  justify-content: center;     /* 文字を横中央 */
  padding: 0px;
  font-size: 16px;
  
}

#footer .copyright {
  font-size: 16px;
}


