/* ===================================================
   Norikae Medical LP — lp-css/norikae-medical.css
   page-ticketing-lp.php が自動読み込み
   =================================================== */

:root {
  --primary: #0066CC;
  --primary-dark: #004E9A;
  --primary-light: #E8F2FF;
  --accent: #FF6B35;
  --accent-dark: #E5552A;
  --text: #1A1A2E;
  --text-light: #555570;
  --text-muted: #8888A0;
  --bg: #FFFFFF;
  --bg-soft: #F5F7FB;
  --bg-warm: #FFF8F4;
  --border: #E0E4ED;
  --success: #00A67E;
  --white: #FFFFFF;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --shadow-xl: 0 16px 48px rgba(0,0,0,0.15);
  --radius: 12px;
  --radius-lg: 20px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

/* ===== HERO ===== */
.hero {
  position: relative;
  background: linear-gradient(135deg, #003366 0%, #0066CC 50%, #0088EE 100%);
  color: var(--white);
  padding: 80px 20px 60px;
  overflow: hidden;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,107,53,0.15) 0%, transparent 70%);
  border-radius: 50%;
}

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

.hero-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  padding: 6px 24px;
  border-radius: 100px;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}

.hero h1 {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 12px;
}

.hero h1 .highlight {
  color: #FFD166;
}

.hero-sub {
  font-size: clamp(16px, 2.5vw, 20px);
  opacity: 0.9;
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero-numbers {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-stat { text-align: center; }

.hero-stat-value {
  font-family: 'Outfit', sans-serif;
  font-size: 42px;
  font-weight: 800;
  display: block;
  line-height: 1.1;
}

.hero-stat-value .unit {
  font-size: 20px;
  font-weight: 600;
}

.hero-stat-label {
  font-size: 13px;
  opacity: 0.8;
}

.cta-button {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  padding: 18px 48px;
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(255,107,53,0.4);
}

.cta-button:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(255,107,53,0.5);
}

.cta-sub {
  font-size: 13px;
  opacity: 0.7;
  margin-top: 12px;
}

/* ===== SECTION COMMON ===== */
.section { padding: 80px 20px; }
.section-inner { max-width: 960px; margin: 0 auto; }

.section-title {
  text-align: center;
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.4;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 16px;
  margin-bottom: 48px;
}

/* ===== PAIN POINTS ===== */
.pain-section { background: var(--bg-soft); }

.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.pain-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--accent);
  transition: transform 0.2s;
}

.pain-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.pain-icon { font-size: 28px; margin-bottom: 12px; }
.pain-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.pain-card p { font-size: 14px; color: var(--text-light); line-height: 1.7; }

/* ===== COMPARISON ===== */
.compare-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  min-width: 600px;
}

.compare-table thead th {
  padding: 20px 24px;
  font-weight: 700;
  font-size: 16px;
  text-align: center;
  border-bottom: 2px solid var(--border);
}

