/*
 * 集團首頁（葉影版）專用樣式
 * 只由 src/index.html、各語系 index.html 與集團層級頁面（scripts/build-group-shell.js 管的頁）載入。不需 Tailwind build。
 * 品牌色：jet #313133、laurel #A3B18A、artichoke #7A8960、葉影牆 #EEEEEA
 */

/* 明體：Noto Serif TC 只收首頁用到的字（scripts 產生的子集），其餘退回系統明體 */
@font-face {
  font-family: "Fooyee Serif TC";
  src: url("../fonts/noto-serif-tc-home-subset.17f65be5.woff2") format("woff2");
  font-weight: 300 400;
  font-style: normal;
  font-display: swap;
}

/* 集團頁的數字（價格、折數、人數）改用明體的數字：Italiana 的 4、5 是舊式字形，價格不好讀 */
/* 集團層級頁（.fy-g）的明體標題：字比首頁多，另用一份子集，首頁不下載（scripts/build-group-serif-subset.py） */
@font-face {
  font-family: "Fooyee Serif Group";
  src: url("../fonts/noto-serif-tc-group-subset.339b5b22.woff2") format("woff2");
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fooyee Serif Digits";
  src: url("../fonts/noto-serif-tc-group-subset.339b5b22.woff2") format("woff2");
  font-weight: 300 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0030-0039;
}

.fy-home,
.fy-home *,
.fy-footer,
.fy-footer * {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang TC", "Microsoft JhengHei", 微軟正黑體,
    "Noto Sans CJK TC", "Noto Sans TC", "PingFang SC", "Microsoft YaHei", "Hiragino Sans", "Yu Gothic",
    Meiryo, "Apple SD Gothic Neo", "Malgun Gothic", "Leelawadee UI", "Segoe UI", "Helvetica Neue",
    Arial, sans-serif;
}

/* 英文、數字用 Italiana，中文落到明體（Italiana 沒有中文字形） */
.fy-home .fy-serif,
.fy-home .fy-serif * {
  font-family: "Italiana", "Fooyee Serif TC", "Noto Serif TC", "Songti TC", "Noto Serif CJK TC", PMingLiU,
    "Hiragino Mincho ProN", "Yu Mincho", serif;
}

.fy-home .fy-display,
.fy-home .fy-display * {
  font-family: "Italiana", "Fooyee Serif TC", "Noto Serif TC", "Songti TC", "Noto Serif CJK TC", PMingLiU,
    "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-weight: 400;
}

:where(html:lang(zh-TW), html:lang(zh-Hant)) .fy-g .fy-serif,
:where(html:lang(zh-TW), html:lang(zh-Hant)) .fy-g .fy-serif * {
  font-family: "Fooyee Serif Digits", "Italiana", "Fooyee Serif Group", "Fooyee Serif TC", "Noto Serif TC", "Songti TC", "Noto Serif CJK TC",
    PMingLiU, "Hiragino Mincho ProN", "Yu Mincho", serif;
}

/* 404 的大數字維持 Italiana */
.fy-g .fy-g-404__code.fy-serif {
  font-family: "Italiana", serif;
}

/* 非中日韓語系：明體標題的英文改用 Italiana 的字距，不沿用中文的寬字距 */
:where(html:not(:lang(zh)):not(:lang(ja)):not(:lang(ko))) .fy-home .fy-serif {
  letter-spacing: 0.02em;
}

/* 各語系的明體：首頁的明體子集只收繁中用字，日、韓、簡中改用各自系統的明體，避免一句話裡混用兩套字形 */
:where(html:lang(ja)) .fy-home .fy-serif,
:where(html:lang(ja)) .fy-home .fy-serif * {
  font-family: "Italiana", "Hiragino Mincho ProN", "Yu Mincho", YuMincho, "Noto Serif CJK JP", "Noto Serif JP", serif;
}

:where(html:lang(ko)) .fy-home .fy-serif,
:where(html:lang(ko)) .fy-home .fy-serif * {
  font-family: "Italiana", AppleMyungjo, "Noto Serif CJK KR", "Noto Serif KR", Batang, serif;
}

:where(html:lang(zh-Hans)) .fy-home .fy-serif,
:where(html:lang(zh-Hans)) .fy-home .fy-serif * {
  font-family: "Italiana", "Songti SC", "Noto Serif CJK SC", "Noto Serif SC", SimSun, serif;
}

/* 韓文以詞為單位換行，不在字中間斷開 */
:where(html:lang(ko)) .fy-home {
  word-break: keep-all;
}

/* 俄文、越南文、泰文：Italiana 沒有這些字母，改用有完整字形的系統字 */
:where(html:lang(ru)) .fy-home .fy-serif,
:where(html:lang(ru)) .fy-home .fy-serif *,
:where(html:lang(vi)) .fy-home .fy-serif,
:where(html:lang(vi)) .fy-home .fy-serif * {
  font-family: Georgia, "Times New Roman", serif;
}

:where(html:lang(th)) .fy-home .fy-serif,
:where(html:lang(th)) .fy-home .fy-serif * {
  font-family: "Italiana", "Noto Serif Thai", Thonburi, "Leelawadee UI", Tahoma, serif;
}

/* 越南文：正黑體沒有越南文組合字 */
:where(html:lang(vi)) .fy-home,
:where(html:lang(vi)) .fy-home *,
:where(html:lang(vi)) .fy-footer,
:where(html:lang(vi)) .fy-footer * {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.fy-home {
  --fy-jet: #313133;
  --fy-ink-2: #4a4a4d;
  --fy-ink-3: #5c5c60;
  --fy-laurel: #a3b18a;
  --fy-artichoke: #7a8960;
  --fy-wall: #eeeeea;
  --fy-line: rgba(49, 49, 51, 0.16);
  --fy-gutter: clamp(20px, 5vw, 64px);
  display: block;
  color: var(--fy-jet);
  background: #fff;
  overflow-x: clip;
}

.fy-home img {
  display: block;
  max-width: 100%;
}

.fy-home a {
  color: inherit;
}

.fy-home a:hover {
  color: var(--fy-artichoke);
}

.fy-home :focus-visible {
  outline: 2px solid var(--fy-artichoke);
  outline-offset: 2px;
}

.fy-container {
  max-width: 1360px;
  margin: 0 auto;
  padding-inline: var(--fy-gutter);
}

.fy-section {
  padding-top: clamp(64px, 9vw, 128px);
}

.fy-eyebrow {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.fy-h2 {
  margin: 0;
  font-weight: 300;
  font-size: clamp(32px, 3.4vw, 48px);
  letter-spacing: 0.16em;
  line-height: 1.3;
}

.fy-section-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 48px;
}

.fy-label {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.26em;
  color: var(--fy-ink-3);
}

.fy-body {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--fy-ink-2);
}

.fy-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.fy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid var(--fy-jet);
  border-radius: 2px;
  background: #fff;
  color: var(--fy-jet);
  font-size: 14px;
  letter-spacing: 0.16em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.fy-home a.fy-btn:hover,
.fy-btn:hover {
  background: var(--fy-jet);
  color: #fff;
}

.fy-btn--solid {
  background: var(--fy-jet);
  color: #fff;
}

.fy-home a.fy-btn--solid:hover,
.fy-btn--solid:hover {
  background: var(--fy-artichoke);
  border-color: var(--fy-artichoke);
  color: #fff;
}

.fy-btn--light {
  background: transparent;
  border-color: #fff;
  color: #fff;
}

.fy-home a.fy-btn--light:hover {
  background: #fff;
  color: var(--fy-jet);
}

/* ---------- 葉影 ---------- */
.fy-home .fy-shade {
  position: absolute;
  inset: -4%;
  width: 108%;
  height: 108%;
  max-width: none;
  object-fit: cover;
  object-position: 0% 0%;
  pointer-events: none;
  transform-origin: 50% 50%;
}

/* 只有首屏葉影牆會慢慢晃動；用 transform 動畫並升成獨立圖層，不佔主執行緒 */
.fy-home .fy-shade--sway {
  will-change: transform;
  animation: fyLeafSway 16s ease-in-out infinite alternate;
}

.fy-home .fy-shade--flip {
  inset: -6%;
  width: 112%;
  height: 112%;
  mix-blend-mode: multiply;
  opacity: 0.45;
  transform: scaleX(-1);
}

@keyframes fyLeafSway {
  0% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(1.2%, 0.8%, 0) rotate(0.6deg); }
  100% { transform: translate3d(-0.6%, 1.4%, 0) rotate(-0.4deg); }
}

@media (prefers-reduced-motion: reduce) {
  .fy-home .fy-shade--sway {
    animation: none;
  }
}

/* ---------- 首屏 ---------- */
.fy-hero {
  position: relative;
  overflow: hidden;
  padding-bottom: 32px;
}

.fy-hero__wall {
  position: absolute;
  inset: 0 0 92px 0;
  overflow: hidden;
  background: var(--fy-wall);
}

.fy-hero__grid {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: clamp(32px, 5vw, 72px);
  padding-top: clamp(40px, 6vw, 88px);
}

.fy-hero__text {
  flex: 1 1 400px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  padding-bottom: 88px;
}

.fy-hero__title {
  margin: 0;
  font-weight: 300;
  font-size: clamp(40px, 5.4vw, 80px);
  line-height: 1.25;
  letter-spacing: 0.12em;
}

.fy-hero__en {
  margin: 0;
  font-size: clamp(26px, 2.4vw, 36px);
  line-height: 1.2;
}

.fy-hero__lead {
  max-width: 440px;
  font-size: 16px;
}

.fy-hero__places {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 13px;
  letter-spacing: 0.14em;
}

/* 分隔點掛在前一項後面：換行時點留在行尾，不會出現在下一行開頭 */
.fy-hero__places li:not(:last-child)::after {
  content: "·";
  margin-left: 14px;
  color: var(--fy-artichoke);
}

.fy-hero__media {
  flex: 1.35 1 520px;
  min-width: 0;
  position: relative;
  overflow: hidden;
  height: clamp(420px, 44vw, 600px);
}

