/* /css/usr/ife_recommend.css（2026-11-13 版。トップ・商品詳細・マイページ・買い物かごで共用） */.ife-recommend[hidden] { display: none !important; }section.ife-recommend { display: block; width: 100%; margin: 0 0 clamp(15px, 2vw, 30px); padding: clamp(35px, 4.67vw, 70px) 0; overflow: hidden; }.ife-recommend .home_section__header { margin: 0 0 clamp(20px, 2.67vw, 40px); padding: 0; }.ife-recommend .home_section__title { margin: 0 0 .5em; padding: 0; font-size: 22px; font-weight: bold; text-align: left; }@media screen and (min-width: 750.02px) {.ife-recommend .home_section__title { font-size: min(40px, 3.33vw); }}/* 商品詳細（2026-11-06）：すぐ上の「関連アイテム」「あなたへのオススメ」と同じ中央寄せ・大きさ・余白（PC は user.css、スマートフォンは sb_user.css の .lso_section__title） */#ife-inject-detail .home_section__title { margin: 0 0 10px; font-size: 24px; line-height: 1.5; text-align: center; }@media screen and (min-width: 750.02px) {#ife-inject-detail .home_section__title { margin: 0; padding: 5px 16px; font-size: clamp(24px, 5vw, 48px); line-height: 1.5; }/* 見出しとカードの間隔も既存の欄と同じ 45px（user.css の .lso_recommend__content の padding。幅によらず一定） */#ife-inject-detail .home_section__header { margin-bottom: 45px; }}/* 商品詳細の欄の間（2026-11-09）：上の section.ife-recommend の上下の余白はトップ用。すぐ上の emoreco の欄（.lso_section）と同じく、上は空けず、下だけスマートフォン 35px（sb_user.css）／PC 80px（user.css）空ける */#ife-inject-detail { margin: 0 0 35px; padding: 0; }@media screen and (min-width: 750.02px) {#ife-inject-detail { margin-bottom: 80px; }}/* スマートフォン：2列の格子（10件で2列×5段）。段の間はサイトのスマートフォンの商品一覧（sb_user.css の grid-gap: 25px 9px）と同じ 25px（2026-11-09。10px だとアイコンが上の段の価格に近く、どの商品のものか分かりにくい） */.ife-recommend .ife-recommend__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px 10px; list-style: none; margin: 0; padding: 0; }/* PC：emoreco の枠と同じ横スライド。列数と間隔も emoreco と同じ（3列・間隔20px／1000px以上 4列・10px／1200px以上 5列・10px） */@media screen and (min-width: 750.02px) {.ife-recommend .ife-recommend__list { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px) / 3); gap: 20px; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; }.ife-recommend .ife-recommend__list > li { scroll-snap-align: start; }/* 標準のスクロールバーを隠すのは SDK が部品を付けたときだけ（SDK が古いままでも動かせるように） */.ife-recommend .ife-recommend__list.ife-slider--active { scrollbar-width: none; }.ife-recommend .ife-recommend__list.ife-slider--active::-webkit-scrollbar { display: none; }.ife-recommend .ife-recommend__list.ife-slider--dragging { cursor: grabbing; user-select: none; }/* 商品詳細（PC）：emoreco の枠（.lso_p-goods .lso_recommend__content .lso_lineup）と同じく、カードの並びの左右に 40px 空ける */.lso_p-goods .ife-recommend .ife-recommend__list { margin: 0 40px; }}@media screen and (min-width: 1000px) {.ife-recommend .ife-recommend__list { grid-auto-columns: calc((100% - 30px) / 4); gap: 10px; }}@media screen and (min-width: 1200px) {.ife-recommend .ife-recommend__list { grid-auto-columns: calc((100% - 40px) / 5); }}/* 複製元のカードに Swiper が付けた幅（style="width: …px; margin-right: …"）が残っていても、列からはみ出さない */.ife-recommend .ife-recommend__list > li { width: auto !important; min-width: 0; margin: 0 !important; }.ife-recommend .lso_lineup__price { text-align: left; }.ife-recommend .variation-name { display: none; }/* 商品名（2026-11-06）：区切りの無い長い語（Coffee×DKIII×Lions など）が列からはみ出して、隣のカードに重ならないようにする */.ife-recommend .lso_lineup__name { overflow-wrap: anywhere; }/* カードの画像と商品名の高さをそろえる。アイコンの欄は高さを決め、欄の無いカードは画像の上に同じだけ空ける（サイトの一覧と同じ考え方） */.ife-recommend .lso_lineup__block__tags { display: flex; align-items: center; height: 33px; min-height: 0; margin: 0 0 10px; padding: 0; overflow: hidden; }.ife-recommend .lso_lineup__block__tags img { display: block; width: auto; height: auto; max-width: calc((100% - 6px) / 3); max-height: 100%; margin: 0; }.ife-recommend .lso_lineup__block__tags img + img { margin-left: 3px; }/* アイコンは3つまで（SALE＋アイコン3つの商品は4つ目を出さない。サイトの category-lineup.css と同じ） */.ife-recommend .lso_lineup__block__tags img:nth-of-type(n+4) { display: none; }.ife-recommend .lso_lineup__block__image { margin-top: 43px; }.ife-recommend .lso_lineup__block__tags + .lso_lineup__block__image { margin-top: 0; }.ife-recommend .lso_lineup__image img { aspect-ratio: 1 / 1; object-fit: contain; }@media screen and (max-width: 750px) {.ife-recommend .lso_lineup__block__tags { height: 16px; }.ife-recommend .lso_lineup__block__image { margin-top: 26px; }.ife-recommend .lso_lineup__block__tags + .lso_lineup__block__image { margin-top: 0; }}/* スライドのバー（トップ・商品詳細・買い物かご）。emoreco の枠のバー（サイトの components.css の .v2025-sw-scrollbar）と同じ見た目。サイトのクラスは年が入るので使わない */.ife-recommend .ife-slider__bar { width: 63.38%; max-width: 380px; height: 8px; margin: clamp(20px, 2.67vw, 40px) auto 0; background: #eee; transform: skewX(-25deg); cursor: pointer; }.ife-recommend .ife-slider__thumb { height: 100%; background: #0071be; cursor: grab; }/* スライドの送るボタン（マイページ）。emoreco の枠のボタン（サイトの mypage_202306.css）と同じ位置・色。矢印は emoreco の枠の Swiper の矢印（.swiper-navigation-icon。viewBox 11×20 の SVG を 15×30 の枠いっぱいに描く）と同じ形・大きさ（2026-11-13） */.ife-recommend .ife-slider__prev,.ife-recommend .ife-slider__next { position: absolute; top: 50%; width: 15px; height: 30px; margin: -15px 0 0; padding: 0; border: 0; background: none; cursor: pointer; }.ife-recommend .ife-slider__prev { left: 25px; }.ife-recommend .ife-slider__next { right: 25px; }.ife-recommend .ife-slider__prev::before,.ife-recommend .ife-slider__next::before { content: ""; display: block; width: 15px; height: 30px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 20'%3E%3Cpath fill='%238a8a8a' d='M0.38296 20.0762C0.111788 19.805 0.111788 19.3654 0.38296 19.0942L9.19758 10.2796L0.38296 1.46497C0.111788 1.19379 0.111788 0.754138 0.38296 0.482966C0.654131 0.211794 1.09379 0.211794 1.36496 0.482966L10.4341 9.55214C10.8359 9.9539 10.8359 10.6053 10.4341 11.007L1.36496 20.0762C1.09379 20.3474 0.654131 20.3474 0.38296 20.0762Z'/%3E%3C/svg%3E") center / contain no-repeat; }.ife-recommend .ife-slider__prev::before { transform: rotate(180deg); }.ife-recommend .ife-slider__prev:disabled,.ife-recommend .ife-slider__next:disabled { opacity: .35; cursor: default; }/* マイページ（2026-10-19-2）：枠はほかの欄と同じ section.lso_mypage-group。余白はサイトの .lso_mypage-group（mypage_202306.css）と同じ下 30px／PC 50px に戻す（上の section.ife-recommend の上下の余白はトップ用） */.ife-recommend.lso_mypage-group { margin: 0 0 30px; padding: 0; }.ife-recommend.lso_mypage-group .lso_mypage-group__body { position: relative; }@media screen and (min-width: 750.02px) {.ife-recommend.lso_mypage-group { margin-bottom: 50px; }/* 2026-11-05：すぐ上の emoreco の枠と同じく PC はどの幅でも5列で、並びの左右の端もそろえ、外側に送るボタンを置く */.ife-recommend.lso_mypage-group .ife-recommend__list { grid-auto-columns: calc((100% - 40px) / 5); gap: 10px; margin: 0 65px; }/* 2026-11-13：商品名はすぐ上の emoreco の枠（mypage_202306.css の .lso_mypage-lineup__name）と同じ 14px。行の高さは 1.5 のまま 21px */.ife-recommend.lso_mypage-group .lso_lineup__name { font-size: 14px; }}/* 買い物かご（2026-10-19-2）：見出しは灰色の帯の中の欄（cart.css の .v2025cart-recommend .lso_section__title）と同じ 22px・左寄せ。帯の外では user.css の .lso_section__title（最大 48px・中央寄せ）が当たる */.ife-recommend .lso_section__title { margin: 0 0 1.75em; padding: 0; color: #000; font-size: 22px; font-weight: bold; text-align: left; }/* 買い物かごの欄の間（PC。2026-11-09）：上の section.ife-recommend の上下の余白はトップ用。上はサイトの欄の間と同じ 80px（user.css の .lso_section）、下は空けない（すぐ下の灰色の帯との間には、ページの余白 95px が残る） */@media screen and (min-width: 750.02px) {#ife-inject-cart { margin: 80px 0 0; padding: 0; }}/* 買い物かごの欄の間（スマートフォン。2026-11-09）：欄は emoreco の aside（cart.css の .v2025cart-recommend。背景なし・上下 50px）の後に来る。aside の下の 50px を打ち消し、上の余白も消して、emoreco の欄どうしと同じ 35px（sb_user.css の .lso_section）にする。下はそのまま */@media screen and (max-width: 750px) {#ife-inject-cart { margin-top: -50px; padding-top: 0; }}