@charset "utf-8";

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;
}

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


/* ヘッダーとメインの間を開ける */
header {
    margin-bottom: 50px; /* 50pxのマージンを追加 */
  }
  
  /* メインコンテンツの上部に余白を追加 */
  main {
    margin-top: 50px; /* 50pxのマージンを追加 */
  }

div{
    text-align: center;
}

.mb-0 {
    margin-bottom: 0!important;
}

.h-l, h1 {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.5;
}

.mt-6 {
    margin-top: 24px!important;
}
.mb-4 {
    margin-bottom: 16px!important;
}
.font-semibold {
    font-weight: 600!important;
}

.flex-wrap {
    flex-wrap: wrap!important;
}

.flex {
    display: flex!important;
}

.items-baseline {
    -webkit-box-align: baseline!important;
    align-items: baseline!important;
}

.mr-4 {
    margin-right: 16px!important;
}
.my-4 {
    margin-bottom: 16px!important;
    margin-top: 16px!important;
}


.product-section-price-primary-symbol {
    font-size: 16px;
    line-height: 24px;
}
.mr-1 {
    margin-right: 4px!important;
}
.font-bold {
    font-weight: 700!important;
}

.font-speedee {
    font-family: Speedee, "Hiragino Sans", メイリオ, Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}
.product-section-price-primary-val {
    font-size: 32px;
    line-height: 34px;
}
.font-bold {
    font-weight: 700!important;
}

.product-list-card-tag {
    align-content: baseline;
    display: flex;
    flex-wrap: wrap;
    font-size: 0;
}
.mb-4 {
    margin-bottom: 16px!important;
}




.product-container {
    display: flex;
    gap: 20px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  .image-container {
    flex-basis: 40%;
    max-width: 480px;
  }
  
  .product-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
  }
  
  .info-container {
    flex-basis: 60%;
  }
  
  .product-name {
    font-size: 26px;
    margin-bottom: 10px;
    font-weight: bold;
    word-wrap: break-word;
    color: #8a5216;
  }
  
  .price {
    font-size: 17px;
    font-weight: bold;
    margin-bottom: 15px;
    word-wrap: break-word;
  }

  .product-container .info-container .note {
    font-size: 14px;
    margin-bottom: 10px;
  }
  
  .toggle-button {
    background-color: #f0f0f0;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    word-wrap: break-word;
  }
  
  .toggle-button:hover {
    background-color: #e0e0e0;
  }
  
  .details-container {
    margin-top: 15px;
    padding: 15px;
    background-color: #f8f8f8;
    border-radius: 5px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    word-wrap: break-word;
  }
  
  .show-details .details-container {
    max-height: 500px;
  }
  
  .allergy-info {
    font-weight: bold;
    margin-top: 15px;
  }
  
  .allergy-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
  }
  
  .allergy-list li {
    display: inline-block;
    margin-right: 10px;
    padding: 5px 10px;
    background-color: #ffe6e6;
    border-radius: 5px;
    color: #8a5216;
  }

    .kome {
    font-size: 12px ;
    text-align: left;
  }
  
  /* レスポンシブデザイン */
  @media (max-width: 1200px) {
    .product-container {
      padding: 0 10px;
    }
  }
  
  @media (max-width: 768px) {
    .product-container {
      flex-direction: column;
      align-items: center;
    }
  
    .image-container, .info-container {
      flex-basis: 100%;
    }
  
    .image-container {
      max-width: 100%;
    }
  }


  /* フッダー */
.footer {
    padding: 2rem;
    font-size: 15px;
    color: #4b5564;
    background-color: #f2dde0;
    position: relative;
    bottom: 0;
    width: 100
  }
  
  /* フッターのロゴ部分 */
  .footer__logo {
    display: inline-block;
    margin-bottom: 2rem;
    float: left;
  }

  .hover {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-right: 60px;
  }
  
  .hover img {
    width: 50px;
    height: 50px;
    vertical-align: middle;
  }
  
  
  /* ナビゲーションメニュー */
  .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;
    }
  }
  
  
  