/*
 * 集團首頁（葉影版）專用樣式
 * 只由 src/index.html 與各語系的 index.html 載入。不需 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;
}

.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;
}

/* 非中日韓語系：明體標題的英文改用 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;
  }
}
