@charset "UTF-8";
/* ========================================
   「おしゃれ」「かわいい」を叶えたナイトブラシームレスが登場！
   サイズは「375px幅のページ上のpx × var(--px)」(375pxで等倍、800pxで最大)
   正解は楽天ページ(designs/2501_newbsnbs/_source/page.png)。MV だけ画像のまま
   本文の画像(02〜06)は「文字を消した写真 + HTMLの文字」(designs/2501_newbsnbs/slides/)
======================================== */
:root {
    --px: min(calc(100vw / 375), calc(800px / 375));
    --c-text: #333333;
}

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

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

.ns img {
    max-width: none;
}

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

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

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

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

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

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

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

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

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

.ns-sec__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) {
    .ns-sec__title {
        font-size: calc(16 * var(--px));
    }
}

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

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

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

/* 文字の合わせ込み(text-slide.mjs)が 750×750 前提のため、
   06(750×1151)は上 750×750(_a)と下 750×401(_b。下を地の色で 750×750 にのばした画像)に分け、_b は上の 401 だけ見せる */
.ns-fig__part {
    position: relative;
    container-type: inline-size;
}

.ns-fig__part--b {
    aspect-ratio: 750 / 401;
    overflow: hidden;
}

/* 「セットアップショーツはこちら」ボタン(オレンジの帯は写真、文字は HTML。帯の上にリンクを重ねる) */
.ns-fig__btn {
    position: absolute;
    left: calc(40 / 750 * 100cqw);
    top: calc(280 / 750 * 100cqw);
    width: calc(670 / 750 * 100cqw);
    height: calc(70 / 750 * 100cqw);
    border-radius: calc(35 / 750 * 100cqw);
    z-index: 1;
    transition: background-color .3s;
}

.ns-fig__btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* ---------- 今回紹介したアイテム ---------- */
.ns-items {
    margin-bottom: calc(80 * var(--px));
}

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

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

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

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

.ns-items__img {
    position: relative;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


/* ===== このページの英字(STYLE NIGHT BRA・BANDEAU など)は futura-pt ではなく Helvetica 系のゴシック ===== */
.ns-ts__t--en {
    font-family: "Helvetica Neue", Helvetica, Arial, "Yu Gothic Pr6N M", sans-serif;
}

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

/* 明朝体(「実用新案取得」など) */
.ns-ts__t.ns-ts__t--serif {
    font-family: "Yu Mincho Pr6N M", "游明朝", YuMincho, "Hiragino Mincho ProN", serif;
    font-weight: 500;
}

/* 文字の下の半透明の黄色い線(マーカー)。--mk-x・--mk-y・--mk-w・--mk-h は 375基準のスライド上の位置と大きさ */
.ns-ts__t--mk {
    z-index: 0;
}

.ns-ts__t--mk::before {
    content: "";
    position: absolute;
    z-index: -1;
    left: calc((var(--mk-x) - var(--x)) * var(--u));
    top: calc((var(--mk-y) - var(--y)) * var(--u));
    width: calc(var(--mk-w) * var(--u));
    height: calc(var(--mk-h) * var(--u));
    background: rgba(250, 228, 165, 0.55);
}

/* 商品ページへのリンクにしたスライド */
.ns-ts--link {
    display: block;
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s;
}

@media (hover: hover) {
    .ns-ts--link:hover {
        opacity: 0.8;
    }
}
