/* ==========================================================================
   サイト共通のデザインルール (2026-12-01 ユーザー指示「文字サイズ・余白・揃えのルールを統一」)
   /css/oft/design.css として、共通ヘッダーの CSS (shell.css) の直後に読み込む (injectTopShell)。
   各ページの埋め込み CSS は「body .hero{…!important}」のように詳細度を上げて書かれているものが多いので、
   ここでは対象を絞ったうえで、より強い指定で上書きする。

   ■ 文字の段階 (スマホ)
     見出し(和文) 22px / 見出し(英字ディスプレイ) 28px / カードの見出し 19px
     本文 15px・行間 1.95 / カードの本文 14px・行間 1.9 / 補足 13px
     英字の小見出し (EYEBROW) 11px・字間 .24em / ラベル 11px (12px 未満の和文は作らない)
   ■ 揃え (スマホ)
     セクションの見出しのまとまり (英字の小見出し・見出し・ひとこと) は中央。
     本文・カードの中身・年表は左。長い文章を中央に揃えない (行頭がそろわず読みにくい)
   ■ 改行
     見出し・短い文は文節で折り返し (word-break:auto-phrase) 行の長さをそろえる (balance)。
     本文は最後の行が 1〜2 文字だけにならないように (text-wrap:pretty)
   ========================================================================== */

/* ---------- 全ページ: 改行の質 ---------- */
:where(main, section, article) :where(p, li, dd, blockquote, figcaption){text-wrap:pretty;line-break:strict}
:where(main, section, article) :where(h1, h2, h3, h4){word-break:auto-phrase;text-wrap:balance}

/* ---------- 全ページ: 管理画面のトリミングで縮小 (1 倍未満) にした画像が、枠の中で縮んで隙間ができる ----------
   枠いっぱいに敷く画像 (object-fit:cover) で 1 倍未満は見た目が崩れるだけなので、1 倍を下限にする */
img.rcrop{transform:scale(max(1, var(--crop-pc-scale, 1)))}
@media (max-width:768px){
  img.rcrop{transform:scale(max(1, var(--crop-sp-scale, var(--crop-pc-scale, 1))))}
}

/* ==========================================================================
   コンセプト配下 (/concept, /concept/brand-story, /concept/clean-cycle-down, /concept/material)
   4 ページとも上部に「ブランドコンセプト / ブランドストーリー / …」のタブ (.concept-sibling-nav) がある
   ========================================================================== */
