@charset "UTF-8";
/* ========================================
   リブUバックキャミって実際どうなの？バンビウォータースタッフが徹底レビュー！
   サイズは「375px幅のページ上のpx × var(--px)」(375pxで等倍、800pxで最大)
   正解は楽天ページ(designs/2505_staffreview/_source/page.png)。MV だけ画像のまま
   REVIEW STAFF と着用レビュー(楽天の 1040px幅の画像を左右16pxの余白の中に置いたもの)は、
   画像上のpx × var(--u)(= 343 / 1040 × var(--px))で指定する
======================================== */
:root {
    --px: min(calc(100vw / 375), calc(800px / 375));
    --c-text: #333333;
}

.l-wrapper {
    max-width: 800px;
    margin-inline: auto;
}

.srv {
    --u: calc(var(--px) * 343 / 1040);
    color: var(--c-text);
    font-family: "Yu Gothic Pr6N M", "游ゴシック", YuGothic, sans-serif;
    letter-spacing: 0;
    line-height: 1.72;
    overflow: hidden;
}

.srv img {
    max-width: none;
}

:where(.srv) ul,
:where(.srv) dl,
:where(.srv) dd {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* ---------- 冒頭(MV は楽天の 2505_ribu_review_top.jpg を1枚の画像のまま) ---------- */
.srv-mv img {
    display: block;
    width: 100%;
    height: auto;
}

.srv-head__text {
    padding: calc(24 * var(--px)) calc(16 * var(--px)) 0;
}

.srv-head__title {
    font-family: "Yu Gothic Pr6N B", "游ゴシック", YuGothic, sans-serif;
    font-weight: bold;
    font-size: calc(16 * var(--px));
    line-height: 1.6;
}

@media screen and (max-width: 768px) {
    .srv-head__title {
        font-size: 18px;
    }
}

/* ---------- 本文(楽天:14px、行の間隔24px、段落の間は1行あける) ---------- */
.srv-text {
    padding: 0 calc(16 * var(--px));
    font-size: 16px;
    line-height: 1.72;
}

.srv-text p + p {
    margin-top: 1.72em;
}

.srv-head + .srv-text {
    margin-top: calc(20 * var(--px));
}

@media screen and (max-width: 768px) {
    .srv-text {
        font-size: 14px;
    }

    .srv-head + .srv-text {
        margin-top: calc(24 * var(--px));
    }
}

/* ---------- 見出し(h2) ---------- */
.srv-sec {
    margin-top: calc(48 * var(--px));
}

.srv-sec__title {
    margin-bottom: calc(12 * var(--px));
    padding: 0 calc(16 * var(--px));
    font-family: "Yu Gothic Pr6N B", "游ゴシック", YuGothic, sans-serif;
    font-weight: bold;
    font-size: calc(14 * var(--px));
    line-height: 1.4;
}

.srv-sec__title--c {
    text-align: center;
}

@media screen and (max-width: 768px) {
    .srv-sec__title {
        font-size: calc(16 * var(--px));
    }
}

/* ---------- 今回着用した商品(写真 + HTMLの文字。designs/2505_staffreview/slides/item.json) ---------- */
.srv-fig {
    margin: 0 calc(16 * var(--px));
}

.srv-fig .swiper-slide {
    width: 100%;
    height: auto;
}

/* 文字は Futura に近い細身のゴシック(推測)。text-slide の英字書体(futura-pt)の太字 */

/* ---------- REVIEW STAFF(楽天の 2505_ribu_review_2.jpg。寸法は画像上のpx) ---------- */
.srv-member {
    margin: calc(36 * var(--px)) calc(16 * var(--px)) 0;
}

.srv-member__title {
    height: calc(185 * var(--u));
    background: #fbf5e9;
    color: #736b69;
    font-family: futura-pt, "Futura PT", "Jost", sans-serif;
    font-weight: 500;
    font-size: calc(90 * var(--u));
    line-height: calc(185 * var(--u));
    letter-spacing: 0.01em;
    text-align: center;
}

.srv-member__list {
    display: flex;
    justify-content: space-between;
    margin: calc(34 * var(--u)) calc(26 * var(--u)) 0;
}

.srv-member__card {
    --c: #f8dbd7;
    width: calc(321 * var(--u));
    border: calc(5 * var(--u)) solid var(--c);
    background: var(--c);
}

.srv-member__card--hikaru {
    --c: #deecd3;
}

.srv-member__card--hikari {
    --c: #d6eaf3;
}

.srv-member__top {
    height: calc(268 * var(--u));
    padding-top: calc(16 * var(--u));
    text-align: center;
}

.srv-member__top img {
    display: block;
    width: calc(166 * var(--u));
    height: calc(166 * var(--u));
    margin: 0 auto;
    border-radius: 50%;
}

.srv-member__name {
    margin-top: calc(14 * var(--u));
    color: #766b67;
    font-family: futura-pt, "Futura PT", "Jost", sans-serif;
    font-weight: 400;
    font-size: calc(57 * var(--u));
    line-height: 1.2;
}

.srv-member__prof {
    padding: calc(22 * var(--u)) 0 calc(16 * var(--u)) calc(12 * var(--u));
    background: #fff;
    color: #5e5e5e;
    font-family: "Yu Gothic Pr6N B", "游ゴシック", YuGothic, sans-serif;
    font-weight: bold;
    font-size: max(10px, calc(34 * var(--u)));
    line-height: calc(65 * var(--u));
    white-space: nowrap;
}

/* ---------- 着用レビュー(楽天の 2505_ribu_review_3〜5.jpg。寸法は画像上のpx) ---------- */
.srv-staff {
    --c: #f8dbd7;
    margin: 0 calc(16 * var(--px));
}

/* 2人目・3人目の見出しと Q の色(.srv-staff の --c より後に書いて上書きする) */
.srv-staff--hikaru {
    --c: #deecd3;
}

.srv-staff--hikari {
    --c: #d6eaf3;
}

.srv-staff + .srv-staff {
    margin-top: calc(36 * var(--px));
}

.srv-staff__head {
    height: calc(343 * var(--u));
    padding: calc(50 * var(--u)) calc(30 * var(--u)) 0 calc(44 * var(--u));
    background: var(--c);
}

.srv-staff__who {
    display: flex;
    align-items: center;
}

.srv-staff__who img {
    display: block;
    width: calc(167 * var(--u));
    height: calc(167 * var(--u));
    border-radius: 50%;
}

.srv-staff__name {
    margin-left: calc(36 * var(--u));
    padding-top: calc(10 * var(--u));
    color: #766865;
    font-family: futura-pt, "Futura PT", "Jost", sans-serif;
    font-weight: 400;
    font-size: calc(115 * var(--u));
    line-height: 1;
}

.srv-staff__prof {
    margin-top: calc(26 * var(--u));
    color: #6b6768;
    font-family: "Yu Gothic Pr6N B", "游ゴシック", YuGothic, sans-serif;
    font-weight: bold;
    font-size: max(10px, calc(38 * var(--u)));
    line-height: 1.4;
    white-space: nowrap;
}

/* Q&A:角丸のタブ(質問)と回答。回答の文字は本文と同じ大きさ */
.srv-qa {
    padding-top: calc(38 * var(--u));
}

.srv-qa__q {
    display: flex;
    align-items: center;
    width: fit-content;
    min-width: calc(514 * var(--u));
    height: calc(108 * var(--u));
    padding: 0 calc(56 * var(--u)) 0 calc(52 * var(--u));
    border-radius: 0 calc(50 * var(--u)) 0 0;
    background: var(--c);
    color: #6c6462;
    font-family: "Yu Gothic Pr6N B", "游ゴシック", YuGothic, sans-serif;
    font-weight: bold;
    font-size: calc(45 * var(--u));
    letter-spacing: 0.04em;
    line-height: 1;
}

.srv-qa__num {
    margin-right: calc(14 * var(--u));
    color: #fff;
    font-family: futura-pt, "Futura PT", "Jost", sans-serif;
    font-weight: 500;
    font-size: calc(88 * var(--u));
    letter-spacing: 0;
}

.srv-qa__a {
    padding: calc(44 * var(--u)) calc(20 * var(--u)) calc(48 * var(--u)) calc(24 * var(--u));
    color: #000;
    font-family: "Yu Gothic Pr6N B", "游ゴシック", YuGothic, sans-serif;
    font-weight: bold;
    font-size: 16px;
    letter-spacing: 0.02em;
    line-height: 1.6;
}

@media screen and (max-width: 768px) {
    .srv-qa__a {
        font-size: 14px;
    }
}

/* 着用写真(2×2) */
.srv-photos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: calc(22 * var(--u));
    margin: calc(36 * var(--u)) calc(30 * var(--u)) 0 calc(28 * var(--u));
}

