@charset "UTF-8";
/* ========================================
   全商品★4以上の高評価⁉︎バンビウォーターのリアルな口コミをご紹介！
   サイズは「375px幅のページ上のpx × var(--px)」(375pxで等倍、800pxで最大)
   正解は楽天ページ(designs/2501_uservoice/_source/page.png)。MV だけ画像のまま
   本文の画像は、前の特集ページの部品(写真 + HTMLの文字、口コミ、棒グラフ)を流用。10・11 は designs/2501_uservoice/slides/
   流用した部品の CSS は、元のページのクラス名のままこのファイルの後半にまとめた
======================================== */
:root {
    --px: min(calc(100vw / 375), calc(800px / 375));
    --c-text: #333333;
}

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

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

.uv img {
    max-width: none;
}

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

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

.uv-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) {
    .uv-head__title {
        font-size: 18px;
    }
}

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

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

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

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

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

/* ---------- 見出し(h2)と小見出し(h3。楽天では h2 と同じ見た目) ---------- */
.uv-sec,
.uv-sub {
    margin-top: calc(48 * var(--px));
}

.uv-sec__title,
.uv-sub__title {
    margin-bottom: calc(16 * 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;
}

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

/* ---------- 本文の画像(左右16pxの余白の中に、横幅いっぱい。写真 + HTMLの文字) ---------- */
.uv-fig {
    margin: 0 calc(16 * var(--px));
}

.uv-fig + .uv-fig {
    margin-top: calc(40 * var(--px));
}

.uv-text + .uv-fig {
    margin-top: calc(40 * var(--px));
}

.uv-fig + .uv-text {
    margin-top: calc(38 * var(--px));
}

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

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

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

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

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

.uv-items__img {
    position: relative;
}

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

.uv-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;
}

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

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

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

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

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

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

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

.uv-items .swiper-button-prev,
.uv-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;
}

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

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

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

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

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

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

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

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

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

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

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

.uv-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;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

/* 下線(高さ2px。太い下線は写真から消してこれで引く。JSON の "ul": [x, 幅, y](375基準のスライド上の位置)) */
.uv-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) */
.uv-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);
}


/* 本文の画像はカルーセルではないので、Swiper の .swiper-slide の指定(高さ100% など)を打ち消す */
.uv-fig .swiper-slide {
    width: 100%;
    height: auto;
}

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

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

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

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

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

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

    .uv-items__list .uv-items__img .icon-container img.icon--cool {
        max-width: 25px;
    }
}
/* ===== このページだけの指定 ===== */
:where(.uv) figure {
    margin: 0;
}

/* 見出しのすぐ下の部品は上の余白なし。部品(画像・口コミ)のあとの本文は 38 あける */
.uv-sec > :not(h2) + .uv-text,
.uv-sub > :not(h3) + .uv-text {
    margin-top: calc(38 * var(--px));
}

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

/* LINEUP のバナー(10 ブラトップ):写真 + HTML の文字の上に、透明のリンクを重ねる */
.uv-fig--banner,
.uv-fig--link {
    position: relative;
}

.uv-fig__link {
    position: absolute;
    inset: 0;
    z-index: 1;
    transition: background-color .3s;
}

@media (hover: hover) {
    .uv-fig__link:hover {
        background-color: rgba(255, 255, 255, 0.2);
    }
}

/* ======================================================================
   ここから下は、前の特集ページの部品の CSS(クラス名は元のページのまま)
   rk-:16_ranking / nb-:19_nightbraseries / ss-:43_shortslineup
   bt-:45_bratop / bps-:31_bps / ar-:40_arrangerecipe
====================================================================== */

/* ---------- voice16 ---------- */
/* ===== USER VOICE(16_ranking の .rk-voice をそのまま流用。楽天 review_bsnb / review_bratop 1080px → ×0.34722) =====
   16 では横幅 375 いっぱいだったので、このページでは左右16pxの余白の中(343)に収まるよう、
   .rk-voice の中だけ --px を 343/375 倍にする(寸法の数値は 16 のまま) */
.rk-voice {
    --px: calc(min(calc(100vw / 375), calc(800px / 375)) * 343 / 375);
    /* 左右16px(ページの px)= 16 × 375 / 343(この中の px) */
    margin-inline: calc(17.493 * var(--px));
    line-height: 1.8;
}

