/* ==========================================================================
   公司主页 共通样式（全公司共用）
   - 品牌主色 --brand / 点缀色 --accent 由各公司生成的 theme.css 覆盖
   - 移动优先：默认样式 = 手机；900px / 1080px 以上逐步加宽
   - 只用浅色（企业站保持品牌观感一致，不跟随系统深色）
   ========================================================================== */

:root {
  --brand: #1b2a4a;
  --accent: #a8865a;
  --brand-deep: color-mix(in srgb, var(--brand) 84%, #000);
  --brand-tint: color-mix(in srgb, var(--brand) 5%, #fff);
  --brand-tint-2: color-mix(in srgb, var(--brand) 11%, #fff);
  --accent-soft: color-mix(in srgb, var(--accent) 16%, #fff);

  --bg: #ffffff;
  --bg-soft: #f6f4ef;
  --text: #1c2230;
  --muted: #5c6472;
  --line: #e4dfd5;
  --line-strong: #cbc3b4;
  --on-dark: #f3efe7;
  --on-dark-muted: rgba(243, 239, 231, .72);
  --on-dark-line: rgba(243, 239, 231, .18);
  --todo: #fff1a6;
  --danger: #b42318;

  --font-body: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  --font-head: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  --font-latin: "Cormorant Garamond", "Times New Roman", serif;
  --head-scale: 1;

  --wrap: 1120px;
  --gutter: 20px;
  --header-h: 64px;
  --section-y: 88px;
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
html:lang(zh-CN) {
  --font-body: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-head: "Noto Serif SC", "Songti SC", "STSong", serif;
}
html:lang(zh-TW) {
  --font-body: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --font-head: "Noto Serif TC", "Songti TC", serif;
}
html:lang(ko) {
  --font-body: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --font-head: "Noto Serif KR", "AppleMyungjo", serif;
}
html:lang(en), html:lang(vi) {
  --font-body: "Noto Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-head: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --head-scale: 1.16;   /* Cormorant 字面小，英文标题整体放大 */
}
html:lang(vi) { --font-head: "Noto Serif", Georgia, serif; --head-scale: 1; }

@media (min-width: 900px) {
  :root { --gutter: 40px; --header-h: 80px; --section-y: 120px; }
}

/* ── 基础 ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.95;
  letter-spacing: .04em;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html:lang(en) body, html:lang(vi) body { letter-spacing: .01em; line-height: 1.75; }
@media (min-width: 900px) { body { font-size: 16px; } }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .06em;
  margin: 0;
  font-feature-settings: "palt";
  word-break: auto-phrase;   /* 日文标题按词组折行（Chrome 119+，其他浏览器忽略） */
  line-break: strict;
}
html:lang(en) h1, html:lang(en) h2, html:lang(en) h3 { letter-spacing: .01em; line-height: 1.25; }
p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: .2em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: calc(820px + var(--gutter) * 2); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
mark.todo { background: var(--todo); color: #1c2230; padding: 0 2px; }
@media (min-width: 640px) { .sp-br { display: none; } }   /* {sp}：只在手机上换行 */

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--brand); color: #fff; padding: 10px 14px;
}
.skip:focus { left: 8px; top: 8px; }

.icon { width: 18px; height: 18px; flex: none; }
/* Cormorant 默认是旧式数字（01 看起来像 o1），编号与数字统一用等高数字 */
.biz-card-num, .figure-num, .value-num, .step-num, .biz-panel-num, .timeline-date { font-variant-numeric: lining-nums; }

/* ── 英文小标题 ───────────────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  margin: 0 0 14px;
  font-family: var(--font-latin); font-weight: 600;
  font-size: 13px; letter-spacing: .28em; line-height: 1.4;
  color: var(--accent); text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }

/* ── 按钮 ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 18px;
  min-height: 54px; padding: 0 22px 0 28px; min-width: 220px;
  border: 1px solid var(--brand); border-radius: var(--radius);
  background: transparent; color: var(--brand);
  font: inherit; font-size: 14px; font-weight: 500; letter-spacing: .12em; line-height: 1.4;
  text-decoration: none; cursor: pointer;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn .icon-arrow { transition: transform .35s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(4px); }
.btn:hover { background: var(--brand-tint-2); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-deep); border-color: var(--brand-deep); }
.btn-light { border-color: var(--on-dark); color: var(--on-dark); }
.btn-light:hover { background: var(--on-dark); color: var(--brand-deep); }
.btn-sm { min-height: 44px; min-width: 0; padding: 0 22px; justify-content: center; }
.btn[disabled] { opacity: .55; cursor: progress; }

.link-more {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; letter-spacing: .12em; color: var(--brand); font-weight: 500;
}
.link-more .icon-arrow { transition: transform .35s var(--ease); }

/* ── 页眉 ─────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 60;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
/* 毛玻璃放在伪元素上：backdrop-filter 会让页眉成为 fixed 子元素的定位基准，手机全屏菜单就会被困在页眉里 */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
}
.nav-open .site-header::before { background: var(--bg); }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner {
  height: 100%; max-width: 1360px; margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; gap: 28px;
}
.brand { display: flex; flex-direction: column; justify-content: center; margin-right: auto; color: var(--text); text-decoration: none; line-height: 1.25; min-width: 0; }
.brand-name { font-family: var(--font-head); font-weight: 600; font-size: 17px; letter-spacing: .1em; white-space: nowrap; }
.brand-sub { font-family: var(--font-latin); font-weight: 600; font-size: 10px; letter-spacing: .26em; color: var(--muted); margin-top: 3px; white-space: nowrap; }
.brand-logo { height: 36px; width: auto; }
@media (min-width: 900px) {
  .brand-name { font-size: 19px; }
  .brand-sub { font-size: 11px; }
  .brand-logo { height: 44px; }
}

.lang-switch { display: flex; align-items: center; gap: 6px; font-family: var(--font-latin); font-weight: 600; font-size: 14px; letter-spacing: .12em; }
.lang-switch a { color: var(--muted); text-decoration: none; padding: 4px 2px; }
.lang-switch a[aria-current="true"] { color: var(--brand); box-shadow: inset 0 -1px 0 var(--accent); }
.lang-switch a:hover { color: var(--brand); }
.lang-sep { color: var(--line-strong); font-weight: 400; }

/* 手机 / 平板：汉堡菜单 + 全屏面板 */
.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; margin-right: -10px;
  border: 0; background: transparent; color: var(--text); cursor: pointer;
}
.menu-icon { position: relative; width: 26px; height: 10px; }
.menu-icon i { position: absolute; left: 0; width: 100%; height: 1.5px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.menu-icon i:first-child { top: 0; }
.menu-icon i:last-child { top: 8.5px; }
.nav-open .menu-icon i:first-child { top: 4.25px; transform: rotate(45deg) scaleX(.85); }
.nav-open .menu-icon i:last-child { top: 4.25px; transform: rotate(-45deg) scaleX(.85); }
.header-cta { display: none; }

.global-nav { display: none; }
.js .global-nav {
  display: flex; flex-direction: column;
  position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0;
  padding: 12px var(--gutter) calc(32px + env(safe-area-inset-bottom));
  background: var(--bg); overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s linear .35s;
}
.js.nav-open .global-nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
html.nav-open { overflow: hidden; }   /* 只锁根元素：锁 body 会让 sticky 页眉失效 */
.no-js .menu-toggle { display: none; }
.no-js .global-nav { display: block; position: absolute; top: var(--header-h); left: 0; right: 0; background: var(--bg); padding: 0 var(--gutter) 16px; border-bottom: 1px solid var(--line); }

.global-nav:focus { outline: none; }
.nav-list { list-style: none; margin: 0; padding: 0; }
.nav-list a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 20px 0; border-bottom: 1px solid var(--line);
  color: var(--text); text-decoration: none;
}
.nav-label { font-family: var(--font-head); font-weight: 600; font-size: 18px; letter-spacing: .1em; }
.nav-en { font-family: var(--font-latin); font-weight: 600; font-size: 12px; letter-spacing: .26em; color: var(--accent); }
.nav-list a[aria-current="page"] .nav-label { color: var(--brand); }
.nav-lang { margin-top: 28px; font-size: 16px; gap: 10px; }

@media (min-width: 1080px) {
  .menu-toggle { display: none; }
  .header-cta { display: inline-flex; }
  .global-nav, .js .global-nav, .no-js .global-nav {
    display: flex; flex-direction: row; align-items: center; gap: 36px;
    position: static; padding: 0; background: none; overflow: visible; border: 0;
    opacity: 1; visibility: visible; transform: none; transition: none;
  }
  .nav-list { display: flex; gap: 34px; }
  .nav-list .nav-contact { display: none; }
  .nav-list a { display: block; position: relative; padding: 8px 0; border: 0; }
  .nav-label { font-family: var(--font-body); font-weight: 500; font-size: 14px; letter-spacing: .12em; }
  .nav-en { display: none; }
  .nav-list a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent);
    transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
  }
  .nav-list a:hover::after, .nav-list a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
  .nav-lang { margin: 0; font-size: 13px; gap: 6px; }
}