.srv-photos img {
    display: block;
    width: 100%;
    height: auto;
}

/* ---------- 区切り線(楽天の contents_line.jpg)とまとめ ---------- */
.srv-line {
    height: 1px;
    margin: calc(48 * var(--px)) calc(30 * var(--px)) 0;
    border: 0;
    background: #656565;
}

.srv-text--end {
    margin-top: calc(48 * var(--px));
}

/* ---------- 紹介した商品・バリエーション ---------- */
.srv-items:last-child {
    margin-bottom: calc(80 * var(--px));
}

/* Swiper(js/script.js)で横にスワイプ。.srv-items__carousel は PC の矢印の位置の基準 */
.srv-items__carousel {
    position: relative;
}

.srv-items__slider {
    padding: 0 calc(4 * var(--px)) 0 calc(16 * var(--px));
}

.srv-items__list li {
    width: calc(136 * var(--px));
    margin-right: calc(12 * var(--px));
}

.srv-items__list a {
    display: block;
    color: var(--c-text);
    text-decoration: none;
}

.srv-items__img {
    position: relative;
}

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

.srv-items__name {
    display: block;
    margin-top: calc(6 * var(--px));
    font-family: "Yu Gothic Pr6N B", "游ゴシック", YuGothic, sans-serif;
    font-size: calc(12 * var(--px));
    font-weight: bold;
    text-align: center;
    line-height: 1.5;
}