.rk-voice img {
    max-width: none;
}

/* feature.css の :before, :after { transition } で吹き出しの三角などが動かないようにする */
.rk-voice ::before,
.rk-voice ::after {
    transition: none;
}

.rk-voice {
    --c-bg: #f9f2ea;
    --c-pill: #dfa290;
    --c-tag: #e5c9b4;
    position: relative;
    margin-top: 0;
    padding: calc(31.25 * var(--px)) 0 calc(31.25 * var(--px));
    background: var(--c-bg);
    overflow: hidden;
}

.rk-voice--bratop {
    --c-bg: #f7e1cc;
    --c-pill: #efae76;
    --c-tag: #ebc19b;
}

.rk-voice--uback {
    --c-bg: #fae7eb;
    --c-pill: #d2aed2;
    --c-tag: #e8c2e7;
}

.rk-voice--bnt {
    --c-bg: #d9ecd9;
    --c-pill: #add7b1;
    --c-tag: #ceecd0;
}

/* 背景の大きな英字(NIGHT BRA / BRATOP / CUP IN TOPS) */
.rk-voice__bg {
    position: absolute;
    top: calc(-8 * var(--px));
    left: calc(-1 * var(--px));
    margin: 0;
    color: rgba(255, 255, 255, 0.75);
    font-family: futura-pt, "Futura PT", "Jost", sans-serif;
    font-weight: 300;
    font-style: italic;
    font-size: calc(58 * var(--px));
    line-height: 1;
    letter-spacing: 0.12em;
    white-space: nowrap;
    pointer-events: none;
}

/* USER VOICE の吹き出し */
.rk-voice__title {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(304.9 * var(--px));
    height: calc(41.7 * var(--px));
    margin: 0 0 0 calc(34.7 * var(--px));
    border-radius: 999px;
    background: var(--c-pill);
    color: #fff;
    font-family: futura-pt, "Futura PT", "Jost", sans-serif;
    font-weight: 500;
    font-size: calc(29 * var(--px));
    line-height: 1;
    letter-spacing: 0.16em;
    text-indent: 0.16em;
}

/* 吹き出しの下の三角 */
.rk-voice__title::after {
    content: "";
    position: absolute;
    top: calc(100% - 1px);
    left: calc(38 * var(--px));
    border-style: solid;
    border-width: calc(12.5 * var(--px)) calc(13.5 * var(--px)) 0 0;
    border-color: var(--c-pill) transparent transparent transparent;
}

.rk-review {
    position: relative;
    width: calc(348 * var(--px));
    margin: calc(23 * var(--px)) 0 0 calc(13.2 * var(--px));
    padding: 0 calc(14 * var(--px)) calc(18 * var(--px)) calc(19 * var(--px));
    border: 1px solid #9f9785;
    border-radius: 2px;
    background: #fff;
}

.rk-review + .rk-review {
    margin-top: calc(16.7 * var(--px));
}

.rk-review__head {
    position: relative;
    height: calc(79.5 * var(--px));
    margin: 0 calc(-14 * var(--px)) 0 calc(-19 * var(--px));
}

/* 区切り線 */
.rk-review__head::after {
    content: "";
    position: absolute;
    left: calc(17.4 * var(--px));
    right: calc(17.4 * var(--px));
    bottom: 0;
    height: 1px;
    background: #b1a28f;
}

.rk-review__icon {
    position: absolute;
    left: calc(24.3 * var(--px));
    bottom: 0;
    width: calc(61.1 * var(--px));
    height: auto;
}

.rk-review--icon3 .rk-review__icon {
    left: calc(25.7 * var(--px));
    width: calc(58.3 * var(--px));
}

/* 見出しのタグ(位置と幅は口コミごとに .rk-review の --x / --w で指定。カンプ上の値) */
.rk-review__title {
    position: absolute;
    top: calc(15.6 * var(--px));
    left: calc(var(--x) * var(--px));
    width: calc(var(--w) * var(--px));
    height: calc(31.25 * var(--px));
    margin: 0;
    background: var(--c-tag);
    color: #222;
    font-family: "Yu Gothic Pr6N B", "游ゴシック", YuGothic, sans-serif;
    font-weight: bold;
    font-size: calc(12.5 * var(--px));
    line-height: calc(31.25 * var(--px));
    letter-spacing: 0em;
    text-indent: 0.13em;
    text-align: center;
    white-space: nowrap;
}