.fy-hero__media picture,
.fy-hero__media picture img {
  width: 100%;
  height: 100%;
}

.fy-hero__media picture img {
  object-fit: cover;
}

/* 訂房卡 */
.fy-booking {
  position: relative;
  margin-top: -56px;
  background: #fff;
  border: 1px solid rgba(49, 49, 51, 0.08);
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(49, 49, 51, 0.08);
  padding: 24px 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px 16px;
  align-items: flex-end;
}

.fy-booking > .fy-field {
  flex: 1 1 130px;
  min-width: 0;
}

.fy-booking > .fy-field:first-child {
  flex: 1.6 1 200px;
}

.fy-booking > .fy-btn {
  flex: 1 1 170px;
  white-space: nowrap;
}

.fy-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
}

.fy-input {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(49, 49, 51, 0.24);
  border-radius: 2px;
  padding: 11px 12px;
  background: #fff;
  color: var(--fy-jet);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.fy-input:disabled {
  background: #f5f5f3;
  color: var(--fy-ink-3);
}

textarea.fy-input {
  resize: vertical;
  min-height: 132px;
}

/* 訂房卡欄位固定同一高度：Windows 的日期欄會比下拉選單高，造成「分館」和「入住／退房」上下不齊 */
.fy-booking .fy-input {
  height: 48px;
  padding-block: 0;
  line-height: 1.2;
}

.fy-booking input[type="date"].fy-input::-webkit-calendar-picker-indicator {
  margin: 0;
  padding: 0;
}

.fy-booking .fy-field[hidden] {
  display: none;
}

.fy-booking__note {
  flex-basis: 100%;
  grid-column: 1 / -1;
  margin: -4px 0 0;
  font-size: 12px;
  color: var(--fy-ink-3);
  letter-spacing: 0.04em;
}

/* ---------- 01 分館 ---------- */
.fy-section-head--row {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}

.fy-section-head__title {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fy-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fy-filter__btn {
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid rgba(49, 49, 51, 0.24);
  border-radius: 999px;
  background: #fff;
  color: var(--fy-jet);
  font-size: 14px;
  letter-spacing: 0.14em;
  cursor: pointer;
}

.fy-filter__btn[aria-pressed="true"] {
  background: var(--fy-jet);
  border-color: var(--fy-jet);
  color: #fff;
}

.fy-hotels {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 40px 24px;
}

.fy-hotel {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.fy-hotel[hidden] {
  display: none;
}

.fy-hotel picture img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.fy-hotel__info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fy-hotel__name {
  margin: 0;
  font-weight: 400;
  font-size: 24px;
  letter-spacing: 0.12em;
}

.fy-hotel__tagline {
  margin: -4px 0 0;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.fy-hotel__addr {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--fy-ink-2);
}

.fy-hotel__tel {
  font-size: 14px;
  text-underline-offset: 4px;
}

.fy-hotel__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 20px;
  border-top: 1px solid rgba(49, 49, 51, 0.14);
  padding-top: 4px;
}

/* ---------- 02 專案 ---------- */
.fy-feature {
  display: flex;
  flex-wrap: wrap;
}

.fy-feature__wall {
  flex: 1 1 420px;
  min-width: 0;
  min-height: 380px;
  position: relative;
  overflow: hidden;
  background: var(--fy-wall);
  padding: clamp(28px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
}

.fy-feature__wall > *:not(.fy-shade) {
  position: relative;
}

.fy-feature__big {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.fy-feature__num {
  font-size: clamp(132px, 15vw, 220px);
  line-height: 0.8;
}

.fy-feature__unit {
  font-weight: 300;
  font-size: clamp(26px, 2.6vw, 36px);
  letter-spacing: 0.14em;
}

.fy-feature__body {
  flex: 1.2 1 440px;
  min-width: 0;
  border: 1px solid var(--fy-line);
  padding: clamp(28px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
}

.fy-feature__title {
  margin: 0;
  font-weight: 400;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.5;
  letter-spacing: 0.1em;
}

.fy-facts {
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  font-size: 14px;
  line-height: 1.6;
}

.fy-facts dt,
.fy-facts dd {
  margin: 0;
  padding: 14px 0;
  border-top: 1px solid rgba(49, 49, 51, 0.14);
}

.fy-facts dt {
  padding-right: 24px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.fy-facts dt:nth-last-of-type(1),
.fy-facts dd:nth-last-of-type(1) {
  border-bottom: 1px solid rgba(49, 49, 51, 0.14);
}

.fy-feature .fy-btn {
  align-self: flex-start;
}

.fy-offers {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px 24px;
}

.fy-offer {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.fy-offer picture img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.fy-offer__title {
  margin: 0;
  font-weight: 400;
  font-size: 20px;
  letter-spacing: 0.1em;
}

.fy-offer .fy-body {
  font-size: 14px;
}

/* ---------- 品牌語句 ---------- */
.fy-calm {
  margin-top: clamp(64px, 9vw, 128px);
}

.fy-calm__img img {
  width: 100%;
  height: clamp(300px, 40vw, 600px);
  object-fit: cover;
  object-position: 60% 40%;
}

.fy-calm__panel {
  position: relative;
  margin-top: clamp(-160px, -10vw, -72px);
  max-width: 760px;
  background: #fff;
  padding: clamp(28px, 4vw, 64px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.fy-calm__en {
  margin: 0;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.1;
}

.fy-calm__zh {
  margin: 0;
  font-weight: 300;
  font-size: clamp(17px, 1.8vw, 24px);
  line-height: 1.95;
  letter-spacing: 0.08em;
}

/* ---------- 03 合作 ---------- */
.fy-partner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.fy-partner__biz {
  flex: 1.6 1 560px;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  background: var(--fy-wall);
  color: var(--fy-jet);
}

.fy-partner__biz picture {
  flex: 1 1 280px;
  min-width: 0;
}

.fy-partner__biz picture img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  object-position: 62% 50%;
}

.fy-partner__text {
  flex: 1 1 300px;
  min-width: 0;
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.fy-partner__text .fy-label {
  color: var(--fy-ink-3);
}

.fy-partner__title {
  margin: 0;
  font-weight: 400;
  font-size: clamp(24px, 2.2vw, 28px);
  line-height: 1.45;
  letter-spacing: 0.1em;
}

.fy-partner__text p {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--fy-ink-2);
}

.fy-partner__text .fy-btn {
  align-self: flex-start;
}

.fy-intern {
  flex: 1 1 320px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border: 1px solid var(--fy-line);
  padding: 24px;
}

.fy-intern picture img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.fy-intern__title {
  margin: 0;
  font-weight: 400;
  font-size: 24px;
  letter-spacing: 0.1em;
}

/* ---------- 04 聯絡 ---------- */
.fy-contact {
  padding-bottom: clamp(64px, 9vw, 128px);
}

.fy-contact__grid {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(40px, 6vw, 96px);
}

.fy-contact__intro {
  flex: 1 1 340px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.fy-contact__title {
  margin: 0;
  font-size: clamp(48px, 5vw, 72px);
  line-height: 1;
}

.fy-phones {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(49, 49, 51, 0.14);
}

.fy-phones a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 52px;
  border-bottom: 1px solid rgba(49, 49, 51, 0.14);
  font-size: 14px;
  text-decoration: none;
}

.fy-phones strong {
  font-weight: 600;
  letter-spacing: 0.1em;
}

.fy-form {
  flex: 1.4 1 460px;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  align-content: start;
}

.fy-form .fy-field--wide,
.fy-form__actions {
  grid-column: 1 / -1;
}

.fy-form .hidden {
  display: none;
}

.fy-form__status {
  margin: 12px 0 0;
  font-size: 14px;
}

/* ---------- 頁尾 ---------- */
.fy-footer {
  background: #313133;
  color: #fff;
}

.fy-footer__inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 72px clamp(20px, 5vw, 64px) 40px;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.fy-footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 48px;
}

.fy-footer__brand {
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.fy-footer__brand img {
  height: 60px;
  width: auto;
  align-self: flex-start;
}

.fy-footer__brand p {
  margin: 0;
  font-size: 14px;
  letter-spacing: 0.14em;
}

.fy-footer__nav {
  flex: 2 1 520px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 32px;
  font-size: 14px;
}

.fy-footer__col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fy-footer__col p {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
}

.fy-footer a {
  color: #fff;
  text-decoration: none;
  padding: 8px 0;
}

.fy-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.fy-footer__copy {
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 24px;
  font-size: 12px;
  letter-spacing: 0.1em;
}

/* ---------- 手機 ---------- */
@media (max-width: 767px) {
  .fy-hero__wall {
    bottom: 280px;
  }

  .fy-hero__text {
    gap: 20px;
    padding-bottom: 0;
  }

  .fy-hero__places {
    gap: 6px 20px;
  }

  .fy-hero__places li:not(:last-child)::after {
    content: none;
  }

  .fy-hero__media {
    flex-basis: 100%;
    height: 420px;
  }

  .fy-booking {
    margin-top: -56px;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 12px;
  }

  .fy-booking .fy-field--full {
    grid-column: 1 / -1;
  }

  .fy-booking .fy-input {
    min-width: 0;
    padding-inline: 8px;
  }

  .fy-section-head {
    margin-bottom: 32px;
  }

  /* 分館：橫向滑動 */
  .fy-hotels {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-inline: calc(-1 * var(--fy-gutter));
    padding-inline: var(--fy-gutter);
    scroll-padding-inline: var(--fy-gutter);
    scrollbar-width: none;
  }

  .fy-hotels::-webkit-scrollbar {
    display: none;
  }

  .fy-hotel {
    flex: 0 0 280px;
    scroll-snap-align: start;
  }

  .fy-hotel picture img {
    aspect-ratio: auto;
    height: 340px;
  }

  .fy-feature__wall {
    min-height: 240px;
    flex-basis: 100%;
  }

  .fy-feature__body {
    border-top: none;
    flex-basis: 100%;
  }

  .fy-feature .fy-btn {
    align-self: stretch;
  }

  /* 專案：左圖右文清單 */
  .fy-offers {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .fy-offer {
    display: grid;
    grid-template-columns: 112px 1fr;
    column-gap: 16px;
    row-gap: 6px;
    align-items: start;
    padding: 20px 0;
    border-bottom: 1px solid rgba(49, 49, 51, 0.14);
  }

  .fy-offer picture {
    grid-row: 1 / span 4;
  }

  .fy-offer picture img {
    width: 112px;
    height: 112px;
    aspect-ratio: auto;
  }

  .fy-offer__title {
    font-size: 18px;
  }

  .fy-offer .fy-body {
    font-size: 13px;
  }

  .fy-offer .fy-link {
    min-height: 32px;
    font-size: 13px;
  }

  .fy-calm__img img {
    object-position: 82% 40%;
  }

  .fy-calm__panel {
    margin-inline: 0;
    padding: 28px 24px 8px;
  }

  .fy-partner__biz picture img {
    min-height: 200px;
    height: 200px;
  }

  .fy-partner__text .fy-btn {
    align-self: stretch;
  }

  .fy-intern {
    display: grid;
    grid-template-columns: 112px 1fr;
    column-gap: 16px;
    row-gap: 6px;
    padding: 16px;
  }

  .fy-intern picture {
    grid-row: 1 / span 4;
  }

  .fy-intern picture img {
    width: 112px;
    height: 112px;
    aspect-ratio: auto;
  }

  .fy-intern__title {
    font-size: 18px;
  }

  .fy-intern .fy-link {
    min-height: 32px;
    font-size: 13px;
  }

  .fy-footer__nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- 手機底部按鈕列：訂房／打電話／加 LINE ---------- */
.fy-bottombar {
  display: none;
}

.fy-sheet {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--fy-jet);
}

.fy-sheet[open] {
  display: flex;
  align-items: flex-end;
}

.fy-sheet::backdrop {
  background: rgba(49, 49, 51, 0.4);
}

html:has(.fy-sheet[open]) {
  overflow: hidden;
}

.fy-sheet__panel {
  width: 100%;
  box-sizing: border-box;
  background: #fff;
  border-radius: 12px 12px 0 0;
  padding: 8px 20px calc(16px + env(safe-area-inset-bottom));
  box-shadow: 0 -12px 40px rgba(49, 49, 51, 0.18);
}

.fy-sheet__panel::before {
  content: "";
  display: block;
  width: 40px;
  height: 4px;
  margin: 4px auto 8px;
  border-radius: 2px;
  background: rgba(49, 49, 51, 0.2);
}

.fy-sheet__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
}

.fy-sheet__title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.fy-sheet__close {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.fy-sheet__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(49, 49, 51, 0.12);
}

.fy-sheet__list a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 12px;
  row-gap: 2px;
  min-height: 64px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(49, 49, 51, 0.12);
  text-decoration: none;
}

.fy-sheet__name {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.fy-sheet__sub {
  grid-column: 1;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--fy-ink-3);
}

.fy-sheet__action {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(49, 49, 51, 0.24);
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

@keyframes fySheetUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .fy-sheet[open] .fy-sheet__panel {
    animation: fySheetUp 0.22s ease-out;
  }
}

@media (max-width: 767px) {
  .fy-bottombar {
    position: fixed;
    z-index: 3000;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr;
    gap: 8px;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid rgba(49, 49, 51, 0.12);
    box-shadow: 0 -6px 20px rgba(49, 49, 51, 0.06);
  }

  .fy-bottombar__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 0;
    min-height: 48px;
    padding: 0 4px;
    border: 1px solid rgba(49, 49, 51, 0.24);
    border-radius: 2px;
    background: #fff;
    color: var(--fy-jet);
    font: inherit;
    font-size: 14px;
    letter-spacing: 0.1em;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
  }

  .fy-bottombar__btn svg {
    flex: 0 0 auto;
  }

  .fy-home .fy-bottombar__btn--primary,
  .fy-home .fy-bottombar__btn--primary:hover {
    border-color: var(--fy-jet);
    background: var(--fy-jet);
    color: #fff;
  }

  /* 頁尾留出按鈕列的高度，版權列不會被蓋住 */
  .fy-footer__inner {
    padding-bottom: calc(40px + 72px + env(safe-area-inset-bottom));
  }
}

/* ---------- 頁首（照畫布：細字、留白、立即預約；只影響集團首頁） ---------- */
.fy-site-header > nav {
  background: #fff;
  border-bottom: 1px solid rgba(49, 49, 51, 0.12);
}

.fy-site-header > nav > div {
  max-width: 1360px;
  padding: 18px clamp(20px, 5vw, 64px);
}

.fy-site-header .fy-site-header__brand {
  gap: 10px;
}

.fy-site-header .fy-site-header__brand img:first-child {
  width: auto;
  height: 48px;
}

.fy-site-header .fy-site-header__brand img:last-child {
  height: 30px;
}

.fy-site-header__globe {
  flex: 0 0 auto;
  margin-right: 6px;
}

.fy-site-header__book {
  display: none;
}

@media (min-width: 768px) {
  .fy-site-header #mega-menu > ul {
    gap: 32px;
  }

  .fy-site-header #mega-menu > ul > li > button,
  .fy-site-header #mega-menu > ul > li > a {
    padding: 12px 0;
    color: #313133;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.08em;
  }

  .fy-site-header #mega-menu > ul > li > button:hover,
  .fy-site-header #mega-menu > ul > li > a:hover {
    color: #7a8960;
  }

  .fy-site-header #mega-menu > ul > li > button > svg:last-child {
    width: 14px;
    height: 14px;
    margin-inline-start: 4px;
    opacity: 0.6;
  }

  .fy-site-header #header-language-switcher-button {
    font-size: 13px;
    letter-spacing: 0.1em;
  }

  .fy-site-header .fy-site-header__book {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-left: 32px;
    padding: 0 24px;
    border-radius: 2px;
    background: #313133;
    color: #fff;
    font-size: 14px;
    letter-spacing: 0.16em;
    text-decoration: none;
    white-space: nowrap;
  }

  .fy-site-header .fy-site-header__book:hover {
    background: #4a4a4d;
    color: #fff;
  }
}

@media (max-width: 767px) {
  .fy-site-header > nav > div {
    padding: 12px 12px 12px 20px;
  }

  .fy-site-header .fy-site-header__brand img:first-child {
    height: 38px;
  }

  .fy-site-header .fy-site-header__brand img:last-child {
    height: 24px;
  }
}

/* ======================================================================
   大字版（銀髮友善）：與一般版同一張網頁，<html> 有 .fy-easy 時切換
   ====================================================================== */
html:not(.fy-easy) .fy-easy-only {
  display: none !important;
}

html.fy-easy .fy-std-only {
  display: none !important;
}

/* 一般版頁首的「大字版」切換鈕 */
.fy-easy-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(49, 49, 51, 0.3);
  border-radius: 999px;
  background: #fff;
  color: #313133;
  font: inherit;
  font-size: 14px;
  letter-spacing: 0.06em;
  white-space: nowrap;
  cursor: pointer;
}

