/* ==========================================================================
   SNOWGRIP 日文企业官网 — 全局样式
   风格：浅色基底 / 简约高级 / 细腻柔和动画
   【替换备注】品牌主色修改 :root 中的 --accent 即可全站生效
   ========================================================================== */

:root {
  --bg: #faf9f6;          /* 页面基底（暖白） */
  --surface: #ffffff;     /* 卡片白 */
  --ink: #22242a;         /* 主文字 */
  --sub: #74726c;         /* 次要文字 */
  --line: #e8e5de;        /* 分隔线 */
  --accent: #33546d;      /* 品牌主色（钢蓝） */
  --accent-deep: #243c50;
  --accent-soft: #edf2f6; /* 主色浅底 */
  --img-bg: #f2f0eb;      /* 产品图浅灰底 */
  --radius: 18px;
  --shadow-sm: 0 2px 10px rgba(34, 36, 42, 0.05);
  --shadow-md: 0 14px 40px rgba(34, 36, 42, 0.09);
  --ease: cubic-bezier(0.22, 0.61, 0.21, 1);
  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --font-en: "Inter", "Noto Sans JP", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-jp);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.75;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  opacity: 0;
  animation: pageIn 0.55s var(--ease) forwards;
}

/* 页面进入 / 离开过渡（柔和淡入淡出） */
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }
body.is-leaving { opacity: 0; transition: opacity 0.28s ease; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.wrap { width: min(1180px, 92%); margin: 0 auto; }

/* --------------------------------------------------------------------------
   通用文字
   -------------------------------------------------------------------------- */
.eyebrow {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--accent); }

.sec-title { font-size: clamp(26px, 3.4vw, 40px); font-weight: 700; line-height: 1.35; margin: 14px 0 10px; }
.sec-lead { color: var(--sub); font-size: 15px; max-width: 560px; }

/* --------------------------------------------------------------------------
   滚动显现动画（简约、不刺眼）
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   头部导航
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}
.site-header.is-scrolled {
  background: rgba(250, 249, 246, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }

/* 【替换备注】品牌 Logo：目前为文字 Logo，可替换为 <img src="assets/img/logo.png"> */
.brand { display: flex; align-items: baseline; gap: 10px; font-family: var(--font-en); }
.brand strong { font-size: 21px; font-weight: 800; letter-spacing: 0.12em; color: var(--ink); }
.brand span { font-size: 10px; letter-spacing: 0.22em; color: var(--sub); }

.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav a {
  position: relative; font-size: 13.5px; font-weight: 500; color: var(--ink);
  padding: 6px 0; transition: color 0.3s ease;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1.5px;
  background: var(--accent); transform: scaleX(0); transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.main-nav a:hover, .main-nav a.is-active { color: var(--accent); }
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); transform-origin: left; }

.header-cta {
  font-size: 13px; font-weight: 600; color: #fff; background: var(--accent);
  padding: 10px 22px; border-radius: 999px; transition: background 0.3s ease, transform 0.3s var(--ease), box-shadow 0.3s ease;
}
.header-cta:hover { background: var(--accent-deep); transform: translateY(-1px); box-shadow: var(--shadow-sm); }

