@charset "UTF-8";
/* ========================================
   最新総合ランキング！カテゴリー別・売れ筋アイテムまとめ
   サイズは「カンプ上のpx × var(--px)」(375pxで等倍、800pxで最大)
   換算: 01_mv 768px→×0.48828 / 02〜08 1080px→×0.34722
         ランキングのカード・本文・写真の並びは楽天ページ(_source/page.png 375px)が見本
   01_mv はJPG全体を1枚の画像。それ以外はHTML(口コミのアイコンは 05 から切り出し)
======================================== */
:root {
    --px: min(calc(100vw / 375), calc(800px / 375));
    --c-text: #333333;
}

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

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

.rk img {
    max-width: none;
}

.rk figure {
    margin: 0;
}

/* feature.css の a { transition: all } だと、画面幅を変えたときに位置まで動くので opacity だけにする */
.rk a {
    transition: opacity 0.3s ease;
}

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

/* ---------- 冒頭(01_mv はJPG全体を1枚の画像。その下にページタイトルの h1) ---------- */
.rk-mv {
    margin: 0;
    line-height: 0;
}

.rk-mv img {
    display: block;
    width: 100%;
    height: auto;
}

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

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

/* ---------- セクション ---------- */
.rk-sec {
    margin-top: calc(40 * var(--px));
}

.rk-sec:last-child {
    margin-bottom: calc(80 * var(--px));
}

/* ---------- 見出しの帯(02_total / 03_cate / 04_pick。1080×296 → 375×102.78) ---------- */
.rk-banner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: calc(102.78 * var(--px));
    margin: 0;
    overflow: hidden;
    color: #2a2a2a;
    font-weight: normal;
    line-height: 1;
}

