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

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

:root {
  --navy: #0F172A;
  --navy-light: #1E293B;
  --blue: #2563EB;
  --blue-hover: #1D4ED8;
  --blue-light: #3B82F6;
  --blue-pale: #DBEAFE;
  --blue-50: #EFF6FF;
  --accent: #F59E0B;
  --accent-hover: #D97706;
  --white: #FFFFFF;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-500: #64748B;
  --gray-600: #475569;
  --gray-700: #334155;
  --text: #0F172A;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(15,23,42,.08);
  --shadow-lg: 0 8px 40px rgba(15,23,42,.12);
  --transition: .25s ease;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ===== UTILITIES ===== */
.container { max-width: 960px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-alt { background: var(--gray-50); }
.section-dark { background: var(--navy); color: var(--white); }
.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 8px;
}
.section-dark .section-label { color: var(--blue-light); }
.section-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 16px;
}
.section-title em {
  font-style: normal;
  background: linear-gradient(transparent 60%, rgba(37,99,235,.15) 60%);
}
.section-lead {
  font-size: 15px;
  color: var(--gray-600);
  max-width: 640px;
}
.section-dark .section-lead { color: var(--gray-300); }

/* ===== HEADER ===== */
.lp-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.lp-header .logo {
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.3;
}
.lp-header .logo span { display: block; font-size: 11px; font-weight: 400; opacity: .7; }
.header-right { display: flex; align-items: center; gap: 16px; }
.header-tel {
  color: var(--white);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.header-tel strong { font-size: 17px; font-weight: 700; letter-spacing: .04em; }
.header-cta {
  display: inline-block;
  background: var(--accent);
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 6px;
  transition: background var(--transition);
}
.header-cta:hover { background: var(--accent-hover); }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, #0F172A 0%, #1E3A5F 100%);
  color: var(--white);
  padding: 64px 0 72px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37,99,235,.15) 0%, transparent 70%);
  border-radius: 50%;
}
.hero .container { position: relative; z-index: 1; }
.hero-badge {
  display: inline-block;
  background: rgba(37,99,235,.25);
  border: 1px solid rgba(59,130,246,.3);
  color: #93C5FD;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: 36px;
  font-weight: 900;
  line-height: 1.35;
  margin-bottom: 20px;
  letter-spacing: -.01em;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(transparent 60%, rgba(245,158,11,.35) 60%);
}
.hero-lead {
  font-size: 16px;
  line-height: 1.8;
  color: var(--gray-300);
  margin-bottom: 32px;
  max-width: 560px;
}
.hero-stats {
  display: flex;
  gap: 32px;
  margin-bottom: 36px;
}
.hero-stat {
  text-align: center;
}
.hero-stat-value {
  font-size: 32px;
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
}
.hero-stat-value small { font-size: 14px; font-weight: 600; }
.hero-stat-label {
  font-size: 12px;
  color: var(--gray-300);
  margin-top: 4px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,.3);
  transition: all var(--transition);
}
.btn-secondary:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn-blue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--blue);
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  padding: 16px 32px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  border: none;
  cursor: pointer;
  width: 100%;
  max-width: 400px;
}
.btn-blue:hover { background: var(--blue-hover); transform: translateY(-1px); }

/* ===== USE CASES ===== */
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.usecase-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all var(--transition);
}
.usecase-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow);
}
.usecase-icon {
  font-size: 32px;
  margin-bottom: 12px;
}
.usecase-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}
.usecase-card p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ===== FEATURES ===== */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 48px;
}
.feature-block + .feature-block {
  margin-top: 64px;
  padding-top: 64px;
  border-top: 1px solid var(--gray-200);
}
.feature-block.reverse { direction: rtl; }
.feature-block.reverse > * { direction: ltr; }
.feature-text h3 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
}
.feature-text h3 em {
  font-style: normal;
  background: linear-gradient(transparent 60%, rgba(37,99,235,.15) 60%);
}
.feature-text p {
  font-size: 15px;
  color: var(--gray-600);
  margin-bottom: 16px;
}
.feature-list {
  list-style: none;
}
.feature-list li {
  font-size: 14px;
  padding: 4px 0;
  padding-left: 24px;
  position: relative;
  color: var(--gray-700);
}
.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}
.feature-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.feature-image img {
  width: 100%;
  display: block;
}

/* ===== CASES (導入実績) ===== */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.case-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: all var(--transition);
}
.case-card:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.2);
}
.case-icon {
  font-size: 36px;
  margin-bottom: 12px;
}
.case-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}
.case-card p {
  font-size: 13px;
  color: var(--gray-300);
  line-height: 1.6;
}

