/* ============================================
   VARIABLE DEFINITIONS
   ============================================ */
:root {
  /* Brand Colors */
  --blue: #4A90E2;
  --blue-light: #EEF4FC;
  --red: #FF6B6B;
  --navy: #1A2B45;
  --navy-mid: #2D4A73;
  /* Accent（--blue と統一。var(--gold)は--blueのエイリアス） */
  --gold: #4A90E2;
  --gold-light: #EEF4FC;
  --gold-dark: #3A7BC8;
  /* Text & UI */
  --text: #333333;
  --gray: #666666;
  --light: #F8F9FA;
  --border: #E8E8E8;
  --success: #2ECC71;
  --white: #FFFFFF;
  /* New error, warning, and gray variations */
  --blue-dark: #3A7BC8;
  --error-bg: #ffe5e5;
  --error: #e74c3c;
  --warning: #e67e22;
  --success-bg: #e3f5e9;
  --gray-light: #cccccc;
  --gray-mid: #aaaaaa;
  /* Border Radius */
  --radius-sm: 6px;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-pill: 20px;
  /* Shadows */
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.10);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: white;
  overflow-x: hidden;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
}

h1 {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 20px;
}

h2 {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 30px;
}

h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 15px;
}

h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

p {
  color: var(--text);
  line-height: 1.8;
}

a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: var(--blue-dark);
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 80px 0;
}

/* ============================================
   BUTTONS & LINKS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s;
  white-space: nowrap;
}

.btn-large {
  padding: 18px 40px;
  font-size: 1.1rem;
}

.btn-primary {
  background: var(--blue);
  color: white;
}

.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: white;
  color: var(--blue);
  border: 2px solid var(--blue);
}

.btn-secondary:hover {
  background: var(--blue);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-primary-light {
  background: white;
  color: var(--blue);
  border: 2px solid white;
  font-weight: 700;
}

.btn-primary-light:hover {
  background: rgba(255, 255, 255, 0.85);
  color: var(--navy);
  transform: translateY(-2px);
}

.btn-secondary-light {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid white;
}

.btn-secondary-light:hover {
  background: white;
  color: var(--blue);
}

.btn-outline {
  background: white;
  color: var(--blue);
  border: 2px solid var(--blue);
  transition: all 0.3s;
}

.btn-outline:hover {
  background: var(--blue);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-weight: 700;
  transition: gap 0.3s;
}

.link-arrow:hover {
  gap: 12px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 20, 45, 0.55);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-tag {
  display: inline-block;
  background: rgba(74, 144, 226, 0.4);
  backdrop-filter: blur(10px);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  letter-spacing: 0.05em;
}

.hero-title {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 20px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.hero-description {
  font-size: 1rem;
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto 40px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(10, 20, 45, 0.45);
  padding: 20px;
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  max-width: 800px;
}

.stat-item {
  background: rgba(10, 20, 45, 0.4);
  padding: 15px;
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
}

/* TRUST BAR */
.trust-bar {
  background: var(--navy);
  padding: 40px 0;
}

.trust-items {
  display: flex;
  justify-content: center;
  gap: 48px;
  text-align: center;
  flex-wrap: wrap;
}

.trust-item {
  color: white;
  font-weight: 700;
  font-size: 0.95rem;
}

/* PAGE HERO */
.page-hero {
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%);
  color: white;
  padding: 100px 0;
  text-align: center;
}

.page-hero h1 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* PAIN SECTION */
.section-pain { background: var(--light); }

.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.pain-card {
  background: white;
  padding: 30px;
  border-radius: var(--radius);
  border-left: 4px solid var(--red);
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.pain-card h3 { margin-bottom: 15px; color: var(--navy); }

.pain-closing { display: flex; justify-content: center; padding: 0 20px; }

.closing-box {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy) 100%);
  color: white;
  padding: 40px;
  border-radius: var(--radius);
  max-width: 700px;
  text-align: center;
}

.closing-box p { color: white; font-size: 1.1rem; line-height: 1.8; margin: 10px 0; }
.closing-box p:first-child { font-weight: 700; font-size: 1.2rem; }

/* SERVICE SECTION */
.section-services { background: white; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.service-card { text-align: center; transition: transform 0.3s; }
.service-card:hover { transform: translateY(-5px); }

.service-image { margin-bottom: 30px; overflow: hidden; border-radius: var(--radius); height: 250px; }
.service-image img { width: 100%; height: 100%; object-fit: cover; }

.service-point {
  display: inline-block;
  background: var(--blue);
  color: white;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.service-card h3 { margin-bottom: 15px; }
.service-card p { color: var(--gray); line-height: 1.8; }

.section-cta { text-align: center; }

/* DIFFERENTIATION */
.section-differentiation {
  background: var(--light);
  position: relative;
}
.section-differentiation::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 60% at 0% 0%, rgba(74,144,226,0.05), transparent 70%);
  pointer-events: none;
}

.diff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.diff-item {
  display: flex;
  flex-direction: column;
  background: white;
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--blue);
  transition: transform 0.3s, box-shadow 0.3s;
}
.diff-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.diff-number {
  width: 48px;
  height: 48px;
  background: var(--blue);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.4rem;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.diff-body { flex: 1; }
.diff-item h3 { margin-bottom: 15px; font-size: 1.2rem; }
.diff-item p { color: var(--gray); line-height: 1.8; margin-bottom: 10px; }
.diff-note {
  background: var(--blue-light);
  border-left: 3px solid var(--blue);
  padding: 12px 16px;
  border-radius: 0 6px 6px 0;
  font-size: 0.92rem;
  color: var(--navy) !important;
  margin-top: 12px !important;
}

/* PDCA COMPARE */
.section-pdca-compare { background: var(--light); }

.pdca-flow-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 40px;
}

.pdca-flow-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  min-width: 660px;
}

.pdca-row-compare {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pdca-row-ours { border-top: 1px dashed var(--border); padding-top: 16px; }

.pdca-row-label {
  min-width: 110px;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}
.pdca-label-general { color: var(--gray); }
.pdca-label-ours { color: var(--blue); }

.pdca-steps-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
}

.pdca-step-box {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}
.pdca-step-box.pdca-on {
  background: var(--blue);
  color: white;
}
.pdca-step-box.pdca-off {
  background: var(--border);
  color: var(--gray-mid);
}
.pdca-arrow-box { color: var(--gray); font-size: 1rem; }
.pdca-off-text { color: var(--gray-light); }

.pdca-end-label {
  min-width: 88px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.pdca-end-bad { background: var(--error-bg); color: var(--error); }
.pdca-end-good { background: var(--success-bg); color: #27ae60; }

.compare-tbl-wrap { overflow-x: auto; }
.compare-tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.compare-tbl th, .compare-tbl td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.compare-tbl th:first-child, .compare-tbl td:first-child { text-align: left; }
.compare-tbl thead th {
  background: var(--navy);
  color: white;
  font-weight: 700;
}
.compare-tbl .our-col { background: var(--blue-light); font-weight: 700; color: var(--blue); }
.compare-tbl thead .our-col { background: var(--blue); color: white; }
.compare-tbl tbody tr:last-child td { border-bottom: none; }
.tbl-no { color: var(--error); font-weight: 700; font-size: 1.1rem; }
.tbl-delta { color: var(--warning); font-weight: 700; font-size: 1.1rem; }

/* CLICKABLE CARDS */
.clickable-card {
  position: relative;
  cursor: pointer;
}

/* CASE MINI */
.section-case-mini {
  background: linear-gradient(180deg, #f0f4f8 0%, var(--light) 100%);
}

.case-mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.case-mini-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}

.case-mini-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.case-mini-header {
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%);
  color: white;
  padding: 30px;
  text-align: center;
}

.case-mini-header h3 { color: white; margin-bottom: 8px; }
.case-mini-content { padding: 30px; }
.case-mini-content p { margin: 12px 0; font-size: 0.95rem; }

/* COLUMN SECTION */
.section-column {
  background: var(--light);
  position: relative;
}
.section-column::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 40% 50% at 100% 100%, rgba(74,144,226,0.04), transparent 70%);
  pointer-events: none;
}

