/* ============================================================
   Factory page（工場案内 / OEM・ODMのご案内）
   与全站 editorial-japanese-print 风格保持一致
   ============================================================ */

.factory { background: var(--paper); }

/* ---- Nav（与 products / detail / videos 一致） ---- */
.f-nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 80px;
}
.f-nav-brand { font-family: 'Inter Tight', sans-serif; font-weight: 700; font-size: 28px; letter-spacing: 10px; }
.f-nav-links { display: flex; gap: 32px; }
.f-nav-links a { font-size: 11px; letter-spacing: 2px; color: var(--moss); }
.f-nav-links a.active { color: var(--ink); font-weight: 700; }
.f-nav-lang { font-size: 11px; letter-spacing: 1px; color: var(--moss); font-weight: 500; }
.f-crumb {
  display: flex; justify-content: space-between; padding: 16px 80px;
  font-size: 10px; letter-spacing: 2px; color: var(--moss); font-weight: 500;
}

/* ---- Hero ---- */
.f-hero { padding: 80px 80px 72px; border-bottom: 1px solid var(--stone); }
.f-hero h1 {
  font-size: 62px; line-height: 1.22; font-weight: 500; margin-top: 24px;
  letter-spacing: 1px;
}
.f-hero-en {
  font-size: 12px; letter-spacing: 3px; color: var(--moss); margin-top: 18px;
  font-weight: 500;
}
.f-hero-body {
  max-width: 760px; margin-top: 40px;
  font-size: 15px; line-height: 2.1; color: var(--moss);
}
.f-hero-body p + p { margin-top: 20px; }
.f-hero-cta { display: flex; align-items: center; gap: 36px; margin-top: 44px; flex-wrap: wrap; }
.link-underline {
  font-size: 13px; letter-spacing: 1px; color: var(--ink);
  border-bottom: 1px solid var(--ink); padding-bottom: 3px;
}
.link-underline:hover { color: var(--vermilion); border-bottom-color: var(--vermilion); }

/* ---- Section 通用 ---- */
.f-sec { padding: 88px 80px; border-bottom: 1px solid var(--stone); }
.f-sec-alt { background: #F4EEE1; }
.f-sec-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 60px; margin-bottom: 56px; flex-wrap: wrap;
}
.f-sec-tl h2 { font-size: 40px; line-height: 1.32; font-weight: 500; margin-top: 20px; }
.f-sec-tr {
  font-size: 15px; line-height: 1.95; color: var(--moss);
  text-align: right; max-width: 340px;
}

/* ---- 3 张卡片 ---- */
.f-card-grid { display: grid; gap: 40px; }
.f-card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.f-card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.f-card { border-top: 2px solid var(--ink); padding-top: 26px; }
.f-card-n {
  font-family: 'Inter Tight', sans-serif; font-size: 12px; font-weight: 700;
  letter-spacing: 3px; color: var(--vermilion); margin-bottom: 18px;
}
.f-card h3 { font-size: 21px; font-weight: 500; line-height: 1.6; margin-bottom: 16px; }
.f-card p { font-size: 13px; line-height: 2; color: var(--moss); }

/* ---- 对比表 ---- */
.f-table-wrap { overflow-x: auto; }
.f-table { width: 100%; border-collapse: collapse; min-width: 720px; background: var(--paper); }
.f-table th, .f-table td {
  padding: 20px 22px; text-align: left; font-size: 13px; line-height: 1.7;
  border-bottom: 1px solid var(--stone); vertical-align: top;
}
.f-table thead th {
  background: var(--ink); color: var(--paper);
  font-size: 12px; letter-spacing: 1px; font-weight: 500; border-bottom: none;
  white-space: nowrap;
}
.f-table thead th span { font-size: 10px; color: var(--stone); letter-spacing: 1px; }
.f-table tbody th { font-weight: 500; color: var(--moss); width: 200px; }
.f-table tbody tr:last-child th, .f-table tbody tr:last-child td { border-bottom: none; }
.f-note { font-size: 11px; color: var(--moss); margin-top: 20px; line-height: 1.9; }

/* ---- 生产流程 ---- */
.f-flow { list-style: none; }
.f-flow-item {
  display: flex; gap: 40px; padding: 36px 0;
  border-top: 1px solid var(--stone);
}
.f-flow-item:last-child { border-bottom: 1px solid var(--stone); }
.f-flow-n {
  font-family: 'Inter Tight', sans-serif; font-size: 13px; font-weight: 700;
  letter-spacing: 3px; color: var(--vermilion); flex: 0 0 60px; padding-top: 6px;
}
.f-flow-body { flex: 1; }
.f-flow-body h3 { font-size: 22px; font-weight: 500; margin-bottom: 14px; }
.f-flow-body p { font-size: 13px; line-height: 2; color: var(--moss); max-width: 760px; }
.f-flow-meta {
  margin-top: 14px; font-size: 11px; letter-spacing: 1px; color: var(--ink);
  font-weight: 500;
}

