@charset "UTF-8";
/* ========================================
   どれを選べばいい？カップ付きトップス比較ガイド【LONG SLEEVE】
   サイズは「カンプ上のpx × var(--px)」(375pxで等倍、800pxで最大)
   換算: 01_top 1280px(画像のまま) / 02〜07 1040px→×0.36058
   02〜07 の商品紹介は 08_cupinshortsleeve の 02〜04(1040×720 のカンプ)と同じレイアウト
======================================== */
:root {
    --px: min(calc(100vw / 375), calc(800px / 375));
    --c-text: #333333;
    --c-title: #111111;
    --c-label: #cec9c5;
    --c-button: #6f6969;
}

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

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

.cls img {
    max-width: none;
}

/* ---------- 冒頭(01_top はJPG全体を1枚の画像) ---------- */
.cls-mv img {
    width: 100%;
    height: auto;
}

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

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

/* ---------- セクション見出し(PICK UP / COORDINATE / ALL ITEM) ---------- */
.cls-sec {
    margin-top: calc(48 * var(--px));
}

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

.cls-pickup {
    margin-top: calc(48 * var(--px));
}

/* ---------- 商品紹介(02〜07) ---------- */
.cls-item + .cls-item {
    margin-top: calc(48 * var(--px));
}

/* 商品の色(季節の丸・スライダーの丸):濃い色 = 対応している季節、薄い色 = 対応していない季節 */
.cls-item--bntl   { --c-on: #d3b981; --c-off: #e9d9b8; }
.cls-item--cntl   { --c-on: #84aa81; --c-off: #a3d1a0; }
.cls-item--crpdtl { --c-on: #4a6e88; --c-off: #689ec2; }
.cls-item--phntl  { --c-on: #f58356; --c-off: #f9c1aa; }
.cls-item--botl   { --c-on: #74a7a3; --c-off: #aacece; }
.cls-item--bnol   { --c-on: #ab6c86; --c-off: #ceaab6; }

/* 左:モデル写真(403×720)、右:説明(637×720) */
.cls-item__body {
    display: flex;
    height: calc(259.6 * var(--px));
}

.cls-item__photo {
    flex-shrink: 0;
    width: calc(145.3 * var(--px));
}

.cls-item__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cls-item__info {
    position: relative;
    flex: 1;
    padding-top: calc(17.2 * var(--px));
    text-align: center;
}

.cls-item__name {
    color: var(--c-title);
    font-family: futura-pt, "Futura PT", "Jost", sans-serif;
    font-weight: 500;
    font-size: calc(18 * var(--px));
    line-height: calc(20.2 * var(--px));
    letter-spacing: -.015em;
}

.cls-item__desc {
    margin-top: calc(8.1 * var(--px));
    color: #222222;
    font-family: "Yu Gothic Pr6N B", "游ゴシック", YuGothic, sans-serif;
    font-weight: bold;
    font-size: max(10px, calc(10 * var(--px)));
    line-height: calc(16.2 * var(--px));
    letter-spacing: .06em;
    white-space: nowrap;
}

/* 説明文が1行のもの(04・07)は、説明文の位置が少し下(カンプ上 y=205 / 196。2行のものは y=194) */
.cls-item--crpdtl .cls-item__desc {
    margin-top: calc(12.8 * var(--px));
}

.cls-item--bnol .cls-item__desc {
    margin-top: calc(9.1 * var(--px));
}

/* 季節・厚み・透け感(カンプ上 y=307 / 418 / 529 から 62px の行) */
.cls-spec {
    position: absolute;
    top: calc(110.7 * var(--px));
    left: calc(20.2 * var(--px));
    right: 0;
    text-align: left;
}

.cls-spec__row {
    display: flex;
    align-items: center;
    height: calc(22.4 * var(--px));
}

.cls-spec__row + .cls-spec__row {
    margin-top: calc(17.6 * var(--px));
}

.cls-spec dt {
    flex-shrink: 0;
    width: calc(51.2 * var(--px));
    height: 100%;
    background: var(--c-label);
    font-family: "Yu Gothic Pr6N B", "游ゴシック", YuGothic, sans-serif;
    font-weight: bold;
    font-size: max(10px, calc(10.8 * var(--px)));
    line-height: calc(22.4 * var(--px));
    letter-spacing: .08em;
    text-align: center;
}

.cls-spec dd {
    position: relative;
    flex: 1;
    height: 100%;
}

/* 季節の丸 */
.cls-season {
    display: flex;
    gap: calc(9.8 * var(--px));
    margin-left: calc(16.6 * var(--px));
    height: 100%;
    align-items: center;
}

.cls-season li {
    width: calc(21.6 * var(--px));
    height: calc(21.6 * var(--px));
    border-radius: 50%;
    background: var(--c-off);
    color: #ffffff;
    font-family: "Yu Gothic Pr6N B", "游ゴシック", YuGothic, sans-serif;
    font-weight: bold;
    font-size: max(10px, calc(8.7 * var(--px)));
    line-height: calc(21.6 * var(--px));
    text-align: center;
}

.cls-season li.is-on {
    background: var(--c-on);
}

/* 厚み・透け感のスライダー(線と丸)。丸の位置は HTML の --pos(線の左端からの割合) */
.cls-gauge__min,
.cls-gauge__max {
    position: absolute;
    top: 50%;
    font-family: "Yu Gothic Pr6N B", "游ゴシック", YuGothic, sans-serif;
    font-weight: bold;
    font-size: max(10px, calc(6.1 * var(--px)));
    line-height: 1;
    letter-spacing: .1em;
    white-space: nowrap;
    transform: translate(-50%, -50%);
}

.cls-gauge__min {
    left: calc(20.9 * var(--px));
}

.cls-gauge__max {
    left: calc(129.1 * var(--px));
}

@media screen and (min-width: 769px) {
    .cls-gauge__min,
    .cls-gauge__max {
        font-size: max(10px, calc(7.1 * var(--px)));
    }
}

.cls-gauge__bar {
    position: absolute;
    top: 50%;
    left: calc(37.9 * var(--px));
    width: calc(73.2 * var(--px));
    height: 1px;
    /* カンプでは 1040px 上で 1px の線なので、SPでは細く薄く見える */
    background: rgba(38, 38, 38, .55);
}

.cls-gauge__bar::after {
    content: "";
    position: absolute;
    top: 50%;
    left: var(--pos);
    width: calc(6.7 * var(--px));
    height: calc(6.7 * var(--px));
    border-radius: 50%;
    background: var(--c-on);
    transform: translate(-50%, -50%);
}

/* VIEW MORE ボタン(カンプ上 x=575〜868、y=650〜700) */
.cls-item__more {
    position: absolute;
    top: calc(234.4 * var(--px));
    left: calc(62.4 * var(--px));
    width: calc(105.6 * var(--px));
    height: calc(18 * var(--px));
    padding-right: calc(4 * var(--px));
    background: var(--c-button);
    color: #ffffff;
    font-family: futura-pt, "Futura PT", "Jost", sans-serif;
    font-weight: 400;
    font-size: calc(10.8 * var(--px));
    line-height: calc(18 * var(--px));
    letter-spacing: .02em;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
}

.cls-item__more::after {
    content: ">";
    position: absolute;
    right: calc(8.6 * var(--px));
}

/* ---------- 商品のスライダー(1枚目 = カンプ、2枚目以降 = 楽天の写真) ---------- */
/* Swiper(js/script.js)で1枚ずつ切り替える。高さは一番高い写真(正方形)に合わせ、カンプのスライドの下は白くなる(楽天と同じ) */
/* .cls-item__carousel は PC の矢印の位置の基準(矢印は COORDINATE と同じ見た目で、スライダーの上下中央) */
.cls-item__carousel {
    position: relative;
}

/* PCの切り替えは楽天と同じ ease-out(速さは js/script.js) */
@media screen and (min-width: 769px) {
    .cls-item__slider .swiper-wrapper {
        transition-timing-function: ease-out;
    }
}

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

.cls-item__slider .cls-item__photo img {
    height: 100%;
}

/* ドット(楽天ページの page.png:直径6px、間隔6px、今のスライドは赤) */
.cls-item__pagination {
    display: flex;
    justify-content: center;
    gap: calc(6 * var(--px));
    margin-top: calc(12 * var(--px));
}

.cls-item__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;
}

.cls-item__pagination .swiper-pagination-bullet-active {
    background: #4a4a4a;
}

/* PCはドットを小さく(5px相当)、今のスライドは濃いグレー */
@media screen and (min-width: 769px) {
    .cls-item__pagination .swiper-pagination-bullet {
        width: calc(5 * var(--px));
        height: calc(5 * var(--px));
    }

    .cls-item__pagination .swiper-pagination-bullet-active {
        background: #4a4a4a;
    }
}

/* ---------- COORDINATE(楽天ページのHTML部分) ---------- */
.cls-code {
    margin-top: calc(44 * var(--px));
}

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

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

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

.cls-code__list img {
    display: block;
    width: 100%;
    height: auto;
}

.cls-code__size {
    display: block;
    margin-top: calc(2 * var(--px));
    font-size: calc(13 * var(--px));
    line-height: 1.4;
}

/* PCは1画面にちょうど4枚(見切りなし)。左右の余白は margin で取り、矢印はこの余白に置く */
@media screen and (min-width: 769px) {
    .cls-code__slider {
        margin-inline: calc(16 * var(--px));
        padding: 0;
    }

    .cls-code__list li {
        width: calc((100% - 3 * 12 * var(--px)) / 4);
    }

    .cls-code__list li:last-child {
        margin-right: 0;
    }

    .cls-code__size {
        font-size: calc(7.5 * var(--px));
    }
}

/* ---------- ALL ITEM(楽天ページと同じ2列の一覧) ---------- */
.cls-all {
    margin-bottom: calc(80 * var(--px));
}

.cls-all__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: calc(24 * var(--px)) calc(12 * var(--px));
    padding: 0 calc(16 * var(--px));
}

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

.cls-all__list img {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    object-fit: cover;
}

.cls-all__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;
}

/* PCは4列 */
@media screen and (min-width: 769px) {
    .cls-all__list {
        grid-template-columns: repeat(4, 1fr);
        gap: calc(20 * var(--px)) calc(6 * var(--px));
    }

    .cls-all__name {
        font-size: calc(7 * var(--px));
    }
}

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

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

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

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

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

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

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

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

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

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

/* SPは矢印なし(指でスワイプ) */
@media screen and (max-width: 768px) {
    .cls .swiper-button-prev,
    .cls .swiper-button-next {
        display: none;
    }
}


/* ---------- 商品のスライダーの2枚目以降(写真 + 文字はHTML。11/16) ----------
   写真は img/<商品>_slide<番号>.webp。今は楽天の画像から Claude が文字を消した仮の写真(designs/cupin_longsleeve/parts/<商品>_<番号>.jpg)。
   文字なしの元写真が届いたら、同じ名前の webp に置き換えるだけでよい(見本は parts/<商品>_<番号>_text.jpg)。
   位置・大きさ・字間は span の style に「375px幅での px」で書く(--x: 左 / --y: 上 / --fs: 文字サイズ / --ls: 字間)。08_cupinshortsleeve の cst-slide と同じ作り */
.cls-slide {
    position: relative;
}

.cls-slide__text {
    margin: 0;
}

.cls-slide__text > span {
    position: absolute;
    left: calc(var(--x) * var(--px));
    top: calc(var(--y) * var(--px));
    font-family: "Yu Gothic Pr6N M", "游ゴシック", YuGothic, sans-serif;
    font-size: calc(var(--fs) * var(--px));
    font-feature-settings: normal;
    letter-spacing: calc(var(--ls) * var(--px));
    line-height: 1;
    white-space: nowrap;
}

/* 縦書き */
.cls-slide__text--v > span {
    writing-mode: vertical-rl;
}

/* 縦書きの中の「1」「A」を横に倒さず立てる */
.cls-slide__text--v .is-upright {
    text-orientation: upright;
}

/* 見出し(太字)と説明文(サブテキストは一段太く Demibold) */
.cls-slide__text--main > span {
    color: #232323;
    font-family: "Yu Gothic Pr6N B", "游ゴシック", YuGothic, sans-serif;
    font-weight: bold;
}

.cls-slide__text--sub > span {
    color: #232323;
    font-family: "Yu Gothic Pr6N D", "游ゴシック", YuGothic, sans-serif;
    font-weight: 600;
}

/* 暗い写真の上の文字(phntl の3枚目) */
.cls-slide__text--white > span {
    color: #fff;
}

/* 4枚組の写真の上の白い文字 */
.cls-slide__text--label > span {
    color: #fff;
    font-family: "Yu Gothic Pr6N B", "游ゴシック", YuGothic, sans-serif;
    font-weight: bold;
}

/* TUCK IN / TUCK OUT(白い細めの英字) */
.cls-slide__text--tuck > span {
    color: #fff;
    font-family: futura-pt, "Futura PT", "Jost", sans-serif;
    font-weight: 300;
}

/* MODEL の表記(白い文字に薄い影) */
.cls-slide__text--model > span {
    color: #fff;
    font-weight: 400;
    text-shadow: 0 0 calc(1.5 * var(--px)) rgba(0, 0, 0, .55);
}