.fy-easy-toggle:hover {
  border-color: #313133;
}

/* 頁首選單按鈕的通用樣式（#mega-menu）不套到大字版切換鈕 */
.fy-site-header #mega-menu > ul > li > button.fy-easy-toggle {
  min-height: 40px;
  padding: 0 14px;
  font-size: 14px;
  letter-spacing: 0.06em;
}

.fy-site-header #mega-menu > ul > li > button.fy-easy-toggle > svg {
  width: 20px;
  height: 20px;
  margin: 0;
  opacity: 1;
}

.fy-easy-toggle--mobile {
  display: none;
}

@media (max-width: 767px) {
  .fy-site-header__easy-item {
    display: none;
  }

  .fy-site-header .fy-easy-toggle--mobile {
    display: inline-flex;
    min-height: 40px;
    padding: 0 10px;
  }
}

/* ---------- 共用 ---------- */
.fy-e,
.fy-e-header {
  color: #313133;
  font-size: 20px;
  line-height: 1.8;
}

.fy-e-wrap {
  max-width: 1360px;
  margin: 0 auto;
  padding-inline: clamp(16px, 5vw, 64px);
  box-sizing: border-box;
}

.fy-e-serif {
  font-family: "Fooyee Serif TC", "Noto Serif TC", "Songti TC", "Noto Serif CJK TC", PMingLiU, serif;
  font-weight: 400;
}

/* 明體子集只收繁中用字：其他語系的大字版標題用系統黑體、加粗，好讀為先 */
html:not([lang="zh-Hant-TW"]) .fy-e-serif {
  font-family: inherit;
  font-weight: 600;
}

html:not(:lang(zh)):not(:lang(ja)):not(:lang(ko)) .fy-e .fy-e-h1 {
  letter-spacing: 0.01em;
}

.fy-e-h1 {
  margin: 0;
  font-size: clamp(44px, 5vw, 72px);
  line-height: 1.3;
  letter-spacing: 0.08em;
}

.fy-e-h2 {
  margin: 0 0 12px;
  font-size: clamp(34px, 3.6vw, 48px);
  line-height: 1.3;
}

.fy-e-h3 {
  margin: 0;
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1.35;
}

