/* 洋希國際 — 新版樣式 */
:root {
  --ink: #1d1b18;
  --ink-soft: #5c574f;
  --paper: #f4f1eb;
  --line: #ddd7cc;
  --gold: #bb9262;
  --dark: #1c1915;
  --white: #fff;
  --serif: "Noto Serif TC", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --latin: "Cormorant Garamond", "Noto Serif TC", serif;
  --doc: 1080px;
  --gutter: clamp(20px, 5vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 2;
  letter-spacing: .08em;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
address { font-style: normal; }

.vertical { writing-mode: vertical-rl; text-orientation: upright; }
.doc { max-width: var(--doc); margin: 0 auto; padding: 0 var(--gutter); }

/* loading */
.loading {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  background: var(--white);
  transition: opacity .8s ease, visibility .8s;
}
.loading img { animation: breathe 1.6s ease-in-out infinite; }
.is-loaded .loading { opacity: 0; visibility: hidden; }
@keyframes breathe { 50% { opacity: .35; } }

/* fade-up on scroll */
.fade { opacity: 0; transform: translateY(40px); transition: opacity 1s ease, transform 1s ease; }
.fade.is-in { opacity: 1; transform: none; }

/* header */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  padding: 34px var(--gutter);
  transition: padding .4s ease, box-shadow .4s ease;
}
.header.is-small { padding: 12px var(--gutter); box-shadow: 0 1px 0 var(--line); }
.nav { display: flex; align-items: center; justify-content: center; gap: clamp(24px, 4vw, 56px); }
.nav-list { display: flex; gap: clamp(18px, 2.6vw, 40px); font-size: 14px; }
.nav-list a { position: relative; padding: 4px 0; }
.nav-list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--gold); transform: scaleX(0); transition: transform .3s ease;
}
.nav-list a:hover::after { transform: scaleX(1); }
.nav-logo img { width: 190px; transition: width .4s ease; }
.is-small .nav-logo img { width: 150px; }
.menu-btn { display: none; }

/* hero */
.hero { position: relative; height: 100vh; min-height: 560px; overflow: hidden; }
.hero-img { width: 100%; height: 100%; object-fit: cover; animation: zoom 14s ease-out forwards; }
@keyframes zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
/* 首頁主視覺影片：鋪滿畫面 */
.hero-video { background: var(--dark); }
.hero-video::after { background: linear-gradient(0deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,0) 30%); }
.hero-frame { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.sound-btn {
  position: absolute; z-index: 2; right: var(--gutter); bottom: 36px;
  background: none; border: 1px solid rgba(255, 255, 255, .7); color: var(--white); cursor: pointer;
  font-family: var(--latin); font-size: 13px; letter-spacing: .2em; padding: 8px 16px;
  transition: background .3s, color .3s;
}
.sound-btn:hover, .sound-btn[aria-pressed="true"] { background: var(--white); color: var(--ink); }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(270deg, rgba(0,0,0,.42) 0%, rgba(0,0,0,.08) 45%, rgba(0,0,0,0) 70%);
}
.hero-copy {
  position: absolute; z-index: 1; top: 50%; right: clamp(28px, 9vw, 160px);
  transform: translateY(-42%);
  display: flex; flex-direction: row-reverse; gap: 28px; color: var(--white);
}
.hero-title { font-weight: 500; font-size: clamp(30px, 3.6vw, 52px); letter-spacing: .3em; line-height: 1.5; }
.hero-title span { display: block; }
.hero-title span:last-child { margin-top: 2.2em; }
.hero-sub { font-size: 14px; letter-spacing: .4em; margin-top: 7em; opacity: .9; }
.hero-en {
  position: absolute; z-index: 1; left: var(--gutter); bottom: 40px;
  font-family: var(--latin); color: var(--white); font-size: 14px; letter-spacing: .25em; line-height: 1.8;
}
.hero-en em { font-size: 18px; letter-spacing: .06em; }
.scroll {
  position: absolute; z-index: 1; left: 50%; bottom: 0; transform: translateX(-50%);
  font-family: var(--latin); color: var(--white); font-size: 13px; letter-spacing: .2em;
  padding-bottom: 70px;
}
.scroll::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 1px; height: 60px; background: var(--white);
  animation: drip 2s ease-in-out infinite; transform-origin: top;
}
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* section label */
.label { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-bottom: 56px; font-weight: 400; }
.label .en { font-family: var(--latin); font-size: clamp(34px, 4vw, 48px); letter-spacing: .12em; line-height: 1; }
.label .zh { font-size: 13px; letter-spacing: .3em; color: var(--gold); }
.label.light { color: var(--white); }

