@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;600;700&family=Noto+Sans+JP:wght@300;400;500;700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #0D1F3C;
  --navy-mid: #162947;
  --navy-light: #1E3A5F;
  --gold: #C4943A;
  --gold-light: #D9B06A;
  --gold-pale: #F5EDD9;
  --white: #FFFFFF;
  --off-white: #F8F6F1;
  --text-dark: #1A1A2E;
  --text-mid: #4A5568;
  --text-light: #718096;
  --border: #E2D9C8;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.8;
  font-size: 16px;
}

/* ── HEADER ── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(13, 31, 60, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(196, 148, 58, 0.3);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-mark {
  width: 38px; height: 38px;
  background: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Noto Serif JP', serif;
  font-weight: 700; font-size: 14px; color: var(--navy);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text span:first-child { font-size: 18px; font-weight: 700; color: var(--white); letter-spacing: 2px; }
.logo-text span:last-child { font-size: 10px; color: var(--gold-light); letter-spacing: 1.5px; font-weight: 300; }
.logo-img { height: 44px; width: auto; display: block; }
nav { display: flex; align-items: center; gap: 32px; }
nav a { text-decoration: none; color: rgba(255,255,255,0.8); font-size: 13px; font-weight: 400; letter-spacing: 0.5px; transition: color 0.2s; }
nav a:hover { color: var(--gold-light); }
.nav-cta { background: var(--gold) !important; color: var(--navy) !important; padding: 9px 20px !important; font-weight: 700 !important; letter-spacing: 1px !important; font-size: 12px !important; }
.nav-cta:hover { background: var(--gold-light) !important; color: var(--navy) !important; }

/* ── HERO BASE ── */
.hero {
  min-height: 80vh;
  background: var(--navy);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 68px;
}
.hero-full { min-height: 100vh; }
.hero-bg-pattern {
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(45deg, transparent, transparent 60px, rgba(196,148,58,0.04) 60px, rgba(196,148,58,0.04) 61px),
    repeating-linear-gradient(-45deg, transparent, transparent 60px, rgba(196,148,58,0.04) 60px, rgba(196,148,58,0.04) 61px);
  pointer-events: none;
}
.hero-accent {
  position: absolute; right: -80px; top: 50%; transform: translateY(-50%);
  width: 500px; height: 500px;
  border: 1px solid rgba(196,148,58,0.15); border-radius: 50%;
}
.hero-accent::after {
  content: ''; position: absolute; inset: 40px;
  border: 1px solid rgba(196,148,58,0.1); border-radius: 50%;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px;
  position: relative; z-index: 1;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px;
}
.hero-eyebrow::before { content: ''; width: 32px; height: 1px; background: var(--gold); }
.hero-eyebrow span { font-size: 12px; color: var(--gold); letter-spacing: 3px; font-weight: 500; text-transform: uppercase; }
.hero h1 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700; color: var(--white); line-height: 1.4;
  margin-bottom: 20px; letter-spacing: -0.5px;
}
.hero h1 em { color: var(--gold); font-style: normal; }
.hero-sub { font-size: 16px; color: rgba(255,255,255,0.7); max-width: 560px; line-height: 1.9; margin-bottom: 40px; font-weight: 300; }
.hero-stats { display: flex; gap: 48px; margin-bottom: 52px; padding-bottom: 52px; border-bottom: 1px solid rgba(255,255,255,0.1); flex-wrap: wrap; }
.stat-number { font-family: 'Noto Serif JP', serif; font-size: 38px; font-weight: 700; color: var(--gold); line-height: 1; margin-bottom: 6px; }
.stat-number small { font-size: 20px; }
.stat-label { font-size: 12px; color: rgba(255,255,255,0.6); letter-spacing: 0.5px; }
.hero-buttons { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block; background: var(--gold); color: var(--navy);
  padding: 16px 36px; font-weight: 700; font-size: 14px; letter-spacing: 1.5px;
  text-decoration: none; transition: background 0.2s, transform 0.1s;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-secondary {
  display: inline-block; color: rgba(255,255,255,0.85); font-size: 14px;
  text-decoration: none; letter-spacing: 0.5px; padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.3); transition: color 0.2s, border-color 0.2s;
}
.btn-secondary:hover { color: var(--gold-light); border-color: var(--gold-light); }
.btn-outline {
  display: inline-block; border: 1px solid var(--gold); color: var(--gold);
  padding: 14px 32px; font-size: 14px; font-weight: 500; letter-spacing: 1px;
  text-decoration: none; transition: background 0.2s, color 0.2s;
}
.btn-outline:hover { background: var(--gold); color: var(--navy); }