/* ── 淡入动画（只在有 JS 时生效；系统设为减少动态时关闭） ─────────────── */
.js .reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity .85s var(--ease), transform .85s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── 装饰图形（代码绘制） ─────────────────────────────────────────────── */
.art { width: 100%; height: auto; display: block; overflow: visible; }
.art-stop-a { stop-color: color-mix(in srgb, var(--accent) 14%, var(--brand-tint)); }
.art-stop-b { stop-color: var(--bg-soft); stop-opacity: 0; }
.art-ring { fill: none; stroke: var(--accent); stroke-width: 1; opacity: .75; }
.art-ring-faint { opacity: .35; }
.art-dash { fill: none; stroke: var(--brand); stroke-opacity: .28; stroke-width: 1; stroke-dasharray: 2 9; }
.art-dot { fill: var(--accent); }
.art-wave { fill: none; stroke: var(--accent); stroke-width: 1; opacity: .45; }
.art-wave-2 { opacity: .22; }
.art-spin { transform-origin: 300px 300px; animation: art-spin 120s linear infinite; }
@keyframes art-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .art-spin { animation: none; } }

/* ── 首页主视觉 ───────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  min-height: 0;
  display: flex; align-items: center;
  padding: 64px 0 88px;
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
}
.hero-art {
  position: absolute; pointer-events: none;
  width: 135vw; max-width: 820px; right: -52vw; top: -6%;
  opacity: .6;
}
.hero-inner { position: relative; z-index: 1; width: 100%; }
.hero-title {
  font-size: calc(clamp(30px, 8vw, 64px) * var(--head-scale));
  line-height: 1.5; letter-spacing: .1em;
  margin: 6px 0 26px;
}
html:lang(en) .hero-title { line-height: 1.12; letter-spacing: .005em; }
.hero-lead { max-width: 33em; color: var(--muted); font-size: 15px; line-height: 2.05; }
.hero-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 40px; }
.hero-actions .btn { width: 100%; }
.scroll-cue {
  position: absolute; left: var(--gutter); bottom: 28px; z-index: 1;
  display: none; align-items: center; gap: 14px;
  font-family: var(--font-latin); font-weight: 600; font-size: 11px; letter-spacing: .3em; color: var(--muted);
}
.scroll-cue::after {
  content: ""; width: 64px; height: 1px; background: var(--line-strong);
  background-image: linear-gradient(90deg, var(--accent), var(--accent)); background-size: 30% 100%; background-repeat: no-repeat;
  animation: cue 2.6s var(--ease) infinite;
}
@keyframes cue { from { background-position: -30% 0; } to { background-position: 130% 0; } }
@media (prefers-reduced-motion: reduce) { .scroll-cue::after { animation: none; } }

.hero.has-image { background: var(--brand-deep); }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero.has-image::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(255,255,255,.88) 0%, rgba(255,255,255,.7) 100%);
}

@media (min-width: 640px) {
  .hero-actions { flex-direction: row; flex-wrap: wrap; }
  .hero-actions .btn { width: auto; }
}
@media (min-width: 900px) {
  .hero { padding: 80px 0 140px; min-height: min(calc(100svh - var(--header-h)), 860px); }
  .scroll-cue { display: flex; }
  .hero-art { width: 64vw; max-width: 860px; right: -10vw; top: 50%; transform: translateY(-50%); opacity: 1; }
  .hero-lead { font-size: 16px; }
  .scroll-cue { left: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); bottom: 40px; }
  .hero.has-image::before { background: linear-gradient(90deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.78) 45%, rgba(255,255,255,0) 80%); }
}

/* ── 版块 ─────────────────────────────────────────────────────────────── */
.section { padding: var(--section-y) 0; }
.section-alt { background: var(--bg-soft); }
.section-head { margin-bottom: 44px; }
.section-title { font-size: calc(clamp(24px, 5.6vw, 36px) * var(--head-scale)); letter-spacing: .08em; }
html:lang(en) .section-title { letter-spacing: .005em; }
.section-lead { margin-top: 18px; color: var(--muted); max-width: 40em; }
@media (min-width: 900px) { .section-head { margin-bottom: 64px; } }

