/* ==========================
   ロゴ 無限スクロール（確定版）
========================== */
.logo-scroll{
  overflow: hidden;
  box-sizing: border-box;
  width: min(700px, 100%);     /* ★PCは最大700px、SPは100% */
  margin-inline: auto;         /* ★必ず中央 */
}

/* SP：左右15px余白 */
@media (max-width: 768px){
  .logo-scroll{
    padding-inline: 15px;
  }
}

.logo-scroll__inner{
  display: flex;
  width: max-content;
  will-change: transform;
  transform: translate3d(0,0,0);
}

.logo-scroll__inner img{
  width: 108px;
  height: 37px;
  flex: 0 0 auto;
  margin-right: 12px;
  display: block;
}

/* ===============================
   口コミスライダー
=============================== */

.review-slider {
  padding: 60px 0;
}

.review-slider-inner {
  width: 95%;
  margin: 0 auto;
  position: relative;
}

.review-head{
  display:flex;
  align-items:center;      /* 縦中央 */
  justify-content:center;  /* 横中央 */
  gap:12px;
}

.review-head img{
  width:25%!important;
  height:auto;
  display:block;
}

.review-name{
  font-size:17px;
  font-weight:700;
}

/* 矢印 */
.review-arrow {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(0,0,0,0.2);
  border-radius: 6px;
  border: none;
  cursor: pointer;
  z-index: 10;

  display: flex;
  align-items: center;
  justify-content: center;
}

/* 左右位置 */
.review-arrow.prev {
  left: 8px;
}

.review-arrow.next {
  right: 8px;
}

/* 中の三角（重要） */
.review-arrow::after {
  content: "";
  font-size: 18px;
  color: #fff;
  font-weight: bold;
  line-height: 1;
}

/* 左 */
.review-arrow.prev::after {
  content: "◀";
}

/* 右 */
.review-arrow.next::after {
  content: "▶";
}

/* トラック */
.review-track-wrap {
  overflow: hidden;
}

.review-track {
  display: flex;
  gap: 20px;
  will-change: transform;
}

/* カード */
.review-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid #f0f0f0;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  text-align: center;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.review-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.review-stars {
  margin: 10px 0;
  font-size: 18px;
  color: #f5a623;
}

.review-text {
  font-size: 14px;
  line-height: 24px;
  text-align: left;
  overflow: hidden;
  max-height: 72px; /* 3行分 */
  transition: max-height .3s;
}

.review-card.is-open .review-text {
  max-height: 500px;
}

/* 続きを見る（完全プレーン・hover無変化） */
.review-more {
  margin-top: 8px;
  font-size: 12px;
  color: #666;

  background: transparent;
  border: none;
  padding: 0;

  cursor: pointer;
  text-decoration: underline;

  appearance: none;
  -webkit-appearance: none;

  box-shadow: none;
  outline: none;
}

/* hover / focus / active でも「何もしない」を明示 */
.review-more:hover,
.review-more:focus,
.review-more:active {
  color: #666;                 /* ← これが抜けていた */
  background: transparent;
  text-decoration: underline; /* ← 見た目維持 */
  box-shadow: none;
  outline: none;
}



/* ドット */

.review-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

/* ★ buttonを完全にリセット */
.review-dots button {
  all: unset;                 /* ← 最重要 */
  display: block;
  width: 8px;
  height: 8px;
  min-width: 8px;             /* ← button対策 */
  min-height: 8px;
  border-radius: 50%;
  background-color: #bdbdbd;
  cursor: pointer;
}

/* アクティブ */
.review-dots button.is-active {
  background-color: #333;
}

/* PC：5枚表示 */
@media (min-width: 1024px) {
  .review-card {
    width: calc((100% - 20px * 4) / 5);
    flex-shrink: 0;
  }
}

/* SP：1枚 */
@media (max-width: 768px) {
  .review-card {
    width: 100%;
    flex-shrink: 0;
  }
}

.review-track {
  display: flex;
  gap: 20px;
  will-change: transform;
  transition: transform 0.45s ease; /* ← これが無かった */
}

