/* GYOMU AI — ライトグレー×黒×エレクトリックブルーのテック（グリッド・UIウィンドウ） */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --ink: #0e1116; --muted: #5a636e; --line: #e2e6eb;
  --bg: #f4f5f7; --bg-soft: #eceef1; --card: #ffffff;
  --blue: #2563eb; --blue-d: #1d4ed8; --blue-soft: #e8effd;
  --mono: 'Consolas', 'SFMono-Regular', 'Courier New', monospace;
  --font: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic', 'Meiryo', sans-serif;
  /* 旧変数互換 */
  --navy: #0e1116; --navy-d: #000000; --navy-bg: #e8effd; --navy-border: #c8d8f5; --white: #ffffff;
}
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--ink); font-size: 16px; line-height: 1.8; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }

/* ナビ：黒バー */
nav { position: fixed; top: 0; left: 0; right: 0; padding: 1rem 2rem; display: flex; justify-content: space-between; align-items: center; background: rgba(14,17,22,0.96); backdrop-filter: blur(8px); border-bottom: 1px solid #23272e; z-index: 100; }
.logo { font-family: var(--mono); font-size: 17px; font-weight: 700; letter-spacing: 0.1em; color: #fff; text-decoration: none; }
.logo span { color: var(--blue) !important; }
.nav-links { display: flex; gap: 1.9rem; align-items: center; }
.nav-link { font-size: 13px; color: #9aa3ad; text-decoration: none; letter-spacing: 0.05em; font-weight: 600; }
.nav-link:hover, .nav-link.active { color: #fff; }
.nav-cta { font-size: 13px; padding: 0.55rem 1.4rem; background: var(--blue); border-radius: 6px; color: #fff !important; text-decoration: none; letter-spacing: 0.05em; font-weight: 700; transition: background 0.15s; }
.nav-cta:hover { background: var(--blue-d); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0; color: #fff; }
.nav-toggle svg { width: 26px; height: 26px; display: block; }
.nav-overlay { display: none; }

/* ヒーロー：グリッド紙面×右に写真カード */
.hero { position: relative; min-height: 88vh; display: flex; align-items: center; color: var(--ink); overflow: hidden; background: var(--bg); background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 44px 44px; }
.hero-bg { position: absolute; top: 10%; right: -4%; bottom: 10%; width: 46%; background-size: cover; background-position: center; z-index: 0; border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 30px 70px rgba(14,17,22,0.18); }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(244,245,247,0.9) 0%, rgba(244,245,247,0) 40%); border-radius: 14px; }
.hero-inner { position: relative; z-index: 1; max-width: 1140px; margin: 0 auto; padding: 8rem 2rem 4rem; width: 100%; }
.hero-eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); margin-bottom: 1.5rem; font-weight: 700; }
.hero h1 { font-size: clamp(29px, 5vw, 52px); font-weight: 800; line-height: 1.35; letter-spacing: 0.005em; margin-bottom: 1.75rem; max-width: 660px; }
.hero h1 .accent { color: var(--blue); }
.hero-body { font-size: clamp(14.5px, 1.9vw, 16.5px); color: var(--muted); max-width: 540px; line-height: 2; margin-bottom: 2.5rem; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero .btn-white { background: var(--ink); color: #fff; }
.hero .btn-white:hover { opacity: 0.85; }
.hero .btn-ghost { color: var(--ink); border-color: #c6ccd4; background: #fff; }
.hero .btn-ghost:hover { border-color: var(--ink); background: #fff; }

/* ボタン */
.btn-rose, .btn-navy { display: inline-flex; align-items: center; gap: 9px; padding: 1rem 2.1rem; background: var(--blue); color: #fff; text-decoration: none; font-size: 14px; font-weight: 700; letter-spacing: 0.03em; border-radius: 8px; transition: background 0.15s; border: none; cursor: pointer; }
.btn-rose:hover, .btn-navy:hover { background: var(--blue-d); }
.btn-white { display: inline-flex; align-items: center; gap: 9px; padding: 1rem 2.1rem; background: #fff; color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 700; letter-spacing: 0.03em; border-radius: 8px; transition: opacity 0.15s; }
.btn-white:hover { opacity: 0.9; }
.btn-ghost { display: inline-flex; align-items: center; gap: 9px; padding: 1rem 2.1rem; background: transparent; color: #fff; text-decoration: none; font-size: 14px; font-weight: 700; letter-spacing: 0.03em; border-radius: 8px; border: 1.5px solid rgba(255,255,255,0.6); transition: background 0.15s; }
.btn-ghost:hover { background: rgba(255,255,255,0.1); }
.btn-rose svg, .btn-white svg, .btn-ghost svg, .btn-navy svg { width: 16px; height: 16px; flex-shrink: 0; }

/* セクション */
.section { max-width: 1100px; margin: 0 auto; padding: 6rem 2rem; }
.section.soft, .bg-soft { background: var(--bg-soft); }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); font-weight: 700; margin-bottom: 1rem; }
.eyebrow.center { text-align: center; }
h2 { font-size: clamp(24px, 3.6vw, 36px); font-weight: 800; line-height: 1.35; letter-spacing: 0.005em; margin-bottom: 1.25rem; color: var(--ink); }
h2.center { text-align: center; }
.lead { font-size: 15.5px; color: var(--muted); line-height: 2; max-width: 640px; }
.lead.center { margin-left: auto; margin-right: auto; text-align: center; }

/* 訴求バー：黒×モノスペース */
.stats { background: var(--ink); color: #fff; }
.stats-inner { max-width: 1100px; margin: 0 auto; padding: 4.25rem 2rem; }
.stats-head { font-size: clamp(20px, 3vw, 29px); font-weight: 800; margin-bottom: 0.5rem; }
.stats-sub { color: #9aa3ad; font-size: 13.5px; margin-bottom: 2.5rem; font-family: var(--mono); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; }
.stats-grid > div { background: #171b22; border: 1px solid #262b33; border-radius: 10px; padding: 1.5rem 1.4rem; }
.stat-num { font-size: 21px; font-weight: 800; line-height: 1.35; margin-bottom: 0.6rem; color: #7ea8f8; }
.stat-desc { font-size: 13px; color: #9aa3ad; line-height: 1.9; }

/* サービス：UIウィンドウ風カード */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.svc-card { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--card); transition: box-shadow 0.15s, transform 0.15s; display: flex; flex-direction: column; position: relative; padding-top: 38px; box-shadow: 0 2px 8px rgba(14,17,22,0.05); }
.svc-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 38px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.svc-card::after { content: "● ● ●"; position: absolute; top: 11px; left: 15px; font-size: 8px; letter-spacing: 4px; color: #c3c9d1; }
.svc-card:hover { box-shadow: 0 14px 40px rgba(37,99,235,0.14); transform: translateY(-3px); }
.svc-photo { display: none; }
.svc-body { padding: 1.6rem 1.6rem 1.8rem; flex: 1; }
.svc-no { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--blue); font-weight: 700; margin-bottom: 0.7rem; }
.svc-no::before { content: "task_"; color: #a6b6d6; }
.svc-card h3 { font-size: 16.5px; font-weight: 800; margin-bottom: 0.6rem; line-height: 1.5; }
.svc-card p { font-size: 13.5px; color: var(--muted); line-height: 1.9; }

/* 帯 */
.band { position: relative; color: #fff; overflow: hidden; }
.band-bg { position: absolute; inset: 0; background-color: #0e1116; background-size: cover; background-position: center; }
.band-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10,12,16,0.95), rgba(23,32,50,0.85)); }
.band-inner { position: relative; z-index: 1; max-width: 1100px; margin: 0 auto; padding: 5.5rem 2rem; }
.band .eyebrow { color: #7ea8f8; }
.band h2 { color: #fff; }
.band .lead { color: #b6bec9; }

/* 2カラム */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.split-img { border-radius: 12px; aspect-ratio: 4/3; background-color: var(--blue-soft); background-size: cover; background-position: center; box-shadow: 0 18px 50px rgba(14,17,22,0.15); border: 1px solid var(--line); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.5rem; }
.tag { font-family: var(--mono); font-size: 11.5px; padding: 5px 12px; border: 1px solid #c8d8f5; border-radius: 6px; color: var(--blue-d); background: var(--blue-soft); font-weight: 600; }

/* プロセス */
.steps { margin-top: 3rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.4rem; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 2rem 1.75rem; box-shadow: 0 2px 8px rgba(14,17,22,0.05); }
.step-n { width: 38px; height: 38px; border-radius: 8px; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-weight: 700; margin-bottom: 1rem; }
.step h3 { font-size: 16px; font-weight: 800; margin-bottom: 0.4rem; }
.step .meta { font-family: var(--mono); font-size: 11.5px; color: var(--blue); font-weight: 700; margin-bottom: 0.5rem; }
.step p { font-size: 13.5px; color: var(--muted); line-height: 1.85; }

/* 料金 */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.price-card { border: 1px solid var(--line); border-radius: 12px; padding: 2.1rem 1.9rem; background: var(--card); box-shadow: 0 2px 8px rgba(14,17,22,0.05); }
.price-card.feature { border: 2px solid var(--blue); position: relative; }
.price-badge { position: absolute; top: -13px; left: 1.9rem; background: var(--blue); color: #fff; font-size: 11px; font-weight: 800; padding: 3px 12px; border-radius: 6px; font-family: var(--mono); letter-spacing: 0.06em; }
.price-name { font-size: 17px; font-weight: 800; margin-bottom: 0.3rem; }
.price-val { font-family: var(--mono); font-size: 29px; font-weight: 700; color: var(--ink); margin: 0.5rem 0; }
.price-val small { font-size: 13px; color: var(--muted); font-weight: 600; font-family: var(--font); }
.price-card ul { list-style: none; margin-top: 1rem; }
.price-card li { font-size: 13px; color: var(--muted); padding: 0.4rem 0; border-bottom: 1px solid var(--line); }
.price-card li::before { content: "✓ "; color: var(--blue); font-weight: 800; }

/* CTA */
.cta-band { position: relative; color: #fff; text-align: center; overflow: hidden; }
.cta-band-bg { position: absolute; inset: 0; background-color: #0e1116; background-size: cover; background-position: center; }
.cta-band-bg::after { content: ""; position: absolute; inset: 0; background: rgba(10,12,16,0.92); }
.cta-band-inner { position: relative; z-index: 1; padding: 6rem 2rem; max-width: 760px; margin: 0 auto; }
.cta-band h2 { color: #fff; }
.cta-band .eyebrow { color: #7ea8f8 !important; }
.cta-band p { color: #b6bec9; font-size: 15px; margin-bottom: 2.5rem; }
.cta-band .btn-white { background: var(--blue); color: #fff; }
.cta-band .btn-white:hover { background: var(--blue-d); opacity: 1; }
.cta-mail { display: inline-block; margin-top: 1.25rem; color: #7ea8f8; text-decoration: none; font-size: 14px; font-family: var(--mono); }

/* 下層ページ見出し */
.page-head { background: var(--ink); color: #fff; padding: 8.5rem 2rem 3.5rem; text-align: center; background-image: linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px); background-size: 44px 44px; }
.page-head .eyebrow { color: #7ea8f8 !important; }
.page-head h1 { font-size: clamp(28px, 4.5vw, 44px); font-weight: 800; }
.page-head p { color: #b6bec9; max-width: 580px; margin: 1rem auto 0; }

/* 法務テキスト */
.doc { max-width: 800px; margin: 0 auto; padding: 4rem 2rem 5rem; }
.doc h2 { font-size: 19px; margin: 2.25rem 0 0.75rem; }
.doc p, .doc li { font-size: 14px; color: var(--muted); line-height: 1.95; }
.doc ul, .doc ol { margin: 0.5rem 0 0.5rem 1.4rem; }
.legal { max-width: 860px; margin: 0 auto; padding: 4rem 2rem 5rem; }
.legal dl { display: grid; grid-template-columns: 220px 1fr; border-top: 1px solid var(--line); }
.legal dt { font-weight: 700; font-size: 14px; color: var(--ink); padding: 1.1rem 1rem 1.1rem 0; border-bottom: 1px solid var(--line); }
.legal dd { font-size: 14px; color: var(--muted); padding: 1.1rem 0; border-bottom: 1px solid var(--line); line-height: 1.85; }
.legal dd .ph { background: var(--blue-soft); color: var(--blue-d); padding: 1px 6px; border-radius: 4px; font-weight: 700; }
@media (max-width:640px){ .legal dl { grid-template-columns: 1fr; } .legal dt { border-bottom: none; padding-bottom: 0.2rem; } }

footer { background: #0e1116; color: #7a828c; padding: 2.5rem 2rem; text-align: center; font-size: 12px; letter-spacing: 0.04em; }
footer a { color: #b6c8f0; text-decoration: none; margin: 0 0.6rem; }

.divider { border: none; border-top: 1px solid var(--line); }

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
  nav { padding: 0.9rem 1.25rem; }
  .nav-toggle { display: block; }
  .nav-links { position: fixed; top: 0; right: 0; bottom: 0; width: 74%; max-width: 300px; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 1.6rem; padding: 5.5rem 2rem 2rem; background: #12151b; border-left: 1px solid #262b33; box-shadow: -8px 0 30px rgba(0,0,0,0.4); transform: translateX(106%); transition: transform 0.28s ease; z-index: 120; }
  .nav-links.open { transform: translateX(0); }
  .nav-link { font-size: 16px; }
  .nav-cta { font-size: 15px; padding: 0.7rem 1.5rem; }
  .nav-overlay.open { display: block; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 115; }
  .section { padding: 4rem 1.25rem; }
  .hero { min-height: 74vh; }
  .hero-bg { display: none; }
  .hero-inner { padding: 7rem 1.25rem 3.5rem; }
  .stats-inner, .band-inner, .cta-band-inner { padding-left: 1.25rem; padding-right: 1.25rem; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .btn-rose, .btn-white, .btn-ghost, .btn-navy { justify-content: center; }
}
