@charset "UTF-8";
/* ========================================
   スウェットパンツもガードル内蔵でおしゃれに着こなせる！おすすめコーデ3選
   サイズは「375px幅のページ上のpx × var(--px)」(375pxで等倍、800pxで最大)
   正解は楽天ページ(designs/2509_ginsw/_source/page.png)。MV だけ画像のまま
   説明の画像・着用スライド・カップ付きトップスのバナーは「文字を消した写真 + HTMLの文字」(scripts/text-slide.mjs)
======================================== */
:root {
    --px: min(calc(100vw / 375), calc(800px / 375));
    --c-text: #333333;
}

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

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

.gs img {
    max-width: none;
}

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

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

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

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

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

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

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

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

/* ---------- セクション(楽天の実測:本文 → 見出し 55、見出し → 画像 18、画像 → 本文 38) ---------- */
.gs-text + .gs-sec,
.gs-sec + .gs-sec {
    margin-top: calc(55 * var(--px));
}

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

.gs-sec__title {
    margin: 0 calc(16 * var(--px)) calc(12 * var(--px));
    color: var(--c-text);
    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) {
    .gs-sec__title {
        font-size: calc(16 * var(--px));
    }
}

/* ---------- 写真 + HTMLの文字(左右16pxの余白の中に横幅いっぱい) ---------- */
.gs-fig,
.gs-photo {
    position: relative;
    margin: 0 calc(16 * var(--px));
    overflow: hidden;
}

.gs-fig .swiper-slide {
    width: 100%;
    height: auto;
}

.gs-photo img {
    display: block;
    width: 100%;
    height: auto;
}

.gs-fig + .gs-fig {
    margin-top: calc(22 * var(--px));
}

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

/* カップ付きトップスのバナー(1040×365 → 750×263) */
.gs-fig--banner {
    aspect-ratio: 750 / 263;
}

/* バナー全体を商品一覧へのリンクにする(文字の合わせ込みのため、スライドは div のまま上にリンクを重ねる) */
.gs-fig__link {
    position: absolute;
    inset: 0;
    z-index: 1;
    transition: background-color .3s;
}

@media (hover: hover) {
    .gs-fig__link:hover {
        background-color: rgba(255, 255, 255, 0.2);
    }
}

/* ---------- 着用スライド(Swiper(js/script.js)で1枚ずつ。ループ。.gs-pick__carousel は PC の矢印の位置の基準) ---------- */
/* スライドの画像は元の大きさ(750×620〜656)。スライダーの高さは一番高い写真に合わせる(短い写真の下は余白) */
.gs-photo + .gs-pick__carousel {
    margin-top: calc(40 * var(--px));
}

.gs-pick__carousel {
    position: relative;
}

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

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

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

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

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

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

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

.gs-pick__pagination + .gs-text {
    margin-top: calc(40 * var(--px));
}

/* ---------- PICKUP ITEM(楽天は文字の画像 pickupitem.jpg。futura-pt の HTML の文字にした。45_bratop と同じ) ---------- */
.gs-pickup {
    margin: 0 0 calc(35 * var(--px));
    color: #000;
    font-family: futura-pt, "Futura PT", "Jost", sans-serif;
    font-weight: 400;
    font-size: calc(27.8 * var(--px));
    letter-spacing: calc(0.5 * var(--px));
    line-height: 1;
    text-align: center;
}

/* ---------- 商品(楽天どおり 166px の2列(間 11)。PC は4列) ---------- */
.gs-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: calc(20 * var(--px)) calc(11 * var(--px));
    padding: 0 calc(16 * var(--px));
}

.gs-list a {
    display: block;
    color: var(--c-text);
    text-decoration: none;
    transition: opacity .3s;
}

.gs-items__img {
    position: relative;
}

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

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

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

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

@media screen and (min-width: 769px) {
    .gs-list {
        grid-template-columns: repeat(4, 1fr);
        gap: calc(20 * var(--px)) calc(6 * var(--px));
    }

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

/* ---------- カルーセルの矢印(PCのみ。04_qualityforyou_ep02 の section-product に合わせる) ---------- */
/* 矢印は .swiper の外(.gs-pick__carousel の中)に置く。その方向にスワイプできないときは消す */
.gs-pick__carousel .swiper-button-prev svg,
.gs-pick__carousel .swiper-button-next svg {
    display: none !important;
}

.gs-pick__carousel .swiper-button-prev,
.gs-pick__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;
}

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

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

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

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

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

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

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

.gs-pick__carousel .swiper-button-disabled,
.gs-pick__carousel .swiper-button-lock {
    display: none;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* 大きい数字(360°、No.1 など)の字間。広がりすぎないよう em で詰める(SP・PC で同じ見た目。JSON の "tight": true) */
.gs-ts__t.gs-ts__t--tight {
    letter-spacing: -0.06em;
}

/* 下線(高さ2px。太い下線は写真から消してこれで引く。JSON の "ul": [x, 幅, y](375基準のスライド上の位置)) */
.gs-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;
}

/* 写真の上の白い文字のドロップシャドウ(元の画像に影があるとき。JSON の "shadow": true) */
.gs-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);
}