/* ---- 品类 ---- */
.f-cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--stone); }
.f-cat {
  background: var(--paper); padding: 34px 30px;
  display: flex; flex-direction: column; gap: 10px;
  transition: background 0.2s;
}
.f-cat:hover { background: var(--beige); }
.f-cat-k { font-size: 10px; letter-spacing: 3px; color: var(--vermilion); font-weight: 700; }
.f-cat-j { font-size: 24px; font-weight: 500; }
.f-cat-d { font-size: 12px; line-height: 1.9; color: var(--moss); }

/* ---- 下单条件 ---- */
.f-term-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 48px; }
.f-term { border-top: 1px solid var(--ink); padding-top: 22px; }
.f-term-v { font-size: 32px; font-weight: 700; letter-spacing: 1px; margin: 12px 0 10px; }
.f-term p { font-size: 12px; line-height: 1.9; color: var(--moss); }

/* ---- FAQ ---- */
.f-faq { border-top: 1px solid var(--ink); }
.f-faq-item { border-bottom: 1px solid var(--stone); }
.f-faq-q {
  display: flex; gap: 22px; align-items: baseline;
  padding: 26px 0; cursor: pointer; list-style: none;
}
.f-faq-q::-webkit-details-marker { display: none; }
.f-faq-q .serif { font-size: 17px; font-weight: 500; line-height: 1.75; }
.f-faq-n {
  font-size: 12px; font-weight: 700; letter-spacing: 2px; color: var(--vermilion);
  flex: 0 0 40px;
}
.f-faq-item[open] .f-faq-q { border-bottom: 1px solid var(--stone); }
.f-faq-a { padding: 22px 0 30px 62px; }
.f-faq-a p { font-size: 13px; line-height: 2.1; color: var(--moss); max-width: 820px; }

/* ---- CTA ---- */
.f-cta {
  display: flex; justify-content: space-between; gap: 80px;
  padding: 88px 80px; background: var(--ink); color: var(--paper);
}
.f-cta h2 { font-size: 40px; line-height: 1.34; font-weight: 500; margin-top: 20px; }
.f-cta-dek { font-size: 14px; line-height: 2.05; color: var(--stone); max-width: 620px; margin-top: 24px; }
.f-cta-info { display: flex; flex-direction: column; gap: 18px; margin: 40px 0 36px; }
.f-cta-info > div { display: flex; gap: 18px; align-items: baseline; font-size: 13px; }
.f-cta-info .kicker { color: var(--vermilion); flex: 0 0 80px; }
.f-cta-info a { border-bottom: 1px solid var(--moss); }
.f-cta-info a:hover { color: var(--vermilion); border-bottom-color: var(--vermilion); }
.f-cta-side { display: flex; flex-direction: column; gap: 20px; min-width: 240px; padding-top: 8px; }
.f-cta-link { font-size: 13px; color: var(--paper); border-bottom: 1px solid var(--moss); padding-bottom: 8px; }
.f-cta-link:hover { color: var(--vermilion); border-bottom-color: var(--vermilion); }

/* ---- 微信二维码（联系信息里的一行，白色圆角小卡 + 日文说明） ---- */
.f-cta-info > .f-cta-qr-row { align-items: center; }
.f-cta-qr { display: flex; align-items: center; gap: 16px; }
.f-cta-qr img {
  width: 104px; height: 104px; padding: 6px;
  background: #FFFFFF; border-radius: 8px; display: block;
}
.f-cta-qr-note { font-size: 12px; color: var(--stone); line-height: 1.8; }

/* ---- 页脚 ---- */
.f-foot {
  background: var(--paper); color: var(--ink);
  display: flex; justify-content: space-between; align-items: center;
  padding: 40px 80px; font-size: 11px; border-top: 1px solid var(--stone);
}
.f-foot-l { font-family: 'Inter Tight', sans-serif; font-weight: 700; font-size: 32px; letter-spacing: 10px; }
.f-foot-c { color: var(--moss); letter-spacing: 1px; }
.f-foot-r { color: var(--moss); letter-spacing: 2px; }

/* ---- 响应式 ---- */
@media (max-width: 1024px) {
  .f-nav, .f-crumb, .f-hero, .f-sec, .f-cta, .f-foot {
    padding-left: 32px; padding-right: 32px;
  }
  .f-hero h1 { font-size: 40px; }
  .f-sec-tl h2, .f-cta h2 { font-size: 30px; }
  .f-card-grid-3, .f-card-grid-2, .f-cat-grid, .f-term-grid { grid-template-columns: 1fr; }
  .f-cat-grid { gap: 1px; }
  .f-sec-head, .f-cta { flex-direction: column; align-items: flex-start; gap: 28px; }
  .f-sec-tr { text-align: left; }
  .f-flow-item { gap: 20px; }
  .f-flow-n { flex: 0 0 40px; }
  .f-faq-a { padding-left: 0; }
  .f-foot { flex-direction: column; align-items: flex-start; gap: 12px; }
}
