:root {
  --primary: #3B5068;
  --primary-dark: #2A3C4E;
  --accent: #E8834A;
  --bg: #F7F9FC;
  --text: #222222;
  --text-light: #666666;
  --border: #DCE4EE;
  --white: #FFFFFF;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text); background: var(--bg);
  line-height: 1.8; font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* Header */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--primary); box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-family: 'Barlow', sans-serif; font-weight: 700; font-size: 1rem; color: var(--white); }
.logo span { color: var(--accent); }
.nav ul { display: flex; gap: 24px; list-style: none; align-items: center; }
.nav a { color: rgba(255,255,255,0.85); font-size: 0.875rem; transition: color 0.2s; }
.nav a:hover { color: var(--accent); }
.nav-cta {
  background: var(--accent); color: var(--white) !important;
  padding: 8px 20px; border-radius: 4px; font-weight: 700;
}
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); transition: all 0.3s; }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { background: var(--primary); padding: 100px 0; }
.hero-inner { display: grid; grid-template-columns: 1fr 420px; gap: 64px; align-items: center; }
.hero-label {
  display: inline-block; background: var(--accent); color: var(--white);
  font-size: 0.75rem; font-weight: 700; padding: 4px 14px; border-radius: 20px;
  margin-bottom: 20px; letter-spacing: 0.06em;
}
.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 700;
  color: var(--white); line-height: 1.4; margin-bottom: 20px;
}
.hero-sub { color: rgba(255,255,255,0.8); font-size: 0.95rem; margin-bottom: 36px; line-height: 2; }
.cta-btn {
  display: inline-block; background: var(--accent); color: var(--white);
  font-weight: 700; font-size: 1rem; padding: 16px 40px; border-radius: 4px;
  transition: opacity 0.2s, transform 0.2s;
}
.cta-btn:hover { opacity: 0.88; transform: translateY(-2px); }
.hero-img img { border-radius: var(--radius); box-shadow: 0 8px 32px rgba(0,0,0,0.2); }

/* Section */
.section { padding: 96px 0; }
.section-bg { background: var(--white); }
.section-head { text-align: center; margin-bottom: 56px; }
.section-label {
  font-family: 'Barlow', sans-serif; font-size: 0.8rem; font-weight: 700;
  color: var(--accent); letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 8px;
}
.section-head h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; color: var(--primary); }
.section-desc { color: var(--text-light); margin-top: 16px; font-size: 0.95rem; }

/* Spec */
.spec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.spec-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px;
}
.spec-card h3 { font-size: 0.875rem; font-weight: 700; color: var(--primary); margin-bottom: 14px; border-bottom: 2px solid var(--accent); padding-bottom: 8px; }
.spec-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.spec-list li { font-size: 0.825rem; color: var(--text-light); padding-left: 14px; position: relative; }
.spec-list li::before { content: '·'; position: absolute; left: 0; color: var(--accent); font-size: 1.2rem; line-height: 1.2; }

