/* ==================================================================
   サイバーセル株式会社 官网 · 单页「白色展厅」
   浅色、整幅大图、横排粗黑体；墨绿作为唯一点缀色。
   法务页仍用 site.css。
   ================================================================== */

:root {
  --bg: #ffffff;
  --soft: #f4f3ef;
  --stone: #ece9e2;
  --ink: #161616;
  --ink-2: #4f4f4f;
  --mute: #8c8a85;
  --line: #e4e2dc;
  --accent: #0e5e55;
  --accent-soft: #e7f0ee;
  --night: #141816;

  --goth: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", monospace;

  --gutter: 56px;
  --maxw: 1240px;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font-family: var(--goth); font-size: 15px; line-height: 1.9; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; color: var(--accent); margin: 0 0 14px; text-transform: uppercase; }
.sec { padding: 120px 0; }
.sec.soft { background: var(--soft); }
.sec h2 { font-weight: 900; font-size: 44px; line-height: 1.35; letter-spacing: 0.02em; margin: 0 0 18px; }
.lede { font-size: 16px; color: var(--ink-2); max-width: 640px; margin: 0; }
.head-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: end; margin-bottom: 48px; }
.note { font-size: 12px; color: var(--mute); margin: 16px 0 0; }

/* ========== Nav ========== */

