/* =============================================
   RAISE Inc. — Unified Stylesheet
   ============================================= */

/* ── ROOT VARIABLES ── */
:root {
  --bg: #0a0a0f;
  --bg2: #0f0f1a;
  --surface: #14141f;
  --border: rgba(255,255,255,0.08);
  --accent: #4f6ef7;
  --accent2: #7c3aed;
  --text: #f0f0f8;
  --text-muted: #7a7a9a;
  --text-dim: #4a4a6a;
}

/* ── RESET & BASE ── */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── NOISE TEXTURE ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 80% 0%, rgba(79,110,247,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(124,58,237,0.05) 0%, transparent 55%),
    radial-gradient(ellipse 40% 40% at 50% 50%, rgba(79,110,247,0.03) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ── NAVIGATION ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--text);
  text-decoration: none;
}
.nav-logo span { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 6px;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
}
.nav-cta:hover {
  background: #3a5ae0 !important;
  color: #fff !important;
}

/* ── HERO (TOP PAGE) ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 120px 40px 80px;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(79,110,247,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79,110,247,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

.hero-glow {
  position: absolute;
  width: 800px; height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79,110,247,0.12) 0%, transparent 70%);
  top: -200px; right: -200px;
  pointer-events: none;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(79,110,247,0.1);
  border: 1px solid rgba(79,110,247,0.3);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 28px;
  text-transform: uppercase;
}
.hero-tag::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(42px, 7vw, 88px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.hero h1 .line2 {
  display: block;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 48px;
  line-height: 1.8;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  padding: 16px 32px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.2s;
  letter-spacing: 0.02em;
}
.btn-primary:hover { background: #3a5ae0; transform: translateY(-2px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text);
  padding: 16px 32px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: all 0.2s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.2); transform: translateY(-2px); }

/* ── CLIENTS STRIP ── */
.clients {
  padding: 60px 40px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.clients-inner { max-width: 1100px; margin: 0 auto; }
.clients-label {
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 32px;
  font-weight: 500;
}
.clients-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: center;
  align-items: center;
}
.client-tag {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all 0.2s;
}
.client-tag:hover { border-color: rgba(79,110,247,0.4); color: var(--text); }

/* ── SECTIONS (SHARED) ── */
section { padding: 100px 40px; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.bg2 { background: var(--bg2); }

.section-label {
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.8;
  margin-bottom: 60px;
}

/* ── PAGE HERO (SUBPAGES) ── */
.page-hero {
  padding: 140px 40px 80px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(79,110,247,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79,110,247,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 100% at 30% 50%, black 30%, transparent 100%);
}
.page-hero-glow {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79,110,247,0.1) 0%, transparent 70%);
  top: -100px; right: -100px;
}
.page-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 24px;
  font-size: 13px;
  color: var(--text-dim);
}
.breadcrumb a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb a:hover { color: var(--text-muted); }
.breadcrumb span { color: var(--text-dim); }

.page-label {
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 16px;
}

.page-hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.page-hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-hero p {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.8;
}

/* ── SERVICE CARDS (INDEX) ── */
.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px 32px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  opacity: 0;
  transition: opacity 0.3s;
}
.service-card:hover { border-color: rgba(79,110,247,0.3); transform: translateY(-4px); }
.service-card:hover::before { opacity: 1; }
.service-icon { font-size: 32px; margin-bottom: 20px; }
.service-card h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.service-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}
.service-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.service-tag {
  font-size: 11px;
  color: var(--accent);
  background: rgba(79,110,247,0.1);
  border: 1px solid rgba(79,110,247,0.2);
  padding: 3px 10px;
  border-radius: 4px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ── WORKS GRID (INDEX) ── */
.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.work-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 28px;
  transition: all 0.3s;
}
.work-card:hover { border-color: rgba(79,110,247,0.3); transform: translateY(-3px); }
.work-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 44px;
  font-weight: 800;
  color: rgba(79,110,247,0.15);
  line-height: 1;
  margin-bottom: 16px;
}
.work-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; line-height: 1.5; }
.work-card p { font-size: 14px; color: var(--text-muted); line-height: 1.8; }