.fy-e-kicker {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.fy-e-lead {
  margin: 0;
  font-size: clamp(20px, 1.6vw, 22px);
  line-height: 1.9;
}

.fy-e-text {
  margin: 0;
  font-size: 20px;
  line-height: 1.75;
}

.fy-e-region {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.fy-e-tagline {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
}

.fy-e-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

:is(.fy-e, .fy-e-header, .fy-contact) .fy-e-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 60px;
  padding: 0 24px;
  box-sizing: border-box;
  border: 2px solid #313133;
  border-radius: 4px;
  background: #313133;
  color: #fff;
  font: inherit;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

:is(.fy-e, .fy-e-header, .fy-contact) .fy-e-btn:hover {
  background: #4a4a4d;
  border-color: #4a4a4d;
  color: #fff;
}

:is(.fy-e, .fy-e-header, .fy-contact) .fy-e-btn--outline {
  background: #fff;
  color: #313133;
}

:is(.fy-e, .fy-e-header, .fy-contact) .fy-e-btn--outline:hover {
  background: #eeeeea;
  border-color: #313133;
  color: #313133;
}

:is(.fy-e, .fy-e-header, .fy-contact) .fy-e-btn--lg {
  min-height: 64px;
  padding: 0 32px;
  font-size: 22px;
}

.fy-e-textlink {
  font-size: 20px;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.fy-e :focus-visible,
.fy-e-header :focus-visible {
  outline: 3px solid #7a8960;
  outline-offset: 3px;
}

/* ---------- 頁首 ---------- */
.fy-e-header {
  position: relative;
  z-index: 4000;
  background: #fff;
  border-bottom: 2px solid rgba(49, 49, 51, 0.14);
}

.fy-e-header a {
  color: #313133;
}

.fy-e-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 32px;
  padding-block: 14px;
}

.fy-e-header__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fy-e-header__brand img:first-child {
  width: auto;
  height: 56px;
}

.fy-e-header__brand img:last-child {
  width: auto;
  height: 34px;
}

.fy-e-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 28px;
  font-size: 20px;
  font-weight: 500;
}

.fy-e-nav a {
  padding: 14px 0;
  text-decoration: none;
}

.fy-e-nav a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.fy-e-nav__std {
  padding: 14px 0;
  border: 0;
  background: none;
  color: #313133;
  font: inherit;
  font-size: 18px;
  text-decoration: underline;
  text-underline-offset: 5px;
  cursor: pointer;
}

.fy-e-nav__mobile,
.fy-e-menu-btn {
  display: none;
}

.fy-e-header__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-left: auto;
}

/* ---------- 首屏與訂房卡 ---------- */
.fy-e-hero {
  position: relative;
  overflow: hidden;
  padding-bottom: 32px;
}

.fy-e-hero__wall {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 140px;
  overflow: hidden;
  background: #eeeeea;
}

.fy-e-hero__wall img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 0 0;
  opacity: 0.7;
}

.fy-e-hero__inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px 56px;
  padding-top: clamp(40px, 6vw, 72px);
}

.fy-e-hero__text {
  flex: 1 1 440px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-bottom: clamp(24px, 8vw, 120px);
}

.fy-e-hero__media {
  flex: 1.2 1 520px;
  min-width: 0;
}

.fy-e-hero__media img {
  display: block;
  width: 100%;
  height: clamp(280px, 40vw, 560px);
  object-fit: cover;
  border-radius: 4px;
}

.fy-e-booking {
  position: relative;
  margin-top: -88px;
  padding: clamp(24px, 3vw, 32px) clamp(20px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: #fff;
  border: 2px solid rgba(49, 49, 51, 0.18);
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(49, 49, 51, 0.08);
}

.fy-e-booking__fields {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 20px;
}

.fy-e-field {
  flex: 1 1 150px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 18px;
  font-weight: 600;
}

.fy-e-field[hidden] {
  display: none;
}

.fy-e-field--branch {
  flex: 1.6 1 240px;
}

.fy-e-field--date {
  flex: 1.4 1 220px;
}

.fy-e-input {
  width: 100%;
  min-height: 60px;
  box-sizing: border-box;
  padding: 0 14px;
  border: 2px solid #6b6b70;
  border-radius: 4px;
  background: #fff;
  color: #313133;
  font: inherit;
  font-size: 20px;
  font-weight: 400;
}

.fy-e-booking__submit {
  flex: 1 1 200px;
}

.fy-e-note {
  margin: 0;
  font-size: 18px;
  line-height: 1.7;
}

.fy-e-note a,
.fy-contact__easy a {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 5px;
}

/* ---------- 各段 ---------- */
.fy-e-section {
  padding-top: clamp(64px, 8vw, 112px);
}

.fy-e-calls {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.fy-e .fy-e-call {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 96px;
  padding: 16px 24px;
  box-sizing: border-box;
  border: 2px solid #313133;
  border-radius: 8px;
  background: #fff;
  color: #313133;
  text-decoration: none;
}

.fy-e .fy-e-call:hover {
  background: #eeeeea;
  color: #313133;
}

.fy-e-call__icon {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: #313133;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fy-e-call__text {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
}

.fy-e-call__name {
  font-size: 20px;
  font-weight: 600;
}

.fy-e-call__num {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.fy-e-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(520px, 100%), 1fr));
  gap: 48px 40px;
}

.fy-e-hotel {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.fy-e-hotel picture {
  width: 100%;
  margin-bottom: 10px;
}

.fy-e-hotel picture img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 4px;
}

.fy-e-hotel .fy-e-row {
  width: 100%;
  margin-top: 8px;
}

.fy-e-hotel .fy-e-row .fy-e-btn {
  flex: 1 1 220px;
}

.fy-e-thsr {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  overflow: hidden;
  border: 2px solid rgba(49, 49, 51, 0.18);
  border-radius: 8px;
}

.fy-e-thsr__visual {
  position: relative;
  flex: 1 1 380px;
  min-width: 0;
  min-height: 300px;
  box-sizing: border-box;
  padding: clamp(24px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  background: #eeeeea;
}

.fy-e-thsr__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 0 0;
  opacity: 0.7;
}

.fy-e-thsr__label,
.fy-e-thsr__big {
  position: relative;
  margin: 0;
}

.fy-e-thsr__label {
  font-size: 22px;
  font-weight: 600;
}

.fy-e-thsr__big {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
}

.fy-e-thsr__num {
  font-family: "Italiana", serif;
  font-size: clamp(110px, 12vw, 160px);
  line-height: 0.85;
}

.fy-e-thsr__unit {
  font-size: clamp(30px, 3vw, 40px);
}

.fy-e-thsr__body {
  flex: 1.3 1 480px;
  min-width: 0;
  box-sizing: border-box;
  padding: clamp(24px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.fy-e-dl {
  width: 100%;
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  font-size: 20px;
}

.fy-e-dl dt,
.fy-e-dl dd {
  margin: 0;
  padding: 12px 0;
  border-top: 2px solid rgba(49, 49, 51, 0.14);
}

.fy-e-dl dt {
  padding-right: 24px;
  font-weight: 600;
}

.fy-e-dl dt:last-of-type,
.fy-e-dl dd:last-of-type {
  border-bottom: 2px solid rgba(49, 49, 51, 0.14);
}

.fy-e-card {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 2px solid rgba(49, 49, 51, 0.14);
}

.fy-e-card__img {
  flex: 0 0 200px;
}

.fy-e-card__img img {
  display: block;
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 4px;
}

.fy-e-card__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

:is(.fy-e) .fy-e-card .fy-e-btn {
  min-height: 56px;
  padding: 0 22px;
  font-size: 19px;
}

.fy-e-card--boxed {
  padding: 28px;
  border: 2px solid rgba(49, 49, 51, 0.18);
  border-radius: 8px;
}

.fy-e-card--boxed .fy-e-card__img {
  flex-basis: 160px;
}

.fy-e-card--boxed .fy-e-card__img img {
  width: 160px;
  height: 160px;
}

.fy-e-grid--cards {
  gap: 40px;
}

.fy-e-brand {
  margin-top: clamp(64px, 8vw, 112px);
}

.fy-e-brand__img img {
  display: block;
  width: 100%;
  height: clamp(260px, 33vw, 480px);
  object-fit: cover;
  object-position: 60% 40%;
}

.fy-e-brand__quote {
  position: relative;
  max-width: 760px;
  margin: -120px 0 0;
  padding: clamp(28px, 3vw, 48px);
  box-sizing: border-box;
  background: #fff;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.9;
}

/* ---------- 共用區塊放大：聯絡表單、頁尾、底部按鈕列 ---------- */
.fy-contact__easy {
  flex: 1 1 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 20px;
}

html.fy-easy .fy-contact {
  padding-top: clamp(64px, 8vw, 112px);
}

html.fy-easy .fy-form {
  flex-basis: 100%;
  max-width: 880px;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 28px;
}

html.fy-easy .fy-form .fy-field {
  font-size: 20px;
  letter-spacing: 0.02em;
}

html.fy-easy .fy-form .fy-input {
  min-height: 60px;
  border: 2px solid #6b6b70;
  border-radius: 4px;
  font-size: 20px;
}

html.fy-easy .fy-form textarea.fy-input {
  min-height: 180px;
}

html.fy-easy .fy-form .fy-btn {
  letter-spacing: 0.06em;
  min-height: 64px;
  padding: 0 48px;
  border: 2px solid #313133;
  border-radius: 4px;
  background: #313133;
  color: #fff;
  font-size: 22px;
  font-weight: 600;
}

html.fy-easy .fy-form__status {
  font-size: 18px;
}

html.fy-easy .fy-footer {
  font-size: 20px;
}

html.fy-easy .fy-footer a,
html.fy-easy .fy-footer p {
  font-size: 20px;
}

html.fy-easy .fy-footer__nav {
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
}

html.fy-easy .fy-footer__nav,
html.fy-easy .fy-footer__brand {
  min-width: 0;
  overflow-wrap: anywhere;
}

.fy-footer__easy-off {
  padding: 8px 0;
  border: 0;
  background: none;
  color: #fff;
  font: inherit;
  font-size: 20px;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 5px;
  cursor: pointer;
}

@media (max-width: 767px) {
  html.fy-easy .fy-bottombar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 10px 10px calc(10px + env(safe-area-inset-bottom));
    border-top-width: 2px;
  }

  html.fy-easy .fy-bottombar__btn {
    flex-direction: column;
    gap: 2px;
    min-height: 64px;
    border: 2px solid #313133;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.04em;
  }

  html.fy-easy .fy-bottombar__btn svg {
    width: 24px;
    height: 24px;
  }

  html.fy-easy .fy-footer__inner {
    padding-bottom: calc(40px + 96px + env(safe-area-inset-bottom));
  }
}

html.fy-easy .fy-sheet__title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

html.fy-easy .fy-sheet__close {
  width: 52px;
  height: 52px;
}

html.fy-easy .fy-sheet__list a {
  min-height: 84px;
  border-bottom-width: 2px;
}

html.fy-easy .fy-sheet__name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

html.fy-easy .fy-sheet__sub {
  font-size: 17px;
  color: #4a4a4d;
}

html.fy-easy .fy-sheet__action {
  min-height: 52px;
  padding: 0 18px;
  border-color: #313133;
  background: #313133;
  color: #fff;
  font-size: 17px;
  font-weight: 600;
}

/* ---------- 大字版：手機 ---------- */
@media (max-width: 767px) {
  .fy-e-header__inner {
    padding-block: 8px;
  }

  .fy-e-header__brand img:first-child {
    height: 44px;
  }

  .fy-e-header__brand img:last-child {
    height: 26px;
  }

  .fy-e-menu-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 64px;
    min-height: 60px;
    padding: 0;
    border: 0;
    background: none;
    color: #313133;
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
  }

  .fy-e-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-bottom: 8px;
  }

  .fy-e-nav.is-open {
    display: flex;
  }

  .fy-e-nav a,
  .fy-e-nav__std {
    display: flex;
    align-items: center;
    min-height: 64px;
    padding: 0 4px;
    border-top: 2px solid rgba(49, 49, 51, 0.12);
    font-size: 22px;
  }

  .fy-e-nav__mobile {
    display: flex;
  }

  .fy-e-header__actions {
    display: none;
  }

  .fy-e-booking {
    margin-top: -48px;
  }

  .fy-e-hero__wall {
    bottom: 120px;
  }

  .fy-e-hero__media img {
    height: 300px;
  }

  .fy-e-card,
  .fy-e-card--boxed {
    flex-direction: column;
  }

  .fy-e-card__img,
  .fy-e-card--boxed .fy-e-card__img {
    flex-basis: auto;
    width: 100%;
  }

  .fy-e-card__img img,
  .fy-e-card--boxed .fy-e-card__img img {
    width: 100%;
    height: 220px;
  }

  .fy-e-brand__quote {
    margin-top: -60px;
  }

  .fy-e-calls {
    grid-template-columns: 1fr;
  }

  .fy-e .fy-e-call {
    gap: 14px;
    padding: 14px 16px;
  }

  .fy-e-call__icon {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
  }

  .fy-e-call__num {
    font-size: 24px;
    white-space: nowrap;
  }

  html.fy-easy .fy-form .fy-btn {
    width: 100%;
    padding: 0 16px;
  }
}

