@charset "UTF-8";
/* ========================================
   ショーツの選び方と種類をご紹介。ヒップアップも叶う！おすすめショーツ特集
   サイズは「375px幅のページ上のpx × var(--px)」(375pxで等倍、800pxで最大)
   正解は楽天ページ(designs/2508_shorts/_source/page.png)。MV だけ画像のまま
   カルーセル・本文の間の写真は「文字を消した写真 + HTMLの文字」(scripts/text-slide.mjs)
   余白は page.png の実測(文字の上下のすき間を引いた値)
======================================== */
:root {
    --px: min(calc(100vw / 375), calc(800px / 375));
    --c-text: #333333;
}

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

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

.shs img {
    max-width: none;
}

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

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

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

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

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

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

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

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

/* ---------- 見出し(h2・h3 とも楽天は同じ見た目) ---------- */
.shs-sec__title {
    margin: 0 calc(16 * var(--px)) calc(12 * var(--px));
    color: var(--c-text);
    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) {
    .shs-sec__title {
        margin-bottom: calc(17 * var(--px));
        font-size: calc(16 * var(--px));
    }
}

/* 見出しの下が本文のとき(「1枚で叶えるスタイルアップ」) */
.shs-sec__title + .shs-text {
    margin-top: calc(6 * var(--px));
}

/* ---------- セクションの間 ---------- */
.shs-text + .shs-sec,
.shs-sec + .shs-sec {
    margin-top: calc(49 * var(--px));
}

.shs-sec:has(> .shs-more:last-child) + .shs-sec {
    margin-top: calc(84 * var(--px));
}

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

.shs-fig + .shs-item {
    margin-top: calc(55 * var(--px));
}

.shs-item + .shs-item {
    margin-top: calc(49 * var(--px));
}

/* ---------- 写真 + HTMLの文字(左右16pxの余白の中に横幅いっぱい) ---------- */
.shs-fig {
    position: relative;
    margin: 0 calc(16 * var(--px));
    overflow: hidden;
}

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

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

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

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

/* ---------- 写真のカルーセル(楽天のスライドショーと同じく1枚ずつ。ループあり、下の点) ---------- */
.shs-slider {
    margin: 0 calc(16 * var(--px));
}

.shs-slider__swiper {
    overflow: hidden;
}

.shs-slider__pagination.swiper-pagination {
    position: static;
    margin-top: calc(12 * var(--px));
    line-height: 1;
    text-align: center;
}

.shs-slider__pagination .swiper-pagination-bullet {
    width: calc(6 * var(--px));
    height: calc(6 * var(--px));
    margin: 0 calc(3 * var(--px)) !important;
    background: #cccccc;
    opacity: 1;
    vertical-align: top;
}

.shs-slider__pagination .swiper-pagination-bullet-active {
    background: #4a4a4a;
}

@media screen and (min-width: 769px) {
    .shs-slider__pagination .swiper-pagination-bullet {
        width: calc(5 * var(--px));
        height: calc(5 * var(--px));
    }
}

.shs-slider + .shs-sec__title {
    margin-top: calc(41 * var(--px));
}

.shs-slider + .shs-text {
    margin-top: calc(32 * var(--px));
}

/* ---------- VIEW MORE(楽天は画像 viewmore_blue.jpg。228×31 の水色の角丸) ---------- */
.shs-more {
    margin: calc(22 * var(--px)) 0 0;
    text-align: center;
    line-height: 1;
}

.shs-more__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: calc(228 * var(--px));
    height: calc(31 * var(--px));
    padding-left: 0.2em;
    border-radius: calc(15.5 * var(--px));
    background: #a6d7eb;
    color: #fff;
    font-family: futura-pt, "Futura PT", "Jost", sans-serif;
    font-weight: 500;
    font-size: calc(19.5 * var(--px));
    letter-spacing: 0.16em;
    text-decoration: none;
    transition: opacity .3s;
}

.shs-more + .shs-text {
    margin-top: calc(68 * var(--px));
}

@media (hover: hover) {
    .shs-more__btn:hover {
        opacity: 0.7;
    }
}

/* ---------- 14_setup(13_kawaiibra / 57_uservoice の nb-setup と同じ。--s は 13 の値(375px幅)の1px) ---------- */
.shs-setup {
    --s: calc(var(--px) * 343 / 375);
}

.shs-setup > img {
    display: block;
    width: 100%;
    height: auto;
}

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

.shs-setup__lead {
    top: calc(9.03 * var(--s));
    left: calc(61.11 * var(--s));
    display: flex;
    align-items: flex-end;
}

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

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

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

.shs-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));
}

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

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

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

/* ---------- アイテム一覧(楽天の商品ウィジェット。SP は楽天どおり 136px、PC は1画面に4つの幅) ---------- */
.shs-sec--items + .shs-sec--items {
    margin-top: calc(40 * var(--px));
}

.shs-items__carousel {
    position: relative;
}

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

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

.shs-items__list a {
    display: block;
    color: var(--c-text);
    text-decoration: none;
    transition: opacity .3s;
}

.shs-items__img {
    position: relative;
}

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

.shs-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;
    word-break: keep-all;
}

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

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

@media screen and (min-width: 769px) {
    .shs-items__slider {
        margin-inline: calc(16 * var(--px));
        padding: 0;
    }

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

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

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

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

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

.shs-items__img .icon-container .icon--cool {
    max-width: 45px;
}

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

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

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

.shs-items__carousel .swiper-button-prev,
.shs-items__carousel .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;
}

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

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

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

.shs-items__carousel .swiper-button-prev::before,
.shs-items__carousel .swiper-button-prev::after {
    left: 0;
}

.shs-items__carousel .swiper-button-next::before,
.shs-items__carousel .swiper-button-next::after {
    right: 0;
}

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

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

.shs-items__carousel .swiper-button-disabled,
.shs-items__carousel .swiper-button-lock {
    display: none;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


/* 06_shorts(STYLE SHORTS のバナー)の英字は Helvetica 系の太字(20_ranking2 の shorts と同じ。見本の文字の周りのうっすらした影も同じ) */
/* 画像の上の英字はすべて Helvetica Neue(shs-fig の中) */
.shs-fig .shs-ts__t--en,
.shs-fig .shs-ts__en {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.shs-fig--hv .shs-ts__t {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: bold;
    text-shadow: 0 0 calc(12 * var(--u)) rgba(0, 0, 0, 0.18);
}