/* ===== COMPARISON ===== */
.compare-table-wrap {
  margin-top: 40px;
  overflow-x: auto;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.compare-table th,
.compare-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
}
.compare-table thead th {
  background: var(--gray-50);
  font-weight: 700;
  font-size: 14px;
  color: var(--gray-600);
}
.compare-table .col-label {
  font-weight: 600;
  width: 180px;
  color: var(--gray-700);
}
.compare-table .col-ilist {
  background: var(--blue-50);
  font-weight: 600;
}
.compare-table .highlight {
  color: var(--blue);
  font-weight: 700;
}
.compare-note {
  font-size: 13px;
  color: var(--gray-500);
  margin-top: 16px;
}

/* ===== STRENGTHS ===== */
.strengths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.strength-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition);
}
.strength-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--blue);
}
.strength-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--blue);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 16px;
}
.strength-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}
.strength-card p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, #1E3A5F 0%, #0F172A 100%);
  color: var(--white);
  text-align: center;
  padding: 80px 0;
}
.cta-section h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
}
.cta-section p {
  color: var(--gray-300);
  margin-bottom: 32px;
  font-size: 15px;
}
.cta-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.cta-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-300);
  font-size: 14px;
}
.cta-phone strong {
  color: var(--white);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .04em;
}

/* ===== FORM ===== */
.form-section {
  padding: 80px 0;
}
.form-wrapper {
  max-width: 640px;
  margin: 40px auto 0;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 40px 32px;
  box-shadow: var(--shadow);
}

/* CF7 Form Styles */
.form-wrapper .table-res-form {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.form-wrapper .table-res-form th,
.form-wrapper .table-res-form td {
  padding: 12px 8px;
  text-align: left;
  vertical-align: top;
  font-size: 15px;
}
.form-wrapper .table-res-form th {
  font-weight: 600;
  width: 200px;
  padding-top: 20px;
}
.form-wrapper .table-res-form td input[type="text"],
.form-wrapper .table-res-form td input[type="email"],
.form-wrapper .table-res-form td input[type="tel"],
.form-wrapper .table-res-form td select,
.form-wrapper .table-res-form td textarea {
  width: 100%;
  max-width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  background: var(--white);
  color: var(--text);
  box-sizing: border-box;
  line-height: 1.5;
  transition: border-color var(--transition);
}
.form-wrapper .table-res-form td input:focus,
.form-wrapper .table-res-form td select:focus,
.form-wrapper .table-res-form td textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}
.form-wrapper .table-res-form td,
.form-wrapper .table-res-form td p,
.form-wrapper .table-res-form td .wpcf7-form-control-wrap {
  width: 100%;
  max-width: 100%;
  display: block;
}
.form-wrapper .table-res-form td select {
  appearance: auto;
  -webkit-appearance: menulist;
  color: var(--text);
  background: var(--white);
}
.form-wrapper input[type="submit"] {
  display: block;
  width: 100%;
  max-width: 360px;
  margin: 24px auto 0;
  background: var(--blue);
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  padding: 16px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
}
.form-wrapper input[type="submit"]:hover {
  background: var(--blue-hover);
  transform: translateY(-1px);
}
.form-wrapper .wpcf7-response-output {
  margin: 16px 0 0;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
}

/* ===== FOOTER ===== */
.lp-footer {
  background: var(--navy);
  color: var(--gray-300);
  padding: 32px 24px;
  text-align: center;
  font-size: 13px;
}
.lp-footer a { color: var(--gray-300); transition: color var(--transition); }
.lp-footer a:hover { color: var(--white); }
.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.footer-company {
  font-size: 12px;
  color: var(--gray-500);
  margin-top: 8px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero { padding: 48px 0 56px; }
  .hero h1 { font-size: 26px; }
  .hero-stats { gap: 20px; }
  .hero-stat-value { font-size: 24px; }
  .hero-actions { flex-direction: column; }
  .hero-actions a { text-align: center; justify-content: center; }

  .section { padding: 56px 0; }
  .section-title { font-size: 22px; }

  .usecase-grid { grid-template-columns: 1fr; }

  .feature-block { grid-template-columns: 1fr; gap: 24px; }
  .feature-block.reverse { direction: ltr; }
  .feature-image { order: -1; }

  .cases-grid { grid-template-columns: 1fr; }

  .strengths-grid { grid-template-columns: 1fr; }

  .compare-table { font-size: 14px; }
  .compare-table th, .compare-table td { padding: 12px 12px; }
  .compare-table .col-label { width: 120px; }

  .form-wrapper { padding: 24px 16px; }
  .form-wrapper .table-res-form,
  .form-wrapper .table-res-form tbody,
  .form-wrapper .table-res-form tr,
  .form-wrapper .table-res-form th,
  .form-wrapper .table-res-form td {
    display: block;
    width: 100%;
  }
  .form-wrapper .table-res-form th { padding: 12px 0 4px; }
  .form-wrapper .table-res-form td { padding: 0 0 8px; }

  .header-tel { display: none; }
  .lp-header .logo { font-size: 13px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 22px; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .cta-section h2 { font-size: 22px; }
}
