@charset "UTF-8";
/* ========================================
   外出時もおうちでも1日中使えるナイトブラ
   サイズは「カンプ上のpx × var(--px)」(375pxで等倍、800pxで最大)
   MV(img/mv.webp)は画像のまま。それ以外はHTML
   画像の上の文字(02〜06)は、楽天の元画像(1080px)上のpxで書き、--u(= var(--px) × 343 ÷ 1080)を掛ける
   03・04 は 13_kawaiibra と同じ画像・同じ値なので、13 の値(375px幅で表示したときのpx)に --s(= var(--px) × 343 ÷ 375)を掛ける
======================================== */
:root {
    --px: min(calc(100vw / 375), calc(800px / 375));
    --c-text: #333333;
}
.l-wrapper {
    max-width: 800px;
    margin-inline: auto;
}

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

.nb img {
    max-width: none;
}

.nb figure {
    margin: 0;
}

/* ---------- 冒頭(MV → h1 → 01_mv) ----------
   MV(img/mv.webp)は 18_styletype と同じく h1 の上に幅いっぱい。og:image も同じ画像
   01_mv は写真(img/daynight.webp)+HTML文字(.nb-ph。このファイルの末尾) */
.nb-mv img {
    display: block;
    width: 100%;
    height: auto;
}

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

.nb-daynight {
    margin-top: calc(16 * var(--px));
    padding: 0 calc(16 * var(--px));
}

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

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

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

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

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

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

/* ---------- セクション見出し(h2) ---------- */
.nb-sec {
    margin-top: calc(56 * var(--px));
}

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

.nb-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) {
    .nb-sec__title {
        font-size: calc(16 * var(--px));
    }
}
/* ---------- 商品のカルーセル ---------- */
.nb-items {
    margin-top: calc(40 * var(--px));
}

.nb-items + .nb-items {
    margin-top: calc(30 * var(--px));
}

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

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

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

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

