@charset "UTF-8";

/* ==================================================
   HIGOYA REVIEW LIST
   レビュー一覧ページ専用CSS
================================================== */


/* ==================================================
   01. レビュー一覧 全体
================================================== */

.frv-l-reviewArea__reviews {
  box-sizing: border-box;

  width: 100%;
  max-width: 900px;

  margin-left: auto;
  margin-right: auto;
}


/* レビューカード一覧 */
.frv-c-reviewCards__cards {
  display: flex;
  flex-direction: column;

  gap: 18px;
}


/* ==================================================
   02. レビューカード
================================================== */

.frv-l-reviewArea__reviews .frv-c-reviewCard {
  box-sizing: border-box;

  margin: 0 !important;
  padding: 22px 22px 24px;

  border: 1px solid #f0f0f0;
  border-radius: 6px;

  background: #fff;

  box-shadow: none;
}


/* ==================================================
   03. レビュー上部
   星・投稿者・投稿日
================================================== */

.frv-l-reviewArea__reviews .frv-c-reviewCard__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;

  gap: 16px;

  margin-bottom: 10px;
}


/* 星＋投稿者名 */
.frv-l-reviewArea__reviews .frv-c-reviewCard__userInfo {
  display: flex;
  align-items: center;

  gap: 10px;
}


/* 星 */
.frv-l-reviewArea__reviews .frv-c-starRating {
  font-size: 20px;
}


/* 投稿者名 */
.frv-l-reviewArea__reviews .frv-c-reviewCard__userName {
  font-size: 14px;
  font-weight: 600;

  color: #333;
}


/* 投稿日 */
.frv-l-reviewArea__reviews .frv-c-reviewCard__date {
  flex-shrink: 0;

  font-size: 12px;
  line-height: 1.5;

  color: #999;
}


/* ==================================================
   04. レビュータグ
================================================== */

.frv-l-reviewArea__reviews .frv-c-reviewCard__tagList {
  display: flex;
  flex-wrap: wrap;

  gap: 6px;

  margin: 0 0 10px;
  padding: 0;
}


/* タグ */
.frv-l-reviewArea__reviews .frv-c-reviewCard__tag {
  padding: 3px 8px;

  border: 1px solid #ddd;
  border-radius: 12px;

  background: #fff;

  font-size: 12px;
  line-height: 1.4;

  color: #666;
}


/* タグがある場合の本文との間隔 */
.frv-l-reviewArea__reviews
.frv-c-reviewCard__tagList + .frv-c-reviewCard__textWrapper {
  margin-top: 18px;
}


/* ==================================================
   05. レビュー本文
================================================== */

.frv-l-reviewArea__reviews .frv-c-reviewCard__textWrapper {
  margin-top: 12px;
  padding: 16px 18px;

  border: none;
  border-radius: 4px;

  background: #faf9f7;
}


.frv-l-reviewArea__reviews .frv-c-reviewCard__text {
  font-size: 14px;
  line-height: 1.9;

  color: #333;
}


/* 「続きを表示」 */
.frv-c-reviewCard__moreBtn {
  margin-top: 6px;
}


/* ==================================================
   06. 購入商品
================================================== */

.frv-l-reviewArea__reviews .frv-c-reviewCard__reviewedProduct {
  margin-top: 16px;
}


/* 商品リンク全体 */
.frv-l-reviewArea__reviews .frv-c-reviewedProduct {
  box-sizing: border-box;

  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 18px;
  align-items: center;

  gap: 12px;

  width: 100%;
  max-width: 720px;

  padding: 10px 12px;

  border: 1px solid #eee;
  border-radius: 5px;

  background: #fafafa;

  color: #333;
  text-decoration: none;
}


/* ホバー */
.frv-l-reviewArea__reviews .frv-c-reviewedProduct:hover {
  border-color: #ddd;

  background: #f6f6f6;
}


/* 商品画像枠 */
.frv-l-reviewArea__reviews .frv-c-reviewedProduct__thumb {
  width: 52px;
  height: 52px;

  overflow: hidden;

  border: 1px solid #eee;
  border-radius: 3px;

  background: #fff;
}


/* 商品画像 */
.frv-l-reviewArea__reviews .frv-c-reviewedProduct__image {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: contain;
}


/* 商品情報 */
.frv-l-reviewArea__reviews .frv-c-reviewedProduct__info {
  min-width: 0;
}