.lead { font-size: clamp(20px, 2vw, 26px); line-height: 1.8; letter-spacing: .14em; margin-bottom: 28px; font-weight: 500; }
.more {
  display: inline-flex; align-items: center; gap: 16px; margin-top: 36px;
  font-family: var(--latin); font-size: 17px; letter-spacing: .2em;
}
.more::after { content: ""; width: 56px; height: 1px; background: currentColor; transition: width .3s ease; }
.more:hover::after { width: 84px; }

/* news */
.news { padding-top: 140px; padding-bottom: 140px; text-align: center; }
.products + .news { padding-top: 20px; }
.news-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; text-align: left; }
.news-tiles figure { overflow: hidden; aspect-ratio: 3 / 2; margin-bottom: 16px; background: var(--paper, #f3eee6); }
.news-tiles img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s ease; }
.news-tiles a:hover img { transform: scale(1.05); }
.news-tiles time { font-family: var(--latin); font-size: 15px; color: var(--ink-soft); }
.news-tiles h3 { margin-top: 10px; font-size: 16px; font-weight: 500; line-height: 1.7; letter-spacing: .08em; }
.news-tiles a:hover h3 { color: var(--gold); }
.news .more { margin-top: 48px; }

/* 洋希堅持：七項列表 */
.commit-list { margin-top: 28px; border-top: 1px solid var(--line); }
.commit-list li { display: grid; grid-template-columns: 40px 1fr; padding: 16px 0; border-bottom: 1px solid var(--line); }
.commit-list span { font-family: var(--latin); color: var(--gold); font-size: 17px; grid-row: span 2; }
.commit-list h3 { font-size: 16px; font-weight: 500; letter-spacing: .1em; margin-bottom: 4px; }
.commit-list p { font-size: 14px; color: var(--ink-soft); margin: 0; }

/* 日本分公司：中、日、英三欄 */
.branch { max-width: var(--doc); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px; }
.branch-block p { font-size: 14px; color: var(--ink-soft); }
.branch-block a { color: var(--gold); }
.branch-info { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; }
.branch-info dt { color: var(--gold); white-space: nowrap; }

/* back to top */
.to-top {
  position: fixed; right: clamp(16px, 2.5vw, 32px); bottom: clamp(16px, 2.5vw, 32px); z-index: 90;
  width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--gold); background: rgba(255, 255, 255, .92);
  color: var(--gold); font-family: var(--latin); font-size: 13px; letter-spacing: .15em; cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s, transform .3s, visibility .3s, background .3s, color .3s;
}
.to-top::before { content: ""; display: block; width: 8px; height: 8px; margin: 0 auto 3px; border-top: 1px solid currentColor; border-left: 1px solid currentColor; transform: rotate(45deg); }
.to-top.is-shown { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gold); color: #fff; }

/* slogan */
.slogan { padding: clamp(64px, 8vw, 104px) var(--gutter) 0; text-align: center; }
.slogan-zh { font-size: clamp(28px, 3.6vw, 46px); line-height: 1.7; letter-spacing: .24em; font-weight: 500; }
.slogan-ja { margin-top: 26px; font-size: clamp(13px, 1.2vw, 15px); letter-spacing: .2em; color: var(--gold); }

/* 核心理念 */
.philosophy { padding-top: clamp(64px, 7vw, 96px); padding-bottom: 160px; text-align: center; }
.philosophy-text { max-width: 760px; margin: 0 auto; color: var(--ink-soft); font-size: 15px; text-align: left; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; margin: 64px 0 56px; text-align: left; border-top: 1px solid var(--line); }
.pillars li { padding: 28px 0; border-bottom: 1px solid var(--line); }
.pillars span { font-family: var(--latin); color: var(--gold); font-size: 17px; }
.pillars h3 { font-size: 17px; font-weight: 500; letter-spacing: .16em; margin: 6px 0 10px; }
.pillars p { font-size: 14px; color: var(--ink-soft); }

