@charset "UTF-8";
/* ============================================
   Cases Page - Compact Layout
   改善事例ページ - コンパクト表示
   ============================================ */
.cases-header {
  position: relative;
  padding: 140px 0 80px;
  overflow: hidden;
  color: #1a1a1a;
  text-align: center;
  background: linear-gradient(135deg, rgba(179, 27, 27, 0.08) 0%, rgba(255, 255, 255, 0.95) 50%, rgba(179, 27, 27, 0.05) 100%), linear-gradient(180deg, rgb(249, 250, 251) 0%, rgb(255, 255, 255) 100%);
}

.cases-header::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  content: "";
  background: linear-gradient(90deg, transparent 0%, var(--accent-color) 50%, transparent 100%);
}

.page-header-content {
  position: relative;
  z-index: 2;
}

.page-subtitle {
  font-size: 18px;
  color: #333;
  letter-spacing: 0.05em;
  opacity: 0.9;
}

/* Cases Grid - Compact Layout */
.cases-section {
  padding: 70px 0;
  background: #f8f9fa;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
}

.case-item {
  position: relative;
  padding: 28px 30px;
  overflow: hidden;
  background: #fff;
  border-left: 5px solid var(--accent-color);
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
  transition: all 0.35s ease;
}

.case-item::before {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 4px;
  content: "";
  background: linear-gradient(180deg, var(--accent-color), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.case-item.featured {
  background: linear-gradient(135deg, #fff5f5 0%, #fff 100%);
  border-left-width: 6px;
}

.case-header {
  margin-bottom: 18px;
}

.case-industry {
  display: inline-block;
  padding: 6px 16px;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 600;
  color: #666;
  letter-spacing: 0.04em;
  background: #f0f0f0;
  border-radius: 16px;
}

.case-title {
  margin: 12px 0 8px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.5;
  color: #1a1a1a;
  letter-spacing: 0.06em;
}

.case-subtitle {
  margin: 0 0 18px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  color: #666;
  letter-spacing: 0.03em;
}

/* Challenge & Solution Sections */
.case-challenge,
.case-solution {
  padding: 16px;
  margin-bottom: 18px;
  background: #f8f9fa;
  border-radius: 10px;
}

.case-challenge h4,
.case-solution h4 {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-color);
  letter-spacing: 0.05em;
}

.case-challenge p,
.case-solution p {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  color: #555;
  letter-spacing: 0.02em;
}

.case-challenge p strong,
.case-solution p strong {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
  color: #333;
}

/* Featured Badge */
.featured-badge {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 10;
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, var(--accent-color), #8B1515);
  border-radius: 20px;
  box-shadow: 0 3px 12px rgba(179, 27, 27, 0.3);
}

.case-results {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.result-metric {
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, var(--bg-dark), var(--bg-darker));
  border-radius: 20px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
}

.result-metric.success {
  color: #fff;
  background: linear-gradient(135deg, var(--accent-color), #8B1515);
}

/* Visual Elements */
.case-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  margin: 20px 0;
  background: #f8f9fa;
  border-radius: 10px;
}

/* CTA Section */
.cta-section {
  padding: 70px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
}

.cta-box {
  padding: 55px 40px;
  text-align: center;
  background: #fff;
  border: 2px solid #f0f0f0;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.cta-box h2 {
  margin-bottom: 18px;
  font-size: 32px;
  font-weight: 900;
  color: #1a1a1a;
  letter-spacing: 0.06em;
}

.cta-box p {
  margin-bottom: 32px;
  font-size: 15px;
  line-height: 1.9;
  color: #666;
  letter-spacing: 0.03em;
}

.btn-primary {
  display: inline-block;
  padding: 18px 45px;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.06em;
  background: linear-gradient(135deg, var(--accent-color), #8B1515);
  border-radius: 50px;
  box-shadow: 0 6px 20px rgba(179, 27, 27, 0.3);
  transition: all 0.35s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #8B1515, var(--accent-color));
  box-shadow: 0 10px 28px rgba(179, 27, 27, 0.5);
  transform: translateY(-4px);
}

/* Responsive */
@media (max-width: 991px) {
  .cases-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
@media (max-width: 768px) {
  .cases-header {
    padding: 90px 0 55px;
  }
  .case-item {
    padding: 25px 22px;
  }
  .featured-badge {
    top: 12px;
    right: 12px;
    padding: 5px 12px;
    font-size: 10px;
    letter-spacing: 0.05em;
    white-space: nowrap;
  }
  .case-title {
    font-size: 18px;
  }
  .case-subtitle {
    font-size: 13px;
  }
  .case-challenge,
  .case-solution {
    padding: 14px;
    margin-bottom: 15px;
  }
  .case-challenge h4,
  .case-solution h4 {
    font-size: 13px;
  }
  .case-challenge p,
  .case-solution p {
    font-size: 12px;
  }
  .cta-box {
    padding: 45px 28px;
  }
  .cta-box h2 {
    font-size: 26px;
  }
}
@media (max-width: 480px) {
  .case-results {
    flex-direction: column;
  }
  .result-metric {
    text-align: center;
  }
  .btn-primary {
    padding: 16px 38px;
    font-size: 15px;
  }
  /* Featured Badge - モバイル専用 */
  .featured-badge {
    top: 10px;
    right: 10px;
    padding: 4px 10px;
    font-size: 9px;
    letter-spacing: 0.03em;
    white-space: nowrap;
  }
  /* Progress Ring - モバイル調整 */
  .progress-ring {
    width: 110px;
    height: 110px;
  }
  .progress-text {
    gap: 2px;
  }
  .progress-number {
    font-size: 20px;
  }
  .progress-label {
    font-size: 8px;
  }
}
/* ============================================
   Visual Elements - Icons, Charts, Graphics
   視覚要素 - アイコン、チャート、グラフィックス
   ============================================ */
/* Case Icon */
.case-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--accent-color) 0%, #8B1515 100%);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(179, 27, 27, 0.3);
  transition: all 0.3s ease;
}

.case-icon svg {
  width: 36px;
  height: 36px;
  stroke: white;
}

/* Chart Bars */
.chart-bars {
  display: flex;
  gap: 20px;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  height: 100px;
}

.chart-bar {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 50px;
  padding-bottom: 8px;
  background: linear-gradient(to top, #ddd, #bbb);
  border-radius: 8px 8px 0 0;
  transition: all 0.5s ease;
}

.chart-bar span {
  font-size: 11px;
  font-weight: 600;
  color: #666;
}

.chart-bar-success {
  background: linear-gradient(to top, var(--accent-color), #E63946);
}

.chart-bar-success span {
  color: #fff;
}

.case-item:hover .chart-bar {
  transform: scaleY(1.05);
}

/* Progress Ring */
.progress-ring {
  position: relative;
  width: 100px;
  height: 100px;
}

.progress-ring svg {
  width: 100%;
  height: 100%;
}

.progress-text {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: center;
  line-height: 1.2;
  color: var(--accent-color);
  text-align: center;
  transform: translate(-50%, -50%);
}

.progress-number {
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  color: var(--accent-color);
}

.progress-label {
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  color: var(--accent-color);
}

/* Metric Cards */
.metric-cards {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.metric-card {
  position: relative;
  min-width: 100px;
  padding: 15px 20px;
  overflow: hidden;
  text-align: center;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.metric-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, var(--accent-color), #E63946);
}

.metric-value {
  margin-bottom: 5px;
  font-size: 28px;
  font-weight: 900;
  color: var(--accent-color);
}

.metric-label {
  font-size: 12px;
  font-weight: 600;
  color: #666;
}

.metric-arrow {
  margin-top: 5px;
  font-size: 24px;
  font-weight: 900;
  color: var(--accent-color);
}

/* Stability Line Chart */
.stability-line {
  width: 100%;
  height: 80px;
}

.stability-line svg {
  width: 100%;
  height: 100%;
}

/* Pie Chart */
.pie-chart {
  width: 100px;
  height: 100px;
}

.pie-chart svg {
  width: 100%;
  height: 100%;
}

/* Multiplier Badge */
.multiplier-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--accent-color) 0%, #8B1515 100%);
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(179, 27, 27, 0.4);
  transition: all 0.3s ease;
}

.case-item:hover .multiplier-badge {
  box-shadow: 0 12px 32px rgba(179, 27, 27, 0.5);
  transform: scale(1.1);
}

.multiplier-value {
  margin-bottom: 5px;
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
  color: #fff;
}

.multiplier-label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.05em;
}

/* Responsive adjustments for visual elements */
@media (max-width: 768px) {
  .case-icon {
    width: 60px;
    height: 60px;
  }
  .case-icon svg {
    width: 30px;
    height: 30px;
  }
  .case-visual {
    min-height: 100px;
    padding: 15px;
  }
  .chart-bars {
    height: 80px;
  }
  .chart-bar {
    width: 40px;
  }
  .progress-ring {
    width: 80px;
    height: 80px;
  }
  .metric-cards {
    gap: 10px;
  }
  .metric-card {
    min-width: 80px;
    padding: 12px 15px;
  }
  .metric-value {
    font-size: 22px;
  }
  .multiplier-badge {
    width: 100px;
    height: 100px;
  }
  .multiplier-value {
    font-size: 28px;
  }
}