.nb-items__img {
    position: relative;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* ---------- 画像+文字の図(02〜06)共通 ---------- */
/* 左右16pxの余白の中に置く(横幅343px)。--u は楽天の元画像(1080px)上の1px、--s は 13_kawaiibra の値(375px幅)の1px */
.nb .nb-fig {
    --u: calc(var(--px) * 343 / 1080);
    --s: calc(var(--px) * 343 / 375);
    position: relative;
    margin: calc(40 * var(--px)) calc(16 * var(--px)) 0;
    overflow: hidden;
}

.nb .nb-sec__title + .nb-fig {
    margin-top: 0;
}

.nb-fig > img {
    display: block;
    width: 100%;
    height: auto;
}

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

/* ---------- 02_basic(文字を消した写真 + 文字) ---------- */
.nb-basic__en {
    top: calc(212 * var(--u));
    left: calc(790 * var(--u));
    transform: translateX(-50%);
    padding-left: 0.053em;
    color: #281d1b;
    font-family: futura-pt, "Futura PT", "Jost", sans-serif;
    font-weight: 500;
    font-size: calc(64 * var(--u));
    letter-spacing: 0.053em;
}

.nb-fig .nb-basic__text {
    top: calc(328 * var(--u));
    left: calc(790 * var(--u));
    transform: translateX(-50%);
    padding-left: calc(3.75 * var(--u));
    color: #2b211e;
    font-family: "Yu Gothic Pr6N D", "游ゴシック", YuGothic, sans-serif;
    font-weight: 600;
    font-size: calc(42 * var(--u));
    line-height: calc(70 * var(--u));
    letter-spacing: calc(3.75 * var(--u));
    text-align: center;
}

.nb-basic__pill {
    top: calc(515 * var(--u));
    left: calc(595 * var(--u));
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(390 * var(--u));
    height: calc(66 * var(--u));
    padding: calc(6 * var(--u)) 0 0 calc(1 * var(--u));
    border-radius: calc(33 * var(--u));
    background: #da9488;
    color: #fff;
    font-family: "Yu Gothic Pr6N D", "游ゴシック", YuGothic, sans-serif;
    font-weight: 600;
    font-size: calc(42 * var(--u));
    letter-spacing: calc(1 * var(--u));
}

/* ---------- 03_setup(13_kawaiibra の 05_setup と同じ。値も 13 と同じ) ---------- */
.nb-setup__lead {
    top: calc(9.03 * var(--s));
    left: calc(61.11 * var(--s));
    display: flex;
    align-items: flex-end;
}

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

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

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

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

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

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

/* ---------- 04_seamless(13_kawaiibra の 06_seamless と同じ。値も 13 と同じ) ---------- */
.nb-seamless__en {
    top: calc(73.5 * var(--s));
    left: calc(107.5 * var(--s));
    transform: translateX(-50%);
    color: #211a16;
    font-family: futura-pt, "Futura PT", "Jost", sans-serif;
    font-weight: 500;
    font-size: calc(21.8 * var(--s));
    letter-spacing: 0.07em;
}

.nb-seamless__en,
.nb-seamless__text {
    text-indent: 0;
}

.nb-seamless .nb-seamless__text {
    top: calc(114.6 * var(--s));
    left: calc(108.3 * var(--s));
    transform: translateX(-50%);
    color: #211a16;
    font-family: "Yu Gothic Pr6N B", "游ゴシック", YuGothic, sans-serif;
    font-weight: bold;
    font-size: calc(13.5 * var(--s));
    line-height: calc(24.3 * var(--s));
    letter-spacing: 0.12em;
    text-align: center;
}

.nb-seamless__pill {
    top: calc(175.35 * var(--s));
    left: calc(39.24 * var(--s));
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(135.07 * var(--s));
    height: calc(23.26 * var(--s));
    border-radius: calc(11.63 * var(--s));
    background: #99b7d9;
    color: #fff;
    font-family: "Yu Gothic Pr6N B", "游ゴシック", YuGothic, sans-serif;
    font-weight: bold;
    font-size: calc(13.5 * var(--s));
    letter-spacing: 0.08em;
}


/* ---------- 05_bustmake(ブラの写真を切り出し + 文字。背景は単色) ---------- */
.nb-bust {
    aspect-ratio: 1080 / 700;
    background: #f7ede1;
}

.nb-fig.nb-bust > img {
    position: absolute;
    top: calc(315 * var(--u));
    left: calc(692 * var(--u));
    width: calc(358 * var(--u));
}

.nb-bust figcaption p {
    color: #1e1e1e;
    font-family: "Yu Gothic Pr6N B", "游ゴシック", YuGothic, sans-serif;
    font-weight: bold;
}

/* 「なのに」の上の傍点 */
.nb-bust__lead {
    top: calc(18 * var(--u));
    left: 0;
    right: 0;
    font-size: calc(51 * var(--u));
    letter-spacing: calc(1 * var(--u));
    text-align: center;
}

.nb-bust__lead em {
    font-style: normal;
    text-emphasis: filled dot;
    -webkit-text-emphasis: filled dot;
    text-emphasis-position: over right;
    -webkit-text-emphasis-position: over right;
}

.nb-fig .nb-bust__band {
    top: calc(118 * var(--u));
    left: calc(156 * var(--u));
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(767 * var(--u));
    height: calc(133 * var(--u));
    padding-left: 0;
    background: #a08069;
    color: #fff;
    font-size: calc(90 * var(--u));
    letter-spacing: 0;
}

.nb-bust__tech {
    top: calc(302 * var(--u));
    left: calc(96 * var(--u));
    display: flex;
    align-items: center;
    font-size: calc(52 * var(--u));
    letter-spacing: calc(-1 * var(--u));
}

.nb-bust__box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(299 * var(--u));
    height: calc(74 * var(--u));
    margin-right: calc(0 * var(--u));
    border: calc(2 * var(--u)) solid #333;
    background: #fff;
    color: #222;
    font-family: "Yu Mincho Pr6N M", "游明朝", YuMincho, serif;
    font-weight: 500;
    font-size: calc(45 * var(--u));
    letter-spacing: 0;
}

.nb-fig .nb-bust__name {
    top: calc(425 * var(--u));
    left: calc(48 * var(--u));
    color: #d17947;
    font-size: calc(78 * var(--u));
    letter-spacing: calc(-11 * var(--u));
}

.nb-fig .nb-bust__text {
    top: calc(537 * var(--u));
    left: calc(50 * var(--u));
    color: #333;
    font-family: "Yu Gothic Pr6N M", "游ゴシック", YuGothic, sans-serif;
    font-weight: 500;
    font-size: calc(34 * var(--u));
    line-height: calc(56 * var(--u));
    letter-spacing: calc(1.2 * var(--u));
}

.nb-bust__text b {
    color: #1e1e1e;
    font-family: "Yu Gothic Pr6N B", "游ゴシック", YuGothic, sans-serif;
    font-weight: bold;
}

/* ---------- 06_chart(商品写真を切り出し + 文字・SVGの線) ---------- */
.nb-chart {
    aspect-ratio: 1 / 1;
    background: #ebded5;
}

/* 白い枠 */
.nb-chart::before {
    content: "";
    position: absolute;
    top: calc(149 * var(--u));
    left: calc(43 * var(--u));
    width: calc(993 * var(--u));
    height: calc(883 * var(--u));
    background: #f5f4f0;
    transition: none;
}

.nb-chart > p,
.nb-chart__lines,
.nb-chart__items img,
.nb-chart__items span {
    position: absolute;
    margin: 0;
}

.nb-chart > p {
    line-height: 1;
    white-space: nowrap;
}