/* ======================================================================
   集團層級頁面（專案頁、合作頁、表單、條款、404）：fy-g-*
   頁首、頁尾、底部列由 scripts/build-group-shell.js 從首頁複製；這裡只管內容區
   ====================================================================== */

/* 底部列與選館視窗外面包的那層，不佔版面 */
.fy-g-dock {
  display: contents;
}

/* 頁尾：聯絡各館（只有集團子頁有） */
.fy-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 440px;
  scroll-margin-top: 24px;
}

.fy-footer__brand .fy-footer__ch {
  margin: 8px 0 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
}

.fy-footer__contact ul {
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.fy-footer__contact li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 16px;
  align-items: center;
  min-height: 44px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 14px;
}

.fy-footer__contact li a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0;
  letter-spacing: 0.04em;
}

/* LINE／WhatsApp 欄固定寬，四館的電話與 LINE 才會對齊；手機窄螢幕改到下一行 */
.fy-footer__contact li {
  grid-template-columns: minmax(0, 1fr) auto 9em;
}

.fy-footer__contact .fy-footer__chat {
  display: inline-flex;
  gap: 14px;
}

@media (max-width: 480px) {
  .fy-footer__contact li {
    grid-template-columns: minmax(0, 1fr) auto;
    row-gap: 0;
  }

  .fy-footer__contact .fy-footer__chat {
    grid-column: 1 / -1;
    margin-top: -6px;
  }
}

.fy-footer__contact .fy-footer__line {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.fy-footer__brand .fy-footer__mail {
  font-size: 12px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.75);
}

.fy-footer__mail a {
  color: inherit;
  padding: 0;
}

/* ---------- 共用：版面、標題 ---------- */
.fy-g {
  --fy-soft: #f4f4f1;
}

.fy-g .fy-container {
  box-sizing: border-box;
}

.fy-g-sec {
  padding-top: 96px;
}

.fy-g-band {
  margin-top: 96px;
  background: var(--fy-soft);
}

.fy-g-band > .fy-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 80px;
  padding-bottom: 80px;
}

.fy-g-band .fy-g-intro {
  margin-bottom: 0;
}

.fy-g-end {
  height: 96px;
}

.fy-g .fy-g-eyebrow {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--fy-ink-3);
}

.fy-g-h1 {
  margin: 0;
  font-weight: 300;
  font-size: 56px;
  line-height: 1.25;
  letter-spacing: 0.14em;
}

.fy-g-h1--sm {
  font-size: 46px;
}

.fy-g-h2 {
  margin: 0;
  font-weight: 300;
  font-size: 38px;
  line-height: 1.3;
  letter-spacing: 0.14em;
}

.fy-g-h3 {
  margin: 0;
  font-weight: 400;
  font-size: 22px;
  line-height: 1.45;
  letter-spacing: 0.08em;
}

.fy-g-lead {
  margin: 0;
  max-width: 640px;
  font-size: 16px;
  line-height: 1.9;
  color: var(--fy-ink-2);
}

.fy-g-lead p {
  margin: 0;
}

.fy-g-mute {
  color: var(--fy-ink-2);
}

.fy-g-small {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--fy-ink-3);
}

.fy-g-intro {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 760px;
  margin-bottom: 36px;
}

.fy-g-intro > p {
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
  color: var(--fy-ink-2);
}

.fy-g-h2 + .fy-g-body,
.fy-g-sec > .fy-container > .fy-g-h2:first-child:not(:only-child) {
  margin-bottom: 28px;
}

.fy-g-intro .fy-g-h2 {
  margin-bottom: 0;
}

.fy-g p {
  margin: 0;
}

/* 按鈕：沿用首頁 .fy-btn，補深色版的滑過顏色 */
.fy-g a.fy-btn--solid {
  color: #fff;
}

.fy-g .fy-btn--solid:hover {
  background: var(--fy-ink-2);
  color: #fff;
}

.fy-g .fy-btn:not(.fy-btn--solid):hover {
  background: var(--fy-soft);
  color: var(--fy-jet);
}

.fy-g-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.fy-g-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fy-g-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border: 1px solid rgba(49, 49, 51, 0.18);
  border-radius: 999px;
  background: #fff;
  font-size: 12px;
  letter-spacing: 0.06em;
}

/* ---------- 頁頭：葉影牆、麵包屑、標題 ---------- */
.fy-g-head {
  position: relative;
  overflow: hidden;
  background: var(--fy-wall);
}

.fy-g-head__wall {
  position: absolute;
  inset: 0;
}

.fy-g-head__wall img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 0 0;
  opacity: 0.55;
}

.fy-g-head--flip .fy-g-head__wall img {
  transform: scaleX(-1);
}

.fy-g-head__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 40px;
  padding-bottom: 56px;
}

.fy-g-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 8px;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--fy-ink-2);
}

.fy-g-crumbs a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}

.fy-g-crumbs a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.fy-g-crumbs [aria-current] {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.fy-g-head .fy-g-eyebrow {
  margin-top: 12px;
}

/* 首屏（專案頁、合作頁）：左文右圖 */
.fy-g-hero__grid {
  position: relative;
  display: flex;
  align-items: center;
  gap: 56px;
  padding-top: 32px;
  padding-bottom: 64px;
}

.fy-g-hero__text {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.fy-g-hero .fy-g-eyebrow {
  margin-top: 28px;
}

.fy-g-hero__media {
  flex: 0.9 1 0;
  min-width: 0;
}

.fy-g-hero__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.fy-g-hero__points {
  margin: 0;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--fy-ink-2);
}

.fy-g-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  margin: 0;
  font-size: 14px;
}

.fy-g-hero__facts div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fy-g-hero__facts dt {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--fy-ink-3);
}

.fy-g-hero__facts dd {
  margin: 0;
  font-weight: 600;
}

/* 頁內目錄（專案頁的跳轉列） */
.fy-g-jump {
  border-bottom: 1px solid var(--fy-line);
}

.fy-g-jump ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0 28px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  letter-spacing: 0.1em;
}

.fy-g-jump a {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  text-decoration: none;
}

.fy-g-jump a:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
}

/* ---------- 快速答案、優惠內容：上線分欄 ---------- */
.fy-g-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fy-g-facts--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fy-g-facts--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fy-g-fact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 0;
  border-top: 1px solid var(--fy-jet);
  font-size: 16px;
  line-height: 1.8;
}

.fy-g-fact > .fy-g-eyebrow,
.fy-g-fact > h3 {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.2em;
  color: var(--fy-ink-3);
}

.fy-g-fact p + p {
  margin-top: 6px;
}

/* ---------- 選擇分館：卡片 ---------- */
.fy-g-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 32px;
}

.fy-g-cards--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fy-g-cards--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px 24px;
}

.fy-g-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.fy-g-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.fy-g-card .fy-g-eyebrow {
  margin-top: 6px;
}

.fy-g-card .fy-g-h3 {
  font-size: 24px;
}

.fy-g-card > p,
.fy-g-card__body p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--fy-ink-2);
}

.fy-g-card ul {
  margin: 0;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--fy-ink-2);
}

.fy-g-card .fy-g-actions {
  margin-top: auto;
  padding-top: 4px;
}