.nav { position: absolute; top: 0; left: 0; right: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center; padding: 24px var(--gutter); color: #fff; font-size: 13px; }
.nav .brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav .brand img { height: 16px; width: auto; filter: brightness(0) invert(1); }
.nav .brand span { font-size: 12px; opacity: .85; letter-spacing: 0.06em; }
.nav .links { display: flex; gap: 30px; font-weight: 500; }
.nav .links a { text-decoration: none; opacity: .92; }
.nav .links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }
.nav .right { display: flex; align-items: center; gap: 20px; }
.nav .lang { text-decoration: none; opacity: .85; white-space: nowrap; }
.nav .cta { background: #fff; color: var(--ink); padding: 11px 20px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.nav .cta:hover { background: var(--accent); color: #fff; }

/* ========== Hero ========== */

.hero { position: relative; height: 100vh; min-height: 640px; max-height: 920px; overflow: hidden; color: #fff; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.38) 0%, rgba(0,0,0,0) 26%, rgba(0,0,0,.08) 52%, rgba(0,0,0,.62) 100%); }
.hero .copy { position: absolute; z-index: 2; left: var(--gutter); right: var(--gutter); bottom: 56px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: end; }
.hero .label { color: #fff; opacity: .9; }
.hero h1 { font-weight: 900; font-size: 70px; line-height: 1.22; letter-spacing: 0.02em; margin: 0 0 18px; text-shadow: 0 2px 24px rgba(0,0,0,.25); }
.hero p { font-size: 16px; line-height: 1.95; max-width: 640px; margin: 0; opacity: .95; }
.hero .facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, auto); gap: 0 36px; }
.hero .facts li { border-top: 1px solid rgba(255,255,255,.45); padding-top: 12px; font-size: 12px; opacity: .95; }
.hero .facts b { display: block; font-size: 26px; font-weight: 700; line-height: 1.3; }
.hero .credit { position: absolute; z-index: 2; right: var(--gutter); top: 96px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; opacity: .7; }

/* ========== Business overview ========== */

.overview { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; margin: 0; padding: 0; }
.ov { display: block; text-decoration: none; color: inherit; }
.ov .ph { aspect-ratio: 4 / 3; overflow: hidden; background: var(--soft); position: relative; }
/* 比例盒里的图片一律绝对定位铺满：iOS Safari 无法按 aspect-ratio 推出的高度解析百分比，会被图片原始高度撑长 */
.ov .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.1,1); }
.ov .ph.white img { object-fit: contain; background: #fff; padding: 28px; box-sizing: border-box; }
.ov:hover .ph img { transform: scale(1.04); }
.ov .ph.type { background: var(--night); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 8% 7%; container-type: inline-size; }
.ov .ph.type b { font-size: clamp(24px, 11cqi, 52px); font-weight: 900; line-height: 1.2; letter-spacing: .02em; }
.ov .ph.type span { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; color: #9fc3bc; margin-top: 10px; }
.ov .row { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 0 8px; border-bottom: 1px solid var(--line); }
.ov h3 { font-size: 21px; font-weight: 700; margin: 0; }
.ov .n { font-family: var(--mono); font-size: 12px; color: var(--mute); }
.ov p { font-size: 14px; color: var(--ink-2); margin: 12px 0 0; line-height: 1.85; }
.ov .go { display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 700; color: var(--accent); }

/* ========== 01 EC ========== */

.ec { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; list-style: none; }
.chips li { font-size: 13px; font-weight: 500; border: 1px solid var(--line); background: #fff; padding: 6px 14px; }
.products { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.products .shot { position: relative; background: #fff; border: 1px solid var(--line); aspect-ratio: 1 / 1; overflow: hidden; }
.products .shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 14%; box-sizing: border-box; }
.products .nm { font-size: 14px; font-weight: 500; margin: 10px 0 0; }

/* ========== 02 Custom ========== */

.feature { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: center; padding: 40px 0; border-top: 1px solid var(--line); }
.feature .shot { position: relative; background: var(--soft); aspect-ratio: 4 / 3; overflow: hidden; }
.feature .shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 6%; box-sizing: border-box; mix-blend-mode: multiply; }
.feature .tag { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--accent); margin: 0 0 10px; }
.feature h3 { font-size: 30px; font-weight: 900; line-height: 1.4; margin: 0 0 14px; }
.feature p { color: var(--ink-2); margin: 0 0 18px; }
.specs { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.specs li { display: grid; grid-template-columns: 150px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.specs b { color: var(--ink); font-weight: 700; }
.badge { display: inline-block; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--accent); border: 1px solid var(--accent); padding: 2px 8px; margin-left: 8px; vertical-align: 2px; }

.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.trio img, .quad img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; background: var(--stone); }
.trio .cap, .quad .cap { font-size: 13px; color: var(--ink-2); margin: 10px 0 0; }
.quad { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 28px 0 0; padding: 0; }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; margin: 0; }
.pair h4 { font-size: 20px; font-weight: 700; margin: 0 0 8px; }
.pair p { color: var(--ink-2); margin: 0; font-size: 15px; }
.block { padding: 48px 0; border-top: 1px solid var(--line); }
.block > .label { margin-bottom: 8px; }
.block > h3 { font-size: 30px; font-weight: 900; line-height: 1.4; margin: 0 0 24px; }
.craft { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.5fr); gap: 48px; align-items: start; }
.craft p { color: var(--ink-2); margin: 0 0 18px; }

/* ========== 03 Surplus ========== */