.rk-banner--total {
    background: linear-gradient(100deg, #f0e1c4 0%, #ecd8b6 40%, #eecbb7 100%);
}

.rk-banner--cate {
    background: linear-gradient(100deg, #f2e2d0 0%, #f3e1d5 45%, #f1c8c9 100%);
}

.rk-banner--pick {
    background: linear-gradient(100deg, #d1dfe5 0%, #eef0e8 55%, #f4f2e6 70%, #d8dce7 100%);
}

/* 背景の大きな英字(薄い白) */
.rk-banner__bg {
    position: absolute;
    color: rgba(255, 255, 255, 0.45);
    font-family: "ivypresto-display", "Yu Mincho", "YuMincho", serif;
    font-size: calc(69 * var(--px));
    line-height: 1;
    letter-spacing: -0.02em;
    white-space: nowrap;
    pointer-events: none;
}

.rk-banner--total .rk-banner__bg {
    top: calc(-3 * var(--px));
    left: calc(-2 * var(--px));
}

.rk-banner--cate .rk-banner__bg {
    top: calc(47 * var(--px));
    left: calc(106 * var(--px));
}

.rk-banner--pick .rk-banner__bg {
    top: calc(48 * var(--px));
    left: calc(146 * var(--px));
    font-size: calc(76 * var(--px));
}

.rk-banner__en,
.rk-banner__ja,
.rk-banner__top5 {
    position: relative;
}

.rk-banner__en,
.rk-banner__top5 {
    font-family: futura-pt, "Futura PT", "Jost", sans-serif;
    font-weight: 500;
}

.rk-banner__en {
    font-size: calc(21.8 * var(--px));
    letter-spacing: 0.02em;
}

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

.rk-banner--total .rk-banner__ja {
    margin-top: calc(9 * var(--px));
    font-size: calc(36 * var(--px));
    letter-spacing: 0.02em;
}

.rk-banner--cate .rk-banner__ja {
    font-size: calc(28 * var(--px));
    letter-spacing: 0.02em;
}

.rk-banner__top5 {
    margin-top: calc(10 * var(--px));
    font-size: calc(33.5 * var(--px));
}

.rk-banner--pick .rk-banner__ja {
    font-size: calc(29 * var(--px));
    line-height: 1.3;
    letter-spacing: 0.02em;
    text-align: center;
}

/* ---------- カテゴリ別(h3) ---------- */
.rk-cate {
    margin-top: calc(48 * var(--px));
}

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

.rk-cate__title {
    margin-bottom: calc(14 * var(--px));
    padding: 0 calc(16 * var(--px));
    font-family: futura-pt, "Futura PT", "Yu Gothic Pr6N B", "游ゴシック", YuGothic, sans-serif;
    font-weight: 600;
    font-size: calc(14 * var(--px));
    line-height: 1.4;
}

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

/* ---------- 本文 ---------- */
.rk-text {
    margin-top: calc(28 * var(--px));
    padding: 0 calc(16 * var(--px));
    font-size: 16px;
    line-height: 1.8;
}

.rk-text p + p {
    margin-top: 1.8em;
}

.rk-text--lead {
    margin-top: calc(36 * var(--px));
}

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

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

/* ---------- 商品のカルーセル ---------- */
/* 総合ランキングの帯のすぐ下(更新日は 11/16 に削除) */
.rk-banner + .rk-items {
    margin-top: calc(32 * var(--px));
}

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

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

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

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

.rk-items__img {
    position: relative;
}

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

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

.rk-items__rank b {
    font-family: futura-pt, "Futura PT", "Jost", sans-serif;
    font-weight: 600;
    font-size: calc(18 * var(--px));
}

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

.rk-items__rank + .rk-items__name {
    margin-top: calc(2 * var(--px));
}

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

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

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

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

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

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

    .rk-items__rank {
        font-size: calc(6.5 * var(--px));
    }

    .rk-items__rank b {
        font-size: calc(10 * var(--px));
    }
}

/* ---------- カルーセルの矢印(PCのみ。04_qualityforyou_ep02 の section-product に合わせる) ---------- */
/* 矢印は .swiper の外(.rk-items__carousel の中)に置き、写真に重ならないよう左右の余白に表示する */
/* Swiper標準のアイコン(svg)は消し、その方向にスワイプできないとき(最初の左・端まで来た側・全部が1画面に収まるとき)は矢印を消す */
.rk-items .swiper-button-prev svg,
.rk-items .swiper-button-next svg {
    display: none !important;
}

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

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

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

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

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

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

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

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

/* 端まで来た側(.swiper-button-disabled)と、全部が1画面に収まるとき(.swiper-button-lock)は矢印を出さない */
.rk-items .swiper-button-disabled,
.rk-items .swiper-button-lock {
    display: none;
}

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

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

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

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

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

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

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

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

/* ---------- 口コミ評価の高い人気アイテム ---------- */
.rk-pick__item {
    margin-top: calc(40 * var(--px));
}

.rk-pick__photo {
    padding: 0 calc(16 * var(--px));
}

.rk-pick__photo a {
    display: block;
}

.rk-pick__photo img {
    display: block;
    width: 100%;
    height: auto;
}

/* ---------- USER VOICE(05〜08。1080px → ×0.34722) ---------- */
.rk-voice {
    --c-bg: #f9f2ea;
    --c-pill: #dfa290;
    --c-tag: #e5c9b4;
    position: relative;
    margin-top: calc(32 * var(--px));
    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;
    }
}

/* ---------- 口コミ評価の高い人気アイテムの写真+HTML文字(11/11) ----------
   写真は img/pick_〇〇_photo.webp(差し替えはファイルを置き換えるだけ)
   --x / --y / --w / --h / --fs / --ls は見本(designs/2509_ranking/parts/pick_〇〇_text.jpg 750px)上の値。
   --u は「写真の表示幅 ÷ 750」(コンテナクエリ単位 cqw で、表示幅が変わっても自動で合う) */
.rk-ph {
    position: relative;
    container-type: inline-size;
    line-height: 1;
}

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

/* 文字の後ろの箱(白・角丸) */
.rk-ph__box {
    width: calc(var(--w) * var(--u));
    height: calc(var(--h) * var(--u));
    border-radius: calc(5 * var(--u));
    background: #fff;
}

.rk-ph__box--gold {
    background: #dfb66b;
}

.rk-ph__box--blue {
    background: #80a5d8;
}

/* 背景に少し透ける白(ボートネックT) */
.rk-ph__box--glass {
    background: rgba(255, 255, 255, .75);
}

.rk-ph__text {
    margin: 0;
}

.rk-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: #111;
}

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

/* 縦書き(英数字も立てる) */
.rk-ph__text--v > span {
    writing-mode: vertical-rl;
    text-orientation: upright;
}

/* 360°(futura-pt) */
.rk-ph__text--num > span {
    font-family: futura-pt, "Futura PT", "Jost", sans-serif;
    font-weight: 500;
    color: #fff;
}