.column-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.column-card {
  background: white;
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}

.column-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.column-badge {
  display: inline-block;
  background: var(--blue);
  color: white;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.column-card h3 { margin-bottom: 15px; font-size: 1.2rem; }
.column-card p { color: var(--gray); margin-bottom: 20px; }

/* CTA BANNER */
.cta-banner {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: white;
  padding: 60px 0;
  text-align: center;
}

.cta-banner h2 { color: white; margin-bottom: 30px; font-size: 2rem; }

.banner-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* SECTION TITLE */
.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 40px;
}

/* STEPS */
.section-steps { background: white; }

.steps-container { display: grid; gap: 40px; }

.step-item {
  background: linear-gradient(135deg, var(--light) 0%, var(--light) 100%);
  padding: 40px;
  border-radius: var(--radius);
  border-left: 4px solid var(--blue);
}

.step-number {
  display: inline-block;
  background: var(--blue);
  color: white;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.step-item h3 { font-size: 1.5rem; margin-bottom: 20px; }
.step-content { margin-top: 20px; }

.step-lead {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.step-details h4 { margin-top: 20px; margin-bottom: 15px; }

.step-list { list-style: none; margin-bottom: 20px; }

.step-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--gray);
}

.step-list i { color: var(--blue); font-weight: 700; margin-top: 2px; }

.step-note {
  background: white;
  padding: 15px;
  border-radius: var(--radius-sm);
  margin-top: 20px;
  border-left: 3px solid var(--blue);
  font-style: italic;
  color: var(--gray);
}

.step-highlight {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  padding: 14px 18px;
  background: var(--blue-light);
  border: 1px solid rgba(74, 144, 226, 0.3);
  border-radius: var(--radius);
  font-size: 0.93rem;
  color: var(--navy);
  line-height: 1.7;
}
.step-highlight i {
  font-size: 1.2rem;
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 2px;
}
.step-highlight strong { color: var(--blue); }

/* FEATURES */
.section-features { background: var(--light); }

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

.feature-item {
  background: white;
  padding: 30px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}

.feature-item:hover { transform: translateY(-5px); }

.feature-icon { font-size: 2.5rem; color: var(--blue); margin-bottom: 15px; }
.feature-item h3 { margin-bottom: 15px; font-size: 1.2rem; }
.feature-item p { color: var(--gray); font-size: 0.95rem; }

/* FAQ */
.section-faq { background: white; }

.faq-container { max-width: 800px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 25px 0;
  cursor: pointer;
}

.faq-item:last-child { border-bottom: none; }

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question h3 { margin: 0; font-size: 1.1rem; flex: 1; }

.faq-question i {
  color: var(--blue);
  font-size: 1.5rem;
  transition: transform 0.3s;
}

.faq-item.open .faq-question i { transform: rotate(45deg); }

.faq-answer {
  display: none;
  padding: 20px 0;
  color: var(--gray);
  line-height: 1.8;
}

.faq-item.open .faq-answer { display: block; }

/* PRICING */
.section-pricing { background: white; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.pricing-grid-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-card {
  background: white;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.pricing-recommended {
  border-color: var(--blue);
  box-shadow: var(--shadow-lg);
  transform: scale(1.05);
}

.pricing-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: white;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
}

.pricing-header h3 { color: var(--navy); margin-bottom: 5px; }
.pricing-subtitle { color: var(--gray); font-size: 0.9rem; margin-bottom: 20px; }

.pricing-price {
  margin: 30px 0;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--blue);
}

/* New price block */
.pricing-price-block { margin: 24px 0 20px; text-align: center; }
.pricing-price-main { display: flex; align-items: baseline; justify-content: center; gap: 4px; }
.price-num { font-size: 3rem; font-weight: 900; color: var(--blue); line-height: 1; }
.price-unit { font-size: 1rem; font-weight: 700; color: var(--navy); }
.price-unit small { font-size: 0.8rem; font-weight: 400; color: var(--gray); }
.price-note { font-size: 0.85rem; color: var(--gray); margin-top: 6px; }
.price-note strong { color: var(--blue); }

.pricing-meta-row { display: flex; flex-direction: column; gap: 8px; margin: 16px 0; background: var(--light); border-radius: var(--radius-sm); padding: 14px 16px; }
.pricing-meta-item { display: flex; gap: 10px; font-size: 0.88rem; }
.meta-label { font-weight: 700; color: var(--navy); min-width: 70px; flex-shrink: 0; }
.meta-val { color: var(--gray); }

.features-label { font-weight: 700; color: var(--navy); font-size: 0.9rem; margin-bottom: 10px; }
.features-note { font-size: 0.8rem; color: var(--gray); margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--border); }

.pricing-description {
  background: var(--light);
  padding: 20px;
  border-radius: var(--radius-sm);
  margin: 20px 0;
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.8;
}

.pricing-features {
  text-align: left;
  margin: 30px 0;
  background: var(--light);
  padding: 20px;
  border-radius: var(--radius-sm);
}

.pricing-features ul { list-style: none; }

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  color: var(--gray);
  font-size: 0.95rem;
}

.pricing-features i { flex-shrink: 0; }
.pricing-features .ri-check-line { color: var(--success); font-weight: 700; }
.pricing-features .ri-close-line { color: var(--gray-light); font-weight: 700; }

/* COMPARISON TABLE */
.section-comparison { background: var(--light); }

.comparison-table { overflow-x: auto; }

.comparison-table table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  overflow: hidden;
}

.comparison-table th {
  background: var(--navy);
  color: white;
  padding: 20px;
  text-align: left;
  font-weight: 700;
}

