@charset "UTF-8";
/* ========================================
   バンビウォーターのカップ付きタンクトップが選ばれる理由は？ブラトップを徹底解剖！
   サイズは「375px幅のページ上のpx × var(--px)」(375pxで等倍、800pxで最大)
   正解は楽天ページ(designs/2601_tanktop/_source/page.png)。MV だけ画像のまま
   作りは 30_camisole と同じ(楽天ではスライドではなく縦に並ぶので、カード .tk-card を縦に並べる)
   写真+文字の図(.tk-ph:バナー2枚・カード4枚)の中の位置は、見本の画像(designs/2601_tanktop/parts/〇〇_text.jpg)上のpxのまま
   var(--u)(= 表示幅 ÷ 画像の横幅 --iw)に掛ける
======================================== */
:root {
    --px: min(calc(100vw / 375), calc(800px / 375));
    --c-text: #333333;
}

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

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

.tk img {
    max-width: none;
}

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

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

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

/* ---------- 本文 ---------- */
.tk-text {
    margin-top: calc(40 * var(--px));
    padding: 0 calc(16 * var(--px));
    font-size: 16px;
    line-height: 1.72; /* 楽天の行の間隔(14pxで24px) */
}

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

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

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

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

/* ---------- セクション見出し(h2) ---------- */
.tk-sec {
    margin-top: calc(56 * var(--px));
}

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

/* ---------- 図(左右16pxの余白の中に、横幅いっぱい) ---------- */
.tk-fig {
    margin: 0 calc(16 * var(--px));
}

/* ---------- 写真 + HTMLの文字(.tk-ph) ----------
   --x / --y / --w / --h / --fs / --ls は見本の画像上のpx。--u は「写真の表示幅 ÷ 画像の横幅」(コンテナクエリ単位 cqw) */
.tk-ph {
    position: relative;
    container-type: inline-size;
    line-height: 1;
}

.tk-ph .tk-ph__img {
    display: block;
    width: 100%;
    height: auto;
}

.tk-ph__t,
.tk-ph__box {
    --u: calc(100cqw / var(--iw));
    position: absolute;
    top: calc(var(--y) * var(--u));
    left: calc(var(--x) * var(--u));
    margin: 0;
}

.tk-ph__t {
    font-family: "Yu Gothic Pr6N B", "游ゴシック", YuGothic, sans-serif;
    font-weight: bold;
    font-size: max(10px, calc(var(--fs) * var(--u))); /* SPで10pxより小さくならないように */
    letter-spacing: calc(var(--ls) * var(--u));
    line-height: 1;
    white-space: nowrap;
    color: #111;
    font-feature-settings: "palt";
}

.tk-ph__box {
    width: calc(var(--w) * var(--u));
    height: calc(var(--h) * var(--u));
}

/* バナー(CUP IN TOPS / BRATOP) */
.tk-ph__en {
    color: #fff;
    font-family: futura-pt, "Futura PT", "Jost", sans-serif;
    font-weight: 400;
    font-feature-settings: normal;
    text-shadow: 0 0 calc(10 * var(--u)) rgba(0, 0, 0, 0.15);
}

.tk-ph__ja {
    color: #fff;
    font-family: "Yu Gothic Pr6N D", "游ゴシック", YuGothic, sans-serif;
    font-weight: 600;
    text-shadow: 0 0 calc(10 * var(--u)) rgba(0, 0, 0, 0.15);
}

/* スライド(説明・商品名・星の評価・CHECK) */
.tk-ph__line {
    background: #333;
}

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

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

.tk-ph__rate {
    margin: 0;
}

.tk-ph__rate dd {
    margin: 0;
}

.tk-ph__stars {
    color: #6d97a4;
    font-feature-settings: normal;
}

/* 半分の星(☆ の上に ★ の左半分を重ねる) */
.tk-ph__half {
    position: relative;
}

.tk-ph__half::before {
    content: "★";
    position: absolute;
    top: 0;
    left: 0;
    width: 0.5em;
    overflow: hidden;
}

.tk-ph__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: calc(4 * var(--u));
    background: #000;
    color: #fff;
    font-family: futura-pt, "Futura PT", "Jost", sans-serif;
    font-weight: 500;
    font-size: max(10px, calc(var(--bfs, 51) * var(--u)));
    line-height: 1;
    letter-spacing: 0; /* 楽天の CHECK の文字の大きさに合わせた */
    padding-top: calc(6 * var(--u)); /* 文字を 3px 下げる(楽天の位置) */
    text-decoration: none;
    transition: opacity .3s;
}

.tk-ph__btn:hover {
    opacity: 0.7;
}

/* ---------- バナーと商品カード(楽天どおり縦に並べる) ---------- */
.tk-fig {
    margin-top: calc(29 * var(--px));
}

.tk-cards {
    margin: calc(39 * var(--px)) calc(16 * var(--px)) 0;
}

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

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

.tk-sec + .tk-fig {
    margin-top: calc(36 * var(--px));
}

/* ---------- PICKUP ITEM(商品の一覧) ---------- */
/* 見出しは楽天の pickupitem.jpg に合わせた大きさ(33_summercode と同じ) */
.tk-items {
    margin-top: calc(32 * var(--px));
}

.tk-items__title {
    margin-bottom: calc(32 * var(--px));
    text-align: center;
    font-family: futura-pt, "Futura PT", "Jost", sans-serif;
    color: #111;
    font-weight: 400;
    font-size: calc(26.7 * var(--px));
    line-height: 1;
    letter-spacing: 0.062em;
}

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

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

.tk-items__img {
    position: relative;
}

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

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

/* 商品名の中の span は途中で折り返さない(PCの4列で「タンクトッ/プ」とならないように) */
.tk-items__name span {
    display: inline-block;
}

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

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

/* PCは4列(rules.md の「商品の一覧」) */
@media screen and (min-width: 769px) {
    .tk-items__list {
        grid-template-columns: repeat(4, 1fr);
        gap: calc(20 * var(--px)) calc(6 * var(--px));
    }

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

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

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

@media screen and (max-width: 768px) {
    .tk-items__img .icon-container {
        top: -2px;
        right: 2px;
    }

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

/* 見出し(h2)の直後の本文は、見出しの下の余白だけにする(楽天ページと同じ) */
.tk-sec__title + .tk-text {
    margin-top: 0;
}