/* 文字卡（沒有圖）：淡底 */
.fy-g-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.fy-g-tiles--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fy-g-tiles--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fy-g-tile {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  background: #fff;
  border: 1px solid rgba(49, 49, 51, 0.12);
}

.fy-g-band .fy-g-tile {
  border-color: transparent;
}

.fy-g-tile .fy-g-h3 {
  font-size: 20px;
}

.fy-g-tile p,
.fy-g-tile li {
  font-size: 15px;
  line-height: 1.85;
  color: var(--fy-ink-2);
}

.fy-g-tile ul,
.fy-g-tile ol {
  margin: 0;
  padding-left: 20px;
}

/* ---------- 分館比較：桌機表格、手機每館一張 dl ---------- */
.fy-g-table {
  border: 1px solid rgba(49, 49, 51, 0.14);
}

.fy-g-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.8;
}

.fy-g-table thead tr {
  background: var(--fy-soft);
  text-align: left;
}

.fy-g-table th,
.fy-g-table td {
  padding: 14px 20px;
  vertical-align: top;
  text-align: left;
}

.fy-g-table tbody tr {
  border-top: 1px solid rgba(49, 49, 51, 0.12);
}

.fy-g-table tbody th {
  font-weight: 500;
  white-space: nowrap;
}

.fy-g-table a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.fy-g-mobile-list {
  display: none;
}

.fy-g-dl {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 6px 12px;
  margin: 0 0 16px;
  padding: 16px;
  border: 1px solid rgba(49, 49, 51, 0.14);
  font-size: 14px;
  line-height: 1.75;
}

.fy-g-dl > dt:first-child {
  grid-column: 1 / -1;
  font-size: 16px;
  font-weight: 600;
}

.fy-g-dl dt {
  color: var(--fy-ink-3);
}

.fy-g-dl dd {
  margin: 0;
}

.fy-g-dl a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- 優惠碼卡（虛線框＋複製） ---------- */
.fy-g-coupons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.fy-g-coupon {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 24px 28px;
  border: 1px dashed var(--fy-jet);
  background: #fff;
}

.fy-g-coupon__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.fy-g-coupon__big {
  font-size: 18px;
}

.fy-g-coupon__code {
  font-size: 14px;
  color: var(--fy-ink-2);
}

.fy-g-coupon__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex: 0 0 auto;
}

/* 提醒框：淡灰底、左粗線 */
.fy-g-callout {
  padding: 14px 18px;
  background: var(--fy-soft);
  border-left: 3px solid var(--fy-jet);
  font-size: 15px;
  line-height: 1.85;
}

.fy-g-band .fy-g-callout {
  background: #fff;
}

/* ---------- 常見問題：左標題、右手風琴 ---------- */
.fy-g-faq {
  display: flex;
  gap: 64px;
  align-items: flex-start;
}

.fy-g-faq__head {
  flex: 0 0 360px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fy-g-faq__list {
  flex: 1 1 0;
  min-width: 0;
  border-bottom: 1px solid rgba(49, 49, 51, 0.14);
}

.fy-g-faq details {
  border-top: 1px solid rgba(49, 49, 51, 0.14);
}

.fy-g-faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 64px;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  list-style: none;
  cursor: pointer;
}

.fy-g-faq summary::-webkit-details-marker {
  display: none;
}

.fy-g-plus {
  flex: 0 0 auto;
  transition: transform 0.2s ease;
}

details[open] > summary .fy-g-plus {
  transform: rotate(45deg);
}

.fy-g-faq__a {
  padding-bottom: 20px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--fy-ink-2);
}

.fy-g-faq__a > * + * {
  margin-top: 12px;
}

.fy-g-faq__a ol,
.fy-g-faq__a ul {
  margin-bottom: 0;
  padding-left: 22px;
}

.fy-g-faq__a img {
  width: 100%;
  max-width: 480px;
  height: auto;
}

/* ---------- 收尾 CTA：深色帶 ---------- */
.fy-g-cta {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 48px;
  background: var(--fy-jet);
  color: #fff;
}

.fy-g-cta__title {
  margin: 0;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.fy-g-cta__text {
  font-size: 15px;
  line-height: 1.9;
  opacity: 0.85;
}

.fy-g-cta__btns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.fy-g .fy-g-cta .fy-btn {
  border-color: #fff;
  background: #fff;
  color: var(--fy-jet);
}

.fy-g .fy-g-cta .fy-btn:hover {
  background: var(--fy-soft);
  color: var(--fy-jet);
}

.fy-g .fy-g-cta .fy-btn--ghost {
  background: transparent;
  color: #fff;
}

.fy-g .fy-g-cta .fy-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.fy-g-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 13px;
}

.fy-g .fy-g-share a,
.fy-g .fy-g-share button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  color: #fff;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}

.fy-g .fy-g-share [hidden],
.fy-g .fy-g-share .hidden {
  display: none;
}

.fy-g .fy-g-license {
  margin-top: 20px;
}

.fy-g-cta > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* 首屏四館小圖 */
.fy-g-quad {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.fy-g-quad figure {
  position: relative;
  margin: 0;
}

.fy-g-quad img {
  aspect-ratio: 3 / 2;
}

.fy-g-quad figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 6px 12px;
  background: var(--fy-jet);
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.1em;
}

/* 分館卡上的房型起價 */
.fy-g .fy-g-price {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--fy-jet);
}

.fy-g-price span {
  font-size: 13px;
  color: var(--fy-ink-2);
}

.fy-g-price strong {
  font-size: 30px;
  font-weight: 500;
  line-height: 1.2;
}

.fy-g-price small {
  font-size: 14px;
}

.fy-g-dl--wide {
  grid-template-columns: 128px minmax(0, 1fr);
}

.fy-g .fy-g-note {
  margin-top: 16px;
}

.fy-g-table caption {
  padding: 14px 20px;
  text-align: left;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--fy-ink-2);
}

.fy-g-prose {
  font-size: 15px;
  line-height: 1.9;
  color: var(--fy-ink-2);
}

.fy-g .fy-g-prose > * + * {
  margin-top: 12px;
}

.fy-g-cta__btns--one {
  grid-template-columns: minmax(0, 320px);
}

.fy-g-points.fy-g-points--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fy-g-points.fy-g-points--list {
  grid-template-columns: minmax(0, 1fr);
}

/* 四欄卡片的按鈕縮小內距，三顆按鈕排得下 */
.fy-g-cards--4 .fy-btn {
  padding: 0 14px;
  letter-spacing: 0.08em;
}

.fy-g-tags--lg {
  gap: 10px;
}

.fy-g-tags--lg .fy-g-tag {
  min-height: 40px;
  padding: 6px 16px;
  font-size: 14px;
}

/* 高鐵聯票首屏的票券卡 */
.fy-g-ticket {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--fy-line);
}

.fy-g-hero__media.fy-g-ticket > img {
  aspect-ratio: 16 / 9;
}

.fy-g-ticket__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.fy-g-ticket__head span {
  white-space: nowrap;
}

.fy-g-ticket__head span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.fy-g-ticket__logo {
  width: auto;
  height: 20px;
}

.fy-g-ticket__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
}

.fy-g .fy-g-ticket__title {
  font-size: 24px;
  letter-spacing: 0.08em;
}

.fy-g-ticket__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 8px 0 0;
}

.fy-g-ticket__grid div {
  padding-top: 10px;
  border-top: 1px solid var(--fy-jet);
}

.fy-g-ticket__grid dt {
  font-size: 22px;
}

.fy-g-ticket__grid dd {
  margin: 0;
  font-size: 12px;
  color: var(--fy-ink-2);
}

.fy-g .fy-g-ticket__stub {
  padding: 12px 20px;
  border-top: 1px dashed var(--fy-jet);
  font-size: 13px;
  color: var(--fy-ink-2);
}

.fy-g .fy-g-fact__big {
  font-size: 24px;
  line-height: 1.4;
}

.fy-g-tiles--soft .fy-g-tile {
  border-color: transparent;
  background: var(--fy-soft);
}

.fy-g-small a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 兩欄卡片的圖改扁一點，免得整張圖佔滿螢幕 */
.fy-g-cards--2 .fy-g-card img {
  aspect-ratio: 16 / 9;
}

.fy-g-textlink {
  align-self: flex-start;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* 表單錯誤訊息（合作頁的驗證 script 會切換顯示） */
.fy-g .fy-g-error {
  font-size: 13px;
  color: #b42318;
}

.fy-g .fy-g-input.border-red-500 {
  border-color: #b42318;
}

/* 送出成功視窗：顯示由 script 切 hidden／flex，這裡只管外觀 */
/* 成功視窗：.fy-home 的 display/background 會蓋掉 Tailwind 的 hidden/flex 與遮罩色 */
.fy-home.fy-g-modal {
  display: none;
  background: rgba(0, 0, 0, 0.6);
  z-index: 3100;
}

.fy-home.fy-g-modal.flex {
  display: flex;
}

.fy-g-modal__box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: min(100% - 32px, 400px);
  padding: 32px;
  background: #fff;
  text-align: center;
}

.fy-g-modal__box p {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--fy-ink-2);
}

.fy-g-modal__box .fy-btn {
  width: 100%;
  margin-top: 8px;
}

.fy-g-modal__icon {
  color: var(--fy-artichoke);
}

.fy-g-form__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fy-g-form__actions p:empty {
  display: none;
}

/* 國際實習計畫 */
.fy-g-h1__en {
  display: block;
  margin-top: 10px;
  font-family: "Italiana", serif;
  font-size: 0.6em;
  letter-spacing: 0.06em;
  color: var(--fy-ink-3);
}

.fy-g .fy-g-point dt {
  margin: 0;
}

.fy-g .fy-g-point dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--fy-ink-2);
}

.fy-g-dots {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 16px;
  line-height: 1.8;
}

.fy-g-dots li {
  position: relative;
  padding-left: 22px;
}

.fy-g-dots li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fy-artichoke);
}

.fy-g-vsteps {
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--fy-line);
}

