/* Sample G2 CSS: サンプル道東設備屋さん */
:root, [data-theme="light"] {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-alt: #f1f5f9;
  --ink: #0f172a;
  --muted: #475569;
  --line: #cbd5e1;
  --primary: #0f766e;
  --primary-dark: #115e59;
  --primary-light: #f0fdfa;
  --accent: #d97706;
  --shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}
[data-theme="dark"] {
  --bg: #090d16;
  --surface: #0f172a;
  --surface-alt: #1e293b;
  --ink: #f8fafc;
  --muted: #94a3b8;
  --line: #334155;
  --primary: #2dd4bf;
  --primary-dark: #14b8a6;
  --primary-light: rgba(45, 212, 191, 0.1);
  --accent: #f59e0b;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Noto Sans JP', sans-serif;
  background-color: var(--bg);
  color: var(--ink);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
.sample-bar {
  background: #0f172a;
  color: #e2e8f0;
  font-size: 13px;
  padding: 8px 16px;
  text-align: center;
  border-bottom: 1px solid #334155;
}
.sample-bar a { color: #f59e0b; margin-left: 12px; text-decoration: none; font-weight: 700; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }

/* Header */
header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}
.logo { text-decoration: none; color: var(--ink); }
.logo b { font-size: 22px; font-weight: 900; letter-spacing: -0.01em; }
.logo small { display: block; font-size: 12px; color: var(--muted); font-weight: 500; }
nav.global-nav { display: flex; gap: 20px; align-items: center; }
nav.global-nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 600;
  transition: color 0.15s;
}
nav.global-nav a:hover, nav.global-nav a.active { color: var(--primary); }
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #0f172a !important;
  font-weight: 800;
  font-size: 14px;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-alt) 100%);
  border-bottom: 1px solid var(--line);
  padding: 56px 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}
.hero-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  line-height: 1.35;
  margin-bottom: 16px;
}
.hero p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 24px;
}
.hero-img img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow);
  display: block;
}

/* Sections */
section { padding: 60px 0; }
section.alt { background: var(--surface); }
.sec-title {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 12px;
}
.sec-lead {
  font-size: 15.5px;
  color: var(--muted);
  margin-bottom: 32px;
}

/* Cards Grid */
.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  box-shadow: var(--shadow);
}
.card-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  color: var(--primary);
  background: var(--primary-light);
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
}
.card h3 { font-size: 18px; font-weight: 800; margin-bottom: 10px; }
.card p { font-size: 14px; color: var(--muted); }

/* Work Showcase Card */
.case-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.case-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}
.case-body { padding: 22px; }
.case-meta {
  font-size: 13px;
  color: var(--primary);
  font-weight: 700;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}
.team-img img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: var(--shadow);
  display: block;
}

/* Area Chips */
.areas { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.area-chip {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}

/* Footer */
footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 48px 0;
  font-size: 14px;
}
footer b { color: #f8fafc; font-size: 18px; }
footer a { color: #cbd5e1; text-decoration: none; }

@media (max-width: 840px) {
  .hero-grid, .grid3, .team-grid { grid-template-columns: 1fr; }
  nav.global-nav { display: none; }
}
