@charset "UTF-8";
/* ========================================
   夏の新定番！持続冷感×接触冷感で涼しいブラトップがリニューアル登場
   サイズは「375px幅のページ上のpx × var(--px)」(375pxで等倍、800pxで最大)
   正解は楽天ページ(designs/2505_brainsc/_source/page.png)。MV だけ画像のまま
   写真+文字の図(.bsc-ph)の中の位置は、見本の画像(designs/2505_brainsc/parts/〇〇_text.jpg)上のpxのまま
   var(--u)(= 表示幅 ÷ 画像の横幅)に掛ける。画像の横幅は .bsc-ph の --iw(1040 / 750)
======================================== */
:root {
    --px: min(calc(100vw / 375), calc(800px / 375));
    --c-text: #333333;
}

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

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

.bsc img {
    max-width: none;
}

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

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

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

/* ---------- 本文 ---------- */
.bsc-text {
    margin-top: calc(36 * var(--px));
    padding: 0 calc(16 * var(--px));
    font-size: 16px;
    line-height: 1.75;
}

.bsc-text p + p {
    margin-top: 1.75em;
}

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

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

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

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

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

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

.bsc-fig--first {
    margin-top: calc(32 * var(--px));
}

.bsc-sec__title + .bsc-fig {
    margin-top: 0;
}

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

/* ---------- 「商品ページはこちら」ボタン ---------- */
.bsc-more {
    margin: calc(50 * var(--px)) 0 0;
    text-align: center;
}

.bsc-more a {
    position: relative;
    display: inline-block;
    width: calc(280 * var(--px));
    padding: calc(14 * var(--px)) 0;
    border: 1px solid #a8a8a8;
    border-radius: calc(4 * var(--px));
    background: #fff;
    color: var(--c-text);
    font-size: calc(14 * var(--px));
    line-height: calc(22 * var(--px));
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: opacity .3s;
}

.bsc-more a::after {
    position: absolute;
    content: "";
    top: 50%;
    right: calc(20 * var(--px));
    width: calc(8 * var(--px));
    height: calc(8 * var(--px));
    border-top: 1px solid #555;
    border-right: 1px solid #555;
    transform: translateY(-50%) rotate(45deg);
    transition: none;
}

.bsc-more a:hover {
    opacity: 0.7;
}

/* ---------- 写真 + HTMLの文字(.bsc-ph) ----------
   --x / --y / --w / --h / --fs / --ls は見本の画像上のpx。--u は「写真の表示幅 ÷ 画像の横幅」(コンテナクエリ単位 cqw)
   is-c:--x が文字の中心(SPで10pxに大きくなっても左右均等に広がる)/ is-v:縦書き */
.bsc-ph {
    position: relative;
    container-type: inline-size;
    line-height: 1;
}

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

.bsc-ph__box,
.bsc-ph__text > span {
    --u: calc(100cqw / var(--iw));
    position: absolute;
    top: calc(var(--y) * var(--u));
    left: calc(var(--x) * var(--u));
}

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

.bsc-ph__text {
    margin: 0;
}

.bsc-ph__text > span {
    font-family: "Yu Gothic Pr6N B", "游ゴシック", YuGothic, sans-serif;
    font-weight: bold;
    font-size: calc(var(--fs) * var(--u));
    letter-spacing: calc(var(--ls) * var(--u));
    line-height: 1;
    white-space: nowrap;
    font-feature-settings: "palt";
}

.bsc-ph__text > span.is-c {
    transform: translateX(-50%);
}

.bsc-ph__text > span.is-v {
    writing-mode: vertical-rl;
    font-feature-settings: normal;
}

/* 文字の太さ・書体 */
/* 11/16:写真の上の文字はすべて太字(人の指定)。--d / --m も Pr6N B の bold にそろえた */
.bsc-ph__text--d > span {
    font-family: "Yu Gothic Pr6N B", "游ゴシック", YuGothic, sans-serif;
    font-weight: bold;
}

.bsc-ph__text--m > span,
.bsc-ph__text > .bsc-ph__thin {
    font-family: "Yu Gothic Pr6N B", "游ゴシック", YuGothic, sans-serif;
    font-weight: bold;
}

.bsc-ph__text--en > span {
    font-family: futura-pt, "Futura PT", "Jost", sans-serif;
    font-weight: 100;
    font-feature-settings: normal;
}

.bsc-ph__text--serif > span {
    font-family: "Yu Mincho", "YuMincho", serif;
    font-weight: bold;
    font-feature-settings: normal;
}

/* SPで10pxより小さくならないように */
.bsc-ph__text--note > span {
    font-family: "Yu Gothic Pr6N B", "游ゴシック", YuGothic, sans-serif;
    font-weight: bold;
    font-size: max(10px, calc(var(--fs) * var(--u)));
    color: #3c3e3d;
}

