/* ========================================
   商品一覧ページ SP版（2026-10-21）
   共通HTMLを再利用。SPテーマではこのCSSが本文のPC CSSより先に入るため、
   商品本文でも同じCSSを後読みする。PC幅・他ページには適用しない。
======================================== */
@media screen and (max-width:767px) {
  /* 商品ページのテーマ本文枠だけを解除。標準スマホメニューは維持 */
  article:has(> #kiji_area .product-list-page) > #kiji_title { display:none; }
  #kiji_area:has(.product-list-page) { width:auto; margin:0; padding:0; border:0; background:#f6f3ec; }
  #kiji_area:has(.product-list-page) > div[style="display:flex; margin-bottom:10px;"] { display:none !important; }
  .product-list-page { width:100%; max-width:100%; overflow:clip; }
  .product-list-page .product-inner { width:100%; max-width:100%; margin:0 auto; padding:0 24px; }
  .product-list-page picture { display:block; }

  /* ファーストビュー：コピーと3商品を縮小。メニュー下端と波の最上部の間で上下余白を確保（2026-10-21調整）。演出は既存JSを継承 */
  .product-list-page .product-hero { min-height:0; padding:32px 20px 16px; background:none; }
  .product-list-page .product-hero::before { content:""; position:absolute; inset:0 0 80px; background:url("https://www.aso-kurarafarm.jp/cc105284/file/319606.png") center / cover no-repeat; }
  .product-list-page .product-hero__inner { width:100%; max-width:440px; }
  .product-list-page .product-hero__main { display:grid; grid-template-columns:minmax(0,1fr); gap:24px; padding-bottom:40px; }
  .product-list-page .product-hero__copy { width:72%; max-width:260px; margin:0 auto; align-self:auto; }
  .product-list-page .product-hero__items { width:68%; max-width:246px; margin:0 auto; gap:0; }
  .product-list-page .product-hero__item { width:100%; height:auto; }
  .product-list-page .product-hero__wave { bottom:79px; height:28px; }

  /* FVアンカーボタン：pictureで正式SP画像へ切替 */
  .product-list-page .product-hero__nav { width:100%; gap:12px; margin:38px auto 0; }
  .product-list-page .product-hero__nav img { width:100%; height:auto; }
  .product-list-page .product-section { scroll-margin-top:20px; }

  /* MUKU・定番商品・その他：赤線と既存商品順を維持 */
  .product-list-page .product-section--mutenka { padding:32px 0 0; }
  .product-list-page .product-section--teiban { padding:76px 0 0; }
  .product-list-page .product-section--sonota { padding:76px 0 0; }
  .product-list-page .product-section .product-section__heading { font-size:26px; line-height:1.3; font-weight:700; padding:0 0 24px; margin:0 0 64px; border-bottom:2px solid #b52e30; }
  .product-list-page .product-items,
  .product-list-page .product-section--mutenka .product-items { gap:64px; }

  /* 商品カード：写真→受賞表記→商品名→価格→既存一言→詳細ボタン */
  .product-list-page .product-item { display:grid; grid-template-columns:minmax(0,1fr); gap:18px; width:100%; margin:0; padding:0; }
  .product-list-page .product-section--mutenka .product-item:nth-child(3) { margin-top:0; }
  .product-list-page .product-item .product-item__image { grid-column:1; grid-row:1; width:calc(100% - 24px); height:auto; max-width:100%; margin:0 auto; object-fit:contain; border-radius:26px; box-shadow:3px 4px 10px rgba(73,57,44,.12); }
  .product-list-page .product-item .product-item__text { grid-column:1; grid-row:2; width:100%; min-width:0; }
  .product-list-page .product-item__award { font-size:14px; line-height:1.5; }
  .product-list-page .product-item__name { font-size:20px; line-height:1.4; font-weight:700; letter-spacing:0; overflow-wrap:anywhere; }
  .product-list-page .product-item__price { font-size:15px; line-height:1.6; padding:3px 0 7px; }
  .product-list-page .product-item__description { font-size:14px; line-height:1.7; margin:10px 0 0; }

  /* 詳しくはこちら：既存リンク・未設定状態を維持 */
  .product-list-page .product-item__detail { width:170px; max-width:80%; margin:18px auto 0; }
  .product-list-page .product-item__detail img { width:100%; height:auto; max-width:100%; }

  /* オンラインショップ：MUKU末尾のSP要素のみ表示 */
  .product-list-page .product-muku-cta { display:block !important; margin:54px auto 0; text-align:center; }
  .product-list-page .product-muku-cta .product-shop-cta__link,
  .product-list-page .product-shop-cta .product-shop-cta__link { width:100%; max-width:330px; }
  .product-list-page .product-shop-cta__link img { width:100%; height:auto; max-width:100%; }
  .product-list-page .product-shop-cta { padding:68px 0 70px; }
  .product-list-page .product-shop-cta__wave { height:75px; }

  /* 既存店舗情報・Map：内容を維持してスマホ幅に収める */
  .product-list-page .product-shop { padding:8px 0 40px; }
  .product-list-page .product-shop__inner { display:grid; grid-template-columns:minmax(0,1fr); gap:26px; }
  .product-list-page .product-shop__address { font-size:15px; line-height:1.7; }
  .product-list-page .product-shop__postal { font-size:16px; }
  .product-list-page .product-shop__phone { font-size:21px; }
  .product-list-page .product-shop__privacy { margin-top:16px; font-size:12px; }
  .product-list-page .product-shop__map { width:100%; height:200px; border-radius:24px; }
  .product-list-page .product-shop__map iframe { width:100%; height:100%; max-width:100%; }
}

/* ========================================
   こだわりページ SP版（2026-10-21）
   PC/SP共通HTML・素材・文章を再利用。既存PCの!important指定だけ同じ強さで上書き。
   スマホテーマ→custom_sp.css→本文PC CSSの順を補うため、本文でもこのCSSを後読み。
======================================== */
@media screen and (max-width:767px) {
  /* 本文枠：標準スマホメニューには触れない */
  article:has(> #kiji_area .kodawari-page) > #kiji_title { display:none; }
  #kiji_area:has(.kodawari-page) { width:auto; margin:0; padding:0; border:0; background:#f6f3ec; }
  #kiji_area:has(.kodawari-page) > div[style="display:flex; margin-bottom:10px;"] { display:none !important; }
  .kodawari-page { width:100%; max-width:100%; overflow:clip; font-size:16px; }
  .kodawari-page .kodawari-inner { width:100%; max-width:480px; padding:0 32px; }

  /* FV・導入文：PCの阿蘇背景を縦長に。文章量に応じて高さが伸びる */
  .kodawari-page .kodawari-hero { min-height:0; padding:36px 0 66px !important; }
  .kodawari-page .kodawari-hero__background { background-position:52% center; }
  .kodawari-page .kodawari-hero__copy { font-size:22px !important; line-height:1.7 !important; margin:0 0 24px !important; letter-spacing:0; }
  .kodawari-page .kodawari-hero__copy > span { display:block; }
  .kodawari-page .kodawari-hero__copy > br { display:none; }
  .kodawari-page .kodawari-hero__text p { font-size:15.5px !important; line-height:1.7 !important; margin:0 0 20px !important; }
  .kodawari-page .kodawari-hero__text p:last-child { margin-bottom:0 !important; }
  .kodawari-page .kodawari-hero__wave { height:32px; }

  /* 父の味を受け継ぐ：段落は維持し、自然に折り返す */
  .kodawari-page .kodawari-father { padding:32px 0 48px !important; }
  .kodawari-page .kodawari-heading { font-size:24px !important; line-height:1.75 !important; margin:0 0 20px !important; }
  .kodawari-page .kodawari-text p { font-size:16px !important; line-height:1.8 !important; margin:0 0 24px !important; letter-spacing:0; }
  .kodawari-page .kodawari-text p:last-child { margin-bottom:0 !important; }
  .kodawari-page .kodawari-father__background svg { height:320px; bottom:-150px; }

  /* 桜写真・手作り／スタッフ写真・阿蘇の自然／牛写真 */
  .kodawari-page .kodawari-stories { padding:0 0 98px !important; }
  .kodawari-page .kodawari-row { display:flex; flex-direction:column; gap:24px; align-items:stretch; }
  .kodawari-page .kodawari-row .kodawari-section__image { width:100% !important; height:auto !important; max-width:100% !important; border-radius:28px; object-fit:contain; }
  .kodawari-page .kodawari-row .kodawari-section__text { width:100%; min-width:0; padding:0; }
  .kodawari-page .kodawari-staff,
  .kodawari-page .kodawari-cow { margin-top:60px !important; }
  /* 縦書きコピーは支給写真内の文字。画像全体を表示して保持 */

  /* 店舗情報：既存住所・リンク・Google Mapを維持 */
  .kodawari-page .kodawari-shop { padding:40px 0 40px !important; }
  .kodawari-page .kodawari-shop__wave { top:-43px; height:44px; }
  .kodawari-page .kodawari-shop__inner { display:grid; grid-template-columns:minmax(0,1fr); gap:26px; }
  .kodawari-page .kodawari-shop__address { font-size:15px; line-height:1.7; }
  .kodawari-page .kodawari-shop__postal { font-size:16px; }
  .kodawari-page .kodawari-shop__phone { font-size:21px; }
  .kodawari-page .kodawari-shop__privacy { margin-top:16px; font-size:12px; }
  .kodawari-page .kodawari-shop__map { width:100%; height:200px; border-radius:24px; }
  .kodawari-page .kodawari-shop__map iframe { width:100% !important; height:100% !important; max-width:100% !important; }
}

/* ========================================
   店舗情報ページ SP版（2026-10-21）
   PCと同じ写真・本文・Map・既存Observerを使用。
   SPテーマの後に本文PC CSSが入るため、本文でもこのCSSを後読みする。
======================================== */
@media screen and (max-width:767px) {
  article:has(> #kiji_area .shop-info-page) > #kiji_title { display:none; }
  #kiji_area:has(.shop-info-page) { width:auto; margin:0; padding:0; border:0; background:#eae0d7; }
  #kiji_area:has(.shop-info-page) > div[style="display:flex; margin-bottom:10px;"] { display:none !important; }
  .shop-info-page { width:100%; max-width:100%; overflow:clip; font-size:16px; }
  .shop-info-page .shop-inner { width:calc(100% - 40px); max-width:460px; }

  /* FV：正式PC写真を比率を崩さずトリミング。入口＋右側の黒看板を残す */
  .shop-info-page .shop-hero { height:clamp(220px,65vw,290px); }
  .shop-info-page .shop-hero__blur-bg { display:none; }
  .shop-info-page .shop-hero__photo { width:100%; height:100%; object-fit:cover; object-position:94% center; -webkit-mask-image:none; mask-image:none; }
  .shop-info-page .shop-hero__wave { height:34px; }

  /* リード文：明朝体を継承。狭すぎない文章幅と十分な行間 */
  .shop-info-page .shop-lead-section { padding:46px 16px 70px; }
  .shop-info-page .shop-lead { width:100%; max-width:420px; font-size:clamp(12.5px,3.2vw,14px); line-height:2.15; letter-spacing:.06em; }
  .shop-info-page .shop-lead p + p { margin-top:26px; }
  .shop-info-page .shop-lead p:nth-child(3) { margin-top:0; }
  .shop-info-page .shop-lead__wave { height:38px; }
  /* 必要時だけ意味単位で折り返す補助。PCでは通常のinlineを維持 */
  .shop-info-page .shop-lead-line { display:block; }
  .shop-info-page .shop-lead br { display:none; }

  /* 店舗基本情報：営業時間・TELは横並び。所在地のみ3段 */
  .shop-info-page .shop-details { padding:34px 0 50px; }
  .shop-info-page .shop-basic-info { gap:13px; font-size:16px; line-height:1.8; }
  .shop-info-page .shop-basic-row { gap:14px; }
  .shop-info-page .shop-basic-row:last-child { display:block; margin-top:8px; }
  .shop-info-page .shop-basic-row:last-child dd { max-width:100%; }
  .shop-info-page .shop-postal,
  .shop-info-page .shop-street { display:block; }
  .shop-info-page .shop-address-gap { display:none; }
  .shop-info-page .shop-divider { width:88px; margin:40px auto 44px; }

  /* アクセス：文言は維持。末尾の短い句が不自然に分断されないようにする */
  .shop-info-page .shop-access h2 { font-size:16px; line-height:1.7; margin:0 0 9px; }
  .shop-info-page .shop-access p { max-width:29em; margin:0 auto; font-size:14px; line-height:2.1; }
  .shop-info-page .shop-access p + p { margin-top:8px; }
  .shop-info-page .shop-access-tail { display:inline-block; }
  .shop-info-page .shop-access-group + .shop-access-group { margin-top:34px; }

  .shop-info-page .shop-access-group:last-child p { font-size:13px; }

  /* Google Map：実埋め込みのまま、左右余白と大きな角丸を確保 */
  .shop-info-page .shop-map { width:86%; max-width:430px; aspect-ratio:1; margin:52px auto 0; border-radius:30px; }
  .shop-info-page .shop-map iframe { width:100%; height:100%; max-width:100%; }

  /* 運営 */
  .shop-info-page .shop-company { margin:44px 16px 0; gap:10px; font-size:15px; line-height:1.8; }
}

/* ========================================
   共通スマホヘッダー（2026-10-21）
   SPテーマ固有の #site_id_block を持つheaderだけを対象。
   HOMEリンク・p.toggle・直後のメニュー・閉じる処理は既存のまま再利用。
======================================== */
@media screen and (max-width:767px) {
  header:has(> #site_id_block) { position:relative; z-index:2000; display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); align-items:center; gap:0; height:76px; padding:12px 20px; box-sizing:border-box; background:#fff; border:0; }
  header:has(> #site_id_block)::before,
  header:has(> #site_id_block)::after { content:none; }

  /* ロゴ中央配置：220px→200px（約9%縮小）。左右の等幅列で画面中央へ。既存HOMEリンクを維持 */
  header > #site_id_block { grid-column:2; width:200px; max-width:calc(100vw - 152px); min-width:0; margin:0; padding:0; border:0; background:none; box-shadow:none; }
  header > #site_id_block::after { content:none; }
  header > #site_id_block #site_id { display:none !important; }
  header > #site_id_block .to_home { float:none; width:100%; margin:0; padding:0; text-align:left; }
  header > #site_id_block .to_home a { display:block; width:100%; height:50px; background:url("https://www.aso-kurarafarm.jp/cc105284/file/319391.png") left center / contain no-repeat; }
  /* HOME画像は見た目だけ隠し、リンクの既存アクセシブル名を維持 */
  header > #site_id_block .to_home img { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); }

  /* ハンバーガー：既存p.toggleを44pxのタップ領域として利用 */
  header:has(> #site_id_block) #header_menu { position:static; grid-column:3; justify-self:end; width:44px; margin:0; padding:0; border:0; background:none; }
  header:has(> #site_id_block) #menu_list { width:44px; margin:0; padding:0; }
  header:has(> #site_id_block) #menu_list > .menu_block { float:none; width:44px !important; margin:0; padding:0; }
  header:has(> #site_id_block) #menu_list .menu_block p.toggle { position:relative; display:grid; place-items:center; width:44px; height:44px; margin:0; padding:0 !important; border:0; box-sizing:border-box; cursor:pointer; color:#923832; background:linear-gradient(currentColor,currentColor) center / 25px 2px no-repeat; transition:color .18s ease .18s; }
  /* ハンバーガークリックアニメーション：中央へ寄せる→×。逆順で三本線へ戻す（合計.36秒） */
  header:has(> #site_id_block) #menu_list p.toggle::before,
  header:has(> #site_id_block) #menu_list p.toggle::after { content:""; position:absolute; left:calc(50% - 12.5px); top:calc(50% - 1px); display:block; width:25px; height:2px; background:#923832; transform-origin:center; pointer-events:none; transition:rotate .18s ease, translate .18s ease .18s; }
  header:has(> #site_id_block) #menu_list p.toggle::before { translate:0 -8.5px; rotate:0deg; }
  header:has(> #site_id_block) #menu_list p.toggle::after { translate:0 8.5px; rotate:0deg; }
  /* 既存JSが付ける実際のdisplayを参照。再タップ・下部「閉じる」のどちらにも同期 */
  header:has(> #site_id_block) #menu_list p.toggle:has(+ .menu_s_block[style*="display: block"]) { color:transparent; transition:color .18s ease; }
  header:has(> #site_id_block) #menu_list p.toggle:has(+ .menu_s_block[style*="display: block"])::before,
  header:has(> #site_id_block) #menu_list p.toggle:has(+ .menu_s_block[style*="display: block"])::after { translate:0 0; transition:translate .18s ease, rotate .18s ease .18s; }
  header:has(> #site_id_block) #menu_list p.toggle:has(+ .menu_s_block[style*="display: block"])::before { rotate:45deg; }
  header:has(> #site_id_block) #menu_list p.toggle:has(+ .menu_s_block[style*="display: block"])::after { rotate:-45deg; }
  header:has(> #site_id_block) #menu_list p.toggle img { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); }

  /* 開閉メニュー：displayは既存JSに任せ、常時表示を指定しない */
  header:has(> #site_id_block) #menu_list .menu_s_block { position:absolute; top:100%; left:12px; right:12px; width:auto; max-height:calc(100dvh - 88px); overflow-y:auto; overscroll-behavior:contain; margin:0; padding:0; background:#923832; z-index:2100; box-sizing:border-box; opacity:0; clip-path:inset(0 0 100% 0); transform:translateY(-8px); pointer-events:none; transition:opacity .38s ease, clip-path .38s cubic-bezier(.22,.61,.36,1), transform .38s ease, display .38s allow-discrete; }
  /* 共通SPメニュー：既存display切替のまま、一覧全体を上端から展開／収納 */
  header:has(> #site_id_block) #menu_list .menu_s_block[style*="display: block"] { opacity:1; clip-path:inset(0); transform:translateY(0); pointer-events:auto; }
  @starting-style {
    header:has(> #site_id_block) #menu_list .menu_s_block[style*="display: block"] { opacity:0; clip-path:inset(0 0 100% 0); transform:translateY(-8px); }
  }
  /* テーマのclearfix用疑似要素による不要な内側スクロールを防ぐ */
  header:has(> #site_id_block) #menu_list .menu_s_block::after { content:none; }
  header:has(> #site_id_block) #menu_list .menu_s2 { margin:0; padding:0; background:#923832; }

  /* メニュー項目・白い矢印 */
  header:has(> #site_id_block) #menu_list .menu_s2 li { margin:0; padding:0; background:#923832; }
  header:has(> #site_id_block) #menu_list .menu_s2 li a { position:relative; display:block; margin:0; padding:18px 50px 18px 20px; border:0; border-bottom:1px solid rgba(255,255,255,.3); background:none; color:#fff; font-size:15px; line-height:1.5; font-weight:700; text-decoration:none; }
  header:has(> #site_id_block) #menu_list .menu_s2 li a::after { content:""; position:absolute; right:22px; top:50%; width:8px; height:8px; border-right:2px solid #fff; border-bottom:2px solid #fff; transform:translateY(-50%) rotate(-45deg); }

  /* 閉じるボタン：既存のクリック処理を継承 */
  header:has(> #site_id_block) #menu_list .menu_close { background:#923832; }
  header:has(> #site_id_block) #menu_list .menu_close a { display:block; width:100%; margin:0; padding:17px 0; border:0; background:#923832; color:#fff; font-size:15px; line-height:1.5; text-align:center; text-decoration:none; }
  header:has(> #site_id_block) #menu_list .menu_close a::before { content:"×  閉じる"; }
  header:has(> #site_id_block) #menu_list .menu_close img { display:none; }
  header:has(> #site_id_block) #menu_list a:focus-visible { outline:2px solid #fff; outline-offset:-4px; }
  header > #site_id_block .to_home a:focus-visible { outline:2px solid #923832; outline-offset:3px; }
}

/* OSで動きを抑える設定の場合も、開閉状態の見た目は同期して表示 */
@media screen and (max-width:767px) and (prefers-reduced-motion:reduce) {
  header:has(> #site_id_block) #menu_list .menu_block p.toggle,
  header:has(> #site_id_block) #menu_list .menu_block p.toggle::before,
  header:has(> #site_id_block) #menu_list .menu_block p.toggle::after { transition:none; }
}

/* ========================================
   共通SPフッター調整（2026-10-21）
   スマホ専用DOMを持つページのみ。PCのfooter・切替機能は対象外。
======================================== */
@media screen and (max-width:767px) {
  /* 本文が短いページでもPAGE TOPの下に空白を残さない */
  body:has(> header > #site_id_block) { min-height:100svh; display:flex; flex-direction:column; }
  body:has(> header > #site_id_block) > header,
  body:has(> header > #site_id_block) > footer { flex-shrink:0; }
  body:has(> header > #site_id_block) > article { flex:1 0 auto; }
  body:has(> header > #site_id_block) > footer { margin:0; padding:0; background:#fff; }
  /* Copyright：上下paddingを均等にして中央配置 */
  body:has(> header > #site_id_block) > footer #copy { margin:0; padding:24px 16px; background:#fff; text-align:center; }
  /* PAGE TOP：既存画像・三角形・スクロール機能を継承 */
  body:has(> header > #site_id_block) > footer #page_top { margin:0; padding:0; background:#923832; }
  body:has(> header > #site_id_block) > footer #page_top a { display:flex; align-items:center; justify-content:center; min-height:40px; padding:10px 0; box-sizing:border-box; background:#923832; color:#fff; }
  body:has(> header > #site_id_block) > footer #page_top a::after { border-bottom-color:#923832; }
  body:has(> header > #site_id_block) > footer #page_top img { display:block; max-width:100%; height:auto; }
  body:has(> header > #site_id_block) > footer #page_top a:active { opacity:.9; }
  /* PC版サイトを見る：スマホ表示では余白ごと非表示 */
  body:has(> header > #site_id_block) #switch_device { display:none !important; margin:0; padding:0; }
}
@media screen and (max-width:767px) and (prefers-reduced-motion:reduce) {
  header:has(> #site_id_block) #menu_list .menu_s_block { transition:none; }
}

/* ========================================
   スマートフォンTOP（2026-10-23）
   ID10：FV／CMS自動新着／ID11：本文。PC CSS・共通ヘッダー・フッターは変更しない。
======================================== */
@media screen and (max-width:767px) {
  /* CMSの自由欄外枠：TOP専用要素が存在する記事だけに限定 */
  body > article:has(#sp-top-hero) > h1.free_title { display:none; }
  body > article:has(#sp-top-hero) > .free_area { margin:0; padding:0; border:0; background:none; }
  .sp-top-page { width:100%; max-width:100%; margin:0; padding:0; color:#61554d; background:#fff; font-family:"Zen Kaku Gothic New",sans-serif; font-size:15px; line-height:1.75; text-align:left; }
  .sp-top-page *, .sp-top-page *::before, .sp-top-page *::after { box-sizing:border-box; }
  .sp-top-page section, .sp-top-page article, .sp-top-page h1, .sp-top-page h2, .sp-top-page h3, .sp-top-page p { margin:0; padding:0; border:0; background:none; color:inherit; }
  .sp-top-page img { display:block; width:100%; max-width:100%; height:auto; margin:0; border:0; }
  .sp-top-page .sp-top-inner { width:calc(100% - 40px); max-width:440px; margin:0 auto; }
  .sp-top-page .sp-top-stack { display:grid; grid-template-columns:minmax(0,1fr); gap:20px; }
  .sp-top-page .sp-top-button { display:block; max-width:100%; text-decoration:none; transition:opacity .2s ease; }
  .sp-top-page .sp-top-button:not([href]) { cursor:default; }
  .sp-top-page .sp-top-button:active { opacity:.85; }
  .sp-top-page a:focus-visible { outline:2px solid #923832; outline-offset:4px; }
  .sp-top-page .sp-top-wave { position:absolute; left:0; width:100%; pointer-events:none; }
  .sp-top-page .sp-top-wave svg { display:block; width:100%; height:100%; }

  /* FV：新支給の背景・文言・ボタン3層。各画像の縦横比を維持 */
  .sp-top-page.sp-top-hero { position:relative; aspect-ratio:782 / 772; overflow:hidden; background:#f6f3ec url("https://www.aso-kurarafarm.jp/cc105284/file/319725.png") center / cover no-repeat; }
  .sp-top-page .sp-top-hero__copy { position:absolute; top:6.5%; left:9%; width:72%; z-index:1; animation:spTopCopyIn 1.1s ease .15s backwards; }
  .sp-top-page .sp-top-hero__button { position:absolute; left:10%; bottom:11%; width:80%; z-index:1; animation:spTopButtonIn .9s ease .85s backwards; }
  .sp-top-page .sp-top-hero__wave { height:30px; bottom:-1px; }

  /* CMS新着：記事数・DOM・リンクを維持。入れ子の各記事リンク内だけ2列化 */
  body > article:has(#sp-top-hero) > #title { margin:0; padding:25px 20px 10px; border:0; box-shadow:none; background:#f6f3ec; font-size:0; line-height:0; text-align:center; color:#61554d; }
  body > article:has(#sp-top-hero) > #title::before { content:"お知らせ"; display:block; font-size:16px; line-height:1.5; font-weight:500; }
  body > article:has(#sp-top-hero) > section:has(#news_list) { margin:0; padding:0 0 25px; background:#f6f3ec; }
  body > article:has(#sp-top-hero) #news_list { width:calc(100% - 80px); max-width:400px; margin:0 auto; padding:0; }
  body > article:has(#sp-top-hero) #news_list .news_block { margin:0; padding:0; border:0; background:none; }
  body > article:has(#sp-top-hero) #news_list .news_block > a { display:grid; grid-template-columns:85px minmax(0,1fr); gap:10px; align-items:baseline; position:static; padding:3px 0; border:0; background:none; color:#61554d; text-decoration:none; }
  body > article:has(#sp-top-hero) #news_list .news_block > a::before,
  body > article:has(#sp-top-hero) #news_list .news_block > a::after,
  body > article:has(#sp-top-hero) #news_list #to_list a::before,
  body > article:has(#sp-top-hero) #news_list #to_list a::after { content:none; }
  body > article:has(#sp-top-hero) #news_list .kiji_title { grid-column:2; grid-row:1; font-size:13px; font-weight:400; line-height:1.6; margin:0; padding:0; overflow-wrap:anywhere; }
  body > article:has(#sp-top-hero) #news_list .day { grid-column:1; grid-row:1; font-size:12px; line-height:1.6; margin:0; padding:0; color:#61554d; }
  body > article:has(#sp-top-hero) #news_list #to_list { padding:0; margin:17px 0 0; text-align:center; }
  body > article:has(#sp-top-hero) #news_list #to_list a { display:inline-block; position:relative; margin:0; padding:3px 12px; border:1px solid #cc2e36; border-radius:20px; box-shadow:none; background:none; color:#cc2e36; font-size:0; line-height:1.4; }
  body > article:has(#sp-top-hero) #news_list #to_list a::before { content:"一覧へ"; display:inline; position:static; transform:none; width:auto; height:auto; margin:0; background:none; font-size:11px; }

  /* 見出し・選ばれる理由 */
  .sp-top-page .sp-top-heading { font-size:23px; line-height:1.5; font-weight:700; text-align:center; margin:0 0 24px; }
  .sp-top-page .sp-top-heading::after { content:""; display:block; width:58px; height:2px; margin:15px auto 0; background:#ca2e36; }
  .sp-top-page .sp-top-reasons { padding:10px 0 40px; background:#f6f3ec; }
  .sp-top-page .sp-top-reasons__heading { display:flex; gap:16px; align-items:center; font-size:17px; line-height:1.45; text-align:center; margin:0 0 22px; }
  .sp-top-page .sp-top-reasons__heading::before, .sp-top-page .sp-top-reasons__heading::after { content:""; flex:1; height:1px; background:#9c9187; }
  .sp-top-page .sp-top-reason { display:grid; grid-template-columns:84px minmax(0,1fr); align-items:center; gap:20px; min-height:124px; padding:18px 20px; border-radius:26px; background:#fff; }
  .sp-top-page .sp-top-reason h3 { color:#cc2e36; font-size:17px; line-height:1.5; font-weight:700; margin-bottom:4px; }
  .sp-top-page .sp-top-reason p { color:#8a7c70; font-size:13px; line-height:1.8; }

  /* おすすめ商品：画像→2列の説明・価格・支給購入ボタン */
  .sp-top-page .sp-top-products { padding:28px 0 34px; }
  .sp-top-page .sp-top-product { border-radius:26px; overflow:hidden; background:#f6f3ec; box-shadow:2px 4px 6px rgba(83,65,50,.13); }
  .sp-top-page .sp-top-product__image { aspect-ratio:1.85; object-fit:cover; }
  .sp-top-page .sp-top-product__body { display:grid; grid-template-columns:minmax(0,1fr) 116px; column-gap:8px; row-gap:6px; align-items:start; padding:18px 20px 20px; }
  .sp-top-page .sp-top-product h3 { grid-column:1; grid-row:1; font-size:20px; line-height:1.4; font-weight:700; }
  .sp-top-page .sp-top-product__description { grid-column:1; grid-row:2; font-size:12.5px; line-height:1.8; }
  .sp-top-page .sp-top-product__price { grid-column:2; grid-row:1; align-self:center; white-space:nowrap; color:#ca2e36; font-size:13px; line-height:1.6; }
  .sp-top-page .sp-top-product__purchase { grid-column:2; grid-row:2; width:116px; min-height:44px; display:flex; align-items:center; }
  .sp-top-page .sp-top-products__list { width:90%; margin:32px auto 0; }

  /* こだわり：スマホ専用写真と支給ボタン */
  .sp-top-page .sp-top-story { padding:10px 0 34px; }
  .sp-top-page .sp-top-story__card { border-radius:22px; overflow:hidden; background:#f6f3ec; }
  .sp-top-page .sp-top-story__body { padding:20px; }
  .sp-top-page .sp-top-story h2 { font-size:22px; line-height:1.5; font-weight:700; margin-bottom:12px; }
  .sp-top-page .sp-top-story p { font-size:14px; line-height:1.9; margin-bottom:15px; }

  /* こんなシーンにおすすめ：写真・文言はPC版と同じ */
  .sp-top-page .sp-top-scenes { padding:10px 0 32px; }
  .sp-top-page .sp-top-scene { border-radius:22px; overflow:hidden; background:#f6f3ec; }
  .sp-top-page .sp-top-scene__image { aspect-ratio:1.85; object-fit:cover; }
  .sp-top-page .sp-top-scene__body { padding:10px 14px 15px; text-align:center; }
  .sp-top-page .sp-top-scene h3 { font-size:18px; line-height:1.5; font-weight:700; margin-bottom:2px; }
  .sp-top-page .sp-top-scene p { font-size:12px; line-height:1.65; color:#8a7c70; }

  /* オンラインショップCTA：319732は暗さ調整済み。追加の暗幕は重ねない */
  .sp-top-page .sp-top-shop { padding:18px 0 0; }
  .sp-top-page .sp-top-shop__card { position:relative; aspect-ratio:1; display:flex; align-items:flex-end; overflow:hidden; border-radius:22px; background:url("https://www.aso-kurarafarm.jp/cc105284/file/319732.png") center / cover no-repeat; }
  .sp-top-page .sp-top-shop__text { width:100%; padding:20px; color:#fff; }
  .sp-top-page .sp-top-shop h2 { font-size:20px; font-weight:700; line-height:1.65; margin-bottom:10px; color:#fff; }
  .sp-top-page .sp-top-shop p { font-size:13px; line-height:1.8; margin:0 0 16px; max-width:18em; color:#fff; }

  /* 店舗情報：Mapは追加せず、既存共通Copyright・PAGE TOPへ接続 */
  .sp-top-page .sp-top-access { position:relative; margin-top:55px; padding:76px 0 80px; background:#eae0d7; }
  .sp-top-page .sp-top-access__wave { top:-35px; height:36px; }
  .sp-top-page .sp-top-access .sp-top-inner { width:calc(100% - 80px); }
  .sp-top-page .sp-top-access address { font-style:normal; font-size:12px; line-height:1.8; font-weight:500; }
  .sp-top-page .sp-top-access__tel { font-size:18px; line-height:1.5; }
  .sp-top-page .sp-top-access__privacy { display:inline-block; margin-top:14px; color:#61554d; font-size:10px; line-height:1.6; text-decoration:underline; }
}
@keyframes spTopCopyIn { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:translateY(0); } }
@keyframes spTopButtonIn { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:translateY(0); } }
@media screen and (max-width:767px) and (prefers-reduced-motion:reduce) {
  .sp-top-page .sp-top-hero__copy, .sp-top-page .sp-top-hero__button { animation:none; }
  .sp-top-page .sp-top-button { transition:none; }
}
