/* ==========================================================================
   順 SHUN — 日本語市場向けテーマ上書き（HanliangCMS 設計システム派生）
   原則：コンポーネント層は原則 var() のみ。朱色（順ロゴに合わせた和のシンボルカラー）を
   ブランドアクセントに。動きは「入場のみ」、reduced-motion は無効化（元の鉄律を継承）。
   ========================================================================== */
:root {
  /* 和風シンボル朱（順ロゴの朱に合わせる。LOGO は絶対に変色させない） */
  --accent: #D7000F;
  --accent-strong: #B0000C;
  --accent-soft: #FCEBEC;
  --accent-contrast: #ffffff;

  /* 日本語表示に最適なフォントスタック（明朝的清潔感＋ゴシック可読性） */
  --font: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;

  --bg: #ffffff;
  --bg-soft: #faf7f5;
  --surface: #ffffff;
  --border: #ece7e3;
  --text: #1c1a18;
  --text-soft: #5b554f;
  --text-dim: #8a827a;
  --radius: 14px;
  --radius-sm: 10px;
  --maxw: 1200px;
  --gap: 22px;
}

body { color: var(--text); font-family: var(--font); line-height: 1.85; letter-spacing: .01em; }
h1, h2, h3, h4 { letter-spacing: .02em; font-weight: 700; }

/* ---------- ヘッダー ---------- */
.brand { font-weight: 800; font-size: 20px; letter-spacing: .04em; }
.brand .logo { display: inline-flex; }
.nav a { font-size: 15px; letter-spacing: .02em; }
.nav a.active { color: var(--accent); background: var(--accent-soft); }
.lang-switch:hover { border-color: var(--accent); color: var(--accent); }
.header-cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 18px; border-radius: 999px; font-weight: 700; font-size: 14px;
  background: var(--accent); color: #fff; border: 1px solid var(--accent);
  transition: .2s;
}
.header-cta:hover { background: var(--accent-strong); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(215,0,15,.22); }

/* ---------- ヒーロー（和の余白・朱アクセント） ---------- */
.hero {
  position: relative; overflow: hidden; text-align: left;
  padding: 92px 0 72px;
  background:
    radial-gradient(1100px 360px at 78% -30%, var(--accent-soft), transparent 70%),
    linear-gradient(180deg, #fff 0%, #fbf8f6 100%);
  border-bottom: 1px solid var(--border);
}
.hero .container { position: relative; z-index: 2; }
.hero h1 {
  font-size: clamp(30px, 4.4vw, 50px); line-height: 1.35; margin: 18px 0 22px; font-weight: 900;
  letter-spacing: .01em;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p { font-size: clamp(15px, 1.4vw, 18px); color: var(--text-soft); max-width: 660px; margin-bottom: 30px; }
.hero-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-tags .chip {
  border: 1px solid var(--border); background: #fff; color: var(--text-soft);
  font-size: 13px; font-weight: 600; padding: 7px 15px; border-radius: 999px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px;
  padding: 14px 30px; border-radius: var(--radius-sm); background: var(--accent); color: #fff;
  border: 1px solid var(--accent); transition: .2s; min-height: 46px;
}
.btn-primary:hover { background: var(--accent-strong); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(215,0,15,.24); }
.btn-ghost-jp {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px;
  padding: 14px 30px; border-radius: var(--radius-sm); border: 1px solid var(--border);
  background: #fff; color: var(--text); transition: .2s; min-height: 46px;
}
.btn-ghost-jp:hover { border-color: var(--accent); color: var(--accent); }
.hero-seal {
  position: absolute; right: 4%; top: 50%; transform: translateY(-50%);
  width: 220px; height: 220px; opacity: .08; pointer-events: none;
}

/* ---------- セクション見出し ---------- */
.section { padding: 72px 0; border-top: 1px solid var(--border); }
.section:first-of-type { border-top: 0; }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head .eyebrow {
  display: inline-block; font-weight: 700; font-size: 12.5px; letter-spacing: .18em;
  color: var(--accent); margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(24px, 3vw, 34px); margin: 0 0 12px; letter-spacing: .02em; }
.section-head p { color: var(--text-soft); font-size: 16px; }

/* ---------- 実績ナンバー ---------- */
.stats-grid { grid-template-columns: repeat(3, 1fr); }
.stat-num { color: var(--accent); }

/* ---------- 建站九陣：9 サービス格子 ---------- */
.nine-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.svc-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 22px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  position: relative; overflow: hidden;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(28,24,20,.10); border-color: color-mix(in srgb, var(--accent) 40%, var(--border)); }
.svc-no {
  width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; font-weight: 800; font-size: 16px; margin-bottom: 16px;
}
.svc-card h3 { font-size: 17px; margin-bottom: 8px; letter-spacing: .02em; }
.svc-card p { color: var(--text-soft); font-size: 14.5px; margin: 0; line-height: 1.7; }

/* ---------- 順進シリコーン製品 ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.prod-card {
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.prod-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(28,24,20,.10); border-color: color-mix(in srgb, var(--accent) 40%, var(--border)); }
.prod-ph {
  aspect-ratio: 4/3; display: grid; place-items: center; color: #fff;
  background: linear-gradient(150deg, var(--accent) 0%, #7a0510 100%);
  position: relative;
}
.prod-ph svg { width: 56px; height: 56px; opacity: .9; }
.prod-ph .seal {
  position: absolute; right: 12px; bottom: 10px; font-size: 13px; font-weight: 800;
  letter-spacing: .1em; opacity: .55;
}
.prod-bd { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.prod-cat {
  display: inline-block; font-size: 11.5px; font-weight: 700; color: var(--accent);
  background: var(--accent-soft); border-radius: 999px; padding: 3px 10px; margin-bottom: 8px;
}
.prod-card h3 { font-size: 16.5px; line-height: 1.5; margin-bottom: 8px; }
.prod-card .spec { color: var(--text-soft); font-size: 13.5px; margin-bottom: 12px; flex: 1; }
.prod-more { font-weight: 700; font-size: 13.5px; color: var(--accent); }

/* ---------- 制作の強み ---------- */
.strength-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.strength-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px;
}
.strength-card .ic {
  width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; margin-bottom: 14px;
}
.strength-card h3 { font-size: 17px; margin-bottom: 8px; }
.strength-card p { color: var(--text-soft); font-size: 14.5px; margin: 0; }

