@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/


/* =========================
   レビュー上部情報ボックス
========================= */

.review-top-wrap {
  background: #f7f7f7;
  border: 1px solid #a8a8a8;
  border-radius: 10px;
  padding: 14px 16px;
  margin: 20px 0 28px;
  box-sizing: border-box;
}

.review-top-box {
  display: grid !important;
  grid-template-columns: 1fr 1fr 1fr !important;
  gap: 0 !important;
  align-items: stretch !important;
}

.review-top-item {
  box-sizing: border-box;
  min-width: 0;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* PC時の区切り線 */
.review-top-item + .review-top-item {
  border-left: 1px solid #bbbbbb;
}

/* =========================
   サムネ（FANZAコード対応）
========================= */

.review-top-thumb {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* FANZAの内部構造にできるだけ負けないようにする */
.review-top-thumb > * {
  max-width: 100%;
  margin-left: auto !important;
  margin-right: auto !important;
}

.review-top-thumb a,
.review-top-thumb span,
.review-top-thumb div,
.review-top-thumb table {
  max-width: 100%;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

.review-top-thumb img {
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 190px !important;
  width: auto !important;
  height: auto !important;
}

.review-top-thumb td {
  text-align: center !important;
}

/* =========================
   チャート
========================= */

.review-top-chart {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.review-top-chart img,
.review-top-chart canvas,
.review-top-chart svg {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 190px;
  width: auto;
  height: auto;
}

/* =========================
   イラマ率
========================= */

.review-top-rate-label {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  color: #333333;
  margin: 0 0 12px;
}

.review-top-rate {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.review-top-rate-value {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  color: #333333;
  margin: 0 0 8px;
}

.review-top-rate-sub {
  font-size: 14px;
  line-height: 1.5;
  color: #555555;
  margin: 0;
}

/* =========================
   スマホ
========================= */

@media (max-width: 768px) {
  .review-top-wrap {
    padding: 10px 12px;
    margin: 16px 0 24px;
  }

  .review-top-box {
    grid-template-columns: 1fr !important;
  }

  .review-top-item {
    padding: 14px 8px;
  }

  .review-top-item + .review-top-item {
    border-left: none;
    border-top: 1px solid #bbbbbb;
  }

  .review-top-thumb img,
  .review-top-chart img,
  .review-top-chart canvas,
  .review-top-chart svg {
    max-width: 180px !important;
  }

  .review-top-rate-label {
    margin-bottom: 10px;
  }

  .review-top-rate-value {
    font-size: 26px;
    margin-bottom: 6px;
  }
}