/* intro (about) */
.intro {
  display: grid; grid-template-columns: 1.15fr 1fr auto; gap: clamp(28px, 5vw, 72px); align-items: center;
  padding-top: 140px; padding-bottom: 160px;
}
.intro-title, .split-title {
  font-size: clamp(26px, 2.6vw, 34px); font-weight: 500; letter-spacing: .4em; color: var(--ink);
  border-right: 1px solid var(--gold); padding-right: 14px; align-self: start;
}
.intro-text p:not(.lead) { color: var(--ink-soft); font-size: 15px; }

/* split sections */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; margin-bottom: 140px; }
.split-img { height: min(78vh, 720px); overflow: hidden; }
.split-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s ease; }
.split:hover .split-img img { transform: scale(1.03); }
.split-text { display: flex; gap: clamp(28px, 4vw, 60px); padding: 0 clamp(28px, 7vw, 120px); }
.split-text p:not(.lead) { color: var(--ink-soft); font-size: 15px; }
.split.reverse .split-img { order: 2; }
.points { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; margin-top: 28px; font-size: 15px; }
.points li { border-bottom: 1px solid var(--line); padding: 8px 0; }
.points span { font-family: var(--latin); color: var(--gold); margin-right: 12px; font-size: 17px; }

/* panorama */
.panorama { position: relative; margin-bottom: 0; }
.panorama img { width: 100%; height: clamp(320px, 52vw, 640px); object-fit: cover; }
.panorama-copy {
  position: absolute; top: 50%; right: 14%; transform: translateY(-50%);
  color: var(--white); font-size: clamp(22px, 2.6vw, 34px); letter-spacing: .5em; white-space: nowrap;
  text-shadow: 0 0 24px rgba(0, 0, 0, .35);
}

/* brands */
.brands { background: var(--paper); padding: 140px 0; text-align: center; }
.group { display: flex; align-items: baseline; justify-content: center; gap: 14px; font-size: 17px; font-weight: 500; margin: 56px 0 24px; }
.group span { font-family: var(--latin); font-size: 15px; color: var(--ink-soft); font-weight: 400; }
.brand-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.brand-grid li { width: calc((100% - 60px) / 4); min-width: 180px; }
.brand-grid a {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  background: var(--white); padding: 18px 18px 16px; height: 100%;
  transition: transform .3s ease, box-shadow .3s ease;
}
.brand-grid a:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(60, 45, 20, .08); }
.brand-grid img { width: 100%; aspect-ratio: 7 / 4; object-fit: contain; }
.brand-grid span { font-size: 13px; color: var(--ink-soft); }
.brand-grid.text a { justify-content: center; min-height: 140px; }
.brand-grid.text strong { font-size: 22px; font-weight: 500; letter-spacing: .3em; }

/* products */
.products { padding-top: 140px; padding-bottom: 140px; text-align: center; max-width: 1280px; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; max-width: 960px; margin: 0 auto; }
.product-grid figure { overflow: hidden; aspect-ratio: 4 / 5; margin-bottom: 20px; }
.product-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s ease; }
.product-grid a:hover img { transform: scale(1.06); }
.product-grid img.pos-right { object-position: 85% center; }
.product-grid h3 { font-size: 17px; font-weight: 500; letter-spacing: .2em; }
.product-grid p { font-family: var(--latin); color: var(--ink-soft); font-size: 15px; }
.notice { margin-top: 36px; font-size: 12px; color: var(--ink-soft); }

