/* 基础 */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Hiragino Kaku Gothic ProN",
               "Noto Sans JP", "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
  color: #111;
  background: #fff;
}

/* 顶部细条 */
.topbar {
  background: #0a3f99;
  color: #fff;
  font-size: 12px;
  padding: 10px 16px;
  letter-spacing: 0.5px;
}

/* 容器 */
.container {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

/* Header：初始透明；滚动后逐渐变白并加阴影 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;

  /* 关键：用 CSS 变量控制透明度，JS 会更新 --headerAlpha */
  --headerAlpha: 0;
  background: rgba(255, 255, 255, var(--headerAlpha));
  backdrop-filter: blur(calc(var(--headerAlpha) * 10px));

  transition:
    background 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
  border-bottom: 1px solid rgba(0,0,0, calc(var(--headerAlpha) * 0.08));
  box-shadow: 0 10px 24px rgba(0,0,0, calc(var(--headerAlpha) * 0.12));
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 74px;
  padding: 0 16px;
}

/* logo */
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.brand-logo {
  display: block;
  width: 170px;
  height: auto;
}

/* 导航 */
.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: 10px;
  flex: 1;
  min-width: 0;
}
.nav-link {
  text-decoration: none;
  color: #111;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0.95;
  padding: 10px 4px;
}
.nav-link:hover { opacity: 1; text-decoration: underline; }

/* 右侧 */
.header-right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.lang {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  white-space: nowrap;
}
.lang-link {
  text-decoration: none;
  color: #111;
  opacity: 0.7;
}
.lang-link.is-active { opacity: 1; font-weight: 600; }
.lang-link:hover { opacity: 1; }
.lang-sep { opacity: 0.35; }

.cta {
  text-decoration: none;
  background: #0a3f99;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 16px;
  border-radius: 4px;
  white-space: nowrap;
}
.cta:hover { filter: brightness(1.05); }

/* Hero */
.hero {
  position: relative;
  min-height: 320px;

  /* 图片占位：02.png */
  background-image: url("../img/02.png");
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  /* 让标题更清晰（类似你图里暗层） */
  background: linear-gradient(90deg, rgba(0,0,0,0.55), rgba(0,0,0,0.15));
}

.hero-content {
  position: relative;
  height: 100%;
  min-height: 320px;
  display: flex;
  align-items: center;
  padding: 0 16px;
}

.hero-title {
  margin: 0;
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-shadow: 0 8px 20px rgba(0,0,0,0.35);
}

/* 面包屑 */
.breadcrumb-wrap {
  border-bottom: 1px solid #eee;
  background: #fff;
}
.breadcrumb {
  padding: 14px 0;
  font-size: 12px;
  color: #666;
}
.breadcrumb a {
  color: #666;
  text-decoration: none;
}
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-sep { margin: 0 8px; color: #aaa; }

/* 内容区 */
.main { padding: 28px 0 0px; }
.content-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 6px;
  padding: 22px 20px;
}
.section-title {
  margin: 0 0 14px;
  font-size: 18px;
}
.content-card p {
  margin: 0 0 12px;
  line-height: 1.8;
  color: #000000;
}

.spacer { height: 360px; }

/* 响应式（小屏收缩导航） */
@media (max-width: 920px) {
  .nav { display: none; }
  .brand-logo { width: 140px; }
}




/* ========== 6 Features Section ========== */
.feature-section {
  margin-top: 18px;
  padding: 22px;
  border: 1px solid #eee;
  border-radius: 10px;
  background: #fff;
}

