@charset "utf-8";

.title {
  height: 310px;
  background-image: url(../images/menu/bg-main.webp);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #f3dfdf;
}

.m-text {
  display: block;
  text-align: center;
  padding-top: 40px;
}

.m-text h3 {
  font-size: 2.5rem;
  line-height: 3;
}

.m-text p {
  font-size: 2rem;
  line-height: 2;
}

.m-item-list {
  display: grid;
  /* flexからgridに変更 */
  grid-template-columns: 1fr 1fr;
  /* 2列にする設定 */
  gap: 200px;
  /* 画像同士の隙間 */
  max-width: 100%;
  /* 4枚全体の幅を抑える（お好みで調整） */
  margin: 0 auto;
  /* 全体を真ん中に寄せる */
  padding: 30px;
  list-style: none;
}

.m-item-list p {
  margin: 40px;
  font-size: 2rem;
  line-height: 2;
  text-align: center;
}

.m-item-list img:hover {
  transform: scale(1.05);
}

.m-item-list img {
  border-radius: 8px;
  width: 100%;
  height: auto;
  transition-duration: 0.3s;
  cursor: url(../images/index/coffee_beans3.png), pointer;
}

.l-text {
  display: block;
  text-align: center;
  margin-bottom: 50px
}

.l-text h3 {
  font-size: 2.5rem;
  line-height: 3;
}

.l-text p {
  font-size: 2rem;
  line-height: 2;
}

.l-item-list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  column-gap: 20px;
  row-gap: 20px;
  padding-left: 0;
  margin-bottom: 50px
}

.l-item-list img:hover {
  transform: scale(1.05);
}

.l-item-list img {
  border-radius: 8px;
  transition-duration: 0.3s;
  cursor: url(../images/index/coffee_beans3.png), pointer;
}

.l-item-list-text {
  padding-left: 50px;
}

.example p{
  font-size: 1.2rem;
  padding-left: 50px;
  padding-bottom: 20px;
  line-height: 50px;
}

.example a {
    color: #d09747; /* ここに好きな色を入れてください（例：トマト色） */
    cursor: url(../images/index/coffee_beans3.png), pointer;
  }

/* マウスを乗せた時の色（ホバー時） */
.example a:hover {
    color: #8e6224; /* ホバー時に少し濃くするなど */
  }


.others-menu h3 {
  display: block;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 50px;
}

.others-menu h3::after {
  content: '';
  display: block;
  width: 100px;
  height: 5px;
  background-color: #000000;
  margin: 20px auto 0;
}

.menu {
  display: flex;
  width: 100%;
  gap: 50px;
  padding-left: 0;
  margin-bottom: 100px;
}

.menu img:hover {
  transform: scale(1.1);
}

.menu img {
  border-radius: 10px;
  transition-duration: 0.5s;
  cursor: url(../images/index/coffee_beans3.png), pointer;

}

@media(max-width : 800px) {

  .title {
    height: 150px;
  }

  .title h1 {
    font-size: 2rem;
  }

  .m-text h3 {
    padding-top: 30px;
    font-size: 1.4rem;
  }

  .m-text p {
    font-size: 1.4rem;
  }

  .m-item-list {
    display: flex;
    gap: 80px;
    /* padding: 40px 60px 10px; */
    overflow: scroll;
  }

  .m-item-list li {
    padding: 0px;
    flex-shrink: 0;
    width: 260px;
  }

  .m-item-list p {
    font-size: 1.2rem;
    padding: 0;
    margin: 20px;
  }

  .l-text h3 {
    font-size: 1.4rem;
    line-height: 2;
    padding-top: 20px;
  }

  .l-text p {
    padding-bottom: 0;
    font-size: 1.3rem;
    padding: 0;
    margin: 10px;
  }

  .l-item-list {
    display: flex;
    overflow: scroll;
    padding: 0;
  }

  .l-item-list li {
    flex-shrink: 0;
    width: 300px;
  }

  .l-item-list-text  {
    margin: 0;
    padding-left: 25px;

  }

  .example p {
    font-size: 1.1rem;
    line-height: 30px;
    padding-top: 10px;
    padding-left: 25px;
    padding-bottom: 0px;
}

  .others-menu h3 {
    padding-top: 50px;
    font-size: 1.4rem;
  }

  .menu {
    display: flex;
    overflow: scroll;
    padding: 0;
    margin-bottom: 50px;
  }

  .menu li {
    padding: 0;
    flex-shrink: 0;
    width: 300px;

  }

  /* --- メニューページ専用：数字・記号の被り対策 --- */
  .m-text h3, 
  .m-text p, 
  .l-text h3, 
  .l-text p, 
  .m-item-list p,
  .example p {
    /* 文字の横幅計算を安定させ、食い込みを防止 */
    letter-spacing: 0.08em !important; 
    font-feature-settings: "palt" 0 !important; 
    
    /* PC版の大きな line-height をスマホ用に上書き */
    line-height: 1.6 !important;
    height: auto !important;
    
    /* iOSの自動フォントサイズ調整を抑制 */
    -webkit-text-size-adjust: 100%;
  }

  /* 横スクロールリスト内のテキスト調整 */
  .m-item-list li, 
  .l-item-list li, 
  .menu li {
    word-break: break-all; /* 枠からはみ出さないよう改行を許可 */
  }

  /* 金額や時間の表示をスッキリさせる */
  .example p {
    padding-bottom: 10px; /* 余白の微調整 */
  }

}