/* movie */
.movie { background: var(--paper); padding: 120px 0; text-align: center; }
.video { position: relative; aspect-ratio: 16 / 9; max-width: 900px; margin: 0 auto; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* contact */
.contact { position: relative; color: var(--white); text-align: center; overflow: hidden; }
.contact > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contact::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(20, 16, 12, .72); }
.contact-inner { position: relative; z-index: 2; padding: 130px var(--gutter); }
.contact-inner p { font-size: 15px; opacity: .9; }
.contact-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 44px; }
.contact-btns a {
  min-width: 200px; padding: 14px 28px; border: 1px solid rgba(255, 255, 255, .7);
  font-size: 15px; transition: background .3s ease, color .3s ease;
}
.contact-btns a:hover { background: var(--white); color: var(--ink); }

/* footer */
.footer { background: var(--dark); color: #d9d3c8; text-align: center; padding: 90px var(--gutter) 36px; font-size: 14px; }
.footer-logo { display: inline-block; margin-bottom: 44px; }
.footer-logo img { filter: brightness(1.15); }
.footer-nav, .footer-sns { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 32px; }
.footer-nav { margin-bottom: 32px; }
.footer-info { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 28px; color: #a9a294; font-size: 13px; margin-bottom: 28px; }
.footer-sns { font-family: var(--latin); font-size: 16px; margin-bottom: 52px; }
.footer a:hover { color: var(--gold); }
.copy { font-size: 12px; color: #857e72; letter-spacing: .06em; }

.nav-list a.is-current::after { transform: scaleX(1); }

/* =================================================================
   子頁面
   ================================================================= */

/* 主視覺：滿版大圖＋直書頁名 */
.hero-page .hero-img { animation-duration: 10s; }
.hero-page::after { background: linear-gradient(270deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,.12) 40%, rgba(0,0,0,0) 65%); }
.page-title {
  text-orientation: mixed;
  font-size: min(clamp(28px, 3.4vw, 50px), calc(66vh / (var(--len, 6) * 1.35)));
  letter-spacing: .3em;
}

/* 麵包屑＋子選單 */
.subnav { max-width: var(--doc); margin: 0 auto; padding: 36px var(--gutter) 0; text-align: center; }
.crumbs { font-family: var(--latin); font-size: 13px; color: var(--ink-soft); letter-spacing: .15em; text-align: left; }
.crumbs span { margin: 0 10px; }
.crumbs a:hover { color: var(--gold); }
.subnav-list {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 0;
  margin-top: 56px; padding-bottom: 6px; font-size: 14px;
}
.subnav-list li + li::before { content: ""; display: inline-block; width: 1px; height: 12px; background: var(--line); margin: 0 22px; vertical-align: middle; }
.subnav-list a { padding: 4px 0; border-bottom: 1px solid transparent; transition: border-color .3s, color .3s; }
.subnav-list a:hover { color: var(--gold); }
.subnav-list a[aria-current="page"] { color: var(--gold); border-bottom-color: var(--gold); }

.page-body { padding: 110px 0 150px; }
.page-body .wrap { max-width: var(--doc); margin: 0 auto; padding: 0 var(--gutter); }
.empty { text-align: center; color: var(--ink-soft); }

/* 內文排版 */
.textEditor { color: var(--ink-soft); font-size: 15px; }
.textEditor > p, .textEditor > ul, .textEditor > ol, .textEditor > h2, .textEditor > h3, .textEditor > div:not([class]),
.page-body > p, .page-body > .imgBox {
  max-width: 860px; margin-left: auto; margin-right: auto; padding-left: var(--gutter); padding-right: var(--gutter);
}
.page-body > .imgBox { max-width: var(--doc); margin-bottom: 60px; }
.textEditor p + p { margin-top: .2em; }
.textEditor ul { list-style: disc; padding-left: calc(var(--gutter) + 1.2em); margin: 1em auto; }
.textEditor strong, .textEditor b { color: var(--ink); font-weight: 600; }
.textEditor a { color: var(--gold); border-bottom: 1px solid currentColor; }
.textEditor a:has(img) { border: 0; }
.textEditor img { margin: 0 auto; }
.textEditor iframe { width: 100%; min-height: 380px; border: 0; }
.text-l {
  display: block; font-size: clamp(22px, 2.3vw, 30px); line-height: 1.7; color: var(--ink);
  letter-spacing: .14em; font-weight: 500; margin-bottom: 36px;
}
h2.text-l, h2.text-m { font-weight: 500; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.text-m { display: block; font-size: clamp(18px, 1.7vw, 22px); line-height: 1.8; color: var(--ink); letter-spacing: .12em; margin: 0 0 22px; }
.text-m strong { font-weight: 500; }
.text-m::before { content: ""; display: block; width: 36px; height: 1px; background: var(--gold); margin-bottom: 22px; }

/* 澤井式圖文交錯：圖片貼齊畫面一側、文字在另一側 */
.fullTemplate1, .fullTemplate2 {
  display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; margin-bottom: 150px;
}
.fullTemplate2 { grid-template-columns: 1fr 1.1fr; }
.fullTemplate1 > .imgBox, .fullTemplate2 > .imgBox { overflow: hidden; }
.fullTemplate1 > .imgBox img, .fullTemplate2 > .imgBox img { width: 100%; transition: transform 1.6s ease; }
.fullTemplate1:hover > .imgBox img, .fullTemplate2:hover > .imgBox img { transform: scale(1.025); }
.fullTemplate1 > .textBox { padding: 0 clamp(28px, 8vw, 140px) 0 clamp(28px, 6vw, 100px); }
.fullTemplate2 > .textBox { padding: 0 clamp(28px, 6vw, 100px) 0 clamp(28px, 8vw, 140px); }
.textBox p { margin-bottom: .3em; }
.textBox img { margin: 24px 0 0; max-width: 260px; }
.textBox .text-l, .textBox .text-m { margin-top: 0; }
.page-body > .textEditor > *:last-child, .tabContent > *:last-child { margin-bottom: 0; }

/* 版型 3：大圖＋小圖文 */
.fullTemplate3 { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: end; margin-bottom: 140px; }
.fullTemplate3 .leftBox img { width: 100%; }
.fullTemplate3 .rightBox { padding-right: clamp(20px, 7vw, 120px); }
.fullTemplate3 .rightBox .imgBox img { width: 72%; margin: 0 0 40px; }
/* 沒有文字的區塊：右圖放大、與左圖底部對齊 */
.fullTemplate3 .rightBox:not(:has(.textBox)) .imgBox img { width: 100%; margin: 0; }

/* 分頁籤 */
.tabBox { margin-top: 20px; }
.tabNav { display: flex; justify-content: center; flex-wrap: wrap; gap: 0; border-bottom: 1px solid var(--line); margin-bottom: 70px; }
.tabItem { padding: 14px 30px; cursor: pointer; font-size: 15px; letter-spacing: .15em; color: var(--ink-soft); border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .3s, border-color .3s; }
.tabItem:hover { color: var(--ink); }
.tabItem.current { color: var(--gold); border-bottom-color: var(--gold); }
.tabContent { display: none; text-align: center; }
.tabContent.current { display: block; animation: fadeIn .6s ease; }
.tabContent .fullTemplate1, .tabContent .fullTemplate2 { margin-bottom: 0; text-align: left; gap: 60px; }
.tabContent .textBox { padding: 0 !important; }
@keyframes fadeIn { from { opacity: 0; } }

/* 總覽頁卡片 */
.overview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 64px 32px; }
.overview-grid a { display: block; text-align: center; }
.overview-grid figure { overflow: hidden; aspect-ratio: 3 / 2; margin-bottom: 22px; }
.overview-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s ease; }
.overview-grid a:hover img { transform: scale(1.05); }
.overview-grid h2 { font-size: 18px; font-weight: 500; letter-spacing: .2em; }
.overview-grid figure.logo { background: var(--paper); display: flex; align-items: center; justify-content: center; }
.overview-grid figure.logo img { width: 70%; height: 70%; object-fit: contain; }
.overview-grid a:hover figure.logo img { transform: scale(1.04); }
.overview-grid figure.logo.text span { font-size: clamp(22px, 2.4vw, 30px); letter-spacing: .3em; font-weight: 500; }
.overview-grid .more { margin-top: 14px; font-size: 15px; }

/* 販售通路 */
.distributionList { max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.distributionItem {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 80px); align-items: center;
  padding: 70px 0; border-bottom: 1px solid var(--line);
}
.distributionItem:first-child { padding-top: 0; }
.distributionItem:nth-child(even) .imgBox { order: -1; }
.distributionItem .imgBox { overflow: hidden; }
.distributionItem .imgBox img { width: 100%; transition: transform 1.2s ease; } /* 照原圖比例，不裁切放大 */
.distributionItem:hover .imgBox img { transform: scale(1.04); }
.distributionItem .title { display: flex; align-items: center; gap: 16px; font-size: clamp(19px, 1.8vw, 24px); letter-spacing: .12em; margin-bottom: 28px; }
.distributionItem .title .icon img { width: 40px; height: 40px; object-fit: contain; }
.infoItem { display: grid; grid-template-columns: 88px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
.infoItem .label { color: var(--gold); letter-spacing: .2em; }
.infoItem .value { color: var(--ink-soft); }
.bottomBox { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.bottomBox .btn, .btn-line {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 22px; border: 1px solid var(--ink);
  font-size: 14px; letter-spacing: .15em; background: none; color: var(--ink); cursor: pointer; font-family: inherit;
  transition: background .3s, color .3s;
}
.bottomBox .btn:hover, .btn-line:hover { background: var(--ink); color: var(--white); }
.bottomBox .btn .arrow img { width: 14px; height: 14px; object-fit: contain; }
.bottomBox .btn:hover .arrow img { filter: invert(1); }
.bottomBox .btnBox:last-child .btn { border-color: transparent; padding-left: 4px; }
.bottomBox .btnBox:last-child .btn::before { content: "more"; font-family: var(--latin); font-size: 16px; }
.bottomBox .btnBox:last-child .btn:hover { background: none; color: var(--gold); }
.bottomBox .btnBox:last-child .btn:hover .arrow img { filter: none; }

/* 最新動態 */
.news-cards { display: grid; gap: 0; border-top: 1px solid var(--line); }
.news-cards a { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: center; padding: 40px 0; border-bottom: 1px solid var(--line); }
.news-cards figure { overflow: hidden; aspect-ratio: 3 / 2; }
.news-cards img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s ease; }
.news-cards a:hover img { transform: scale(1.05); }
.news-cards h2 { font-size: 19px; font-weight: 500; letter-spacing: .12em; margin: 10px 0 8px; }
.news-cards a:hover h2 { color: var(--gold); }
.news-cards .summary { font-size: 14px; color: var(--ink-soft); }
.meta { display: flex; align-items: center; gap: 16px; }
.meta time { font-family: var(--latin); font-size: 17px; color: var(--ink-soft); }
.meta .cat { font-size: 12px; border: 1px solid var(--line); padding: 0 12px; line-height: 1.9; }
.article { max-width: 900px; }
/* .page-body 的上下留白會蓋掉 .doc 的左右邊距；兩者並用時把左右邊距補回來，手機上文字才不會貼邊 */
.doc.page-body { padding-left: var(--gutter); padding-right: var(--gutter); }
.article > p { padding-left: 0; padding-right: 0; }
.article-title { font-size: clamp(22px, 2.4vw, 30px); font-weight: 500; letter-spacing: .12em; line-height: 1.6; margin: 18px 0 50px; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.article .textEditor > * { padding-left: 0; padding-right: 0; }
.article .textEditor img { margin-bottom: 30px; }

.page-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 56px; max-width: var(--doc); margin: 0 auto; padding: 0 var(--gutter); }
.page-body .notice, main > .notice { text-align: center; }

/* 聯絡我們 */
.contact-page { padding-top: 100px; padding-bottom: 140px; }
.contact-lead { text-align: center; margin-bottom: 80px; }
.contact-lead .ja { font-size: 13px; color: var(--ink-soft); }
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(36px, 6vw, 96px); }
.contact-form label { display: block; font-size: 14px; letter-spacing: .15em; margin-bottom: 26px; }
.contact-form input, .contact-form textarea {
  display: block; width: 100%; margin-top: 8px; padding: 12px 14px; font: inherit; font-size: 15px; letter-spacing: .05em;
  border: 1px solid var(--line); background: var(--white); color: var(--ink); border-radius: 0;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--gold); }
