@charset "UTF-8";
/* ========================================
   "動きやすくて細見せ" 新体験スポーツレギンスをご紹介【ヨガ スパッツ】
   サイズは「375px幅のページ上のpx × var(--px)」(375pxで等倍、800pxで最大)
   正解は楽天ページ(designs/2501_acl/_source/page.png)。MV だけ画像のまま
   説明の画像(02〜08)は「文字を消した写真 + 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;
}

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

.acl img {
    max-width: none;
}

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

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

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

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

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

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

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

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

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

.acl-intro + .acl-sec,
.acl-sec + .acl-sec {
    margin-top: calc(55 * var(--px));
}

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

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

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

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

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

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

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

/* 「商品一覧はこちら」のボタンの上に重ねるリンク(750×1166 の画像の x 50〜700、y 1035〜1105) */
.acl-fig__link {
    position: absolute;
    left: calc(50 / 750 * 100%);
    top: calc(1035 / 1166 * 100%);
    width: calc(650 / 750 * 100%);
    height: calc(70 / 1166 * 100%);
    z-index: 1;
    border-radius: calc(20 * var(--px));
    transition: background-color .3s;
}

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

/* ---------- 紹介した商品(SP は楽天どおり2列の左、PC は4列) ---------- */
.acl-items__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: calc(24 * var(--px)) calc(12 * var(--px));
    margin: calc(18 * var(--px)) calc(16 * var(--px)) 0;
}

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

@media (hover: hover) {
    .acl-items__list a:hover {
        opacity: .7;
    }
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* 下線(高さ2px。太い下線は写真から消してこれで引く。JSON の "ul": [x, 幅, y](375基準のスライド上の位置)) */
.acl-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) */
/* 小さい文字の例外(SPで10pxにすると枠からはみ出すので9pxまで。「不満」の丸の中) */
.acl-ts__t.acl-ts__t--min9 {
    font-size: max(9px, calc(var(--fs) * var(--u)));
}

/* POINT.01〜03 の角丸の背景(画像から消して CSS で表示。--bx/--by/--bw/--bh は375基準のスライド上の位置と大きさ、--bg は色) */
.acl-ts__t--pill {
    z-index: 0;
}

.acl-ts__t--pill::before {
    content: "";
    position: absolute;
    z-index: -1;
    left: calc((var(--bx) - var(--x)) * var(--u));
    top: calc((var(--by) - var(--y)) * var(--u));
    width: calc(var(--bw) * var(--u));
    height: calc(var(--bh) * var(--u));
    border-radius: 999px;
    background: var(--bg, #c6b384);
}

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

