@charset "utf-8";
/* =============================================================
   ReSarah — About 故事子頁「共用樣式」
   適用：about-story（A07-1）／about-story-1（A07-1-1）／
         about-story-love（A07-2）／about-story-trip（A07-3）

   載入順序：
     slick.css → common.css（全站：Tokens／Reset／Header／Hero 外殼／Footer）
              → about-story-common.css（本檔：四頁共用區塊）
              → 各頁 about-story-*.css

   ★ Header／Footer／Hero 外殼（.hero / .hero__slide / slick-dots）
     一律以 common.css 為主，本檔與各頁 CSS 都「不」覆寫這些樣式，
     HTML 結構也和 header.php／footer.php 相同，日後可直接換成 include。

   本檔規則：
   1. 版位一律 flex，沒有 display:grid
   2. 只寫一個斷點 1024px（≥1024 桌機／<1024 手機）
   3. 圖片寫在 HTML 的 <img>，CSS 不放 background-image；<img> 不寫 width/height，
      版位高度由外層 .media 的 aspect-ratio 撐
   4. 色票、字級都沿用 common.css 的變數（--c-*、--fs-*）

   四頁共用的區塊：
     .btn--sm / .btn--outline   小膠囊按鈕（common.css 沒有的補在這）
     .shero      Hero 文案（疊在 common.css 的 .hero 輪播上）
     .story-label「日常與故事」等區塊標籤（用 common.css 的 .sec-label）
     .lead       方圖置中＋左標題＋右內文（A07-1／A07-2／A07-3）
     .jcard      故事卡：標題壓在圖片上緣、右下「坐下來聽我說」（A07-1、A07-1-1）
     .stack2     英文大字兩行＋第二行旁的標題（A07-2 The shape of love、A07-3 More Than Just New）
     .band       粉色巨型字色帶（A07-2 Shared、A07-3 Cared／Pls Note）
     .lined      左側細線的 6 格說明（A07-2 Shared、A07-3 Process）
     .form2      左說明＋右底線表單（A07-2 Let us listen、A07-3 Application）
     .center     置中收尾（四頁都有）
   ============================================================= */

/* 1440 內容框：裡面的 % 都以 1440 換算 */
.inner { max-width: var(--canvas); margin-inline: auto; }

/* ---------- 補充元件 ---------- */

.word { font-family: var(--ff-display); font-size: var(--fs-word); line-height: .875; white-space: nowrap; }  /* 色帶巨型字 153 */

/* =============================================================
   .shero —— Hero 文案（common.css 的 .hero 負責輪播與高度）
   各頁變數：--sh-x 大字左緣（% of 1440）／--sh-top 大字上緣（% of Hero 高）／--sh-indent 中文內縮
   ============================================================= */
.shero { position: absolute; inset: 0; z-index: 3; max-width: var(--canvas); margin-inline: auto; pointer-events: none; }
.shero__copy {
  position: absolute; left: var(--sh-x, 11.806%); top: var(--sh-top, 42.667%);
  color: var(--c-text-invert); pointer-events: auto;
}
.shero__display { white-space: nowrap; }
.shero__body  { margin-left: var(--sh-indent, 200px); max-width: 340px; }
.shero__title { margin-top: -5px; font-size: var(--fs-title-b); line-height: var(--lh-title-b); font-weight: 500; }
.shero__desc  { margin-top: 11px; line-height: 26px; }
.shero__btns  { margin-top: 11px; }

/* 區塊標籤（Figma Frame 40，x124 y923） */
.story-label { margin: 23px 0 0 8.611%; min-height: 54px; }

/* =============================================================
   .lead —— 方圖 619 置中（x410），左邊標題壓在圖上、右邊內文
   --lead-t：右欄內文往下的距離（A07-1 = 246，其他頁 = 0）
   ============================================================= */
.lead { padding: 0 0 108px; }
.lead__inner { display: flex; align-items: flex-start; margin-top: 31px; }
.lead__head { flex: 0 0 15.972%; min-width: 0; margin: 17.778% 0 0 12.5%; position: relative; z-index: 2; }   /* x180 ／ 下移 256 */
.lead__title { white-space: nowrap; }
.lead__caption { display: inline-block; margin: 15px 0 0 5px; font-size: var(--fs-caption); line-height: var(--lh-caption); }
a.lead__caption { border-bottom: 1px solid currentColor; transition: opacity .25s ease; }
a.lead__caption:hover { opacity: .6; }
.lead__fig { flex: 0 0 42.986%; }                                               /* 619 */
.lead__fig .media { aspect-ratio: 1 / 1; }
.lead__text { flex: 0 0 17.986%; margin: var(--lead-t, 0) 0 0 1.389%; font-size: var(--fs-caption); line-height: 24px; }   /* x1049 w259 */
.lead__text > * + * { margin-top: 14px; }

/* =============================================================
   .jcard —— 故事卡
   標題壓在圖片上緣（照 Figma），圖片寬依 330／475／690 用 flex-grow 分配
   ============================================================= */