/* ---------- お問い合わせフォーム ---------- */
.inquiry-form { display:flex; flex-direction:column; gap:14px; background:#fff; border:1px solid var(--border); border-radius:14px; padding:28px; box-shadow:0 6px 24px rgba(28,24,20,.05); }
.inquiry-form .field { display:flex; flex-direction:column; gap:6px; }
.inquiry-form label { font-size:13.5px; font-weight:600; color:var(--text); }
.inquiry-form input, .inquiry-form textarea, .inquiry-form select { width:100%; padding:11px 12px; border:1px solid var(--border); border-radius:10px; font-size:15px; font-family:inherit; box-sizing:border-box; background:#fff; }
.inquiry-form input:focus, .inquiry-form textarea:focus { outline:none; border-color:var(--accent); box-shadow:0 0 0 3px var(--accent-soft); }
.inquiry-form textarea { resize:vertical; }
.inquiry-form .row2 { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.inquiry-form .consent { display:flex; align-items:flex-start; gap:10px; font-size:13.5px; color:var(--text-soft); background:var(--accent-soft); padding:12px 14px; border-radius:10px; }
.inquiry-form .consent input { width:auto; margin-top:3px; }
.inquiry-form .btn-submit { background:var(--accent); color:#fff; border:none; padding:13px 22px; border-radius:10px; font-size:15px; font-weight:700; cursor:pointer; align-self:flex-start; transition:.2s; }
.inquiry-form .btn-submit:hover { background:var(--accent-strong); }
.alert { padding:11px 14px; border-radius:10px; font-size:14px; margin-bottom:16px; }
.alert-success { background:#dcfce7; color:#166534; }
.alert-error { background:#fee2e2; color:#991b1b; }
.muted { color:var(--text-soft); }
@media (max-width:520px){ .inquiry-form .row2 { grid-template-columns:1fr; } }

/* ---------- 製品詳細 ---------- */
.prod-detail { display:grid; grid-template-columns: 1fr 1.1fr; gap:48px; align-items:start; }
.prod-detail .ph { aspect-ratio: 4/3; border-radius:16px; display:grid; place-items:center; color:#fff; background: linear-gradient(150deg, var(--accent) 0%, #7a0510 100%); }
.prod-detail .ph svg { width: 90px; height: 90px; opacity:.9; }
.spec-table { width:100%; border-collapse: collapse; margin: 18px 0 24px; }
.spec-table th, .spec-table td { text-align:left; padding:12px 14px; border-bottom:1px solid var(--border); font-size:15px; vertical-align:top; }
.spec-table th { width: 30%; color: var(--text-soft); font-weight:600; background: var(--bg-soft); }
.back-link { display:inline-block; margin-bottom: 18px; color: var(--accent); font-weight:600; }

/* ---------- プライバシーポリシー ---------- */
.legal { max-width: 820px; margin: 0 auto; }
.legal h2 { font-size: 22px; margin-top: 1.6em; }
.legal p, .legal li { font-size: 15.5px; color: var(--text-soft); line-height: 1.9; }

/* ---------- レスポンシブ ---------- */
@media (max-width: 900px) {
  .nine-grid, .prod-grid, .strength-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-detail { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 560px) {
  .nine-grid, .prod-grid, .strength-grid { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
  .hero { padding: 64px 0 48px; }
  .cta-band { padding: 32px 22px; }
}

/* ==========================================================================
   SILTEC ホーム（shunjin.html コピー + 排版五法）
   排版五法：①卡片组合 ②图文穿插 ③重点色强调 ④大小对比 ⑤统一圆角
   统一圆角 = var(--radius) 一本化；アクセントは 順ロゴ朱色 #D7000F のみ（≤1色）
   ========================================================================== */
:root {
  --hp-dark: #10151f;
  --hp-dark-2: #1a1f2e;
  --hp-line: #e6eaf0;
  --hp-gray: #f5f7fa;
  --hp-accent-on-dark: #ff6b76; /* ダーク背景上の朱（視認性確保） */
}

/* キャンバス ≥1400px（B端铁律①） */
.container { max-width: 1400px; padding-left: 32px; padding-right: 32px; }
.wrap { max-width: 1400px; margin: 0 auto; padding: 0 32px; }

/* デモ注意バー */
.note-bar { background: #FFF7E6; border-bottom: 1px solid #F3E2B8; color: #8a6d1f; font-size: 13px; text-align: center; padding: 9px 16px; }

/* 顶部信息条 */
.topbar { background: var(--hp-dark); color: rgba(255,255,255,.72); font-size: 13px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 38px; gap: 16px; }
.topbar a { color: rgba(255,255,255,.72); }
.topbar a:hover { color: var(--accent); }
.topbar .r { display: flex; gap: 20px; align-items: center; }
@media (max-width: 760px) { .topbar .hide-s { display: none; } }

/* ブランド（ロゴ原色・全体表示）— LOGO 原色維持（B端铁律③） */
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 21px; color: var(--text); }
.brand .logo { display: inline-flex; }
.brand .logo img { display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text small { font-size: 10px; letter-spacing: .2em; color: var(--text-dim); font-weight: 600; margin-top: 2px; }
.nav a { font-size: 15px; }
.nav a.active { color: var(--accent); background: var(--accent-soft); }
.lang-switch:hover { border-color: var(--accent); color: var(--accent); }
.header-cta { display: inline-flex; align-items: center; gap: 6px; padding: 9px 18px; border-radius: 999px; font-weight: 700; font-size: 14px; background: var(--accent); color: #fff; border: 1px solid var(--accent); transition: .2s; }
.header-cta:hover { background: var(--accent-strong); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(215,0,15,.22); }

/* セクション共通（縦余白） */
.adv, .products, .strength, .process, .industries, .clients, .stats, .news { padding: clamp(60px, 7vw, 104px) 0; }
.eyebrow { display: inline-block; font-weight: 700; font-size: 12.5px; letter-spacing: .16em; color: var(--accent); }
.sec-head { max-width: 780px; margin-bottom: 48px; }
.sec-head .eyebrow { margin-bottom: 10px; }
.sec-head h2 { font-size: clamp(24px, 3vw, 38px); margin: 0 0 14px; line-height: 1.35; }
.sec-head p { color: var(--text-soft); font-size: 16px; }

/* ダーク背景共通（明暗交互） */
.dark { background: var(--hp-dark); color: #fff; }
.dark h2, .dark h3 { color: #fff; }
.dark .eyebrow { color: var(--hp-accent-on-dark); }
.dark .sec-head p { color: rgba(255,255,255,.7); }

/* ボタン（统一圆角 = --radius） */
.btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; padding: 15px 30px; border-radius: var(--radius); transition: .2s; cursor: pointer; border: 2px solid transparent; min-height: 50px; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-strong); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(215,0,15,.3); }
.btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-line { border-color: var(--accent); color: var(--accent); background: #fff; }
.btn-line:hover { background: var(--accent); color: #fff; }

/* Hero（ダーク・重点色强调） */
.hero { position: relative; overflow: hidden; color: #fff; background: linear-gradient(180deg, rgba(16,21,31,.72), rgba(16,21,31,.88)), linear-gradient(120deg, #0d1421, #16223a 50%, #0b1018); padding: clamp(96px, 13vw, 176px) 0 clamp(84px, 11vw, 146px); }
.hero .wrap { position: relative; z-index: 2; max-width: 940px; }
.hero h1 { color: #fff; font-size: clamp(32px, 4.6vw, 56px); margin: 20px 0 22px; font-weight: 900; line-height: 1.4; }
.hero h1 em { font-style: normal; color: var(--hp-accent-on-dark); }
.hero p { font-size: clamp(15px, 1.4vw, 19px); color: rgba(255,255,255,.82); max-width: 660px; margin-bottom: 28px; }
.hero-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }
.chip { border: 1px solid rgba(255,255,255,.28); color: rgba(255,255,255,.9); font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 999px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.scroll-hint { margin-top: 52px; font-size: 12px; letter-spacing: .18em; color: rgba(255,255,255,.5); }

/* 核心优势（卡片组合：5 等分） */
.adv { border-bottom: 1px solid var(--hp-line); background: #fff; }
.adv .wrap { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.adv .cell { padding: 38px 22px; border-left: 1px solid var(--hp-line); display: flex; flex-direction: column; gap: 12px; align-items: center; text-align: center; }
.adv .cell:first-child { border-left: none; }
.adv .cell .ic { width: 46px; height: 46px; border-radius: var(--radius); background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.adv .cell h3 { font-size: 16px; }
.adv .cell p { font-size: 14px; color: var(--text-soft); }
@media (max-width: 980px) { .adv .wrap { overflow-x: auto; grid-template-columns: repeat(5, minmax(200px, 1fr)); } }

/* 製品（图文穿插：リード＋注目製品 ＋ グリッド） */
.products { background: var(--hp-gray); }
.products .lead { display: grid; grid-template-columns: .8fr 1.2fr; gap: 46px; align-items: start; margin-bottom: 42px; }
.products .lead h2 { font-size: clamp(22px, 2.8vw, 34px); margin: 12px 0 14px; }
.products .lead p { color: var(--text-soft); margin-bottom: 22px; font-size: 16px; }
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--hp-line); border-radius: var(--radius); overflow: hidden; background: #fff; transition: .2s; }
.feat:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(16,21,31,.1); border-color: color-mix(in srgb, var(--accent) 40%, var(--hp-line)); }
.feat-ph { aspect-ratio: 1/1; background: linear-gradient(160deg, #fff, #eef2f7); display: grid; place-items: center; color: #b9c1cc; border-right: 1px solid var(--hp-line); }
.feat-ph svg { width: 64px; height: 64px; }
.feat-info { padding: 28px 26px; display: flex; flex-direction: column; gap: 10px; align-items: center; text-align: center; }
.feat-info h3 { font-size: 19px; line-height: 1.4; }
.feat-info .spec { color: var(--text-soft); font-size: 15px; }
.prod-cat { display: inline-block; font-size: 11.5px; font-weight: 700; color: var(--accent); background: var(--accent-soft); border-radius: 999px; padding: 3px 10px; align-self: center; }
.more { font-weight: 700; font-size: 14px; color: var(--accent); }
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pcard { background: #fff; border: 1px solid var(--hp-line); border-radius: var(--radius); overflow: hidden; transition: .2s; }
.pcard:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(16,21,31,.1); border-color: color-mix(in srgb, var(--accent) 40%, var(--hp-line)); }
.pcard .ph { aspect-ratio: 4/3; background: linear-gradient(160deg, #fff, #eef2f7); display: grid; place-items: center; color: #b9c1cc; border-bottom: 1px solid var(--hp-line); }
.pcard .ph svg { width: 56px; height: 56px; }
.pcard .bd { padding: 18px 18px 20px; text-align: center; }
.pcard h3 { font-size: 16px; line-height: 1.5; min-height: 46px; }
.pcard .spec { font-size: 14px; color: var(--text-soft); margin: 8px 0 12px; }
@media (max-width: 1080px) { .products .lead { grid-template-columns: 1fr; gap: 30px; } .feat { grid-template-columns: 1fr; } .feat-ph { border-right: none; border-bottom: 1px solid var(--hp-line); } }
@media (max-width: 720px) { .pgrid { grid-template-columns: repeat(2, 1fr); } }

/* 製造実力（ダーク・图文穿插：テキスト＋コラージュ） */
.strength .grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 50px; align-items: center; }
.strength ul { list-style: none; margin: 22px 0 28px; display: grid; gap: 14px; }
.strength li { display: flex; gap: 12px; align-items: flex-start; color: rgba(255,255,255,.82); font-size: 15px; }
.strength li::before { content: ""; flex: 0 0 22px; height: 22px; border-radius: 6px; margin-top: 3px; background: rgba(215,0,15,.25); border: 1px solid rgba(215,0,15,.6); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ff6b76' stroke-width='3'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; }
.collage { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 120px; gap: 12px; }
.collage .tile { position: relative; overflow: hidden; border-radius: var(--radius); background: #1c2436; border: 1px solid rgba(255,255,255,.08); padding: 0; }
.collage .tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.collage .tile:hover img { transform: scale(1.06); }
.collage .tile .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 10px; font-size: 12px; font-weight: 600; color: #fff; line-height: 1.3; background: linear-gradient(to top, rgba(10,14,22,.82), rgba(10,14,22,0)); pointer-events: none; }
.collage .tile.big { grid-column: span 2; grid-row: span 2; }
.collage .tile.big .cap { font-size: 13px; padding: 12px 14px; }
@media (max-width: 560px) { .collage { grid-auto-rows: 92px; gap: 8px; } .collage .tile .cap { font-size: 11px; padding: 6px 8px; } }
@media (max-width: 900px) { .strength .grid { grid-template-columns: 1fr; gap: 32px; } }

/* サービス工程（卡片组合：6 ステップ） */
.process .steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.step { position: relative; background: #fff; border: 1px solid var(--hp-line); border-radius: var(--radius); padding: 26px 20px; text-align: center; }
.step .no { width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 15px; margin: 0 auto 14px; }
.step h3 { font-size: 15px; margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--text-soft); }
.step:not(:last-child)::after { content: "→"; position: absolute; right: -12px; top: 50%; transform: translateY(-50%); color: #c3ccd8; font-weight: 800; z-index: 2; }
@media (max-width: 1000px) { .process .steps { grid-template-columns: repeat(3, 1fr); } .step:not(:last-child)::after { display: none; } }
@media (max-width: 600px) { .process .steps { grid-template-columns: 1fr 1fr; } }

/* ソリューション（ダーク・卡片组合） */
.industries .ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ind { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 190px; padding: 26px 24px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; background: linear-gradient(150deg, #1b2333, #101724); border: 1px solid rgba(255,255,255,.08); transition: .2s; }
.ind:hover { border-color: var(--accent); transform: translateY(-4px); }
.ind .ic { position: static; margin-bottom: 16px; width: 44px; height: 44px; border-radius: var(--radius); background: rgba(215,0,15,.18); color: var(--hp-accent-on-dark); display: grid; place-items: center; }
.ind h3 { color: #fff; font-size: 17px; margin-bottom: 6px; }
.ind p { font-size: 14px; color: rgba(255,255,255,.7); }
@media (max-width: 860px) { .industries .ind-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .industries .ind-grid { grid-template-columns: 1fr; } }

/* ものづくりの強み：4枚を 2行×2列 に配置（ind-grid とは独立） */
.strength-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.strength-grid .ind { min-height: 210px; }
@media (max-width: 700px) { .strength-grid { grid-template-columns: 1fr; } }

/* 展示会・工場見学・顧客訪問 写真ギャラリー */
.ph-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; }
.ph-slot {
  position: relative;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--hp-line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-soft);
  margin: 0;
}
.ph-slot img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
}
.ph-slot .ph-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 22px 12px 10px;
  font-size: 14.5px; font-weight: 700; color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,.60), rgba(0,0,0,0));
}
@media (max-width: 860px) { .ph-gallery { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ph-gallery { grid-template-columns: 1fr; } }

/* 認証・証明書 証照墙（拼合图，按比例显示、不裁切） */
.cert-wall { margin: 30px auto 0; max-width: 960px; }
.cert-wall img {
  width: 100%; height: auto; display: block;
  border: 1px solid var(--hp-line); border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(31,41,55,.10);
}

/* 取引先・認証（卡片组合） */
.clients .logos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-bottom: 44px; }
.logo-cell { height: 78px; border: 1px solid var(--hp-line); border-radius: var(--radius); display: grid; place-items: center; color: #c0c7d2; font-weight: 700; font-size: 13px; background: #fff; }
.certs { display: flex; flex-wrap: wrap; gap: 18px 40px; justify-content: center; }
.cert { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.cert .badge { width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--accent); color: var(--accent); display: grid; place-items: center; font-size: 11px; font-weight: 800; text-align: center; line-height: 1.1; }
.cert span { font-size: 12px; color: var(--text-soft); }
@media (max-width: 860px) { .clients .logos { grid-template-columns: repeat(3, 1fr); } }

/* データ背书（ダーク・数字ローリング） */
.stats.dark .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stats .num { font-size: clamp(32px, 3.8vw, 54px); font-weight: 800; color: #fff; line-height: 1; }
.stats .lbl { font-size: 14px; color: rgba(255,255,255,.65); margin-top: 10px; }
@media (max-width: 760px) { .stats.dark .wrap { grid-template-columns: 1fr 1fr; gap: 32px; } }

/* お知らせ（卡片组合） */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ncard { background: #fff; border: 1px solid var(--hp-line); border-radius: var(--radius); overflow: hidden; transition: .2s; }
.ncard:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(16,21,31,.1); }
.ncard .ph { aspect-ratio: 16/9; background: linear-gradient(160deg, #eef2f7, #dfe6ef); border-bottom: 1px solid var(--hp-line); }
.ncard .bd { padding: 20px; text-align: center; }
.ncard .date { font-size: 12.5px; color: var(--accent); font-weight: 700; }
.ncard h3 { font-size: 16px; margin: 8px 0 10px; line-height: 1.5; }
.ncard p { font-size: 14px; color: var(--text-soft); }
@media (max-width: 860px) { .news-grid { grid-template-columns: 1fr; } }

/* CTA 帯（通栏出血：左右延伸到视口边缘，盖住内容区边框留白） */
.cta-band { background: linear-gradient(120deg, #0d1421, #16223a); color: #fff; text-align: center; padding: clamp(48px, 6vw, 80px) clamp(20px, 5vw, 40px); }
.cta-band h2 { color: #fff; font-size: clamp(22px, 2.8vw, 34px); margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,.76); max-width: 600px; margin: 0 auto 28px; }
.cta-band .b { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   2026-10-09 追加：案例頁 / 首页 CTA / 顶部公司名 / 产品主图
   ========================================================================== */

/* 顶部信息条：左側公司名（原 JP/EN/中文 切換已移除） */
.topbar .comp { font-weight: 700; color: #fff; letter-spacing: .04em; }

/* 首页ソリューション 区：查看所有案例 CTA（居中） */
.sec-cta { display: flex; justify-content: center; margin-top: 44px; }

/* 案例頁（cases.php）— 复用产品卡片视觉语言 */
.case-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.case-card {
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.case-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(28,24,20,.10); border-color: color-mix(in srgb, var(--accent) 40%, var(--border)); }
.case-ph {
  aspect-ratio: 4/3; display: grid; place-items: center; color: #b9c1cc; position: relative;
  background: linear-gradient(160deg, #fff, #eef2f7); border-bottom: 1px solid var(--hp-line);
}
.case-ph svg { width: 56px; height: 56px; opacity: .9; }
.case-ph .seal { position: absolute; right: 12px; bottom: 10px; font-size: 13px; font-weight: 800; letter-spacing: .1em; opacity: .55; color: var(--accent); }
.case-bd { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; }
.case-cat {
  display: inline-block; align-self: flex-start; font-size: 11.5px; font-weight: 700; color: var(--accent);
  background: var(--accent-soft); border-radius: 999px; padding: 3px 10px;
}
.case-card h3 { font-size: 16.5px; line-height: 1.5; margin: 0; }
/* case-grid 响应式统一在文件末尾の「内页卡片紧凑化」区块に記述 */

/* 产品主图：有上传图时覆盖占位 SVG（前台 index / products / product 三处统一） */
.prod-ph img, .pcard .ph img, .feat-ph img, .prod-detail .ph img {
  width: 100%; height: 100%; object-fit: cover; display: block; border-radius: inherit;
}

/* ==========================================================================
   2026-10-09 追加：企業紹介（about.php） + ボタン横並び
   ========================================================================== */

/* ボタン横並び（工場の強み など） */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.btn-row .btn { min-width: 190px; text-align: center; }

/* 企業紹介ページ */
.about-greeting, .about-overview { padding: 56px 0; }
.about-lead { max-width: 820px; margin: 0 auto 14px; font-size: 16px; line-height: 1.9; color: var(--text-soft); }
.profile-table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.profile-table th, .profile-table td { padding: 14px 18px; border-bottom: 1px solid var(--border); text-align: left; font-size: 15px; vertical-align: top; }
.profile-table tr:last-child th, .profile-table tr:last-child td { border-bottom: 0; }
.profile-table th { width: 30%; background: var(--bg-soft); font-weight: 700; color: var(--text); white-space: nowrap; }
.profile-table td { color: var(--text-soft); }
@media (max-width: 640px) {
  .profile-table, .profile-table tbody, .profile-table tr, .profile-table th, .profile-table td { display: block; width: auto; }
  .profile-table th { border-bottom: 0; padding-bottom: 2px; }
  .profile-table tr { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .profile-table tr:last-child { border-bottom: 0; }
  .btn-row .btn { min-width: 0; flex: 1 1 100%; }
}

/* ==========================================================================
   2026-10-09 追加：内页ページヒーロー（背景画像 + ダークスクリーム）
   画像が未設置の場合は background-color の暗色グラデーションで表示（崩れなし）
   ========================================================================== */
.page-hero {
  position: relative; overflow: hidden; color: #fff;
  background-color: #0d1421;
  background-image:
    linear-gradient(180deg, rgba(13,20,33,.74), rgba(13,20,33,.90)),
    linear-gradient(120deg, #0d1421, #16223a 50%, #0b1018);
  background-size: cover; background-position: center; background-repeat: no-repeat;
  padding: clamp(78px, 11vw, 148px) 0 clamp(60px, 9vw, 116px);
  border-bottom: 1px solid var(--hp-line, rgba(255,255,255,.08));
}
.page-hero::before {
  /* 底部に向かう薄いフェードで本文へ自然に繋ぐ */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px;
  background: linear-gradient(180deg, transparent, var(--bg, #fff));
  opacity: .9; pointer-events: none; z-index: 1;
}
.page-hero .wrap { position: relative; z-index: 2; max-width: 960px; }
.page-hero .eyebrow { color: rgba(255,255,255,.72); letter-spacing: .14em; }
.page-hero h1 { color: #fff; font-size: clamp(28px, 4.4vw, 52px); margin: 14px 0 16px; font-weight: 900; line-height: 1.35; }
.page-hero p { color: rgba(255,255,255,.82); font-size: clamp(15px, 1.4vw, 18px); max-width: 640px; margin: 0; }
/* 每页背景画像（css/ から見て ../img/）— ファイルが無ければ上のグラデーションで表示 */
.page-hero.hero-products { background-image: linear-gradient(180deg, rgba(13,20,33,.74), rgba(13,20,33,.90)), url('../img/hero-products.jpg'); }
.page-hero.hero-cases    { background-image: linear-gradient(180deg, rgba(13,20,33,.74), rgba(13,20,33,.90)), url('../img/hero-cases.jpg'); }
.page-hero.hero-articles { background-image: linear-gradient(180deg, rgba(13,20,33,.74), rgba(13,20,33,.90)), url('../img/hero-articles.jpg'); }
/* 企業紹介页：复用工厂/产线图（hero-cases.jpg 为生产现场图，语义最贴切） */
.page-hero.hero-about    { background-image: linear-gradient(180deg, rgba(13,20,33,.74), rgba(13,20,33,.90)), url('../img/hero-cases.jpg'); }
/* メディアセンター：复用展会/报道场景图 */
.page-hero.hero-media    { background-image: linear-gradient(180deg, rgba(13,20,33,.74), rgba(13,20,33,.90)), url('../img/hero-articles.jpg'); }
@media (prefers-reduced-motion: no-preference) {
  .page-hero .wrap > * { animation: heroIn .5s ease both; }
  .page-hero .wrap > *:nth-child(2) { animation-delay: .06s; }
  .page-hero .wrap > *:nth-child(3) { animation-delay: .12s; }
  @keyframes heroIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}

/* ============================================================
   内页卡片紧凑化（製品 / 事例：缩小比例）
   ============================================================ */
.prod-ph, .case-ph { aspect-ratio: 1 / 1; }
.prod-ph svg, .case-ph svg { width: 44px; height: 44px; }
.prod-bd, .case-bd { padding: 14px 14px 16px; }
.prod-card h3 { font-size: 15px; margin-bottom: 6px; }
.prod-card .spec { font-size: 13px; margin-bottom: 10px; }
.case-card h3 { font-size: 15px; }
.prod-more { font-size: 13px; }

/* 製品・事例 统一响应式：4 → 3 → 2 → 1 列 */
@media (max-width: 1200px) {
  .prod-grid, .case-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .prod-grid, .case-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .prod-grid, .case-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   お知らせ：卡片改为横条（标题 / 摘要 / 日期 横向排列）
   ============================================================ */
.article-list { display: flex; flex-direction: column; gap: 12px; }
.article-list .article-card {
  flex-direction: row; align-items: center; gap: 18px;
  padding: 16px 20px; border-radius: var(--radius);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, background .18s ease;
}
.article-list .article-card:hover { transform: translateX(3px); border-color: var(--accent); box-shadow: 0 6px 18px rgba(0,0,0,.06); background: var(--bg-soft); }
.article-list .article-title { flex: 0 0 auto; min-width: 220px; max-width: 320px; margin: 0; }
.article-list .article-excerpt { flex: 1 1 auto; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-list .article-meta { flex: 0 0 auto; margin-left: auto; white-space: nowrap; }
@media (max-width: 640px) {
  .article-list .article-card { flex-direction: column; align-items: stretch; gap: 8px; padding: 14px 16px; }
  .article-list .article-title { min-width: 0; max-width: none; }
  .article-list .article-meta { margin-left: 0; }
}

/* ============================================================
   製品页行业分类筛选条（?ind=medical）
   ============================================================ */
.ind-filter {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin-bottom: 26px; padding-bottom: 22px; border-bottom: 1px solid var(--border);
}
.ind-filter-lbl {
  font-size: 13px; font-weight: 700; color: var(--text-dim);
  letter-spacing: .06em; margin-right: 4px;
}
.ind-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border: 1px solid var(--border); border-radius: 999px;
  background: var(--surface); color: var(--text);
  font-size: 14px; font-weight: 600; white-space: nowrap;
  transition: border-color .18s ease, background .18s ease, color .18s ease;
}
.ind-chip:hover { border-color: var(--accent); color: var(--accent); }
.ind-chip .n {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px;
  background: var(--bg-soft); color: var(--text-dim);
  font-size: 12px; font-weight: 700; line-height: 1;
}
.ind-chip.active {
  background: var(--accent); border-color: var(--accent); color: #fff;
}
.ind-chip.active .n { background: rgba(255,255,255,.22); color: #fff; }
/* 计数为 0 的行业置灰但仍可点（保持筛选条宽度稳定、便于用户了解业务覆盖） */
.ind-chip.is-empty { opacity: .45; }
.ind-chip.is-empty:hover { opacity: .75; }
/* 筛选生效时的结果计数提示 */
.filter-note {
  margin: -10px 0 22px; font-size: 14px; color: var(--text-soft);
}
.filter-note strong { color: var(--accent); font-weight: 700; }

/* ============================================================
   メディアセンター（JP/EN 共用样式）
   ============================================================ */

/* 報道一覧（サムネイル + 本文） */
.media-list { display: grid; gap: 18px; }
.media-row {
  display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: start;
  background: #fff; border: 1px solid var(--hp-line); border-radius: var(--radius);
  padding: 20px; transition: .2s;
}
.media-row:hover { border-color: var(--accent); transform: translateY(-2px); }
.media-thumb {
  aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden;
  background: linear-gradient(160deg, #eef2f7, #dfe6ef);
  display: grid; place-items: center; color: #b3bcc9;
  border: 1px solid var(--hp-line);
}
.media-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-thumb svg { width: 40px; height: 40px; opacity: .8; }
.media-bd { min-width: 0; }
.media-meta { display: flex; align-items: center; gap: 12px; font-size: 12.5px; color: var(--text-soft); margin-bottom: 8px; }
.media-meta time { color: #9aa3b0; }
.media-src { font-weight: 700; color: var(--accent); }
.media-bd h3 { font-size: 18px; margin: 0 0 8px; line-height: 1.5; }
.media-bd h3 a { color: inherit; }
.media-bd h3 a:hover { color: var(--accent); }
.media-bd p { font-size: 14.5px; color: var(--text-soft); margin: 0 0 10px; }
.media-more { font-size: 14px; font-weight: 700; color: var(--accent); }
.media-more:hover { text-decoration: underline; }
@media (max-width: 720px) {
  .media-row { grid-template-columns: 1fr; gap: 16px; }
  .media-thumb { aspect-ratio: 16 / 9; }
}
.media-empty {
  background: var(--bg-soft); border: 1px dashed var(--hp-line); border-radius: var(--radius);
  padding: 30px; text-align: center; color: var(--text-soft); font-size: 15px;
}

/* 素材・資料ダウンロード */
.dl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.dl-card {
  display: flex; gap: 16px; align-items: flex-start; background: #fff;
  border: 1px solid var(--hp-line); border-radius: var(--radius); padding: 22px;
  transition: .2s;
}
a.dl-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.dl-ic {
  width: 42px; height: 42px; border-radius: 12px; flex: none; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
}
.dl-ic svg { width: 21px; height: 21px; }
.dl-bd { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.dl-t { font-size: 16px; font-weight: 700; color: var(--text); }
.dl-d { font-size: 13.5px; color: var(--text-soft); line-height: 1.7; }
.dl-m { font-size: 12px; color: #9aa3b0; }
.dl-card-empty { border-style: dashed; }
@media (max-width: 900px) { .dl-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .dl-grid { grid-template-columns: 1fr; } }

/* メディアお問い合わせ */
.media-contact {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center;
  background: linear-gradient(150deg, #1b2333, #101724); border-radius: var(--radius);
  padding: 42px 44px; color: #fff;
}
.media-contact h2 { color: #fff; font-size: clamp(21px, 2.6vw, 28px); margin: 10px 0 12px; }
.media-contact p { color: rgba(255,255,255,.74); font-size: 15px; line-height: 1.85; margin: 0; }
.media-contact .eyebrow { color: rgba(255,255,255,.66); }
.media-contact-actions { display: flex; flex-direction: column; gap: 12px; }
.media-contact-actions .btn { justify-content: center; }
@media (max-width: 860px) {
  .media-contact { grid-template-columns: 1fr; padding: 30px 24px; }
}