.nb-chart__title {
    top: calc(-1 * var(--u));
    left: calc(-28 * var(--u));
    right: calc(-12 * var(--u));
    color: #d2c1af;
    font-family: futura-pt, "Futura PT", "Jost", sans-serif;
    font-weight: 500;
    font-style: italic;
    font-size: calc(122 * var(--u));
    letter-spacing: 0.091em;
    text-align: center;
}

.nb-chart__lines {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* 軸のラベル(色の箱 + 白い文字) */
.nb-chart__axis {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: "Yu Gothic Pr6N B", "游ゴシック", YuGothic, sans-serif;
    font-weight: bold;
    font-size: calc(44 * var(--u));
    letter-spacing: calc(1.5 * var(--u));
}

.nb-chart__axis--top,
.nb-chart__axis--bottom {
    left: calc(411 * var(--u));
    width: calc(258 * var(--u));
    height: calc(91 * var(--u));
}

.nb-chart__axis--top {
    top: calc(180 * var(--u));
    background: #bd936b;
}

.nb-chart__axis--bottom {
    top: calc(910 * var(--u));
    background: #6aa0bc;
}

.nb-chart__axis--left,
.nb-chart__axis--right {
    top: calc(478 * var(--u));
    width: calc(92 * var(--u));
    height: calc(227 * var(--u));
    writing-mode: vertical-rl;
    letter-spacing: calc(6 * var(--u));
}

.nb-chart__axis--left {
    left: calc(74 * var(--u));
    background: #bc6b6a;
}

.nb-chart__axis--right {
    left: calc(906 * var(--u));
    background: #d49051;
}

.nb-chart__items {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* 写真の位置(--ix, --iy, --iw)と名前の中心・上端(--nx, --ny)は元画像上のpx(HTMLの style) */
.nb-chart__items img {
    top: calc(var(--iy) * var(--u));
    left: calc(var(--ix) * var(--u));
    width: calc(var(--iw) * var(--u));
    height: auto;
}

/* 名前は中心基準で、下端(写真の上)を固定する。SPで10pxに大きくなっても写真に重ならず、上と左右に広がる */
.nb-chart__items span {
    bottom: calc((1080 - var(--ny) - 54.5) * var(--u));
    left: calc(var(--nx) * var(--u));
    transform: translateX(-50%);
    color: #222;
    font-family: "Yu Gothic Pr6N B", "游ゴシック", YuGothic, sans-serif;
    font-weight: bold;
    font-size: max(10px, calc(24 * var(--u)));
    line-height: 1.2;
    letter-spacing: -0.14em;
    text-align: center;
    white-space: nowrap;
}

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

/* 軸のラベルの文字の位置の微調整(見本と重ねて合わせた値) */
.nb-chart__axis--top,
.nb-chart__axis--bottom {
    padding-bottom: calc(4 * var(--u));
}

.nb-chart__axis--left,
.nb-chart__axis--right {
    padding-right: calc(5 * var(--u));
}

/* SPは名前が10pxに大きくなるので、字を詰めすぎない */
@media screen and (max-width: 768px) {
    .nb-chart__items span {
        letter-spacing: -0.04em;
    }
}

/* ---------- MV の写真+HTML文字(11/11) ----------
   写真は img/daynight.webp(差し替えはファイルを置き換えるだけ)
   --x / --y / --w / --h / --fs / --ls は見本(designs/2411_nightbra/parts/mv_text.jpg 1200px)上の値。
   --u は「写真の表示幅 ÷ 1200」(コンテナクエリ単位 cqw で、表示幅が変わっても自動で合う) */
.nb-ph {
    position: relative;
    container-type: inline-size;
    line-height: 1;
}

.nb-ph .nb-ph__img {
    display: block;
    width: 100%;
    height: auto;
}

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

/* 「外出時」「おうち」の黒い箱 */
.nb-ph__box {
    width: calc(var(--w) * var(--u));
    height: calc(var(--h) * var(--u));
    background: #000;
}

/* 「スタイルナイトブラ」の下の白い帯(両端が丸い) */
.nb-ph__box--band {
    border-radius: calc(18 * var(--u));
    background: #f5f2f0;
}

.nb-ph__text {
    margin: 0;
}

.nb-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: #171614;
}

/* 「柔らかく上質×しっかりホールド」は見本どおり斜体 */
.nb-ph__text--italic > span {
    font-style: oblique 12deg;
}

/* 「×」は細い線 */
.nb-ph__text > .nb-ph__thin,
.nb-ph__text--italic > .nb-ph__thin {
    font-family: "Yu Gothic Pr6N M", "游ゴシック", YuGothic, sans-serif;
    font-weight: 300;
    font-style: normal;
}

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

/* DAY / NIGHT(写真の下端に重ねる英字。futura-pt) */
.nb-ph__text--en > span {
    font-family: futura-pt, "Futura PT", "Jost", sans-serif;
    font-weight: 500;
    color: #fdf9f3;
}

.nb-ph__text--en > .nb-ph__brown {
    color: #9d836d;
}
