/*
  Workgroup Service – main.css
  軽量・可読性重視のスタイル。外部依存なし。
*/

/* ========== CSS Variables ==========
   カラーパレットとサイズを統一管理
*/
:root {
  --bg: #0b1020;
  --surface: #11162a;
  --card: #161b33;
  --muted: #9aa3b2;
  --text: #e9edf5;
  --primary: #5b8cff;
  --primary-600: #4b74d6;
  --accent: #37d0b3;

  --container: 1100px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-1: 0 10px 30px rgba(0,0,0,.25);
  --shadow-2: 0 16px 40px rgba(0,0,0,.35);
}

/* ========== Base ==========
   リセットに近い最小限の整形
*/
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  color: var(--text);
  background: radial-gradient(1200px 700px at 10% -10%, #1f2647 0%, transparent 60%),
              radial-gradient(1000px 600px at 110% 10%, #182040 0%, transparent 60%),
              var(--bg);
  font: 16px/1.6 system-ui, -apple-system, Segoe UI, Roboto, Noto Sans JP, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container);
  padding: 0 20px;
  margin: 0 auto;
}

.br-md { display: none; }
@media (min-width: 800px) { .br-md { display: inline; } }

/* ========== Buttons ==========
*/
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  height: 44px;
  padding: 0 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,.12);
  color: var(--text);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-1);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-2); }
.btn:active { transform: translateY(0); }
.btn--sm { height: 38px; padding: 0 12px; }

.btn--primary {
  background: linear-gradient(180deg, #6c9aff, #4777ff);
  border-color: #4372f0;
}
.btn--primary:hover { background: linear-gradient(180deg, #7aa3ff, #4f7dff); }

.btn--ghost {
  background: transparent;
  border-color: rgba(255,255,255,.18);
}
.btn--ghost:hover { background: rgba(255,255,255,.06); }

/* ========== Header ==========
*/
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 16, 32, .6);
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; letter-spacing: .2px; }
.logo-icon { display: inline-grid; place-items: center; width: 24px; height: 24px; background: #2a2f4a; border-radius: 6px; color: var(--accent); font-size: 13px; }
.logo-mark { width: 26px; height: 26px; display: block; }
.logo-text { font-size: 16px; }

.nav { display: flex; gap: 18px; align-items: center; }
.nav a { color: var(--muted); font-weight: 600; }
.nav a:hover { color: var(--text); }

/* ========== Hero ==========
*/
.hero { position: relative; padding: 80px 0 40px; overflow: hidden; }
.hero-inner { text-align: center; }
.hero-title { font-size: clamp(28px, 5vw, 46px); line-height: 1.2; margin: 10px 0 12px; }
.hero-sub { color: var(--muted); font-size: clamp(14px, 2.4vw, 18px); margin: 0 auto 22px; max-width: 860px; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.hero-shot { margin: 36px auto 0; max-width: 980px; }
.shot-window { border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255,255,255,.12); background: #0d1226; box-shadow: var(--shadow-2); }
.shot-toolbar { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; background: #0f1430; border-bottom: 1px solid rgba(255,255,255,.06); color: var(--muted); font-weight: 700; letter-spacing: .2px; }
.shot-toolbar span { width: 10px; height: 10px; border-radius: 50%; background: #41486a; display: inline-block; }
.shot-body { display: grid; grid-template-columns: 1.4fr 2fr; gap: 0; }
.shot-pane { padding: 18px; border-right: 1px solid rgba(255,255,255,.06); background: #0f1531; }
.shot-pane--doc { background: #12183a; }
.shot-line { color: var(--muted); padding: 10px 12px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06); border-radius: 10px; margin-bottom: 10px; }
.shot-line em { color: var(--accent); font-style: normal; font-weight: 700; margin-right: 6px; }
.shot-pane--doc h3 { margin: 0 0 10px; }
.shot-pane--doc ul { margin: 0; padding-left: 18px; }
.shot-pane--doc li { margin: 6px 0; }

.hero-bg { position: absolute; inset: -10% -10% auto -10%; height: 50%; pointer-events: none; background: radial-gradient(500px 280px at 30% 20%, rgba(55,208,179,.25), transparent 60%), radial-gradient(600px 320px at 70% 5%, rgba(91,140,255,.25), transparent 60%); filter: blur(30px); opacity: .8; }

/* ========== Sections ==========
*/
section { padding: 70px 0; }
section h2 { font-size: clamp(22px, 3.4vw, 32px); margin: 0 0 8px; }
.section-lead { color: var(--muted); margin: 0 0 20px; }

.grid { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3 { grid-template-columns: 1fr; } }

.card {
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
  padding: 18px 18px 20px;
  min-height: 150px;
}
.card .icon { font-size: 22px; line-height: 1; margin-bottom: 4px; }
.card h3 { margin: 6px 0 6px; font-size: 18px; }
.card p { color: var(--muted); margin: 0; }

/* How section */
.how { background: linear-gradient(180deg, rgba(255,255,255,.02), transparent); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 22px 18px 18px 18px; border: 1px solid rgba(255,255,255,.10); border-radius: var(--radius); background: rgba(255,255,255,.03); }
.badge { position: absolute; top: -12px; left: 16px; display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; color: #0b1020; background: var(--accent); font-weight: 800; box-shadow: var(--shadow-1); }
.step h3 { margin: 0 0 8px; }
.step p { margin: 0; color: var(--muted); }

/* Plans */
.plans-grid { align-items: stretch; }
.plan { background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.10); border-radius: var(--radius); padding: 18px; display: grid; align-content: start; gap: 12px; }
.plan h3 { margin: 4px 0; }
.plan .price { font-size: 22px; font-weight: 800; margin: 2px 0 6px; }
.plan .price span { color: var(--muted); font-size: 12px; font-weight: 600; margin-left: 6px; }
.plan ul { margin: 0 0 8px; padding-left: 18px; color: var(--muted); }
.plan--featured { border-color: rgba(91,140,255,.6); box-shadow: 0 0 0 1px rgba(91,140,255,.45) inset, var(--shadow-2); transform: translateY(-3px); }

/* Contact */
.contact { background: linear-gradient(180deg, rgba(55,208,179,.06), rgba(255,255,255,0)); }
.contact-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Footer */
.site-footer { border-top: 1px solid rgba(255,255,255,.08); background: rgba(0,0,0,.2); }
.footer-inner { display: grid; gap: 10px; align-items: center; grid-template-columns: 1fr auto auto; min-height: 70px; }
@media (max-width: 720px) { .footer-inner { grid-template-columns: 1fr; text-align: center; } }
.footer-brand { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }
.footer-links { display: flex; gap: 14px; color: var(--muted); }
.footer-links a:hover { color: var(--text); }

/* Responsive tweaks */
@media (max-width: 900px) {
  .nav a:not(.btn) { display: none; } /* モバイルではCTAを強調 */
}