.contact-form .btn-line { min-width: 200px; justify-content: center; padding: 14px 28px; }
.form-note { font-size: 12px; color: var(--ink-soft); margin-top: 14px; }
.contact-info { display: grid; grid-template-columns: 100px 1fr; align-content: start; font-size: 15px; border-top: 1px solid var(--line); }
.contact-info dt, .contact-info dd { padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-info dt { font-family: var(--latin); color: var(--gold); letter-spacing: .2em; }
.contact-info a:hover { color: var(--gold); }
.map { margin-top: 90px; aspect-ratio: 16 / 7; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4); }

/* 和牛部位圖解 */
.cowImgBox { max-width: 860px; margin: 50px auto 30px; padding: 0 var(--gutter); }
.cowImgBox img { width: 100%; }
.cowImgBox area { cursor: pointer; }
.cow-hint { text-align: center; font-size: 13px; color: var(--gold); letter-spacing: .2em; margin-bottom: 40px; }
.detailBox { display: none; position: relative; max-width: 960px; margin: 0 auto 40px; padding: 50px clamp(20px, 5vw, 60px); background: var(--paper); }
.detailBox.is-open { display: block; animation: fadeIn .5s ease; }
.detailBox > .title { font-size: 26px; letter-spacing: .3em; color: var(--ink); margin-bottom: 14px; }
.detailBox .close { position: absolute; top: 20px; right: 20px; width: 34px; height: 34px; cursor: pointer; opacity: .6; }
.detailBox .close:hover { opacity: 1; }
.detailBox .close img { width: 100%; }
.albumList { position: relative; max-width: 600px; margin: 30px auto 0; } /* 原圖 600px 寬，不放大避免模糊 */
.swiper-slide { display: none; }
.swiper-slide.is-active { display: block; animation: fadeIn .5s ease; }
.albumItem img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.album-ctrl { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 16px; }
.album-ctrl button { background: none; border: 1px solid var(--ink); width: 40px; height: 40px; cursor: pointer; font-size: 16px; color: var(--ink); }
.album-ctrl button:hover { background: var(--ink); color: var(--white); }
.album-ctrl .count { font-family: var(--latin); font-size: 16px; min-width: 50px; text-align: center; }
.note { display: none; max-width: 960px; margin: 0 auto 60px; }
.note.is-open { display: block; }