.split { display: grid; gap: 8px; }
.split .section-head { margin-bottom: 28px; }
.split-body { max-width: 40em; }
.prose-lg { font-size: 16px; line-height: 2.15; }
html:lang(en) .prose-lg { line-height: 1.85; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
  .split .section-head { margin-bottom: 0; position: sticky; top: calc(var(--header-h) + 40px); }
  .prose-lg { font-size: 17px; }
}
.signature { margin-top: 2.4em; text-align: right; font-family: var(--font-head); font-weight: 600; letter-spacing: .12em; }
.message-profile { margin: 32px 0 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.9; color: var(--muted); }
.message-profile-label { margin: 0 0 6px; font-family: var(--font-head); font-size: 12px; letter-spacing: .14em; color: var(--brand); }
.message-profile-body { margin: 0; }
.message-profile-list { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; }   /* 日期栏按最长的日期定宽 */
.message-profile-list div { display: contents; }
.message-profile-list dt { font-variant-numeric: lining-nums; white-space: nowrap; }
.message-profile-list dd { margin: 0; word-break: auto-phrase; }   /* 日文按词组折行（支持的浏览器） */

/* 对顾客的约定（企业理念下方） */
.promises-title { margin: 64px 0 20px; font-size: 13px; letter-spacing: .14em; color: var(--muted); }
.promises { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line-strong); }
.promise { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; row-gap: 4px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.promise .line-icon { grid-row: span 2; width: 44px; height: 44px; }
.promise-title { font-size: calc(18px * var(--head-scale)); letter-spacing: .08em; }
.promise p { margin: 0; color: var(--muted); font-size: 14px; }
@media (min-width: 900px) {
  .promises-title { margin-top: 88px; }
  .promises { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 48px; border-top: 0; }
  .promise { display: flex; flex-direction: column; gap: 10px; padding: 32px 0 0; border-top: 1px solid var(--line-strong); border-bottom: 0; }
  .promise .line-icon { width: 52px; height: 52px; margin-bottom: 6px; }
}

/* 事业卡片（首页） */
.biz-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line-strong); }
.biz-card a {
  display: flex; flex-direction: column; gap: 8px;
  padding: 32px 0; border-bottom: 1px solid var(--line-strong);
  color: var(--text); text-decoration: none;
}
.biz-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.biz-card-num { font-family: var(--font-latin); font-weight: 600; font-size: 34px; line-height: 1; color: var(--accent); }
.line-icon { width: 44px; height: 44px; color: var(--accent); flex: none; }
.biz-card a:hover .line-icon { color: var(--brand); }
.biz-card-label { font-family: var(--font-latin); font-weight: 600; font-size: 12px; letter-spacing: .24em; color: var(--muted); }
.biz-card-title { font-size: calc(20px * var(--head-scale)); }
.biz-card p { color: var(--muted); font-size: 14px; margin: 4px 0 8px; flex: 1; }
.biz-card a:hover .icon-arrow { transform: translateX(4px); }
@media (min-width: 900px) {
  .biz-cards { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0 56px; border-top: 0; }
  .biz-card a { padding: 36px 0 32px; border-top: 1px solid var(--line-strong); border-bottom: 0; height: 100%; }
  .biz-card-num { font-size: 42px; }
  .line-icon { width: 52px; height: 52px; }
}