.jrow { display: flex; align-items: flex-start; gap: 2.667%; margin-left: 10%; width: 83.333%; }   /* x144 w1200 ／ 間距 32 */
.jrow + .jrow { margin-top: 23px; }
.jcard { position: relative; min-width: 0; display: flex; flex-direction: column; padding-top: 186px; }
.jcard--s { flex: 330 1 0; }
.jcard--m { flex: 475 1 0; }
.jcard--l { flex: 690 1 0; }
.jcard__head { position: absolute; inset: 0 0 auto 0; z-index: 2; }
.jcard__date { padding-left: 11px; font-size: var(--fs-small); line-height: 23px; }
.jcard__excerpt { margin-top: 5px; padding-left: 11px; max-width: 299px; min-height: 60px; font-size: var(--fs-small); line-height: 20px; }
.jcard__title { margin-top: 5px; padding-left: 7px; }
.jcard__fig .media { aspect-ratio: 1 / 1; }
.jcard--s .jcard__fig .media { aspect-ratio: 330 / 475; }
.jcard--l .jcard__fig .media { aspect-ratio: 690 / 475; }
.jcard__btn { align-self: flex-end; margin-top: 23px; }

/* =============================================================
   .stack2 —— 英文大字兩行，標題塞在第二行旁、內文接在下面
   --s2-x 大字左緣／--s2-w 第二行英文佔的寬（＝標題 x − 大字 x）／--s2-d 內文內縮
   ============================================================= */
.stack2 { margin-left: var(--s2-x, 27.639%); }
.stack2__row { display: flex; align-items: flex-end; }
.stack2__word { flex: none; min-width: var(--s2-w, 300px); padding-right: 16px; white-space: nowrap; }
.stack2__desc { margin: var(--s2-dt, 9px) 0 0 var(--s2-d, 213px); max-width: 492px; font-size: var(--fs-caption); line-height: 27px; }

/* =============================================================
   .band —— 粉色巨型字色帶（字是白色、從左邊出血）
   --band-pt 上留白 ／ --band-pb 下留白
   ============================================================= */
.band { background: var(--c-brand-primary); padding: var(--band-pt, 101px) 0 var(--band-pb, 64px); overflow: hidden; }
.band__top { display: flex; align-items: flex-start; }
.band__word { flex: none; margin: var(--word-t, 0) 0 0 -2.847%; color: var(--c-text-invert); }   /* x-41 */
.band__side { margin: var(--side-t, 0) var(--side-r, 9.861%) 0 auto; max-width: var(--side-w, 310px); }
.band__lead { font-weight: 600; line-height: 24px; }
.band__desc { margin-top: 9px; font-size: var(--fs-caption); line-height: 24px; }

/* =============================================================
   .lined —— 左側細線的說明格（3 欄 × 2 列，線在 x208／585／966）
   ============================================================= */
.lined { display: flex; flex-wrap: wrap; row-gap: 40px; margin-left: 14.444%; width: 78.958%; }   /* x208 w1137 */
.lined__item { flex: 0 0 33.333%; min-width: 0; min-height: 100px; padding: 0 24px 0 27px; border-left: 1px solid var(--c-accent-pink); }
.lined__title { font-weight: 600; line-height: 28px; }
.lined__desc { margin-top: 11px; max-width: 257px; font-size: var(--fs-caption); line-height: 24px; }

/* =============================================================
   .form2 —— 左：大字＋說明 ／ 右：底線表單（x592 w649）
   ============================================================= */
.form2 { background: var(--c-surface-default); padding: 100px 0 var(--form-pb, 76px); }
.form2__inner { display: flex; align-items: flex-start; }
.form2__intro { flex: 0 0 24.167%; min-width: 0; margin-left: 8.194%; }        /* x118 w348 */
.form2__sub  { margin: 6px 0 0 6px; font-weight: 600; line-height: 24px; }
.form2__text { margin: 9px 0 0 6px; max-width: 244px; font-size: var(--fs-caption); line-height: 24px; }
.form2__text > * + * { margin-top: 20px; }
.form2__form { flex: 0 0 45.069%; min-width: 0; margin: 27px 0 0 8.75%; }      /* x592 w649 */