@media (max-width:768px){
  /* --- キービジュアル: ヘッダー (高さ 52px) の真下から。以前は 72px 下げていて 20px の白い隙間があった --- */
  body:has(.concept-sibling-nav) .hero{margin-top:52px !important;padding-top:0 !important}
  /* 写真のキービジュアル (コンセプト・ブランドストーリー・Clean Cycle Down): 4 ページで同じ高さ */
  body:has(.concept-sibling-nav) .hero:has(.hero-overlay){
    height:248px !important;min-height:0 !important;max-height:none !important;
    padding:0 20px !important;display:flex !important;align-items:center !important;justify-content:center !important}
  body:has(.concept-sibling-nav) .hero:has(.hero-overlay) .hero-bg{position:absolute !important;inset:0 !important;max-width:none !important;width:100% !important;height:100% !important}
  body:has(.concept-sibling-nav) .hero:has(.hero-overlay) .hero-bg img{width:100% !important;height:100% !important;max-height:none !important;object-fit:cover !important;object-position:50% 50%}
  body:has(.concept-sibling-nav) .hero:has(.hero-overlay) .hero-content{text-align:center !important;margin:0 auto !important;max-width:320px;padding:0 !important}
  body:has(.concept-sibling-nav) .hero .hero-title{font-size:26px !important;line-height:1.3 !important;letter-spacing:.06em !important;margin:0 0 10px !important}
  body:has(.concept-sibling-nav) .hero .hero-subtitle{font-size:13px !important;line-height:1.8 !important;letter-spacing:.12em !important;word-break:auto-phrase;text-wrap:balance}
  body:has(.concept-sibling-nav) .hero .hero-label{font-size:11px !important;letter-spacing:.28em !important;margin:0 0 8px !important}
  body:has(.concept-sibling-nav) .hero .hero-tagline{font-size:19px !important;line-height:1.5 !important;letter-spacing:.1em !important;word-break:auto-phrase;text-wrap:balance}
  body:has(.concept-sibling-nav) .hero .hero-logo-img{height:52px !important;width:auto !important;max-width:none !important;margin:0 auto 12px !important}

  /* 素材のこだわり: 白地にイラストのキービジュアル。イラストが左に寄り、小さすぎた → 中央に大きく。
     高さは写真の 3 ページと同じ 248px (2026-12-01 ユーザー指示「キービジュアルはすべて同じ高さ」) */
  body:has(.concept-sibling-nav) .hero:not(:has(.hero-overlay)){
    height:248px !important;min-height:0 !important;max-height:none !important;box-sizing:border-box !important;
    padding:18px 20px !important;display:flex !important;flex-direction:column !important;align-items:center !important;justify-content:center !important;gap:14px}
  body:has(.concept-sibling-nav) .hero:not(:has(.hero-overlay)) .hero-content{margin:0 !important;text-align:center !important}
  body:has(.concept-sibling-nav) .hero:not(:has(.hero-overlay)) .hero-title{font-size:22px !important;margin:0 !important}
  body:has(.concept-sibling-nav) .hero:not(:has(.hero-overlay)) .hero-title-en{font-size:11px !important;letter-spacing:.24em !important;margin-top:6px !important}
  body:has(.concept-sibling-nav) .hero:not(:has(.hero-overlay)) .hero-bg{display:flex !important;justify-content:center !important;align-items:center !important;width:100% !important;max-width:none !important;margin:0 !important;flex:none !important}
  body:has(.concept-sibling-nav) .hero:not(:has(.hero-overlay)) .hero-bg img{height:140px !important;max-height:none !important;width:auto !important;max-width:100% !important;margin:0 auto !important;object-fit:contain !important}

  /* --- 左右の余白は 20px にそろえる。/concept は外枠 20px + 内枠 40px の二重で本文の幅が 255px しかなかった --- */
  body:has(.concept-sibling-nav) section:not(.hero){padding-left:20px !important;padding-right:20px !important}
  body:has(.concept-sibling-nav) section:not(.hero) > :is([class*="-inner"],.container){padding-left:0 !important;padding-right:0 !important;max-width:none !important}

  /* --- 英字の小見出し (EYEBROW) --- */
  body:has(.concept-sibling-nav) :is(.philosophy-en,.intro-en,.team-en,.rds-en,.lineup-en,.fabric-en,.cycle-en,.nav-cards-en){
    font-size:11px !important;letter-spacing:.24em !important;margin-bottom:12px !important;text-align:left !important}
  body:has(.concept-sibling-nav) :is(.visual-story-en,.process-step-en){font-size:11px !important;letter-spacing:.2em !important}

  /* --- セクションの見出し: 和文 22px / 英字の大見出し 28px。中央 --- */
  body:has(.concept-sibling-nav) :is(.philosophy-title,.intro-title,.team-title,.fabric-title,.rds-title){
    font-size:22px !important;line-height:1.55 !important;letter-spacing:.06em !important;text-align:left !important;margin-bottom:24px !important}
  body:has(.concept-sibling-nav) :is(.timeline-title,.values-title,.nav-cards-title,.lineup-title,.cycle-title){
    font-size:26px !important;line-height:1.3 !important;text-align:left !important;margin-bottom:12px !important}
  body:has(.concept-sibling-nav) :is(.timeline-sub,.values-sub,.lineup-subtitle){
    font-size:14px !important;line-height:1.9 !important;text-align:left !important;margin-bottom:32px !important}

  /* --- 本文: 15px・左揃え (長い文章を中央に揃えない) --- */
  body:has(.concept-sibling-nav) :is(.philosophy-body,.intro-body,.rds-desc,.team-text,.philosophy-inner p:not([class])){
    font-size:15px !important;line-height:1.95 !important;letter-spacing:.03em !important;text-align:left !important}
  /* --- カードの中: 見出し 19px・本文 14px・すべて左 --- */
  body:has(.concept-sibling-nav) :is(.value-name,.down-card-name,.process-step-title,.fabric-item-title,.visual-story-heading){
    font-size:19px !important;line-height:1.5 !important;text-align:left !important}
  body:has(.concept-sibling-nav) :is(.value-desc,.visual-story-desc,.process-step-desc,.down-card-desc,.fabric-item-desc,.timeline-content p){
    font-size:14px !important;line-height:1.9 !important;text-align:left !important}
  body:has(.concept-sibling-nav) :is(.value-card){text-align:left !important}
  body:has(.concept-sibling-nav) :is(.value-num,.value-name-jp){text-align:left !important}
  body:has(.concept-sibling-nav) :is(.value-name-jp,.down-card-jp){font-size:13px !important}
  body:has(.concept-sibling-nav) :is(.down-card-label,.down-card-badge,.fabric-item-label,.cycle-step-label){font-size:11px !important;letter-spacing:.16em !important}
  body:has(.concept-sibling-nav) .cycle-step-sublabel{font-size:12px !important}

  /* --- 数字の帯: ラベルが「再生量」の 2 文字だけ次の行に落ちていた --- */
  body:has(.concept-sibling-nav) .stat-label{font-size:12px !important;line-height:1.6 !important;word-break:auto-phrase;text-wrap:balance}

  /* --- 下部の「Learn More」カード: 7〜8px の文字を読める大きさに --- */
  body:has(.concept-sibling-nav) .nav-card-content{left:20px !important;right:64px !important;bottom:20px !important}
  body:has(.concept-sibling-nav) .nav-card-label{font-size:11px !important;letter-spacing:.2em !important;margin-bottom:6px !important}
  body:has(.concept-sibling-nav) .nav-card-name{font-size:19px !important;line-height:1.35 !important;margin-bottom:4px !important}
  body:has(.concept-sibling-nav) .nav-card-jp{font-size:12px !important;line-height:1.6 !important}

  /* --- タブ (ブランドコンセプト / …) の文字 --- */
  body:has(.concept-sibling-nav) .concept-sibling-link{font-size:12px !important;line-height:1.45 !important}
}

/* ==========================================================================
   商品一覧 (/products/all・各カテゴリ) の最初の画面
   ========================================================================== */
/* 見出しの帯: 明るい写真の上で説明文が溶けていた。写真は暗くせず、文字の後ろだけをふんわり明るくする */
.pr-v2-cathero:not(.pr-v2-cathero--dark):not(.pr-v2-cathero--gallery) .pr-v2-cathero-overlay{
  background:radial-gradient(ellipse 40% 78% at 50% 54%,rgba(255,255,255,.86) 0%,rgba(255,255,255,.62) 55%,rgba(255,255,255,.12) 100%) !important}