/* 次要事业（首页：主业卡片下方的精简一行） */
.biz-minor { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.biz-minor-title { margin: 0 0 12px; font-size: 13px; letter-spacing: .14em; color: var(--muted); }
.biz-minor ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.biz-minor a { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; }
.biz-minor .line-icon { width: 36px; height: 36px; }
.biz-minor-body { display: grid; gap: 2px; }
.biz-minor-name { font-family: var(--font-head); font-weight: 600; letter-spacing: .06em; }
.biz-minor-text { font-size: 13px; color: var(--muted); }
.biz-minor a:hover .icon-arrow { transform: translateX(4px); }
.biz-minor a:hover .biz-minor-name { color: var(--brand); }
@media (min-width: 900px) { .biz-minor ul { grid-template-columns: 1fr 1fr; gap: 0 56px; } }

.biz-supply { margin: 28px 0 0; }
.biz-supply a { display: inline-flex; align-items: center; gap: 14px; color: var(--brand); text-decoration: none; font-size: 14px; letter-spacing: .06em; }
.biz-supply .line-icon { width: 30px; height: 30px; }
.biz-supply a:hover span { text-decoration: underline; text-underline-offset: .25em; }
.biz-supply a:hover .icon-arrow { transform: translateX(4px); }

/* 次要事业（事业内容页：一个精简版块） */
.minor-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.minor-card { background: var(--bg); border: 1px solid var(--line); padding: 32px 28px; }
.section-alt .minor-card { border-color: transparent; }
.minor-card-head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.minor-card-head .eyebrow { margin: 0; }
.minor-card-title { font-size: calc(22px * var(--head-scale)); margin-bottom: 14px; }
.minor-card .prose { color: var(--muted); font-size: 15px; }
@media (min-width: 900px) { .minor-cards { grid-template-columns: 1fr 1fr; gap: 28px; } .minor-card { padding: 40px; } }

/* 数字 */
.figures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 20px; }
.figure { border-top: 1px solid var(--line-strong); padding-top: 22px; }
.figure-value { display: flex; align-items: baseline; gap: 6px; margin: 0 0 6px; color: var(--brand); }
.figure-value { flex-wrap: wrap; }
.figure-num { font-family: var(--font-latin); font-weight: 600; font-size: clamp(34px, 11vw, 46px); line-height: 1; letter-spacing: .02em; }
.figure-unit { font-size: 13px; letter-spacing: .1em; }
.figure-label { margin: 0; font-size: 13px; color: var(--muted); }
.figures-note { margin: 28px 0 0; text-align: right; font-size: 12px; letter-spacing: .06em; color: var(--muted); }
.figure-prefix { flex-basis: 100%; font-size: 13px; letter-spacing: .06em; }   /* 手机上单独一行，数字与单位不被拆开 */
@media (min-width: 900px) { .figure-prefix { flex-basis: auto; } }
.figure-note { margin: 6px 0 0; font-size: 12px; letter-spacing: .04em; color: var(--muted); }
@media (min-width: 900px) { .figures { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 36px 40px; } .figure-num { font-size: 60px; } }

