*{
    padding: 0;
    margin: 0;
}
body {
    font-family: 'BIZ UDPゴシック', sans-serif;
  }
header{
    min-height: 80px;  
    background: linear-gradient(to bottom,
    #e76f51 0%,
    #f4a261 60%,
    rgba(244, 162, 97, 0) 100%); 
    padding:20px ;
    text-align: center;
}
 

  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;
    margin-right: 0px; /* テキストとの間に少し余白 */
  }
  @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;
    }
  }


#container {
  text-align: center;
  font-family: sans-serif;
}
/* 全体のリセット */
body {
  margin: 0;
  padding: 0;
    line-height: 1.8;
  background-color: #fff; /* 背景はお好みで */
  color: #333;
  text-align: center; /* デフォルトを中央寄せ */
}

/* hero セクション */
.hero figure img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto; /* 画像も中央に */
}

/* explain セクション */
.explain {
  display: flex;
  justify-content: center; /* 横方向中央 */
  align-items: center;     /* 縦方向中央 */
  text-align: center;      /* テキストを中央揃え */
  padding: 2rem 1rem;
}

.box2 {
  max-width: 700px; /* 読みやすい幅に制限 */
}
.cardgalley {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: bold;
  color: #333;
}

.cardgalley:hover {
  color: #0066cc;
}

.cardichiran {
  width: 70px;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}





footer .copyright{
    font-size: 20px;
    text-align:center;
    background-color: #FFAD58;
    color: #471d12;
    padding: 20px;
    display: block; 
    visibility: visible;   
}
/* スマホ〜タブレットは今のサイズのまま */