.srv-items__price {
    display: block;
    margin-top: calc(2 * var(--px));
    font-size: calc(12 * var(--px));
    text-align: center;
    line-height: 1.5;
}

.srv-items__price small {
    font-size: 0.85em;
}

/* PCは1画面に4商品(見切りなし) */
@media screen and (min-width: 769px) {
    .srv-items__slider {
        margin-inline: calc(16 * var(--px));
        padding: 0;
    }

    .srv-items__list li {
        width: calc((100% - 3 * 6 * var(--px)) / 4);
        margin-right: calc(6 * var(--px));
    }

    .srv-items__list li:last-child {
        margin-right: 0;
    }

    .srv-items__name,
    .srv-items__price {
        font-size: calc(6.5 * var(--px));
    }
}

/* ---------- カルーセルの矢印(PCのみ。04_qualityforyou_ep02 の section-product に合わせる) ---------- */
/* 矢印は .swiper の外(.srv-items__carousel の中)に置く。その方向にスワイプできないときは消す */
.srv-items .swiper-button-prev svg,
.srv-items .swiper-button-next svg {
    display: none !important;
}

.srv-items .swiper-button-prev,
.srv-items .swiper-button-next {
    position: absolute;
    width: calc(18.75 * var(--px));
    height: calc(14.75 * var(--px));
    margin: auto;
    top: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 100;
}

.srv-items .swiper-button-prev {
    left: calc(2 * var(--px));
    right: auto;
}

.srv-items .swiper-button-next {
    left: auto;
    right: calc(2 * var(--px));
}

.srv-items .swiper-button-prev::before,
.srv-items .swiper-button-prev::after,
.srv-items .swiper-button-next::before,
.srv-items .swiper-button-next::after {
    position: absolute;
    content: "";
    width: 1px;
    height: calc(14.75 * var(--px));
    background: #171716;
    top: 0;
    bottom: 0;
}

.srv-items .swiper-button-prev::before,
.srv-items .swiper-button-prev::after {
    left: 0;
}

.srv-items .swiper-button-next::before,
.srv-items .swiper-button-next::after {
    right: 0;
}

.srv-items .swiper-button-prev::before,
.srv-items .swiper-button-next::before {
    transform: rotate(-40deg);
}

.srv-items .swiper-button-prev::after,
.srv-items .swiper-button-next::after {
    transform: rotate(40deg);
}

.srv-items .swiper-button-disabled,
.srv-items .swiper-button-lock {
    display: none;
}

@media screen and (max-width: 768px) {
    .srv-items .swiper-button-prev,
    .srv-items .swiper-button-next {
        display: none;
    }
}

/* 商品画像の右上のアイコン(css/common.css の .product-wrapper ul.product-list li .icon-container と同じ値) */
.srv-items__img .icon-container {
    position: absolute;
    top: 7px;
    right: 7px;
}

