@charset "UTF-8";
/* ========================================
   【おしゃれに肌見せ】大人のヘルシー肌見せを叶える「見せるブラトップ」
   サイズは「375px幅のページ上のpx × var(--px)」(375pxで等倍、800pxで最大)
   正解は楽天ページ(designs/2606_cupintops/_source/page.png)。MV だけ画像のまま
   商品のスライドは楽天の画像のまま(文字のない元の写真が来たら HTML の文字に差し替える)
======================================== */
:root {
    --px: min(calc(100vw / 375), calc(800px / 375));
    --c-text: #333333;
}

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

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

.ct img {
    max-width: none;
}

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

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

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

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

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

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

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

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

/* ---------- セクション見出し(h2)・商品名(h3) ---------- */
.ct-sec {
    margin-top: calc(48 * var(--px));
}

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

/* ---------- 写真・イラスト(左右16pxの余白の中に、横幅いっぱい) ---------- */
.ct-fig {
    margin: calc(32 * var(--px)) calc(16 * var(--px)) 0;
}

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

/* 見出し(h2)のすぐ下の写真(楽天:見出しの中心から写真の上端まで約28px) */
.ct-sec__title + .ct-fig {
    margin-top: calc(16 * var(--px));
}

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

/* ---------- おすすめアイテム(01〜05) ---------- */
.ct-picks {
    margin-top: calc(55 * var(--px));
}

.ct-pick {
    margin-top: calc(33 * var(--px));
}

.ct-pick + .ct-pick {
    margin-top: calc(66 * var(--px));
}

/* 締めの文(楽天:05 のボタンの下端から1行目の中心まで約67px) */
.ct-outro {
    margin-top: calc(55 * var(--px));
}

/* リードの文のあとの 01(楽天:リードの最終行から 01 の見出しまで約71px) */
.ct-text + .ct-pick {
    margin-top: calc(47 * var(--px));
}

.ct-pick__title {
    margin-bottom: calc(18 * var(--px));
}

/* 商品のスライド:Swiper(js/script.js)で1枚ずつ。ループ。.ct-pick__carousel は PC の矢印の位置の基準 */
.ct-pick__carousel {
    position: relative;
}

.ct-pick__slider {
    margin: 0 calc(16 * var(--px));
}

.ct-pick__slider .swiper-slide img {
    display: block;
    width: 100%;
    height: auto;
}

@media screen and (min-width: 769px) {
    .ct-pick__slider .swiper-wrapper {
        transition-timing-function: ease-out;
    }
}

/* ドット(楽天:直径6px、間隔6px) */
.ct-pick__pagination {
    display: flex;
    justify-content: center;
    gap: calc(6 * var(--px));
    margin-top: calc(12 * var(--px));
}

.ct-pick__pagination .swiper-pagination-bullet {
    width: calc(6 * var(--px));
    height: calc(6 * var(--px));
    margin: 0 !important;
    border-radius: 50%;
    background: #d1d1d1;
    opacity: 1;
    cursor: pointer;
}

.ct-pick__pagination .swiper-pagination-bullet-active {
    background: #4a4a4a;
}

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

.ct-pick__text {
    margin-top: calc(33 * var(--px));
}

/* ---------- 「商品ページはこちら」ボタン(楽天の viewmore_3.jpg の代わり。36_rainyseason と同じ) ---------- */
.ct-more {
    margin: calc(44 * var(--px)) 0 0;
    text-align: center;
}

.ct-more a {
    position: relative;
    display: inline-block;
    width: calc(280 * var(--px));
    padding: calc(15 * var(--px)) 0;
    border: 1px solid #a8a8a8;
    border-radius: calc(4 * var(--px));
    background: #fff;
    color: var(--c-text);
    font-size: calc(14 * var(--px));
    line-height: calc(22 * var(--px));
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: opacity .3s;
}

