/* B2 首頁：沿用核准合成稿的版式；所有規則限於首頁區塊。 */
.hero--home { padding: 24px 0; background: var(--color-cream); }
.hero--home .hero__inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; align-items: center; }
.hero--home .hero__title,
.hero--home .hero__title .accent { color: var(--color-ink); }
.hero--home .hero__benefits { flex-wrap: wrap; margin-top: 12px; gap: 10px; color: var(--color-ink); font-size: 16px; line-height: 1.5; font-weight: 700; }
.hero--home .hero__benefits > span { display: inline-flex; align-items: center; gap: 6px; }
.hero--home .b2-home-check { flex: 0 0 16px; width: 16px; height: 16px; }
.hero--home .hero-search { display: block; margin-top: 20px; max-width: 600px; height: 64px; border: 2px solid var(--color-ink); border-radius: 18px; background: var(--color-paper); }
.hero--home .hero-search__input { display: block; width: 100%; height: 60px; min-height: 60px; padding: 0 110px 0 16px; border: 0; border-radius: 16px; background: transparent; }
.hero--home .hero-search__btn { position: absolute; width: 88px; height: 52px; min-height: 52px; padding: 0; top: 4px; right: 4px; border-radius: 13px; }
.hero--home .hero__visual { display: none; }
.hero--home .hero__visual picture { display: block; width: 100%; }
.hero--home .hero__illustration { display: block; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: contain; aspect-ratio: 6 / 5; border-radius: 0; }
.home-sale, .home-steps, .home-faq { padding-block: 36px; }
.hero--home + .home-sale { padding-top: 24px; }
.home-sale { background: var(--color-cream-deep); }
.home-steps { background: var(--color-cream); }
.home-faq { background: var(--color-cream-deep); }
.home-sale .home-head, .home-steps .home-head, .home-faq .home-head { margin-bottom: 16px; }
/* 賣點條（2026-10-17 C）：hero 裡有兩份同內容清單，一次只顯示一份。767px 以下用標題下那份（.home-points--inline，取代「吃到飽」那一行、同字級一行）；768px 起用搜尋框下那份（一行橫排）。 */
.home-points { display: flex; flex-direction: column; gap: 4px; list-style: none; padding: 0; margin: 24px 0 0; }
.home-points__item { display: flex; align-items: center; gap: 12px; min-height: 48px; font-size: 16px; font-weight: 700; color: var(--color-ink); }
.home-points__item > span, .home-points__link > span { white-space: nowrap; }
.home-points__icon { display: block; flex: 0 0 40px; width: 40px; height: 40px; }
.home-points__link { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; color: var(--color-ink); text-decoration: underline; text-underline-offset: 3px; }
.home-points__link:focus-visible { outline: 3px solid var(--color-ink); outline-offset: 3px; }
.hero--home .home-points--inline { display: none; }
/* 767px 以下：標題下那一行換成三項（同原行 16px／700／行高 1.5，圖章 18px 靠左）；原行與搜尋框下那份 display:none，讀屏只念一次。
   LINE 客服點擊區用上下 10px padding 撐到 44px、負 margin 抵回，行高仍是 24px。 */
@media (max-width: 767px) {
  .hero--home .hero-search__item-en { display: none; }
  .hero--home .hero__benefits, .hero--home .home-points { display: none; }
  .hero--home .home-points.home-points--inline { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px; margin: 12px 0 0; }
  .home-points--inline .home-points__item { gap: 6px; min-height: 0; line-height: 1.5; }
  .home-points--inline .home-points__icon { flex: 0 0 18px; width: 18px; height: 18px; }
  .home-points--inline .home-points__link { gap: 6px; min-height: 44px; padding-block: 10px; margin-block: -10px; }
}
/* 預設字級在 320–767 都排成一行：374px 以下（360 寬）圖章縮成 16px、間距收窄；359px 以下（320 寬）省掉圖章，字級字重不變。
   系統字級放大後放不下才折行（flex-wrap: wrap），不被 hero 的橫向裁切切掉；各寬度只改左右間距，上下行距固定 10px，LINE 客服點擊區不壓到上一行（2026-10-17 C2）。 */
