@charset "utf-8";
/* =============================================================
   ReSarah — 全站共用樣式（以 Desktop A01 為基準）
   Tokens / Reset / Logo / Buttons / 區塊標籤 / Header / Hero 外殼 / Footer
   頁面專屬樣式請放在各自的 a0x-*.css，並在 common.css 之後載入。
   ============================================================= */

/* ---------- Design Tokens（全部取自 Figma） ---------- */
:root {
  /* Color */
  --c-text-primary:    #212121;
  --c-text-invert:     #ffffff;
  --c-text-tertiary:   #7a7a7a;
  --c-surface-default: #efe7dc;   /* 米 */
  --c-surface-dark:    #212121;
  --c-surface-white:   #ffffff;
  --c-surface-gold:    #caa561;   /* Nav CTA */
  --c-brand-primary:   #ebcfcd;   /* 粉膚，section 底 / 巨型字 */
  --c-accent-pink:     #eda3c6;   /* 主要 CTA */
  --c-accent-pink-lt:  #fde3e3;   /* Hero CTA */
  --c-accent-green:    #34c759;   /* LINE 按鈕 */
  --c-line:            #d9d9d9;

  /* Typography */
  --ff-display: 'Didot', 'Bodoni 72', 'Prata', 'Playfair Display', 'Times New Roman', serif;
  --ff-base:    'Noto Serif TC', 'Songti TC', 'PMingLiU', serif;

  --fs-display:   90px;  --lh-display:   100px;  /* H1-desk   Didot */
  --fs-mega:     300px;  --lh-mega:      240px;  /* H1-desk2  Didot 巨型襯底字 */
  --fs-h1:        32px;  --lh-h1:         40px;
  --fs-title-b:   40px;  --lh-title-b:    52px;  /* Title-big */
  --fs-title:     20px;  --lh-title:      24px;
  --fs-h2:        20px;  --lh-h2:         28px;
  --fs-body:      16px;  --lh-body:       28px;
  --fs-bodyb:     16px;  --lh-bodyb:      24px;
  --fs-caption:   14px;  --lh-caption:    22px;
  --fs-small:     12px;  --lh-small:      18px;

  /* Layout */
  --canvas:       1440px;
  --container:    1200px;  /* 內容欄寬（左右各 120px） */
  --header-pad:     65px;
  --footer-inner: 1120px;
  --nav-gap:        38px;
  --hero-h:        900px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ff-base);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--c-text-primary);
  background: var(--c-surface-white);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--c-surface-gold); outline-offset: 3px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

/* ---------- 圖片容器 ----------
   ★ 圖片來源一律由 PHP 輸出 inline style（Function/Ui_func.php 的 ui_bg()），
     CSS 只負責「怎麼裁切」，不負責「用哪張圖」。
     有圖 → .bgimg ／ 沒圖 → .ph 灰底佔位                              */