/* ---------- tablet ---------- */
@media (max-width: 1100px) {
  .nav-list { gap: 16px; font-size: 13px; }
  .nav-logo img { width: 150px; }
}

/* ---------- mobile ---------- */
@media (max-width: 860px) {
  body { font-size: 15px; }
  .header, .header.is-small { padding: 14px 20px; }
  .nav { justify-content: flex-start; }
  .nav-logo, .is-small .nav-logo { order: -1; }
  .nav-logo img, .is-small .nav-logo img { width: 130px; }
  .nav-list {
    position: fixed; left: 0; right: 0; flex-direction: column; align-items: center; gap: 0;
    background: var(--white); font-size: 16px; visibility: hidden; opacity: 0; transition: opacity .35s ease;
  }
  .nav-list li { width: 100%; text-align: center; }
  .nav-list a { display: block; padding: 14px 0; }
  .nav-left { top: 70px; }
  .nav-right { top: calc(70px + 4 * 60px); }
  .menu-open .nav-list { visibility: visible; opacity: 1; }
  .menu-open { height: 100vh; background: var(--white); }
  .menu-btn {
    display: block; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
    width: 32px; height: 32px; background: none; border: 0; cursor: pointer;
  }
  .menu-btn span { position: absolute; left: 4px; right: 4px; height: 1px; background: var(--ink); transition: transform .3s ease; }
  .menu-btn span:first-child { top: 12px; }
  .menu-btn span:last-child { top: 20px; }
  .menu-open .menu-btn span:first-child { transform: translateY(4px) rotate(25deg); }
  .menu-open .menu-btn span:last-child { transform: translateY(-4px) rotate(-25deg); }

  .hero { height: 88vh; }
  .hero-copy { right: 24px; top: 46%; }
  .hero-sub { margin-top: 5em; font-size: 12px; }
  .hero-en { bottom: 28px; font-size: 11px; }
  /* 手機：影片以 16:9 完整顯示，不裁掉片名與字幕 */
  .hero-video { height: auto; min-height: 0; aspect-ratio: 16 / 9; margin-top: 60px; }
  .hero-video::after { display: none; }
  .sound-btn { bottom: 10px; right: 10px; font-size: 10px; padding: 4px 10px; background: rgba(0, 0, 0, .25); }
  .hero-en em { font-size: 15px; }
  .scroll { display: none; }

  .label { margin-bottom: 36px; }
  .news { padding-top: 90px; }
  .philosophy { padding-bottom: 90px; }
  .branch { grid-template-columns: 1fr; gap: 48px; }
  .pillars { grid-template-columns: 1fr 1fr; gap: 0 18px; margin: 40px 0; }
  .pillars li { padding: 18px 0; }
  .pillars h3 { font-size: 15px; letter-spacing: .1em; }
  .pillars p { font-size: 13px; }
  .news-tiles { grid-template-columns: 1fr; gap: 36px; }

  .intro { grid-template-columns: 1fr; padding-top: 90px; padding-bottom: 90px; gap: 32px; }
  .intro-title { order: -1; writing-mode: horizontal-tb; border-right: 0; border-left: 1px solid var(--gold); padding: 0 0 0 14px; letter-spacing: .3em; }

  .split, .split.reverse { grid-template-columns: 1fr; margin-bottom: 90px; }
  .split.reverse .split-img { order: 0; }
  .split-img { height: 62vw; }
  .split-text { flex-direction: column; gap: 20px; padding: 36px 20px 0; }
  .split-title { writing-mode: horizontal-tb; border-right: 0; border-left: 1px solid var(--gold); padding: 0 0 0 14px; letter-spacing: .3em; }

  .panorama-copy { right: 10%; letter-spacing: .4em; }
  .brands, .products { padding-top: 90px; padding-bottom: 90px; }
  .brand-grid { gap: 12px; }
  .brand-grid li { width: calc((100% - 12px) / 2); min-width: 0; }
  .product-grid { gap: 28px 10px; }
  .product-grid h3 { font-size: 14px; letter-spacing: .1em; }
  .product-grid p { font-size: 12px; }
  .movie { padding: 90px 0; }
  .contact-inner { padding: 90px 20px; }
  .contact-btns a { min-width: 0; width: 100%; }
}