/* 20文字の長い見出しは文字を小さく詰める */
.rk-review__title--long {
    font-size: calc(11 * var(--px));
    letter-spacing: 0;
    text-indent: 0;
}

/* 吹き出しの三角 */
.rk-review__title::before {
    content: "";
    position: absolute;
    top: 50%;
    left: calc(-7.4 * var(--px));
    border-style: solid;
    border-width: calc(5.5 * var(--px)) calc(7.4 * var(--px)) calc(5.5 * var(--px)) 0;
    border-color: transparent var(--c-tag) transparent transparent;
    transform: translateY(-50%);
}

.rk-review__rating {
    position: absolute;
    top: calc(55 * var(--px));
    left: calc(var(--x) * var(--px) + 3.5 * var(--px));
    display: flex;
    align-items: baseline;
    margin: 0;
    color: #ff8863;
    line-height: 1;
}

.rk-review__stars {
    font-size: calc(16.5 * var(--px));
    letter-spacing: calc(3.4 * var(--px));
}

.rk-review__score {
    margin-left: calc(4 * var(--px));
    font-family: futura-pt, "Futura PT", "Jost", sans-serif;
    font-weight: 500;
    font-size: calc(19 * var(--px));
}

/* 右にアイコンがある口コミ */
.rk-review--right .rk-review__icon {
    left: auto;
    right: calc(26.7 * var(--px));
}

.rk-review--right .rk-review__title::before {
    left: auto;
    right: calc(-7.4 * var(--px));
    border-width: calc(5.5 * var(--px)) 0 calc(5.5 * var(--px)) calc(7.4 * var(--px));
    border-color: transparent transparent transparent var(--c-tag);
}

.rk-review--right .rk-review__rating {
    left: calc(21.5 * var(--px));
}

.rk-review__text {
    margin-top: calc(10 * var(--px));
    color: #343434;
    font-size: calc(8.5 * var(--px));
    line-height: 1.71;
    letter-spacing: 0.02em;
}

@media screen and (max-width: 768px) {
    .rk-review__text {
        font-size: 10px;
    }
}


/* ---------- nb ---------- */
/* ===== 19_nightbraseries から流用:01_mv(daynight)と 03_setup(.nb-ph / .nb-fig.nb-setup)。親に .nb は不要にした ===== */
.nb-daynight {
    margin: 0 calc(16 * var(--px));
}

/* ---------- 画像+文字の図(02〜06)共通 ---------- */
/* 左右16pxの余白の中に置く(横幅343px)。--u は楽天の元画像(1080px)上の1px、--s は 13_kawaiibra の値(375px幅)の1px */
.nb-fig {
    --u: calc(var(--px) * 343 / 1080);
    --s: calc(var(--px) * 343 / 375);
    position: relative;
    margin: 0 calc(16 * var(--px));
    overflow: hidden;
}


.nb-fig > img {
    display: block;
    width: 100%;
    height: auto;
}

.nb-fig figcaption p {
    position: absolute;
    margin: 0;
    line-height: 1;
    white-space: nowrap;
}

/* ---------- 03_setup(13_kawaiibra の 05_setup と同じ。値も 13 と同じ) ---------- */
.nb-setup__lead {
    top: calc(9.03 * var(--s));
    left: calc(61.11 * var(--s));
    display: flex;
    align-items: flex-end;
}

.nb-setup__badge {
    display: flex;
    align-items: center;
    justify-content: center;
    height: calc(23.6 * var(--s));
    color: #fff;
    font-family: "Yu Gothic Pr6N B", "游ゴシック", YuGothic, sans-serif;
    font-weight: bold;
    font-size: calc(15.3 * var(--s));
    letter-spacing: 0.02em;
}

.nb-setup__badge--material {
    width: calc(96.2 * var(--s));
    background: #da9488;
}

.nb-setup__badge--color {
    width: calc(102.8 * var(--s));
    margin-left: calc(6.25 * var(--s));
    background: #e09659;
}