.fy-g-vsteps li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--fy-line);
  font-size: 15px;
  line-height: 1.7;
}

.fy-g-vsteps__n {
  font-size: 24px;
  line-height: 1.1;
  color: var(--fy-artichoke);
}

.fy-g .fy-g-vsteps p {
  margin-top: 2px;
  color: var(--fy-ink-2);
}

.fy-g-applybox {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 32px;
  border: 1px solid rgba(49, 49, 51, 0.14);
  background: #fff;
}

.fy-g-applybox > p {
  font-size: 15px;
  color: var(--fy-ink-2);
}

.fy-g-applybox .fy-g-form {
  margin-top: 14px;
}

.fy-g .fy-g-file {
  padding: 10px 12px;
  font-size: 14px;
}

.fy-g-links a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 767px) {
  .fy-g-applybox {
    padding: 24px 20px;
  }
}

/* ---------- 未成年住宿家長同意書（minor-consent.js 會改寫部分 class，這裡用 id／屬性鎖樣式） ---------- */
.fy-g-consent .consent-numeric {
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-variant-numeric: tabular-nums lining-nums;
  letter-spacing: 0.025em;
}

.fy-g-consent .consent-record-value {
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 1.05rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums lining-nums;
  letter-spacing: 0.035em;
}

.fy-g-consent__flowlabel {
  margin-bottom: 14px;
}

.fy-g-consent .fy-g-flow [data-step-indicator] {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(49, 49, 51, 0.3);
  border-radius: 999px;
  background: #fff;
  color: var(--fy-ink-3);
  font-size: 14px;
}

.fy-g-consent .fy-g-flow [data-step-indicator][class*=" bg-"] {
  border-color: var(--fy-jet);
  background: var(--fy-jet);
  color: #fff;
}

.fy-g-consent .fy-g-flow [data-step-indicator][aria-current="step"] + span {
  font-weight: 600;
  color: var(--fy-jet);
}

.fy-g-consent #form-notice {
  margin: 0 0 20px;
}

.fy-g-consent__steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.fy-g-consent__steps[hidden],
.fy-g-consent__done[hidden] {
  display: none;
}

.fy-g-consent .fy-g-card-sec__head .fy-g-eyebrow {
  font-size: 11px;
}

.fy-g-consent__summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 32px;
  margin: 0;
}

.fy-g-consent #consent-summary dt {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--fy-ink-3);
}

.fy-g-consent #consent-summary dd {
  margin: 6px 0 0;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--fy-line);
  font-size: 16px;
  color: var(--fy-jet);
}

.fy-g-consent__form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.fy-g-consent__group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fy-g-consent__group--line {
  padding-top: 24px;
  border-top: 1px solid var(--fy-line);
}

.fy-g-consent__grouphead,
.fy-g-consent__sighead {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.fy-g-consent__grouphead .fy-g-small {
  margin-top: 4px;
}

.fy-g-consent .fy-btn {
  min-height: 44px;
}

.fy-g-consent__minors {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fy-g-consent #minor-guests fieldset {
  margin: 0;
  padding: 16px;
  border: 0;
  border-radius: 0;
  background: #f4f4f1;
}

.fy-g-consent #minor-guests fieldset > div:first-child > span {
  font-family: "Noto Serif TC", "Fooyee Serif", serif;
  font-size: 17px;
  letter-spacing: 0.08em;
}

.fy-g-consent #minor-guests [data-remove-minor] {
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(49, 49, 51, 0.3);
  border-radius: 2px;
  background: #fff;
  color: var(--fy-jet);
  font-size: 13px;
  text-decoration: none;
}

.fy-g-consent #minor-guests [data-remove-minor][hidden] {
  display: none;
}

.fy-g-consent #minor-guests label > span {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.fy-g-consent #minor-guests input,
.fy-g-consent #signer-data-form .fy-g-input,
.fy-g-consent #sign-form .fy-g-input {
  box-sizing: border-box;
  width: 100%;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid rgba(49, 49, 51, 0.24);
  border-radius: 2px;
  background: #fff;
  color: var(--fy-jet);
  font-size: 16px;
  box-shadow: none;
}

.fy-g-consent #minor-guests input:focus {
  outline: 2px solid var(--fy-artichoke);
  outline-offset: 1px;
}

.fy-g-consent #sign-form .fy-g-input--readonly {
  background: #f4f4f1;
  color: var(--fy-ink-3);
}

.fy-g-consent__terms {
  max-height: 420px;
  overflow-y: auto;
  padding: 20px 24px;
  border: 1px solid rgba(49, 49, 51, 0.2);
  background: #fafaf8;
  font-size: 14px;
  line-height: 1.9;
  color: var(--fy-ink-2);
}

.fy-g-consent #terms-content h3 {
  margin: 0;
  font-family: "Noto Serif TC", "Fooyee Serif", serif;
  font-size: 19px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--fy-jet);
}

.fy-g-consent #terms-content h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--fy-jet);
}

.fy-g-consent #terms-content section {
  margin-top: 20px;
}

.fy-g-consent #terms-content p {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--fy-ink-2);
}

.fy-g-consent__sign {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.fy-g-consent__sigwrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fy-g-consent__siglabel {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

/* tailwind.css 的表單外掛把核取方塊設成 appearance:none＋藍色，這裡改回原生外觀 */
.fy-g .fy-g-check input[type="checkbox"] {
  -webkit-appearance: auto;
  appearance: auto;
  accent-color: var(--fy-jet);
}

.fy-g-consent__pad {
  position: relative;
  overflow: hidden;
  border: 1px dashed var(--fy-jet);
  background: #fff;
}

.fy-g-consent__watermark {
  position: absolute;
  z-index: 0;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
  font-size: 15px;
  color: #8a8a8e;
  pointer-events: none;
}

.fy-g-consent__watermark[hidden] {
  display: none;
}

.fy-g-consent__baseline {
  position: absolute;
  z-index: 0;
  left: 32px;
  right: 32px;
  bottom: 36px;
  border-bottom: 1px solid rgba(49, 49, 51, 0.16);
  pointer-events: none;
}

.fy-g-consent #signature-pad {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 192px;
  background: transparent;
  touch-action: none;
  cursor: crosshair;
}

.fy-g-consent #sign-form .fy-g-submit {
  min-height: 56px;
  font-size: 16px;
}

.fy-g-consent #sign-form .fy-g-submit:disabled,
.fy-g-consent__cta .fy-btn:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.fy-g-consent__done {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 40px 32px;
  border: 1px solid rgba(49, 49, 51, 0.12);
  background: #f4f4f1;
  text-align: center;
}

.fy-g-consent__done > p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--fy-ink-2);
}

.fy-g-consent__done .fy-btn[hidden] {
  display: none;
}

.fy-g-consent__tick {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: var(--fy-jet);
  color: #fff;
  font-size: 26px;
}

/* 手機：簽署進度列疊在共用底部按鈕列上方 */
.fy-home.fy-g-consent__cta {
  display: none;
}

@media (max-width: 767px) {
  .fy-home.fy-g-consent__cta {
    position: fixed;
    z-index: 2990;
    left: 0;
    right: 0;
    bottom: calc(64px + env(safe-area-inset-bottom));
    display: block;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid rgba(49, 49, 51, 0.12);
    box-shadow: 0 -8px 24px rgba(49, 49, 51, 0.08);
  }

  .fy-home.fy-g-consent__cta[hidden] {
    display: none;
  }

  .fy-g-consent__ctainner {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .fy-g-consent__ctainner p {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--fy-ink-2);
  }

  .fy-g-consent__ctainner .fy-btn {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 0 16px;
  }

  .fy-g-consent .fy-g-end {
    height: 140px;
  }

  .fy-g-consent__summary {
    grid-template-columns: minmax(0, 1fr);
  }

  .fy-g-consent .fy-g-card-sec {
    padding: 24px 20px;
  }

  .fy-g-consent__terms {
    max-height: 360px;
    padding: 16px;
  }

  .fy-g-consent #signature-pad {
    height: 160px;
  }

  .fy-g-consent__done {
    padding: 32px 20px;
  }
}

/* 常見問題裡的兩欄步驟圖 */
.fy-g-faq__steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.fy-g-faq__steps ol {
  margin: 8px 0 12px;
}

/* ---------- 合作頁：亮點編號、四步驟、洽詢表單 ---------- */
.fy-g-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fy-g-point {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 0;
  border-top: 1px solid var(--fy-jet);
}

.fy-g-num {
  font-size: 28px;
  line-height: 1;
}

.fy-g-point .fy-g-h3 {
  font-size: 20px;
}

.fy-g-point p,
.fy-g-point li {
  font-size: 15px;
  line-height: 1.85;
  color: var(--fy-ink-2);
}

.fy-g-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fy-g-step {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 16px;
  border-top: 2px solid var(--fy-jet);
}

.fy-g-step__title {
  font-size: 20px;
}

.fy-g-step p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--fy-ink-2);
}

.fy-g-split {
  display: flex;
  gap: 64px;
  align-items: flex-start;
}

.fy-g-band > .fy-container.fy-g-split,
.fy-g-band > .fy-container.fy-g-faq {
  flex-direction: row;
  gap: 64px;
  align-items: flex-start;
}

.fy-g-split__side {
  flex: 0 0 360px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.fy-g-split__side > p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--fy-ink-2);
}

.fy-g-split__main {
  flex: 1 1 0;
  min-width: 0;
}

.fy-g-req {
  color: #7a3b2e;
}

/* 表單欄位：label 在上、必填星號緊接 label、輸入框高 48px */
.fy-g-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
  padding: 32px;
  background: #fff;
}

.fy-g-form--plain {
  padding: 0;
  background: transparent;
}

.fy-g-full {
  grid-column: 1 / -1;
}

.fy-g-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.fy-g-field__hint {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--fy-ink-3);
}

