/* =========================================================
   ELECTWAY 日本語簡易サイト - グローバルスタイル
   简约 / 干净 / 舒适 / 可信
   ========================================================= */

:root {
  --bg: #FFFFFF;
  --section-bg: #F2F8F3;
  --primary: #129343;        /* logo 緑 */
  --primary-dark: #006B00;   /* 深緑 */
  --accent: #2DC84B;         /* 浅緑 */
  --accent-dark: #1FA85E;
  --text: #1F2937;
  --text-sub: #6B7280;
  --border: #E5E7EB;
  --footer-bg: #0F2415;
  --radius: 12px;
  --radius-btn: 8px;
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  --maxw: 1080px;
  --pad: 80px;
  --header-h: 68px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--primary-dark); }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; color: var(--text); font-weight: 700; line-height: 1.4; }
h1 { font-size: 40px; }
h2 { font-size: 28px; }
h3 { font-size: 20px; }
p { margin: 0 0 16px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* ---------- layout helpers ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: var(--pad) 0; }
.section-alt { background: var(--section-bg); }
.scene-section { background: #fff; }
.section--compact { padding-bottom: 0; }
.section--hero { padding-top: 28px; }
.section-title {
  font-size: 28px;
  margin-bottom: 40px;
  text-align: center;
  position: relative;
  padding-bottom: 16px;
}
.section-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin: 16px auto 0;
}
.section-note { color: var(--text-sub); text-align: center; margin-top: 32px; }
.section-actions { text-align: center; margin-top: 40px; }
.lead { font-size: 18px; color: var(--text-sub); text-align: center; max-width: 1000px; margin: 0 auto; }

