:root {
  --bg: #0b0b0b;
  --surface: #15171b;
  --text: #ffffff;
  --muted: #A0A4B0;
  --accent: #6B3DF4;
  --ring: rgba(107,61,244,.25);
  --radius: 18px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, 'Hiragino Kaku Gothic ProN', Meiryo, 'Noto Sans JP', sans-serif; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { width: min(1120px, 92%); margin: 0 auto; }

.header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 0; flex-wrap: wrap; }
.logo { display: inline-flex; align-items: center; gap: 12px; min-width: 200px; }
.logo-img { width: 280px; height: auto; }
.brand { font-weight: 800; letter-spacing: .2px; display:none; }
.nav { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.nav a { padding: 10px 14px; border-radius: 10px; }
.nav a:hover { background: var(--surface); text-decoration: none; }
.btn-nav { background: var(--accent); color: #0b0b0b; font-weight: 800; border-radius: 999px; }

.hero { position: relative; background-size: cover; background-position: 70% 35%;
  border: 1px solid #1f232a; border-radius: var(--radius); overflow: hidden; }
.hero::after { content:''; position:absolute; inset:0; background: radial-gradient(60% 40% at 70% 35%, rgba(107,61,244,.15), rgba(0,0,0,.5)); }
.hero-inner { position: relative; z-index: 1; padding: 64px 24px; }
.hero h1 { font-size: clamp(30px, 4.5vw, 50px); margin: 0 0 10px; }
.lead { color: var(--muted); line-height: 1.9; max-width: 820px; }
.pill { display: inline-block; margin-top: 10px; padding: 8px 12px; border: 1px solid #2a2d36; border-radius: 999px; color: var(--muted); backdrop-filter: blur(2px); }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.btn { display: inline-block; background: var(--accent); color: #0b0b0b; font-weight: 800; padding: 12px 18px; border-radius: 999px; box-shadow: 0 8px 28px var(--ring); }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid #2a2d36; box-shadow: none; }

.panel { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; margin: 36px 0 60px; align-items: center; }
.panel-text .link { font-weight: 700; }
.panel-visual { border-radius: var(--radius); overflow: hidden; border: 1px solid #1f232a; }

.page { margin: 22px 0; }
.card { background: var(--surface); padding: 22px; border-radius: var(--radius); border: 1px solid #1f232a; margin-bottom: 18px; }
.dense { line-height: 1.95; color: var(--text); }
.bullets { margin: 10px 0 0; padding-left: 20px; }
.bullets li { margin: 6px 0; color: var(--muted); }
.result { margin-top: 8px; color: var(--muted); }

.company-grid { border: 1px solid #1f232a; border-radius: var(--radius); overflow: hidden; }
.company-grid .row { display: grid; grid-template-columns: 160px 1fr; border-bottom: 1px solid #1f232a; }
.company-grid .row:last-child { border-bottom: 0; }
.company-grid .th { background: #0f1116; padding: 14px; color: var(--muted); }
.company-grid .td { padding: 14px; }

.contact { display: grid; gap: 12px; max-width: 720px; }
.contact label { display: grid; gap: 6px; font-weight: 600; }
.contact input, .contact textarea { background: #0f1116; color: var(--text); border: 1px solid #1f232a; border-radius: 12px; padding: 12px; }
.contact input:focus, .contact textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }

.footer { border-top: 1px solid #1f232a; padding: 22px 0 40px; margin-top: 40px; color: var(--muted); }
.foot-grid { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

.container, .hero-inner, .service, .company-grid, .contact { overflow-wrap: anywhere; word-break: normal; }
@media (max-width: 960px) {
  .panel { grid-template-columns: 1fr; }
  .company-grid .row { grid-template-columns: 120px 1fr; }
  .logo-img { width: 220px; }
}