@media (max-width: 1100px) {
  .overview-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .hero-page { height: 72vh; }
  .page-title { font-size: min(30px, calc(52vh / (var(--len, 6) * 1.35))); }
  .subnav { padding-top: 22px; }
  .subnav-list { margin-top: 30px; justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; padding-bottom: 12px; }
  .subnav-list li + li::before { margin: 0 14px; }
  .page-body { padding: 60px 0 90px; }

  .fullTemplate1, .fullTemplate2, .fullTemplate3 { grid-template-columns: 1fr; margin-bottom: 80px; gap: 0; }
  .fullTemplate2 > .imgBox { order: -1; }
  .fullTemplate1 > .textBox, .fullTemplate2 > .textBox { padding: 36px 20px 0 !important; }
  .fullTemplate3 .rightBox { padding: 30px 20px 0; }
  .tabNav { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin-bottom: 40px; }
  .tabItem { padding: 12px 18px; white-space: nowrap; }
  .tabContent .fullTemplate1, .tabContent .fullTemplate2 { gap: 0; }

  .overview-grid { grid-template-columns: 1fr; gap: 48px; }
  .distributionItem { grid-template-columns: 1fr; padding: 50px 0; gap: 26px; }
  .distributionItem .imgBox { order: -1; }
  .news-cards a { grid-template-columns: 1fr; gap: 18px; padding: 30px 0; }
  .contact-page { padding-top: 60px; }
  .contact-lead { margin-bottom: 50px; text-align: left; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info { grid-template-columns: 84px 1fr; }
  .map { aspect-ratio: 4 / 3; margin-top: 60px; }
  .detailBox { padding: 40px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .fade { opacity: 1; transform: none; }
}