.bgimg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* 圖片佔位（正式素材全部接上後整段可刪） */
.ph {
  position: relative;
  background: linear-gradient(135deg, #d8d2c8 0%, #c3bcb0 100%);
  overflow: hidden;
}
.ph::after {
  content: attr(data-ph);
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  padding: 8px;
  text-align: center;
  font-family: var(--ff-display);
  font-size: 12px;
  letter-spacing: .12em;
  color: rgba(255,255,255,.85);
}

/* ---------- Logo ---------- */
.brand,
.footer__brand {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  line-height: 1;
}
.brand__main {
  font-family: var(--ff-display);
  font-size: 64px;
  letter-spacing: .01em;
  white-space: nowrap;
}
.brand__sub {
  font-family: var(--ff-display);
  font-size: 13px;
  letter-spacing: .18em;
  margin-top: 12px;
  text-align: center;
  white-space: nowrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 4px 20px;
  border-radius: 999px;
  font-size: var(--fs-bodyb);
  line-height: var(--lh-bodyb);
  font-weight: 600;
  white-space: nowrap;
  transition: opacity .25s ease, transform .25s ease;
}
.btn:hover  { opacity: .85; }
.btn:active { transform: translateY(1px); }

.btn--gold   { background: var(--c-surface-gold);   color: var(--c-text-primary); border-radius: 4px; font-weight: 400; }
.btn--pink   { background: var(--c-accent-pink);    color: var(--c-text-primary); }
.btn--pinklt { background: var(--c-accent-pink-lt); color: var(--c-text-primary); font-weight: 400; }
.btn--white  { background: var(--c-surface-white);  color: var(--c-text-primary); font-weight: 400; }
.btn--green  { background: var(--c-accent-green);   color: #fff; font-size: var(--fs-small); line-height: var(--lh-small); min-height: 25px; padding: 4px 14px; font-weight: 400; }

/* ---------- 區塊標籤（圓圈 + 線 + 文字） ---------- */
.sec-label {
  display: flex;
  align-items: center;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}
.sec-label::before {
  content: '';
  width: 28px; height: 28px;
  border: 1px solid currentColor;
  border-radius: 50%;
  flex: none;
  opacity: .55;
}
.sec-label span { position: relative; padding-left: 75px;margin-left: -25px; }
.sec-label span::before {
  content: '';
  position: absolute;
  left: 12px; top: 50%;
  width: 52px; height: 1px;
  background: currentColor;
  opacity: .45;
}

/* ---------- 巨型襯底英文字 / 大標 ---------- */
.mega {
  font-family: var(--ff-display);
  font-size: var(--fs-mega);
  line-height: var(--lh-mega);
  color: var(--c-brand-primary);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.mega--light { color: var(--c-surface-white); }

.display {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: var(--fs-display);
  line-height: var(--lh-display);
}

/* ---------- 輪播箭頭（情境卡 / 款式卡共用） ---------- */
.slider-nav { display: flex; gap: 14px; }
.slider-nav button {
  width: 34px; height: 34px;
  display: grid; place-content: center;
  transition: opacity .25s ease;
}
.slider-nav button:hover { opacity: .6; }

/* =============================================================
   HEADER
   ============================================================= */
.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 100;
  color: var(--c-text-primary);
}
.site-header--invert { color: var(--c-text-invert); }

.header__inner {
/*  max-width: var(--canvas);*/
  margin-inline: auto;
  padding: 5px var(--header-pad) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
    position: fixed;
    width: 100%;
    
}
.header__inner .brand { margin-top: 12px; }

.nav-toggle { display: none; }
.nav { display: flex; align-items: center; gap: var(--nav-gap); }
.nav__list { display: flex; align-items: center; gap: var(--nav-gap); }
.nav__list a {
  display: inline-block;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  white-space: nowrap;
  transition: opacity .25s ease;
    color: white;
}
.nav__list a:hover { opacity: .6; }
.nav__en { font-family: var(--ff-display); font-size: 18px; }


.nav__list.link__black a {
    color: #000;
}

/* 手機選單（全站）：只在選單打開（.is-open）時生效，所以不管各頁的漢堡斷點是 767 還是 1023 都適用
   原本 .nav__list a 寫死白字，而手機選單面板是白底 → 整片全白看不到字 */
.site-header .nav-toggle { color: #fff; }                                             /* 漢堡平常用白色，壓在 hero 照片上才看得到 */
.site-header:has(.link__black) .nav-toggle { color: var(--c-text-primary, #212121); } /* header_black.php（淺色頁）維持深色 */
.site-header.is-open { background: #fff; box-shadow: 0 1px 0 rgba(33,33,33,.08); }
.site-header.is-open .nav-toggle { color: var(--c-text-primary, #212121); }
.site-header.is-open .brand__main img { filter: brightness(0); }                      /* 白色 logo 在白底轉成黑色 */
.site-header.is-open .nav { background: #fff; box-shadow: 0 16px 24px rgba(0,0,0,.08); }
.site-header.is-open .nav__list a { display: block; color: var(--c-text-primary, #212121); }
.site-header.is-open .header__inner {
    background: #fff; 
}
/* =============================================================
   HERO 外殼（slick slider）
   文案排版因頁而異，請寫在各頁的 CSS
   ============================================================= */
.hero { position: relative; height: var(--hero-h); background: #8f9d78;overflow: hidden;}

.hero__slider,
.hero__slider .slick-list,
.hero__slider .slick-track,
.hero__slide { height: var(--hero-h); }

.hero__slide { position: relative; }
.hero__media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,0) 26%, rgba(0,0,0,.22) 100%);
}
.hero__inner {
  position: relative;
  height: 100%;
  max-width: var(--canvas);
  margin-inline: auto;
  padding-inline: var(--header-pad);
}
.hero__title {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: var(--fs-display);
  line-height: var(--lh-display);
}

/* slick dots — Figma：60 × 3px 短線，y=854，靠右 */
.hero .slick-dots {
  position: absolute;
  bottom: 43px;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, var(--canvas));
  padding-inline: var(--header-pad);
  display: flex !important;
  justify-content: flex-end;
  gap: 6px;
  z-index: 5;
}
.hero .slick-dots li { width: 60px; height: 3px; }
.hero .slick-dots li button {
  display: block;
  width: 60px; height: 3px;
  padding: 0;
  text-indent: -9999px;
  background: var(--c-line);
  transition: background .25s ease;
}
.hero .slick-dots li.slick-active button,
.hero .slick-dots li button:hover { background: var(--c-surface-gold); }

/* =============================================================
   FOOTER
   ============================================================= */
.site-footer {
  background: var(--c-surface-dark);
  color: var(--c-text-invert);
}
.footer__inner {
  max-width: var(--footer-inner);
  margin-inline: auto;
  padding: 75px 0 40px;
  display: flex;
  align-items: flex-start;
}
.footer__brand { width: 167px; flex: 0 0 167px; align-items: flex-start; }
.footer__brand .brand__main { font-size: 28px; width: 98px; }
.footer__brand .brand__sub  { font-size: 8px; margin-top: 7px; width: 98px; letter-spacing: .14em; }

.footer__col { flex: 0 0 219px; }
.footer__col--shop   { flex-basis: 220px; }
.footer__col--social { flex-basis: 165px; }
.footer__col--last   { flex: 1 1 auto; }

.footer__list { font-size: var(--fs-caption); line-height: var(--lh-caption); }
.footer__list li { position: relative; padding-left: 14px; }
.footer__list li::before { content: '・'; position: absolute; left: -2px; color: rgba(255,255,255,.75); }
.footer__list a { transition: opacity .25s ease; }
.footer__list a:hover { opacity: .65; }
.footer__list--plain li::before { content: none; }
.footer__list--plain li { padding-left: 14px; }
.footer__list--hours { margin-top: 22px; }

.footer__social { display: flex; gap: 20px; margin-top: 60px; }
.footer__social svg { width: 28px; height: 28px; }

/* =============================================================
   共用 RWD
   ============================================================= */
@media (min-width: 1440px) {
  .site-footer { min-height: 258px; }
}

@media (max-width: 1439px) {
  :root { --header-pad: 40px; }
  .footer__inner { max-width: none; padding-inline: 40px; flex-wrap: wrap; gap: 32px 24px; }
  .footer__inner > * { flex: 1 1 180px; width: auto; }
}

@media (max-width: 1024px) {
  :root {
    --hero-h: 640px;
    --fs-display: 62px; --lh-display: 70px;
    --fs-mega: 190px;   --lh-mega: 160px;
    --fs-title-b: 28px; --lh-title-b: 40px;
  }
  .header__inner { padding-top: 28px; }
  .nav, .nav__list { gap: 20px; }
  .nav__list a { font-size: 15px; }
}

@media (max-width: 767px) {
  :root {
    --hero-h: 560px;
    --header-pad: 20px;
    --fs-display: 40px; --lh-display: 48px;
    --fs-mega: 110px;   --lh-mega: 96px;
    --fs-title-b: 20px; --lh-title-b: 32px;
  }

  /* Header → 漢堡 */
  .header__inner { padding-top: 18px; align-items: center; }
  .header__inner .brand { margin-top: 0; }
  .brand__main { font-size: 32px; }
  .brand__sub  { font-size: 10px; margin-top: 5px; }

  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 10px;
    width: 50px; height: 50px; padding: 8px;
/*      position: fixed;top: 12px;right: 12px;*/
  }
  .nav-toggle span { display: block; height: 2px; background: currentColor; transition: transform .3s ease, opacity .3s ease; }
  .site-header.is-open .nav-toggle span:nth-child(1) { transform: translateY(12px) rotate(45deg); }
  .site-header.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.is-open .nav-toggle span:nth-child(3) { transform: translateY(-12px) rotate(-45deg); }

  .nav {
    position: absolute; inset: 100% 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 20px 24px;
    color: var(--c-text-primary);
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    display: none;
  }
  .site-header.is-open .nav { display: flex; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list a { padding: 12px 0; border-bottom: 1px solid rgba(33,33,33,.08); }
  .nav .btn--gold { margin-top: 16px; align-self: flex-start; }

  .hero .slick-dots { bottom: 28px; justify-content: flex-start; }
  .hero .slick-dots li, .hero .slick-dots li button { width: 36px; }

  .footer__inner { flex-direction: column; gap: 28px; padding: 48px 20px 40px; }
  .footer__inner > * { flex: 0 0 auto; width: auto; }
  .footer__social { margin-top: 24px; gap: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}




/* 共用區塊 */

/* =============================================================
   10 Visit（A02 共用同一組 class）
   ============================================================= */
.visit { position: relative; padding: 60px 0 90px; overflow: hidden; }
.visit__mega { position: absolute; left: -41px; top: 150px; }
.visit__inner { position: relative; }
.visit__label { margin-bottom: 130px; }
.visit__grid { display: grid; grid-template-columns: 420px 1fr; gap: 60px; align-items: end; }
.visit__title { font-size: var(--fs-title); line-height: var(--lh-title); font-weight: 700; margin-bottom: 16px; }
.visit__text  { max-width: 415px; margin-bottom: 26px; }
.visit__facts { font-size: var(--fs-caption); line-height: var(--lh-caption); margin-bottom: 26px; }
.visit__facts li { position: relative; padding-left: 22px; }
.visit__facts li::before { content: '／'; position: absolute; left: 0; }

/* repeat start：.store-card */
.visit__stores { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }


.media > img { width:100%; height:100%; object-fit: cover; }



.btn__line {
    background: #00B900!important;
    color: #FFF;
    border-color:#00B900!important;
}
.color__golden {
    color: #CAA561;
/*    border-color:#CAA561!important;*/
}
.bd__golden {
    border-color:#CAA561!important;
}
.color__white {
    color: #FFF;
}
.color__pink {
    color: var(--c-pink);
}
.bg__golden {
    background: #CAA561;
}
/* =============================================================
   Header 捲動縮小（全站）：往下捲 → site.js 加 .is-scrolled
   Logo 變小、上方留白縮短、header 列轉白底＋黑 logo；回到頂端還原。全部 linear 過場
   尺寸調整：--logo-w（原大小）／--logo-w-sm（縮小後）／--header-anim（速度與曲線）
   ============================================================= */
:root { --logo-w: 180px; --logo-w-sm: 130px; --header-anim: .3s linear; }
.header__inner {
  transition: padding var(--header-anim), background-color var(--header-anim), box-shadow var(--header-anim);
}
.header__inner .brand { transition: margin var(--header-anim); }
.brand__main img {
  display: block;
  width: var(--logo-w);
  height: auto;
  transition: width var(--header-anim), filter var(--header-anim);
}
.site-header .nav-toggle { transition: color var(--header-anim); }
.site-header .nav__list a { transition: opacity .25s ease, color var(--header-anim); }

.site-header.is-scrolled .header__inner {
  padding-top: 2px;
  padding-bottom: 2px;
  background-color: #fff;
  box-shadow: 0 1px 0 rgba(33,33,33,.08);
}
.site-header.is-scrolled .header__inner .brand { margin-top: 0; }
.site-header.is-scrolled .brand__main img { width: var(--logo-w-sm); filter: brightness(0); }   /* 白 logo 在白底轉黑 */
.site-header.is-scrolled .nav__list a,
.site-header.is-scrolled .nav-toggle { color: var(--c-text-primary, #212121); }

@media (max-width: 767px) {
/*  :root { --logo-w-sm: 100px; }*/
  .site-header.is-scrolled .header__inner { padding-top: 8px; padding-bottom: 8px; }
}
@media (max-width: 767px) {
    .details, .news, .visit {
        padding: 50px 0 60px;
    }
}