*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
:root{
  --c-primary:#1a1a2e;
  --c-accent:#4361ee;
  --c-accent-hover:#3a56d4;
  --c-bg:#fafafa;
  --c-surface:#fff;
  --c-text:#1a1a2e;
  --c-text-sub:#64748b;
  --c-border:#e2e8f0;
  --shadow:0 1px 3px rgba(0,0,0,.08);
  --radius:8px;
  --max-w:960px;
}
html{font-size:16px;scroll-behavior:smooth}
body{font-family:"Helvetica Neue",Arial,"Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;color:var(--c-text);background:var(--c-bg);line-height:1.7}

/* --- Header --- */
.header{background:var(--c-surface);border-bottom:1px solid var(--c-border);position:sticky;top:0;z-index:100}
.header-inner{max-width:var(--max-w);margin:0 auto;padding:.75rem 1.5rem;display:flex;align-items:center;justify-content:space-between}
.logo{font-size:1.25rem;font-weight:700;color:var(--c-primary);text-decoration:none;letter-spacing:.02em}
.nav{display:flex;align-items:center;gap:1.5rem}
.nav a{color:var(--c-text-sub);text-decoration:none;font-size:.875rem;transition:color .2s}
.nav a:hover{color:var(--c-accent)}
.lang-switch{font-size:.8rem;padding:.25rem .6rem;border:1px solid var(--c-border);border-radius:4px;color:var(--c-text-sub);text-decoration:none;transition:border-color .2s}
.lang-switch:hover{border-color:var(--c-accent);color:var(--c-accent)}

/* --- Hero --- */
.hero{text-align:center;padding:5rem 1.5rem 4rem;background:linear-gradient(135deg,#f8fafc 0%,#eef2ff 100%)}
.hero h1{font-size:2rem;font-weight:700;margin-bottom:.75rem;line-height:1.3}
.hero p{font-size:1.05rem;color:var(--c-text-sub);max-width:560px;margin:0 auto}

/* --- Section --- */
.section{max-width:var(--max-w);margin:0 auto;padding:4rem 1.5rem}
.section-title{font-size:1.35rem;font-weight:700;margin-bottom:2rem;text-align:center;position:relative}
.section-title::after{content:"";display:block;width:40px;height:3px;background:var(--c-accent);margin:.5rem auto 0;border-radius:2px}

/* --- Services --- */
.services-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}
.service-card{background:var(--c-surface);border:1px solid var(--c-border);border-radius:var(--radius);padding:1.75rem;box-shadow:var(--shadow);transition:transform .2s,box-shadow .2s}
.service-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,0,0,.1)}
.service-icon{font-size:2rem;margin-bottom:.75rem}
.service-card h3{font-size:1rem;font-weight:600;margin-bottom:.5rem}
.service-card p{font-size:.875rem;color:var(--c-text-sub);line-height:1.6}

/* --- Flow --- */
.flow-steps{display:flex;align-items:flex-start;gap:1rem;flex-wrap:wrap;justify-content:center}
.flow-step{text-align:center;flex:1;min-width:140px;max-width:180px;position:relative}
.flow-step-num{width:36px;height:36px;border-radius:50%;background:var(--c-accent);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:.875rem;font-weight:700;margin-bottom:.5rem}
.flow-step h4{font-size:.875rem;font-weight:600;margin-bottom:.25rem}
.flow-step p{font-size:.8rem;color:var(--c-text-sub)}
.flow-arrow{align-self:center;color:var(--c-border);font-size:1.25rem;flex-shrink:0}

/* --- Company Table --- */
.company-table{width:100%;border-collapse:collapse;background:var(--c-surface);border:1px solid var(--c-border);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow)}
.company-table th,.company-table td{padding:.75rem 1rem;text-align:left;border-bottom:1px solid var(--c-border);font-size:.9rem}
.company-table th{background:#f8fafc;width:30%;font-weight:600;white-space:nowrap}
.company-table tr:last-child th,.company-table tr:last-child td{border-bottom:none}

/* --- Contact --- */
.contact-info{text-align:center}
.contact-info p{margin-bottom:.5rem;font-size:.95rem}
.contact-info a{color:var(--c-accent);text-decoration:none}
.contact-info a:hover{text-decoration:underline}

/* --- Footer --- */
.footer{background:var(--c-primary);color:rgba(255,255,255,.7);text-align:center;padding:2rem 1.5rem;font-size:.8rem;margin-top:2rem}
.footer a{color:rgba(255,255,255,.85);text-decoration:none}
.footer a:hover{text-decoration:underline}
.footer-links{margin-bottom:.5rem}
.footer-links a+a{margin-left:1.5rem}

/* --- Responsive --- */
@media(max-width:768px){
  .header-inner{flex-wrap:wrap;gap:.5rem}
  .nav{gap:1rem}
  .hero h1{font-size:1.5rem}
  .services-grid{grid-template-columns:1fr}
  .flow-steps{flex-direction:column;align-items:center}
  .flow-arrow{transform:rotate(90deg)}
  .company-table th{width:35%}
}