.comparison-table td {
  padding: 20px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.comparison-table tbody tr:last-child td { border-bottom: none; }
.comparison-table tbody tr:hover { background: #f9f9f9; }
.comparison-table strong { color: var(--navy); }
.comparison-table i { font-size: 1.2rem; }
.comparison-table .ri-check-line { color: var(--success); }
.comparison-table .ri-close-line { color: var(--gray-light); }
.comparison-table .our-col { background: var(--blue-light); }
.comparison-table thead .our-col { background: var(--blue); color: white; }
.comparison-table td { vertical-align: top; text-align: center; }
.comparison-table td:first-child { text-align: left; }
.comparison-table th:first-child { text-align: left; }
.comparison-table th { text-align: center; }
.comparison-table small { display: block; margin-top: 4px; }
.cmp-great { color: var(--blue); font-size: 1.2rem; font-weight: 900; }
.cmp-ok { color: #27ae60; font-size: 1.2rem; font-weight: 900; }
.cmp-delta { color: var(--warning); font-size: 1.2rem; font-weight: 900; }
.cmp-no { color: var(--error); font-size: 1.2rem; font-weight: 900; }
.cmp-note { font-size: 0.8rem; color: var(--gray); font-weight: 400; }

.comparison-note {
  margin-top: 20px;
  text-align: center;
  color: var(--gray);
  font-size: 0.9rem;
}

/* INCLUDED */
.section-included { background: white; }

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

.included-item {
  background: var(--light);
  padding: 30px;
  border-radius: var(--radius);
  text-align: center;
  transition: transform 0.3s;
}

.included-item:hover { transform: translateY(-5px); }

.included-icon { font-size: 2rem; color: var(--blue); margin-bottom: 15px; }
.included-item h3 { margin-bottom: 12px; }
.included-item p { color: var(--gray); font-size: 0.95rem; }

/* CASES */
.section-cases { background: white; }

.cases-grid {
  display: grid;
  gap: 40px;
  margin-bottom: 50px;
}

.case-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow 0.3s;
}

.case-card:hover { box-shadow: var(--shadow-lg); }

.case-header {
  padding: 30px;
  color: white;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.case-header-01 { background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%); }
.case-header-02 { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%); }
.case-header-03 { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%); }

.case-header h3 { color: white; margin-bottom: 5px; }
.case-clinic { color: rgba(255, 255, 255, 0.9); font-size: 0.95rem; }

.case-body { padding: 40px; }
.case-section { margin-bottom: 30px; }

.case-section h4 {
  color: var(--navy);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--blue);
}

.case-section p { color: var(--text); line-height: 1.8; }

.case-list { list-style: none; margin: 15px 0; }

.case-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
  color: var(--text);
}

.case-list i { color: var(--blue); margin-top: 3px; }

.case-quote {
  background: var(--light);
  padding: 25px;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--blue);
  margin-top: 30px;
}

.case-quote p { color: var(--text); line-height: 1.8; font-style: italic; }

.case-attribution {
  font-weight: 700;
  margin-top: 12px;
  color: var(--navy);
  font-style: normal;
}

/* RESULTS */
.section-results { background: var(--light); }

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  text-align: center;
}

.result-item {
  background: white;
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.result-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--blue);
  margin-bottom: 12px;
}

.result-item p {
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.result-subtext {
  display: block;
  font-size: 0.85rem;
  color: var(--gray);
  font-weight: 400;
}

/* TESTIMONIALS */
.section-testimonials { background: white; }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: var(--light);
  padding: 30px;
  border-radius: var(--radius);
  border-left: 4px solid var(--blue);
}

.testimonial-header { margin-bottom: 15px; }
.testimonial-title { font-weight: 700; color: var(--navy); }
.testimonial-text { color: var(--text); line-height: 1.8; font-style: italic; }

/* CEO */
.section-ceo { background: white; }

.ceo-profile {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.ceo-photo { overflow: hidden; border-radius: var(--radius); height: 500px; }
.ceo-photo img { width: 100%; height: 100%; object-fit: cover; }

.ceo-message h3 { color: var(--navy); margin-bottom: 16px; }
.ceo-message p { color: var(--text); line-height: 1.85; margin-bottom: 15px; text-align: justify; }

.ceo-career {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.ceo-career span {
  display: inline-block;
  background: var(--blue-light);
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid #cce0f7;
}
.ceo-career span.ceo-career-now {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

blockquote.ceo-quote {
  margin: 24px 0 0;
  padding: 18px 22px;
  background: var(--blue-light);
  border-left: 4px solid var(--blue);
  border-radius: 0 8px 8px 0;
  font-size: 0.95rem;
  font-style: italic;
  color: var(--navy);
  line-height: 1.8;
}

/* COMPANY */
.section-company { background: var(--light); }

.company-info-table { background: white; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }

.company-info-table table { width: 100%; border-collapse: collapse; }

.company-info-table td {
  padding: 20px;
  border-bottom: 1px solid var(--border);
}

.company-info-table td:first-child {
  font-weight: 700;
  color: var(--navy);
  background: var(--light);
  width: 30%;
}

.company-info-table tr:last-child td { border-bottom: none; }

/* VALUES */
.section-values { background: white; }

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

.value-item { text-align: center; }

.value-icon { font-size: 2.5rem; color: var(--blue); margin-bottom: 20px; }
.value-item h3 { margin-bottom: 15px; }
.value-item p { color: var(--gray); line-height: 1.8; }

/* MISSION */
.section-mission {
  background: var(--navy);
  color: white;
  position: relative;
  overflow: hidden;
}
.section-mission::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(74,144,226,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(74,144,226,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.mission-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.mission-content h2 { color: white; font-size: 1.2rem; font-weight: 500; margin-bottom: 15px; }
.mission-content h3 { color: white; font-size: 2.2rem; margin-bottom: 30px; }
.mission-content p { color: rgba(255, 255, 255, 0.95); line-height: 1.85; margin-bottom: 20px; font-size: 1.05rem; }

/* TEAM */
.section-team { background: var(--light); }

.team-description {
  text-align: center;
  margin-bottom: 40px;
  color: var(--gray);
  font-size: 1.05rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.team-member {
  background: white;
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.team-member h4 { margin-bottom: 15px; color: var(--blue); }
.team-member p { color: var(--gray); line-height: 1.8; }

/* ACHIEVEMENTS */
.section-achievements { background: white; }

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  text-align: center;
}

.achievement-item {
  background: var(--light);
  padding: 40px;
  border-radius: var(--radius);
}

.achievement-number {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--blue);
  margin-bottom: 12px;
}

.achievement-item p { font-weight: 700; color: var(--navy); }

/* CONTACT */
.section-contact { background: white; }

.contact-wrapper {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
}

.contact-form-section { grid-column: 1; }
.contact-info-section { grid-column: 2; }

.contact-form {
  max-width: 640px;
  background: var(--light);
  padding: 40px;
  border-radius: var(--radius);
}

.form-group { margin-bottom: 25px; }

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  color: var(--navy);
}

.required { color: var(--red); }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-agreement {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 20px 0;
}

.form-agreement input[type="checkbox"] { width: auto; margin-top: 3px; }
.form-agreement label { margin: 0; font-size: 0.95rem; line-height: 1.6; }
.form-agreement a { color: var(--blue); }

.form-note {
  background: var(--blue-light);
  border-left: 4px solid var(--blue);
  padding: 15px;
  border-radius: var(--radius-sm);
  margin-top: 20px;
  font-size: 0.9rem;
  color: var(--navy);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.form-note i { flex-shrink: 0; }

.contact-info-box {
  background: var(--light);
  padding: 25px;
  border-radius: var(--radius);
  margin-bottom: 25px;
  border-left: 4px solid var(--blue);
}

.contact-info-box h3 { font-size: 1.1rem; margin-bottom: 15px; }

.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.contact-detail a { color: var(--blue); }

.contact-note { font-size: 0.85rem; color: var(--gray); }

.contact-features {
  background: var(--light);
  padding: 25px;
  border-radius: var(--radius);
  margin-top: 25px;
}

.contact-features h3 { font-size: 1.1rem; margin-bottom: 12px; }
.contact-features p { color: var(--gray); margin-bottom: 15px; font-size: 0.95rem; }

.contact-features ul { list-style: none; margin: 15px 0; }

.contact-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
  color: var(--gray);
}

.contact-features i { color: var(--blue); margin-top: 2px; }

/* ARTICLES */
.section-filter {
  background: white;
  padding: 40px 0 0;
}

.filter-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 10px 20px;
  border: 2px solid var(--border);
  background: white;
  color: var(--text);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 700;
  transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
}

.section-articles { background: white; }

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.column-article {
  background: var(--light);
  padding: 30px;
  border-radius: var(--radius);
  border-top: none;
  border-left: 4px solid var(--blue);
  transition: all 0.3s;
}

.column-article:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.column-article .column-badge { display: inline-block; margin-bottom: 12px; }
.column-article h3 { margin-bottom: 12px; font-size: 1.15rem; }
.column-article p { color: var(--gray); margin-bottom: 15px; font-size: 0.95rem; }

.article-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--gray-mid);
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border);
}