.compare-table thead th:first-child { text-align: left; background: var(--bg-soft); }
.compare-table thead th:nth-child(2),
.compare-table thead th:nth-child(3),
.compare-table thead th:nth-child(4) { background: #F0F0F5; color: var(--text-light); }

.compare-table thead th.col-ilist,
.compare-table thead th:last-child { background: var(--primary); color: var(--white); }

.compare-4col { min-width: 750px; }

.compare-table tbody td {
  padding: 14px 16px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.compare-table tbody td:first-child {
  text-align: left;
  font-weight: 600;
  background: var(--bg-soft);
  min-width: 140px;
}

.compare-table tbody td:nth-child(2),
.compare-table tbody td:nth-child(3),
.compare-table tbody td:nth-child(4) { color: var(--text-muted); }

.compare-table tbody td.col-ilist,
.compare-table tbody td:last-child {
  color: var(--primary-dark);
  font-weight: 700;
  background: var(--primary-light);
}

.compare-table tbody small {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 400;
}

.compare-table .badge-recommend {
  display: inline-block;
  background: var(--accent);
  color: white;
  font-size: 11px;
  padding: 2px 10px;
  border-radius: 100px;
  margin-left: 6px;
}

.compare-savings {
  text-align: center;
  margin-top: 32px;
  padding: 24px;
  background: var(--bg-warm);
  border-radius: var(--radius);
  border: 2px dashed var(--accent);
}

.compare-savings .amount {
  font-family: 'Outfit', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: var(--accent);
}

/* ===== REASONS ===== */
.reasons-section { background: var(--bg-soft); }

.reason-items { display: flex; flex-direction: column; gap: 32px; }

.reason-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.reason-number {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: var(--primary);
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
}

.reason-content h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.reason-content p { color: var(--text-light); font-size: 15px; }

/* ===== PRICING ===== */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.pricing-card.featured {
  border: 3px solid var(--primary);
  position: relative;
}

.pricing-card.featured::before {
  content: 'おすすめ';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 20px;
  border-radius: 100px;
}

.pricing-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }

.pricing-price {
  font-family: 'Outfit', sans-serif;
  font-size: 42px;
  font-weight: 800;
  color: var(--primary);
  margin: 16px 0;
}

.pricing-price .yen { font-size: 18px; font-weight: 600; }
.pricing-price .per { font-size: 14px; font-weight: 500; color: var(--text-light); }

.pricing-features { list-style: none; text-align: left; margin-top: 20px; }

.pricing-features li {
  padding: 8px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.pricing-features li::before { content: '✓'; color: var(--success); font-weight: 700; }

.pricing-example {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
}

.pricing-example h3 { font-size: 18px; margin-bottom: 16px; }

.pricing-calc {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 16px;
}

.pricing-calc span {
  background: var(--white);
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
  color: var(--text);
}

.pricing-total {
  font-family: 'Outfit', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: var(--primary);
}

.pricing-total .per { font-size: 16px; font-weight: 500; color: var(--text-light); }

/* ===== FLOW ===== */
.flow-section { background: var(--bg-soft); }

.flow-steps { display: flex; flex-direction: column; gap: 0; position: relative; }

.flow-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  position: relative;
  padding-bottom: 40px;
}

.flow-step:last-child { padding-bottom: 0; }

.flow-step-marker {
  flex-shrink: 0;
  width: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.flow-step-dot {
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  position: relative;
  z-index: 1;
}

.flow-step-line {
  width: 2px;
  flex-grow: 1;
  background: var(--border);
  margin-top: 4px;
}

.flow-step:last-child .flow-step-line { display: none; }

.flow-step-content {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  flex-grow: 1;
}

.flow-step-content h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.flow-step-content p { font-size: 14px; color: var(--text-light); }

/* ===== PRINTER FAQ ===== */
.printer-section { background: var(--white); }

.printer-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.printer-card {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 28px;
}

.printer-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 12px; color: var(--primary-dark); }
.printer-card p { font-size: 14px; color: var(--text-light); line-height: 1.8; }
.printer-card .highlight-text { color: var(--accent); font-weight: 700; }

/* ===== CAMPAIGN CTA ===== */
.campaign-cta {
  background: linear-gradient(135deg, #003366 0%, #0066CC 100%);
  color: var(--white);
  text-align: center;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

.campaign-cta::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='1' fill='rgba(255,255,255,0.05)'/%3E%3C/svg%3E");
}

.campaign-inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }

.campaign-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 8px 28px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
}

.campaign-title { font-size: clamp(26px, 4vw, 40px); font-weight: 800; margin-bottom: 12px; }

.campaign-free {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(48px, 8vw, 72px);
  font-weight: 900;
  color: #FFD166;
  line-height: 1.1;
  margin-bottom: 8px;
}

.campaign-value { font-size: 20px; opacity: 0.9; margin-bottom: 32px; }

.campaign-benefits {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.campaign-benefit {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
}

.campaign-conditions { font-size: 13px; opacity: 0.7; margin-top: 20px; line-height: 1.8; }

/* ===== FAQ ===== */
.faq-section { background: var(--bg-soft); }
.faq-list { display: flex; flex-direction: column; gap: 16px; }

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  padding: 20px 24px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: background 0.2s;
}

.faq-question:hover { background: var(--bg-soft); }

.faq-question::before {
  content: 'Q';
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--primary);
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.faq-answer {
  padding: 0 24px 20px 68px;
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.8;
}