/* Price */
.price-table { max-width: 720px; margin: 0 auto; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.price-row { display: grid; grid-template-columns: 2fr 1fr 1fr; padding: 14px 24px; border-bottom: 1px solid var(--border); font-size: 0.875rem; }
.price-row:last-child { border-bottom: none; }
.price-row-head { background: var(--primary); color: var(--white); font-weight: 700; font-size: 0.8rem; }
.price-row-accent { background: #FFF8F4; color: var(--primary); font-weight: 700; }
.price-row:not(.price-row-head):not(.price-row-accent) span:first-child { color: var(--text); }
.price-row:not(.price-row-head) span:nth-child(2) { color: var(--accent); font-weight: 700; font-family: 'Barlow', sans-serif; }
.price-row:not(.price-row-head) span:nth-child(3) { color: var(--text-light); }

/* Works */
.works-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.work-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.work-card img { width: 100%; height: 200px; object-fit: cover; }
.work-info { padding: 20px 24px; }
.work-genre { font-size: 0.75rem; color: var(--accent); font-weight: 700; letter-spacing: 0.05em; margin-bottom: 4px; }
.work-tags { display: flex; gap: 6px; margin-bottom: 8px; }
.work-tags span { font-size: 0.7rem; font-weight: 700; background: #EEF3F8; color: var(--primary); padding: 2px 8px; border-radius: 3px; }
.work-info h3 { font-size: 1rem; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.work-info p { font-size: 0.825rem; color: var(--text-light); }
.works-link { text-align: center; margin-top: 40px; }
.outline-btn {
  display: inline-block; border: 2px solid var(--primary); color: var(--primary);
  padding: 12px 32px; border-radius: 4px; font-weight: 700; font-size: 0.9rem;
  transition: background 0.2s, color 0.2s;
}
.outline-btn:hover { background: var(--primary); color: var(--white); }

/* Service */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 40px; }
.service-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 36px 28px;
}
.service-card-accent { border-color: var(--accent); background: #FFF8F4; }
.service-tag {
  font-size: 0.75rem; font-weight: 700; color: var(--accent);
  letter-spacing: 0.08em; margin-bottom: 12px;
}
.service-price {
  font-family: 'Barlow', sans-serif; font-size: 2rem; font-weight: 700;
  color: var(--primary); margin-bottom: 8px;
}
.service-price span { font-size: 1.2rem; }
.service-card h3 { font-size: 0.9rem; font-weight: 700; color: var(--text-light); margin-bottom: 20px; }
.service-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.service-list li { font-size: 0.875rem; color: var(--text-light); padding-left: 16px; position: relative; }
.service-list li::before { content: '—'; position: absolute; left: 0; color: var(--accent); }
.tool-badges { text-align: center; }
.tool-label { font-size: 0.8rem; color: var(--text-light); margin-bottom: 12px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.badges span {
  background: var(--bg); border: 1px solid var(--border);
  font-size: 0.8rem; padding: 4px 14px; border-radius: 20px; color: var(--primary);
}

/* Flow */
.flow-steps { display: flex; align-items: center; gap: 16px; }
.flow-step {
  flex: 1; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px 24px; text-align: center;
}
.step-num {
  font-family: 'Barlow', sans-serif; font-size: 2rem; font-weight: 700;
  color: var(--accent); margin-bottom: 12px;
}
.flow-step h3 { font-size: 0.95rem; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.flow-step p { font-size: 0.825rem; color: var(--text-light); }
.flow-arrow { font-size: 1.5rem; color: var(--border); flex-shrink: 0; }

/* About */
.about-grid { display: grid; grid-template-columns: 280px 1fr; gap: 64px; align-items: center; }
.about-img img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.about-text h3 { font-size: 1.4rem; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.about-role { color: var(--text-light); font-size: 0.875rem; margin-bottom: 20px; }
.about-text p { margin-bottom: 16px; color: var(--text-light); }
.about-link { margin-top: 24px; }
.about-link a { color: var(--accent); font-weight: 700; font-size: 0.9rem; }
.about-link a:hover { text-decoration: underline; }

/* CTA */
.cta-section { background: var(--primary); }
.cta-box { text-align: center; color: var(--white); }
.cta-box .section-label { color: rgba(255,255,255,0.6); }
.cta-box h2 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 700; margin-bottom: 16px; }
.cta-box p { color: rgba(255,255,255,0.8); margin-bottom: 40px; }

/* Footer */
.footer { background: var(--primary-dark); padding: 40px 0; color: rgba(255,255,255,0.7); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-name { font-size: 0.875rem; }
.footer-sns { display: flex; gap: 16px; }
.footer-sns img { width: 20px; height: 20px; filter: invert(1); opacity: 0.7; }
.footer-sns a:hover img { opacity: 1; }
.footer-copy { font-size: 0.8rem; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Mobile */
@media (max-width: 768px) {
  .nav { display: none; position: fixed; top: 64px; left: 0; right: 0; background: var(--primary); padding: 24px; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; gap: 16px; }
  .hamburger { display: flex; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-img { display: none; }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .works-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .price-row { grid-template-columns: 1.5fr 1fr 1fr; font-size: 0.8rem; padding: 12px 16px; }
  .flow-steps { flex-direction: column; }
  .flow-arrow { transform: rotate(90deg); }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-img { max-width: 240px; margin: 0 auto; }
  .footer-inner { flex-direction: column; text-align: center; }
}
