@charset "utf-8";

body{
  font-family: Arial, sans-serif;
}

header.scroll #nav {
    overflow: hidden;
    clear: both;
    text-align: center;
}

.header{
    margin: 0px auto 0px;
    /*ヘッダーの幅*/
    width: 100%;
    /*ヘッダーの高さ*/
    height: 100px;
    /*ヘッダーの色*/
    background-color: #f2dde0;
}
.nav{
  font-family: "Calistoga", serif;
  font-weight: 400;
  font-style: normal;
  /*ナビゲーションの横位置*/
  justify-content: center;
  /*ナビゲーションの縦位置*/
  padding-top: 20px;
  box-sizing: border-box;
}

ul{
    /*横並び*/
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    align-items: center;
}

.rgo{
    width: 108px;
    height: 62px;
}

a{
    /*ナビゲーションの色*/
    color: rgb(139, 73, 29);
    /*ナビゲーションの間隔*/
    margin-right: 60px;
}

h1{
    font-size: 45px;
    margin-top: 60px;
    color: rgb(139, 73, 29);
    font-weight: bold;
    padding: 0.2rem;
    margin-bottom: 0.2rem;
    background: linear-gradient(transparent 60%, #faf8cd 80%);
    width: 200px;
    text-align: center;
    margin-left: 40px;
}

.intexth3{
    margin: 10px 0 20px;
    padding: 0;
    position: relative;
    color: rgb(139, 73, 29);
    border-bottom: 4px dotted #f2dde0;
    letter-spacing: 1px;
    font-weight: bold;
    padding: 45px 0 3px;
    margin: 0 0 35px;
    font-size: 30px;
    letter-spacing: 2px;
    margin: 35px auto 20px;
    margin-left: 40px;
  }

.menu_list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.menu-item {
    margin: 20px;
    text-align: center;
}

.img_box {
    position: relative;
    width: 290px;
    height: 290px;
    margin: 0 auto;
    overflow: hidden;
}

.menu-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.icons {
    position: absolute;
    top: 10px;
    right: 10px;
}

.item_name_ja {
    margin-top: 10px;
    font-size: 16px;
    font-weight: bold;
    color: rgb(139, 73, 29);
}

.item_name{
  margin-top: 10px;
  font-size: 16px;
  font-weight: bold;
  color: rgb(58, 58, 58);
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .menu-item {
        margin: 10px;
    }
    .img_box {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 480px) {
    .menu-item {
        margin: 5px;
    }
    .img_box {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 768px) {
  h1,
  .intexth3 {
      text-align: center;
      margin: 0 auto;
      width: fit-content;
  }
}
h1 {
  margin-top: 50px; 
}

/* フッダー */
.footer {
    padding: 2rem;
    font-size: 15px;
    color: #4b5564;
    background-color:  #f2dde0; 
  }

  .hover {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-right: 60px; 
  }
  
  .hover img {
    width: 50px;
    height: 50px;
    vertical-align: middle;
  }
  
  /* フッターのロゴ部分 */
  .footer__logo {
    display: inline-block;
    margin-bottom: 2rem;
  }
  
  /* ナビゲーションメニュー */
  .footer__navi {
    list-style-type: none;
    padding-left: 0;
    font-family: "Calistoga", serif;
    font-weight: 400;
    font-style: normal;
  }
  
  .footer__navi2 {
    list-style-type: none;
    padding-left: 0;
  }
  
  .footer__navi li {
    margin-bottom: 0.75rem;
  }
  
  .footer__navi a {
    color: #8a5216;
    text-decoration: none;
  }
  
  /* グリッドレイアウト */
  .grid {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.5rem;
  }
  
  /* メディアクエリ - スマートフォンサイズ */
  @media (max-width: 767px) {
    .md-flex {
      flex-direction: column;
    }
  
    .md-justify-between {
      justify-content: center;
    }
  
    .grid {
      grid-template-columns: repeat(1, minmax(0, 1fr));
      font-size: 12px;
    }
  }
  
  /* テーブルタップデバイスサイズ */
  @media (min-width: 768px) and (max-width: 1023px) {
    .md-flex {
      flex-direction: column;
    }
  
    .md-justify-between {
      justify-content: space-between;
    }
  
    .grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      font-size: 14px;
    }
  }
  
  /* デスクトップサイズ以上 */
  @media (min-width: 1024px) {
    .md-flex {
      flex-direction: row;
    }
  
    .md-justify-between {
      justify-content: space-between;
    }
  
    .grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
      font-size: 15px;
    }
  }
  
  
  