/* ── STATS ── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.stat-item {
  background: var(--surface);
  padding: 48px 32px;
  text-align: center;
}
.stat-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 52px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label { font-size: 13px; color: var(--text-muted); font-weight: 500; }

/* ── WEB SERVICES (INDEX GRID) ── */
.web-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.web-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
}
.web-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.web-card p { font-size: 14px; color: var(--text-muted); line-height: 1.8; }

/* ── CTA SECTION ── */
.cta-section {
  background: linear-gradient(135deg, rgba(79,110,247,0.1), rgba(124,58,237,0.1));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.cta-section .section-title { margin-bottom: 16px; }
.cta-section .section-sub { margin: 0 auto 40px; text-align: center; }

.cta-box {
  background: linear-gradient(135deg, rgba(79,110,247,0.1), rgba(124,58,237,0.1));
  border: 1px solid rgba(79,110,247,0.2);
  border-radius: 16px;
  padding: 60px 48px;
  text-align: center;
}
.cta-box h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 16px;
}
.cta-box p { font-size: 16px; color: var(--text-muted); margin-bottom: 32px; }

/* ── FOOTER ── */
footer {
  padding: 48px 40px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-logo {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
}
.footer-logo span { color: var(--accent); }
.footer-links { display: flex; gap: 24px; list-style: none; }
.footer-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text-muted); }
.footer-copy { font-size: 12px; color: var(--text-dim); }

/* ── ANIMATIONS ── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   AI-SERVICE PAGE
   ========================================= */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-bottom: 80px;
  padding-bottom: 80px;
  border-bottom: 1px solid var(--border);
}
.service-block:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.service-block.reverse { direction: rtl; }
.service-block.reverse > * { direction: ltr; }

.service-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 80px;
  font-weight: 800;
  color: rgba(79,110,247,0.08);
  line-height: 1;
  margin-bottom: -20px;
}
.service-block h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.service-block p { font-size: 15px; color: var(--text-muted); line-height: 1.9; margin-bottom: 24px; }
.service-list { list-style: none; display: grid; gap: 10px; }
.service-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text-muted); }
.service-list li::before { content: '→'; color: var(--accent); font-weight: 700; flex-shrink: 0; margin-top: 2px; }

.service-visual {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.service-visual::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
}
.service-visual-icon { font-size: 56px; margin-bottom: 20px; }
.service-visual h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}
.step-list { display: grid; gap: 16px; }
.step-item { display: flex; gap: 14px; align-items: flex-start; }
.step-num {
  background: rgba(79,110,247,0.15);
  border: 1px solid rgba(79,110,247,0.3);
  color: var(--accent);
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; flex-shrink: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.step-text { font-size: 14px; color: var(--text-muted); line-height: 1.7; padding-top: 4px; }

.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tag {
  font-size: 11px;
  color: var(--accent);
  background: rgba(79,110,247,0.1);
  border: 1px solid rgba(79,110,247,0.2);
  padding: 4px 12px;
  border-radius: 4px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.seminar-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.seminar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
}
.seminar-card .icon { font-size: 32px; margin-bottom: 16px; }
.seminar-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.seminar-card p { font-size: 14px; color: var(--text-muted); line-height: 1.8; }
.seminar-stat { display: flex; gap: 20px; margin-top: 16px; }
.seminar-stat-item { text-align: center; }
.seminar-stat-item .num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 28px; font-weight: 800;
  color: var(--accent); line-height: 1;
}
.seminar-stat-item .label { font-size: 11px; color: var(--text-dim); margin-top: 4px; }

/* =========================================
   WORKS PAGE
   ========================================= */