.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; position: relative; z-index: 102; }
.nav-toggle span { display: block; width: 22px; height: 1.6px; background: var(--ink); margin: 5px auto; transition: transform 0.35s var(--ease), opacity 0.3s ease; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   首页 Hero
   -------------------------------------------------------------------------- */
.hero { position: relative; padding: 176px 0 90px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; top: -220px; right: -180px; width: 640px; height: 640px;
  background: radial-gradient(circle, var(--accent-soft) 0%, rgba(237, 242, 246, 0) 68%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; }
.hero-copy h1 { font-size: clamp(34px, 4.6vw, 56px); font-weight: 800; line-height: 1.32; margin: 18px 0 20px; }
.hero-copy h1 em { font-style: normal; color: var(--accent); }
.hero-copy p { color: var(--sub); font-size: 15.5px; max-width: 480px; }
.hero-actions { display: flex; gap: 16px; margin-top: 36px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 600; padding: 14px 30px; border-radius: 999px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s ease, background 0.3s ease, color 0.3s ease;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-deep); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { border: 1px solid var(--line); color: var(--ink); background: var(--surface); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn .arrow { transition: transform 0.35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-visual .hero-img-bg {
  position: absolute; inset: 8% 4%; background: var(--img-bg); border-radius: 32px;
}
/* 【替换备注】首页主视觉产品图：assets/img/products/ft9.png 可换成任意产品图 */
.hero-visual img {
  position: relative; width: min(430px, 88%);
  filter: drop-shadow(0 30px 40px rgba(34, 36, 42, 0.14));
  animation: heroFloat 7s ease-in-out infinite;
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0) rotate(-0.4deg); }
  50% { transform: translateY(-14px) rotate(0.4deg); }
}

.hero-stats { display: flex; gap: 48px; margin-top: 64px; flex-wrap: wrap; }
.hero-stats .stat b { display: block; font-family: var(--font-en); font-size: 30px; font-weight: 700; color: var(--ink); }
.hero-stats .stat span { font-size: 12.5px; color: var(--sub); letter-spacing: 0.08em; }

/* --------------------------------------------------------------------------
   区块通用
   -------------------------------------------------------------------------- */
.section { padding: 96px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 52px; flex-wrap: wrap; }
.text-link { font-size: 13.5px; font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: 8px; }
.text-link .arrow { transition: transform 0.35s var(--ease); }
.text-link:hover .arrow { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   产品卡片
   -------------------------------------------------------------------------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

.p-card {
  background: var(--surface); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(232, 229, 222, 0.7);
  transition: transform 0.5s var(--ease), box-shadow 0.5s ease;
  display: flex; flex-direction: column;
}
.p-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.p-card .p-thumb { background: var(--img-bg); aspect-ratio: 4 / 3.4; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.p-card .p-thumb img { width: 72%; transition: transform 0.7s var(--ease); }
.p-card:hover .p-thumb img { transform: scale(1.05) translateY(-4px); }
.p-card .p-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.p-card .p-tags { display: flex; gap: 8px; }
.tag {
  font-size: 11px; font-weight: 600; letter-spacing: 0.06em; padding: 4px 12px; border-radius: 999px;
}
.tag-auto { background: var(--accent-soft); color: var(--accent); }
.tag-manual { background: #f3eee6; color: #8a6d3b; }
.tag-mm { background: #f1f1ee; color: var(--sub); }
.p-card h3 { font-family: var(--font-en); font-size: 21px; font-weight: 700; letter-spacing: 0.02em; }
.p-card .p-desc { font-size: 13px; color: var(--sub); flex: 1; }
.p-card .p-more { margin-top: 12px; font-size: 12.5px; font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: 7px; }
.p-card .p-more .arrow { transition: transform 0.35s var(--ease); }
.p-card:hover .p-more .arrow { transform: translateX(4px); }

/* 产品筛选（製品紹介页） */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 44px; }
.filter-btn {
  font-family: var(--font-jp); font-size: 13px; font-weight: 600; color: var(--sub);
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 22px; cursor: pointer; transition: all 0.35s var(--ease);
}
.filter-btn:hover { border-color: var(--accent); color: var(--accent); }
.filter-btn.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }
.p-card.is-hidden { display: none; }

/* --------------------------------------------------------------------------
   首页：选购指南 / 品牌条
   -------------------------------------------------------------------------- */
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.guide-card {
  background: var(--surface); border: 1px solid rgba(232, 229, 222, 0.7); border-radius: var(--radius);
  padding: 34px 30px; transition: transform 0.5s var(--ease), box-shadow 0.5s ease;
}
.guide-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.guide-card .g-num { font-family: var(--font-en); font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: 0.2em; }
.guide-card h3 { font-size: 18px; margin: 12px 0 10px; }
.guide-card p { font-size: 13.5px; color: var(--sub); }

.brand-strip { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.brand-strip .strip-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 88px 0; }
/* 【替换备注】品牌故事配图：替换 assets/img/ 下的图片或放入工厂/团队照片 */
.strip-visual { background: var(--img-bg); border-radius: 24px; aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.strip-visual img { width: 64%; filter: drop-shadow(0 24px 30px rgba(34, 36, 42, 0.12)); }

/* CTA 条 */
.cta-band { text-align: center; padding: 100px 0; }
.cta-band h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 14px; }
.cta-band p { color: var(--sub); font-size: 14.5px; margin-bottom: 32px; }

/* --------------------------------------------------------------------------
   页头（子页面）
   -------------------------------------------------------------------------- */
.page-hero { padding: 168px 0 64px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; margin-top: 14px; }
.page-hero p { color: var(--sub); margin-top: 10px; max-width: 600px; font-size: 15px; }

.breadcrumb { font-size: 12.5px; color: var(--sub); display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumb a { color: var(--accent); }
.breadcrumb a:hover { text-decoration: underline; }

/* --------------------------------------------------------------------------
   产品详情页
   -------------------------------------------------------------------------- */
.detail-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; padding: 56px 0 80px; align-items: center; }
.detail-visual { background: var(--img-bg); border-radius: 28px; aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; overflow: hidden; }
/* 【替换备注】产品大图：assets/img/products/xxx.png */
.detail-visual img { width: 78%; filter: drop-shadow(0 26px 34px rgba(34, 36, 42, 0.13)); transition: transform 0.7s var(--ease); }
.detail-visual:hover img { transform: scale(1.03); }

.detail-info .p-tags { display: flex; gap: 8px; margin-bottom: 16px; }
.detail-info h1 { font-family: var(--font-en); font-size: clamp(34px, 4vw, 48px); font-weight: 800; letter-spacing: 0.02em; }
.detail-info .d-sub { font-size: 14px; color: var(--sub); margin-top: 6px; }
.detail-info .d-price-note { margin-top: 22px; font-size: 13px; color: var(--sub); border-top: 1px solid var(--line); padding-top: 22px; }
.detail-info .d-desc { margin-top: 18px; font-size: 14.5px; color: var(--ink); }
.detail-actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }

.spec-list { margin-top: 30px; border-top: 1px solid var(--line); }
.spec-list li { display: flex; justify-content: space-between; gap: 20px; padding: 13px 2px; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.spec-list li span:first-child { color: var(--sub); flex-shrink: 0; }
.spec-list li span:last-child { font-weight: 600; text-align: right; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.feature-card { background: var(--surface); border: 1px solid rgba(232, 229, 222, 0.7); border-radius: var(--radius); padding: 32px 28px; transition: transform 0.5s var(--ease), box-shadow 0.5s ease; }
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.feature-card .f-icon {
  width: 46px; height: 46px; border-radius: 14px; background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.feature-card .f-icon svg { width: 22px; height: 22px; stroke: var(--accent); }
.feature-card h3 { font-size: 16.5px; margin-bottom: 8px; }
.feature-card p { font-size: 13px; color: var(--sub); }

.spec-table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.spec-table th, .spec-table td { text-align: left; padding: 16px 24px; font-size: 14px; border-bottom: 1px solid var(--line); }
.spec-table th { width: 220px; background: #f6f5f2; color: var(--sub); font-weight: 600; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }

/* 16:9 视频播放器（固定比例） */
.video-frame {
  position: relative; aspect-ratio: 16 / 9; width: 100%;
  background: #101216; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md);
}
.video-el { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #101216; }
.video-placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px; color: rgba(255, 255, 255, 0.82); background:
  radial-gradient(ellipse at 50% 40%, rgba(51, 84, 109, 0.35), rgba(16, 18, 22, 0) 70%);
}
.video-placeholder .play-ring {
  width: 74px; height: 74px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, 0.55);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.4s var(--ease), background 0.4s ease;
}
.video-placeholder:hover .play-ring { transform: scale(1.06); background: rgba(255, 255, 255, 0.08); }
.video-placeholder .play-ring svg { width: 24px; height: 24px; fill: rgba(255, 255, 255, 0.9); margin-left: 3px; }
.video-placeholder p { font-size: 13.5px; letter-spacing: 0.1em; }
.video-placeholder small { font-size: 11.5px; color: rgba(255, 255, 255, 0.45); letter-spacing: 0.06em; }

/* 相关产品 */
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

/* --------------------------------------------------------------------------
   プロモーション動画页
   -------------------------------------------------------------------------- */
.video-lead { text-align: center; max-width: 620px; margin: 0 auto 48px; }
.video-lead p { color: var(--sub); font-size: 14.5px; margin-top: 12px; }

.demo-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 70px; }
.demo-item { background: var(--surface); border: 1px solid rgba(232, 229, 222, 0.7); border-radius: var(--radius); overflow: hidden; transition: transform 0.5s var(--ease), box-shadow 0.5s ease; }
.demo-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.demo-item .demo-thumb { position: relative; background: var(--img-bg); aspect-ratio: 16/10; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.demo-item .demo-thumb img { width: 60%; transition: transform 0.7s var(--ease); }
.demo-item:hover .demo-thumb img { transform: scale(1.05); }
.demo-item .demo-body { padding: 18px 22px 22px; }
.demo-item h3 { font-family: var(--font-en); font-size: 16px; }
.demo-item p { font-size: 12.5px; color: var(--sub); margin-top: 4px; }

/* --------------------------------------------------------------------------
   私たちについて
   -------------------------------------------------------------------------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
/* 【替换备注】品牌/工厂配图占位 */
.about-visual { background: var(--img-bg); border-radius: 24px; aspect-ratio: 4/3.2; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.about-visual img { width: 62%; filter: drop-shadow(0 24px 30px rgba(34, 36, 42, 0.12)); }
.about-copy h2 { font-size: clamp(24px, 3vw, 34px); margin: 14px 0 16px; }
.about-copy p { color: var(--sub); font-size: 14.5px; margin-bottom: 14px; }

.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

/* --------------------------------------------------------------------------
   会社概要
   -------------------------------------------------------------------------- */
.company-table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.company-table th, .company-table td { text-align: left; padding: 18px 26px; font-size: 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.company-table th { width: 200px; background: #f6f5f2; color: var(--sub); font-weight: 600; }
.company-table tr:last-child th, .company-table tr:last-child td { border-bottom: 0; }

/* 地图占位：【替换备注】可替换为 Google Maps iframe */
.map-placeholder {
  margin-top: 40px; border-radius: var(--radius); background: var(--img-bg);
  aspect-ratio: 21/8; display: flex; flex-direction: column; gap: 10px;
  align-items: center; justify-content: center; color: var(--sub); font-size: 13px;
  border: 1px dashed #d5d1c8;
}

/* --------------------------------------------------------------------------
   页脚
   -------------------------------------------------------------------------- */
.site-footer { background: #22252b; color: rgba(255, 255, 255, 0.72); margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding: 72px 0 56px; }
.site-footer .f-brand { font-family: var(--font-en); font-size: 20px; font-weight: 800; letter-spacing: 0.12em; color: #fff; }
.site-footer .f-brand span { display: block; font-size: 10px; letter-spacing: 0.22em; color: rgba(255, 255, 255, 0.45); margin-top: 6px; font-weight: 500; }
.site-footer h4 { color: #fff; font-size: 13px; letter-spacing: 0.14em; margin-bottom: 18px; }
.site-footer li { margin-bottom: 10px; }
.site-footer li a { font-size: 13px; transition: color 0.3s ease; }
.site-footer li a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 22px 0; font-size: 12px; color: rgba(255, 255, 255, 0.4); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   响应式
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .product-grid, .feature-grid, .guide-grid, .value-grid, .related-grid, .demo-list { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid, .detail-hero, .about-grid, .brand-strip .strip-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero { padding-top: 140px; }
  .hero-visual { order: -1; }
  .hero-visual img { width: min(320px, 76%); }
}

@media (max-width: 720px) {
  .main-nav {
    position: fixed; inset: 0; z-index: 101; flex-direction: column; justify-content: center;
    gap: 26px; background: rgba(250, 249, 246, 0.97); backdrop-filter: blur(16px);
    opacity: 0; pointer-events: none; transition: opacity 0.4s ease;
  }
  .main-nav.is-open { opacity: 1; pointer-events: auto; }
  .main-nav a { font-size: 17px; }
  .nav-toggle { display: block; }
  .header-cta { display: none; }
  .product-grid, .feature-grid, .guide-grid, .value-grid, .related-grid, .demo-list { grid-template-columns: 1fr; }
  .section { padding: 68px 0; }
  .spec-table th { width: 130px; }
  .company-table th { width: 120px; }
  .hero-stats { gap: 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; padding: 56px 0 40px; }
}

/* 减少动态偏好 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-visual img { animation: none; }
  body { animation: none; opacity: 1; }
}

/* ==========================================================================
   2026-09-12 追加分：品牌 Logo / 性能評価 / ハイライト / 会社情報コンポーネント
   ========================================================================== */

/* 头部 Logo 图片 */
.brand img { height: 34px; width: auto; display: block; }

/* --------------------------------------------------------------------------
   性能評価（星评级）
   -------------------------------------------------------------------------- */
.rating-panel { background: var(--surface); border: 1px solid rgba(232, 229, 222, 0.7); border-radius: var(--radius); padding: 36px 38px; box-shadow: var(--shadow-sm); }
.rating-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.rating-row:last-child { border-bottom: 0; }
.rating-row .r-label { font-size: 14px; font-weight: 600; color: var(--ink); }
.rating-row .r-stars { display: inline-flex; gap: 5px; }
.rating-row .r-stars svg { width: 16px; height: 16px; fill: #d8d5cd; }
.rating-row .r-stars svg.on { fill: #e8a13c; }

/* --------------------------------------------------------------------------
   ハイライト（亮点数字/卖点）
   -------------------------------------------------------------------------- */
.hl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.hl-card {
  background: var(--accent-soft); border-radius: var(--radius); padding: 30px 28px;
  transition: transform 0.5s var(--ease), box-shadow 0.5s ease;
}
.hl-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.hl-card .hl-big { font-family: var(--font-en); font-size: 30px; font-weight: 800; color: var(--accent); line-height: 1.2; }
.hl-card .hl-big small { font-size: 15px; font-weight: 700; }
.hl-card h3 { font-size: 15px; margin: 10px 0 6px; }
.hl-card p { font-size: 12.5px; color: var(--sub); }

/* 布局：左评级 + 右亮点 */
.perf-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 26px; align-items: stretch; }

/* --------------------------------------------------------------------------
   会社概要ページ
   -------------------------------------------------------------------------- */
.company-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.cstat { background: var(--surface); border: 1px solid rgba(232, 229, 222, 0.7); border-radius: var(--radius); padding: 32px 26px; text-align: center; transition: transform 0.5s var(--ease), box-shadow 0.5s ease; }
.cstat:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.cstat b { display: block; font-family: var(--font-en); font-size: 34px; font-weight: 800; color: var(--accent); }
.cstat span { font-size: 12.5px; color: var(--sub); }

.cert-row { display: flex; gap: 12px; flex-wrap: wrap; }
.cert-badge {
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.04em; color: var(--accent);
  background: var(--accent-soft); border-radius: 999px; padding: 8px 18px;
}

/* --------------------------------------------------------------------------
   技術・比較（私たちについて）
   -------------------------------------------------------------------------- */
.tech-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.tech-card { background: var(--surface); border: 1px solid rgba(232, 229, 222, 0.7); border-radius: var(--radius); padding: 32px 30px; transition: transform 0.5s var(--ease), box-shadow 0.5s ease; }
.tech-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.tech-card h3 { font-size: 16.5px; margin-bottom: 8px; }
.tech-card h3 .t-no { font-family: var(--font-en); color: var(--accent); margin-right: 10px; }
.tech-card p { font-size: 13px; color: var(--sub); }

.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.compare-card { border-radius: var(--radius); padding: 32px 30px; }
.compare-card.good { background: var(--accent-soft); }
.compare-card.bad { background: #f3f1ec; }
.compare-card .c-tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 14px; border-radius: 999px; margin-bottom: 14px; }
.compare-card.good .c-tag { background: var(--accent); color: #fff; }
.compare-card.bad .c-tag { background: #cfccc3; color: #5a584f; }
.compare-card .c-hrc { font-family: var(--font-en); font-size: 26px; font-weight: 800; margin-bottom: 8px; }
.compare-card p { font-size: 13px; color: var(--sub); }

/* 使用上の注意 */
.caution-list { counter-reset: c; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 26px; }
.caution-item { counter-increment: c; background: var(--surface); border: 1px solid rgba(232, 229, 222, 0.7); border-radius: 14px; padding: 20px 22px 20px 60px; position: relative; font-size: 13px; color: var(--sub); }
.caution-item::before {
  content: counter(c); position: absolute; left: 20px; top: 20px;
  width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: #fff;
  font-family: var(--font-en); font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.caution-item b { display: block; color: var(--ink); font-size: 14px; margin-bottom: 4px; }
.caution-warn { margin-top: 26px; border: 1px solid #ecd9a8; background: #fdf8ec; border-radius: 14px; padding: 20px 24px; font-size: 13px; color: #8a6d3b; }
.caution-warn b { display: block; margin-bottom: 6px; }

/* 页头品牌图（私たちについて） */
.about-logo { width: 150px; margin-bottom: 26px; }

@media (max-width: 1024px) {
  .perf-grid, .tech-grid, .compare-grid, .caution-list { grid-template-columns: 1fr; }
  .hl-grid { grid-template-columns: repeat(2, 1fr); }
  .company-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .hl-grid, .company-stats { grid-template-columns: 1fr; }
  .rating-panel { padding: 26px 22px; }
}

/* 视频播放器自动检测：未确认文件存在前隐藏播放器本体（visibility 不阻断探测加载），
   只显示干净的占位提示；检测到视频后（.has-video）淡入播放器、淡出占位层 */
.video-frame .video-el { visibility: hidden; }
.video-frame.has-video .video-el { visibility: visible; }
.video-placeholder { transition: opacity 0.6s ease; }
.video-placeholder.is-gone { opacity: 0; pointer-events: none; }

/* ==========================================================================
   视差滚动支持（2026-09-15 追加，风格不变・仅加层次）
   [data-para] 由 main.js 第 7 节每帧写入 --py 变量；负速度=经典滞后（晚离场），
   正速度=提前。transform 由 CSS 合成，避免与 .reveal 过渡互相覆盖。
   ========================================================================== */
[data-para], .reveal.is-in[data-para], [data-para-x], .reveal.is-in[data-para-x] { will-change: transform; transform: translate3d(var(--px, 0px), var(--py, 0px), 0); }

/* 带 reveal 的视差元素：显现动画只保留淡入（transform 交给视差），避免过渡拖慢每帧位移 */
.reveal[data-para], .reveal[data-para-x] { transition: opacity 0.8s var(--ease); transition-delay: var(--d, 0s); }

/* ==========================================================================
   蜂窝网状视差层（2026-09-15 追加）
   灵感来自胎面链条的ダイヤモンドハニカムメッシュ：网状纹理作为独立图层
   以不同速度 / 方向随滚动漂移，与产品形态呼应。
   .has-hex 为容器（相对定位），.hex-layer 为装饰层（不响应事件、置于内容之下）
   ========================================================================== */
.has-hex { position: relative; }
.has-hex > .wrap { position: relative; z-index: 1; }

.hex-layer {
  position: absolute; pointer-events: none; z-index: 0;
  background: url("../img/hex-mesh.svg") center / 92px 92px repeat;
  opacity: 0.5;
}

/* 产品主图背后：链条网衬托轮胎，速度差制造纵深（图慢 / 网更慢） */
.hex-in-visual {
  inset: -46px;
  opacity: 0.42;
  -webkit-mask-image: radial-gradient(74% 74% at 50% 50%, #000 52%, transparent 76%);
  mask-image: radial-gradient(74% 74% at 50% 50%, #000 52%, transparent 76%);
}
.detail-visual img, .about-visual img { position: relative; z-index: 1; }

/* 区块背后的横向飘带：随滚动横向漂移（方向变化），如链条横贯胎面 */
.hex-band {
  left: -9%; right: -9%; top: 22%; height: 230px;
  opacity: 0.28;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}

/* 页首标题区：整幅缓慢浮动的底纹 */
.hex-hero {
  left: -6%; right: -6%; top: -34px; bottom: -34px;
  opacity: 0.32;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 32%, #000 72%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 32%, #000 72%, transparent);
}

/* 视差横移的溢出防护（x 方向交错漂移不撑出横向滚动条） */
main { overflow-x: clip; }

@media (max-width: 720px) {
  .hex-layer { background-size: 64px 64px; }
  .hex-band { height: 150px; opacity: 0.22; }
  .hex-in-visual { inset: -26px; opacity: 0.34; }
}

@media (prefers-reduced-motion: reduce) {
  .hex-layer { display: none; }
}

/* 首页 hero 背景光斑随滚动缓慢下沉（最深层：光斑 < 产品图 < 文案） */
.hero::before {
  transform: translate3d(0, calc(var(--hs, 0) * 0.16px), 0);
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  [data-para], [data-para-x] { transform: none !important; will-change: auto; }
  .hero::before { transform: none !important; }
}

/* ==========================================================================
   Hero 滚动序列（FT 首帧→尾帧，2026-09-15）
   苹果式：sticky 全屏舞台，滚动驱动两帧推近/交叠，文案两段式浮现
   初始状态（JS 未运行 / 减弱动效时）= 首帧静态 + 第一段文案
   ========================================================================== */
.hseq { position: relative; height: 340vh; background: #eef2f6; }
.hseq-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }

.hseq-frame { position: absolute; inset: 0; will-change: transform, opacity; }
.hseq-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hs-b {
  --wipe: 100; /* JS 驱动 100→0：右侧未划入比例 */
  opacity: 1;
  -webkit-mask-image: linear-gradient(to right, transparent calc(var(--wipe) * 1% - 7%), #000 calc(var(--wipe) * 1% + 7%));
  mask-image: linear-gradient(to right, transparent calc(var(--wipe) * 1% - 7%), #000 calc(var(--wipe) * 1% + 7%));
  will-change: transform;
}

.hseq-snow { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 3; }

/* 底部白色渐变：与下方浅色页面无缝衔接，风格不变 */
.hseq-scrim {
  position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background:
    linear-gradient(105deg, rgba(255,255,255,.62) 0%, rgba(255,255,255,.28) 30%, rgba(255,255,255,0) 52%),
    linear-gradient(180deg, rgba(255,255,255,.34) 0%, rgba(255,255,255,0) 22%),
    linear-gradient(0deg, var(--bg, #fbfaf8) 0%, rgba(251,250,248,0) 26%);
}

.hseq-copy { position: absolute; z-index: 5; left: 6vw; max-width: 640px; will-change: transform, opacity; }
.hs-copy1 { top: 50%; transform: translateY(-50%); }
.hs-copy2 { bottom: 9vh; opacity: 0; }

.hseq-copy .eyebrow { display: inline-block; margin-bottom: 14px; color: #2b4a63; }
.hseq-copy h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 800; line-height: 1.18;
  letter-spacing: -0.02em; color: #14212e;
  text-shadow: 0 1px 0 rgba(255,255,255,.5);
}
.hseq-copy h1 em { font-style: normal; color: var(--accent, #b4782e); }
.hseq-copy h2 {
  font-size: clamp(1.9rem, 3.6vw, 3rem); font-weight: 800; line-height: 1.25;
  letter-spacing: -0.015em; color: #14212e; margin-bottom: 18px;
  text-shadow: 0 1px 0 rgba(255,255,255,.55);
}
.hseq-copy h2 b { color: var(--accent, #b4782e); font-weight: 800; }
.hseq-copy h2 small { font-size: .5em; font-weight: 700; }
.hseq-copy p { font-size: 15px; line-height: 1.9; color: #33465a; margin-top: 16px; max-width: 520px; }

.hs-copy2 .hero-actions { margin-top: 6px; }
.hs-copy2 .hero-stats { margin-top: 30px; }

/* 滚动提示 */
.hseq-hint {
  position: absolute; z-index: 5; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: var(--font-en, 'Inter', sans-serif); font-size: 10px; font-weight: 700;
  letter-spacing: .32em; color: #3d5468;
}
.hseq-hint i { width: 1px; height: 40px; background: #3d5468; display: block; transform-origin: top; animation: hs-line 2s cubic-bezier(.65,0,.35,1) infinite; }
@keyframes hs-line { 0% { transform: scaleY(0); } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform-origin: bottom; transform: scaleY(1); } 100% { transform: scaleY(0); transform-origin: bottom; } }

@media (max-width: 720px) {
  .hseq { height: 300vh; }
  .hseq-copy { left: 7vw; right: 7vw; max-width: none; }
  .hs-copy2 { bottom: 12vh; }
  .hs-copy2 .hero-stats { display: none; } /* 手机端收起统计，避免拥挤 */
  /* 移动端画面被轮胎占满：加强左/下遮罩保证文案可读 */
  .hseq-scrim {
    background:
      linear-gradient(100deg, rgba(255,255,255,.82) 0%, rgba(255,255,255,.45) 45%, rgba(255,255,255,0) 75%),
      linear-gradient(0deg, rgba(251,250,248,.92) 0%, rgba(251,250,248,0) 42%),
      linear-gradient(180deg, rgba(255,255,255,.34) 0%, rgba(255,255,255,0) 22%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hseq { height: 100vh; }
  .hseq-snow, .hseq-hint { display: none; }
  .hseq-frame, .hseq-copy { transform: none !important; }
}

/* ==========================================================================
   全站连贯动效（2026-09-15 追加）
   与首页 Hero 滚动序列同一套语言：落定（settle）+ 遮罩行刷出（mask-line）
   ========================================================================== */

/* 页面进入：与 body.is-leaving 的淡出对称，页面间跳转形成连续感 */
@keyframes page-in { from { opacity: 0; } to { opacity: 1; } }
body { animation: page-in 0.45s ease-out both; }

/* 产品图落定：由大及小 + 轻微下沉，呼应首页尾帧的推近落定
   fill-mode: backwards —— 延迟期间保持起始姿态，结束后交还普通状态（hover 放大不受影响） */
@keyframes settle-in {
  from { transform: scale(1.07) translateY(22px); }
  to   { transform: scale(1) translateY(0); }
}
.settle-in { animation: settle-in 1s cubic-bezier(0.22, 1, 0.36, 1) 0.15s backwards; }

/* 标题遮罩行：文字从遮罩下刷出（Apple 式行揭示） */
.mask-line { overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.mask-line > span { display: block; animation: mask-rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.3s backwards; }
@keyframes mask-rise {
  from { transform: translateY(112%); }
  to   { transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  body, .settle-in, .mask-line > span { animation: none !important; }
}
