/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'メイリオ', sans-serif;
  color: #1e293b;
  background: #ffffff;
  line-height: 1.8;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ===== UTILITIES ===== */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #2563eb;
  background: rgba(37,99,235,0.08);
  padding: 6px 18px;
  border-radius: 999px;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 1rem;
  color: #475569;
  max-width: 700px;
  margin: 0 auto 48px;
}
.text-center { text-align: center; }
.line-green { color: #06C755; font-weight: inherit; }
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-primary {
  background: linear-gradient(135deg, #2563eb, #1e40af);
  color: #fff;
  border-color: #2563eb;
  box-shadow: 0 4px 14px rgba(37,99,235,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,99,235,0.4);
}
.btn-outline {
  background: transparent;
  color: #2563eb;
  border-color: #2563eb;
}
.btn-outline:hover {
  background: #2563eb;
  color: #fff;
}
.btn-white {
  background: #fff;
  color: #2563eb;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  transition: box-shadow 0.3s ease;
}
.header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  font-size: 1.6rem;
  font-weight: 900;
  background: linear-gradient(135deg, #2563eb, #1e40af);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.08em;
}
.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  font-size: 0.85rem;
  font-weight: 600;
  color: #475569;
  transition: color 0.3s;
  white-space: nowrap;
}
.nav a:hover { color: #2563eb; }
.nav .btn { font-size: 0.85rem; padding: 10px 22px; color: #fff; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}
.hamburger span {
  width: 24px;
  height: 2.5px;
  background: #1e293b;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== MOBILE NAV ===== */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(12px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  z-index: 999;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1e293b;
}

/* ===== HERO ===== */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(170deg, #f0f7ff 0%, #ffffff 50%, #f8fafc 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37,99,235,0.06) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(96,165,250,0.06) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, #2563eb, #1e40af);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 8px 24px;
  border-radius: 999px;
  margin-bottom: 28px;
  box-shadow: 0 4px 14px rgba(37,99,235,0.25);
}
.hero h1 {
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: 900;
  line-height: 1.35;
  margin-bottom: 28px;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}
.hero-services span {
  background: #fff;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 999px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 36px;
}
.hero-stats .stat {
  background: linear-gradient(135deg, rgba(37,99,235,0.05), rgba(30,64,175,0.08));
  border: 1px solid rgba(37,99,235,0.12);
  padding: 10px 24px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.9rem;
  color: #1e40af;
}
.hero-cta { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ===== PROBLEMS ===== */
.problems {
  padding: 100px 0;
  background: #f8fafc;
}
.problem-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.problem-card {
  background: #fff;
  border-radius: 16px;
  padding: 36px 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  border: 1px solid #e2e8f0;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}
.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.problem-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fef2f2, #fee2e2);
}
.problem-card h3 {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.6;
  color: #1e293b;
}
.problem-summary {
  background: linear-gradient(135deg, #0f172a, #1e3a5f);
  border-radius: 16px;
  padding: 36px 40px;
  color: #fff;
  font-size: 1rem;
  line-height: 1.9;
  font-weight: 500;
  text-align: center;
}

/* ===== SOLUTION ===== */
.solution {
  padding: 100px 0;
  background: #fff;
}
.solution-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.solution-card {
  background: #fff;
  border-radius: 16px;
  padding: 36px 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  border: 1px solid #e2e8f0;
  transition: transform 0.3s, box-shadow 0.3s;
}
.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(37,99,235,0.1);
  border-color: #93c5fd;
}
.solution-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
}
.solution-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 14px;
  line-height: 1.5;
}
.solution-card p {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.8;
}

/* ===== COMPARISON ===== */
.comparison {
  padding: 100px 0;
  background: #f8fafc;
}
.comparison-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
.comparison-table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
}
.comparison-table thead th {
  padding: 20px 24px;
  font-size: 0.9rem;
  font-weight: 700;
  text-align: left;
}
.comparison-table thead th:first-child {
  background: #f1f5f9;
  color: #475569;
}
.comparison-table thead th:nth-child(2) {
  background: linear-gradient(135deg, #2563eb, #1e40af);
  color: #fff;
}
.comparison-table thead th:nth-child(3) {
  background: #64748b;
  color: #fff;
}
.comparison-table tbody td {
  padding: 18px 24px;
  font-size: 0.88rem;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: top;
  line-height: 1.7;
}
.comparison-table tbody td:first-child {
  font-weight: 600;
  color: #334155;
  background: #f8fafc;
  white-space: nowrap;
}
.comparison-table tbody td:nth-child(2) {
  color: #1e40af;
  font-weight: 600;
}
.comparison-table tbody td:nth-child(3) {
  color: #64748b;
}
.comparison-table tbody tr:last-child td { border-bottom: none; }

/* ===== CASES ===== */
.cases {
  padding: 100px 0;
  background: #fff;
}
.case-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.case-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  border: 1px solid #e2e8f0;
  transition: transform 0.3s, box-shadow 0.3s;
}
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.case-header {
  background: linear-gradient(135deg, #0f172a, #1e3a5f);
  padding: 28px 24px;
  color: #fff;
}
.case-header .case-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #93c5fd;
  margin-bottom: 6px;
}
.case-header .case-name {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.case-header .case-roas {
  display: inline-block;
  background: rgba(96,165,250,0.15);
  border: 1px solid rgba(96,165,250,0.3);
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #60a5fa;
}
.case-body {
  padding: 24px;
}
.case-body .case-voice-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #2563eb;
  margin-bottom: 8px;
}
.case-body p {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.8;
}

/* ===== FLOW ===== */
.flow {
  padding: 100px 0;
  background: #f8fafc;
}
.flow-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}
.flow-step {
  text-align: center;
  padding: 28px 16px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  border: 1px solid #e2e8f0;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}
.flow-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(37,99,235,0.1);
}
.flow-step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #1e40af);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 14px;
}
.flow-step h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1e293b;
}