/* 店铺 */
.store-tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.store-tile a {
  position: relative; display: flex; flex-direction: column; gap: 4px; height: 100%;
  padding: 24px 24px 22px; background: var(--bg); border: 1px solid var(--line);
  color: var(--text); text-decoration: none;
  transition: border-color .35s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease);
}
.store-tile a:hover { border-color: var(--brand); box-shadow: 0 22px 40px -30px rgba(20, 28, 45, .45); transform: translateY(-2px); }
.store-platform { font-size: 12px; letter-spacing: .16em; color: var(--accent); font-weight: 500; }
.store-name { font-family: var(--font-head); font-weight: 600; font-size: calc(17px * var(--head-scale)); line-height: 1.6; letter-spacing: .06em; }
.store-desc { color: var(--muted); font-size: 13px; }
.store-visit { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 14px; font-size: 13px; letter-spacing: .1em; color: var(--brand); }
@media (min-width: 640px) { .store-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1080px) { .store-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }

/* 店铺按平台归组（首页，店铺多时） */
.store-groups { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.store-group { background: var(--bg); border: 1px solid var(--line); padding: 24px 24px 18px; }
.store-group .store-platform { display: block; margin: 0 0 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-family: var(--font-head); font-size: 16px; letter-spacing: .08em; color: var(--brand); font-weight: 600; }
.store-group ul { list-style: none; margin: 0; padding: 0; }
.store-group a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 0; color: var(--text); text-decoration: none; font-size: 14px; }
.store-group a .icon { width: 15px; height: 15px; color: var(--accent); flex: none; }
.store-group a:hover { color: var(--brand); }
.store-group a:hover span { text-decoration: underline; text-underline-offset: .25em; }
@media (min-width: 640px) { .store-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1080px) { .store-groups { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.section-more { margin-top: 36px; }

/* 公司信息（首页） */
.summary-list { margin: 0 0 36px; border-top: 1px solid var(--line); }
.summary-row { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.summary-row dt { font-size: 12px; letter-spacing: .14em; color: var(--muted); }
.summary-row dd { margin: 0; }
@media (min-width: 640px) { .summary-row { grid-template-columns: 8em 1fr; gap: 24px; } .summary-row dt { font-size: 14px; } }

/* 横幅（招聘 / 联系） */
.band { position: relative; overflow: hidden; padding: 96px 0; }
.band-soft { background: var(--bg-soft); }
.band-dark { background: var(--brand-deep); color: var(--on-dark); }
.band-dark .eyebrow { color: var(--accent); }
.band-inner { position: relative; z-index: 1; }
.band-center { text-align: center; }
.band-center .eyebrow { justify-content: center; }
.band-center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.band-title { font-size: calc(clamp(24px, 6vw, 40px) * var(--head-scale)); letter-spacing: .1em; margin-bottom: 20px; }
html:lang(en) .band-title { letter-spacing: .005em; }
.band-lead { color: var(--muted); max-width: 36em; margin: 0 0 36px; }
.band-center .band-lead { margin-left: auto; margin-right: auto; }
.band-dark .band-lead { color: var(--on-dark-muted); }
.band .btn { width: 100%; max-width: 360px; }
.band-art { position: absolute; width: 120vw; max-width: 760px; right: -50vw; bottom: -40%; opacity: .5; pointer-events: none; }
.band-dark .art-stop-a { stop-color: color-mix(in srgb, var(--brand) 70%, #fff); stop-opacity: .25; }
.band-dark .art-dash { stroke: var(--on-dark); }
@media (min-width: 640px) { .band .btn { width: auto; } }
@media (min-width: 900px) {
  .band { padding: 128px 0; }
  .band-art { width: 56vw; right: -8vw; top: 50%; bottom: auto; transform: translateY(-50%); opacity: .7; }
}

/* ── 下层页 ───────────────────────────────────────────────────────────── */
.page-hero {
  position: relative; overflow: hidden;
  padding: 64px 0 56px;
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--brand-tint) 100%);
}
.page-hero-art { position: absolute; width: 420px; right: -170px; top: -120px; opacity: .55; pointer-events: none; }
.page-hero-inner { position: relative; z-index: 1; }
.page-title { font-size: calc(clamp(28px, 7vw, 46px) * var(--head-scale)); letter-spacing: .1em; }
html:lang(en) .page-title { letter-spacing: .005em; }
.page-lead { margin-top: 20px; color: var(--muted); max-width: 38em; }
@media (min-width: 900px) {
  .page-hero { padding: 112px 0 96px; }
  .page-hero-art { width: 620px; right: -80px; top: -220px; opacity: .8; }
}

.breadcrumb { border-bottom: 1px solid var(--line); background: var(--bg); }
.breadcrumb ol {
  list-style: none; margin: 0 auto; padding-top: 14px; padding-bottom: 14px;
  display: flex; gap: 10px; overflow-x: auto; white-space: nowrap; scrollbar-width: none;
  font-size: 12px; letter-spacing: .08em; color: var(--muted);
}
.breadcrumb ol::-webkit-scrollbar { display: none; }
.breadcrumb li + li::before { content: "/"; margin-right: 10px; color: var(--line-strong); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand); text-decoration: underline; }

/* 表格（公司概况 / 募集要项）：手机上下排列，桌面左右两栏 */
.data-table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--line-strong); }
.data-table th, .data-table td { display: block; text-align: left; padding: 0; }
.data-table tr { display: block; padding: 20px 0; border-bottom: 1px solid var(--line); }
.data-table th { font-weight: 500; font-size: 13px; letter-spacing: .12em; color: var(--brand); margin-bottom: 6px; }
@media (min-width: 900px) {
  .data-table tr { display: table-row; padding: 0; }
  .data-table th, .data-table td { display: table-cell; vertical-align: top; padding: 26px 0; border-bottom: 1px solid var(--line); }
  .data-table th { width: 15em; padding-right: 32px; font-size: 14px; margin: 0; }
}