.fy-g .fy-g-input {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid rgba(49, 49, 51, 0.24);
  border-radius: 2px;
  background: #fff;
  color: var(--fy-jet);
  font: inherit;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.fy-g textarea.fy-g-input {
  min-height: 112px;
  padding: 12px;
  line-height: 1.7;
  resize: vertical;
}

.fy-g .fy-g-input:focus {
  outline: 2px solid var(--fy-artichoke);
  outline-offset: 1px;
}

.fy-g-check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.7;
  cursor: pointer;
}

.fy-g-check input {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  accent-color: var(--fy-jet);
}

.fy-g-submit {
  grid-column: 1 / -1;
  width: 100%;
  min-height: 52px;
  font-size: 15px;
}

.fy-g-status {
  grid-column: 1 / -1;
  font-size: 14px;
  line-height: 1.8;
}

/* ---------- 文字頁：左側黏性目錄、右側條文 ---------- */
.fy-g-text {
  display: flex;
  gap: 64px;
  align-items: flex-start;
  padding-top: 56px;
}

.fy-g-toc {
  flex: 0 0 240px;
  position: sticky;
  top: 24px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
}

.fy-g-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.fy-g-toc a {
  display: block;
  padding: 7px 0 7px 16px;
  border-left: 2px solid rgba(49, 49, 51, 0.12);
  font-size: 14px;
  line-height: 1.6;
  text-decoration: none;
}

.fy-g-toc a.is-current,
.fy-g-toc a:hover {
  border-left-color: var(--fy-jet);
}

.fy-g-toc .fy-g-eyebrow {
  margin-bottom: 12px;
}

.fy-g-toc-m {
  display: none;
  margin-bottom: 8px;
  padding: 0 16px;
  border: 1px solid rgba(49, 49, 51, 0.14);
}

.fy-g-toc-m summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 52px;
  font-size: 15px;
  list-style: none;
  cursor: pointer;
}

.fy-g-toc-m summary::-webkit-details-marker {
  display: none;
}

.fy-g-toc-m ol {
  margin: 0;
  padding: 0 0 12px;
  list-style: none;
}

.fy-g-toc-m a {
  display: block;
  padding: 7px 0 7px 16px;
  border-left: 2px solid rgba(49, 49, 51, 0.12);
  font-size: 14px;
  line-height: 1.6;
  text-decoration: none;
}

.fy-g-article {
  flex: 1 1 0;
  min-width: 0;
  max-width: 760px;
  font-size: 16px;
  line-height: 2;
}

.fy-g-article section {
  scroll-margin-top: 24px;
}

.fy-g-article h2 {
  margin: 48px 0 14px;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.08em;
}

.fy-g-article > section:first-child > h2:first-child {
  margin-top: 0;
}

.fy-g-article h3 {
  margin: 24px 0 10px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.06em;
}

.fy-g-article p {
  margin: 0 0 16px;
}

.fy-g-article ul,
.fy-g-article ol {
  margin: 0 0 16px;
  padding-left: 22px;
}

.fy-g-article ul {
  list-style: disc;
}

.fy-g-article ol {
  list-style: decimal;
}

.fy-g-article li {
  margin-bottom: 4px;
}

.fy-g-article li > ul,
.fy-g-article li > ol {
  margin: 4px 0 0;
}

.fy-g-article a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.fy-g-article table {
  width: 100%;
  margin-bottom: 16px;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.8;
}

.fy-g-article thead tr {
  background: var(--fy-soft);
  text-align: left;
}

.fy-g-article th,
.fy-g-article td {
  padding: 12px 16px;
  vertical-align: top;
  text-align: left;
}

.fy-g-article tbody tr {
  border-top: 1px solid rgba(49, 49, 51, 0.12);
}

.fy-g-article tbody th {
  font-weight: 400;
}

.fy-g-article .fy-g-table {
  margin-bottom: 16px;
  overflow-x: auto;
}

.fy-g-article .fy-g-table table {
  margin: 0;
}

/* 左右對照：付款方式、退款方式 */
.fy-g-pairs {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  margin: 0 0 16px;
  border-top: 1px solid rgba(49, 49, 51, 0.14);
  font-size: 15px;
  line-height: 1.85;
}

.fy-g-pairs dt {
  padding: 12px 16px 12px 0;
  border-bottom: 1px solid rgba(49, 49, 51, 0.14);
  font-weight: 600;
}

.fy-g-pairs dd {
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid rgba(49, 49, 51, 0.14);
}

.fy-g-pairs--short {
  grid-template-columns: 120px minmax(0, 1fr);
}

.fy-g-article .fy-g-callout {
  margin: 0 0 12px;
}

.fy-g-updated {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid rgba(49, 49, 51, 0.14);
  font-size: 14px;
  color: var(--fy-ink-3);
}

.fy-g-top {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  letter-spacing: 0.1em;
}

/* ---------- 表單頁：步驟、分段卡片、簽名 ---------- */
.fy-g-formwrap {
  max-width: 920px;
  padding-top: 40px;
}

.fy-g-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.fy-g-flow li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--fy-ink-3);
}

.fy-g-flow__n {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(49, 49, 51, 0.3);
  border-radius: 999px;
  font-size: 14px;
}

.fy-g-flow li.is-current {
  font-weight: 600;
  color: var(--fy-jet);
}

.fy-g-flow li.is-current .fy-g-flow__n {
  border-color: var(--fy-jet);
  background: var(--fy-jet);
  color: #fff;
}

.fy-g-card-sec {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 32px;
  border: 1px solid rgba(49, 49, 51, 0.12);
  background: #fff;
}

.fy-g-card-sec__head {
  display: flex;
  gap: 14px;
  align-items: baseline;
}

.fy-g-card-sec__head > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fy-g-card-sec__title {
  margin: 0;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.fy-g-card-sec__head p {
  font-size: 14px;
  color: var(--fy-ink-2);
}

/* ---------- 404 ---------- */
.fy-g-404 {
  display: flex;
  gap: 64px;
  align-items: flex-start;
  position: relative;
  padding-top: 96px;
  padding-bottom: 96px;
}

.fy-g-404__text {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}

.fy-g-404__code {
  font-size: 160px;
  line-height: 0.9;
}

.fy-g-404__list {
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
  padding: 8px 32px;
  list-style: none;
  background: #fff;
  border-bottom: 1px solid rgba(49, 49, 51, 0.14);
}

.fy-g-404__list a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 0;
  border-top: 1px solid rgba(49, 49, 51, 0.14);
  text-decoration: none;
}

.fy-g-404__list li:first-child a {
  border-top: 0;
}

.fy-g-404__name {
  font-size: 20px;
  letter-spacing: 0.08em;
}

.fy-g-404__sub {
  font-size: 14px;
  color: var(--fy-ink-2);
}

@media (prefers-reduced-motion: reduce) {
  .fy-g-plus {
    transition: none;
  }
}

/* ---------- 手機 ---------- */
@media (max-width: 767px) {
  .fy-g-sec {
    padding-top: 64px;
  }

  .fy-g-band {
    margin-top: 64px;
  }

  .fy-g-band > .fy-container {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .fy-g-end {
    height: 64px;
  }

  .fy-g-h1 {
    font-size: 36px;
    letter-spacing: 0.1em;
  }

  /* 專案頁標題字多，縮小讓一行放得下一個詞組 */
  .fy-g-h1--sm {
    font-size: 28px;
    letter-spacing: 0.06em;
  }

  .fy-g-h2 {
    font-size: 28px;
    letter-spacing: 0.12em;
  }

  .fy-g-h3 {
    font-size: 19px;
  }

  .fy-g-lead {
    font-size: 15px;
  }

  .fy-g-hero__grid,
  .fy-g-faq,
  .fy-g-split,
  .fy-g-band > .fy-container.fy-g-split,
  .fy-g-band > .fy-container.fy-g-faq,
  .fy-g-text,
  .fy-g-404 {
    flex-direction: column;
    gap: 28px;
  }

  .fy-g-hero__media,
  .fy-g-faq__head,
  .fy-g-split__side,
  .fy-g-split__main,
  .fy-g-404__list {
    flex-basis: auto;
    width: 100%;
    box-sizing: border-box;
  }

  .fy-g-hero .fy-g-eyebrow {
    margin-top: 12px;
  }

  .fy-g-actions .fy-btn {
    width: 100%;
  }

  .fy-g-facts,
  .fy-g-facts--3,
  .fy-g-facts--2,
  .fy-g-cards,
  .fy-g-cards--2,
  .fy-g-cards--4,
  .fy-g-tiles,
  .fy-g-tiles--2,
  .fy-g-tiles--4,
  .fy-g-faq__steps,
  .fy-g-points.fy-g-points--4,
  .fy-g-coupons,
  .fy-g-points,
  .fy-g-steps,
  .fy-g-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .fy-g-cards {
    gap: 40px;
  }

  .fy-g-steps {
    gap: 20px;
  }

  .fy-g-form {
    padding: 24px 18px;
  }

  .fy-g-form--plain {
    padding: 0;
  }

  .fy-g-table--compare {
    display: none;
  }

  .fy-g-mobile-list {
    display: block;
  }

  .fy-g-coupon {
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
  }

  .fy-g-coupon__actions {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .fy-g-cta {
    padding: 32px 20px;
  }

  .fy-g-cta__title {
    font-size: 22px;
  }

  .fy-g-text {
    padding-top: 32px;
    gap: 0;
  }

  .fy-g-toc {
    display: none;
  }

  .fy-g-toc-m {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 32px;
  }

  .fy-g-article h2 {
    margin-top: 40px;
    font-size: 21px;
  }

  .fy-g-pairs,
  .fy-g-pairs--short {
    grid-template-columns: minmax(0, 1fr);
  }

  .fy-g-pairs dt {
    padding: 12px 0 0;
    border-bottom: 0;
  }

  .fy-g-pairs dd {
    padding: 2px 0 12px;
  }

  .fy-g-card-sec {
    padding: 24px 18px;
  }

  .fy-g-404 {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .fy-g-404__code {
    font-size: 104px;
  }

  .fy-g-404__list {
    padding: 4px 20px;
  }
}