.ct-more a::after {
    position: absolute;
    content: "";
    top: 50%;
    right: calc(20 * var(--px));
    width: calc(8 * var(--px));
    height: calc(8 * var(--px));
    border-top: 1px solid #555;
    border-right: 1px solid #555;
    transform: translateY(-50%) rotate(45deg);
    transition: none;
}

.ct-more a:hover {
    opacity: 0.7;
}

/* ---------- 今回紹介したアイテム ---------- */
.ct-items.ct-sec {
    margin-top: calc(56 * var(--px));
}


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

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

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

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

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

.ct-items__img {
    position: relative;
}

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

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

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

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

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

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

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

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

/* ---------- カルーセルの矢印(PCのみ。商品のスライドと今回紹介したアイテム。04_qualityforyou_ep02 の section-product に合わせる) ---------- */
/* 矢印は .swiper の外(.ct-items__carousel / .ct-pick__carousel の中)に置く。その方向にスワイプできないときは消す */
:is(.ct-items, .ct-pick) .swiper-button-prev svg,
:is(.ct-items, .ct-pick) .swiper-button-next svg {
    display: none !important;
}

:is(.ct-items, .ct-pick) .swiper-button-prev,
:is(.ct-items, .ct-pick) .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;
}

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

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

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

:is(.ct-items, .ct-pick) .swiper-button-prev::before,
:is(.ct-items, .ct-pick) .swiper-button-prev::after {
    left: 0;
}

:is(.ct-items, .ct-pick) .swiper-button-next::before,
:is(.ct-items, .ct-pick) .swiper-button-next::after {
    right: 0;
}

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

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

:is(.ct-items, .ct-pick) .swiper-button-disabled,
:is(.ct-items, .ct-pick) .swiper-button-lock {
    display: none;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* 360° などの数字の字間(em なので SP・PC で同じ見た目) */
.ct-ts__t.ct-ts__t--tight {
    letter-spacing: -0.06em;
}

/* サムネイルの「360°」の「°」:小さくして「360」の上端にそろえる(425px幅のSPで約58px) */
.ct-ts__deg {
    font-size: calc(56 * var(--u));
    vertical-align: calc((var(--fs) * 0.678 - 56 * 0.667) * var(--u));
}

/* 下線(高さ2px。--ul-x・--ul-w・--ul-y は 375基準のスライド上の位置) */
.ct-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;
}

/* 写真の上の白い文字のドロップシャドウ(楽天の画像と同じ。CUP IN TOPS など) */
.ct-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);
}

/* 縦書きを1文字ずつ積む(Safari でも字間が変わらないように。詰め機能 vpal を使わない)
   各文字の span の --h が、次の文字までの間隔(375基準)。最後の文字は --h なし */
.ct-ts__t--vs {
    writing-mode: horizontal-tb;
}

.ct-ts__t--vs > span {
    display: block;
    width: 1em;
    height: calc(var(--h, var(--fs)) * var(--u));
    writing-mode: vertical-rl;
    letter-spacing: 0;
}

.ct-ts__t--vs.ct-ts__t--up > span {
    text-orientation: upright;
}

/* 普通(M)と やや太字(D)の間の太さ:普通の書体に細い縁取りを付けて少し太くする。
   太さは 0.35 を変えて調整(大きくすると太く。0.6 くらいで D に近くなる) */
.ct-ts__t--semi {
    -webkit-text-stroke: calc(0.35 * var(--u)) currentColor;
}

/* 1文字ずつ置く文字(サムネイル。PSD のデザインどおりの位置・大きさ)
   span の --cx・--cy が文字の左上、--cfs が大きさ(375基準)。--cc で色を変えられる */
.ct-ts__t.ct-ts__t--chars {
    width: 100%;
    height: 100%;
}

.ct-ts__t--chars > span {
    position: absolute;
    left: calc(var(--cx) * var(--u));
    top: calc(var(--cy) * var(--u));
    color: var(--cc, inherit);
    font-size: calc(var(--cfs) * var(--u));
    letter-spacing: 0;
    line-height: 1;
}