.f-group { margin: 0; padding: 0; border: 0; min-width: 0; }                  /* 清掉 fieldset 預設框線與內距 */
.f-group + .f-group { margin-top: 20px; }
.f-head { float: left; width: 100%; padding: 0; margin-bottom: 26px; color: var(--c-surface-gold); font-size: var(--fs-caption); line-height: 28px; }
.f-head + * { clear: both; }
.f-head__en { display: block; font-family: var(--ff-display); }
.f-row { display: flex; gap: 0 5.393%; }                                       /* 兩欄 307 ／ 間距 35 */
.f-row > .f-field { flex: 1 1 0; min-width: 0; }
.f-row + .f-row, .f-row + .f-field, .f-field + .f-field, .f-field + .f-row { margin-top: 24px; }
.f-field { display: block; }
.f-label { display: block; font-size: var(--fs-caption); line-height: 28px; }
.f-input {
  display: block; width: 100%; padding: 8px 4px 9px; margin: 0;
  font: inherit; font-size: var(--fs-caption); line-height: 22px; color: var(--c-text-primary);
  background: none; border: 0; border-bottom: 1px solid var(--c-text-primary); border-radius: 0;
  appearance: none; -webkit-appearance: none;
}
.f-input::placeholder { color: var(--c-text-tertiary); }
select.f-input { cursor: pointer; padding-right: 24px; background: linear-gradient(45deg, transparent 50%, currentColor 50%) right 10px center / 6px 6px no-repeat, linear-gradient(-45deg, transparent 50%, currentColor 50%) right 4px center / 6px 6px no-repeat; }
textarea.f-input { resize: vertical; min-height: 90px; }
.f-input:focus { outline: none; border-bottom-color: var(--c-surface-gold); box-shadow: 0 1px 0 var(--c-surface-gold); }
.f-input:user-invalid { border-bottom-color: #c0392b; }
.f-choices { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: var(--fs-caption); line-height: 28px; }
.f-check { display: inline-flex; align-items: flex-start; gap: 6px; cursor: pointer; }
.f-check input { margin: 7px 0 0; accent-color: var(--c-surface-gold); }
.f-note { margin-top: 20px; font-size: var(--fs-caption); line-height: 24px; color: var(--c-surface-gold); }
.f-submit { width: 99.384%; margin: 40px 0 0 4px; background: var(--c-gold); border-color: var(--c-gold); }   /* 尺寸、字級在 common.css */

/* =============================================================
   .center —— 置中收尾
   --c-pt／--c-pb 上下留白
   ============================================================= */
.center { padding: var(--c-pt, 80px) 0 var(--c-pb, 76px); text-align: center; }
.center__inner { display: flex; flex-direction: column; align-items: center; padding-inline: 20px; }
.center__desc { margin-top: 14px; max-width: 545px; }
.center__desc--left { text-align: left; }
.center__rule { display: block; width: 1px; height: 102px; margin-top: 28px; background: rgba(33,33,33,.35); }
.center__rule + .center__desc { margin-top: 28px; }
.center__note { margin-top: 34px; font-size: var(--fs-caption); line-height: 24px; }
.center__btns { margin-top: 24px; justify-content: center; }

/* =============================================================
   ★ 唯一的斷點：1024px（本檔只寫這一個；Header／Footer 的斷點以 common.css 為準）
   ============================================================= */
@media (max-width: 1023.98px) {
  .shero__copy { left: 20px; right: 20px; top: auto; bottom: 64px; }
  .shero__display { white-space: normal; }
  .shero__body { margin-left: 0; max-width: none; }

  .story-label { margin: 20px 0 0 20px; }

  .lead { padding: 20px 20px 44px; }
  .lead__inner { flex-direction: column; margin-top: 20px; }
  .lead__head { flex: 0 0 auto; margin: 0; }
  .lead__title { white-space: normal; }
  .lead__caption { margin-left: 0; }
  .lead__fig { flex: 0 0 auto; width: 100%; margin-top: 20px; }
  .lead__text { flex: 0 0 auto; margin: 20px 0 0; }

  .jrow { flex-direction: column; width: auto; margin: 0; padding-inline: 20px; gap: 32px; }
  .jrow + .jrow { margin-top: 32px; }
  .jcard { flex: 0 0 auto; width: 100%; padding-top: 0; }
  .jcard__head { position: static; margin-bottom: 12px; }
  .jcard__excerpt { min-height: 0; max-width: none; }
  .jcard--s .jcard__fig .media,
  .jcard--l .jcard__fig .media,
  .jcard__fig .media { aspect-ratio: 4 / 3; }

  .stack2 { margin: 0; padding-inline: 20px; }
  .stack2__row { flex-wrap: wrap; }
  .stack2__word { min-width: 0; }
  .stack2__desc { margin-left: 0; max-width: none; }

  .band { padding: 40px 20px 44px; }
  .band__top { flex-direction: column; }
  .band__word { margin: 0; }
  .band__side { margin: 16px 0 0; max-width: none; }

  .lined { width: 100%; margin: 28px 0 0; padding-inline: 0; row-gap: 24px; }
  .lined__item { flex: 0 0 100%; min-height: 0; padding-left: 16px; }
  .lined__desc { max-width: none; }

  .form2 { padding: 44px 20px 48px; }
  .form2__inner { flex-direction: column; }
  .form2__intro, .form2__form { flex: 0 0 auto; width: 100%; margin: 0; }
  .form2__form { margin-top: 32px; }
  .form2__text { max-width: none; }
  .f-row { flex-direction: column; }
  .f-row > .f-field + .f-field { margin-top: 24px; }
  .f-submit { width: 100%; margin-left: 0; }

  .center { padding: 48px 0 52px; }
  .center .display { font-size: var(--fs-h2); line-height: 44px; }
  .center__rule { height: 64px; }
}
