@charset "UTF-8";
/* ========================================
   バンビウォーターのカップ付きキャミソールが選ばれる理由は？ブラトップを徹底解剖！
   サイズは「375px幅のページ上のpx × var(--px)」(375pxで等倍、800pxで最大)
   正解は楽天ページ(designs/2506_camisole/_source/page.png)。MV だけ画像のまま
   写真+文字の図(.cm-ph:バナー2枚・スライド6枚)の中の位置は、見本の画像(designs/2506_camisole/parts/〇〇_text.jpg)上のpxのまま
   var(--u)(= 表示幅 ÷ 画像の横幅 --iw)に掛ける
======================================== */
:root {
    --px: min(calc(100vw / 375), calc(800px / 375));
    --c-text: #333333;
}

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

.cm {
    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.75;
    overflow: hidden;
}

.cm img {
    max-width: none;
}

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

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

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

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

.cm-text p + p {
    margin-top: 1.75em;
}

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

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

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

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

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

/* ---------- 図(左右16pxの余白の中に、横幅いっぱい) ---------- */
.cm-fig {
    margin: 0 calc(16 * var(--px));
}

/* ---------- 写真 + HTMLの文字(.cm-ph) ----------
   --x / --y / --w / --h / --fs / --ls は見本の画像上のpx。--u は「写真の表示幅 ÷ 画像の横幅」(コンテナクエリ単位 cqw) */
.cm-ph {
    position: relative;
    container-type: inline-size;
    line-height: 1;
}

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

.cm-ph__t,
.cm-ph__box {
    --u: calc(100cqw / var(--iw));
    position: absolute;
    top: calc(var(--y) * var(--u));
    left: calc(var(--x) * var(--u));
    margin: 0;
}

.cm-ph__t {
    font-family: "Yu Gothic Pr6N M", "游ゴシック", YuGothic, sans-serif;
    font-weight: 500;
    font-size: max(10px, calc(var(--fs) * var(--u))); /* SPで10pxより小さくならないように */
    letter-spacing: calc(var(--ls) * var(--u));
    line-height: 1;
    white-space: nowrap;
    color: #111;
    font-feature-settings: "palt";
}

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

/* バナー(CUP IN TOPS / BRATOP) */
.cm-ph__en {
    color: #fff;
    font-family: futura-pt, "Futura PT", "Jost", sans-serif;
    font-weight: 300;
    font-feature-settings: normal;
    text-shadow: 0 0 calc(10 * var(--u)) rgba(0, 0, 0, 0.15);
}

.cm-ph__ja {
    color: #fff;
    font-family: "Yu Gothic Pr6N D", "游ゴシック", YuGothic, sans-serif;
    font-weight: 600;
    text-shadow: 0 0 calc(10 * var(--u)) rgba(0, 0, 0, 0.15);
}

/* スライド(説明・商品名・星の評価・CHECK) */
.cm-ph__line {
    background: #333;
}

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

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

.cm-ph__rate {
    margin: 0;
}

.cm-ph__rate dd {
    margin: 0;
}

.cm-ph__stars {
    color: #b3a588;
    font-feature-settings: normal;
}

.cm-ph__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: calc(4 * var(--u));
    background: #000;
    color: #fff;
    font-family: futura-pt, "Futura PT", "Jost", sans-serif;
    font-weight: 500;
    font-size: max(10px, calc(var(--bfs, 46) * var(--u)));
    line-height: 1;
    letter-spacing: 0.01em;
    text-decoration: none;
    transition: opacity .3s;
}

.cm-ph__btn:hover {
    opacity: 0.7;
}

/* ---------- バナーとスライド ---------- */
.cm-fig {
    margin-top: calc(32 * var(--px));
}

.cm-slides {
    margin: calc(46 * var(--px)) calc(16 * var(--px)) 0;
}

.cm-fig + .cm-slides {
    margin-top: calc(46 * var(--px));
}

/* ページネーション(下の点。23_straighttype の着用スライドと同じ) */
.cm-slides__pagination.swiper-pagination {
    position: static;
    margin-top: calc(4 * var(--px));
    line-height: 1;
    text-align: center;
}

.cm-slides__pagination .swiper-pagination-bullet {
    width: calc(6 * var(--px));
    height: calc(6 * var(--px));
    margin: 0 calc(3 * var(--px)) !important;
    background: #cccccc;
    opacity: 1;
}

.cm-slides__pagination .swiper-pagination-bullet-active {
    background: #4a4a4a;
}

@media screen and (min-width: 769px) {
    .cm-slides__pagination .swiper-pagination-bullet {
        width: calc(5 * var(--px));
        height: calc(5 * var(--px));
    }
}

.cm-slides + .cm-sec {
    margin-top: calc(50 * var(--px));
}

.cm-sec + .cm-fig {
    margin-top: calc(56 * var(--px));
}

/* ---------- PICKUP ITEM(商品の一覧) ---------- */
.cm-items {
    margin-top: calc(44 * var(--px));
}

.cm-items__title {
    margin-bottom: calc(36 * var(--px));
    text-align: center;
    font-family: futura-pt, "Futura PT", "Jost", sans-serif;
    font-weight: 400;
    font-size: calc(22 * var(--px));
    line-height: 1.4;
    letter-spacing: 0.04em;
}

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

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

.cm-items__img {
    position: relative;
}

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

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

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

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

/* PCは4列(rules.md の「商品の一覧」) */
@media screen and (min-width: 769px) {
    .cm-items__list {
        grid-template-columns: repeat(4, 1fr);
        gap: calc(20 * var(--px)) calc(6 * var(--px));
    }

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

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

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

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

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

/* 見出し(h2)の直後の本文は、見出しの下の余白だけにする(楽天ページと同じ) */
.cm-sec__title + .cm-text {
    margin-top: 0;
}