.surplus { background: var(--night); color: #fff; }
.surplus .label { color: #9fc3bc; }
.surplus .lede { color: #c9cfcc; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid rgba(255,255,255,.18); counter-reset: s; }
.steps li { padding: 26px 24px 0 0; }
.steps li::before { counter-increment: s; content: "0" counter(s); display: block; font-family: var(--mono); font-size: 13px; color: #9fc3bc; margin-bottom: 10px; }
.steps b { display: block; font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.steps span { font-size: 14px; color: #c9cfcc; line-height: 1.85; }
.points3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 56px 0 0; padding: 0; list-style: none; }
.points3 li { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); padding: 24px; }
.points3 b { display: block; font-size: 18px; margin-bottom: 6px; }
.points3 span { font-size: 14px; color: #c9cfcc; }

/* ========== FAQ / message / profile ========== */

.faq { margin: 0; border-top: 1px solid var(--line); }
.faq .qa { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 40px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.faq dt { font-weight: 700; font-size: 17px; line-height: 1.7; margin: 0; }
.faq dd { margin: 0; color: var(--ink-2); line-height: 1.9; }

.two { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; }
.message p { font-size: 16px; line-height: 2.1; margin: 0 0 18px; }
.sign { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); }
.sign small { display: block; font-size: 12px; color: var(--mute); letter-spacing: .1em; }
.sign b { display: block; font-size: 22px; font-weight: 700; letter-spacing: .2em; margin: 4px 0 6px; }
.sign p { font-size: 13px; color: var(--ink-2); margin: 0; line-height: 1.8; }

.profile { width: 100%; border-collapse: collapse; }
.profile th, .profile td { text-align: left; vertical-align: top; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.profile tr:first-child th, .profile tr:first-child td { border-top: 1px solid var(--line); }
.profile th { width: 190px; font-weight: 500; font-size: 13px; color: var(--mute); padding-top: 18px; }
.profile td small { display: block; font-size: 13px; color: var(--mute); }

/* ========== Contact / footer ========== */

.contact { position: relative; overflow: hidden; color: #fff; text-align: center; padding: 140px var(--gutter); }
.contact > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contact::after { content: ""; position: absolute; inset: 0; background: rgba(12, 18, 16, .62); }
.contact .in { position: relative; z-index: 2; }
.contact h2 { font-weight: 900; font-size: 46px; margin: 0 0 16px; }
.contact p { max-width: 640px; margin: 0 auto 32px; opacity: .92; }
.btn { display: inline-block; background: #fff; color: var(--ink); font-weight: 700; padding: 16px 34px; text-decoration: none; }
.btn:hover { background: var(--accent); color: #fff; }
.contact .mail { display: block; margin-top: 16px; font-family: var(--mono); font-size: 13px; opacity: .85; }

.footer { padding: 40px var(--gutter); display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; font-size: 12px; color: var(--mute); border-top: 1px solid var(--line); }
.footer .who img { height: 14px; width: auto; margin-bottom: 10px; }
.footer .who b { display: block; font-size: 15px; color: var(--ink); }
.footer .links { text-align: right; line-height: 2.1; }
.footer .links a { text-decoration: none; margin-left: 18px; color: var(--ink-2); }
.footer .links a:hover { color: var(--accent); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } html { scroll-behavior: auto; } }

/* ========== Responsive ========== */

@media (max-width: 960px) {
  :root { --gutter: 24px; }
  .nav .links { display: none; }
  .nav .brand span { display: none; }
  .hero { height: 88vh; min-height: 560px; }
  .hero .copy { grid-template-columns: 1fr; gap: 28px; bottom: 36px; }
  .hero h1 { font-size: 40px; }
  .hero p { font-size: 15px; }
  .hero .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 14px; }
  .hero .facts b { font-size: 19px; }
  .hero .credit { display: none; }
  .sec { padding: 80px 0; }
  .sec h2 { font-size: 30px; }
  .head-row, .ec, .feature, .craft, .two, .pair { grid-template-columns: 1fr; gap: 28px; }
  .overview { grid-template-columns: 1fr; gap: 36px; }
  .trio { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .quad { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li { padding-bottom: 20px; }
  .points3 { grid-template-columns: 1fr; }
  .faq .qa { grid-template-columns: 1fr; gap: 6px; }
  .feature h3, .block > h3 { font-size: 24px; }
  .contact { padding: 96px var(--gutter); }
  .contact h2 { font-size: 32px; }
  .footer { flex-direction: column; align-items: flex-start; }
  .footer .links { text-align: left; }
  .footer .links a { margin: 0 16px 0 0; }
}
@media (max-width: 520px) {
  .hero h1 { font-size: 32px; }
  .hero .facts b { font-size: 16px; }
  .steps { grid-template-columns: 1fr; }
  .profile, .profile tbody, .profile tr, .profile th, .profile td { display: block; width: 100%; }
  .profile th { padding: 14px 0 2px; border-bottom: none; }
  .profile td { padding: 0 0 14px; }
  .profile tr:first-child td { border-top: none; }
  .specs li { grid-template-columns: 90px 1fr; }
}