.nb-setup__dakara {
    margin: 0 0 calc(1.9 * var(--s)) calc(5 * var(--s));
    color: #58412d;
    font-family: "Yu Gothic Pr6N B", "游ゴシック", YuGothic, sans-serif;
    font-weight: bold;
    font-size: calc(13.3 * var(--s));
}

.nb-setup__catch {
    top: calc(42 * var(--s));
    left: 0;
    right: 0;
    color: #5a422d;
    font-family: "Yu Gothic Pr6N B", "游ゴシック", YuGothic, sans-serif;
    font-weight: bold;
    font-size: calc(21 * var(--s));
    letter-spacing: 0;
    text-align: center;
}

.nb-setup__en {
    top: calc(145.6 * var(--s));
    left: 0;
    right: 0;
    color: #554230;
    font-family: futura-pt, "Futura PT", "Jost", sans-serif;
    font-weight: 400;
    font-style: italic;
    font-size: calc(25 * var(--s));
    letter-spacing: 0;
    text-align: center;
}

/* ---------- MV の写真+HTML文字(11/11) ----------
   写真は img/daynight.webp(差し替えはファイルを置き換えるだけ)
   --x / --y / --w / --h / --fs / --ls は見本(designs/2411_nightbra/parts/mv_text.jpg 1200px)上の値。
   --u は「写真の表示幅 ÷ 1200」(コンテナクエリ単位 cqw で、表示幅が変わっても自動で合う) */
.nb-ph {
    position: relative;
    container-type: inline-size;
    line-height: 1;
}

.nb-ph .nb-ph__img {
    display: block;
    width: 100%;
    height: auto;
}

.nb-ph__box,
.nb-ph__text > span {
    --u: calc(100cqw / 1200);
    position: absolute;
    top: calc(var(--y) * var(--u));
    left: calc(var(--x) * var(--u));
}

/* 「外出時」「おうち」の黒い箱 */
.nb-ph__box {
    width: calc(var(--w) * var(--u));
    height: calc(var(--h) * var(--u));
    background: #000;
}

/* 「スタイルナイトブラ」の下の白い帯(両端が丸い) */
.nb-ph__box--band {
    border-radius: calc(18 * var(--u));
    background: #f5f2f0;
}

.nb-ph__text {
    margin: 0;
}

.nb-ph__text > span {
    font-size: calc(var(--fs) * var(--u));
    letter-spacing: calc(var(--ls) * var(--u));
    font-family: "Yu Gothic Pr6N B", "游ゴシック", YuGothic, sans-serif;
    font-weight: bold;
    line-height: 1;
    white-space: nowrap;
    color: #171614;
}

/* 「柔らかく上質×しっかりホールド」は見本どおり斜体 */
.nb-ph__text--italic > span {
    font-style: oblique 12deg;
}

/* 「×」は細い線 */
.nb-ph__text > .nb-ph__thin,
.nb-ph__text--italic > .nb-ph__thin {
    font-family: "Yu Gothic Pr6N M", "游ゴシック", YuGothic, sans-serif;
    font-weight: 300;
    font-style: normal;
}

.nb-ph__text--white > span {
    color: #fff;
}

/* DAY / NIGHT(写真の下端に重ねる英字。futura-pt) */
.nb-ph__text--en > span {
    font-family: futura-pt, "Futura PT", "Jost", sans-serif;
    font-weight: 500;
    color: #fdf9f3;
}

.nb-ph__text--en > .nb-ph__brown {
    color: #9d836d;
}

/* ---------- ss ---------- */
/* ===== 43_shortslineup から流用:ナイトブラのバナー(.ss-fig--nb + .ss-ts 写真+HTML文字、.ss-fig__link) ===== */
.ss-fig {
    position: relative;
    margin: 0 calc(16 * var(--px));
    overflow: hidden;
}
.ss-fig .swiper-slide {
    width: 100%;
    height: auto;
}
.ss-fig--nb {
    aspect-ratio: 1040 / 365;
}
/* バナー全体を商品ページ・商品一覧へのリンクにする(文字の合わせ込みのため、スライドは div のまま上にリンクを重ねる) */
.ss-fig__link {
    position: absolute;
    inset: 0;
    z-index: 1;
    transition: background-color .3s;
}

