:root {
  --red: #c40018;
  --black: #111;
  --text: #222;
  --muted: #666;
  --bg: #f5f6f8;
  --line: #e4e4e4;
  --max: 1120px;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.8;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
header { background: #fff; border-top: 5px solid var(--red); border-bottom: 1px solid var(--line); }
.header-inner { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 22px 0; gap: 24px; }
.logo { font-weight: 900; font-size: 26px; letter-spacing: .04em; line-height: 1.15; }
.logo span { display: block; color: var(--red); font-size: 12px; letter-spacing: .22em; margin-top: 5px; }
.header-contact { text-align: right; color: var(--muted); font-size: 13px; }
.header-contact strong { color: var(--black); font-size: 18px; }
.hero { position: relative; background: linear-gradient(90deg, rgba(0,0,0,.82), rgba(0,0,0,.48)), url('../images/hero.webp') center/cover no-repeat; color: #fff; }
.hero .wrap { padding: 88px 0 96px; }
.eyebrow { display: inline-block; padding: 5px 13px; background: var(--red); color: #fff; font-weight: 800; letter-spacing: .16em; font-size: 13px; margin-bottom: 18px; }
.hero h1 { margin: 0 0 20px; font-size: clamp(34px, 5vw, 58px); line-height: 1.18; letter-spacing: .04em; }
.hero p { max-width: 680px; margin: 0; font-size: 17px; color: #f1f1f1; }
.lead-box { margin-top: -46px; position: relative; z-index: 2; }
.lead-box .inner { background: #fff; border-left: 7px solid var(--red); box-shadow: 0 12px 28px rgba(0,0,0,.12); padding: 34px 38px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center; }
.lead-box h2 { margin: 0 0 10px; font-size: 25px; }
.lead-box p { margin: 0; color: var(--muted); }
.lead-points { display: grid; gap: 10px; }
.lead-points div { background: var(--bg); padding: 12px 14px; font-weight: 700; border: 1px solid var(--line); }
.lead-points b { color: var(--red); }
section { padding: 68px 0; }
.section-title { text-align: center; margin-bottom: 36px; }
.section-title .en { color: var(--red); font-weight: 900; letter-spacing: .18em; font-size: 13px; }
.section-title h2 { margin: 6px 0 8px; font-size: 30px; letter-spacing: .05em; }
.section-title p { margin: 0; color: var(--muted); }
.about-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 40px; align-items: center; }
.about-img { background: var(--bg); padding: 28px; border: 1px solid var(--line); min-height: 360px; display: grid; place-items: center; }
.about-img img { max-height: 330px; object-fit: contain; }
.about-text h3 { font-size: 26px; margin: 0 0 14px; line-height: 1.45; }
.about-text p { color: var(--muted); margin: 0 0 14px; }
.gray { background: var(--bg); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { background: #fff; border: 1px solid var(--line); padding: 28px 24px; min-height: 245px; position: relative; overflow: hidden; }
.service-card:before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: var(--red); }
.service-card .num { color: var(--red); font-weight: 900; letter-spacing: .1em; font-size: 13px; }
.service-card h3 { margin: 10px 0 10px; font-size: 20px; }
.service-card p { margin: 0; color: var(--muted); font-size: 15px; }
.product-line { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.product-card { background: #fff; border: 1px solid var(--line); text-align: center; }
.product-card .photo { height: 210px; padding: 24px; display: grid; place-items: center; background: #fafafa; border-bottom: 1px solid var(--line); }
.product-card .photo img { max-height: 165px; object-fit: contain; }
.product-card h3 { margin: 16px 12px 4px; font-size: 17px; }
.product-card p { margin: 0 16px 20px; color: var(--muted); font-size: 13px; }
.strength { background: #151515; color: #fff; }
.strength .section-title p { color: #ccc; }
.strength-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.strength-card { border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.05); padding: 26px 22px; }
.strength-card h3 { margin: 0 0 10px; color: #fff; }
.strength-card p { margin: 0; color: #d5d5d5; font-size: 15px; }
.company-table { width: 100%; border-collapse: collapse; background: #fff; border-top: 1px solid var(--line); }
.company-table th, .company-table td { border-bottom: 1px solid var(--line); padding: 16px 18px; text-align: left; vertical-align: top; }
.company-table th { width: 220px; background: #fafafa; font-weight: 800; }
.contact-box { background: linear-gradient(135deg, var(--red), #8b0010); color: #fff; padding: 42px; display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
.contact-box h2 { margin: 0 0 8px; font-size: 28px; }
.contact-box p { margin: 0; color: rgba(255,255,255,.9); }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 13px 26px; background: #fff; color: var(--red); font-weight: 900; min-width: 180px; }
footer { background: #111; color: #bbb; padding: 30px 0; font-size: 13px; }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer strong { color: #fff; }
@media (max-width: 900px) {
  .header-inner, .lead-box .inner, .about-grid, .service-grid, .product-line, .strength-grid, .contact-box { grid-template-columns: 1fr; }
  .header-inner { display: grid; text-align: center; }
  .header-contact { text-align: center; }
  .hero .wrap { padding: 70px 0 86px; }
  .company-table th { width: 120px; }
  footer .wrap { display: block; text-align: center; }
}
