@charset "UTF-8";
/* ========================================
   【残暑も快適に】「暑くてブラしたくない日」の最適解。機能美ブラトップ
   サイズは「375px幅のページ上のpx × var(--px)」(375pxで等倍、800pxで最大)
   正解は楽天ページ(designs/2608_summerbratop/_source/page.png)。MV だけ画像のまま
   作りは 71_inner(本文・図・VIEW MORE)+ 69_sscamitank(商品一覧)+ 50_nightbrashorts(色見本)
   余白は page.png の実測(文字の上下のすき間を引いた値)
======================================== */
:root {
    --px: min(calc(100vw / 375), calc(800px / 375));
    --c-text: #333333;
}

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

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

.sbr img {
    max-width: none;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.sbr-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: #99b7c8;
    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;
}

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

/* PC だけボタンを 90% の大きさにする。小さくなった高さの分(3.1)を上下に半分ずつ足して、ボタンの中心と前後の間隔は変えない */
@media screen and (min-width: 769px) {
    .sbr-more {
        padding: calc(1.55 * var(--px)) 0;
    }

    .sbr-more__btn {
        width: calc(205.2 * var(--px));
        height: calc(27.9 * var(--px));
        border-radius: calc(13.95 * var(--px));
        font-size: calc(17.55 * var(--px));
    }
}

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


/* ---------- 今回ご紹介したアイテム・まとめ・アイコン(69_sscamitank と同じ) ---------- */
.sbr-items__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: calc(20 * var(--px)) calc(12 * var(--px));
    padding: 0 calc(16 * var(--px));
}

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

.sbr-items__img {
    position: relative;
}

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

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

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

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

@media screen and (min-width: 769px) {
    .sbr-items__list {
        grid-template-columns: repeat(4, 1fr);
        gap: calc(20 * var(--px)) calc(6 * var(--px));
    }

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

/* 締めの文(楽天:商品の下に区切り線、線から1行目の中心まで約60px) */
.sbr-outro {
    margin-top: calc(44 * var(--px));
    margin-bottom: calc(80 * var(--px));
}

.sbr-outro::before {
    display: block;
    content: "";
    height: 1px;
    margin-bottom: calc(48 * var(--px));
    background: #333;
}

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

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

@media screen and (max-width: 768px) {
    .sbr-items__img .icon-container {
        top: -2px;
        right: 2px;
    }

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


/* ---------- Color variations の色見本(50_nightbrashorts と同じ。写真の下の「カラー/〜」は HTML) ---------- */
.sbr-sw__slider {
    padding-bottom: calc(16 * var(--px));
}

.sbr-sw__img {
    position: relative;
    container-type: inline-size;
}

.sbr-sw__img img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
}

.sbr-sw__cap {
    position: absolute;
    left: calc(var(--cx) * 1%);
    top: calc(var(--cy) * 1%);
    color: #111;
    font-family: "Yu Gothic Pr6N M", "游ゴシック", YuGothic, sans-serif;
    display: flex;
    flex-wrap: wrap;
    max-width: calc(100% - var(--cx) * 1%);
    font-size: max(10px, 3.6cqw);
    letter-spacing: 0;
    line-height: 1.2;
    white-space: nowrap;
}

.sbr-sw__carousel {
    position: relative;
}

.sbr-sw__slider {
    padding-left: calc(16 * var(--px));
    padding-right: calc(4 * var(--px));
}

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

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

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

.sbr-sw__carousel .swiper-button-prev,
.sbr-sw__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;
}

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

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

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

.sbr-sw__carousel .swiper-button-prev::before,
.sbr-sw__carousel .swiper-button-prev::after {
    left: 0;
}

.sbr-sw__carousel .swiper-button-next::before,
.sbr-sw__carousel .swiper-button-next::after {
    right: 0;
}

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

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

.sbr-sw__carousel .swiper-button-disabled,
.sbr-sw__carousel .swiper-button-lock {
    display: none;
}

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

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

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

.sbr-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(9px, 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;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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



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

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

    .sbr-sw__list li:last-child {
        margin-right: 0;
    }
}

/* ========== このページだけの部品 ========== */
/* 文字のない写真(02・04) */
.sbr-photo {
    margin: 0 calc(16 * var(--px));
}

.sbr-photo img {
    display: block;
    width: 100%;
    height: auto;
}

.sbr-sec__title + .sbr-photo,
.sbr-sec__title + .sbr-fig {
    margin-top: 0;
}

.sbr-photo + .sbr-text,
.sbr-fig + .sbr-text,
.sbr-sweat__list + .sbr-text {
    margin-top: calc(38 * var(--px));
}

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

/* TYPE のカード(楽天どおり画像全体が商品ページへのリンク) */
a.sbr-fig--link {
    display: block;
    text-decoration: none;
    transition: opacity .3s;
}

@media (hover: hover) {
    a.sbr-fig--link:hover {
        opacity: 0.8;
    }
}

/* Color variations(楽天:COORDINATE と同じ見出し) */
.sbr-cv__title {
    margin: calc(40 * var(--px)) calc(16 * var(--px)) calc(18 * 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) {
    .sbr-cv__title {
        font-size: calc(16 * var(--px));
    }
}

.sbr-sw__carousel + .sbr-more {
    margin-top: calc(22 * var(--px));
}

/* ショーツの色見本は商品が画像の上の方に小さく入っていて下の余白が大きいので、VIEW MORE を上げて
   「色見本の文字の下 → ボタン」の見た目の間隔を他の商品とそろえる(実測:SP 35px・PC 80px) */
#shorts .sbr-sw__carousel + .sbr-more {
    position: relative;
    z-index: 1;
    margin-top: 0;
}

@media screen and (max-width: 768px) {
    #shorts .sbr-sw__carousel + .sbr-more {
        margin-top: calc(-5.3 * var(--px));
    }
}

/* ---------- 汗スポットの図解(03_sweat。楽天と同じ配置。SP も説明文を図の中のイラストの左右に置く) ---------- */
.sbr-fig--sweat .sbr-ts__t:nth-of-type(-n+3) {
    font-family: "Yu Mincho Pr6N M", "游明朝", YuMincho, "Hiragino Mincho ProN", serif;
    font-weight: normal;
}

/* 図の下の ①〜⑥ の説明文リスト(前は SP だけ表示していた)。今は使わないので隠す */
.sbr-sweat__list {
    display: none;
}

@media screen and (max-width: 768px) {
    /* 説明文(枠の中の3行)は 9px の下限をなくして図の大きさどおりに縮め、イラストの左右に収める */
    .sbr-fig--sweat .sbr-ts__t.sbr-sweat__line {
        font-size: calc(var(--fs) * var(--u));
    }

    /* 見出し(首の前側〜アンダーバスト)は 9px のまま。アンダーバストが枠からはみ出さないよう字間を0にする */
    .sbr-fig--sweat .sbr-ts__t--b {
        letter-spacing: 0;
    }
}

/* まとめの前の区切り線(69 と同じ .sbr-outro::before)の上の余白 */
.sbr-items + .sbr-outro {
    margin-top: calc(40 * var(--px));
}

/* 持続冷感の画像の下の文字:明朝体(38_sarainner と同じ) */
.sbr-ts__t.sbr-ts__t--serif {
    font-family: "Ryumin Regular KL", "游明朝", YuMincho, "Hiragino Mincho ProN", serif;
    font-weight: 600;
}

/* 試験機関の2行(SPで10pxに上がっても重ならないよう1つの段落にする) */
.sbr-ts__t--note {
    line-height: 1.25;
    text-align: center;
}