/* ── SECTION BASE ── */
section { padding: 100px 40px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-label { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.section-label::before { content: ''; width: 24px; height: 1px; background: var(--gold); }
.section-label span { font-size: 11px; color: var(--gold); letter-spacing: 3px; font-weight: 500; text-transform: uppercase; }
.section-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 700; line-height: 1.4; margin-bottom: 16px; color: var(--text-dark);
}
.section-title.white { color: var(--white); }
.section-lead { font-size: 16px; color: var(--text-mid); max-width: 640px; line-height: 1.9; margin-bottom: 56px; }

/* ── ABOUT (index) ── */
.about { background: var(--off-white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-image-placeholder {
  width: 100%; aspect-ratio: 4/3;
  background: var(--navy-light);
  display: flex; align-items: center; justify-content: center;
}
.about-image-placeholder img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-badge {
  position: absolute; bottom: -24px; right: -24px;
  background: var(--gold); color: var(--navy); padding: 20px 24px; text-align: center;
}
.about-badge .num { font-family: 'Noto Serif JP', serif; font-size: 28px; font-weight: 700; display: block; line-height: 1; margin-bottom: 4px; }
.about-badge .label { font-size: 11px; font-weight: 700; letter-spacing: 0.5px; }
.about-image-area { position: relative; }
.about-text .mission { font-family: 'Noto Serif JP', serif; font-size: 20px; font-weight: 600; color: var(--navy); line-height: 1.6; margin-bottom: 24px; padding-left: 20px; border-left: 3px solid var(--gold); }
.about-text p { color: var(--text-mid); line-height: 1.9; margin-bottom: 16px; font-size: 15px; }

/* ── SERVICES (index) ── */
.services { background: var(--white); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--border); }
.service-card { background: var(--white); padding: 48px 40px; transition: background 0.2s; text-decoration: none; color: inherit; display: block; }
.service-card:hover { background: var(--off-white); }
.service-number { font-family: 'Noto Serif JP', serif; font-size: 11px; color: var(--gold); letter-spacing: 2px; margin-bottom: 24px; display: block; }
.service-icon { width: 48px; height: 48px; margin-bottom: 20px; }
.service-title { font-family: 'Noto Serif JP', serif; font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 16px; line-height: 1.4; }
.service-desc { font-size: 14px; color: var(--text-mid); line-height: 1.9; margin-bottom: 28px; }
.service-link { font-size: 12px; color: var(--gold); letter-spacing: 1px; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.service-link::after { content: '→'; }

/* ── STRENGTHS (index) ── */
.strengths { background: var(--navy); }
.strengths-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.strength-item { padding: 48px 32px; border-left: 1px solid rgba(196,148,58,0.15); }
.strength-item:first-child { border-left: none; }
.strength-num { font-family: 'Noto Serif JP', serif; font-size: 48px; font-weight: 700; color: rgba(196,148,58,0.15); line-height: 1; margin-bottom: 20px; display: block; }
.strength-title { font-family: 'Noto Serif JP', serif; font-size: 16px; font-weight: 600; color: var(--white); margin-bottom: 12px; }
.strength-desc { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.8; }

/* ── ACHIEVEMENTS (index) ── */
.achievements { background: var(--off-white); }
.achievements-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 56px; }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 48px; }
.case-card { background: var(--white); padding: 32px; border-top: 3px solid var(--gold); transition: transform 0.2s; }
.case-card:hover { transform: translateY(-4px); }
.case-industry { font-size: 11px; color: var(--gold); letter-spacing: 2px; font-weight: 700; margin-bottom: 12px; display: block; }
.case-title { font-family: 'Noto Serif JP', serif; font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 14px; line-height: 1.5; }
.case-desc { font-size: 13px; color: var(--text-mid); line-height: 1.8; }
.client-logos { display: flex; gap: 40px; align-items: center; padding: 32px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.client-logo-label { font-size: 11px; color: var(--text-light); letter-spacing: 2px; white-space: nowrap; flex-shrink: 0; }
.client-names { display: flex; gap: 32px; flex-wrap: wrap; }
.client-name { font-family: 'Noto Serif JP', serif; font-size: 15px; font-weight: 600; color: var(--text-mid); opacity: 0.7; }

/* ── COMPANY (index) ── */
.company { background: var(--white); }
.company-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 80px; align-items: start; }
.company-table { width: 100%; border-collapse: collapse; }
.company-table tr { border-bottom: 1px solid var(--border); }
.company-table tr:first-child { border-top: 1px solid var(--border); }
.company-table th { padding: 20px 0; font-size: 13px; font-weight: 500; color: var(--text-light); text-align: left; width: 140px; vertical-align: top; }
.company-table td { padding: 20px 0; font-size: 15px; color: var(--text-dark); }
.ceo-card { background: var(--navy); padding: 40px 32px; color: var(--white); position: sticky; top: 90px; }
.ceo-avatar { width: 72px; height: 72px; border: 2px solid var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Noto Serif JP', serif; font-size: 24px; font-weight: 700; color: var(--gold); margin-bottom: 20px; overflow: hidden; }
.ceo-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ceo-name { font-family: 'Noto Serif JP', serif; font-size: 20px; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.ceo-title { font-size: 12px; color: var(--gold-light); letter-spacing: 1px; margin-bottom: 20px; display: block; }
.ceo-bio { font-size: 13px; color: rgba(255,255,255,0.7); line-height: 1.8; margin-bottom: 24px; }
.ceo-link { font-size: 12px; color: var(--gold-light); text-decoration: none; border-bottom: 1px solid rgba(196,148,58,0.4); padding-bottom: 2px; }

/* ── CONTACT CTA ── */
.contact-cta { background: var(--navy); }
.contact-cta-inner { max-width: 800px; margin: 0 auto; text-align: center; }
.contact-cta-inner .section-label { justify-content: center; }
.contact-cta-inner .section-title { color: var(--white); margin-bottom: 16px; }
.contact-lead { color: rgba(255,255,255,0.7); font-size: 16px; line-height: 1.9; margin-bottom: 52px; }
.contact-btn { display: inline-block; background: var(--gold); color: var(--navy); padding: 20px 56px; font-weight: 700; font-size: 15px; letter-spacing: 1.5px; text-decoration: none; transition: background 0.2s; margin-bottom: 20px; }
.contact-btn:hover { background: var(--gold-light); }
.contact-note { font-size: 13px; color: rgba(255,255,255,0.4); }
.contact-info-row { margin-top: 60px; padding-top: 60px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: center; gap: 60px; }
.contact-info-item { text-align: center; }
.contact-info-item .info-label { font-size: 11px; color: var(--gold-light); letter-spacing: 2px; margin-bottom: 8px; display: block; }
.contact-info-item .info-value { font-size: 18px; color: var(--white); font-weight: 500; }

/* ── PAGE HERO (subpages) ── */
.page-hero {
  background: var(--navy);
  padding: 140px 40px 80px;
  position: relative;
  overflow: hidden;
}
.page-hero-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.page-hero h1 { font-family: 'Noto Serif JP', serif; font-size: clamp(28px, 3.5vw, 44px); font-weight: 700; color: var(--white); line-height: 1.4; margin-bottom: 16px; }
.page-hero h1 em { color: var(--gold); font-style: normal; }
.page-hero p { font-size: 16px; color: rgba(255,255,255,0.7); max-width: 560px; line-height: 1.9; font-weight: 300; }
.breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 24px; }
.breadcrumb a { font-size: 12px; color: rgba(255,255,255,0.5); text-decoration: none; letter-spacing: 0.5px; }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb span { font-size: 12px; color: rgba(255,255,255,0.3); }
.breadcrumb .current { font-size: 12px; color: var(--gold-light); }

/* ── CONTENT SECTIONS (subpages) ── */
.content-white { background: var(--white); }
.content-grey { background: var(--off-white); }
.content-navy { background: var(--navy); }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.feature-card { border-top: 3px solid var(--gold); padding-top: 28px; }
.feature-card-num { font-family: 'Noto Serif JP', serif; font-size: 11px; color: var(--gold); letter-spacing: 2px; margin-bottom: 12px; display: block; }
.feature-card-title { font-family: 'Noto Serif JP', serif; font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.feature-card-body { font-size: 14px; color: var(--text-mid); line-height: 1.9; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }

.method-block { margin-bottom: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--border); }
.method-block:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.method-title { font-family: 'Noto Serif JP', serif; font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 20px; padding-left: 20px; border-left: 3px solid var(--gold); }
.method-body { font-size: 15px; color: var(--text-mid); line-height: 1.9; margin-bottom: 16px; }
.tag-list { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.tag { background: var(--gold-pale); color: var(--gold); font-size: 12px; padding: 4px 12px; font-weight: 500; border: 1px solid rgba(196,148,58,0.3); }
.tag-dark { background: rgba(196,148,58,0.1); color: var(--gold-light); }
.list-items { list-style: none; }
.list-items li { font-size: 14px; color: var(--text-mid); padding: 8px 0; border-bottom: 1px solid var(--border); display: flex; gap: 12px; }
.list-items li::before { content: '—'; color: var(--gold); flex-shrink: 0; }

/* ── PROCESS ── */
.process-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
.process-steps::before { content: ''; position: absolute; top: 28px; left: 10%; right: 10%; height: 1px; background: var(--border); z-index: 0; }
.process-step { text-align: center; position: relative; z-index: 1; padding: 0 16px; }
.step-num { width: 56px; height: 56px; background: var(--navy); border: 2px solid var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Noto Serif JP', serif; font-size: 18px; font-weight: 700; color: var(--gold); margin: 0 auto 20px; }
.step-title { font-family: 'Noto Serif JP', serif; font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.step-desc { font-size: 12px; color: var(--text-mid); line-height: 1.7; }

/* ── COMPARISON TABLE ── */
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th { background: var(--navy); color: var(--white); padding: 16px 20px; font-size: 14px; font-weight: 500; text-align: center; }
.compare-table th:first-child { text-align: left; background: var(--navy-mid); }
.compare-table th.highlight { background: var(--gold); color: var(--navy); font-weight: 700; }
.compare-table td { padding: 14px 20px; font-size: 14px; border-bottom: 1px solid var(--border); text-align: center; color: var(--text-mid); }
.compare-table td:first-child { text-align: left; font-weight: 500; color: var(--text-dark); }
.compare-table td.highlight { color: var(--navy); font-weight: 700; background: rgba(196,148,58,0.05); }
.compare-table tr:last-child td { border-bottom: none; }

/* ── CASE STUDIES (example.html) ── */
.case-list { display: flex; flex-direction: column; gap: 2px; background: var(--border); margin-bottom: 60px; }
.case-row { background: var(--white); padding: 36px 40px; display: grid; grid-template-columns: 200px 1fr; gap: 40px; align-items: start; transition: background 0.2s; }
.case-row:hover { background: var(--off-white); }
.case-meta {}
.case-meta-industry { font-size: 11px; color: var(--gold); letter-spacing: 2px; font-weight: 700; margin-bottom: 8px; display: block; }
.case-meta-company { font-family: 'Noto Serif JP', serif; font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.case-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.case-tag { background: var(--off-white); border: 1px solid var(--border); color: var(--text-mid); font-size: 11px; padding: 3px 10px; }
.case-content {}
.case-content p { font-size: 14px; color: var(--text-mid); line-height: 1.9; }

/* ── HISTORY ── */
.timeline { position: relative; padding-left: 40px; }
.timeline::before { content: ''; position: absolute; left: 0; top: 8px; bottom: 0; width: 1px; background: var(--border); }
.timeline-item { position: relative; margin-bottom: 40px; }
.timeline-item::before { content: ''; position: absolute; left: -44px; top: 8px; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); }
.timeline-year { font-family: 'Noto Serif JP', serif; font-size: 14px; font-weight: 700; color: var(--gold); letter-spacing: 1px; margin-bottom: 6px; }
.timeline-content { font-size: 15px; color: var(--text-mid); line-height: 1.8; }

/* ── PANEL GRID ── */
.panel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.panel-card { background: var(--white); border: 1px solid var(--border); padding: 28px; }
.panel-card-title { font-family: 'Noto Serif JP', serif; font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.panel-card-body { font-size: 13px; color: var(--text-mid); line-height: 1.8; }

/* ── FOOTER ── */
footer { background: #060F1F; padding: 48px 40px; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.footer-logo { font-family: 'Noto Serif JP', serif; font-size: 16px; font-weight: 700; color: var(--gold); letter-spacing: 2px; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.3); letter-spacing: 0.5px; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  section, .page-hero { padding: 70px 24px; }
  .page-hero { padding-top: 120px; padding-bottom: 56px; }
  .header-inner { padding: 0 24px; }
  .hero-inner { padding: 60px 24px; }
  .about-grid, .company-grid, .two-col { grid-template-columns: 1fr; gap: 48px; }
  .services-grid, .strengths-grid, .feature-grid, .three-col, .panel-grid { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; gap: 24px; }
  .process-steps::before { display: none; }
  nav { display: none; }
  .achievements-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .contact-info-row { flex-direction: column; gap: 32px; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
  .about-badge { right: 0; bottom: -20px; }
  .case-row { grid-template-columns: 1fr; gap: 20px; }
  .case-list { gap: 0; }
}