.bsc-ph__text--white.bsc-ph__text--note > span {
    color: #fff;
    text-shadow: 0 0 calc(4 * var(--u)) rgba(0, 0, 0, 0.5);
}

/* 文字の色 */
.bsc-ph__text--white > span {
    color: #fff;
}

/* 青い文字は、見本と同じく上が濃く下が明るいグラデーション */
.bsc-ph__text--blue > span,
.bsc-ph__text--serif > span {
    background: linear-gradient(180deg, #1564ac 0%, #4a9fd4 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.bsc-ph__text--sky > span {
    color: #1898d0;
}

.bsc-ph__text--navy > span {
    color: #0f75a8;
}

.bsc-ph__text--black > span {
    color: #1e1e1e;
}

.bsc-ph__text > .bsc-ph__x {
    background: none;
    color: #fff;
    font-family: "Yu Gothic Pr6N B", "游ゴシック", YuGothic, sans-serif;
    font-weight: bold;
}

.bsc-ph__text > .bsc-ph__num {
    color: #0a9bd4;
    font-family: futura-pt, "Futura PT", "Jost", sans-serif;
    font-weight: bold;
    font-feature-settings: normal;
}

.bsc-ph__text > .bsc-ph__dark {
    background: none;
    font-feature-settings: normal;
    color: #27292a;
}

.bsc-ph__text > .bsc-ph__gold {
    background: linear-gradient(180deg, #dcc18a 0%, #ad8c4e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.bsc-ph__c1 {
    color: #0b5fae;
}

.bsc-ph__c2 {
    color: #48a6dc;
}

/* 文字の影 */
.bsc-ph__text--shadow > span {
    text-shadow: 0 0 calc(8 * var(--u)) rgba(30, 80, 130, 0.3);
}

.bsc-ph__text--glow > span {
    text-shadow: 0 0 calc(6 * var(--u)) rgba(40, 110, 180, 0.55);
}

.bsc-ph__text--dark-shadow > span {
    text-shadow: 0 0 calc(8 * var(--u)) rgba(0, 0, 0, 0.35);
}

.bsc-ph__text--shadow .bsc-ph__c1,
.bsc-ph__text--shadow .bsc-ph__c2,
.bsc-ph__text--glow .bsc-ph__c1,
.bsc-ph__text--glow .bsc-ph__c2 {
    text-shadow: none;
}

/* 白い箱・帯・下線 */
.bsc-ph__box--white {
    background: rgba(255, 255, 255, 0.93);
    box-shadow: 0 0 calc(6 * var(--u)) rgba(30, 80, 130, 0.15);
}

.bsc-ph__box--band {
    background: #fff;
}

.bsc-ph__box--line {
    background: #2a8fd6;
}

/* ---------- 今回紹介したアイテム(商品のカルーセル) ---------- */
.bsc-items {
    margin-bottom: calc(80 * var(--px));
}

/* Swiper(js/script.js)で横にスワイプ。.bsc-items__carousel は PC の矢印の位置の基準 */
.bsc-items__carousel {
    position: relative;
}

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

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

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

.bsc-items__img {
    position: relative;
}

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

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

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

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

/* PCは1画面に4商品(見切りなし) */
@media screen and (min-width: 769px) {
    .bsc-items__slider {
        margin-inline: calc(16 * var(--px));
        padding: 0;
    }

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

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

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

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

.bsc-items .swiper-button-prev,
.bsc-items .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;
}

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

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

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

.bsc-items .swiper-button-prev::before,
.bsc-items .swiper-button-prev::after {
    left: 0;
}

.bsc-items .swiper-button-next::before,
.bsc-items .swiper-button-next::after {
    right: 0;
}

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

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

.bsc-items .swiper-button-disabled,
.bsc-items .swiper-button-lock {
    display: none;
}

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

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

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

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

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

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

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

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

/* 英字の注釈(試験機関:United Testing など)は、英字を見本に近い Helvetica 系にする */
.bsc-ph__text--note > span.bsc-ph__latin {
    font-family: "Helvetica Neue", Arial, "Yu Gothic Pr6N B", "游ゴシック", YuGothic, sans-serif;
}

/* 「着心地が良くラク / だから」「ストレスフリー / で」の「だから」「で」:少しだけ小さく(前後の文字の0.85倍。下端をそろえて置く) */

/* 注釈の2行目:SPで1行目が10pxに大きくなった分だけ下げて、重ならないようにする */
.bsc-ph__text--note > span.bsc-ph__note2 {
    margin-top: calc(max(10px, calc(var(--fs) * var(--u))) - var(--fs) * var(--u));
}
