/* メイン */

/* ーーーーー商品覧 ーーーーー*/
.food-list {
  display: flex;
  max-width: 1200px;
  width: auto;
  padding: 0 20px 0 0;
  margin: 0 auto;
}

/* ーーーーーコンテンツーーーーー */
.contents-wrapper {
  padding-top: 30px;
  flex: 1;
  max-width: 940px;
}

.contents-content + .contents-content {
  margin-top: 30px;
}

/* コンテンツヘッター */
.contents-header {
  display: flex;
  align-items: flex-end;
  box-sizing: border-box;
  margin: 32px auto 22px;
}

.contents-header-title {
  position: relative;
  margin: 0 auto;
}

.contents-p {
  font-size: 16px;
  letter-spacing: 0.2em;
  font-weight: 100;
  margin: 0;
  text-align: center;
}

/* 商品リスト */
.item-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 33px 23px;
}

/* 商品 */
.item {
  width: 100%;
  box-sizing: border-box;
}

.hover-item:hover {
  opacity: 0.8;
  transition-duration: 0.5s;
}

.about-item {
  margin: 0 0;
}

.item-text {
  font-size: 15px;
  margin-top: 14px;
  height: 70px;
  line-height: 23px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.item-money {
  font-size: 18px;
}

.money {
  font-size: 13px;
}

.comment-favorite {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.item-comment {
  font-size: 12px;
  color: #ffee26;
}

.comment {
  color: #1f1915;
}

.item-favorite {
  font-size: 15px;
}

.item-comment,
.item-favorite {
  display: inline-block;
}

.item .photo {
  position: relative;
  width: 100%;
  padding-top: 100%;
}

.item .photo .photo-image {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* -----------もっと見る----------- */
/* pc */
.read-more {
  margin-left: auto;
  margin-top: 20px;
  position: relative;
  width: 146px;
}

.read-more-text {
  font-size: 15px;
  line-height: 32px;
  letter-spacing: 0.15em;
}

.read-more-img {
  position: absolute;
  left: -10px;
  bottom: 0;
  transition: transform 0.4s ease-in-out;
}

.read-more:hover .read-more-img {
  transform: translateX(10%);
}

/* SOSヘッダー */

.logo2kuro {
  display: none;
}

.contents-title {
  display: block;
  width: 100%;
  height: auto;
}

.contents-sos-title,
.contents-new-title,
.contents-ranking-title {
  margin: 0 0 5px 0;
}

.contents-title.is-sos {
  max-width: 411px;
  margin: 0 auto;
}

/* NEWヘッダー */
.contents-title.is-new {
  max-width: 293px;
}

/* Rankingヘッダー */
.contents-title.is-ranking {
  max-width: 533px;
}

.ranking {
  position: relative;
}

.item-no {
  position: absolute;
  top: 0;
  left: 0;
}

/* お客様の声 */

.voice {
  padding: 50px 8px;
}

.voice-title {
  text-align: center;
}

.voice-title img {
  display: inline-block;
}

.voice-text {
  display: flex;
  align-items: center;
  flex: 1;
  width: 100%;
  overflow: hidden;
}

.voice-text .voice-icon {
  margin-right: -90px;
  width: 80px;
}

.voice-text .voice-icon img {
  width: 100%;
  height: auto;
}

.voice-text .voice-textarea {
  width: 100%;
  margin: 0;
}

.says {
  display: inline-block;
  position: relative;
  margin: 5px 0 0 105px;
  padding: 20px 25px;
  border-radius: 12px;
  background: #e8dfc9;
}

.says:after {
  content: '';
  display: inline-block;
  position: absolute;
  top: 18px;
  left: -24px;
  border: 12px solid transparent;
  border-right: 12px solid #e8dfc9;
}

.says p {
  margin: 0;
  padding: 0;
  font-size: 15px;
  font-weight: 300;
}

/* --------------------------------------------------------------レスポンシブ */

@media (max-width: 800px) {
  .food-list {
    padding: 0 25px 25px 0;
  }

  .item-no {
    height: 45px;
    width: auto;
  }

  .hotword-icon {
    width: 130px;
    height: auto;
  }
}

/* --------------------------------------------------------------タブレットVW */
@media (max-width: 768px) {
  .food-list {
    padding: 0 15px 15px 0;
  }

  .contents-header {
    align-items: center;
    flex-direction: column;
    justify-content: center;
    margin: 19px auto 12px;
  }

  .contents-p {
    font-size: 13px;
  }

  .item-text {
    font-size: 14px;
  }

  .item-money {
    font-size: 14px;
  }

  .money {
    font-size: 10px;
  }

  .item-comment,
  .comment {
    font-size: 9px;
  }

  .voice-title img {
    width: 330px;
  }

  .says p {
    font-size: 12px;
    line-height: 1.6em;
  }
}

@media (max-width: 640px) {
  .logo2kuro {
    display: flex;
    margin: 16px auto 25px auto;
  }

  .food-list {
    padding: 0 20px 0 20px;
  }

  .contents-wrapper {
    padding-top: 0;
  }
}

/* --------------------------------------------------------------スマホVW */
@media (max-width: 480px) {
  .food-list {
    padding: 8px;
  }

  .contents-header {
    margin: 0 auto 12px;
  }

  .item-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .contents-p {
    font-size: 13px;
    letter-spacing: 0.1em;
  }

  .contents-title.is-sos {
    max-width: 289px;
  }

  .contents-title.is-new {
    max-width: 245px;
  }

  .contents-title.is-ranking {
    max-width: 348px;
  }

  .read-more {
    margin-top: 15px;
    width: 130px;
  }

  .read-more-img {
    width: 130px;
  }

  .read-more-text {
    font-size: 13px;
  }

  .voice-title img {
    width: 290px;
  }

  .says {
    padding: 10px 15px;
  }
}
