@charset "UTF-8";
/* ========================================
   この冬の必需品！あったかインナー完全紹介【ブラトップ＆あったかインナー】
   サイズは「375px幅のページ上のpx × var(--px)」(375pxで等倍、800pxで最大)
   正解は楽天ページ(designs/2512_heat/_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;
}

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

.ht img {
    max-width: none;
}

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

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

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

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

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

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

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

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

/* ---------- セクション(楽天の実測:導入文 → HEAT ITEM 30、画像 → 画像 35、画像 → 本文 40、本文 → VIEW MORE 31、VIEW MORE → 画像 66、VIEW MORE → まとめ 80、まとめ → 商品の見出し 55) ---------- */
.ht-text + .ht-sec {
    margin-top: calc(30 * var(--px));
}

.ht-sec + .ht-sec--items {
    margin-top: calc(55 * var(--px));
}

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

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

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

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

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

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

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

/* ---------- 今回紹介したアイテム(楽天は見出しなしの商品ウィジェット1つ。商品のカルーセルの形で置く。SP は楽天どおり 165px、PC は1画面に4つの幅。47_heatinner と同じ) ---------- */
.ht-items__carousel {
    position: relative;
}

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

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

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

.ht-items__img {
    position: relative;
}

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

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

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

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

@media screen and (min-width: 769px) {
    .ht-items__slider {
        margin-inline: calc(16 * var(--px));
        padding: 0;
    }

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

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

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

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

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

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

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

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

.ht-items__carousel .swiper-button-prev,
.ht-items__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;
}

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

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

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

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

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

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

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

.ht-items__carousel .swiper-button-disabled,
.ht-items__carousel .swiper-button-lock {
    display: none;
}

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

/* ---------- VIEW MORE(楽天は画像 ss_2509_6.jpg。65_shorts の shs-more と同じ作りで、色と大きさは楽天の画像から) ---------- */
.ht-more {
    margin: calc(22 * var(--px)) 0 0;
    text-align: center;
    line-height: 1;
}

.ht-more__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: calc(205.2 * var(--px)); /* 楽天の90% */
    height: calc(27.9 * var(--px));
    padding-left: 0.2em;
    border-radius: calc(13.95 * var(--px));
    background: #be815f;
    color: #fff;
    font-family: futura-pt, "Futura PT", "Jost", sans-serif;
    font-weight: 500;
    font-size: calc(18.9 * var(--px));
    letter-spacing: 0.16em;
    text-decoration: none;
    transition: opacity .3s;
}

.ht-more + .ht-fig {
    margin-top: calc(66 * var(--px));
}

.ht-more + .ht-text {
    margin-top: calc(80 * var(--px));
}

@media (hover: hover) {
    .ht-more__btn:hover {
        opacity: 0.7;
    }
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* 「冬の新定番」の後ろの四角(画像から消して CSS で表示。--bx/--by/--bw/--bh は375基準のスライド上の位置と大きさ、--bg は色) */
.ht-ts__t--box {
    z-index: 0;
}

.ht-ts__t--box::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));
    background: var(--bg);
}

/* 中央そろえ(--c)の文字は、四角も文字の中心に合わせて中央に置く(文字の長さが変わってもずれない) */
/* 字間(letter-spacing)は最後の文字のうしろにも付くので、その半分だけ左に寄せて文字の見た目の中心に合わせる */
.ht-ts__t--c.ht-ts__t--box::before {
    left: calc(50% - var(--ls) * var(--u) / 2);
    transform: translateX(-50%);
}

/* 商品の画像の「VIEW MORE」ボタンの上に重ねる透明のリンク(375基準の位置) */
/* 商品一覧の画像(item_photo)の各商品の上に重ねる、下の商品説明へのページ内リンク(375基準の位置と大きさ) */
.ht-ts__jump {
    --u: calc(100cqw / 375);
    position: absolute;
    left: calc(var(--lx) * var(--u));
    top: calc(var(--ly) * var(--u));
    width: calc(var(--lw) * var(--u));
    height: calc(var(--lh) * var(--u));
    z-index: 1;
    transition: background-color .3s;
}

@media (hover: hover) {
    .ht-ts__jump:hover {
        background-color: rgba(0, 0, 0, 0.04);
    }
}

/* ページ内リンクで飛んだとき、上の固定ヘッダーに隠れないよう少し上をあける */
.ht-fig[id] {
    scroll-margin-top: 80px;
}

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

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

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