/* ===== CONTACT FORM ===== */
.contact-section { background: var(--white); }

.contact-form-wrap {
  max-width: 640px;
  margin: 0 auto;
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.contact-phone {
  text-align: center;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.contact-phone-label { font-size: 14px; color: var(--text-light); margin-bottom: 4px; }

.contact-phone-number {
  font-family: 'Outfit', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.contact-phone-time { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

/* CF7 Form Table */
.table-res-form { width: 100%; border-collapse: collapse; table-layout: fixed; }

.table-res-form th,
.table-res-form td { padding: 12px 8px; text-align: left; vertical-align: top; font-size: 15px; }

.table-res-form th { font-weight: 600; width: 240px; padding-top: 20px; }
.table-res-form th .required { color: var(--accent); font-size: 12px; margin-left: 4px; }

.contact-form-wrap .table-res-form td input[type="text"],
.contact-form-wrap .table-res-form td input[type="email"],
.contact-form-wrap .table-res-form td input[type="tel"],
.contact-form-wrap .table-res-form td select,
.contact-form-wrap .table-res-form td textarea {
  width: 100%;
  max-width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s;
  background: #fff;
  color: var(--text);
  box-sizing: border-box;
  line-height: 1.5;
}

.contact-form-wrap .table-res-form td,
.contact-form-wrap .table-res-form td p,
.contact-form-wrap .table-res-form td .wpcf7-form-control-wrap {
  width: 100%;
  max-width: 100%;
  display: block;
}

.contact-form-wrap .table-res-form td select {
  appearance: auto;
  -webkit-appearance: menulist;
  color: var(--text);
  background: #fff;
}

.contact-form-wrap .table-res-form td input:focus,
.contact-form-wrap .table-res-form td select:focus,
.contact-form-wrap .table-res-form td textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,102,204,0.1);
  color: var(--text);
}

.contact-form-wrap .table-res-form td textarea { min-height: 120px; resize: vertical; }

.contact-form-wrap .wpcf7-form input[type="submit"] {
  width: 100%;
  background: var(--accent);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  padding: 18px;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(255,107,53,0.3);
  margin-top: 16px;
}

.contact-form-wrap .wpcf7-form input[type="submit"]:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.wpcf7-response-output {
  text-align: center;
  margin-top: 16px;
  padding: 12px;
  border-radius: 8px;
  font-size: 14px;
}

.form-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 16px;
  line-height: 1.7;
}

/* ===== COMPANY ===== */
.company-section { background: var(--bg-soft); padding: 48px 20px; }

.company-table {
  max-width: 640px;
  margin: 0 auto;
  width: 100%;
  border-collapse: collapse;
}

.company-table th,
.company-table td {
  padding: 12px 16px;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.company-table th { font-weight: 600; width: 120px; color: var(--text-light); }

/* ===== FOOTER CTA ===== */
.footer-cta {
  background: var(--text);
  color: var(--white);
  text-align: center;
  padding: 48px 20px;
}

.footer-cta h2 { font-size: clamp(20px, 3vw, 28px); font-weight: 700; margin-bottom: 8px; }
.footer-cta p { opacity: 0.7; font-size: 15px; margin-bottom: 24px; }
.footer-cta .cta-button { font-size: 16px; padding: 16px 40px; }

/* ===== FOOTER ===== */
.footer {
  background: #0D0D1A;
  color: rgba(255,255,255,0.5);
  text-align: center;
  padding: 24px 20px;
  font-size: 13px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero { padding: 60px 16px 48px; }
  .section { padding: 60px 16px; }
  .hero-numbers { gap: 24px; }
  .hero-stat-value { font-size: 32px; }
  .reason-item { flex-direction: column; padding: 24px; }
  .reason-number { width: 44px; height: 44px; font-size: 20px; }
  .contact-form-wrap { padding: 24px; }
  .table-res-form,
  .table-res-form tbody,
  .table-res-form tr,
  .table-res-form th,
  .table-res-form td { display: block; width: 100%; }
  .table-res-form th { white-space: normal; padding: 12px 0 4px; }
  .table-res-form td { padding: 0 0 8px; }
  .pricing-calc { flex-direction: column; }
  .campaign-benefits { flex-direction: column; align-items: center; }
}