@charset "UTF-8";
/* ========================================
   待望の新登場！おしゃれで可愛いナイトブラ Vネック・バンドゥデザインをご紹介！
   サイズは「375px幅のページ上のpx × var(--px)」(375pxで等倍、800pxで最大)
   正解は楽天ページ(designs/2505_vneck_bd/_source/page.png)。MV だけ画像のまま
   本文の画像はすべて「文字を消した写真 + HTMLの文字」(scripts/text-slide.mjs → inpaint-ai.mjs)
======================================== */
:root {
    --px: min(calc(100vw / 375), calc(800px / 375));
    --c-text: #333333;
}

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

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

.vb img {
    max-width: none;
}

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

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

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

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

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

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

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

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

/* ---------- セクション ---------- */
.vb-head + .vb-text + .vb-sec,
.vb-sec + .vb-sec {
    margin-top: calc(48 * var(--px));
}

.vb-sec:has(.vb-items) + .vb-sec {
    margin-top: calc(51 * var(--px));
}

.vb-sec--items {
    margin-bottom: calc(80 * var(--px));
}

.vb-sec__title {
    margin-bottom: calc(12 * 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) {
    .vb-sec__title {
        margin-bottom: calc(18 * var(--px));
        font-size: calc(16 * var(--px));
    }
}

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

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

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

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

/* セットアップの画像(750×1185)は上 750×750(_a)と下 750×435(_b)に分けている */
.vb-fig__part {
    position: relative;
    overflow: hidden;
}

.vb-fig__part--b {
    aspect-ratio: 750 / 435;
}

/* 「商品一覧はこちら」のボタン(ピンクの帯は写真、文字は HTML。帯の上にリンクを重ねる) */
.vb-fig__btn {
    position: absolute;
    left: calc(40 / 750 * 100%);
    top: calc(339 / 435 * 100%);
    width: calc(669 / 750 * 100%);
    height: calc(72 / 435 * 100%);
    border-radius: 999px;
    z-index: 1;
    transition: background-color .3s;
}

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

/* V-NECK・BANDEAU の画像全体を商品ページへのリンクにする(文字の合わせ込みのため、スライドは div のまま上にリンクを重ねる) */
.vb-fig__link {
    position: absolute;
    inset: 0;
    z-index: 1;
    transition: background-color .3s;
}

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

/* ---------- 各ナイトブラの商品(1つ) ---------- */
.vb-items {
    margin-top: calc(33 * var(--px));
    padding: 0 calc(16 * var(--px));
}

.vb-items a {
    display: block;
    width: calc(136 * var(--px));
}

@media screen and (min-width: 769px) {
    .vb-items a {
        width: calc((100% - 3 * 6 * var(--px)) / 4);
    }
}

.vb-items a,
.vb-list a {
    color: var(--c-text);
    text-decoration: none;
    transition: opacity .3s;
}

.vb-items__img {
    position: relative;
}

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

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

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

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

@media screen and (min-width: 769px) {
    .vb-items__name,
    .vb-items__price {
        font-size: calc(6.5 * var(--px));
    }
}

/* ---------- 今回紹介したアイテム(楽天どおり 136px を2つ横に並べる。PC は1画面4つの幅) ---------- */
.vb-list {
    display: flex;
    gap: calc(12 * var(--px));
    padding: 0 calc(16 * var(--px));
}

.vb-list li {
    width: calc(136 * var(--px));
}

.vb-list a {
    display: block;
}

@media screen and (min-width: 769px) {
    .vb-list {
        gap: calc(6 * var(--px));
    }

    .vb-list li {
        width: calc((100% - 3 * 6 * var(--px)) / 4);
    }
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* 下線(高さ2px。太い下線は写真から消してこれで引く。JSON の "ul": [x, 幅, y](375基準のスライド上の位置)) */
.vb-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) */
.vb-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 / V-NECK / BANDEAU)は元の画像どおり Helvetica 系の太字(39_newbsnbs と同じ) */
.vb-ts__t.vb-ts__t--en {
    font-family: "Helvetica Neue", Helvetica, Arial, "Yu Gothic Pr6N M", sans-serif;
}

/* 例外:SPでも9pxまで小さくする(白い枠の中の小さい文字。10pxにすると枠からはみ出すため。人の指示による10pxの決まりの例外) */
.vb-ts__t.vb-ts__t--min9 {
    font-size: max(9px, calc(var(--fs) * var(--u)));
}
