@charset "UTF-8";
/* ============================================================
   review_sp.css … お客様の声と改善の取り組み【SP専用】
   ・PCとは完全に分離（SP端末でのみ読み込む前提のため @media は使わない）
   ・色/フォントは既存サイトの CSS 変数を流用（sb_base.css の :root）
   ・左右の余白はサイト標準の 24px を踏襲
============================================================ */

@media (max-width: 678px) {
  .rvw {
    color: var(--cl-bk);
    padding: 0 24px;
  }
  .rvw section {
    margin-top: 44px;
  }

  /* 既存 #main a{color:#31546d;underline} を打ち消す（詳細度対策） */
  #main .rvw a {
    text-decoration: none;
  }
  #main .rvw-insta a {
    color: var(--cl-bl);
  }
  #main .rvw-cta a.btn.shop_list {
    color: #fff;
    text-decoration: none;
  }
  .rvw-lead {
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 56px;
  }

  .rvw .ttl-ptnC {
    display: flex;
    align-items: center;
    position: relative;
    min-height: 32px;
    margin: 0 0 24px;
    padding: 0 0 0 16px;
    background-color: transparent;
    font-size: 22px;
    font-weight: 700;

    &::before {
      content: "";
      display: block;
      position: absolute;
      top: 0;
      left: 0;
      width: 5px;
      height: 32px;
      background-color: #31546d;
    }
  }
  .rvw-sec__lead {
    font-size: 14px;
    margin-bottom: 18px;
    line-height: 1.4;
  }

  .rvw-ph {
    display: block;
    background: #e3e5e8;
    border-radius: 4px;
    background-image: linear-gradient(135deg, #e3e5e8 25%, #d4d7db 25%, #d4d7db 50%, #e3e5e8 50%, #e3e5e8 75%, #d4d7db 75%);
    background-size: 16px 16px;
  }

  /* ------------------------------------------------------------
   レビューサマリー（縦積み）
------------------------------------------------------------ */
  .rvw-summary__inner {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--cl-bdr);
    border-radius: 10px;
    overflow: hidden;
  }
  .rvw-summary__score {
    padding: 28px 27px 24px;
    background: #fff;
  }
  .rvw-score__num {
    font-size: 64px;
    font-family: "Lato", sans-serif;
    font-weight: 800;
    line-height: 1;
    text-align: center;
  }
  .rvw-score__count {
    text-align: center;
    font-size: 14px;
    margin-bottom: 20px;
  }
  .rvw-score__count strong {
    font-weight: bold;
  }

  .rvw-stars {
    display: block;
    text-align: center;
    white-space: nowrap;
    letter-spacing: 2px;
    font-size: 19px;
    line-height: 1;
    margin: 8px auto;
    background: linear-gradient(90deg, #fbc12c var(--rate, 100%), #d3d6da var(--rate, 100%));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
  }

  .rvw-bars {
    max-width: 400px;
    margin: 0 auto;
  }
  .rvw-bars li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    color: #a0a0a0;
    margin-bottom: 9px;
  }
  .rvw-bars__label {
    flex: 0 0 auto;
    white-space: nowrap;
  }
  .rvw-bars__track {
    flex: 1;
    height: 8px;
    background: #e2e4e7;
    border-radius: 5px;
    overflow: hidden;
  }
  .rvw-bars__fill {
    display: block;
    height: 100%;
    min-width: 4px;
    background: var(--cl-bk);
    border-radius: 5px;
  }
  .rvw-bars__val {
    flex: 0 0 44px;
    text-align: right;
  }

  .rvw-note {
    font-size: 13px;
    color: var(--cl-gr-1);
    margin-top: 14px;
    text-align: left;
  }
  .rvw-note--right {
    text-align: right;
  }
  .rvw-note--left {
    padding-left: 1em;
    text-indent: -1em;
    font-size: 12px;
    line-height: 1.2;
  }

  .rvw-summary__points {
    padding: 24px 15px;
    background-color: #f7f7f7;
  }
  .rvw-points__title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 16px;
  }
  .rvw-points {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .rvw-points__item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--cl-bdr);
    border-radius: 10px;
    padding: 9px 15px;
  }
  .rvw-points__name {
    font-size: 14px;
    font-weight: 700;
  }
  .rvw-points__badge {
    background: var(--cl-bl);
    color: #fff;
    font-size: 12px;
    padding: 3px 16px;
    border-radius: 50em;
    white-space: nowrap;
    margin: 4px 0 0 auto;

    b {
      font-size: 14px;
      font-weight: 800;
    }
  }

  /* ------------------------------------------------------------
   カルーセル（2枚強を表示）
------------------------------------------------------------ */
  .rvw-carousel {
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .rvw-carousel__viewport {
    flex: 1;
    overflow: hidden;
  }
  .rvw-carousel__track {
    display: flex;
    gap: 12px;
    transition: transform 0.4s ease;
  }
  .rvw-carousel__item {
    flex: 0 0 calc((100% - 12px) / 2.3);
  }
  .rvw-carousel__item .rvw-ph {
    width: 100%;
    aspect-ratio: 1/1;
  }
  .rvw-carousel__arrow {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--cl-bdr);
    color: var(--cl-bl);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .rvw-carousel__arrow:disabled {
    opacity: 0.35;
  }
  .rvw-carousel__arrow::before {
    content: "";
    width: 8px;
    height: 8px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
  }
  .rvw-carousel__arrow--prev::before {
    transform: rotate(-135deg);
    margin-left: 3px;
  }
  .rvw-carousel__arrow--next::before {
    transform: rotate(45deg);
    margin-right: 3px;
  }

  .rvw-insta {
    text-align: center;
    margin-top: 16px;
  }
  .rvw-insta a {
    display: inline-flex;
    align-items: center;
    position: relative;
    color: #111;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;

    &::before {
      content: "";
      display: block;
      position: relative;
      width: 24px;
      height: 24px;
      margin-right: 10px;
      background-image: url(../../img/usr/lp/review/icon_instagram.png);
      background-position: center;
      background-repeat: no-repeat;
      background-size: contain;
    }

    &::after {
      content: "";
      display: block;
      position: relative;
      width: 11px;
      height: 10px;
      margin-left: 10px;
      background-image: url(../../img/usr/lp/review/instagram_arw.png);
      background-position: center;
      background-repeat: no-repeat;
      background-size: contain;
    }
  }
  .rvw-insta__arrow {
    color: #fbc12c;
  }
  .rvw-ico-insta {
    position: relative;
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid currentColor;
    border-radius: 5px;
  }
  .rvw-ico-insta::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border: 2px solid currentColor;
    border-radius: 50%;
  }
  .rvw-ico-insta::after {
    content: "";
    position: absolute;
    top: 2px;
    right: 2px;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background: currentColor;
  }

  /* ------------------------------------------------------------
   ご意見をもとに改善しました（カード縦積み）
------------------------------------------------------------ */
  .rvw-improve {
    overflow: hidden;
  }
  .rvw-improve__head {
    display: none;
  } /* SPは行内ラベルで代替 */

  .rvw-improve__row {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--cl-bdr);
    border-radius: 10px;
    overflow: hidden;

    & + .rvw-improve__row {
      margin-top: 10px;
    }
  }
  .rvw-improve__row:first-child {
    border-top: none;
  }
  .rvw-improve__voice {
    padding: 10px 15px 16px;
  }
  .rvw-improve__action {
    background: #eef7fa;
    padding: 10px 15px 15px;
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--cl-bdr);
  }

  /* SP用の小見出し */
  .rvw-improve__voice::before,
  .rvw-improve__action::before {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
  }
  .rvw-improve__voice::before {
    content: "お客様の声";
  }
  .rvw-improve__action::before {
    content: "私たちの取り組み";
  }

  .rvw-voice {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
  }
  .rvw-voice__avatar {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .rvw-voice__meta {
    display: flex;
    flex-direction: column;
  }
  .rvw-voice__meta b {
    font-size: 16px;
  }
  .rvw-voice__meta small {
    font-size: 12px;
    color: var(--cl-gr-1);
  }
  .rvw-voice__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--cl-bdr);
    border-radius: 10px;
    padding: 15px;
    font-size: 16px;

    .js-rvw-more {
      display: block;
      margin-left: auto;
      font-size: 14px;
      text-decoration: underline;
      cursor: pointer;
    }
  }
  .rvw-voice__body-inner {
    line-height: 1.5;

    &.is-hide {
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
      overflow: hidden;
    }
  }
  .rvw-voice__more {
    display: none;
  }
  .rvw-voice__body.is-open .rvw-voice__more {
    display: inline;
  }
  .rvw-voice__more-btn {
    display: inline-block;
    margin-top: 6px;
    color: var(--cl-bl);
    font-size: 13px;
    font-weight: bold;
    text-decoration: underline;
  }

  .rvw-improve__main {
    order: 1;
  }
  .rvw-tags {
    display: flex;
    gap: 5px;
    margin-bottom: 12px;
  }
  .rvw-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 4px;
    line-height: 1.5;
  }
  .rvw-tag--area {
    border: 1px solid var(--cl-bl);
    color: var(--cl-bl);
    background: #fff;
  }
  .rvw-tag--done {
    background: var(--cl-gn);
    color: #fff;
  }
  .rvw-improve__title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
  }
  .rvw-improve__text {
    font-size: 14px;
    line-height: 1.4;
  }
  .rvw-improve__thumb {
    display: block;
    width: 160px;
    margin: 16px auto 0;
    aspect-ratio: 1 / 1;
    order: 2;

    img {
      display: block;
      width: 100%;
      height: auto;
      aspect-ratio: 1 / 1;
      object-fit: cover;
    }
  }

  .rvw-ico-user {
    position: relative;
    display: block;
    width: 48px;
    height: 48px;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDgiIGhlaWdodD0iNDgiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGNpcmNsZSBjeD0iMjQiIGN5PSIyNCIgcj0iMjQiIGZpbGw9IiMzMTU0NmQiLz48cGF0aCBkPSJNMzIgMzRoLTJ2LTJhMyAzIDAgMCAwLTMtM2gtNmEzIDMgMCAwIDAtMyAzdjJoLTJ2LTJhNSA1IDAgMCAxIDUtNWg2YTUgNSAwIDAgMSA1IDV6bS04LTlhNiA2IDAgMSAxIDAtMTIuMDAyQTYgNiAwIDAgMSAyNCAyNW0wLTJhNCA0IDAgMSAwIDAtOCA0IDQgMCAwIDAgMCA4IiBmaWxsPSIjZmZmIi8+PC9zdmc+");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
  }

  /* ------------------------------------------------------------
   タブ
------------------------------------------------------------ */
  .rvw-tabs__nav {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
  }
  .rvw-tabs__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    padding: 0 15px;
    border: none;
    border-radius: 50em;
    font-size: 12px;
    font-weight: bold;
    background: var(--cl-gr-4);
    color: #9aa1a9;
    cursor: pointer;
  }
  .rvw-tabs__btn.is-active {
    background: #111;
    color: #fff;
  }
  .rvw-tabs__panel {
    display: none;
    min-height: 80px;

    &.is-active {
      display: block;
    }
  }

  /* ------------------------------------------------------------
   FAQ（accordion-003 流用）
------------------------------------------------------------ */
  .rvw-faq .accordion-003 {
    max-width: none;
    border-bottom: 1px solid var(--cl-bdr);
    margin-bottom: 0;
  }
  .rvw-faq .accordion-003:first-child {
    border-top: 1px solid var(--cl-bdr);
  }
  .rvw-faq .accordion-003 summary {
    padding: 18px 4px;
    font-size: 14px;
    font-weight: bold;
    color: var(--cl-bk);
  }
  .rvw-faq .accordion-003 summary::before,
  .rvw-faq .accordion-003 summary::after {
    right: 4px;
  }
  .rvw-faq .accordion-003[open] p {
    font-size: 13px;
  }
  .rvw-faq .accordion-003 p {
    padding: 0 4px 18px 34px;
    color: #444;
  }
  .rvw-faq {
    border-top: 1px solid #e2e2e2;

    > div {
      border-bottom: 1px solid #e2e2e2;
      line-height: 1.5;

      > dt {
        display: flex;
        align-items: center;
        position: relative;
        min-height: 56px;
        padding: 14px 35px 14px 27px;
        font-size: 16px;
        font-weight: 700;

        &::after {
          content: "";
          display: block;
          position: absolute;
          top: 50%;
          right: 0;
          width: 24px;
          height: 24px;
          margin-top: -12px;
          background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0ibTE2IDE3LjU2IDYuNi02LjYgMS44ODUgMS44ODhMMTYgMjEuMzMzbC04LjQ4NS04LjQ4NUw5LjQgMTAuOTYyeiIgZmlsbD0iIzExMSIvPjwvc3ZnPg==");
          background-position: center;
          background-repeat: no-repeat;
          background-size: contain;
          transition: transform 0.15s;
        }

        &.is-open {
          &::after {
            transform: rotate(180deg);
          }
        }
      }

      > dd {
        display: none;
        padding: 0 24px 20px 27px;
        font-size: 16px;
      }
    }
  }
  .rvw-faq__q {
    display: flex;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 0;
    width: 24px;
    height: 30px;
    color: var(--cl-bl);
    font-weight: bold;
    font-family: var(--ff-en);
    font-size: 20px;
    margin-top: -15px;
  }

  /* ------------------------------------------------------------
   CTA
------------------------------------------------------------ */
  .rvw-cta {
    border: 1px solid #e2e2e2;
    background-color: #f7f7f7;
    text-align: center;
    padding: 23px 15px;
    border-radius: 10px;
    margin-top: 56px;
  }
  .rvw-cta__title {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 0;
  }
  .rvw-cta__text {
    margin: 10px 0;
    font-size: 14px;
    line-height: 1.4;
  }

  .btn.shop_list {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 60px;
    margin: 0 auto;
    border-radius: 50em;
    background-color: #111;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
  }

  .mttl-ptnA {
    position: relative;
    margin: 40px 0 16px;
    padding: 0 0 16px;
    font-size: 24px;
    font-weight: 700;
    text-align: center;

    &::after {
      content: "";
      display: block;
      position: absolute;
      bottom: 0;
      left: 50%;
      width: 80px;
      height: 4px;
      margin-left: -40px;
      background-color: #31546d;
    }
  }

  .rvw-stars-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