.read-time { color: var(--blue); font-weight: 700; }

.article-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-weight: 700;
  transition: gap 0.3s;
}

.article-link:hover { gap: 10px; }

.section-loadmore {
  background: white;
  text-align: center;
  padding: 40px 0;
}

.loadmore-center { text-align: center; }

/* HEADER/FOOTER */
#site-header { position: sticky; top: 0; z-index: 100; }
#site-footer {
  background: var(--navy);
  color: white;
  padding: 50px 0 30px;
}

.site-nav {
  background: white;
  box-shadow: var(--shadow);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 2rem;
}

.nav-logo { height: 45px; display: flex; align-items: center; }
.nav-logo img { height: 100%; object-fit: contain; }

.nav-body { display: flex; align-items: center; gap: 0; }
.nav-menu { display: flex; gap: 30px; list-style: none; }
.nav-menu a { color: var(--text); font-weight: 600; transition: color 0.3s; }
.nav-menu a:hover { color: var(--blue); }
.nav-menu a.nav-active {
  color: var(--blue);
  border-bottom: 2px solid var(--blue);
  padding-bottom: 2px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}

.footer-logo { height: 40px; margin-bottom: 20px; }
.footer-logo img { height: 100%; object-fit: contain; }

.footer-desc { color: rgba(255, 255, 255, 0.8); font-size: 0.95rem; line-height: 1.8; }

.footer-section h4 { color: white; font-size: 1rem; margin-bottom: 15px; }
.footer-section ul { list-style: none; }
.footer-section ul li { margin-bottom: 10px; }

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s;
}

.footer-section a:hover { color: white; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 30px;
  text-align: center;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.9rem;
}
.footer-bottom p {
  color: rgba(255, 255, 255, 0.95);
}
.footer-bottom a {
  color: rgba(255, 255, 255, 0.95);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  section { padding: 50px 0; }

  .hero-title { font-size: 2rem; }
  .hero-ctas { flex-direction: column; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .trust-items { justify-content: center; gap: 24px; }
  .pain-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .diff-grid { grid-template-columns: 1fr; }
  .case-mini-grid { grid-template-columns: 1fr; }
  .column-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-banner h2 { font-size: 1.5rem; }
  .banner-ctas { flex-direction: column; }
  .banner-ctas a { width: 100%; }
  .step-item { padding: 30px 20px; }
  .diff-item { flex-direction: column; text-align: center; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-recommended { transform: scale(1); }
  .comparison-table { font-size: 0.9rem; }
  .comparison-table th, .comparison-table td { padding: 12px; }
  .ceo-profile { grid-template-columns: 1fr; gap: 30px; }
  .ceo-photo { height: 300px; }
  .contact-wrapper { grid-template-columns: 1fr; }
  .contact-info-section { grid-column: 1; }
  .footer-content { grid-template-columns: 1fr; gap: 30px; }
  .articles-grid { grid-template-columns: 1fr; }
}

/* ============================================
   TABLET BREAKPOINTS (600–800px)
   ============================================ */
@media (max-width: 820px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .trust-items { justify-content: center; gap: 24px; }
  .diff-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
  .case-mini-grid { grid-template-columns: 1fr; }
  .column-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid-2 { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-recommended { transform: scale(1); }
  .included-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr; }
  .ceo-profile { grid-template-columns: 1fr; gap: 30px; }
  .ceo-photo { height: 280px; }
  .footer-content { grid-template-columns: 1fr 1fr; gap: 30px; }
  .comparison-table { font-size: 0.85rem; }
  .comparison-table th, .comparison-table td { padding: 10px; }
  .compare-tbl { font-size: 0.82rem; }
  .compare-tbl th, .compare-tbl td { padding: 9px 8px; }
  .pdca-flow-wrap { gap: 10px; }
  .pdca-step-box { padding: 14px 10px; font-size: 0.8rem; }
  .contact-wrapper { grid-template-columns: 1fr; }
  .contact-info-section { grid-column: 1; }
  .page-hero h1 { font-size: 1.9rem; }
  .nav-menu { gap: 16px; font-size: 0.88rem; }
}

@media (max-width: 640px) {
  .service-grid { grid-template-columns: 1fr; }
  .pain-grid { grid-template-columns: 1fr; }
  .included-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .trust-items { justify-content: center; gap: 24px; }
  .column-grid { grid-template-columns: 1fr; }
  .footer-content { grid-template-columns: 1fr; gap: 24px; }
  .pdca-flow-wrap { flex-direction: column; align-items: center; }
  .pdca-arrow { transform: rotate(90deg); }
}

/* ============================================
   院長タイプ診断 CTA SECTION
   ============================================ */
.section-shindan {
  background: linear-gradient(135deg, #1A2B45 0%, var(--navy-mid) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.section-shindan::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 60% 40%, rgba(74,144,226,0.15) 0%, transparent 60%);
  pointer-events: none;
}
.shindan-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}
.shindan-badge {
  display: inline-block;
  background: rgba(255,107,107,0.2);
  border: 1px solid rgba(255,107,107,0.5);
  color: #FF6B6B;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}
.shindan-inner h2 {
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.4;
}
.shindan-inner p {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
  line-height: 1.8;
}
.btn-shindan {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #FF6B6B;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(255,107,107,0.4);
}
.btn-shindan:hover {
  background: #e55555;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255,107,107,0.5);
}

/* ============================================
   NAV CTA BUTTONS
   ============================================ */
.nav-ctas {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 20px;
}
.btn-nav-shindan {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 2px solid var(--blue);
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 50px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s;
}
.btn-nav-shindan:hover {
  background: var(--blue);
  color: #fff;
}
.btn-nav-contact {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--red);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 50px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s;
}
.btn-nav-contact:hover {
  background: #e55555;
}

/* ============================================
   CASE PAGE - RESULT BADGES
   ============================================ */
.case-area { font-size: 0.85rem; color: rgba(255,255,255,0.7); margin-bottom: 4px; }
.case-doctor { font-size: 0.9rem; color: rgba(255,255,255,0.85); margin-top: 4px; font-weight: 400; }
.result-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}
.result-badge {
  background: #f0f4f8;
  border-left: 3px solid var(--blue);
  padding: 10px 14px;
  border-radius: 0 8px 8px 0;
}
.result-badge.result-badge-accent {
  border-left-color: var(--red);
  background: #fff5f5;
}
.badge-num {
  display: block;
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.2;
}
.badge-label {
  display: block;
  font-size: 0.78rem;
  color: #666;
  margin-top: 3px;
}
.case-quote {
  position: relative;
  background: var(--light);
  border-radius: var(--radius-lg);
  padding: 24px 24px 20px;
  margin-top: 24px;
}
.case-quote .ri-double-quotes-l {
  font-size: 2rem;
  color: var(--blue);
  opacity: 0.4;
  line-height: 1;
  margin-bottom: 8px;
  display: block;
}
.case-quote p { margin: 0 0 8px; font-style: italic; color: #444; line-height: 1.8; }
.case-attribution { font-size: 0.85rem !important; color: #888 !important; font-style: normal !important; }

/* CASE TABS */
.case-tabs-wrapper { margin-bottom: 32px; }
.case-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--border);
}
.case-tab {
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray);
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.case-tab:hover { color: var(--blue); }
.case-tab.active {
  color: var(--navy);
  border-bottom-color: var(--blue);
}
.case-panel { display: none; }
.case-panel.active { display: block; }
.case-panel-inner {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.case-photo-col {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 24px 32px;
  gap: 20px;
}
.case-doctor-img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255,255,255,0.3);
}
.case-no-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 3px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.case-no-photo i {
  font-size: 3.5rem;
  color: rgba(255,255,255,0.4);
}
.case-doctor-meta { text-align: center; }
.case-clinic-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  margin-bottom: 6px;
  line-height: 1.4;
}
.case-doctor-label {
  font-size: 1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}
