@charset "UTF-8";
/* ========================================
   待望の新カラー登場！ 今すぐ欲しいバンビウォーター「カップ付きトップス」新色特集
   サイズは「375px幅のページ上のpx × var(--px)」(375pxで等倍、800pxで最大)
   正解は楽天ページ(designs/2604_newcolor/_source/page.png)。MV・コラージュ・コーデ写真は画像
   色の紹介(.nc-intro)の中の位置は、楽天の画像(designs/2604_newcolor/parts/intro_〇〇_text.jpg、1080×500)上のpxのまま
   var(--u)(= var(--px) × 343 ÷ 1080)に掛ける
   色ごとのセクションの色は --c(番号・英字・札)
======================================== */
:root {
    --px: min(calc(100vw / 375), calc(800px / 375));
    --c-text: #333333;
}

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

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

.nc img {
    max-width: none;
}

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

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

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

/* ---------- 本文 ---------- */
.nc-text {
    padding: 0 calc(16 * var(--px));
    font-size: 16px;
    line-height: 1.72; /* 楽天の行の間隔(14pxで24px) */
}

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

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

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

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

.nc-text--end {
    margin-top: calc(40 * var(--px));
}

/* ---------- 色ごとのセクション ---------- */
.nc-sec {
    margin-top: calc(47 * var(--px));
}

.nc-sec__title,
.nc-sub {
    padding: 0 calc(16 * var(--px));
    font-family: "Yu Gothic Pr6N B", "游ゴシック", YuGothic, sans-serif;
    font-weight: bold;
    font-size: calc(16 * var(--px));
    line-height: 1.4;
    color: #333;
}

/* PCは rules.md の「セクション見出し(h2)」と同じ大きさ */
@media screen and (min-width: 769px) {
    .nc-sec__title,
    .nc-sub {
        font-size: calc(14 * var(--px));
    }
}

.nc-sub--en {
    font-family: "Helvetica Neue", Arial, "Yu Gothic Pr6N B", sans-serif;
}

.nc-sec + .nc-sec {
    margin-top: calc(53 * var(--px));
}

/* ---------- 色の紹介(HTMLの枠・文字 + 生地の写真) ----------
   --x / --y / --w / --h / --fs / --ls は楽天の画像(newcolor_5〜8、1080×500)上のpx。--u は「表示幅 343px ÷ 1080」に var(--px) を掛けたもの
   SPでは説明文が10px未満になるため、説明文だけ生地の写真の下に流す(枠も下に伸びる)。札も10pxにして文字に合わせた幅にする */
.nc-intro {
    --u: calc(var(--px) * 343 / 1080);
    position: relative;
    height: calc(500 * var(--u));
    margin: calc(17 * var(--px)) calc(16 * var(--px)) 0;
    line-height: 1;
}

.nc-intro__frame {
    position: absolute;
    top: calc(13 * var(--u));
    right: calc(15 * var(--u));
    bottom: calc(13 * var(--u));
    left: calc(15 * var(--u));
    border: max(1px, calc(2 * var(--u))) solid var(--cf);
}

.nc-intro__t,
.nc-intro__box {
    position: absolute;
    top: calc(var(--y) * var(--u));
    left: calc(var(--x) * var(--u));
    margin: 0;
}

.nc-intro__box {
    width: calc(var(--w) * var(--u));
    height: calc(var(--h) * var(--u));
}

.nc-intro__t {
    font-size: calc(var(--fs) * var(--u));
    letter-spacing: calc(var(--ls) * var(--u));
    line-height: 1;
    white-space: nowrap;
}

/* 枠の角(番号と札のところ)は線を切る */
.nc-intro__cover {
    background: #fff;
}

.nc-intro__photo {
    display: block;
    object-fit: cover;
}

/* 大きな番号(01〜04) */
.nc-intro__num {
    color: var(--c);
    font-family: futura-pt, "Futura PT", "Jost", sans-serif;
    font-weight: 400;
    letter-spacing: 0;
}

/* 色の英語名(NATURAL / BEIGE など) */
.nc-intro__en {
    color: var(--c);
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-weight: bold;
}

.nc-intro__line {
    background: var(--cf);
}

/* 色の名前の札 */
.nc-intro__tag {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--c);
    color: #fff;
    font-family: "Yu Gothic Pr6N B", "游ゴシック", YuGothic, sans-serif;
    font-weight: bold;
    font-size: calc(var(--tfs, 16.5) * var(--u));
    line-height: 1;
    white-space: nowrap;
    font-feature-settings: "palt";
}