/* 「購入商品を見る」 */
.frv-l-reviewArea__reviews
.frv-c-reviewedProduct__info__label {
  display: block;

  margin-bottom: 3px;

  font-size: 12px;
  line-height: 1.4;

  color: #888;
}


/* 商品名 */
.frv-l-reviewArea__reviews
.frv-c-reviewedProduct__info__productName {
  display: -webkit-box;

  overflow: hidden;

  font-size: 13px;
  line-height: 1.5;
  font-weight: 500;

  color: #333;

  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}


/* 矢印 */
.frv-l-reviewArea__reviews .frv-c-reviewedProduct__arrow {
  display: flex;
  align-items: center;
  justify-content: center;

  color: #999;
}


/* ==================================================
   07. 総合評価・並び替え・絞り込み
================================================== */

/* 総合評価 */
.frv-l-reviewArea__averageRating {
  box-sizing: border-box;

  margin-bottom: 16px;
  padding: 16px 18px;

  border-radius: 6px;

  background: #fbfaf8;
}


/* 総合評価の星 */
.frv-l-reviewArea__averageRating .frv-c-starRating {
  font-size: 24px;
}


/* 並び替え・絞り込み */
.frv-c-reviewCards__ctrl {
  display: flex;
  align-items: center;

  gap: 10px;

  margin-bottom: 20px;
}


/* 操作ボタン */
.frv-c-reviewCards__ctrl .frv-c-select,
.frv-c-reviewCards__ctrl .frv-c-button--particular {
  min-height: 42px;
}


/* ==================================================
   08. ページ導入
================================================== */

.review-list-intro {
  max-width: 900px;

  margin: 0 auto 22px;
}


.review-list-intro__title {
  margin: 0 0 12px;

  font-size: 26px;
  line-height: 1.4;
  font-weight: 600;

  color: #333;
}


.review-list-intro__text {
  margin: 0;

  font-size: 14px;
  line-height: 1.8;

  color: #666;
}


/* ==================================================
   09. PC
================================================== */

@media screen and (min-width: 768px) {

  /* 購入商品の画像を少し大きく */
  .frv-l-reviewArea__reviews .frv-c-reviewedProduct {
    grid-template-columns: 64px minmax(0, 1fr) 18px;
  }


  .frv-l-reviewArea__reviews .frv-c-reviewedProduct__thumb {
    width: 64px;
    height: 64px;
  }

}


/* ==================================================
   10. Smartphone
================================================== */

@media screen and (max-width: 767px) {

  /* レビューカード間 */
  .frv-c-reviewCards__cards {
    gap: 14px;
  }


  /* 購入商品 */
  .frv-l-reviewArea__reviews .frv-c-reviewedProduct {
    grid-template-columns: 48px minmax(0, 1fr) 16px;

    gap: 10px;

    max-width: none;

    padding: 10px;
  }


  .frv-l-reviewArea__reviews .frv-c-reviewedProduct__thumb {
    width: 48px;
    height: 48px;
  }


  .frv-l-reviewArea__reviews .frv-c-reviewedProduct__info {
    min-width: 0;
  }


  /* 商品名は最大2行 */
  .frv-l-reviewArea__reviews
  .frv-c-reviewedProduct__info__productName {
    display: -webkit-box !important;

    overflow: hidden !important;

    white-space: normal !important;
    text-overflow: clip !important;

    font-size: 12px;
    line-height: 1.5;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }


  /* ページ導入 */
  .review-list-intro {
    margin-bottom: 22px;
  }


  .review-list-intro__title {
    font-size: 21px;
  }


  .review-list-intro__text {
    font-size: 13px;
    line-height: 1.9;
  }


  .review-list-intro__text br {
    display: none;
  }

}


/* ==================================================
   11. futureReview モーダル表示修正
================================================== */

/* モーダル本体 */
.MuiDialog-paper,
.MuiModal-root .MuiPaper-root {
  background-color: #fff !important;
}


/* モーダル中央 */
.MuiDialogContent-root {
  background-color: #fff !important;
}


/* モーダル表示時の背景 */
.MuiBackdrop-root {
  background-color: rgba(0, 0, 0, 0.25) !important;
}


/* モーダル・プルダウンを前面へ */
.MuiModal-root,
.MuiDialog-root,
.MuiPopover-root,
.MuiMenu-root {
  z-index: 10000 !important;
}