/* 沿革 */
.timeline { list-style: none; margin: 0; padding: 0 0 0 22px; border-left: 1px solid var(--line-strong); }
.timeline li { position: relative; padding: 0 0 32px; display: grid; gap: 4px; }
.timeline li::before { content: ""; position: absolute; left: -26.5px; top: .7em; width: 9px; height: 9px; border-radius: 50%; background: var(--bg); border: 1px solid var(--accent); }
.timeline-date { font-family: var(--font-head); font-weight: 600; color: var(--brand); letter-spacing: .08em; }
@media (min-width: 900px) {
  .timeline { padding-left: 0; border-left: 0; }
  .timeline li { grid-template-columns: 12em 1fr; gap: 40px; padding: 24px 0; border-top: 1px solid var(--line); }
  .timeline li::before { display: none; }
}

/* 事业内容页 */
.biz-grid { display: grid; gap: 36px; }
.biz-panel {
  position: relative; overflow: hidden; aspect-ratio: 4 / 3;
  background: var(--brand-deep); color: var(--on-dark);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 28px;
}
.biz-panel-num { position: relative; z-index: 1; font-family: var(--font-latin); font-weight: 600; font-size: 88px; line-height: 1; color: var(--accent); }
.biz-panel-label { position: relative; z-index: 1; margin-top: 10px; font-family: var(--font-latin); font-weight: 600; font-size: 13px; letter-spacing: .3em; color: var(--on-dark-muted); }
.biz-panel-art { position: absolute; width: 90%; right: -22%; top: -24%; opacity: .55; }
.biz-panel .art-stop-a { stop-color: color-mix(in srgb, var(--brand) 60%, #fff); stop-opacity: .22; }
.biz-panel .art-dash { stroke: var(--on-dark); }
.biz-panel-icon { position: absolute; z-index: 1; right: 28px; top: 28px; width: 72px; height: 72px; color: var(--accent); opacity: .95; }
@media (min-width: 900px) { .biz-panel-icon { right: 40px; top: 40px; width: 96px; height: 96px; } }
.biz-photo { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; }
.biz-photo img { width: 100%; height: 100%; object-fit: cover; }
.biz-text .section-title { margin-bottom: 24px; }
.prose p { margin-bottom: 1.3em; }
.check-list { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid var(--line); }
.check-list li { position: relative; padding: 14px 0 14px 28px; border-bottom: 1px solid var(--line); }
.check-list li::before { content: ""; position: absolute; left: 2px; top: 1.45em; width: 12px; height: 1px; background: var(--accent); }
@media (min-width: 900px) {
  .biz-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: center; }
  .biz-grid.is-reverse .biz-visual { order: 2; }
  .biz-panel { padding: 40px; }
  .biz-panel-num { font-size: 128px; }
}

/* 招聘 */
.value-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.value-card { background: var(--bg); padding: 32px 28px; border-top: 2px solid var(--accent); }
.value-num { display: block; font-family: var(--font-latin); font-weight: 600; font-size: 28px; line-height: 1; color: var(--accent); margin-bottom: 18px; }
.value-card h3 { font-size: calc(19px * var(--head-scale)); margin-bottom: 12px; }
.value-card p { color: var(--muted); font-size: 14px; }
@media (min-width: 900px) { .value-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } .value-card { padding: 40px 32px; } }