@media (hover: hover) {
    .ss-fig__link:hover {
        background-color: rgba(255, 255, 255, 0.2);
    }
}

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

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

.ss-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;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

/* 下線(高さ2px。太い下線は写真から消してこれで引く。JSON の "ul": [x, 幅, y](375基準のスライド上の位置)) */
.ss-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) */
.ss-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);
}

/* ---------- bt ---------- */
/* ===== 45_bratop から流用:COMBINE製法(.bt-fig--combine。750×750 ×2 と 750×178 + .bt-ts 写真+HTML文字) ===== */
.bt-fig {
    position: relative;
    margin: 0 calc(16 * var(--px));
    overflow: hidden;
}
.bt-fig .swiper-slide {
    width: 100%;
    height: auto;
}
/* COMBINE製法の画像(750×1678)は 750×750 ×2 と 750×178(_c)に分けている */
.bt-fig__part {
    position: relative;
    overflow: hidden;
}

.bt-fig__part--c {
    aspect-ratio: 750 / 178;
}

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

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

.bt-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;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

/* 下線(高さ2px。太い下線は写真から消してこれで引く。JSON の "ul": [x, 幅, y](375基準のスライド上の位置)) */
.bt-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) */
.bt-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);
}



/* ---------- bps ---------- */
/* ===== プロテイン(31_bps の .bps-fig / .bps-ph / .bps-chart / .bps-voice をそのまま流用) =====
   楽天の画像上のpxのまま var(--u)(= 表示幅 343 ÷ 画像の横幅 --iw)に掛ける */
.bps-fig {
    margin: 0 calc(16 * var(--px));
    line-height: 1.75;
}

.bps-fig img {
    max-width: none;
}

/* 楽天の画像の寸法(画像上のpx)を表示の大きさに直す単位。図の横幅は 343 * var(--px) */
.bps-fig,
.bps-fig * {
    --u: calc(343 * var(--px) / var(--iw));
}

/* ---------- 写真 + HTMLの文字(.bps-ph) ----------
   --x / --y / --w / --h / --fs / --ls は見本の画像上のpx
   is-c:--x が文字の中心(SPで10pxに大きくなっても左右均等に広がる) */
.bps-ph {
    position: relative;
    line-height: 1;
}

.bps-ph .bps-ph__img {
    display: block;
    width: 100%;
    height: auto;
}

.bps-ph__box,
.bps-ph__text > span {
    position: absolute;
    top: calc(var(--y) * var(--u));
    left: calc(var(--x) * var(--u));
}

.bps-ph__box {
    width: calc(var(--w) * var(--u));
    height: calc(var(--h) * var(--u));
}

.bps-ph__box--pill {
    border-radius: 999px;
}

.bps-ph__box--circle {
    border-radius: 50%;
    background: #917f5b;
}

.bps-ph__text,
.bps-ph__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.bps-ph__text > span {
    font-family: "Yu Gothic Pr6N B", "游ゴシック", YuGothic, sans-serif;
    font-weight: bold;
    font-size: calc(var(--fs) * var(--u));
    letter-spacing: calc(var(--ls) * var(--u));
    line-height: 1;
    white-space: nowrap;
    font-feature-settings: "palt";
}

.bps-ph__text > span.is-c {
    transform: translateX(-50%);
}

/* 文字の太さ・書体 */
.bps-ph__text--m > span {
    font-family: "Yu Gothic Pr6N B", "游ゴシック", YuGothic, sans-serif;
    font-weight: bold;
}

.bps-ph__text--en > span,
.bps-ph__text--en-b > span {
    font-family: futura-pt, "Futura PT", "Jost", sans-serif;
    font-weight: 500;
    font-feature-settings: normal;
}

.bps-ph__text--en-b > span {
    font-weight: 600;
}

.bps-ph__text--oblique > span {
    font-style: oblique 10deg;
}

/* SPで10pxより小さくならないように */
.bps-ph__text--min > span,
.bps-ph__text--en-b > span,
.bps-ph__text--desc > span {
    font-size: max(10px, calc(var(--fs) * var(--u)));
}