.works-list { display: grid; gap: 32px; }
.work-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: start;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.work-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent), var(--accent2));
  opacity: 0;
  transition: opacity 0.3s;
}
.work-item:hover { border-color: rgba(79,110,247,0.3); transform: translateX(4px); }
.work-item:hover::before { opacity: 1; }
.work-item .work-num {
  font-family: 'Syne', sans-serif;
  font-size: 56px;
  font-weight: 800;
  color: rgba(79,110,247,0.12);
  line-height: 1;
  width: 80px;
  flex-shrink: 0;
}
.work-content h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.work-content p { font-size: 15px; color: var(--text-muted); line-height: 1.9; margin-bottom: 16px; }
.work-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.work-tag {
  font-size: 11px;
  color: var(--accent);
  background: rgba(79,110,247,0.1);
  border: 1px solid rgba(79,110,247,0.2);
  padding: 4px 12px;
  border-radius: 4px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.work-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(124,58,237,0.1);
  border: 1px solid rgba(124,58,237,0.2);
  color: #a78bfa;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 4px;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}
.client-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px 20px;
  text-align: center;
  transition: all 0.2s;
}
.client-card:hover { border-color: rgba(79,110,247,0.3); transform: translateY(-3px); }
.client-card .name { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.client-card .genre { font-size: 12px; color: var(--text-dim); }

/* =========================================
   WEB-SERVICE PAGE
   ========================================= */
.service-list-grid { display: grid; gap: 24px; }
.service-row {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px;
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 28px;
  align-items: start;
  transition: all 0.3s;
}
.service-row:hover { border-color: rgba(79,110,247,0.3); transform: translateY(-3px); }
.service-row-icon { font-size: 36px; }
.service-row h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}
.service-row p { font-size: 14px; color: var(--text-muted); line-height: 1.9; }
.service-row-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.stag {
  font-size: 11px;
  color: var(--accent);
  background: rgba(79,110,247,0.1);
  border: 1px solid rgba(79,110,247,0.2);
  padding: 3px 10px;
  border-radius: 4px;
  font-weight: 600;
}
.arrow-link {
  color: var(--text-dim);
  font-size: 20px;
  transition: all 0.2s;
  text-decoration: none;
  align-self: center;
  white-space: nowrap;
}
.arrow-link:hover { color: var(--accent); transform: translateX(4px); }

