@charset "UTF-8";
/* ========================================
   【プロテイン3種】飽きずに飲める簡単アレンジレシピ10選。
   サイズは「375px幅のページ上のpx × var(--px)」(375pxで等倍、800pxで最大)
   正解は楽天ページ(designs/2502_arrangerecipe/_source/page.png)。MV だけ画像のまま
   レシピのスライド・FLAVOR MIX・合わせ買いバナーは「文字を消した写真 + HTMLの文字」(designs/2502_arrangerecipe/slides/)
   選べる3TYPE は 31_bps と同じHTML(.ar-lineup)
======================================== */
:root {
    --px: min(calc(100vw / 375), calc(800px / 375));
    --c-text: #333333;
}

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

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

.ar img {
    max-width: none;
}

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

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

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

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

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

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

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

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

/* ---------- 見出し(h2) ---------- */
.ar-sec {
    margin-top: calc(48 * var(--px));
}

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

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

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

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

/* 文字の合わせ込み(text-slide.mjs)が 750×750 前提のため、写真は下に地の色を足して 750×750 にしてある。
   元の高さの比率の箱(--h:750px幅での元の高さ)で、上の部分だけを見せる */
.ar-crop {
    position: relative;
    aspect-ratio: 750 / var(--h);
    overflow: hidden;
}

/* ---------- アレンジレシピのカルーセル(楽天のスライドショーと同じく1枚ずつ。ループあり、下の点) ---------- */
.ar-recipe__slider {
    aspect-ratio: 750 / var(--h);
}

.ar-recipe__pagination.swiper-pagination {
    position: static;
    margin-top: calc(14 * var(--px));
    line-height: 1;
    text-align: center;
}

.ar-recipe__pagination .swiper-pagination-bullet {
    width: calc(6 * var(--px));
    height: calc(6 * var(--px));
    margin: 0 calc(3 * var(--px)) !important;
    background: #cccccc;
    opacity: 1;
}

.ar-recipe__pagination .swiper-pagination-bullet-active {
    background: #4a4a4a;
}

@media screen and (min-width: 769px) {
    .ar-recipe__pagination .swiper-pagination-bullet {
        width: calc(5 * var(--px));
        height: calc(5 * var(--px));
    }
}

.ar-recipe + .ar-fig {
    margin-top: calc(30 * var(--px));
}

.ar-recipe + .ar-text {
    margin-top: calc(36 * var(--px));
}

/* ---------- 合わせ買いバナー(「CHECK ALL ITEMS」のボタンの上にリンクを重ねる) ---------- */
.ar-series__btn {
    position: absolute;
    left: calc(208 / 750 * 100%);
    top: calc(332 / 375 * 100%);
    width: calc(334 / 750 * 100%);
    height: calc(38 / 375 * 100%);
    border-radius: 999px;
    z-index: 1;
    transition: background-color .3s;
}

.ar-series__btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* ---------- PROTEIN LINEUP 選べる3TYPE(楽天の 2502_proteinlineup.jpg をHTMLにした。31_bps と同じ。寸法は画像上のpx) ---------- */
.ar-lineup {
    --u: calc(343 * var(--px) / 750);
    padding: calc(44 * var(--u)) calc(20 * var(--u)) calc(57 * var(--u));
    background: #fef7ef;
}

.ar-lineup__panel {
    padding: calc(55 * var(--u)) calc(14 * var(--u)) calc(64 * var(--u));
    border-radius: calc(10 * var(--u));
    background: #f6dec4;
    text-align: center;
    line-height: 1;
}

.ar-lineup__en {
    width: calc(312 * var(--u));
    margin: 0 auto;
    padding: calc(13 * var(--u)) 0 calc(12 * var(--u));
    border-top: calc(3 * var(--u)) solid #1d1308;
    border-bottom: calc(3 * var(--u)) solid #1d1308;
    color: #1d1308;
    font-family: futura-pt, "Futura PT", "Jost", sans-serif;
    font-weight: 500;
    font-size: calc(32 * var(--u));
    letter-spacing: 0.06em;
}

.ar-lineup__title {
    margin-top: calc(38 * var(--u));
    color: #23160a;
    font-family: "Yu Gothic Pr6N B", "游ゴシック", YuGothic, sans-serif;
    font-weight: bold;
    font-size: calc(80 * var(--u));
    line-height: 1;
    white-space: nowrap;
}

.ar-lineup__title > span {
    position: relative;
    display: inline-block;
    letter-spacing: 0.04em;
    z-index: 0;
}

/* 文字の下の帯 */
.ar-lineup__title > span::before {
    position: absolute;
    content: "";
    left: 50%;
    bottom: calc(-12 * var(--u));
    width: calc(572 * var(--u));
    height: calc(23 * var(--u));
    transform: translateX(-50%);
    background: #f5c3a5;
    z-index: -1;
    bottom: 3%;
}

.ar-lineup__title em {
    position: relative;
    font-family: futura-pt, "Futura PT", "Jost", sans-serif;
    font-weight: 500;
    font-style: italic;
    font-size: 1.3em;
    letter-spacing: 0;
    z-index: 1;
}

.ar-lineup__list {
    display: flex;
    justify-content: space-between;
    margin-top: calc(59 * var(--u));
}

.ar-lineup__item {
    width: calc(213 * var(--u));
    padding: calc(23 * var(--u)) 0 calc(26 * var(--u));
    background: #fef7ef;
    color: #14130f;
    font-family: "Yu Gothic Pr6N B", "游ゴシック", YuGothic, sans-serif;
    font-weight: bold;
}

.ar-lineup__item img {
    display: block;
    width: calc(150 * var(--u));
    height: auto;
    margin: 0 auto;
}

.ar-lineup__label {
    display: inline-block;
    margin-top: calc(10 * var(--u));
    padding: 0 calc(8 * var(--u));
    border: calc(2 * var(--u)) solid #2f2e2a;
    border-radius: 999px;
    color: #2f2e2a;
    font-size: max(10px, calc(20 * var(--u)));
    letter-spacing: -0.03em;
    line-height: calc(30 * var(--u));
    white-space: nowrap;
}

.ar-lineup__no {
    font-family: futura-pt, "Futura PT", "Jost", sans-serif;
    font-weight: 500;
    font-style: italic;
    font-size: 1.1em;
}

.ar-lineup__name {
    margin-top: calc(12 * var(--u));
    font-size: calc(30 * var(--u));
    line-height: calc(32 * var(--u));
    letter-spacing: 0;
}

.ar-lineup__type {
    display: inline-block;
    min-width: calc(152 * var(--u));
    margin-top: calc(14 * var(--u));
    padding: 0 calc(4 * var(--u));
    color: #fff;
    font-size: max(10px, calc(21 * var(--u)));
    line-height: calc(35 * var(--u));
    letter-spacing: 0;
    white-space: nowrap;
}

/* ---------- 今回紹介したアイテム ---------- */
.ar-items {
    margin-bottom: calc(80 * var(--px));
}

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

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

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

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

.ar-items__img {
    position: relative;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* 例外:SPでも9pxまで小さくする(人の指示による。10pxの決まりの例外。flavormix の「王道の」など6行) */
.ar-ts__t.ar-ts__t--min9 {
    font-size: max(9px, calc(var(--fs) * var(--u)));
}