.case-location-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.case-content-col { padding: 40px 40px 40px 0; }

/* CASE HIGHLIGHTS */
.case-highlights { padding: 0 0 0 0; }
.case-highlights h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue);
  margin-bottom: 14px;
}
.highlight-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.highlight-list li {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 0.95rem;
  line-height: 1.5;
  padding: 10px 14px;
  background: var(--blue-light);
  border-radius: var(--radius);
}
.hl-label {
  color: var(--gray);
  font-size: 0.85rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.hl-value {
  color: var(--navy);
  font-weight: 700;
}

/* WHY RESULTS section */
.section-why-results { background: var(--light); padding: 80px 0; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}
.why-item {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.why-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.why-icon i { font-size: 1.4rem; color: #fff; }
.why-item h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 12px; color: var(--navy); }
.why-item p { font-size: 0.92rem; color: #555; line-height: 1.8; }

/* CASE MINI - 2-column layout */
.case-mini-grid-2 { grid-template-columns: 1fr 1fr !important; }
.case-mini-area { font-size: 0.8rem; color: #888; margin-bottom: 2px; }
.case-mini-doctor { font-size: 0.85rem; color: var(--blue); margin-top: 4px; font-weight: 500; }
.case-mini-results { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.mini-result-badge {
  display: inline-block;
  background: #e8f0fb;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}
.mini-result-badge.accent { background: #fff0f0; color: var(--error); }
.case-mini-quote {
  margin: 16px 0 0;
  padding: 12px 16px;
  border-left: 3px solid var(--blue);
  font-size: 0.88rem;
  color: #555;
  font-style: italic;
  background: var(--light);
  border-radius: 0 8px 8px 0;
}

/* SECTION SUBTITLE */
.section-subtitle {
  text-align: center;
  color: #666;
  font-size: 1rem;
  margin-top: -20px;
  margin-bottom: 30px;
}

@media (max-width: 768px) {
  .shindan-inner h2 { font-size: 1.5rem; }
  .why-grid { grid-template-columns: 1fr; }
  .result-badges { grid-template-columns: 1fr; }
  .case-mini-grid-2 { grid-template-columns: 1fr !important; }
  .case-panel-inner { grid-template-columns: 1fr; }
  .case-photo-col { padding: 32px 24px 24px; }
  .case-content-col { padding: 0 24px 32px; }
  .case-tabs { overflow-x: auto; }
  .case-tab { padding: 12px 18px; font-size: 0.88rem; }
  .nav-ctas { display: none; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.3rem; }
  section { padding: 40px 0; }
  .hero { min-height: 80vh; }
  .hero-title { font-size: 1.5rem; }
  .hero-subtitle { font-size: 1rem; }
  .hero-description { font-size: 0.9rem; padding: 15px; }
  .hero-stats { grid-template-columns: 1fr; gap: 10px; }
  .trust-items { flex-direction: column; align-items: center; gap: 12px; }
  .pain-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .nav-menu { gap: 15px; font-size: 0.9rem; }
  .contact-form {
  max-width: 640px; padding: 20px; }
  .page-hero h1 { font-size: 1.5rem; }
  .page-hero p { font-size: 0.95rem; }
  .section-title { font-size: 1.5rem; margin-bottom: 30px; }
  .btn { padding: 12px 18px; font-size: 0.9rem; }
  .btn-large { padding: 14px 24px; font-size: 1rem; }
}

/* ============================================
   ARTICLE PAGE STYLES
   ============================================ */
.page-hero-sm { padding: 60px 0 50px; }
.page-hero-sm h1 { font-size: 1.8rem; }

.breadcrumb {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.breadcrumb a { color: rgba(255,255,255,0.75); text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: rgba(255,255,255,0.4); }

.article-category-badge {
  display: inline-block;
  background: rgba(74,144,226,0.3);
  border: 1px solid rgba(74,144,226,0.6);
  color: #a8c8f0;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}
.article-meta-top {
  display: flex;
  gap: 20px;
  margin-top: 12px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}
.article-meta-top i { margin-right: 4px; }

/* Article layout: main + sidebar */
.section-article-body { padding: 60px 0 80px; background: var(--light); }
.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}
.article-main {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 48px 52px;
  box-shadow: var(--shadow-md);
  line-height: 1.8;
  color: #333;
}
.article-main p { margin-bottom: 1.4em; font-size: 0.97rem; }
.article-lead {
  font-size: 1.08rem !important;
  color: #444;
  border-left: 4px solid var(--blue);
  padding-left: 16px;
  margin-bottom: 2em !important;
}
.article-main h2 {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--navy);
  margin: 2.4em 0 1em;
  padding-bottom: 10px;
  border-bottom: 2px solid #e8edf2;
}
.article-main h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--navy);
  margin: 1.8em 0 0.8em;
}
.article-main ul, .article-main ol { padding-left: 1.5em; margin-bottom: 1.4em; }
.article-main li { margin-bottom: 0.5em; font-size: 0.97rem; }

.article-point-box {
  background: var(--blue-light);
  border-left: 4px solid var(--blue);
  border-radius: 0 12px 12px 0;
  padding: 20px 24px;
  margin: 1.8em 0;
}
.article-point-box h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.article-point-box p { margin: 0; font-size: 0.95rem; }

.article-list {
  list-style: none !important;
  padding-left: 0 !important;
}
.article-list li {
  padding: 8px 0 8px 28px;
  position: relative;
  border-bottom: 1px solid #f0f0f0;
}
.article-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}

.article-cta-inline {
  background: linear-gradient(135deg, #1A2B45, var(--navy-mid));
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin: 2.5em 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.article-cta-inline p {
  color: rgba(255,255,255,0.9);
  margin: 0;
  font-size: 0.95rem;
}
.article-cta-inline .btn { white-space: nowrap; flex-shrink: 0; }

/* Sidebar */
.article-sidebar { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 20px; }
.sidebar-widget {
  background: #fff;
  border-radius: 14px;
  padding: 24px 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.sidebar-widget h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.sidebar-widget p { font-size: 0.85rem; color: #666; margin-bottom: 14px; line-height: 1.7; }
.sidebar-widget .btn { width: 100%; text-align: center; justify-content: center; font-size: 0.88rem; }
.sidebar-toc ul { list-style: none; padding: 0; margin: 0; }
.sidebar-toc li { border-bottom: 1px solid #f0f0f0; }
.sidebar-toc a {
  display: block;
  padding: 8px 0;
  font-size: 0.84rem;
  color: #555;
  text-decoration: none;
  line-height: 1.4;
}
.sidebar-toc a:hover { color: var(--blue); }

/* Related articles */
.section-related { background: #fff; padding: 60px 0; }
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 30px;
}
.related-card {
  background: var(--light);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.related-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.related-badge {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 10px;
}
.related-card h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 8px; line-height: 1.5; }
.related-card h4 a { color: var(--navy); text-decoration: none; }
.related-card h4 a:hover { color: var(--blue); }
.related-card p { font-size: 0.83rem; color: #666; margin: 0; line-height: 1.6; }

/* column article title links */
.column-article h3 a { color: var(--navy); text-decoration: none; }
.column-article h3 a:hover { color: var(--blue); }

/* Responsive for article pages */
@media (max-width: 1024px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .article-main { padding: 32px 28px; }
}
@media (max-width: 768px) {
  .article-cta-inline { flex-direction: column; text-align: center; }
  .related-grid { grid-template-columns: 1fr; }
  .article-main { padding: 24px 20px; }
}

/* ============================================
   INTERVIEW PAGE STYLES
   ============================================ */
.interview-hero-quote {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.9);
  font-style: italic;
  margin-top: 12px;
  line-height: 1.7;
}
.interview-profile {
  display: flex;
  align-items: center;
  gap: 24px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin-bottom: 40px;
}
.interview-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255,255,255,0.3);
  flex-shrink: 0;
}
.interview-clinic {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 4px;
}
.interview-doctor {
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 6px;
}
.interview-location {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  gap: 4px;
}
.interview-section {
  margin-bottom: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.interview-section:last-of-type { border-bottom: none; }
.interview-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 20px 0 12px;
}
.interview-metric {
  background: var(--blue-light);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}
.metric-label {
  font-size: 0.8rem;
  color: var(--gray);
  margin-bottom: 6px;
}
.metric-num {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 4px;
}
.metric-note {
  font-size: 0.78rem;
  color: var(--blue);
  font-weight: 600;
}
.metric-caption {
  font-size: 0.88rem;
  color: var(--gray);
  text-align: center;
  margin-top: 4px;
}
.interview-qa { margin-bottom: 28px; }
.interview-q {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  background: var(--light);
  border-left: 3px solid var(--blue);
  padding: 10px 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 14px;
}
.interview-a p { color: #444; line-height: 1.85; font-size: 0.97rem; }
.interview-date {
  font-size: 0.82rem;
  color: var(--gray-mid);
  text-align: right;
  margin-top: 32px;
  margin-bottom: 24px;
}
.interview-back { margin-top: 8px; }
.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--blue);
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s;
}
.btn-back:hover { opacity: 0.7; }
.sidebar-case-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--blue);
  text-decoration: none;
  font-weight: 600;
  margin-top: 8px;
  transition: opacity 0.2s;
}
.sidebar-case-link:hover { opacity: 0.7; }
.btn-interview {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  padding: 10px 20px;
  background: var(--navy);
  color: white;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}
.btn-interview:hover { background: var(--navy-mid); }
@media (max-width: 768px) {
  .interview-profile { flex-direction: column; text-align: center; padding: 24px; }
  .interview-location { justify-content: center; }
  .interview-metrics { grid-template-columns: 1fr; }
}

/* ============================================
   CUSTOM CURSOR
   ============================================ */

/* タッチデバイス以外でデフォルトカーソルを非表示 */
@media (hover: hover) and (pointer: fine) {
  *, *::before, *::after { cursor: none !important; }
}

.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 99999;
  border-radius: 50%;
  transform: translate(-100px, -100px);
  transition: opacity 0.3s;
}

/* 小さな中心ドット */
.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--blue);
  margin-left: -4px;
  margin-top: -4px;
  transition: background 0.25s, transform 0.1s, width 0.25s, height 0.25s, margin 0.25s;
}

/* 追従する外リング */
.cursor-ring {
  width: 36px;
  height: 36px;
  border: 2px solid var(--blue);
  background: rgba(74, 144, 226, 0.06);
  margin-left: -18px;
  margin-top: -18px;
  transition: border-color 0.25s, background 0.25s, width 0.3s, height 0.3s, margin 0.3s, border-width 0.3s;
}

/* ホバー時：リングが大きくなり色が変わる */
.cursor-ring.cursor-hover {
  width: 56px;
  height: 56px;
  margin-left: -28px;
  margin-top: -28px;
  border-color: var(--red);
  background: rgba(255, 107, 107, 0.08);
  border-width: 2px;
}
.cursor-dot.cursor-hover {
  width: 6px;
  height: 6px;
  margin-left: -3px;
  margin-top: -3px;
  background: var(--red);
}

/* ダークセクション（ヒーロー・CTAバナー）では白に */
.cursor-ring.cursor-dark {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.06);
}
.cursor-dot.cursor-dark {
  background: #ffffff;
}
.cursor-ring.cursor-dark.cursor-hover {
  border-color: rgba(255, 200, 100, 0.9);
  background: rgba(255, 200, 100, 0.1);
}
.cursor-dot.cursor-dark.cursor-hover {
  background: rgba(255, 200, 100, 1);
}

