/*
Theme Name: STEIGHT
Theme URI: https://steight.co.jp
Author: STEIGHT
Description: STEIGHT official website theme
Version: 1.0
License: All Rights Reserved
*/

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --ink:       #111118;
  --white:     #ffffff;
  --surface:   #f4f4f8;
  --border:    #e8e8ec;
  --muted:     #888894;
  --accent:    #a0a8c4;
  --accent-lt: #c4c8d8;
}
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', sans-serif;
  background: var(--white);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }

/* ── Nav ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 0.5px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2.5rem;
  height: 60px;
}
.nav-logo img { height: 28px; width: auto; display: block; }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a { font-size: 12px; color: var(--muted); letter-spacing: 0.05em; transition: color 0.2s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  background: var(--ink);
  color: var(--white) !important;
  font-size: 12px !important;
  padding: 8px 20px;
  border-radius: 2px;
  letter-spacing: 0.05em;
  transition: opacity 0.2s !important;
}
.nav-cta:hover { opacity: 0.75; }

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 2.5rem;
  padding-top: 60px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(160,168,196,0.08);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: 5%;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(160,168,196,0.05);
  pointer-events: none;
}
.hero-inner { max-width: 860px; margin: 0 auto; width: 100%; }
.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 1.75rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.2s forwards;
}
.hero-title {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.35s forwards;
}
.hero-title .dim { color: var(--accent-lt); }
.hero-sub {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.9;
  max-width: 480px;
  margin-bottom: 2.75rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.5s forwards;
}
.hero-actions {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.65s forwards;
}
.btn-primary {
  background: var(--ink);
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  padding: 13px 32px;
  border-radius: 2px;
  letter-spacing: 0.05em;
  transition: opacity 0.2s;
  display: inline-block;
}
.btn-primary:hover { opacity: 0.75; }
.btn-ghost {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.04em;
  border-bottom: 0.5px solid var(--border);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.btn-ghost:hover { color: var(--ink); border-color: var(--ink); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Section base ── */
section { padding: 6rem 2.5rem; }
.section-inner { max-width: 860px; margin: 0 auto; }
.section-eyebrow {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-eyebrow::after {
  content: '';
  flex: 1;
  height: 0.5px;
  background: var(--border);
}

/* ── Services ── */
.services { background: var(--surface); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.service-card {
  background: var(--white);
  border: 0.5px solid var(--border);
  border-radius: 6px;
  padding: 1.5rem;
  transition: box-shadow 0.2s, transform 0.2s;
}
.service-card:hover {
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}
.service-card.featured {
  grid-column: span 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.service-num { font-size: 10px; color: var(--accent); letter-spacing: 0.12em; font-weight: 500; margin-bottom: 10px; }
.service-name { font-size: 15px; font-weight: 500; color: var(--ink); margin-bottom: 6px; }
.service-desc { font-size: 12px; color: var(--muted); line-height: 1.6; }
.service-arrow { font-size: 13px; color: var(--accent); letter-spacing: 0.04em; white-space: nowrap; margin-left: 1rem; }

/* ── About ── */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
}
.about-title .accent { color: var(--accent); }
.about-body { font-size: 14px; color: var(--muted); line-height: 1.9; }
.about-visual {
  aspect-ratio: 4/3;
  background: var(--surface);
  border-radius: 6px;
  border: 0.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-visual-inner { text-align: center; }
.about-logo-img { width: 200px; height: auto; display: block; margin: 0 auto; }
.about-tagline { font-size: 11px; color: var(--muted); letter-spacing: 0.12em; margin-top: 8px; text-transform: uppercase; }
.stats { display: flex; gap: 2.5rem; margin-top: 2.5rem; }
.stat-num { font-size: 32px; font-weight: 500; letter-spacing: -0.03em; color: var(--ink); }
.stat-label { font-size: 11px; color: var(--muted); margin-top: 4px; letter-spacing: 0.05em; }

/* ── Company ── */
.company { background: var(--surface); }
.company-table { width: 100%; border-collapse: collapse; }
.company-table tr { border-bottom: 0.5px solid var(--border); }
.company-table tr:first-child { border-top: 0.5px solid var(--border); }
.company-table th, .company-table td {
  text-align: left;
  padding: 1.25rem 0;
  font-size: 14px;
  font-weight: 400;
  vertical-align: top;
}
.company-table th {
  width: 180px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-top: 1.4rem;
}
.company-table td { color: var(--ink); line-height: 1.7; }

/* ── Contact ── */
.contact { background: var(--ink); }
.contact .section-eyebrow { color: rgba(255,255,255,0.3); }
.contact .section-eyebrow::after { background: rgba(255,255,255,0.1); }
.contact-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 3rem; }
.contact-title { font-size: clamp(28px, 4vw, 48px); font-weight: 500; color: var(--white); line-height: 1.2; letter-spacing: -0.025em; }
.contact-title .dim { color: rgba(255,255,255,0.3); }
.contact-sub { font-size: 14px; color: rgba(255,255,255,0.45); line-height: 1.8; max-width: 360px; }
.contact-right { flex-shrink: 0; }
.btn-accent {
  background: var(--accent);
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  padding: 14px 36px;
  border-radius: 2px;
  letter-spacing: 0.05em;
  display: inline-block;
  transition: opacity 0.2s;
}
.btn-accent:hover { opacity: 0.85; }

/* ── Footer ── */
footer {
  background: var(--ink);
  border-top: 0.5px solid rgba(255,255,255,0.08);
  padding: 2rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-logo img { height: 22px; width: auto; display: block; }
.footer-copy { font-size: 11px; color: rgba(255,255,255,0.3); letter-spacing: 0.05em; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: 11px; color: rgba(255,255,255,0.3); letter-spacing: 0.05em; transition: color 0.2s; }
.footer-links a:hover { color: rgba(255,255,255,0.7); }

/* ── Responsive ── */
@media (max-width: 768px) {
  nav { padding: 0 1.25rem; }
  .nav-links { display: none; }
  .hero { padding: 0 1.25rem; padding-top: 60px; }
  section { padding: 4rem 1.25rem; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card.featured { grid-column: span 1; flex-direction: column; align-items: flex-start; gap: 1rem; }
  .about-layout { grid-template-columns: 1fr; gap: 2rem; }
  .about-visual { display: none; }
  .contact-inner { flex-direction: column; align-items: flex-start; }
  .company-table th, .company-table td { display: block; width: 100%; padding: 0.25rem 0; }
  .company-table th { padding-top: 1.25rem; }
  .company-table tr { display: block; padding-bottom: 0.5rem; }
  footer { flex-direction: column; gap: 1rem; text-align: center; }
  .footer-links { justify-content: center; }
}