.srv-items__list .srv-items__img .icon-container img {
    width: 100%;
    max-width: 30px;
    aspect-ratio: auto;
    object-fit: fill;
}

.srv-items__list .srv-items__img .icon-container img.icon--cool {
    margin: 0 auto;
    max-width: 28px;
}

.srv-items__list .srv-items__img .icon-container img.icon--bottom {
    margin-top: 3px;
}

@media screen and (max-width: 768px) {
    .srv-items__img .icon-container {
        /* カルーセルの中では上がはみ出すと切れるため、商品一覧(-2px)より下げる */
        top: 2px;
        right: 2px;
    }

    .srv-items__list .srv-items__img .icon-container img {
        max-width: 27px;
    }

    .srv-items__list .srv-items__img .icon-container img.icon--cool {
        max-width: 25px;
    }
}

/* ===== 文字入りスライド(写真 + HTMLの文字) scripts/text-slide.mjs で作成 ===== */
.srv-ts {
    position: relative;
    container-type: inline-size;
}

.srv-ts > img {
    display: block;
    width: 100%;
    height: auto;
}

.srv-ts__t {
    --u: calc(100cqw / 375);
    position: absolute;
    left: calc(var(--x) * var(--u));
    top: calc(var(--y) * var(--u));
    margin: 0;
    color: var(--c, #232323);
    font-family: "Yu Gothic Pr6N M", "游ゴシック", YuGothic, sans-serif;
    font-size: max(10px, calc(var(--fs) * var(--u))); /* SPで10px未満にしない(小さい文字は10pxで少し大きくなる) */
    font-feature-settings: normal;
    letter-spacing: calc(var(--ls) * var(--u));
    line-height: 1;
    white-space: nowrap;
}

.srv-ts__t--b {
    font-family: "Yu Gothic Pr6N B", "游ゴシック", YuGothic, sans-serif;
    font-weight: bold;
}

.srv-ts__t--d {
    font-family: "Yu Gothic Pr6N D", "游ゴシック", YuGothic, sans-serif;
    font-weight: 600;
}

.srv-ts__t--en {
    font-family: futura-pt, "Yu Gothic Pr6N M", sans-serif;
}

.srv-ts__t--i {
    font-style: italic;
}

/* 中央そろえ・右そろえ(--x が中心・右端) */
.srv-ts__t--c {
    transform: translateX(-50%);
}

.srv-ts__t--r {
    transform: translateX(-100%);
}

.srv-ts__t--v {
    writing-mode: vertical-rl;
}

.srv-ts__t--up {
    text-orientation: upright;
}

/* 詰め(元の画像がかな・句読点を詰めているとき。縦書きは vpal) */
.srv-ts__t--palt {
    font-feature-settings: "palt";
}

.srv-ts__t--v.srv-ts__t--palt {
    font-feature-settings: "vpal";
}

/* 行の中の英数字(360°、1枚 の 1 など)だけ futura-pt */
.srv-ts__en {
    font-family: futura-pt, "Yu Gothic Pr6N M", sans-serif;
}

/* 傍点 */
.srv-ts__t em {
    font-style: normal;
    -webkit-text-emphasis: filled dot;
    text-emphasis: filled dot;
}

/* 大きい数字(360°、No.1 など)の字間。広がりすぎないよう em で詰める(SP・PC で同じ見た目。JSON の "tight": true) */
.srv-ts__t.srv-ts__t--tight {
    letter-spacing: -0.06em;
}

/* 下線(高さ2px。太い下線は写真から消してこれで引く。JSON の "ul": [x, 幅, y](375基準のスライド上の位置)) */
.srv-ts__t--ul::after {
    content: "";
    position: absolute;
    left: calc((var(--ul-x) - var(--x)) * var(--u));
    top: calc((var(--ul-y) - var(--y)) * var(--u) - 1px);
    width: calc(var(--ul-w) * var(--u));
    height: 2px;
    background: currentColor;
}

/* 写真の上の白い文字のドロップシャドウ(元の画像に影があるとき。JSON の "shadow": true) */
.srv-ts__t--shadow {
    text-shadow: calc(1.4 * var(--u)) calc(1.4 * var(--u)) calc(4.5 * var(--u)) rgba(0, 0, 0, 0.3);
}