/* クリック時：リングが一瞬縮む */
.cursor-ring.cursor-click {
  width: 24px;
  height: 24px;
  margin-left: -12px;
  margin-top: -12px;
  background: rgba(74, 144, 226, 0.2);
}

/* タッチデバイスではカーソル要素を非表示 */
@media (hover: none) {
  .cursor-dot,
  .cursor-ring { display: none; }
}

/* ============================================
   ARTICLE RICH COMPONENTS
   ============================================ */

/* 記事ヒーロー画像 */
.article-hero-img {
  width: 100%;
  height: 340px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 36px;
}
.article-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ステップカード */
.article-steps { display: flex; flex-direction: column; gap: 16px; margin: 28px 0; }
.article-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--light);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  border-left: 4px solid var(--blue);
}
.step-num {
  flex-shrink: 0;
  min-width: 44px;
  height: auto;
  padding: 8px 14px;
  background: var(--blue);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 900;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  line-height: 1.3;
  text-align: center;
  letter-spacing: 0.04em;
}
.step-content h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.step-content p { font-size: 0.92rem; color: #555; margin: 0; line-height: 1.75; }

/* 比較ボックス */
.article-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 28px 0;
  border: 1px solid #e0e5ec;
}
.compare-col { padding: 24px 22px; }
.compare-bad { background: #fff5f5; border-right: 1px solid #e0e5ec; }
.compare-good { background: #f0f7f0; }
.compare-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.compare-bad .compare-label { color: var(--error); }
.compare-bad .compare-label::before { content: '✕'; font-size: 1rem; }
.compare-good .compare-label { color: #27ae60; }
.compare-good .compare-label::before { content: '✓'; font-size: 1rem; }
.compare-col p { font-size: 0.91rem; color: #444; line-height: 1.8; margin: 0; }
.compare-col strong { color: var(--navy); }

/* 記事内テーブル */
.article-table-wrap { overflow-x: auto; margin: 28px 0; }
.article-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.91rem;
}
.article-table th {
  background: var(--navy);
  color: #fff;
  padding: 12px 16px;
  text-align: left;
  font-weight: 700;
  font-size: 0.85rem;
}
.article-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #eaeef3;
  vertical-align: top;
  line-height: 1.7;
}
.article-table tr:nth-child(even) td { background: var(--light); }
.article-table tr:hover td { background: var(--blue-light); }

/* 数字ハイライト行 */
.article-stat-row {
  display: flex;
  gap: 20px;
  margin: 28px 0;
  flex-wrap: wrap;
}
.article-stat {
  flex: 1;
  min-width: 140px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-radius: 14px;
  padding: 24px 20px;
  text-align: center;
  color: #fff;
}
.stat-big {
  display: block;
  font-size: 2.2rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 8px;
}
.stat-desc {
  display: block;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .article-hero-img { height: 220px; }
  .article-compare { grid-template-columns: 1fr; }
  .compare-bad { border-right: none; border-bottom: 1px solid #e0e5ec; }
  .article-stat-row { gap: 12px; }
  .article-stat { min-width: 120px; }
  .stat-big { font-size: 1.8rem; }
}


/* ============================================
   PREMIUM ENHANCEMENTS
   ============================================ */

/* --- PAGE LOADER --- */
#page-loader {
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#page-loader.loader-hidden {
  opacity: 0;
  visibility: hidden;
}
.loader-logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  animation: loader-logo-fade 0.5s ease forwards;
}
.loader-logo-img {
  width: 200px;
  max-width: 55vw;
}
.loader-byline {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  margin: 0;
}
@keyframes loader-logo-fade {
  from { opacity: 0; transform: scale(0.94) translateY(8px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.loader-track {
  width: 180px;
  height: 3px;
  background: rgba(255,255,255,0.15);
  border-radius: 3px;
  overflow: hidden;
}
.loader-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
  border-radius: 3px;
  animation: loader-sweep 0.75s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes loader-sweep {
  0%   { width: 0; }
  60%  { width: 80%; }
  100% { width: 100%; }
}

/* --- NAVBAR SCROLL STATE --- */
.nav {
  transition: box-shadow 0.35s ease, background 0.35s ease;
}
.nav.nav-scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  background: rgba(255,255,255,0.97) !important;
  backdrop-filter: blur(12px);
}

/* --- HERO PARTICLE CANVAS --- */
#hero-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}
.hero-overlay { z-index: 1; }
.hero-content { position: relative; z-index: 3; }

/* --- SCROLL FADE-IN ANIMATIONS --- */
.fade-in-up {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in {
  opacity: 0;
  transition: opacity 0.75s ease;
}
.fade-in.visible { opacity: 1; }
.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in-left.visible { opacity: 1; transform: translateX(0); }
.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in-right.visible { opacity: 1; transform: translateX(0); }

/* Stagger delays for grid children */
.stagger > *:nth-child(1) { transition-delay: 0.05s; }
.stagger > *:nth-child(2) { transition-delay: 0.15s; }
.stagger > *:nth-child(3) { transition-delay: 0.25s; }
.stagger > *:nth-child(4) { transition-delay: 0.35s; }

/* --- STATS BAR --- */
.section-stats {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 64px 0 104px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 50px), 0 100%);
  position: relative;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  text-align: center;
  padding: 12px 20px;
  border-right: 1px solid rgba(255,255,255,0.12);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-size: 2.8rem;
  font-weight: 900;
  color: white;
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.stat-num .gold { color: #ffffff; }
.stat-unit {
  font-size: 1.1rem;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
  margin-left: 2px;
}
.stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.4;
}
.stat-sub {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.4);
  margin-top: 3px;
}

/* --- TRUST BAR GOLD ACCENT --- */
.trust-item {
  border-left: 2px solid var(--gold) !important;
}

/* --- SECTION TITLE GOLD UNDERLINE --- */
.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  margin: 14px auto 0;
  border-radius: 2px;
}

/* --- HERO TAG --- */
.hero-tag {
  background: rgba(255,255,255,0.15) !important;
  border: 1px solid rgba(255,255,255,0.7) !important;
  color: #ffffff !important;
}

/* --- CARD HOVER UNIFICATION --- */
.pain-card,
.service-card,
.diff-item,
.feature-item,
.column-card,
.case-mini-card,
.why-item,
.pricing-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}
.pain-card:hover,
.service-card:hover,
.diff-item:hover,
.feature-item:hover,
.column-card:hover,
.case-mini-card:hover,
.why-item:hover,
.pricing-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 12px 36px rgba(0,0,0,0.12) !important;
}