.feature-head {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.feature-title {
  margin: 0;
  font-size: 20px;
  letter-spacing: 0.3px;
}

.feature-subtitle {
  margin: 0;
  color: #444;
  line-height: 1.7;
  font-size: 13px;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 两列 */
  gap: 14px;
}

.feature-card {
  display: grid;
  grid-template-columns: 168px 1fr;
  gap: 12px;
  border-radius: 14px;
  overflow: hidden;

  /* 深色科技风卡片 */
  background: linear-gradient(135deg, #0c1a2b, #112d47);
  color: #fff;
  box-shadow: 0 16px 30px rgba(0,0,0,0.10);
  border: 1px solid rgba(255,255,255,0.08);
  min-height: 170px;
}

.feature-media {
  position: relative;
  background: rgba(0,0,0,0.18);
}

.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.feature-body {
  padding: 14px 14px 14px 0;
}

.feature-card-title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.feature-desc {
  margin: 0 0 10px;
  font-size: 12.5px;
  line-height: 1.75;
  color: rgba(2, 2, 2, 0.86);
}

.feature-points {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
  font-size: 12px;
  color: rgba(255,255,255,0.86);
}

.feature-points li {
  line-height: 1.5;
}

.feature-footnote {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #eee;
  color: #666;
  font-size: 12px;
  line-height: 1.7;
}

/* 响应式：小屏改为一列 */
@media (max-width: 920px) {
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { grid-template-columns: 140px 1fr; }
}
@media (max-width: 520px) {
  .feature-card { grid-template-columns: 1fr; }
  .feature-body { padding: 14px; }
}










/* ==============================
   Feature Section Typography
   （六个优点模块专用字体样式）
   ============================== */

/* 卡片整体字体基准 */
.feature-section {
  --feature-title-color: #ffffff;
  --feature-text-color: #e9f1ff;
  --feature-subtext-color: #d3e3ff;
  --feature-muted-color: #b9cbe6;
}

/* 卡片标题 */
.feature-card-title {
  color: var(--feature-title-color);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.4px;
}

/* 主说明文字（你刚才提到那段） */
.feature-desc {
  color: var(--feature-text-color);
  font-size: 13.5px;
  line-height: 1.85;
}

/* 列表整体 */
.feature-points {
  margin-top: 8px;
}

/* 列表文字 */
.feature-points li {
  color: var(--feature-subtext-color);
  font-size: 12.8px;
  line-height: 1.7;
}

/* 底部注释（※开头那行） */
.feature-footnote {
  color: #555;
  font-size: 12px;
}

/* 可选：增强可读性（推荐） */
.feature-card {
  text-shadow: 0 1px 2px rgba(0,0,0,0.25);
}










/* ===============================
   Feature 卡片专用字体（深色背景）
   =============================== */

/* 六个优点里的所有段落，不走 .content-card p */
.feature-section p {
  font-size: 13.5px;
  line-height: 1.85;
}

/* 列表文字 */
.feature-section li {
  color: #dbe8ff;
  font-size: 12.8px;
  line-height: 1.7;
}

/* 标题单独强化 */
.feature-section .feature-card-title {
  color: #ffffff;
  font-weight: 800;
}

/* 可选：增强在深色背景下的清晰度 */
.feature-section p,
.feature-section li {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}






/* ===============================
   深色 Feature Card 专用字体
   =============================== */

/* 只作用在深色卡片内部 */
.feature-card p {
  color: #eef4ff;
  font-size: 13.5px;
  line-height: 1.85;
}

/* 列表文字 */
.feature-card li {
  color: #dbe8ff;
  font-size: 12.8px;
  line-height: 1.7;
}

/* 卡片标题 */
.feature-card .feature-card-title {
  color: #ffffff;
  font-weight: 800;
}

/* 增强深色背景可读性 */
.feature-card p,
.feature-card li {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}













/* ========== Product Section (Battery 01) ========== */
.product-section{
  margin-top: 36px;
  padding: 22px;
  border: 1px solid #eee;
  border-radius: 10px;
  background: #fff;
}

.product-head{ display:grid; gap:8px; margin-bottom:14px; }
.product-title{ margin:0; font-size:20px; letter-spacing:.3px; }
.product-subtitle{ margin:0; color:#444; font-size:13px; line-height:1.7; }

/* hero block */
.product-hero{
  display:grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 14px;
  border-radius: 16px;
  overflow:hidden;
  border: 1px solid rgba(0,0,0,0.06);
  background: linear-gradient(135deg, #0c1a2b, #112d47);
  color:#fff;
}

.product-hero-info{
  padding: 16px 16px 18px;
  display:grid;
  align-content:start;
  gap: 12px;
}

.product-badge{
  width: fit-content;
  padding: 4px 10px;
  border-radius: 8px;
  font-weight: 800;
  letter-spacing: .4px;
  background: rgba(0, 200, 255, 0.18);
  border: 1px solid rgba(0, 200, 255, 0.28);
}

.product-hero-title{
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.45;
}

.product-hero-points{
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.product-hero-points li{
  display:flex;
  align-items:flex-start;
  gap: 10px;
  color: rgba(255,255,255,0.90);
  font-size: 13px;
  line-height: 1.6;
}

.product-hero-points .dot{
  width: 10px;
  height: 10px;
  margin-top: 5px;
  border-radius: 999px;
  background: rgba(0, 200, 255, 0.75);
  box-shadow: 0 0 0 3px rgba(0, 200, 255, 0.18);
  flex: 0 0 10px;
}

.product-hero-media{
  background: rgba(0,0,0,0.25);
}
.product-hero-media img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}

/* Package */
.package{
  margin-top: 14px;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 14px;
  background: #fff;
}

.package-label{
  width: fit-content;
  margin: 0 auto 12px;
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 700;
  background: #333;
  color: #fff;
  font-size: 13px;
}

.package-items{
  display:grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.pkg-item{
  display:grid;
  justify-items:center;
  gap: 8px;
  padding: 10px 8px;
  border-radius: 12px;
  border: 1px solid #f0f0f0;
  background: #fafafa;
}

.pkg-item img{
  width: 84px;
  height: 56px;
  object-fit: contain;
  display:block;
}

.pkg-text{
  font-size: 12px;
  color: #333;
  text-align: center;
  line-height: 1.4;
}

/* Spec table */
.spec{ margin-top: 14px; }
.spec-header{
  background: #1aa0d6;
  color:#fff;
  font-weight: 800;
  text-align:center;
  padding: 10px 12px;
  border-radius: 10px 10px 0 0;
  letter-spacing: .3px;
}

.spec-table{
  width:100%;
  border-collapse: collapse;
  table-layout: fixed;
  border: 1px solid #1aa0d6;
  border-top: none;
  overflow:hidden;
  border-radius: 0 0 10px 10px;
}

.spec-table th,
.spec-table td{
  padding: 10px 12px;
  border-top: 1px solid rgba(255,255,255,0.22);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  font-size: 13px;
}

.spec-table th{
  width: 22%;
  background: #3fb3e2;
  color:#fff;
  text-align:center;
  font-weight: 800;
}

.spec-table td{
  width: 28%;
  background: #2f86c2;
  color:#fff;
  text-align:center;
}

/* Responsive */
@media (max-width: 980px){
  .product-hero{ grid-template-columns: 1fr; }
  .package-items{ grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 620px){
  .package-items{ grid-template-columns: repeat(2, 1fr); }

  /* 小屏表格改成两列（项目+说明）更易读 */
  .spec-table, .spec-table tbody, .spec-table tr { display:block; }
  .spec-table tr{ margin: 0; }
  .spec-table th, .spec-table td{
    display:block;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.22);
  }
  .spec-table th{ text-align:left; }
  .spec-table td{ text-align:left; }
}














/* 5 items package layout (Battery 02) */
.package-items-5{
  grid-template-columns: repeat(5, 1fr);
}

@media (max-width: 980px){
  .package-items-5{ grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 620px){
  .package-items-5{ grid-template-columns: repeat(2, 1fr); }
}









/* ========== Tech Explain Section ========== */
.tech-explain-section {
  background: linear-gradient(180deg, #003b82 0%, #002f66 100%);
  padding: 56px 0 64px;
  color: #fff;
}

.tech-wrap {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

/* 主标题 */
.tech-main-title {
  margin: 0 0 36px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-align: center;
}

/* 每一问 */
.tech-row {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 28px;
  align-items: center;
  margin-bottom: 48px;
}

/* 第二问左右反转 */
.tech-row.reverse {
  grid-template-columns: 1.1fr 1fr;
}

.tech-image {
  border-radius: 14px;
  overflow: hidden;
  background: rgba(0,0,0,0.25);
}

.tech-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tech-text {
  display: grid;
  gap: 14px;
}

.tech-question {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.4;
}

.tech-text p {
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
  color: rgba(255,255,255,0.92);
}

/* 响应式 */
@media (max-width: 900px) {
  .tech-row,
  .tech-row.reverse {
    grid-template-columns: 1fr;
  }

  .tech-main-title {
    font-size: 24px;
  }

  .tech-question {
    font-size: 18px;
  }
}





/* ========== Fix Tech Section Image Layout ========== */

/* 让图片区有稳定的“卡片高度”，避免塌成细条 */
.tech-image{
  border-radius: 14px;
  overflow: hidden;
  background: rgba(0,0,0,0.22);
  border: 1px solid rgba(255,255,255,0.08);

  /* 核心：固定比例 + 最小高度 */
  aspect-ratio: 16 / 9;     /* 你也可以改成 4/3 更“方” */
  min-height: 240px;
  position: relative;
}

/* 图片填满容器 */
.tech-image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 如果暂时没放图或加载失败，用一个更像“占位图”的效果 */
.tech-image img:not([src]), 
.tech-image img[src=""]{
  display: none;
}

.tech-image::after{
  content: "画像は後ほど追加";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,0.75);
  font-weight: 700;
  letter-spacing: .3px;
  background:
    radial-gradient(circle at 30% 30%, rgba(0,200,255,0.12), transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(255,255,255,0.08), transparent 60%),
    linear-gradient(135deg, rgba(255,255,255,0.06), rgba(0,0,0,0.18));
}

/* 一旦你放了图片，就不显示占位文字 */
.tech-image:has(img[src]:not([src=""]))::after{
  content: "";
  background: none;
}







/* ========== Footer ========== */
.site-footer {
  margin-top: 60px;
}

/* 上半：白底 */
.footer-top {
  background: #fff;
  border-top: 1px solid #eee;
}

.footer-top-inner {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 18px;
  text-align: center;
}

.footer-logo {
  width: 230px;
  height: auto;
  display: inline-block;
}

.footer-address {
  margin: 10px 0 0;
  color: #666;
  font-size: 12px;
  line-height: 1.7;
}

/* 下半：深灰导航 */
.footer-main {
  background: #4b4b4b;
  color: #fff;
}

.footer-main-inner {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  padding: 26px 0 26px;
  position: relative;
}

.footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 36px;
}

.footer-title {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .3px;
}

.footer-link {
  display: block;
  color: rgba(255,255,255,0.92);
  text-decoration: none;
  font-size: 13px;
  line-height: 1.9;
  margin: 2px 0;
}

.footer-link:hover {
  text-decoration: underline;
  color: #fff;
}

/* 语言（右侧） */
.footer-lang {
  position: absolute;
  right: 0;
  bottom: 22px;
  font-size: 12px;
  color: rgba(255,255,255,0.92);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.footer-lang-dot { opacity: 0.9; }
.footer-lang-sep { opacity: 0.45; }

.footer-lang-link {
  color: rgba(255,255,255,0.92);
  text-decoration: none;
}
.footer-lang-link.is-active { font-weight: 800; color: #fff; }
.footer-lang-link:hover { text-decoration: underline; color: #fff; }

/* 最底 */
.footer-bottom {
  background: #d9d9d9;
  color: #333;
  text-align: center;
  font-size: 12px;
  padding: 14px 16px;
}

/* 右下角圆形按钮（可选） */
.footer-float-mail {
  position: fixed;
  right: 22px;
  bottom: 24px;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  display: grid;
  place-items: center;

  background: #fff;
  color: #1b4f9c;
  border: 2px solid rgba(27,79,156,0.35);
  box-shadow: 0 14px 28px rgba(0,0,0,0.18);

  text-decoration: none;
  font-size: 18px;
  font-weight: 900;
}

.footer-float-mail:hover {
  transform: translateY(-1px);
}

/* 响应式：小屏改成一列 */
@media (max-width: 900px) {
  .footer-cols {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .footer-lang {
    position: static;
    margin-top: 16px;
    justify-content: center;
  }

  .footer-main-inner {
    text-align: left;
  }
}