@media (max-width: 374px) {
  .hero--home .home-points.home-points--inline { column-gap: 8px; }
  .home-points--inline .home-points__item, .home-points--inline .home-points__link { gap: 4px; }
  .home-points--inline .home-points__icon { flex-basis: 16px; width: 16px; height: 16px; }
}
@media (max-width: 359px) {
  .hero--home .home-points.home-points--inline { column-gap: 16px; }
  .home-points--inline .home-points__icon { display: none; }
}
.home-steps .home-steps__list { grid-template-columns: minmax(0, 1fr); gap: 12px; }
.home-steps .home-step { display: block; overflow: hidden; background: var(--color-paper); }
.home-steps .b2-home-step-art { display: none; }
.home-steps .home-step__details summary { display: grid; grid-template-columns: 36px minmax(0, 1fr) 88px 28px; align-items: center; gap: 8px; min-height: 120px; padding: 16px; }
.home-steps .home-step__num { background: var(--color-cream-deep); color: var(--color-ink); width: 36px; height: 36px; }
.home-steps .b2-home-step-thumb { width: 88px; height: 88px; display: block; object-fit: contain; }
.home-steps .home-step__toggle,
.home-faq .faq-item summary::after { width: 28px; height: 28px; flex: 0 0 28px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--color-cream-deep); color: var(--color-ink); font-size: 20px; font-weight: 400; line-height: 1; }
.home-steps .home-step__toggle::after { font-size: 20px; }
.home-steps .home-step__body { padding: 0 20px 20px; }
.home-faq .container { display: block; }
.home-faq .home-head { display: flex; flex-direction: row; align-items: baseline; justify-content: space-between; row-gap: 4px; max-width: none; }
.home-faq .reading-col, .home-faq .faq-list { max-width: none; width: 100%; margin: 0; }
.home-faq .faq-item summary { padding-right: 62px; }
.home-faq .faq-item summary::after { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 359px) {
  .home-steps .home-step__details summary { grid-template-columns: 32px minmax(0, 1fr) 72px 28px; gap: 4px; padding: 12px; }
  .home-steps .home-step__num { width: 32px; height: 32px; }
  .home-steps .b2-home-step-thumb { width: 72px; height: 72px; }
}
@media (min-width: 768px) {
  .home-points { flex-direction: row; flex-wrap: wrap; column-gap: 48px; row-gap: 4px; align-items: center; }
  .home-points__icon { flex-basis: 48px; width: 48px; height: 48px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .home-steps .home-step__details summary .home-step__title { grid-column: 2; grid-row: 1; }
  .home-steps .home-step__details summary .home-step__toggle { grid-column: 4; grid-row: 1; }
}
/* 1024–1279：hero 左欄只有 452–590px，間距收成 16px、圖章 40px，Windows 傳統捲軸（15–17px）下仍排成一行。 */
@media (min-width: 1024px) and (max-width: 1279px) {
  .home-points { column-gap: 16px; }
  .home-points__icon { flex-basis: 40px; width: 40px; height: 40px; }
}
@media (min-width: 1024px) {
  .hero--home .hero__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: center; }
  .hero--home .hero__title { font-size: 48px; line-height: 1.25; }
  .hero--home .hero__benefits { font-size: 22px; gap: 16px; margin-top: 18px; }
  .hero--home .b2-home-check { width: 20px; height: 20px; flex-basis: 20px; }
  .hero--home .hero-search { margin-top: 24px; }
  .hero--home .hero__visual { display: block; height: 500px; }
  .hero--home .hero__visual picture { width: 600px; height: 500px; max-width: 100%; margin-inline: auto; }
  .home-sale, .home-steps, .home-faq { padding-block: 48px; }
  .hero--home + .home-sale { padding-top: 40px; }
  .home-steps .home-steps__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .home-steps .b2-home-step-art { display: block; width: 100%; height: 160px; }
  .home-steps .b2-home-step-art img { display: block; width: 100%; height: 160px; object-fit: contain; }
  .home-steps .home-step__details summary { grid-template-columns: 36px minmax(0, 1fr) 28px; min-height: 92px; padding: 20px 16px; }
  .home-steps .b2-home-step-thumb { display: none; }
}
@media (forced-colors: active) {
  .hero--home .hero__visual,
  .home-steps .b2-home-step-art, .home-steps .b2-home-step-thumb { forced-color-adjust: none; background: #FAF6EE; }
}