.flow-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  position: relative;
}
.flow-steps::before {
  content: '';
  position: absolute;
  top: 32px; left: 15%; right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.flow-step { text-align: center; padding: 32px 20px; position: relative; z-index: 1; }
.flow-step-num {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: #fff;
  margin: 0 auto 16px;
}
.flow-step h4 { font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.flow-step p { font-size: 13px; color: var(--text-muted); line-height: 1.7; }

/* =========================================
   COMPANY PAGE
   ========================================= */
.info-table { width: 100%; border-collapse: collapse; }
.info-table tr { border-bottom: 1px solid var(--border); }
.info-table th {
  padding: 20px 0;
  text-align: left;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  width: 220px;
  vertical-align: top;
}
.info-table td { padding: 20px 0; font-size: 15px; line-height: 1.8; }

.profile-grid { display: grid; grid-template-columns: 280px 1fr; gap: 60px; align-items: start; }





.profile-photo {
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profile-name {
  font-family: 'Syne', sans-serif;
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 4px;
}
.profile-title { font-size: 13px; color: var(--accent); font-weight: 600; letter-spacing: 0.05em; margin-bottom: 24px; }
.profile-bio { font-size: 15px; color: var(--text-muted); line-height: 1.9; margin-bottom: 28px; }
.profile-career { display: grid; gap: 16px; }
.career-item { display: flex; gap: 16px; align-items: flex-start; }
.career-year {
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  color: var(--accent);
  font-weight: 700;
  white-space: nowrap;
  padding-top: 2px;
  min-width: 50px;
}
.career-text { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

.vision-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 60px 48px;
  position: relative;
  overflow: hidden;
}
.vision-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
}
.vision-box blockquote {
  font-family: 'Syne', sans-serif;
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}
.vision-box p { font-size: 15px; color: var(--text-muted); line-height: 1.9; max-width: 640px; }

/* =========================================
   CONTACT PAGE
   ========================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}

.contact-info-heading {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.inquiry-types { display: grid; gap: 16px; margin-bottom: 40px; }
.inquiry-type {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.inquiry-type .icon { font-size: 24px; }
.inquiry-type h4 { font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.inquiry-type p { font-size: 12px; color: var(--text-muted); line-height: 1.6; }
.contact-note { font-size: 13px; color: var(--text-dim); line-height: 1.8; }

.form-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
}
.form-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
}

.form-group { margin-bottom: 24px; }
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}
.form-label .req { color: var(--accent); margin-left: 4px; font-size: 10px; vertical-align: top; }

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  padding: 14px 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  -webkit-appearance: none;
}
input:focus, select:focus, textarea:focus {
  border-color: rgba(79,110,247,0.5);
  box-shadow: 0 0 0 3px rgba(79,110,247,0.1);
}
select { cursor: pointer; }
textarea { resize: vertical; min-height: 140px; }

.submit-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 700;
  padding: 18px;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.05em;
}
.submit-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(79,110,247,0.3); }

.form-privacy { font-size: 12px; color: var(--text-dim); text-align: center; margin-top: 16px; line-height: 1.7; }
.form-privacy a { color: var(--text-dim); text-decoration: none; }
.form-privacy a:hover { color: var(--text-muted); text-decoration: underline; }

/* Form messages */
.form-success {
  background: rgba(79,247,130,0.08);
  border: 1px solid rgba(79,247,130,0.25);
  border-radius: 10px;
  padding: 24px 28px;
  margin-bottom: 28px;
  color: #6ee7a0;
  font-size: 14px;
  line-height: 1.8;
}
.form-success strong { display: block; font-size: 16px; margin-bottom: 8px; }

.form-error {
  background: rgba(247,79,79,0.08);
  border: 1px solid rgba(247,79,79,0.25);
  border-radius: 10px;
  padding: 20px 24px;
  margin-bottom: 24px;
  color: #f87171;
  font-size: 13px;
  line-height: 1.8;
}
.form-error ul { list-style: none; display: grid; gap: 4px; }
.form-error ul li::before { content: '× '; font-weight: 700; }

/* =========================================
   PRIVACY PAGE
   ========================================= */
.content-wrap { padding: 80px 40px 100px; }
.content-inner { max-width: 800px; margin: 0 auto; }
.updated { font-size: 13px; color: var(--text-dim); margin-bottom: 48px; }

.policy-section { margin-bottom: 52px; }
.policy-section h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  letter-spacing: -0.01em;
}
.policy-section h2 .num {
  color: var(--accent);
  margin-right: 10px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
}
.policy-section p { font-size: 15px; color: var(--text-muted); line-height: 1.9; margin-bottom: 14px; }
.policy-section p:last-child { margin-bottom: 0; }
.policy-section ul { list-style: none; display: grid; gap: 10px; margin-top: 4px; }
.policy-section ul li {
  font-size: 15px; color: var(--text-muted); line-height: 1.8;
  display: flex; align-items: flex-start; gap: 10px;
}
.policy-section ul li::before { content: '→'; color: var(--accent); font-weight: 700; flex-shrink: 0; margin-top: 2px; }

.contact-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 28px;
  margin-top: 48px;
}
.contact-box h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
}
.contact-box p { font-size: 14px; color: var(--text-muted); line-height: 1.9; }
.contact-box a { color: var(--accent); text-decoration: none; }
.contact-box a:hover { text-decoration: underline; }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  nav { padding: 16px 20px; }
  .nav-links { display: none; }

  .hero { padding: 100px 20px 60px; }
  .page-hero { padding: 100px 20px 60px; }
  section { padding: 70px 20px; }
  .clients { padding: 40px 20px; }
  .content-wrap { padding: 60px 20px 80px; }

  .web-grid { grid-template-columns: 1fr; }
  .service-block { grid-template-columns: 1fr; gap: 32px; }
  .service-block.reverse { direction: ltr; }
  .service-row { grid-template-columns: 1fr; gap: 16px; }
  .work-item { grid-template-columns: 1fr; gap: 16px; padding: 28px 20px; }
  .work-item .work-num { font-size: 36px; width: auto; }
  .profile-grid { grid-template-columns: 1fr; gap: 32px; }
  .profile-photo { aspect-ratio: auto; padding: 40px; }
  .info-table th { width: 120px; }
  .vision-box { padding: 36px 24px; }
  .cta-box { padding: 40px 24px; }
  .form-box { padding: 32px 24px; }
  .flow-steps::before { display: none; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
}