.job-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.job-card a {
  display: flex; flex-direction: column; gap: 8px; height: 100%;
  padding: 28px 24px; background: var(--bg); border: 1px solid var(--line);
  color: var(--text); text-decoration: none;
  transition: border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.job-card a:hover { border-color: var(--brand); box-shadow: 0 22px 40px -30px rgba(20, 28, 45, .45); }
.job-card a:hover .icon-arrow { transform: translateX(4px); }
.job-card.is-closed a { opacity: .65; }
.job-title { font-size: calc(20px * var(--head-scale)); margin-top: 6px; }
.job-meta { font-size: 13px; color: var(--brand); letter-spacing: .06em; }
.job-card p { color: var(--muted); font-size: 14px; flex: 1; }
@media (min-width: 900px) { .job-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } .job-card a { padding: 36px 36px 32px; } }
.empty { padding: 40px 0; text-align: center; color: var(--muted); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge { display: inline-block; padding: 2px 12px; border: 1px solid var(--accent); color: var(--accent); font-size: 12px; letter-spacing: .1em; line-height: 1.9; }
.badge-muted { border-color: var(--line-strong); color: var(--muted); }
.page-hero .badges { margin-top: 22px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.step { position: relative; padding: 0 0 36px 64px; }
.step::before { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 1px; background: var(--line-strong); }
.step:last-child::before { display: none; }
.step-num {
  position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--accent); background: var(--bg);
  font-family: var(--font-latin); font-weight: 600; font-size: 16px; color: var(--accent);
}
.step h3 { font-size: calc(18px * var(--head-scale)); padding-top: 6px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14px; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 28px; }
  .step { padding: 72px 0 0; }
  .step::before { left: 52px; right: -28px; top: 22px; bottom: auto; width: auto; height: 1px; }
  .step-num { width: 44px; height: 44px; }
}

.faq { border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: start;
  padding: 24px 0; cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q, .faq-a { font-family: var(--font-latin); font-weight: 600; font-size: 22px; line-height: 1.3; color: var(--accent); }
.faq-question { font-weight: 500; }
.faq-icon { position: relative; width: 14px; height: 14px; margin-top: 7px; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--brand); transition: transform .35s var(--ease); }
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: rotate(0); }
.faq-answer { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 0 0 26px; color: var(--muted); }
.faq-a { color: var(--line-strong); }

/* 职位详情 */
.job-layout { display: grid; gap: 40px; }
.job-summary { font-size: 16px; line-height: 2.1; margin-bottom: 48px; }
.job-details-title { font-size: calc(22px * var(--head-scale)); margin-bottom: 24px; }
.back-link { margin-top: 40px; font-size: 14px; }
.back-link a { text-decoration: none; letter-spacing: .08em; }
.back-link a:hover { text-decoration: underline; }
.apply-card { border: 1px solid var(--line); background: var(--bg-soft); padding: 28px 24px; display: grid; gap: 14px; }
.apply-card .btn { width: 100%; }
.apply-card-title { font-family: var(--font-head); font-weight: 600; letter-spacing: .06em; margin: 0; }
.apply-note { font-size: 13px; color: var(--muted); }
.apply-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .95); border-top: 1px solid var(--line);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.apply-bar .btn { width: 100%; }
body.has-apply-bar { padding-bottom: 76px; }
@media (min-width: 900px) {
  .job-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; align-items: start; }
  .job-aside { position: sticky; top: calc(var(--header-h) + 32px); }
  .apply-bar { display: none; }
  body.has-apply-bar { padding-bottom: 0; }
}

