/**
 * コーティングページ専用CSS
 * 画像のオレンジテイストに合わせた配色、タイトな構成
 */

:root {
  --ct-orange: #FF6B2C;
  --ct-orange-dark: #E85A1E;
  --ct-orange-bg: #FFF5F0;
  --ct-gradient: linear-gradient(135deg, #FF6B2C 0%, #FF9A44 100%);
}

/* ===================================
   共通
   =================================== */
.ct-heading {
  font-size: 1.25rem;
  font-weight: 900;
  text-align: center;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.ct-heading small {
  font-size: 0.875rem;
  font-weight: 500;
  opacity: 0.7;
}

.ct-heading-white {
  color: #fff;
}

/* ===================================
   ヒーロー：画像フルワイド、余白ゼロ
   =================================== */
.ct-hero {
  padding-top: var(--header-height);
  background: var(--ct-gradient);
  text-align: center;
  line-height: 0;
}

.ct-hero img {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: inline-block;
}

/* ===================================
   数字バー：画像直下にピタッと
   =================================== */
.ct-numbers {
  background: var(--ct-orange-dark);
  color: #fff;
  padding: 0;
}

.ct-numbers-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 16px;
}

.ct-num-item {
  flex: 1;
  text-align: center;
}

.ct-num-value {
  display: block;
  font-size: 1.75rem;
  font-weight: 900;
  line-height: 1.1;
}

.ct-num-value small {
  font-size: 0.875rem;
  font-weight: 700;
}

.ct-num-label {
  display: block;
  font-size: 0.6875rem;
  opacity: 0.8;
  margin-top: 4px;
  letter-spacing: 0.02em;
}

.ct-num-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
}

/* ===================================
   説明：1行でコンパクト
   =================================== */
.ct-about {
  padding: 32px 0;
  background: #fff;
}

.ct-about-text {
  text-align: center;
  font-size: 0.875rem;
  line-height: 1.9;
  color: #555;
  max-width: 600px;
  margin: 0 auto;
}

.ct-about-text strong {
  color: var(--ct-orange);
  font-weight: 700;
}

/* ===================================
   対応デバイス：横並びコンパクト
   =================================== */
.ct-devices {
  padding: 32px 0 40px;
  background: var(--ct-orange-bg);
}

.ct-devices-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  max-width: 640px;
  margin: 0 auto;
}

.ct-device-item {
  text-align: center;
  padding: 16px 8px;
  background: #fff;
  border-radius: 12px;
  transition: transform 0.2s ease;
  cursor: default;
}

.ct-device-item:hover {
  transform: translateY(-3px);
}

.ct-device-item svg {
  width: 28px;
  height: 28px;
  fill: var(--ct-orange);
  margin-bottom: 6px;
}

.ct-device-item span {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #333;
}

/* ===================================
   料金：カードグリッド
   =================================== */
.ct-price {
  padding: 40px 0;
  background: var(--ct-gradient);
}

.ct-price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 720px;
  margin: 0 auto 16px;
}

.ct-price-card {
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  position: relative;
}

.ct-price-featured {
  border: 2px solid #FFD6A0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.ct-price-label {
  position: absolute;
  top: -1px;
  right: -1px;
  background: var(--ct-orange);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 900;
  padding: 4px 12px;
  border-radius: 0 12px 0 10px;
}

.ct-price-card h3 {
  font-size: 0.8125rem;
  font-weight: 900;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--ct-orange-bg);
}

.ct-price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 6px 0;
}

.ct-price-row + .ct-price-row {
  border-top: 1px dashed #eee;
}

.ct-price-row span {
  font-size: 0.8125rem;
  color: #888;
}

.ct-price-row strong {
  font-size: 1.125rem;
  font-weight: 900;
  color: var(--ct-orange);
}

.ct-price-row strong small {
  font-size: 0.75rem;
  font-weight: 700;
}

.ct-price-note {
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.75);
}

/* ===================================
   CTA：シンプル
   =================================== */
.ct-cta {
  padding: 40px 0;
  background: #fff;
  text-align: center;
}

.ct-cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.ct-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.ct-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.ct-btn svg {
  width: 18px;
  height: 18px;
}

.ct-btn-orange {
  background: var(--ct-orange);
  color: #fff;
}

.ct-btn-line {
  background: #06C755;
  color: #fff;
}

/* ===================================
   レスポンシブ
   =================================== */
@media (max-width: 768px) {
  .ct-numbers-inner {
    padding: 16px 12px;
  }

  .ct-num-value {
    font-size: 1.375rem;
  }

  .ct-num-label {
    font-size: 0.625rem;
  }

  .ct-devices-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .ct-price-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ct-cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .ct-btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .ct-about {
    padding: 24px 16px;
  }

  .ct-about-text {
    font-size: 0.8125rem;
  }

  .ct-about-text br {
    display: none;
  }
}

@media (max-width: 480px) {
  .ct-num-value {
    font-size: 1.125rem;
  }

  .ct-num-divider {
    height: 28px;
  }

  .ct-devices-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .ct-device-item {
    padding: 12px 4px;
  }

  .ct-price-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
  }

  .ct-heading {
    font-size: 1.125rem;
  }
}
