@charset "UTF-8";
/* ========================================
   もう悩まない！夏の肌見せファッションをキレイに着こなすインナー特集
   サイズは「375px幅のページ上のpx × var(--px)」(375pxで等倍、800pxで最大)
   正解は楽天ページ(designs/2607_summer_inner/_source/page.png)。MV だけ画像のまま
   01〜03 の見出し画像(sinner_midashi01〜03 1440×926)は HTML/CSS で組んだ(寸法は元画像の px × --m)
   記事バナー(sukenai)は「文字を消した写真 + 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;
}

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

.sui img {
    max-width: none;
}

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

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

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

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

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

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

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

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

/* ---------- セクション(楽天の実測:本文 → 見出し 40、商品 → 次の見出し 50) ---------- */
.sui-text + .sui-sec {
    margin-top: calc(40 * var(--px));
}

.sui-sec + .sui-sec {
    margin-top: calc(50 * var(--px));
}

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

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

/* ---------- 01〜03 の見出し(元の画像 1440×926 を左右16pxの余白の中に。--m = 元画像の 1px) ---------- */
.sui-midashi {
    --m: calc(100cqw / 1440);
    position: relative;
    margin: 0 calc(16 * var(--px));
    aspect-ratio: 1440 / 926;
    background: #f1f5f8;
    color: #222222;
    font-family: "Yu Mincho Pr6N D", "游明朝", YuMincho, "Hiragino Mincho ProN", serif;
    font-weight: 600;
    font-feature-settings: "palt";
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    container-type: inline-size;
}

.sui-midashi > * {
    position: absolute;
    left: 0;
    right: 0;
    margin: 0;
}

/* 01・02・03(元の画像の 53〜148px) */
.sui-midashi__num {
    top: calc(32 * var(--m));
    color: #5c91bd;
    font-family: "Yu Mincho Pr6N M", "游明朝", YuMincho, "Hiragino Mincho ProN", serif;
    font-weight: 400;
    font-feature-settings: normal;
    font-size: calc(124 * var(--m));
    letter-spacing: 0.02em;
}

/* SUMMER INNER(元の画像の 175〜197px) */
.sui-midashi__en {
    top: calc(169 * var(--m));
    padding-left: 0.16em;
    color: #5c91bd;
    font-family: futura-pt, "Futura PT", "Jost", sans-serif;
    font-weight: 400;
    font-style: italic;
    font-size: max(10px, calc(31 * var(--m)));
    letter-spacing: 0.16em;
}

/* 見出し(元の画像の 255〜313px) */
.sui-midashi__title {
    top: calc(250 * var(--m));
    font-family: "Yu Mincho Pr6N D", "游明朝", YuMincho, "Hiragino Mincho ProN", serif;
    font-weight: 600;
    font-size: calc(64 * var(--m));
    letter-spacing: 0.04em;
}

/* チェックの3行(枠は元の画像の x 48〜1394、y 358〜707。行の間隔 105px。文字のかたまりは枠の中で左右中央) */
.sui-midashi__list {
    top: calc(358 * var(--m));
    left: calc(48 * var(--m));
    right: calc(46 * var(--m));
    height: calc(349 * var(--m));
    display: grid;
    grid-template-columns: max-content;
    align-content: start;
    justify-content: center;
    padding-top: calc(40 * var(--m));
    background: #e5ecf2;
    list-style: none;
}

.sui-midashi__list li {
    height: calc(105 * var(--m));
    font-size: max(10px, calc(50 * var(--m)));
    letter-spacing: 0.05em;
    text-align: left;
}

/* チェックの印(□ に ✓) */
.sui-midashi__list li::before {
    content: "";
    display: inline-block;
    width: calc(22 * var(--m));
    height: calc(22 * var(--m));
    margin-right: calc(18 * var(--m));
    vertical-align: calc(-2 * var(--m));
    background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2022%2022%22%3E%3Crect%20x%3D%221.5%22%20y%3D%223.5%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22none%22%20stroke%3D%22%23333%22%20stroke-width%3D%222.2%22%2F%3E%3Cpath%20d%3D%22M5.5%2011.5l4%204L21%203%22%20fill%3D%22none%22%20stroke%3D%22%23333%22%20stroke-width%3D%222.4%22%2F%3E%3C%2Fsvg%3E") center / 100% 100% no-repeat;
}

/* 縦線(元の画像の x 720、y 690〜802) */
.sui-midashi::after {
    content: "";
    position: absolute;
    left: calc(50% - 0.75px);
    top: calc(690 * var(--m));
    width: 1px;
    height: calc(112 * var(--m));
    background: #a9bfd3;
}

/* そんなあなたへのおすすめはこちら(元の画像の 832〜873px) */
.sui-midashi__lead {
    top: calc(828 * var(--m));
    padding-left: 0.06em;
    font-size: max(10px, calc(48 * var(--m)));
    letter-spacing: 0.06em;
}

/* ---------- 商品の一覧(SP は楽天どおり2列、PC は4列) ---------- */
.sui-midashi + .sui-items__list {
    margin-top: calc(30 * var(--px));
}

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

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

@media (hover: hover) {
    .sui-items__list a:hover,
    .sui-coord__list a:hover,
    .sui-banner__link:hover {
        opacity: .7;
    }
}

.sui-items__img {
    position: relative;
}

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

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

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

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

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

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

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

.sui-items__list .sui-items__img .icon-container img {
    display: block;
    width: 100%;
    max-width: 30px;
    height: auto;
}

.sui-items__list .sui-items__img .icon-container img.icon--cool {
    margin: 0 auto;
    max-width: 28px;
}

.sui-items__list .sui-items__img .icon-container img.icon--bottom {
    margin-top: 3px;
}

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

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

    .sui-items__list .sui-items__img .icon-container img.icon--cool {
        max-width: 25px;
    }
}

/* ---------- 記事バナー(白T・白シャツに透けにくいインナーって何色？ → 17_inner) ---------- */
.sui-banner {
    margin: calc(40 * var(--px)) calc(16 * var(--px)) 0;
}

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

.sui-banner .swiper-slide {
    width: 100%;
    height: auto;
}

.sui-banner__text {
    display: block;
    margin-top: calc(6 * var(--px));
    font-size: 12px;
    line-height: 1.5;
}

@media screen and (min-width: 769px) {
    .sui-banner__text {
        font-size: 14px;
    }
}

/* ---------- COORDINATE(写真10枚。2列、写真の下に商品名) ---------- */
.sui-coord__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: calc(14 * var(--px)) calc(12 * var(--px));
    margin: calc(16 * var(--px)) calc(16 * var(--px)) 0;
}

.sui-coord__list img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 750 / 900;
}

.sui-coord__name {
    display: block;
    margin-top: calc(2 * var(--px));
    font-size: calc(12 * var(--px));
    line-height: 1.5;
}

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

    .sui-coord__name {
        font-size: calc(6.5 * var(--px));
    }
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