.bps-ph__text--desc > span {
    color: #030000;
}

.bps-ph__text--white > span {
    color: #fff;
}

.bps-ph__text--shadow > span {
    text-shadow: 0 0 calc(10 * var(--u)) rgba(0, 0, 0, 0.12);
}

/* ---------- プロテインシリーズ(楽天の proteinseries_mv.jpg を3つに分けた) ---------- */
.bps-series .bps-ph + .bps-ph {
    margin-top: 0;
}

/* さらに 美味しいのに栄養素もたくさん! と棒グラフ(HTML)。寸法は proteinseries_mv.jpg 上のpx */
.bps-chart {
    padding: calc(35 * var(--u)) 0 calc(44 * var(--u));
    background: #fae9d1;
    font-family: "Yu Gothic Pr6N B", "游ゴシック", YuGothic, sans-serif;
    font-weight: bold;
    line-height: 1;
}

.bps-chart__more {
    text-align: center;
}

.bps-chart__more span {
    display: inline-block;
    width: calc(306 * var(--u));
    height: calc(93 * var(--u));
    border-radius: 999px;
    background: #a18378;
    color: #fff;
    font-size: calc(58 * var(--u));
    line-height: calc(93 * var(--u));
    letter-spacing: 0.2em;
    text-indent: 0.2em;
}

.bps-chart__lead {
    margin-top: calc(40 * var(--u));
    color: #000;
    font-size: calc(72 * var(--u));
    letter-spacing: 0;
    text-align: center;
    white-space: nowrap;
}

.bps-chart__lead em {
    color: #ef6866;
    font-size: 1.18em;
    font-style: normal;
}

.bps-chart__panel {
    margin: calc(30 * var(--u)) calc(58 * var(--u)) 0 calc(57 * var(--u));
    padding: calc(38 * var(--u)) calc(45 * var(--u)) calc(40 * var(--u));
    background: #96857e;
}

.bps-chart__title {
    color: #feef78;
    font-size: calc(70 * var(--u));
    letter-spacing: 0.1em;
    text-align: center;
    white-space: nowrap;
    height: calc(87 * var(--u));
    line-height: calc(87 * var(--u));
}

.bps-chart__title span {
    font-family: futura-pt, "Futura PT", "Jost", sans-serif;
    font-weight: 600;
    font-size: 1.45em;
    letter-spacing: 0;
}

.bps-chart__box {
    --lab: max(calc(146 * var(--u)), 74px);
    position: relative;
    margin-top: calc(38 * var(--u));
    padding: calc(31 * var(--u)) calc(38 * var(--u)) calc(12 * var(--u)) calc(20 * var(--u));
    background: #fcf7f3;
    color: #333;
}

.bps-chart__base {
    height: calc(52 * var(--u));
    color: #e64b47;
    font-size: max(10px, calc(28 * var(--u)));
    text-align: center;
}

.bps-chart__base span {
    font-family: futura-pt, "Futura PT", "Jost", sans-serif;
    font-weight: 600;
    font-size: 1.6em;
}

.bps-chart__base small {
    font-size: max(10px, 0.65em);
}

/* 棒の長さは楽天の画像のまま(--w:画像上の棒の長さ。目盛り 0〜200 の幅は 780px) */
.bps-chart__plot {
    display: grid;
    grid-template-columns: var(--lab) 1fr;
    column-gap: calc(12 * var(--u));
    margin-top: calc(16 * var(--u));
}

.bps-chart__plot dt {
    font-size: max(10px, calc(22 * var(--u)));
    line-height: calc(53.3 * var(--u));
    text-align: right;
    white-space: nowrap;
    letter-spacing: -0.02em;
}

.bps-chart__plot dd {
    position: relative;
    height: calc(53.3 * var(--u));
    margin: 0;
    border-left: calc(2 * var(--u)) solid #333;
}

/* 基準値100%の赤い線 */
.bps-chart__plot dd::before {
    position: absolute;
    content: "";
    top: 0;
    bottom: 0;
    left: calc((627.5 - 281) / 780 * 100%);
    width: calc(3 * var(--u));
    background: #e64b47;
    z-index: 1;
}

.bps-chart__plot dd:first-of-type::before {
    top: calc(-10 * var(--u));
}

