/* GenesisHub株式会社 — site styles (redesign 2026) */
:root {
  --navy: #0f2340;
  --navy-deep: #0a1830;
  --ink: #141c2b;
  --text: #2b3445;
  --muted: #5f6b7d;
  --accent: #d9432f;
  --accent-dark: #b9351f;
  --accent-soft: #fbe9e6;
  --bg: #ffffff;
  --surface: #f5f7fa;
  --border: #e3e8ef;
  --line-green: #06c755;
  --max: 1160px;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15,35,64,.05), 0 8px 24px -12px rgba(15,35,64,.18);
  --font: "Inter", "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; font-family: var(--font); color: var(--text); background: var(--bg);
  line-height: 1.85; font-size: 15px; -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt";
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.3; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 8px; font-size: 14px; font-weight: 600; line-height: 1.2;
  border: 1px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s;
  font-family: inherit;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-outline { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.1); }
.btn-ghost { border-color: var(--border); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--navy); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); }
.btn-line { background: var(--line-green); color: #fff; }
.btn-line:hover { filter: brightness(.94); }
.btn svg { width: 16px; height: 16px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.brand { display: flex; align-items: baseline; gap: 6px; font-weight: 700; font-size: 19px; color: var(--ink); letter-spacing: -.02em; white-space: nowrap; }
.brand .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); transform: translateY(-1px); }
.brand small { font-size: 12px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 8px 14px; font-size: 14px; font-weight: 500; color: var(--text); border-radius: 6px; }
.nav a:hover { color: var(--ink); background: var(--surface); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav .btn { margin-left: 8px; padding: 9px 16px; }
.lang {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; margin-left: 4px;
  border: 1px solid var(--border); border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--muted);
}
.lang:hover { color: var(--ink); border-color: var(--navy); }
.lang svg { width: 14px; height: 14px; }
.menu-btn { display: none; background: none; border: 1px solid var(--border); border-radius: 8px; width: 42px; height: 42px; cursor: pointer; align-items: center; justify-content: center; }
.menu-btn span { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(1200px 600px at 85% -10%, rgba(217,67,47,.22), transparent 60%),
              linear-gradient(160deg, #12294b 0%, var(--navy) 55%, var(--navy-deep) 100%);
  padding: 96px 0 88px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
}
.hero .wrap { position: relative; }
.hero-copy { max-width: 800px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--accent); }
.hero .eyebrow { color: #f3b8ae; } .hero .eyebrow::before { background: #f3b8ae; }
.hero h1 { color: #fff; font-size: 48px; line-height: 1.18; font-weight: 700; margin: 22px 0 20px; letter-spacing: -.02em; }
.hero h1 .sub { display: block; font-size: 20px; font-weight: 400; color: rgba(255,255,255,.75); margin-top: 14px; letter-spacing: 0; }
.hero .lead { font-size: 16px; color: rgba(255,255,255,.82); max-width: 640px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
/* Trust strip */
.strip { border-bottom: 1px solid var(--border); background: #fff; }
.strip ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.strip li { display: flex; align-items: center; gap: 10px; padding: 20px 18px; font-size: 13.5px; font-weight: 500; color: var(--ink); border-left: 1px solid var(--border); }
.strip li:first-child { border-left: 0; padding-left: 0; }
.strip li svg { width: 22px; height: 22px; color: var(--accent); flex: none; }

/* Sections */
.section { padding: 96px 0; }
.section.alt { background: var(--surface); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head h2 { font-size: 36px; font-weight: 700; margin: 14px 0 16px; letter-spacing: -.02em; }
.section-head h2 .en { display: block; font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: .06em; margin-top: 6px; }
.section-head p { color: var(--muted); font-size: 15px; }

/* Service cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.svc {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 28px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.svc:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d3dae4; }
.svc .ico { width: 48px; height: 48px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 22px; }
.svc .ico svg { width: 24px; height: 24px; }
.svc h3 { font-size: 18px; margin-bottom: 6px; }
.svc h3 .en { display: block; font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: .04em; margin-top: 4px; }
.svc p { font-size: 14px; color: var(--muted); margin-top: 12px; }

/* Process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 26px; left: 12%; right: 12%; height: 1px; background: var(--border); }
.steps li { position: relative; padding-top: 72px; }
.steps li::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 0; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; background: var(--navy); color: #fff; font-weight: 700; font-size: 15px;
  box-shadow: 0 0 0 8px var(--surface);
}
.section:not(.alt) .steps li::before { box-shadow: 0 0 0 8px #fff; }
.steps h3 { font-size: 17px; margin-bottom: 8px; }
.steps p { font-size: 14px; color: var(--muted); }

/* Strengths */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.why article { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--border); }
.why .num { font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: .08em; padding-top: 4px; }
.why h3 { font-size: 19px; margin-bottom: 6px; }
.why h3 .en { display: block; font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: .04em; margin-top: 2px; }
.why p { font-size: 14px; color: var(--muted); margin-top: 10px; }

/* Products */
.feature { display: grid; grid-template-columns: 1.1fr 1fr; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: #fff; }
.feature .media { position: relative; min-height: 360px; background: #0b1b2a; }
.feature .media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.feature .body { padding: 44px 44px; }
.feature .tag { display: inline-block; font-size: 12px; font-weight: 600; color: var(--accent); background: var(--accent-soft); padding: 4px 10px; border-radius: 999px; margin-bottom: 14px; }
.feature h3 { font-size: 28px; margin-bottom: 14px; }
.feature p { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.feature dl { margin: 18px 0 24px; display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; font-size: 13px; }
.feature dt { color: var(--muted); white-space: nowrap; } .feature dd { margin: 0; color: var(--ink); }
.products { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.product { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: #fff; }
.product img { width: 100%; aspect-ratio: 16/8; object-fit: cover; }
.product .body { padding: 22px 26px 26px; }
.product h3 { font-size: 18px; margin-bottom: 6px; }
.product p { font-size: 14px; color: var(--muted); }

/* Company snapshot */
.company-card { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; }
.company-card .intro h2 { font-size: 32px; margin: 14px 0 16px; letter-spacing: -.02em; }
.company-card .intro p { color: var(--muted); margin-bottom: 26px; }
.company-card dl { margin: 0; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 8px 30px; }
.company-card .row { display: grid; grid-template-columns: 140px 1fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.company-card .row:last-child { border-bottom: 0; }
.company-card dt { color: var(--muted); } .company-card dd { margin: 0; color: var(--ink); }
.company-card dd ul { margin: 0; padding-left: 18px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.contact-info h2 { font-size: 36px; margin: 14px 0 16px; letter-spacing: -.02em; }
.contact-info p { color: var(--muted); }
.contact-info .meta { margin-top: 32px; display: grid; gap: 18px; }
.contact-info .meta div { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; font-size: 14px; }
.contact-info .meta svg { width: 40px; height: 40px; padding: 9px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); }
.contact-info .meta strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: 2px; }
.contact-info .meta a:hover { color: var(--accent); }
.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.form-card .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-card .field { margin-bottom: 18px; }
.form-card label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.form-card label .req { color: var(--accent); margin-left: 3px; }
.form-card input, .form-card textarea {
  width: 100%; border: 1px solid #cfd6e0; border-radius: 8px; background: #fff; padding: 11px 13px;
  font: inherit; font-size: 14px; color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.form-card input:focus, .form-card textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(15,35,64,.12); }
.form-card textarea { min-height: 150px; resize: vertical; }
.form-card button { width: 100%; margin-top: 4px; padding: 14px; font-size: 15px; }
.form-card button:disabled { opacity: .6; cursor: default; }
.form-card .note { font-size: 12px; color: var(--muted); text-align: center; margin-top: 14px; }
.form-status { font-size: 14px; margin-top: 16px; padding: 12px 14px; border-radius: 8px; border: 1px solid; }
.form-status.ok { color: #1f6b3a; border-color: #b7dfc4; background: #eef8f1; }
.form-status.error { color: #9b1c1c; border-color: #f0c1c1; background: #fdf0f0; }

/* Footer */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.7); padding: 64px 0 28px; font-size: 14px; }
.site-footer .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.1); }
.site-footer .brand { color: #fff; }
.site-footer .brand small { color: rgba(255,255,255,.55); }
.site-footer .tagline { margin-top: 14px; max-width: 320px; }
.site-footer h2 { color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a:hover { color: #fff; }
.site-footer .bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; font-size: 12px; color: rgba(255,255,255,.45); }

/* Sub-pages */
.page-hero { background: linear-gradient(160deg, #12294b 0%, var(--navy) 60%, var(--navy-deep) 100%); color: #fff; padding: 80px 0 72px; }
.page-hero .eyebrow { color: #f3b8ae; } .page-hero .eyebrow::before { background: #f3b8ae; }
.page-hero h1 { color: #fff; font-size: 40px; margin: 18px 0 14px; letter-spacing: -.02em; }
.page-hero p { color: rgba(255,255,255,.8); font-size: 16px; max-width: 640px; }
.mission { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.mission blockquote { margin: 0; font-size: 26px; line-height: 1.5; font-weight: 700; color: var(--ink); letter-spacing: -.01em; padding-left: 24px; border-left: 4px solid var(--accent); }
.mission p { color: var(--muted); }
.prose { max-width: 820px; margin: 0 auto; }
.prose h1 { font-size: 34px; margin-bottom: 8px; }
.prose .updated { color: var(--muted); font-size: 13px; margin-bottom: 40px; }
.prose h2 { font-size: 20px; margin: 40px 0 12px; padding-top: 8px; }
.prose p, .prose li { font-size: 14.5px; color: var(--text); }
.prose p { margin: 0 0 14px; }
.prose ol, .prose ul { margin: 0 0 16px; padding-left: 24px; }
.prose li { margin: 4px 0; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose .circled { list-style: none; padding-left: 8px; margin-top: 6px; }

/* Responsive */
@media (max-width: 1000px) {
  .hero h1 { font-size: 38px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .steps::before { display: none; }
  .company-card, .contact-grid, .mission { grid-template-columns: 1fr; gap: 36px; }
  .feature { grid-template-columns: 1fr; }
  .feature .media { min-height: 260px; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .strip ul { grid-template-columns: repeat(2, 1fr); }
  .strip li:nth-child(3) { border-left: 0; padding-left: 0; }
  .strip li { border-top: 1px solid var(--border); }
  .strip li:nth-child(-n+2) { border-top: 0; }
}
@media (max-width: 760px) {
  .section { padding: 68px 0; }
  .hero { padding: 64px 0 60px; }
  .hero h1 { font-size: 31px; }
  .hero h1 .sub { font-size: 17px; }
  .section-head h2, .contact-info h2, .company-card .intro h2 { font-size: 28px; }
  .grid-3, .grid-2, .why, .products, .steps { grid-template-columns: 1fr; }
  .why article { grid-template-columns: 44px 1fr; padding: 22px; }
  .feature .body { padding: 28px 24px; }
  .form-card { padding: 24px 20px; }
  .form-card .row2 { grid-template-columns: 1fr; gap: 0; }
  .site-footer .cols { grid-template-columns: 1fr; gap: 28px; }
  .strip ul { grid-template-columns: 1fr; }
  .strip li { border-left: 0; padding: 14px 0; }
  .strip li:nth-child(-n+2) { border-top: 1px solid var(--border); } .strip li:first-child { border-top: 0; }
  .company-card .row { grid-template-columns: 1fr; gap: 2px; }
  .company-card dt { font-size: 12px; }
  .page-hero h1 { font-size: 30px; }
  .mission blockquote { font-size: 21px; }
  /* Mobile nav */
  .menu-btn { display: inline-flex; }
  .nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--border); padding: 12px 24px 20px; gap: 4px;
    box-shadow: 0 16px 32px -20px rgba(15,35,64,.3);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 8px; font-size: 15px; }
  .nav .btn { margin: 8px 0 0; }
  .nav .lang { margin: 10px 0 0; justify-content: center; }
}