/* ===== FAQ ===== */
.faq {
  padding: 100px 0;
  background: #fff;
}
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow 0.3s;
}
.faq-item:hover {
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.95rem;
  color: #1e293b;
  background: #fff;
  gap: 16px;
}
.faq-question::before {
  content: 'Q';
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, #2563eb, #1e40af);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
}
.faq-toggle {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s, background 0.3s;
}
.faq-toggle svg {
  width: 14px;
  height: 14px;
  stroke: #475569;
  transition: transform 0.3s;
}
.faq-item.open .faq-toggle {
  background: #2563eb;
}
.faq-item.open .faq-toggle svg {
  stroke: #fff;
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-answer-inner {
  padding: 0 24px 20px 72px;
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.8;
}

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(37,99,235,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.cta-section h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  position: relative;
}
.cta-section p {
  color: #94a3b8;
  font-size: 1rem;
  margin-bottom: 36px;
  position: relative;
}
.cta-section .btn { position: relative; }

/* ===== FOOTER ===== */
.footer {
  background: #0f172a;
  padding: 60px 0 32px;
  color: #94a3b8;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 40px;
}
.footer-brand .logo {
  font-size: 1.4rem;
  margin-bottom: 10px;
  -webkit-text-fill-color: #fff;
  background: none;
}
.footer-brand p {
  font-size: 0.85rem;
  color: #64748b;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-links a {
  font-size: 0.85rem;
  color: #94a3b8;
  transition: color 0.3s;
}
.footer-links a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 24px;
  text-align: center;
  font-size: 0.8rem;
  color: #475569;
}

/* ===== MOBILE STICKY CTA ===== */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 998;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  padding: 12px 20px;
  box-shadow: 0 -2px 16px rgba(0,0,0,0.1);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.mobile-sticky-cta.show {
  transform: translateY(0);
}
.mobile-sticky-cta .btn {
  width: 100%;
  padding: 16px;
  font-size: 1rem;
  border-radius: 10px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .nav { display: none; }
  .hamburger { display: flex; }
  .problem-cards,
  .solution-cards,
  .case-cards { grid-template-columns: 1fr; }
  .flow-steps { grid-template-columns: repeat(3, 1fr); }
  .mobile-sticky-cta { display: block; }
  .footer { padding-bottom: 80px; }
}
@media (max-width: 640px) {
  .hero { padding: 120px 0 60px; }
  .hero-stats { flex-direction: column; align-items: center; }
  .hero-cta { flex-direction: column; align-items: center; }
  .hero-cta .btn { width: 100%; max-width: 300px; }
  .flow-steps { grid-template-columns: 1fr 1fr; }
  .problem-summary { padding: 28px 24px; }
  .footer-inner { flex-direction: column; }
  .comparison-table-wrap { margin: 0 -24px; border-radius: 0; }
}