.bps-chart__plot dd:last-of-type::before {
    bottom: calc(-8 * var(--u));
}

.bps-chart__plot dd::after {
    position: absolute;
    content: "";
    top: calc(11 * var(--u));
    left: calc(5 / 780 * 100%);
    width: calc(var(--w) / 780 * 100%);
    height: calc(31 * var(--u));
    background: repeating-linear-gradient(45deg, #e7804f 0 calc(5.3 * var(--u)), #f2ae5d calc(5.3 * var(--u)) calc(10.6 * var(--u)));
}

.bps-chart__val {
    position: absolute;
    top: 50%;
    left: calc((5 + var(--w)) / 780 * 100% + 24 * var(--u));
    transform: translateY(-50%);
    color: #e64b47;
    font-family: futura-pt, "Futura PT", "Jost", sans-serif;
    font-weight: 600;
    font-size: max(10px, calc(30 * var(--u)));
    white-space: nowrap;
}

.bps-chart__val small {
    font-size: max(10px, 0.7em);
}

/* 目盛り(--a:画像上の文字の中心の位置。目盛り0は x=280) */
.bps-chart__axis {
    position: relative;
    height: calc(46 * var(--u));
    margin-top: calc(7 * var(--u));
    margin-left: calc(var(--lab) + 12 * var(--u));
    border-top: calc(2 * var(--u)) solid #333;
    width: calc((100% - var(--lab) - 12 * var(--u)) * 762 / 780);
}

.bps-chart__axis span {
    position: absolute;
    top: calc(9 * var(--u));
    left: calc((var(--a) - 280) / 762 * 100%);
    transform: translateX(-50%);
    font-family: futura-pt, "Futura PT", "Jost", sans-serif;
    font-weight: 600;
    font-size: max(10px, calc(25 * var(--u)));
    white-space: nowrap;
}

.bps-chart__axis .bps-chart__unit {
    font-family: "Yu Gothic Pr6N B", "游ゴシック", YuGothic, sans-serif;
    font-size: max(9px, calc(21 * var(--u))); /* 31_bps は 8px。rules.md の SP 10px 下限に合わせた */
}

.bps-chart__note {
    margin-top: calc(7 * var(--u));
    line-height: calc(20 * var(--u));
    font-size: max(8px, calc(20 * var(--u))); /* 同上 */
    text-align: right;
    letter-spacing: 0;
}

/* ---------- USER VOICE(楽天の review_protein.jpg をHTMLにした。寸法は画像上のpx) ---------- */
.bps-voice {
    position: relative;
    overflow: hidden;
    padding: calc(57 * var(--u)) 0 calc(56 * var(--u));
    background: #fbebc8;
}

.bps-voice__deco {
    position: absolute;
    top: calc(-46 * var(--u));
    left: calc(6 * var(--u));
    color: rgba(255, 255, 255, 0.85);
    font-family: futura-pt, "Futura PT", "Jost", sans-serif;
    font-weight: 500;
    font-style: italic;
    font-size: calc(112 * var(--u));
    letter-spacing: 0.12em;
    line-height: 1;
    white-space: nowrap;
}

.bps-voice__title {
    position: relative;
    width: calc(562 * var(--u));
    height: calc(76 * var(--u));
    margin: 0 auto;
    margin-left: calc(63 * var(--u));
    border-radius: 999px;
    background: #e6c47c;
    color: #fff;
    font-family: futura-pt, "Futura PT", "Jost", sans-serif;
    font-weight: 500;
    font-size: calc(54 * var(--u));
    line-height: calc(76 * var(--u));
    letter-spacing: 0.16em;
    text-indent: 0.16em;
    text-align: center;
}

.bps-voice__title::after {
    position: absolute;
    content: "";
    top: 100%;
    left: calc(78 * var(--u));
    border-top: calc(23 * var(--u)) solid #e6c47c;
    border-left: calc(22 * var(--u)) solid transparent;
    border-right: calc(0 * var(--u)) solid transparent;
}

.bps-voice__list {
    margin: calc(43 * var(--u)) calc(23 * var(--u)) 0;
}

.bps-voice__item {
    padding: calc(28 * var(--u)) calc(30 * var(--u)) calc(20 * var(--u));
    border: calc(2 * var(--u)) solid #a59681;
    border-radius: calc(4 * var(--u));
    background: #fff;
}

.bps-voice__item + .bps-voice__item {
    margin-top: calc(28 * var(--u));
}

.bps-voice__head {
    display: flex;
    align-items: flex-end;
    gap: calc(18 * var(--u));
    padding: 0 calc(3 * var(--u)) 0 calc(15 * var(--u));
    border-bottom: calc(2 * var(--u)) solid #a99783;
}

.bps-voice__item--rev .bps-voice__head {
    flex-direction: row-reverse;
    padding: 0 calc(18 * var(--u)) 0 calc(4 * var(--u));
}

.bps-voice__icon {
    display: block;
    width: calc(112 * var(--u));
    height: auto;
    flex-shrink: 0;
}

.bps-voice__summary {
    flex: 1;
    padding-bottom: calc(14 * var(--u));
}

.bps-voice__catch {
    position: relative;
    height: calc(58 * var(--u));
    padding-left: calc(22 * var(--u));
    background: #efd8a4;
    color: #000;
    font-family: "Yu Gothic Pr6N B", "游ゴシック", YuGothic, sans-serif;
    font-weight: bold;
    font-size: calc(22 * var(--u));
    line-height: calc(58 * var(--u));
    letter-spacing: 0;
    white-space: nowrap;
}

.bps-voice__catch::before {
    position: absolute;
    content: "";
    top: 50%;
    right: 100%;
    transform: translateY(-50%);
    border-right: calc(11 * var(--u)) solid #efd8a4;
    border-top: calc(9 * var(--u)) solid transparent;
    border-bottom: calc(9 * var(--u)) solid transparent;
}

.bps-voice__item--rev .bps-voice__catch {
    padding-left: calc(30 * var(--u));
}

.bps-voice__item--rev .bps-voice__catch::before {
    right: auto;
    left: 100%;
    border-right: 0;
    border-left: calc(11 * var(--u)) solid #efd8a4;
}

.bps-voice__rate {
    margin-top: calc(13 * var(--u));
    padding-left: calc(8 * var(--u));
    color: #fc8567;
    font-family: futura-pt, "Futura PT", "Jost", sans-serif;
    font-weight: 500;
    font-size: calc(36 * var(--u));
    line-height: 1;
}

.bps-voice__stars {
    margin-right: calc(12 * var(--u));
    font-family: "Yu Gothic Pr6N M", "游ゴシック", YuGothic, sans-serif;
    font-size: calc(34 * var(--u));
    letter-spacing: 0.02em;
}

.bps-voice__text {
    padding: calc(15 * var(--u)) calc(4 * var(--u)) 0 calc(9 * var(--u));
    color: #000;
    font-size: calc(19 * var(--u));
    line-height: calc(27 * var(--u));
    letter-spacing: 0.02em;
}

/* 口コミの本文は SP 10px(共通の文字サイズ) */
@media screen and (max-width: 768px) {
    .bps-voice__text {
        font-size: 10px;
        line-height: 1.35;
    }
}

/* ---------- ar ---------- */
/* ===== 40_arrangerecipe から流用:合わせ買いバナー(.ar-fig.ar-crop + .ar-ts 写真+HTML文字、.ar-series__btn) ===== */
.ar-fig {
    margin: 0 calc(16 * var(--px));
}
.ar-crop {
    position: relative;
    aspect-ratio: 750 / var(--h);
    overflow: hidden;
}
/* ---------- 合わせ買いバナー(「CHECK ALL ITEMS」のボタンの上にリンクを重ねる) ---------- */
.ar-series__btn {
    position: absolute;
    left: calc(208 / 750 * 100%);
    top: calc(332 / 375 * 100%);
    width: calc(334 / 750 * 100%);
    height: calc(38 / 375 * 100%);
    border-radius: 999px;
    z-index: 1;
    transition: background-color .3s;
}

.ar-series__btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

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

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

.ar-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;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

/* 下線(高さ2px。太い下線は写真から消してこれで引く。JSON の "ul": [x, 幅, y](375基準のスライド上の位置)) */
.ar-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) */
.ar-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);
}