/* 説明文(PCは楽天の画像どおりの位置で改行) */
/* 説明文は改行なしの1つの文章(11/17)。PCは --w の幅で自然に折り返す */
.nc-intro__desc {
    width: calc(var(--w) * var(--u));
    white-space: normal;
    color: #1a1a1a;
    font-family: "Yu Gothic Pr6N M", "游ゴシック", YuGothic, sans-serif;
    font-weight: 500;
    line-height: 1.35;
}

.nc-intro__desc span {
    display: block;
}

.nc-intro__desc p + p {
    margin-top: 1.35em;
}

@media screen and (max-width: 768px) {
    /* SP:説明文は札の下・写真の横から始め、写真の下まで来たら残りは写真の下に回り込む(11/17。楽天の配置に近づけた)
       上の余白 247 = 説明文の書き出しの高さ。写真の横の空きと同じ大きさの見えない箱(::before)を float で置き、文章をよけさせる */
    .nc-intro {
        height: auto;
        padding: calc(247 * var(--u)) calc(60 * var(--u)) calc(50 * var(--u));
    }

    .nc-intro__desc::before {
        content: "";
        height: calc(226 * var(--u)); /* 写真の下端(約463)まで */
    }

    /* 写真が左(01 ナチュラルベージュ・03 チャコールグレー) */
    .nc-intro--l .nc-intro__desc::before {
        float: left;
        width: calc(470 * var(--u));
    }

    /* 写真が右(02 ライトヘザーグレー・04 オリーブストーン) */
    .nc-intro--r .nc-intro__desc::before {
        float: right;
        width: calc(449 * var(--u));
    }

    .nc-intro__desc {
        position: static;
        width: auto;
        font-size: 10px;
        letter-spacing: 0;
        line-height: 1.7;
        white-space: normal;
    }

    .nc-intro__desc span {
        display: inline;
    }

    .nc-intro__desc p + p {
        margin-top: 0.6em;
    }

    .nc-intro__tag {
        width: auto;
        height: auto;
        padding: 3px 6px;
        font-size: 10px;
    }

    .nc-intro--l .nc-intro__tag {
        left: auto;
        right: calc(15 * var(--u));
    }
}

/* ---------- コラージュ(画像のまま) ---------- */
.nc-collage {
    margin: calc(38 * var(--px)) calc(16 * var(--px)) 0;
}

.nc-collage img {
    display: block;
    width: 100%;
    height: auto;
}

/* ---------- おすすめアイテム・COORDINATE(横スクロールのカルーセル) ---------- */
.nc-items {
    margin-top: calc(55 * var(--px));
}

.nc-code {
    margin-top: calc(40 * var(--px));
}

.nc-sub + .nc-carousel {
    margin-top: calc(16 * var(--px));
}

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

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

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

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

.nc-items__img {
    position: relative;
}

.nc-items__img > img,
.nc-code__list img {
    display: block;
    width: 100%;
    height: auto;
}

.nc-items__img > img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

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

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

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

/* コーデ写真の下の身長/サイズ */
.nc-code__size {
    display: block;
    margin-top: calc(2 * var(--px));
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: calc(14 * var(--px));
    line-height: 1.2;
}

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

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

    .nc-items__list li:last-child,
    .nc-code__list li:last-child {
        margin-right: 0;
    }

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

/* ---------- カルーセルの矢印(PCのみ。23_straighttype と同じ) ---------- */
.nc-carousel .swiper-button-prev svg,
.nc-carousel .swiper-button-next svg {
    display: none !important;
}

.nc-carousel .swiper-button-prev,
.nc-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;
}

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

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

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

.nc-carousel .swiper-button-prev::before,
.nc-carousel .swiper-button-prev::after {
    left: 0;
}

.nc-carousel .swiper-button-next::before,
.nc-carousel .swiper-button-next::after {
    right: 0;
}

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

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

.nc-carousel .swiper-button-disabled,
.nc-carousel .swiper-button-lock {
    display: none;
}

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

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

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

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

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

/* ---------- SWIPE(楽天の swipe_4.jpg。23_straighttype と同じ作り) ---------- */
.nc-swipe {
    --u: calc(var(--px) * 375 / 762);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: calc(48 * var(--u));
    margin: calc(57 * var(--px)) 0 0;
    color: #404040;
    font-family: futura-pt, "Futura PT", "Jost", sans-serif;
    font-weight: 500;
    font-size: max(10px, calc(27 * var(--u)));
    line-height: 1;
    letter-spacing: 0.2em;
    text-indent: 0.2em;
}

.nc-swipe::before,
.nc-swipe::after {
    content: "";
    width: calc(100 * var(--u));
    height: calc(12 * var(--u));
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 12'%3E%3Cpath d='M1 6H100M1 6L10 1.5M1 6L10 10.5' stroke='%23404040' stroke-width='1.6' fill='none'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

.nc-swipe::after {
    transform: scaleX(-1);
}