/* --- FAQ SMOOTH ACCORDION --- */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.4,0,0.2,1),
              padding 0.3s ease;
  padding: 0 24px;
}
.faq-item.open .faq-answer {
  max-height: 400px;
  padding: 16px 24px 20px;
}
.faq-question {
  transition: color 0.2s;
}
.faq-item.open .faq-question { color: var(--blue); }
.faq-question::after {
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1) !important;
}
.faq-item.open .faq-question::after {
  transform: rotate(180deg) !important;
}

/* --- DIFF NUMBER BLUE GRADIENT --- */
.diff-number {
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 100%) !important;
  color: white !important;
  box-shadow: 0 4px 16px rgba(74,144,226,0.30) !important;
}

/* --- SECTION PAIN DIAGONAL TOP --- */
.section-pain {
  position: relative;
  margin-top: -50px;
  padding-top: 90px;
  z-index: 2;
  clip-path: polygon(0 50px, 100% 0, 100% 100%, 0 100%);
}

/* --- RESPONSIVE STATS --- */
@media (max-width: 768px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.12); padding: 16px; }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.12); }
  .stat-num { font-size: 2rem; }
  .section-stats { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), 0 100%); padding-bottom: 70px; }
  .section-pain { clip-path: polygon(0 30px, 100% 0, 100% 100%, 0 100%); margin-top: -30px; padding-top: 60px; }
}

/* ============================================
   PRIVACY POLICY
   ============================================ */
.section-privacy {
  background: var(--light);
  padding: 64px 0 80px;
}

.privacy-wrap {
  max-width: 760px;
  margin: 0 auto;
}

.privacy-intro-box {
  background: white;
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin-bottom: 48px;
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.8;
}

.privacy-article {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}

.privacy-article h2 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.privacy-article h2::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 1em;
  background: var(--blue);
  border-radius: 2px;
  flex-shrink: 0;
}

.privacy-article p {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.9;
  margin-bottom: 0;
}

.privacy-article ul {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}

.privacy-article ul li {
  font-size: 0.93rem;
  color: var(--gray);
  line-height: 1.8;
  padding: 4px 0 4px 20px;
  position: relative;
}

