/* ===== Studio03 Google口コミ紹介セクション =====
 * 独自クラス接頭辞: s03gr-
 * カラー: white / #f7931e / #F4F3EE / #402103 / #757575
 * フォント: 'Noto Sans JP', sans-serif
 * ============================================================ */

.s03gr-section {
  padding: 100px 200px;
  background-color: #F4F3EE;
  box-sizing: border-box;
  font-family: 'Noto Sans JP', sans-serif;
  color: #757575;
}

.s03gr-section *,
.s03gr-section *::before,
.s03gr-section *::after {
  box-sizing: border-box;
}

@media (max-width: 1200px) {
  .s03gr-section {
    padding: 80px 40px;
  }
}

@media (max-width: 786px) {
  .s03gr-section {
    padding: 60px 20px;
  }
}

.s03gr-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* === 見出し === */
.s03gr-section h2.s03gr-heading {
  font-size: 3.3rem;
  line-height: 57px;
  letter-spacing: 0;
  font-weight: bold;
  color: #402103;
  text-align: center;
  margin: 0 0 16px;
  font-family: 'Noto Sans JP', sans-serif;
}

.s03gr-section h2.s03gr-heading .s03gr-heading-sub {
  display: inline-block;
  font-size: 16px;
  line-height: 1.6;
  color: #757575;
  font-weight: 400;
  margin-top: 8px;
  letter-spacing: 0;
}

@media (max-width: 786px) {
  .s03gr-section h2.s03gr-heading {
    font-size: 17px;
    font-size: 1.7rem;
    line-height: 29px;
    letter-spacing: 0;
    font-weight: bold;
  }

  .s03gr-section h2.s03gr-heading .s03gr-heading-sub {
    font-size: 12px;
    line-height: 1.6;
    margin-top: 6px;
  }
}

/* === 本文 === */
.s03gr-text {
  font-size: 16px;
  color: #757575;
  text-align: left;
  margin-top: 32px;
  margin-bottom: 0;
  line-height: 1.8;
  font-family: 'Noto Sans JP', sans-serif;
}

@media (max-width: 786px) {
  .s03gr-text {
    font-size: 14px;
    line-height: 1.8;
  }
}

/* === スコアエリア === */
.s03gr-card {
  margin-top: 48px;
  padding: 40px 24px;
  border-radius: 16px;
  background-color: #ffffff;
  text-align: center;
}

.s03gr-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.s03gr-logo svg {
  width: 36px;
  height: 36px;
}

.s03gr-logo-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 24px;
  letter-spacing: .05em;
  font-weight: 700;
  color: #402103;
}

.s03gr-score {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 64px;
  font-weight: 700;
  color: #f7931e;
  line-height: 1;
  margin: 8px 0 16px;
}

@media (max-width: 425px) {
  .s03gr-score {
    font-size: 42px;
  }
}

.s03gr-stars {
  position: relative;
  display: inline-block;
  font-size: 36px;
  line-height: 1;
  letter-spacing: .1em;
  margin-bottom: 16px;
}

.s03gr-stars-base {
  color: #e0e0e0;
}

.s03gr-stars-fill {
  position: absolute;
  top: 0;
  left: 0;
  color: #fbbc04;
  width: 0;
  overflow: hidden;
  white-space: nowrap;
  transition: width 1.6s ease-out;
}

@media (max-width: 425px) {
  .s03gr-stars {
    font-size: 28px;
  }
}

.s03gr-count {
  margin: 8px 0 24px;
  color: #402103;
  font-weight: 700;
  font-family: 'Noto Sans JP', sans-serif;
}

.s03gr-count-number {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 40px;
  color: #f7931e;
  letter-spacing: .03em;
  margin-right: 4px;
  font-weight: 700;
}

.s03gr-count-unit {
  font-size: 18px;
  color: #402103;
}

@media (max-width: 425px) {
  .s03gr-count-number {
    font-size: 30px;
  }

  .s03gr-count-unit {
    font-size: 14px;
  }
}

.s03gr-link {
  display: inline-block;
  margin-top: 8px;
  padding: 14px 32px;
  border-radius: 999px;
  background-color: #f7931e;
  color: #ffffff;
  font-size: 14px;
  letter-spacing: .05em;
  text-decoration: none;
  transition: opacity .2s ease, transform .2s ease;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
}

.s03gr-link:hover,
.s03gr-link:focus {
  opacity: .85;
  transform: translateY(-2px);
  color: #ffffff;
  text-decoration: none;
}

/* === 口コミスライドショー === */
.s03gr-slider {
  position: relative;
  margin-top: 48px;
  padding: 0 56px;
}

.s03gr-slider-viewport {
  overflow: hidden;
}

.s03gr-slider-track {
  display: flex;
  gap: 24px;
  transition: transform .5s cubic-bezier(.25, .8, .25, 1);
  will-change: transform;
}

.s03gr-card-item {
  flex: 0 0 calc((100% - 48px) / 3);
  box-sizing: border-box;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid #ececec;
  background-color: #ffffff;
  text-align: left;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  font-family: 'Noto Sans JP', sans-serif;
}

.s03gr-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.s03gr-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
  font-family: 'Noto Sans JP', sans-serif;
}

.s03gr-meta {
  flex: 1;
  min-width: 0;
}

.s03gr-name {
  display: block;
  font-weight: 700;
  color: #402103;
  font-size: 15px;
  line-height: 1.3;
}

.s03gr-date {
  display: block;
  font-size: 12px;
  color: #757575;
  margin-top: 2px;
}

.s03gr-google-mark {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.s03gr-card-stars {
  color: #fbbc04;
  font-size: 18px;
  letter-spacing: .15em;
  margin-bottom: 12px;
}

.s03gr-card-stars .s03gr-star-empty {
  color: #e0e0e0;
}

.s03gr-card-body {
  color: #757575;
  font-size: 14px;
  line-height: 1.8;
  flex: 1;
}

.s03gr-card-body .s03gr-card-text {
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  color: #757575;
}

.s03gr-card-body.is-open .s03gr-card-text {
  -webkit-line-clamp: unset;
  overflow: visible;
}

.s03gr-toggle {
  display: inline-block;
  margin-top: 8px;
  background: none;
  border: none;
  padding: 0;
  color: #f7931e;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  font-family: 'Noto Sans JP', sans-serif;
}

.s03gr-toggle:hover {
  text-decoration: underline;
}

/* === ナビボタン === */
.s03gr-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #ececec;
  background-color: #ffffff;
  color: #402103;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color .2s ease, color .2s ease, opacity .2s ease, border-color .2s ease;
  padding: 0;
}

.s03gr-slider-btn:hover {
  background-color: #f7931e;
  color: #ffffff;
  border-color: #f7931e;
}

.s03gr-slider-btn:disabled {
  opacity: .35;
  cursor: not-allowed;
}

.s03gr-slider-prev {
  left: 0;
}

.s03gr-slider-next {
  right: 0;
}

@media (max-width: 786px) {
  .s03gr-slider {
    padding: 0 40px;
    margin-top: 32px;
  }

  .s03gr-card-item {
    flex: 0 0 100%;
    min-height: 240px;
    padding: 20px;
  }

  .s03gr-slider-btn {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .s03gr-card {
    padding: 32px 16px;
    margin-top: 32px;
  }
}