/* 联系 */
.contact-layout { display: grid; gap: 32px; }
.aside-title { font-size: calc(18px * var(--head-scale)); margin-bottom: 18px; }
.note-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.note-list li { padding: 16px 0 16px 22px; position: relative; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.note-list li::before { content: ""; position: absolute; left: 0; top: 1.75em; width: 10px; height: 1px; background: var(--accent); }
.form-card { background: var(--bg); padding: 32px 20px; border: 1px solid var(--line); }
@media (min-width: 640px) { .form-card { padding: 48px 44px; } }
@media (min-width: 1080px) {
  .contact-layout { grid-template-columns: 300px minmax(0, 1fr); gap: 56px; align-items: start; }
  .contact-aside { position: sticky; top: calc(var(--header-h) + 32px); }
  .form-card { padding: 56px 64px; }
}

.contact-form { display: grid; gap: 26px; }
.field-row { display: grid; gap: 26px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; gap: 20px; } }
.field label { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; letter-spacing: .08em; margin-bottom: 10px; }
.req, .opt { font-size: 11px; font-weight: 500; letter-spacing: .08em; padding: 0 7px; line-height: 1.8; }
.req { color: #fff; background: var(--brand); }
.opt { color: var(--muted); border: 1px solid var(--line-strong); line-height: 1.65; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; min-height: 54px;
  font: inherit; font-size: 16px;   /* 16px 以上：iPhone 聚焦时不会自动放大 */
  letter-spacing: .02em; color: var(--text);
  background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: 12px 16px;
  transition: border-color .25s, box-shadow .25s;
  -webkit-appearance: none; appearance: none;
}
.field select {
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%235c6472' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.field textarea { min-height: 220px; resize: vertical; line-height: 1.8; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint-2); }
.field [aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 3px color-mix(in srgb, var(--danger) 14%, transparent); }
.consent label { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-weight: 400; margin: 0; cursor: pointer; }
.consent input { width: 22px; height: 22px; margin: 0; accent-color: var(--brand); flex: none; }
.form-actions { margin-top: 8px; }
.btn-submit { width: 100%; }
@media (min-width: 640px) { .btn-submit { width: auto; min-width: 280px; } }
.form-status { margin: 0; min-height: 1.6em; font-size: 14px; }
.form-status.error { color: var(--danger); }
.form-success { text-align: center; padding: 24px 0; }
.form-success h2 { font-size: calc(22px * var(--head-scale)); margin-bottom: 14px; }
.form-success p { color: var(--muted); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* 隐私政策 */
.prose-policy h2 { font-size: calc(19px * var(--head-scale)); margin: 2.6em 0 .9em; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.prose-policy h2:first-of-type { margin-top: 1.6em; }
.prose-policy ul { padding-left: 1.3em; }
.prose-policy .meta { margin-top: 3em; color: var(--muted); font-size: 14px; text-align: right; }

.notfound p { margin-bottom: 1.4em; }

/* ── 页脚 ─────────────────────────────────────────────────────────────── */
.site-footer { background: var(--brand-deep); color: var(--on-dark); padding: 72px 0 calc(28px + env(safe-area-inset-bottom)); font-size: 13px; }
.footer-top { display: grid; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--on-dark-line); }
.footer-name { font-family: var(--font-head); font-weight: 600; font-size: 20px; letter-spacing: .1em; margin: 0; }
.footer-en { font-family: var(--font-latin); font-weight: 600; font-size: 11px; letter-spacing: .26em; color: var(--accent); margin: 6px 0 20px; }
.footer-address { color: var(--on-dark-muted); margin: 0; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.footer-nav a { color: var(--on-dark); text-decoration: none; letter-spacing: .08em; }
.footer-nav a:hover { color: var(--accent); }
.footer-bottom { display: flex; flex-direction: column; gap: 16px; padding-top: 24px; }
.lang-switch-dark a { color: var(--on-dark-muted); }
.lang-switch-dark a[aria-current="true"], .lang-switch-dark a:hover { color: var(--on-dark); }
.lang-switch-dark .lang-sep { color: var(--on-dark-line); }
.copyright { margin: 0; color: var(--on-dark-muted); font-size: 12px; letter-spacing: .08em; }
@media (min-width: 900px) {
  .site-footer { padding-top: 96px; }
  .footer-top { grid-template-columns: 1fr auto; gap: 80px; }
  .footer-nav ul { grid-template-columns: repeat(2, auto); gap: 14px 56px; }
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}
