:root {
  --brand: #0b3d2e;
  --brand-2: #12705a;
  --accent: #e8b41c;
  --ink: #1c1c1c;
  --bg: #ffffff;
  --bg-soft: #eef4f1;
  --muted: #5c6b64;
  --line: #dce6e1;
  --maxw: 1280px;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 61, 46, .10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
}
a { color: var(--brand-2); text-decoration: none; }
a:hover { text-decoration: underline; }

/* accessible focus + restrained motion (existing concept, raised polish) */
:where(a, .btn, input, textarea, select, summary):focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}
@media (prefers-reduced-motion: no-preference) {
  .btn, .card, nav a { transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* header */
.site-header {
  background: var(--brand);
  color: #fff;
  position: sticky; top: 0; z-index: 50;
  box-shadow: var(--shadow);
}
.site-header .wrap { display: flex; align-items: center; gap: 22px; min-height: 64px; }
.brand { font-weight: 800; font-size: 1.25rem; letter-spacing: .02em; color: #fff; }
.brand a { color: inherit; text-decoration: none; }
.brand a:hover { color: var(--accent); text-decoration: none; }
.brand small { display: block; font-size: .68rem; font-weight: 500; color: #bfe3d4; letter-spacing: .06em; }
.site-header nav { margin-left: auto; display: flex; gap: 20px; flex-wrap: wrap; }
.site-header nav a { color: #eaf6f1; font-weight: 600; }
.site-header nav a:hover { color: var(--accent); text-decoration: none; }

/* hero */
.hero {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 70%, #1e8a6e 100%);
  color: #fff;
  padding: 84px 0 96px;
}
.hero .kicker { color: var(--accent); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .85rem; }
.hero h1 { font-size: clamp(1.8rem, 4.4vw, 3rem); line-height: 1.25; margin: 18px 0 14px; }
.hero .lead { font-size: clamp(1.05rem, 1.8vw, 1.25rem); color: #e7f3ee; line-height: 1.85; }
.hero-compact { padding: 56px 0; }
.hero .cta-row { margin-top: 30px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-block; padding: 14px 26px; border-radius: 999px;
  font-weight: 700; cursor: pointer; border: 2px solid transparent;
}
.btn-primary { background: var(--accent); color: var(--ink); box-shadow: 0 4px 14px rgba(232, 180, 28, .28); }
.btn-primary:hover { background: #f6c94e; transform: translateY(-1px); text-decoration: none; box-shadow: 0 8px 20px rgba(232, 180, 28, .34); }
.btn-primary:active { transform: translateY(0); box-shadow: 0 2px 8px rgba(232, 180, 28, .24); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); transform: translateY(-1px); text-decoration: none; }
.btn-ghost:active { transform: translateY(0); background: rgba(255,255,255,.14); }

/* sections */
section { padding: 64px 0; }
.section-title { font-size: clamp(1.4rem, 3vw, 2rem); margin: 0 0 8px; }
.section-sub { color: var(--muted); margin: 0 0 34px; }

/* bullet-less lists as cards (e.g. 社内SE menu) */
.feature-list {
  list-style: none; margin: 1.5rem 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 22px;
}
.feature-list li {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 18px; font-weight: 600;
}
@media (max-width: 820px) { .feature-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .feature-list { grid-template-columns: 1fr; } }

/* feature / value props */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 820px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.card h3 { margin: 0 0 8px; font-size: 1.1rem; }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }
.card .num { color: var(--accent); font-weight: 800; font-size: .8rem; letter-spacing: .1em; }
@media (prefers-reduced-motion: no-preference) {
  .card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(11, 61, 46, .14); }
}

/* work (demo) cards */
.work-card { display: flex; flex-direction: column; }
.work-card h3 { font-size: 1.15rem; margin: 0; }
.work-card .industry { color: var(--muted); font-size: .9rem; margin: 6px 0 14px; }
.work-card .price { font-weight: 800; color: var(--brand-2); margin-bottom: 16px; }
.work-card .btn { align-self: flex-start; margin-top: auto; }

/* contact form — 2列で横幅を有効活用 */
.contact-form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px;
}
.contact-form .field:nth-child(3),
.contact-form .field:nth-child(4),
.contact-form .form-actions,
.contact-form > button[type="submit"] { grid-column: 1 / -1; }
.form-error {
  color: #c0392b; font-weight: 600; margin: 0 0 18px;
  padding: 12px 14px; background: #fbeae7; border-radius: 10px;
}
.form-actions { margin-top: 4px; }
@media (max-width: 640px) { .contact-form { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.field small { color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: 10px; font: inherit; font-size: 1rem; background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease;
}
@media (prefers-reduced-motion: no-preference) {
  .field input:focus, .field textarea:focus, .field select:focus {
    outline: none; border-color: var(--brand-2);
    box-shadow: 0 0 0 3px rgba(18, 112, 90, .15);
  }
}
.field textarea { min-height: 140px; resize: vertical; }
.field .error { color: #c0392b; font-weight: 600; }
.notice { padding: 14px 16px; border-radius: 10px; margin-bottom: 22px; font-weight: 600; }
.notice.ok { background: #e7f6ee; color: var(--brand-2); }
.notice.err { background: #fbeae7; color: #c0392b; }

footer {
  background: var(--ink); color: #cfd8d3; padding: 34px 0 46px; margin-top: 40px;
}
footer .wrap { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
footer a { color: #bfe3d4; }
footer small { color: #8fa39a; }

/* responsive polish (existing concept, tightened for small screens) */
@media (max-width: 640px) {
  .site-header .wrap { gap: 12px; }
  .brand small { line-height: 1.4; }
  section { padding: 48px 0; }
  .hero { padding: 56px 0 68px; }
  .cta-row .btn { width: 100%; text-align: center; }
}

/* table for about */
table.data { width: 100%; border-collapse: collapse; }
table.data th, table.data td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; }
table.data th { background: var(--bg-soft); width: 180px; }