/* ---------- skip link ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--primary);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 8px 0;
  z-index: 1000;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius-btn);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
  line-height: 1.4;
  font-family: inherit;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-secondary { background: #fff; color: var(--primary); border-color: var(--primary); }
.btn-secondary:hover { background: var(--primary); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); color: #fff; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.logo:hover { color: var(--text); }
.logo-mark {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
}
.logo-text { font-size: 20px; font-weight: 700; letter-spacing: .5px; }
.main-nav ul { display: flex; gap: 8px; }
.main-nav a {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 8px;
  color: var(--text);
  font-weight: 500;
}
.main-nav a:hover { background: var(--section-bg); color: var(--primary); }
.main-nav a.active { color: var(--primary); font-weight: 700; }
.header-cta { padding: 9px 20px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 0 auto; border-radius: 2px; transition: .2s; }
.mobile-nav { display: none; border-top: 1px solid var(--border); background: #fff; }
.mobile-nav.open { display: block; }
.mobile-nav ul { padding: 12px 24px 20px; display: flex; flex-direction: column; gap: 4px; }
.mobile-nav a { display: block; padding: 12px 8px; border-radius: 8px; color: var(--text); font-weight: 500; }
.mobile-nav a:hover { background: var(--section-bg); }
.mobile-nav .btn { margin-top: 8px; }

/* ---------- hero (full-bleed banner with background image) ---------- */
.hero {
  position: relative;
  min-height: 900px;
  display: flex;
  align-items: center;
  color: #fff;
  background: url('https://placehold.co/1920x900/0F2415/2DC84B?text=ELECTWAY+%E2%80%94+EV+Charging') center/cover no-repeat;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 36, 21, .55) 0%, rgba(15, 36, 21, .72) 100%);
}
.hero-inner { position: relative; z-index: 1; width: 100%; text-align: center; padding: 80px 24px; }
.hero-text { max-width: 820px; margin: 0 auto; }
.hero h1 { font-size: 44px; margin-bottom: 20px; color: #fff; }
.hero-sub { font-size: 18px; color: rgba(255, 255, 255, .9); margin-bottom: 28px; }
.hero .tag-list { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; justify-content: center; }
.hero .tag-list li {
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .28);
  color: #fff;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}
@media (max-width: 768px) {
  .hero { min-height: 480px; }
  .hero-inner { padding: 64px 16px; }
  .hero h1 { font-size: 30px; }
}

/* ---------- stats ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 20px;
}
.stat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow);
}
.stat-num { display: block; font-size: 26px; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.stat-label { display: block; font-size: 14px; color: var(--text-sub); }

/* ---------- cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.card h3 { color: var(--primary); margin-bottom: 12px; }
.card p { color: var(--text-sub); margin: 0; }
.card img { border-radius: 8px; margin-bottom: 18px; width: 100%; }

/* ---------- feature list ---------- */
.feature-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px 32px; max-width: 880px; margin: 0 auto; }
.feature-list li {
  position: relative;
  padding-left: 30px;
  color: var(--text);
}
.feature-list li::before {
  content: "";
  position: absolute; left: 0; top: 12px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- project cards ---------- */
.project-card .project-meta { color: var(--text-sub); font-size: 14px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--primary); color: #fff; padding: 72px 0; }
.cta-inner { text-align: center; }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,.85); margin-bottom: 28px; }
.cta-band .btn-primary { background: #fff; color: var(--primary); }
.cta-band .btn-primary:hover { background: var(--section-bg); color: var(--primary-dark); }

/* ---------- footer ---------- */
.site-footer { background: var(--footer-bg); color: #CFD8DF; padding: 56px 0 28px; }
.footer-inner { display: flex; flex-direction: column; gap: 28px; }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, max-content);
  justify-content: space-between;
  column-gap: 0;
  align-items: start;
}
.site-footer .logo { color: #fff; display: inline-block; margin-bottom: 0; }
.site-footer .logo:hover { color: #fff; }
.site-footer .logo-img { height: 30px; display: block; }
/* 4 列統一头部高度，让正文（公司信息/导航/联系方式/售后）顶部对齐 */
.footer-col h4,
.site-footer .logo,
.footer-head-spacer { min-height: 30px; margin-bottom: 16px; }
.footer-col h4 { color: #fff; font-size: 15px; letter-spacing: .5px; display: flex; align-items: center; }
.footer-head-spacer { display: none; }
.footer-col p, .footer-col li { color: #CFD8DF; font-size: 14px; line-height: 1.9; }
.footer-col a { color: #CFD8DF; }
.footer-col a:hover { color: #fff; }
.footer-col ul li { margin-bottom: 6px; }
.footer-brand p { margin: 0 0 4px; line-height: 1.7; }
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-nav-list {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  height: 190px;
  padding-top: 4px;
}
.footer-col .footer-nav-list li { margin: 0; line-height: 1.4; }
.footer-nav-list a { color: #fff; font-size: 15px; font-weight: 700; letter-spacing: .5px; }
.footer-nav-list a:hover { color: #fff; }
.footer-contact-list { display: flex; flex-direction: column; gap: 14px; }
.footer-service-list { display: flex; flex-direction: column; gap: 14px; }
.footer-item { display: flex; align-items: flex-start; gap: 10px; }
.footer-item-body { display: flex; flex-direction: column; line-height: 1.4; min-width: 0; }
.footer-item-label { color: #9FB0BC; font-size: 12px; letter-spacing: .3px; margin-bottom: 2px; }
.footer-item-value { color: #fff; font-size: 14px; overflow-wrap: anywhere; }
.footer-item-value:hover { color: var(--primary-light); }
.footer-col h4.footer-secondary-heading { margin-top: 22px; }
.footer-location { display: flex; align-items: center; gap: 10px; padding: 16px 0 4px; border-top: 1px solid rgba(255,255,255,.12); margin-top: 8px; }
.footer-location h4 { color: #fff; font-size: 14px; margin: 0; letter-spacing: .5px; }
.footer-location p { margin: 0; color: #CFD8DF; font-size: 14px; line-height: 1.6; }
.footer-icon { flex: 0 0 auto; width: 18px; height: 18px; color: var(--primary); margin-top: 2px; }
.footer-icon-loc { margin-top: 0; width: 18px; height: 18px; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 24px; padding-top: 22px;
}
.footer-bottom p { margin: 0; font-size: 13px; color: #9FB0BC; }
.footer-bottom ul { display: flex; gap: 20px; list-style: none; padding: 0; margin: 0; }
.footer-bottom a { color: #9FB0BC; font-size: 13px; }
.footer-bottom a:hover { color: #fff; }

@media (max-width: 900px) {
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 28px; justify-content: stretch; }
  .footer-location { flex-wrap: wrap; }
}
@media (max-width: 540px) {
  .footer-cols { grid-template-columns: 1fr; }
  .footer-nav-list { height: auto; padding-top: 0; gap: 10px; }
}

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
.contact-info p { color: var(--text-sub); }
.contact-info .info-block { margin-bottom: 24px; }
.contact-info .info-block h3 { font-size: 16px; color: var(--primary); margin-bottom: 6px; }
.contact-info .info-block a { font-weight: 600; }
.map { width: 100%; height: 280px; border: 1px solid var(--border); border-radius: var(--radius); margin-top: 8px; }

/* ---------- form ---------- */
.contact-form { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; margin-bottom: 8px; font-size: 15px; }
.field .req { color: #C0392B; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 16px;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(47,111,143,.15);
}
.field textarea { min-height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.agree { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text-sub); }
.agree input { width: auto; margin-top: 4px; }
.form-note { font-size: 13px; color: var(--text-sub); margin-top: 14px; }
.form-success {
  background: #EAF5F0;
  border: 1px solid var(--accent);
  color: var(--accent-dark);
  padding: 14px 16px;
  border-radius: 8px;
  margin-top: 18px;
  font-weight: 600;
}
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

/* ---------- privacy ---------- */
.privacy-section { margin-bottom: 40px; }
.privacy-section h2 { font-size: 22px; margin-bottom: 14px; color: var(--primary); }
.privacy-section p, .privacy-section li { color: var(--text-sub); }
.privacy-section ul { padding-left: 22px; list-style: disc; }
.privacy-section ul li { margin-bottom: 8px; }
.disclaimer {
  background: var(--section-bg);
  border-left: 4px solid var(--accent);
  padding: 16px 20px;
  border-radius: 8px;
  color: var(--text-sub);
  font-size: 14px;
}

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 120px 0; }
.notfound .code { font-size: 96px; font-weight: 800; color: var(--primary); line-height: 1; }
.notfound h1 { margin: 16px 0 12px; }
.notfound p { color: var(--text-sub); margin-bottom: 32px; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  :root { --pad: 56px; }
  h1 { font-size: 32px; }
  h2 { font-size: 24px; }
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
  .hero h1 { font-size: 28px; }
  .stat-num { font-size: 22px; }
}

/* 企業概要表 */
.company-table { width: 100%; border-collapse: collapse; }
.company-table th, .company-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
.company-table th { width: 200px; color: var(--primary); font-weight: 600; }
@media (max-width: 600px) { .company-table th { width: 120px; } }

/* =========================================================
   追加スタイル: 私たちが製造します
   ========================================================= */
.we-make-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.we-make-grid .card { padding: 32px; }
.we-make-grid .card h3 { font-size: 22px; }
@media (max-width: 768px) { .we-make-grid { grid-template-columns: 1fr; } }

/* =========================================================
   追加スタイル: 会社概要 图片背景
   ========================================================= */
.about-hero-img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 1920/900; object-fit: cover; display: block; }

/* =========================================================
   追加スタイル: icon+text grid
   ========================================================= */
.about-icon-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; margin-top: 16px; }
.info-item { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.info-icon { width: 44px; height: 44px; border-radius: 10px; background: linear-gradient(135deg, var(--primary), var(--accent)); flex-shrink: 0; display: inline-block; }
.info-label { display: block; font-size: 13px; color: var(--text-sub); margin-bottom: 4px; }
.info-value { display: block; font-size: 16px; font-weight: 700; color: var(--text); line-height: 1.5; }

/* =========================================================
   追加スタイル: 事業方針と強み tabs
   ========================================================= */
.tabs-section { display: grid; align-items: start; max-width: 1030px; margin: 0 auto; }
.tabs-section.about-tabs { grid-template-columns: 1fr 1fr; gap: 30px; }
.tabs-section.scene-tabs { grid-template-columns: 290px 1fr; gap: 40px; }
.tabs-list li { margin-bottom: 12px; }
.tab {
  width: 100%; text-align: left;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  transition: background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
  line-height: 1.6;
}
.tab:hover { border-color: var(--primary); color: var(--primary); }
.tab.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 6px 18px rgba(47,111,143,.18);
}
.tabs-display {
  background-color: var(--section-bg);
  min-width: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.tabs-section.about-tabs .tabs-display { aspect-ratio: 500 / 350; }
.tabs-section.scene-tabs .tabs-display { aspect-ratio: 700 / 410; }
@media (max-width: 900px) {
  .tabs-section,
  .tabs-section.about-tabs,
  .tabs-section.scene-tabs { grid-template-columns: 1fr; gap: 24px; }
  .tabs-display { aspect-ratio: 16/9; }
}

/* =========================================================
   追加スタイル: 社長致辞
   ========================================================= */
.ceo-message { width: 100%; }
.ceo-message h2 {
  margin: 0 0 52px;
  font-size: clamp(28px, 3vw, 40px);
  text-align: center;
}
.ceo-text { max-width: 1080px; margin: 0 auto; }
.ceo-text p { margin: 0 0 26px; color: var(--text-sub); font-size: 17px; line-height: 2; }
.ceo-sign {
  width: fit-content;
  margin: 46px 0 0 auto;
  display: grid;
  gap: 5px;
  color: var(--text);
  text-align: right;
}
.ceo-sign-company { font-size: 15px; }
.ceo-sign-name { font-size: 18px; font-weight: 700; }
@media (max-width: 720px) {
  .ceo-message h2 { margin-bottom: 36px; }
  .ceo-text p { font-size: 16px; line-height: 1.9; }
  .ceo-sign { margin-top: 34px; }
}

/* =========================================================
   追加スタイル: 製品 8グリッド
   ========================================================= */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-tile { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
.product-tile:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0,0,0,.08); }
.product-tile img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.product-tile .product-label { padding: 16px; text-align: center; font-weight: 600; color: var(--text); }
@media (max-width: 980px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }

/* =========================================================
   追加スタイル: コア能力 画像+text
   ========================================================= */
.cap-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.cap-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.cap-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.cap-card .cap-body { padding: 22px; }
.cap-card h3 { color: var(--primary); margin-bottom: 10px; font-size: 18px; }
.cap-card p { color: var(--text-sub); margin: 0; }
@media (max-width: 768px) { .cap-grid { grid-template-columns: 1fr; } }

/* =========================================================
   追加スタイル: お問い合わせ stacked
   ========================================================= */
.contact-info-block { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); margin-bottom: 32px; }
.contact-info-block .info-block + .info-block { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border); }
.contact-info-block .info-block h3 { display: flex; align-items: center; gap: 8px; font-size: 16px; color: var(--primary); margin-bottom: 6px; }
.contact-info-block .info-block h3 .block-icon { width: 18px; height: 18px; flex: 0 0 auto; color: var(--primary); }
.afterservice-copy { max-width: 920px; margin: 10px 0 8px; color: var(--text-sub); line-height: 1.8; }
.afterservice-note { margin: 0; color: var(--text-sub); font-size: 14px; line-height: 1.7; }
.afterservice-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; margin-top: 18px; }
.afterservice-actions .external-link-icon { width: 16px; height: 16px; flex: 0 0 auto; }
.afterservice-mail-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
@media (max-width: 640px) {
  .contact-info-block { padding: 24px 20px; }
  .afterservice-actions { align-items: stretch; }
  .afterservice-actions .btn { width: 100%; }
  .afterservice-mail-link { align-items: flex-start; font-size: 14px; overflow-wrap: anywhere; }
}

/* =========================================================
   LOGO 画像
   ========================================================= */
.logo-img { height: 36px; width: auto; display: block; }
.site-footer .logo-img { height: 32px; }

/* =========================================================
   主な事業 カード（会社概要ページ専用）
   ========================================================= */
.main-business-card {
  background: #fff;
  border-left: 4px solid var(--accent);
  padding: 28px 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.main-business-card .mb-label {
  display: block;
  color: var(--primary);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 10px;
  letter-spacing: .5px;
}
.main-business-card p {
  font-size: 18px;
  color: var(--text);
  margin: 0;
  line-height: 1.7;
}

/* =========================================================
   追加样式: 導入シーン tabs (アイコン付き)
   ========================================================= */
.scene-tab { display: flex; align-items: center; gap: 12px; }
.scene-tab svg.tab-icon { width: 22px; height: 22px; flex-shrink: 0; }
.scene-tab-list { gap: 10px; }

/* =========================================================
   追加样式: サービスモデル アコーディオン
   ========================================================= */
.service-accordion { max-width: 880px; margin: 0 auto; border-top: 1px solid var(--border); }
.service-item { border-bottom: 1px solid var(--border); }
.service-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 8px;
  font-weight: 600;
  font-size: 18px;
  color: var(--primary);
  transition: color .2s ease;
}
.service-item summary::-webkit-details-marker { display: none; }
.service-item summary::marker { display: none; content: ""; }
.service-item summary:hover { color: var(--primary-dark); }
.service-item .service-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--section-bg);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
  transition: background .2s ease, color .2s ease;
}
.service-item[open] .service-num { background: var(--primary); color: #fff; }
.service-item .service-title { flex: 1; }
.service-item .service-toggle {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 400;
  color: var(--primary);
  line-height: 1;
}
.service-item .service-toggle::before { content: "+"; }
.service-item[open] .service-toggle::before { content: "\2212"; }
.service-body { padding: 0 8px 24px 62px; color: var(--text-sub); }
.service-body p { margin: 0 0 12px; }
.service-body p:last-child { margin-bottom: 0; }
.service-sub { margin-bottom: 12px; }
.service-sub:last-child { margin-bottom: 0; }
.service-sub h4 { font-size: 15px; color: var(--text); margin: 0 0 6px; font-weight: 600; }

/* =========================================================
   追加样式: グローバル市場 マップ
   ========================================================= */
.world-map-wrap { max-width: 1200px; margin: 32px auto 0; aspect-ratio: 1920 / 900; background-color: #EAF2F3; background-image: url("../img/global-map.webp"); background-size: cover; background-position: center; background-repeat: no-repeat; border-radius: var(--radius); box-shadow: var(--shadow); }
.world-map { width: 100%; height: auto; display: block; }


/* =========================================================
   追加样式: 製品ページ 注目製品カード
   ========================================================= */
.featured-product { margin-top: 36px; }
.featured-product-link {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  padding: 32px; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow);
  text-decoration: none; color: inherit;
  transition: transform .2s ease, box-shadow .2s ease;
}
.featured-product-link:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.featured-product-img img { width: 100%; height: auto; border-radius: var(--radius); display: block; }
.featured-eyebrow { font-size: 13px; color: var(--primary); font-weight: 700; letter-spacing: .04em; margin: 0 0 8px; }
.featured-product-body h2 { margin: 0 0 12px; }
.featured-product-body p { color: var(--text-sub); line-height: 1.7; }
.featured-cta { display: inline-block; margin-top: 14px; color: var(--primary); font-weight: 700; }

/* =========================================================
   追加样式: 製品詳細ページ
   ========================================================= */
.breadcrumb { font-size: 13px; color: var(--text-sub); margin-bottom: 8px; }
.breadcrumb a { color: var(--text-sub); text-decoration: none; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { margin: 0 6px; color: var(--border); }
.pd-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-top: 20px; }
.pd-hero-img img { width: 100%; height: auto; border-radius: var(--radius); display: block; box-shadow: var(--shadow); }
.pd-eyebrow { font-size: 13px; color: var(--primary); font-weight: 700; margin: 0 0 8px; }
.pd-hero-text h1 { margin: 0 0 16px; }
.pd-tagline { font-size: 17px; color: var(--text-sub); line-height: 1.7; margin: 0 0 24px; }
.pd-feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.pd-feature-list li { padding: 16px 20px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); line-height: 1.7; }
.pd-feature-list strong { color: var(--primary); }
.pd-apps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.pd-app-card { padding: 24px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.pd-app-card h3 { margin: 0 0 10px; font-size: 16px; }
.pd-app-card p { margin: 0; color: var(--text-sub); font-size: 14px; line-height: 1.7; }
.pd-spec-table { width: 100%; border-collapse: collapse; background: #fff; box-shadow: var(--shadow); border-radius: var(--radius); overflow: hidden; }
.pd-spec-table th, .pd-spec-table td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--border); }
.pd-spec-table th { background: var(--section-bg); font-weight: 700; width: 32%; }
.pd-spec-table tr:last-child th, .pd-spec-table tr:last-child td { border-bottom: none; }
.pd-manufacturer { margin-top: 20px; color: var(--text-sub); font-size: 14px; }
.pd-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pd-gallery img { width: 100%; height: auto; border-radius: var(--radius); display: block; box-shadow: var(--shadow); }
@media (max-width: 900px) {
  .pd-hero { grid-template-columns: 1fr; }
  .featured-product-link { grid-template-columns: 1fr; gap: 24px; padding: 20px; }
  .pd-gallery { grid-template-columns: 1fr; }
}

/* =========================================================
   追加样式: ボタン横並び / 対応車両ページ
   ========================================================= */
.btn-outline { background: transparent; color: var(--primary); border: 1px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.cta-band .btn-outline { color: #fff; border-color: #fff; }
.cta-band .btn-outline:hover { background: #fff; color: var(--primary); }

.pd-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.pd-actions-center { justify-content: center; }
.pd-actions .btn { margin: 0; }

.compat-hero { margin-top: 8px; }
.compat-adapter-visual { position: relative; overflow: hidden; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.compat-adapter-visual img { display: block; box-shadow: none; }
.compat-adapter-visual::after {
  content: ""; position: absolute; z-index: 1; pointer-events: none;
  left: 13%; top: 61%; width: 58%; height: 11%; background: #fff;
}
.compat-adapter-label {
  position: absolute; z-index: 2; left: 50%; bottom: 3.5%; transform: translateX(-50%);
  color: var(--primary); font-size: clamp(20px, 3vw, 38px); font-weight: 700;
  line-height: 1.2; letter-spacing: .01em; white-space: nowrap;
}
.compat-disclaimer {
  margin: 0 0 28px; padding: 16px 20px; background: #fff;
  border: 1px solid var(--border); border-left: 4px solid var(--accent);
  border-radius: var(--radius); color: var(--text-sub); line-height: 1.7; font-size: 14px;
}
.compat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.compat-card { padding: 22px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.compat-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.compat-maker { font-size: 13px; font-weight: 700; color: var(--text-sub); letter-spacing: .03em; }
.compat-badge { font-size: 11px; font-weight: 700; color: var(--primary); background: #EAF2F3; border: 1px solid #C9E6D2; border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.compat-model { margin: 0 0 8px; font-size: 16px; }
.compat-note { margin: 0; color: var(--text-sub); font-size: 13px; line-height: 1.7; }
@media (max-width: 900px) {
  .compat-grid { grid-template-columns: 1fr; }
}
.compat-legend { display: flex; flex-wrap: wrap; gap: 14px; list-style: none; padding: 0; margin: 4px 0 22px; }
.compat-legend li { display: flex; }
.compat-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compat-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); font-size: 14px; }
.compat-table th, .compat-table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: middle; }
.compat-table thead th { background: var(--primary); color: #fff; font-weight: 700; letter-spacing: .02em; white-space: nowrap; }
.compat-table tbody tr:nth-child(even) { background: var(--section-bg); }
.compat-table tbody tr:last-child td { border-bottom: none; }
.compat-maker-cell { font-weight: 700; color: #1F2937; white-space: nowrap; }
.compat-out-cell { white-space: nowrap; color: var(--text-sub); }
.compat-cell { white-space: nowrap; }
.compat-badge { display: inline-block; font-size: 11px; font-weight: 700; border-radius: 999px; padding: 4px 10px; white-space: nowrap; line-height: 1.4; }
.compat-badge-ok { color: #0B6B2E; background: #E3F5E8; border: 1px solid #B7E3C4; }
.compat-badge-pending { color: #856404; background: #FFF8D9; border: 1px solid #F0D98C; }
.compat-badge-wait { color: #5B6470; background: #EEF1F4; border: 1px solid #DDE3E9; }
@media (max-width: 700px) {
  .compat-table { font-size: 13px; }
  .compat-table th, .compat-table td { padding: 10px 12px; }
}

/* =========================================================
   追加スタイル: ホーム バナー背景ローテーション
   ========================================================= */
.hero { background: #0F2415; }
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  z-index: 0;
}
.hero-bg.is-active { opacity: 1; }
.hero-bg-1 { background-image: url("../img/banner-1.webp"); }
.hero-bg-2 { background-image: url("../img/banner-2.webp"); }
.hero-bg-3 { background-image: url("../img/banner-3.webp"); }
.hero::before { z-index: 1; }
.hero-inner { position: relative; z-index: 2; }
.hero-slides { position: relative; min-height: 150px; }
.hero-text { display: none; max-width: 820px; margin: 0 auto; }
.hero-text.hero-text-active { display: block; animation: heroFade .6s ease; }
@keyframes heroFade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.hero-dots { display: flex; gap: 10px; justify-content: center; margin-top: 26px; }
.hero-dot { width: 11px; height: 11px; padding: 0; border: none; border-radius: 50%; background: rgba(255, 255, 255, .4); cursor: pointer; transition: background .25s, transform .25s; }
.hero-dot.is-active { background: #fff; transform: scale(1.15); }
@media (prefers-reduced-motion: reduce) {
  .hero-bg, .hero-text.hero-text-active { transition: none; animation: none; }
}

/* =========================================================
   追加スタイル: 私たちが製造します カード背景
   ========================================================= */
.we-make-card { position: relative; overflow: hidden; color: #fff; border-color: transparent; }
.we-make-card::before {
  content: "";
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.we-make-card::after {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(15, 36, 21, .55), rgba(15, 36, 21, .72));
}
.we-make-card > * { position: relative; z-index: 2; }
.we-make-card h3 { color: #fff; }
.we-make-card p { color: rgba(255, 255, 255, .92); }
.we-make-charger::before { background-image: url("../img/we-make-charger.webp"); }
.we-make-portable::before { background-image: url("../img/we-make-portable.webp"); }
.we-make-connector::before { background-image: url("../img/we-make-connector.webp"); }
.we-make-adapter::before { background-image: url("../img/we-make-adapter.webp"); }

/* =========================================================
   追加スタイル: 研究開発・製造 セクション背景
   ========================================================= */
.section-rd-bg {
  position: relative;
  color: #fff;
  background-image: url("../img/rd-manufacturing.webp");
  background-size: cover;
  background-position: center;
}
.section-rd-bg::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(15, 36, 21, .6);
}
.section-rd-bg > .container { position: relative; z-index: 1; }
.section-rd-bg .section-title { color: #fff; }
.section-rd-bg .section-title::after { background: #fff; }
.section-rd-bg .feature-list li { color: rgba(255, 255, 255, .92); }
.section-rd-bg .feature-list li::before { background: #fff; }

/* =========================================================
   追加スタイル: 製品・ソリューション スライダー
   ========================================================= */
.product-slider {
  position: relative;
  display: flex;
  align-items: center;
}
.product-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 6px 2px 14px;
  flex: 1 1 auto;
  -webkit-overflow-scrolling: touch;
}
.product-track::-webkit-scrollbar { height: 8px; }
.product-track::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
.product-track::-webkit-scrollbar-track { background: transparent; }
.product-slide {
  flex: 0 0 260px;
  scroll-snap-align: start;
  list-style: none;
}
.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .10);
}
.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.product-card-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 18px 18px 20px;
}
.product-card-body h3 {
  margin: 0 0 8px;
  font-size: 17px;
  color: var(--primary);
  line-height: 1.35;
}
.product-card-body p {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card-more {
  margin-top: auto;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-dark);
}
.slider-btn {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .18);
  transition: background .2s ease, opacity .2s ease;
  flex: 0 0 auto;
}
.slider-btn:hover { background: var(--primary-dark); }
.slider-btn:disabled { opacity: .3; cursor: default; pointer-events: none; }
.slider-prev { left: -10px; }
.slider-next { right: -10px; }

@media (max-width: 768px) {
  .product-slide { flex-basis: 74%; }
  .slider-prev { left: 2px; }
  .slider-next { right: 2px; }
  .slider-btn { width: 40px; height: 40px; font-size: 22px; }
}

/* ---------- 通知・公告 / 会社動態 ---------- */
.notice-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.notice-item { display: flex; align-items: flex-start; gap: 16px; padding: 16px 18px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.notice-date { flex-shrink: 0; font-weight: 700; color: var(--primary); background: var(--section-bg); border-radius: 6px; padding: 4px 10px; font-size: 14px; white-space: nowrap; }
.notice-title { color: var(--text); line-height: 1.55; }
@media (max-width: 640px) { .notice-item { flex-direction: column; gap: 6px; } }

/* ---------- 会社概要 背景画像セクション ---------- */
.section-profile { position: relative; background-image: url("../img/company-profile-bg.webp"); background-size: cover; background-position: center; background-repeat: no-repeat; color: #fff; min-height: 850px; display: flex; flex-direction: column; justify-content: center; }
.section-profile::before { content: ""; position: absolute; inset: 0; background: rgba(10, 28, 18, 0.72); z-index: 0; pointer-events: none; }
.section-profile > .container { position: relative; z-index: 1; }
.section-profile h2.section-title { color: #fff; }
.section-profile .lead { color: rgba(255,255,255,0.94); max-width: 960px; }
.section-profile .card { background: #fff; color: var(--text); }
/* ---------- 会社概要 4カード一列 ---------- */
.card-grid-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.section-profile .card-grid-row .card h3 { white-space: nowrap; font-size: clamp(17px, 1.35vw, 21px); text-align: center; }
@media (max-width: 980px) { .card-grid-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .card-grid-row { grid-template-columns: 1fr; } }

/* 導入事例（cases） */
.cases-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:28px; margin-top:32px; }
.case-card { display:flex; flex-direction:column; background:#fff; border:1px solid var(--border); border-radius:var(--radius); overflow:hidden; text-decoration:none; color:inherit; transition:transform .2s ease, box-shadow .2s ease; }
.case-card:hover { transform:translateY(-4px); box-shadow:var(--shadow); }
.case-thumb { aspect-ratio:4/3; overflow:hidden; background:#fff; }
.case-thumb img { width:100%; height:100%; object-fit:contain; display:block; }
.case-body { padding:18px 20px 22px; display:flex; flex-direction:column; gap:8px; }
.case-cat { display:inline-block; font-size:12px; color:var(--primary); background:var(--section-bg); padding:3px 10px; border-radius:999px; align-self:flex-start; }
.case-card h3 { font-size:17px; line-height:1.45; }
.case-card p { font-size:14px; color:var(--text-sub); line-height:1.7; }
.case-more { margin-top:4px; font-size:13px; font-weight:600; color:var(--primary); }
.case-detail .crumb { font-size:13px; color:var(--text-sub); margin-bottom:14px; }
.case-detail .crumb a { color:var(--primary); text-decoration:none; }
.case-detail h1 { margin:6px 0 12px; }
.case-gallery { display:grid; grid-template-columns:1fr; gap:16px; margin:28px 0; max-width:1032px; }
.case-fig { margin:0; border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); }
.case-fig img { width:100%; height:auto; display:block; }
.case-text p { line-height:1.9; margin:0 0 16px; }
@media (max-width:900px){ .cases-grid{ grid-template-columns:repeat(2,1fr);} .case-gallery{grid-template-columns:1fr;} }
@media (max-width:600px){ .cases-grid{ grid-template-columns:1fr;} }

/* 会社動態（news） */
.news-detail .crumb { font-size:13px; color:var(--text-sub); margin-bottom:14px; }
.news-detail .crumb a { color:var(--primary); text-decoration:none; }
.news-detail h1 { margin:8px 0 14px; line-height:1.4; }
.news-date { display:inline-block; font-size:13px; color:var(--text-sub); background:var(--section-bg); padding:3px 10px; border-radius:999px; }
.news-body p { line-height:1.9; margin:0 0 16px; }
.news-featured { margin:28px 0; border:1px solid var(--border); border-radius:var(--radius); overflow:hidden; background:#f7f9f7; box-shadow:var(--shadow); }
.news-featured a { display:block; text-align:center; }
.news-featured img { display:block; width:100%; max-height:680px; object-fit:contain; margin:0 auto; }
.news-featured figcaption,
.news-gallery-item figcaption { padding:10px 14px; color:var(--text-sub); font-size:13px; line-height:1.6; background:#fff; border-top:1px solid var(--border); }
.news-gallery { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; margin:32px 0 8px; }
.news-gallery-item { margin:0; display:flex; flex-direction:column; border:1px solid var(--border); border-radius:var(--radius); overflow:hidden; background:#f7f9f7; box-shadow:var(--shadow); }
.news-gallery-item a { display:flex; align-items:center; justify-content:center; flex:1; min-height:260px; }
.news-gallery-item img { display:block; width:100%; height:100%; max-height:520px; aspect-ratio:4/3; object-fit:contain; }
.news-gallery--documents .news-gallery-item img { aspect-ratio:3/4; max-height:720px; }
.news-gallery--mixed .news-gallery-item:first-child img { object-fit:contain; }
.news-featured a:focus-visible,
.news-gallery-item a:focus-visible { outline:3px solid var(--primary); outline-offset:-3px; }
@media (max-width:700px) {
  .news-detail h1 { font-size:clamp(26px,8vw,36px); }
  .news-featured { margin:22px 0; }
  .news-gallery { grid-template-columns:1fr; gap:16px; margin-top:24px; }
  .news-gallery-item a { min-height:0; }
  .news-gallery-item img { height:auto; max-height:none; aspect-ratio:auto; }
}
.notice-link { display:flex; align-items:flex-start; gap:16px; color:inherit; text-decoration:none; }
.notice-link:hover .notice-title { color:var(--primary); }

/* ウェブサイトポリシー */
.policy-page .container { max-width: 920px; }
.policy-title { font-size: 1.8em; border-bottom: 3px solid var(--primary); padding-bottom: 12px; color: var(--primary); margin: 0 0 20px; }
.policy-intro { color: var(--text-sub); margin: 0 0 8px; }
.policy-note { background: var(--section-bg); border-left: 4px solid var(--primary); padding: 12px 16px; margin: 18px 0 32px; font-size: 0.95em; border-radius: 0 var(--radius) var(--radius) 0; }
.policy-block { margin-top: 40px; }
.policy-block > h2 { font-size: 1.4em; border-left: 5px solid var(--primary); padding-left: 12px; color: var(--primary); margin: 0 0 16px; }
.policy-block h3 { font-size: 1.08em; margin: 26px 0 8px; color: var(--text); }
.policy-block p { margin: 10px 0; }
.policy-block ul, .policy-block ol { margin: 10px 0; padding-left: 26px; }
.policy-block li { margin-bottom: 6px; }
.policy-hr { border: none; border-top: 1px solid var(--border); margin: 44px 0; }
.policy-date { margin-top: 28px; text-align: right; color: var(--text-sub); }