.privacy-article ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
  opacity: 0.6;
}

.privacy-contact-box {
  background: var(--light);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-top: 16px;
  border: 1px solid var(--border);
}

.privacy-contact-box p {
  font-size: 0.93rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 4px !important;
}

.privacy-contact-box strong {
  color: var(--navy);
}

.privacy-contact-box a {
  color: var(--blue);
}

.privacy-date {
  text-align: right;
  font-size: 0.85rem;
  color: var(--gray);
  margin-top: 32px;
}

@media (max-width: 768px) {
  .privacy-article { padding: 24px 20px; }
}


/* ============================================
   LP PAGE STYLES
   ============================================ */

/* Hero intro text */
.lp-hero-intro {
  font-size: 1rem;
  margin-bottom: 40px;
}

/* Pain section background */
.lp-pain-section {
  background: #f8f9fa;
  padding: 60px 0;
}

/* Pain section title */
.lp-pain-title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: var(--navy);
}

/* Service section */
.lp-service-section {
  padding: 60px 0;
  background: white;
}

/* Service section title */
.lp-service-title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: var(--navy);
}

/* Case study section */
.lp-case-section {
  background: #f8f9fa;
  padding: 60px 0;
}

/* Case study title */
.lp-case-title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: var(--navy);
}

/* Case study grid */
.lp-case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 800px;
  margin: 0 auto;
}

/* Case study card */
.lp-case-card {
  background: white;
  padding: 30px;
  border-radius: 8px;
  border-left: 4px solid var(--blue);
}

.lp-case-card-title {
  font-weight: 700;
  margin-bottom: 4px;
}

.lp-case-card-location {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 12px;
}

.lp-case-card-quote {
  margin: 10px 0;
  font-size: 0.9rem;
}

.lp-case-card-result {
  margin-top: 15px;
  font-weight: 700;
  color: var(--blue);
}

/* Calendly section */
.lp-calendly-section {
  padding: 60px 0;
  background: white;
}

.lp-calendly-container {
  max-width: 600px;
  margin: 0 auto;
}

.lp-calendly-title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 30px;
  color: var(--navy);
}

.lp-calendly-box {
  background: #f0f4ff;
  padding: 40px;
  border-radius: 8px;
  text-align: center;
}

.lp-calendly-icon {
  font-size: 3rem;
  color: var(--blue);
}

.lp-calendly-subtitle {
  margin: 20px 0;
  font-weight: 700;
  color: var(--navy);
}

.lp-calendly-description {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 24px;
}

/* Logo image styling */
.lp-logo-img {
  height: 100%;
  object-fit: contain;
}

/* Footer address styling */
.lp-footer-address {
  margin-top: 10px;
  font-size: 0.9rem;
}

/* ============================================
   HAMBURGER MENU & MOBILE NAV
   ============================================ */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 201;
  position: relative;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  border-radius: 2px;
  transition: all 0.3s ease;
}
/* ハンバーガー → × 変形 */
.nav-open .hamburger span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-open .hamburger span:nth-child(2) {
  opacity: 0;
}
.nav-open .hamburger span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

body.no-scroll {
  overflow: hidden;
}

@media (max-width: 768px) {
  /* ハンバーガー表示 */
  .hamburger {
    display: block;
  }

  /* ナビボディ: モバイルではフルスクリーンオーバーレイ */
  .nav-body {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 360px;
    height: 100vh;
    height: 100dvh;
    background: white;
    z-index: 200;
    display: flex;
    flex-direction: column;
    padding: 80px 24px 40px;
    box-shadow: -4px 0 24px rgba(0,0,0,0.15);
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
  }
  .nav-open .nav-body {
    right: 0;
  }

  /* オーバーレイ背景 */
  .nav-open::after {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 199;
  }

  /* ナビメニュー: 縦並び */
  .nav-menu {
    flex-direction: column;
    gap: 0 !important;
    font-size: 1rem !important;
  }
  .nav-menu li {
    border-bottom: 1px solid var(--border);
  }
  .nav-menu a {
    display: block;
    padding: 16px 0;
    font-size: 1rem !important;
  }

  /* ナビCTA: 縦並び */
  .nav-ctas {
    display: flex !important;
    flex-direction: column;
    gap: 12px;
    margin: 24px 0 0 0;
  }
  .nav-ctas a {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  /* --- ヒーロー --- */
  .hero {
    min-height: 85vh;
    padding: 100px 0 60px;
  }
  .hero-content {
    padding: 0 8px;
  }
  .hero-title {
    font-size: 1.6rem !important;
    line-height: 1.4;
  }
  .hero-subtitle {
    font-size: 0.95rem;
  }
  .hero-description {
    font-size: 0.88rem;
    padding: 14px;
  }
  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }
  .hero-ctas .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  /* --- 信頼バー --- */
  .trust-bar {
    padding: 24px 0;
  }
  .trust-items {
    flex-direction: column;
    align-items: center;
    gap: 10px !important;
  }
  .trust-item {
    font-size: 0.85rem;
  }

  /* --- ページヒーロー --- */
  .page-hero {
    padding: 80px 0 50px;
  }
  .page-hero h1 {
    font-size: 1.5rem !important;
    line-height: 1.4;
  }
  .page-hero p {
    font-size: 0.9rem;
  }

  /* --- セクションタイトル --- */
  .section-title {
    font-size: 1.3rem !important;
    margin-bottom: 24px;
  }

  /* --- 比較テーブル横スクロール --- */
  .comparison-table-wrap,
  .compare-tbl-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .comparison-table,
  .compare-tbl {
    min-width: 560px;
  }

  /* --- CTAバナー --- */
  .cta-banner {
    padding: 40px 0;
  }
  .cta-banner h2 {
    font-size: 1.3rem !important;
    line-height: 1.4;
  }
  .banner-ctas {
    flex-direction: column;
    align-items: center;
  }
  .banner-ctas a {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  /* --- CEO / Interview --- */
  .interview-profile {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  /* --- FAQアコーディオン --- */
  .faq-question {
    font-size: 0.95rem;
    padding: 14px 16px;
  }

  /* --- フォーム --- */
  .contact-form {
    padding: 20px !important;
  }

  /* --- LP固有 --- */
  .lp-pain-title,
  .lp-service-title,
  .lp-case-title,
  .lp-calendly-title {
    font-size: 1.3rem;
  }
  .lp-case-grid {
    grid-template-columns: 1fr;
  }
  .lp-calendly-box {
    padding: 24px;
  }

  /* --- 診断CTA --- */
  .shindan-inner h2 {
    font-size: 1.3rem !important;
  }
  .btn-shindan {
    font-size: 0.95rem;
    padding: 14px 28px;
  }
}

/* --- さらに小さい画面 (480px以下) --- */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.35rem !important;
  }
  .hero-subtitle {
    font-size: 0.88rem;
  }
  .stat-num {
    font-size: 1.6rem !important;
  }
  .pain-card,
  .diff-item {
    padding: 20px;
  }
  .closing-box {
    padding: 24px;
  }
  .closing-box p {
    font-size: 0.95rem;
  }
  .closing-box p:first-child {
    font-size: 1.05rem;
  }
  .service-image {
    height: 180px;
  }
  .privacy-article {
    padding: 18px 16px;
  }
}