.pr-v2-cathero:not(.pr-v2-cathero--dark) .pr-v2-cathero-desc{color:#3D3A37;opacity:1}
.pr-v2-cathero-content{max-width:min(760px,calc(100% - 40px))}
@media (max-width:768px){
  .pr-v2-cathero:not(.pr-v2-cathero--dark):not(.pr-v2-cathero--gallery) .pr-v2-cathero-overlay{
    background:radial-gradient(ellipse 62% 74% at 50% 56%,rgba(255,255,255,.86) 0%,rgba(255,255,255,.6) 60%,rgba(255,255,255,.14) 100%) !important}
}
/* 季節タブの下の説明: 中央揃えで「料です。」だけが次の行に落ちていた → 行の長さをそろえる */
.pr-v2-cg-sblock{text-wrap:balance;word-break:auto-phrase;max-width:640px;margin-left:auto;margin-right:auto}

/* ==========================================================================
   商品ページの最初の画面 (2026-12-01)
   スマホ 375px 実測: パンくず 2 行 57px・商品名と写真の間 40px・価格は 720px (画面の下端ぎりぎり)
   → パンくずを 1 行に、余白を詰めて、価格が最初の画面に入るように
   ========================================================================== */
.sp-product-catch{display:block;font-size:13px;font-weight:500;letter-spacing:.08em;color:#5F5A55;margin-bottom:4px}
@media (max-width:768px){
  .pdr-page .product-top{row-gap:14px}
  .pdr-page .product-top > .purchase{margin-top:10px}
  .pdr-page .sp-product-name{text-wrap:balance;word-break:auto-phrase}
  .pdr-page .pdr-breadcrumb{flex-wrap:nowrap;overflow:hidden;white-space:nowrap}
  .pdr-page .pdr-breadcrumb::-webkit-scrollbar{display:none}
  /* 1 行にしたとき、リンクが縮んで 1 文字ずつ縦に並んでいた (2026-12-01 修正)。リンクと区切りは縮めず、
     最後の商品名だけを残りの幅に収めて「…」で省略する (商品名はすぐ下に大きく出ている) */
  .pdr-page .pdr-breadcrumb > *{flex:0 0 auto;white-space:nowrap}
  .pdr-page .pdr-breadcrumb .crumb-current{width:auto;flex:0 1 auto;flex-basis:auto;min-width:0;margin-top:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
}

/* ==========================================================================
   翻訳ページ (英語・中国語・韓国語) のボタン・入力欄 (2026-12-01 ユーザー指示「翻訳後にボタンから文字や絵文字がはみ出す」)
   日本語より長くなる訳語で、幅の決まったボタンから文字がはみ出したり、隣の入力欄が潰れたりしていた
   ========================================================================== */
/* フッターのメルマガ登録: 英語ページのスマホで、ボタン「Subscribe」(折り返し禁止) に押されて
   メール入力欄が幅 27px まで潰れていた。登録後の「Registration complete ✓」ではさらに広がる。
   入力欄を優先し、入りきらないときはボタンを次の行 (全幅) に送る */
.footer-newsletter form{flex-wrap:wrap;row-gap:8px}
.footer-newsletter form input[type="email"]{flex:999 1 180px !important;min-width:0 !important}
.footer-newsletter form button{flex:1 0 auto}
/* ボタン類: はみ出すより 2 行になる方がよい。アイコンは縮めない */
html:not([lang="ja"]) :is(button,[class*="btn"],[class*="-cta"],.cart-recommend-add,.pr-v2-section-more){
  white-space:normal;overflow-wrap:anywhere;max-width:100%;text-wrap:balance}
html:not([lang="ja"]) :is(button,[class*="btn"],[class*="-cta"]) > :is(svg,img){flex-shrink:0}
html:not([lang="ja"]) :is([class*="badge"],[class*="chip"],[class*="tag"]){max-width:100%;overflow-wrap:anywhere}

/* ==========================================================================
   スマホの共通ルール (2026-12-01 ユーザー指示「スマホの表示ルールが統一されていない」「文字は見出し以外は基本左寄せ」)
   ========================================================================== */
@media (max-width:768px){
  /* --- 揃え: 見出し (h1〜h4) と、その上の英字の小見出しだけは各デザインのまま。文章はすべて左寄せ ---
     ボタン・バッジ・タグ・価格・数字・キャプション・ナビ・フッター・最初の画面 (動画/写真の上の文字) は部品なので対象外 */
  body :where(p, li, dd, dt, blockquote, td):not([class*="-en"]):not([class*="eyebrow"]):not([class*="label"]):not([class*="badge"]):not([class*="tag"]):not([class*="price"]):not([class*="stat"]):not([class*="num"]):not([class*="btn"]):not([class*="cta"]):not([class*="caption"]):not([class*="count"]):not([class*="copy"]):not(:where(.hero, [class*="hero"], header, footer, nav, button, [class*="btn"], [class*="cta"], .oft-drawer-root, .mobile-menu, [class*="badge"], [class*="stat"]) *){
    text-align:left !important}

  /* --- 文字の大きさの下限: 和文・数字の情報は 11px 未満にしない (実測で 9.5〜10px が多数あった) --- */
  .pr-v2-pcard-cat,.pr-v2-pcard-badge,.pr-v2-section-count,.news-tag,.footer-copy,.policy-head-en,
  .purchase-size-dim,.purchase-size-price,.purchase-variant-oos,.purchase-coverset-badge,.psb-tax,.psb-trust,
  .pdr-breadcrumb,.pdr-breadcrumb a,.pdr-breadcrumb span{font-size:11px !important}
  .pr-v2-pcard-rate{font-size:11.5px !important}
}
/* 一覧カードの商品名: スマホでは先頭のキャッチ (「植物と眠る優しさ。」) を 1 行に分ける */
@media (max-width:768px){.pcn-catch{display:block}}

/* ==========================================================================
   スマホの統一ルール v2 (2026-12-01 ユーザー指示「ページ単位・DIV 単位でルールを徹底」「横の表示幅と改行ルールを統一」)

   ■ ルール (375px 実測で決めた値。すべてのページで同じ役割には同じ値)
     左右の余白   20px (本文の幅 335px)。実測では 8/12/16/18/24/30/44/60px が混在していた
     揃え         キービジュアル (写真・動画の上の文字) とボタン以外は、見出しも含めて左寄せ
     見出し       セクション見出し 22〜26px (英字の大見出し 26px・和文 22px) / 英字の小見出し 11px
     本文         15px・行間 1.9 / カードの本文 13px・行間 1.7 / 注記 12px / ラベル・バッジ 11px (11px 未満は作らない)
     改行         見出しは文節で折り返して行の長さをそろえる / 本文は最後の行が 1〜2 文字にならない
   ========================================================================== */
@media (max-width:768px){
  /* ---- 改行 (全ページ) ---- */
  body :where(p, li, dd, blockquote, figcaption, td){text-wrap:pretty;line-break:strict}
  body :where(h1, h2, h3, h4){word-break:auto-phrase;text-wrap:balance}

  /* ==== トップ (/) ==== */
  body:has(.collection-grid) :is(.brand-story-inner,.craft-inner,.news-inner,.collection > .container,.experience > .container,.experience-header){
    padding-left:20px !important;padding-right:20px !important;max-width:none !important}
  body:has(.collection-grid) .craft-text{padding-left:0 !important;padding-right:0 !important}
  body:has(.collection-grid) .section-watermark{display:none !important} /* 背景の薄い大文字。スマホでは「PRC」のように切れて見えていた */
  body:has(.collection-grid) :is(.section-label,.section-heading,.section-heading-jp-accent,.experience-header){text-align:left !important;justify-content:flex-start !important;margin-left:0 !important;margin-right:0 !important}
  body:has(.collection-grid) .section-heading{font-size:26px !important;line-height:1.3 !important}
  body:has(.collection-grid) .section-heading-jp-accent{font-size:15px !important;line-height:1.8 !important}
  body:has(.collection-grid) :is(.brand-story-desc,.craftsmanship p:not([class]),.experience-header p){font-size:15px !important;line-height:1.9 !important;text-align:left !important;max-width:none !important}
  body:has(.collection-grid) :is(.collection-card-desc,.exp-card-desc){font-size:13px !important;line-height:1.7 !important}
  body:has(.collection-grid) .exp-card{text-align:left !important;align-items:flex-start !important}
  body:has(.collection-grid) :is(.exp-card-label,.exp-card-title,.exp-card-desc){text-align:left !important}
  body:has(.collection-grid) .exp-card-icon{margin-left:0 !important;margin-right:0 !important}

  /* ==== 商品一覧 (/products/all と各カテゴリ) ==== すべての商品とカテゴリで同じ見え方に */
  .pr-v2-section,.pr-v2-intro,.pr-v2-cg{padding-left:20px !important;padding-right:20px !important}
  .pr-v2-section-en{font-size:18px !important}
  .pr-v2-section-jp{font-size:12px !important}
  .pr-v2-season-grouptitle{font-size:14px !important}
  .pr-v2-pcard-cat{font-size:11px !important;line-height:1.3 !important}
  .pr-v2-pcard-name{font-size:13px !important;line-height:1.5 !important}
  /* 暖かさ・軽さ: カテゴリページだけに指定があり、すべての商品では 16px のままだった */
  .pr-v2-pcard-rate{display:flex;flex-wrap:wrap;column-gap:8px;margin:0 0 2px;font-size:11.5px !important;line-height:1.55;color:#6B6B6B}
  .pr-v2-pcard-rate-item{white-space:nowrap}
  .pr-v2-pcard-stars{margin-left:2px;letter-spacing:.02em;color:#1A1A1A}
  .pr-v2-pcard-stars .off{color:#CFCFCF}
  .pr-v2-pcard-hint{margin:0 0 6px;font-size:12px !important;font-weight:600;line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .pr-v2-pcard-price{font-size:16px !important}
  .pr-v2-cg-sblock{font-size:13px !important;line-height:1.8 !important;text-align:left !important}
  .pr-v2-cg-h{font-size:18px !important;text-align:left !important}
  .pr-v2-cg-note{font-size:12px !important}
  .pr-v2-cg-faq-a{font-size:13px !important;line-height:1.8 !important}
  .pr-v2-flagship-desc{font-size:15px !important;line-height:1.9 !important}

  /* ==== 商品ページ ==== */
  .pdr-page :is(.product-top,.spec-inner,.features-inner,.product-desc,.oft-mod,.ourpolicy,.related-mag,.pdr-contact){padding-left:16px !important;padding-right:16px !important}
  .pdr-page .product-desc-inner{padding-left:0 !important;padding-right:0 !important}
  .pdr-page :is(.section-en,.product-desc-en){font-size:11px !important;text-align:left !important}
  .pdr-page :is(.section-title,.oft-mod-h){font-size:22px !important;line-height:1.45 !important;text-align:left !important}
  .pdr-page .product-desc-html p{font-size:15px !important;line-height:1.9 !important}
  .pdr-page :is(.feature-text,.ourpolicy-card-excerpt,.related-mag-title,.purchase-consult-lead){font-size:13px !important;line-height:1.7 !important}
  .pdr-page :is(.ourpolicy-lead,.pdr-contact-lead,.pdr-contact-line,.warmth-note){font-size:13px !important;line-height:1.8 !important;text-align:left !important}
  .pdr-page :is(.spec-note,.purchase-shipping,.purchase-trust-item){font-size:12px !important;line-height:1.6 !important}
  .pdr-page .related-mag-cat{font-size:11px !important}

  /* ==== お知らせ一覧 (/info) ==== */
  body:has(.mg-card) .container{padding-left:20px !important;padding-right:20px !important}
  .mg-card-title{font-size:13px !important;line-height:1.55 !important}
  .article-count{font-size:12px !important;text-align:left !important}

  /* ==== よくある質問 (/faq) ==== */
  body:has(.faq-hero-top) main section{padding-left:20px !important;padding-right:20px !important}
  body:has(.faq-hero-top) main section p{font-size:15px !important;line-height:1.9 !important}

  /* ==== ご利用ガイド (/shopping-guide) ==== */
  body:has(.sg-section) .sg-section,body:has(.sg-section) main > section{padding-left:20px !important;padding-right:20px !important}
  body:has(.sg-section) main h1{font-size:26px !important;text-align:left !important}
  body:has(.sg-section) main p{font-size:15px !important;line-height:1.9 !important;text-align:left !important}
}
@media (max-width:768px){
  /* ==== 記事 (/info/…) ==== 本文の左右 16px → 20px */
  .article-layout,.article-cta{padding-left:20px !important;padding-right:20px !important}
  /* ==== レビュー (/reviews) ==== 外枠 20px + 内枠 20px の二重で 40px になっていた */
  :is(.reviews-hero,.faq-cta) > .container,body:has(.reviews-hero) section > .container{padding-left:0 !important;padding-right:0 !important}
  /* ==== 用語集 (/glossary) ==== 24px → 20px */
  body:has(a[href^="/glossary/"]):not(:has(.pdr-page)):not(:has(.article-layout)) main > section{padding-left:20px !important;padding-right:20px !important}
}
@media (max-width:768px){
  /* ==== 再計測 (2026-12-01) で残っていた左右のずれ ==== */
  /* トップ: Collection の見出しだけ中央の幅に残っていた (左 88px) */
  body:has(.collection-grid) .collection-header{text-align:left !important;align-items:flex-start !important;justify-content:flex-start !important}
  body:has(.collection-grid) .collection-header > *{margin-left:0 !important;margin-right:0 !important;text-align:left !important}
  /* 商品ページ・記事の下部 (関連商品・ポリシーなど) の内枠 16px → 20px */
  .pdr-page section > [class*="-inner"]:not(.product-desc-inner),.related-products-inner{padding-left:16px !important;padding-right:16px !important}
  .pdr-page .spec-note{margin-left:0 !important}
  /* コンセプト: ストーリーの文章が外枠 20px + 内枠 24px、写真ギャラリー下の文章が 20 + 40px になっていた */
  body:has(.concept-sibling-nav) .visual-story-text{padding-left:0 !important;padding-right:0 !important}
  body:has(.concept-sibling-nav) .process-gallery > div{padding-left:0 !important;padding-right:0 !important}
  /* お知らせ一覧: カードの並びの外枠が 8px だった */
  body:has(.mg-card-body) .container{padding-left:20px !important;padding-right:20px !important}
  body:has(.mg-card-body) .article-count{margin-left:0 !important;padding-left:0 !important}
}
/* 商品名: 英単語の途中 (「Pillo / w」「Dow / n」) で折らない。折り返しは単語の間だけ */
.pr-v2-pcard-name,.sp-product-name,.purchase-name{overflow-wrap:normal !important;word-break:normal}
@media (max-width:768px){.pr-v2-pcard-name{word-break:auto-phrase}}
/* 見出し下のひとこと・短い説明 (2〜3 行) は文節で折り返す (「4つの羽毛ラ / インナップ。」のように単語が割れていた) */
@media (max-width:768px){
  :is(.lineup-subtitle,.timeline-sub,.values-sub,.section-heading-jp-accent,.pr-v2-cathero-desc,.pr-v2-cg-sblock,.collection-card-desc,.exp-card-desc,
      .nav-card-jp,.value-name-jp,.down-card-jp,.hero-subtitle,.sp-product-catch,.purchase-catch,.wg-about-jp,.ourpolicy-lead,.pr-v2-pcard-hint,
      [class*="-lead"],[class*="-catch"],[class*="-sub"]:not(sub)){word-break:auto-phrase}
}
@media (max-width:768px){
  /* ==== 商品カテゴリーの見出し帯: すべてのカテゴリーで同じ高さ (2026-12-01 ユーザー指示) ====
     実測 375px: 通常 148px / サービス 175px / COVER / COVER 284px (写真を下に 2 段で並べていた) → すべて 148px */
  .pr-v2-cathero.pr-v2-cathero,.pr-v2-cathero.pr-v2-cathero--dark,.pr-v2-cathero.pr-v2-cathero--gallery{
    height:148px !important;min-height:148px !important;max-height:148px !important;aspect-ratio:auto !important;box-sizing:border-box !important}
  .pr-v2-cathero.pr-v2-cathero--gallery{flex-direction:row !important;justify-content:center !important;align-items:center !important;padding-bottom:0 !important}
  .pr-v2-cathero--gallery .pr-v2-cathero-gallery{position:absolute !important;top:var(--header-h,52px) !important;left:0 !important;right:0 !important;bottom:0 !important;width:auto !important;height:auto !important;margin:0 !important}
  .pr-v2-cathero--gallery .pr-v2-cathero-content{margin-top:0 !important}
  .pr-v2-cathero--gallery .pr-v2-cathero-overlay{display:block !important;
    background:radial-gradient(ellipse 58% 72% at 50% 56%,rgba(255,255,255,.9) 0%,rgba(255,255,255,.6) 60%,rgba(255,255,255,.15) 100%) !important}

  /* 見出しを左寄せにしたので、見出し下の短い飾り線も左へ (中央に残っていた) */
  :is(.oft-mod-h,.section-title,.section-heading,.pr-v2-intro-title)::after{left:0 !important;right:auto !important;transform:none !important;margin-left:0 !important;margin-right:0 !important}
}
/* 商品ページ (スマホ) の SPEC 欄が縦に長すぎた (2026-12-01 ユーザー指示)。375px 実測 563px → 465px
   見出しと表の間 48px → 14px / 項目名の列 110px → 84px (値の列が広がり折り返しが減る) / 行の上下余白 12px → 9px */
@media (max-width:768px){
  .pdr-page .spec-section .section-header{margin-bottom:14px !important}
  .pdr-page .spec-section .spec-table{margin-top:0 !important;border-spacing:0 2px !important}
  .pdr-page .spec-section .spec-table th{width:84px !important;min-width:84px !important;padding:9px 6px 9px 14px !important;font-size:12px !important;line-height:1.5 !important;vertical-align:top}
  .pdr-page .spec-section .spec-table td{padding:9px 10px !important;font-size:13px !important;line-height:1.6 !important}
  .pdr-page .spec-section .spec-table th::before{width:5px !important;height:5px !important;left:5px !important}
  .pdr-page .spec-section .spec-note{margin-top:10px !important}
}

/* ==========================================================================
   言語切替を控えめに (2026-12-01 ユーザー指示「メニューを開いたときとフッターの言語切替が目立ちすぎ。さり気なく、でも気づく位置に・小さく」)
   ・メニュー: 「LANGUAGE」の見出し＋高さ 46px・幅いっぱいの選択欄 → ロゴの下に「地球アイコン＋日本語 ▾」の小さな文字だけ
   ・フッター: 13px → 11px・薄い色。地球アイコンで言語切替だと分かるようにする
   ========================================================================== */
.mobile-menu .mm-lang{display:flex !important;align-items:center;gap:6px;align-self:flex-start;margin:-6px 0 16px !important;padding:0 !important;border:none !important}
.mobile-menu .mm-lang-label{margin:0 !important;gap:0 !important;color:rgba(255,255,255,.55) !important}
.mobile-menu .mm-lang-label span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.mobile-menu .mm-lang-label svg{width:13px;height:13px}
.mobile-menu .mm-lang .lang-select-wrap{width:auto !important;position:relative}
.mobile-menu .mm-lang .oft-lang-select{width:auto !important;min-width:0 !important;height:26px !important;padding:0 16px 0 2px !important;border:none !important;border-radius:0 !important;
  background-color:transparent !important;color:rgba(255,255,255,.7) !important;font-size:12px !important;font-weight:400 !important;letter-spacing:.04em}
.mobile-menu .mm-lang .lang-caret{right:2px !important;opacity:.55;width:9px;height:9px}
.footer-bottom .footer-lang-label svg{width:12px;height:12px}
.footer-bottom .footer-lang .oft-lang-select{font-size:11px !important;color:rgba(255,255,255,.5) !important;padding:2px 14px 2px 2px !important}
@media(max-width:768px){.footer-bottom .footer-lang .oft-lang-select{font-size:11px !important}}

/* ==========================================================================
   スマホのメニュー (2026-12-01 ユーザー指示「アコーディオンを開く手間をなくし、開いた状態でなるべくスクロールしないレイアウトに」)
   見出し (CONCEPT / PRODUCTS / INFORMATION) の下にリンクを 2 列で並べる。375x812 で全体が 1 画面に収まる高さ
   ========================================================================== */
.mobile-menu{padding:18px 0 24px !important}
.mobile-menu .mm-nav{padding:0 24px !important}
.mobile-menu .mm-logo-link{display:flex !important;align-items:center;min-height:40px;padding:0 !important;margin:0 0 6px !important;border:none !important}
.mm-group{padding:12px 0 8px;border-top:1px solid rgba(255,255,255,.1)}
.mm-group-title{margin:0 0 2px;font-size:11px;font-weight:600;letter-spacing:.24em;color:rgba(255,255,255,.5)}
.mm-grid{display:grid;grid-template-columns:1fr 1fr;column-gap:16px}
.mm-grid a{display:block;padding:8px 0;font-size:14px;line-height:1.45;letter-spacing:.04em;color:#fff;text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mm-grid a:active,.mm-grid a:hover{opacity:.7}
.mm-grid a.mm-grid-wide{grid-column:1 / -1}
.mobile-menu .mm-sns{justify-content:flex-start !important;padding:12px 0 0 !important;border-top:1px solid rgba(255,255,255,.1)}
.mobile-menu .mm-divider{display:none !important}
.mobile-menu .mm-bottom{margin-top:14px !important}
.mobile-menu .mm-btn-outline,.mobile-menu .mm-btn-gold{padding:11px !important}

/* ==========================================================================
   スマホのメニュー: ページ独自の古い CSS に負けないように (2026-12-01 ユーザー指摘「✕ボタンとロゴが被る」「古いCSSが当たっている」)
   ブランドストーリー等の静的ページには旧メニュー用の .mobile-menu nav a{太字・大文字・字間・余白16px}
   .mm-link:hover{color:#1A1A1A (暗い背景で文字が消える)} が残っていて、新しいメニューの見た目を上書きしていた
   ========================================================================== */
.mobile-menu .mobile-menu-close{top:14px !important;right:10px !important;width:44px !important;height:44px !important;z-index:3}
.mobile-menu .mm-nav a.mm-logo-link{width:auto !important;max-width:calc(100% - 64px);border:none !important;padding:0 !important;min-height:40px}
.mobile-menu .mm-grid a{font-family:inherit !important;font-weight:400 !important;font-size:14px !important;letter-spacing:.04em !important;text-transform:none !important;
  padding:8px 0 !important;border:none !important;color:#fff !important;width:auto !important;justify-content:flex-start !important}
.mobile-menu a:hover,.mobile-menu .mm-link:hover,.mobile-menu .mm-sub-link:hover{color:#fff !important;opacity:.7}
.mobile-menu .mm-btn-outline:hover{border-color:rgba(255,255,255,.6) !important;color:#fff !important;opacity:1}
.mobile-menu .mm-btn-gold:hover{background:#000 !important;opacity:1}
.mobile-menu .mm-sns a{border:none !important;padding:4px 0 !important}

/* ==========================================================================
   商品ページ スマホ (2026-12-01 ユーザー指示「ボックスシーツを掛け布団のルールに統一」「最初の画面で注文に必要な選択ができるように」
   「要素ごとに表示幅・余白・高さ・見出し・画像サイズを統一」「どこでスクロールを止めても 1 画面で収まりがよい余白」)
   ・購入欄: 画像 4:3・サムネイル 52px・ラベル 11px・ボタンはサイズ/マチとも同じ形 (最小 44px)
     → 375x812 でサイズ・マチ (ボックスシーツ) が最初の画面に入り、カートは下の固定バーで常に押せる
   ・各セクション: 上下 20px・見出し 22px 左寄せ・見出しの下 14px にそろえる (二重の余白をなくす。2026-12-01 ユーザー指示で 40px→20px「高さを取りすぎ」)
   ========================================================================== */
@media(max-width:768px){
  /* --- 最初の画面 --- */
  .pdr-page .pdr-breadcrumb{padding-top:6px !important;padding-bottom:6px !important;font-size:11px}
  .pdr-page .product-top{row-gap:10px !important}
  .pdr-page .sp-product-head{margin:0 !important}
  .pdr-page .gallery{gap:8px !important}
  .pdr-page .gallery-main-slide{aspect-ratio:4/3 !important}
  .pdr-page .gallery-thumbs{gap:6px !important}
  .pdr-page .gallery-thumb{width:52px !important;height:52px !important;flex:0 0 52px !important}
  .pdr-page .gallery-thumb img{width:52px !important;height:52px !important}
  .pdr-page .gallery-block{position:relative}
  .pdr-page .pdr-gallery-caption{margin:4px 0 0 !important;font-size:11px !important;line-height:1.4 !important;color:#6B6B6B}
  .pdr-page .product-top > .purchase{margin-top:4px !important}
  .pdr-page .purchase-price{font-size:24px !important;line-height:1.3 !important;margin-bottom:2px !important}
  .pdr-page .purchase-price-tax{font-size:12px !important}
  .pdr-page .purchase-shipping{margin-bottom:4px !important}
  .pdr-page .purchase-label{font-size:11px !important;line-height:1.4 !important;letter-spacing:.08em !important;margin:12px 0 6px !important;color:#1A1A1A}
  .pdr-page .purchase-sizes{gap:6px !important;margin-bottom:0 !important}
  .pdr-page .purchase-sizes .purchase-size{min-height:44px;display:flex !important;flex-direction:column;align-items:center;justify-content:center;gap:1px;padding:5px 4px !important;line-height:1.3 !important}
  .pdr-page .purchase-size :is(.purchase-size-dim,.purchase-size-price,.purchase-variant-oos){display:block;font-size:11px !important;line-height:1.3 !important}
  .pdr-page .purchase-colors{gap:10px !important}
  .pdr-page .purchase-coverset{margin-top:8px !important}
  .pdr-page .purchase-coverset-label{padding:10px 12px !important;gap:10px !important}
  .pdr-page .purchase-coverset-title{font-size:13px !important}
  .pdr-page .purchase-coverset-desc{display:none !important}
  .pdr-page .purchase-coverset-price{font-size:13px !important}
  .pdr-page .purchase-coverset-single{font-size:12px !important;margin-top:6px !important}
  .pdr-page .purchase-qty{margin:12px 0 8px !important}
  .pdr-page .bsh-guide{margin:8px 0 0 !important}

  /* --- セクションの余白 (上下 20px・見出しの下 14px) --- */
  .pdr-page > section:not(.product-top):not(.concept-cta-section),
  .pdr-page .oft-mod-wrap > section{padding-top:20px !important;padding-bottom:20px !important;margin-top:0 !important;margin-bottom:0 !important}
  .pdr-page > section.oft-mod-wrap{padding-top:0 !important;padding-bottom:0 !important}
  .pdr-page :is(.section-header,.oft-mod-head){margin-bottom:14px !important}
  .pdr-page .product-desc{padding-left:16px !important;padding-right:16px !important}
  .pdr-page .product-desc-inner{padding:0 !important}
  .pdr-page .product-desc img{max-width:100%;height:auto}
  .pdr-page .wg-about-section{padding-left:16px !important;padding-right:16px !important}
  .pdr-page .pdr-contact-section{padding-left:16px !important;padding-right:16px !important}
  .pdr-page .pdr-contact-cta{margin:0 !important;padding:24px 20px !important}
  .pdr-page .product-top{padding-bottom:20px !important}
}

/* ==========================================================================
   ホバー・メニューを開いたときの表示 (2026-12-01 全ページのクリック・ホバー点検)
   ・暗いヘッダー/フッター/メニューで、古い CSS のホバー色 #1A1A1A により文字が消えていた → 白のまま少し薄く
   ・メニューを開いている間はチャット (Channel Talk)・上へ戻る・購入の固定バーを出さない (ユーザー指示)
   ・URL バーが縮んでもメニューの高さがずれないよう、見えている高さ (dvh) に合わせる
   ========================================================================== */
.header .header-actions :is(a,button):hover{color:#fff !important;opacity:.7}
.footer :is(.footer-nav,.footer-links,.footer-col) a:hover{color:#fff !important}
body:has(.mobile-menu.active) :is([id^="ch-plugin"],.page-top-btn,.purchase-stickybar,.oft-chat-launcher){display:none !important}
.mobile-menu{height:100vh;height:100dvh !important;overscroll-behavior:contain}
.mobile-menu-overlay{height:100dvh}
@media(max-width:768px){
  /* 横スクロールのカード列 (私たちの想い): 1 枚目の左端を本文と同じ 20px に、止まる位置も 20px */
  .pdr-page .ourpolicy-grid{margin:0 -16px !important;padding:4px 16px 8px !important;scroll-padding-left:16px}
}
@media(max-width:768px){
  /* 最初の画面にサイズ・マチが入るよう詰める (2026-12-01 実測: マチのボタンが下の固定バーに隠れていた)
     ・「送料無料・返品可」は下の固定バーに常に出ているので、ここでは発送の目安だけにする */
  /* 画像の説明は画像の下に置く (2026-12-01 画像の左上に重ねたところ、画像内の「冬用」等の文字と重なった → 撤回) */
  .pdr-page .pdr-gallery-caption{position:static !important;margin:4px 0 0 !important;padding:0 !important;background:none !important}
  .pdr-page .gallery-thumb,.pdr-page .gallery-thumb img{width:46px !important;height:46px !important;flex-basis:46px !important}
  body:has(.psb-trust) .pdr-page .purchase-shipping-main{display:none !important}
  .pdr-page .purchase-label{margin:10px 0 5px !important}
}
.header .header-nav-item > a:hover{color:rgba(255,255,255,.7) !important} /* 独自 CSS のページでナビがホバーで黒くなり消えていた (PC) */

/* 商品ページ(スマホ)は本文の幅を最大に: 左右 16px (2026-12-01 ユーザー指示「詳細ページの横幅が狭い」。
   全体ルールの 20px から商品ページだけ 16px に戻す。2026-11-18 の「最大限の幅で」の指示と同じ値)。
   スクロール中は「上へ戻る」とチャットのボタンを隠し、本文の上に重ならないようにする (スクロールが止まったらすぐ戻す) */
html.is-scrolling body:has(.pdr-page) :is(.page-top-btn,#ch-plugin){opacity:0 !important;pointer-events:none !important;transition:opacity .15s}
body:has(.pdr-page) :is(.page-top-btn,#ch-plugin){transition:opacity .12s}
/* 画像のフェードインを短く (2026-12-01 ユーザー指示「画像の表示遅れをなくしたい」。読み込み後さらに 0.4〜0.5 秒かけて出していた) */
.pdr-fade{transition:opacity .15s ease !important}
.pr-v2-pcard-img img.pr-v2-fade{transition:transform .6s,opacity .15s ease !important}

/* ==========================================================================
   INFORMATION の記事: 読みやすい行の長さ (2026-12-01 ユーザー指示「スマホ・PC ともに文字が読みやすい幅に」)
   実測: PC は本文の列 792px・16px で 1 行 約 50 字 (長すぎ)。スマホは囲み枠の中で 19 字まで狭まっていた
   ・PC: 本文の列を 680px・17px・行間 2 (1 行 約 38〜40 字)。列はタイトルと同じく中央に。サイドバーはそのまま
   ・スマホ: 左右 16px・本文 16px (1 行 約 21 字)。囲み枠の内側の余白は 14px (二重に狭くしない)
   ========================================================================== */
@media(min-width:769px){
  .info-article .article-wrap > *{max-width:680px;margin-left:auto !important;margin-right:auto !important}
  .info-article .article-body :is(p,li,dd,blockquote){font-size:17px !important;line-height:2 !important}
}
@media(max-width:768px){
  .info-article .article-layout{padding-left:16px !important;padding-right:16px !important}
  .info-article .article-body :is(p,li,dd,blockquote){font-size:16px !important;line-height:1.9 !important}
  .info-article .article-body :is(div[style*="padding"],blockquote,.mag-faq){padding-left:14px !important;padding-right:14px !important}
  .info-article .article-body :is(ul,ol){padding-left:1.3em !important;margin-left:0 !important} /* 外側 22px＋内側 21px の二重の字下げで 1 行 17 字まで狭まっていた */
}

/* ==========================================================================
   PC の商品ページ (2026-12-01 ユーザー指示「PC でもスマホと同じ修正フローで全ページ点検のうえ直す」)
   実測 1280px: セクションごとに中身の幅が 1200 / 1120 / 780 / 840 / 1152px、左端が 40 / 64 / 80 / 120 / 220 / 250px、
   上下の余白が 8〜60px とばらばらだった
   ・全セクションの左端を同じ位置に (最大 1320px・左右 40px の枠。1280px 画面で左端 40px)、上下 48px
   ・長い文章は 1 行が長くなりすぎないよう 760px、表は 860px を上限に (左端は枠にそろえたまま)
   ========================================================================== */
@media(min-width:769px){
  .pdr-page > section:not(.product-top):not(.concept-cta-section):not(.oft-mod-wrap),
  .pdr-page .oft-mod-wrap > section{padding-top:48px !important;padding-bottom:48px !important;margin-top:0 !important;margin-bottom:0 !important}
  .pdr-page section > [class*="-inner"]:not(.psb-inner):not(.product-desc-inner),
  .pdr-page .product-desc-inner{max-width:1320px !important;padding-left:40px !important;padding-right:40px !important;margin-left:auto !important;margin-right:auto !important;box-sizing:border-box}
  .pdr-page .product-desc{padding-left:0 !important;padding-right:0 !important}
  .pdr-page .product-desc-inner :is(p,ul,ol,h2,h3,h4,blockquote){max-width:760px}
  .pdr-page :is(.spec-table,.warmth-table){max-width:860px;margin-left:0 !important}
  .pdr-page .wg-about-section,.pdr-page .pdr-contact-section,.pdr-page > section.oft-mod{max-width:1320px !important;padding-left:40px !important;padding-right:40px !important;margin-left:auto !important;margin-right:auto !important;box-sizing:border-box}
  .pdr-page :is(.section-header,.oft-mod-head){margin-bottom:24px !important}
}
/* 11px 未満の文字をなくす (PC・スマホ共通。スマホだけ下限を設けていた) */
:is(.pr-v2-pcard-badge,.pr-v2-pcard-cat,.ccd-badge,.rds-badge,.purchase-coverset-badge,.spec-hl-en,.policy-head-en,.related-mag-cat,.purchase-size-dim,.purchase-variant-oos,.oft-req,.process-step-num){font-size:11px !important}
@media(min-width:769px){
  /* PC の見出しも左寄せ・32px に統一 (中身の列を左端にそろえたので、中央寄せの見出しとずれていた。
     「よくあるご質問」だけ 26px・下線付き・列が中央に寄っていた) */
  .pdr-page :is(.section-header,.oft-mod-head){text-align:left !important;align-items:flex-start !important;justify-content:flex-start !important}
  .pdr-page :is(.section-title,.section-en,.section-sub,.section-lead,.oft-mod-h){text-align:left !important;margin-left:0 !important;margin-right:0 !important}
  .pdr-page .oft-mod-h{font-size:32px !important;font-weight:700 !important;letter-spacing:.04em !important}
  .pdr-page .oft-mod-h::after{display:none !important}
  .pdr-page .oft-faq-list{max-width:860px !important;margin-left:0 !important;margin-right:0 !important}
}
