/* ======================================== */
/* coating-hassui.css - はっ水コーティングページ専用スタイル */
/* ======================================== */

/* ========================================
   高級感のある老舗風デザイン
   DAFNESはっ水コーティングページ
   ======================================== */

/* ========================================
   基本設定
   ======================================== */
:root {
  /* カラーパレット - 深みのある高級感 */
  --luxury-primary: #1a2332;
  --luxury-secondary: #2c3e50;
  --luxury-accent: #c9a961;
  --luxury-gold: #d4af37;
  --luxury-bronze: #8b6f47;
  --luxury-text: #2c2c2c;
  --luxury-text-light: #5a5a5a;
  --luxury-bg: #fafaf8;
  --luxury-white: #ffffff;
  --luxury-border: #d4c5a9;

  /* スペーシング */
  --luxury-spacing-xs: 0.5rem;
  --luxury-spacing-sm: 1rem;
  --luxury-spacing-md: 2rem;
  --luxury-spacing-lg: 3rem;
  --luxury-spacing-xl: 4rem;
  --luxury-spacing-xxl: 6rem;
}

/* ========================================
   メインセクション
   ======================================== */
.luxury-coating-section {
  padding: var(--luxury-spacing-xxl) 0;
  background: linear-gradient(to bottom, #fafaf8 0%, #f5f3ed 100%);
}

.luxury-container {
  padding: 0 var(--luxury-spacing-md);
}

/* ========================================
   ヘッダー
   ======================================== */
.luxury-header {
  text-align: center;
  margin-bottom: var(--luxury-spacing-xl);
}

.luxury-main-title {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--luxury-primary);
  margin-bottom: var(--luxury-spacing-md);
  letter-spacing: 0.05em;
  line-height: 1.4;
}

.luxury-divider {
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, transparent, var(--luxury-accent), transparent);
  margin: 0 auto;
  position: relative;
}

.luxury-divider::before,
.luxury-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background-color: var(--luxury-gold);
  border-radius: 50%;
}

.luxury-divider::before {
  left: -15px;
}

.luxury-divider::after {
  right: -15px;
}

/* ========================================
   コンテンツ
   ======================================== */
.luxury-content {
  margin-top: var(--luxury-spacing-xl);
}

.luxury-article {
  background-color: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  border-top: none;
}

/* コンテンツブロック（カテゴリごとのまとまり） */
.luxury-content-block {
  margin-bottom: var(--luxury-spacing-lg);
  padding-bottom: var(--luxury-spacing-md);
}

.luxury-lead {
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: var(--luxury-spacing-md);
  color: var(--luxury-text);
  font-weight: 400;
}

.luxury-paragraph {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: var(--luxury-spacing-sm);
  color: var(--luxury-text);
}

.luxury-emphasis {
  font-weight: 600;
  color: var(--luxury-primary);
  border-bottom: 2px dotted var(--luxury-accent);
  padding-bottom: 2px;
}

.luxury-highlight-text {
  color: var(--luxury-secondary);
  font-weight: 500;
}

.luxury-accent-text {
  background: linear-gradient(transparent 60%, rgba(201, 169, 97, 0.3) 60%);
  font-weight: 600;
  color: var(--luxury-primary);
}

/* ========================================
   見出し
   ======================================== */
.luxury-section-title {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--luxury-primary);
  margin-top: var(--luxury-spacing-lg);
  margin-bottom: var(--luxury-spacing-sm);
  padding-bottom: 0;
  border-bottom: none;
  position: relative;
}

.luxury-section-title::after {
  display: none;
}

.luxury-subsection-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--luxury-secondary);
  margin-top: var(--luxury-spacing-md);
  margin-bottom: var(--luxury-spacing-sm);
}

/* ========================================
   リスト
   ======================================== */
.luxury-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: var(--luxury-spacing-md);
}

.luxury-list li {
  padding: var(--luxury-spacing-xs) 0;
  padding-left: var(--luxury-spacing-md);
  position: relative;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--luxury-text);
}

.luxury-list li::before {
  content: "◆";
  position: absolute;
  left: 0;
  color: var(--luxury-accent);
  font-size: 0.8rem;
}

/* ========================================
   ハイライトボックス
   ======================================== */
.luxury-highlight-box {
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: var(--luxury-spacing-md);
  margin-bottom: var(--luxury-spacing-lg);
  position: relative;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.luxury-highlight-box::before {
  display: none;
}

.luxury-highlight-primary {
  background: transparent;
  border: none;
}

.luxury-highlight-secondary {
  background: transparent;
  border: none;
}

.luxury-highlight-tertiary {
  background: transparent;
  border: none;
}

.luxury-box-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--luxury-primary);
  margin-bottom: var(--luxury-spacing-md);
}

.luxury-box-text {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--luxury-text);
  margin-bottom: var(--luxury-spacing-md);
}

.luxury-box-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--luxury-border), transparent);
  margin: var(--luxury-spacing-md) 0;
}

.luxury-strong-text {
  font-size: 1.15rem;
  color: var(--luxury-primary);
  font-weight: 700;
}

/* ========================================
   4大効果グリッド
   ======================================== */
.luxury-benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--luxury-spacing-lg);
  margin: var(--luxury-spacing-xl) 0;
}

.luxury-benefit-item {
  display: flex;
  gap: var(--luxury-spacing-md);
  padding: 0;
  background-color: transparent;
  border: none;
  border-radius: 0;
  transition: none;
}

.luxury-benefit-item:hover {
  box-shadow: none;
  transform: none;
}

.luxury-benefit-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.5rem;
}

.luxury-icon-primary {
  background-color: rgba(26, 35, 50, 0.1);
  color: var(--luxury-primary);
}

.luxury-icon-info {
  background-color: rgba(201, 169, 97, 0.15);
  color: var(--luxury-bronze);
}

.luxury-icon-warning {
  background-color: rgba(212, 175, 55, 0.15);
  color: var(--luxury-gold);
}

.luxury-icon-success {
  background-color: rgba(139, 111, 71, 0.15);
  color: var(--luxury-bronze);
}

.luxury-benefit-content {
  flex: 1;
}

.luxury-benefit-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--luxury-primary);
  margin-bottom: var(--luxury-spacing-xs);
}

.luxury-benefit-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--luxury-text-light);
  margin: 0;
}

/* ========================================
   スペックボックス
   ======================================== */
.luxury-specs-box {
  background: transparent;
  color: var(--luxury-text, #2c2c2c);
  padding: 0;
  border-radius: 0;
  margin: var(--luxury-spacing-xl) 0;
  box-shadow: none;
}

.luxury-specs-box .luxury-box-title {
  color: var(--luxury-text, #2c2c2c);
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: var(--luxury-spacing-lg);
}

.luxury-specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--luxury-spacing-lg);
}

.luxury-spec-item {
  text-align: center;
  padding: 0;
  background-color: transparent;
  border-radius: 0;
  border: none;
}

.luxury-spec-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--luxury-accent);
  margin-bottom: var(--luxury-spacing-xs);
  letter-spacing: 0.05em;
}

.luxury-spec-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--luxury-gold);
  margin-bottom: var(--luxury-spacing-xs);
}

.luxury-spec-note {
  font-size: 0.85rem;
  color: var(--luxury-text-light, #5a5a5a);
  line-height: 1.5;
}

/* ========================================
   動画セクション（YouTube風デザイン）
   ======================================== */
.luxury-video-section {
  margin-top: var(--luxury-spacing-xxl);
  padding-top: var(--luxury-spacing-xl);
  border-top: none;
  background-color: transparent;
  padding: 60px 0;
}

/* 動画セクションタイトル */
.video-section-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #2c3e50;
  display: inline-flex;
  align-items: center;
  margin-bottom: 1rem;
  position: relative;
}

.video-section-title i {
  color: #ff0000;
  font-size: 1.75rem;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.video-brand-highlight {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  margin-left: 0.5rem;
}

.video-section-subtitle {
  font-size: 1rem;
  color: #6c757d;
  font-weight: 400;
  margin-bottom: 0;
}

.luxury-video-header {
  text-align: center;
}

.luxury-video-banner {
  max-width: 100%;
  height: auto;
  border-radius: 2px;
}

.luxury-video-banner.pc {
  display: block;
}

.luxury-video-banner.phone {
  display: none;
}

/* 動画カード */
.video-card {
  background: #fff;
  border-radius: 0;
  overflow: hidden;
  margin-bottom: 30px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.video-card:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* サムネイルラッパー */
.video-thumbnail-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 アスペクト比 */
  background: #000;
  overflow: hidden;
}

.video-thumbnail {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* 再生ボタンオーバーレイ */
.play-button-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 48px;
  background-color: rgba(255, 0, 0, 0.9);
  border-radius: 0;
  z-index: 2;
  pointer-events: none;
}

.play-button-overlay::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-40%, -50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent #fff;
}

/* 動画閉じるボタン */
.video-close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  background-color: rgba(0, 0, 0, 0.7);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.video-close-button:hover {
  background-color: rgba(255, 0, 0, 0.9);
  transform: scale(1.1);
}

.video-close-button:active {
  transform: scale(0.95);
}

/* 動画情報 */
.video-info {
  padding: 16px;
}

.video-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  padding-left: 12px;
  position: relative;
  background-color: #fff;
}

.video-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background-color: #ff0000;
}

.video-description {
  font-size: 14px;
  color: #606060;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0;
}

/* ダークオーバーレイ（ホバー時） */
.video-thumbnail-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
  z-index: 1;
  pointer-events: none; /* クリックを透過してiframeに届かせる */
}

/* ========================================
   新ストーリー構成用スタイル
   ======================================== */

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  padding: 80px 0;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  color: #2c3e50;
  line-height: 1.3;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #5a6c7d;
  line-height: 1.8;
}

.hero-emphasis {
  color: #e74c3c;
  font-weight: 600;
}

.hero-cta {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

/* Target Section */
.target-section {
  background: #fff;
}

.target-main-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
  line-height: 1.4;
}

.target-card {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
}

.target-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.target-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: white;
}

.target-card-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 1rem;
}

.target-card-text {
  font-size: 0.95rem;
  color: #5a6c7d;
  margin: 0;
}

.target-conclusion {
  font-size: 1.25rem;
  color: #2c3e50;
  line-height: 1.8;
}

/* Caution Section */
.caution-section {
  background: #f8f9fa;
}

.solution-card {
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  padding: 1.5rem;
  height: 100%;
}

.solution-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 1rem;
}

.solution-text {
  font-size: 0.95rem;
  color: #5a6c7d;
  margin: 0;
}

.caution-message {
  font-size: 1.125rem;
  color: #2c3e50;
  line-height: 1.8;
}

/* Quality Section */
.quality-section {
  background: #fff;
}

/* 2x2グリッド（十字罫線） */
.quality-grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
}

.quality-grid-item {
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  background: #fff;
}

/* 十字の罫線 */
.quality-grid-top-left,
.quality-grid-top-right {
  border-bottom: 2px solid #e9ecef;
}

.quality-grid-top-left,
.quality-grid-bottom-left {
  border-right: 2px solid #e9ecef;
}

.quality-item-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.quality-item-image {
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.quality-item-image img {
  width: 100%;
  height: auto;
  display: block;
}

.quality-item-text {
  font-size: 0.9rem;
  color: #5a6c7d;
  margin: 0;
  line-height: 1.6;
}

.quality-final-message {
  font-size: 1.5rem;
  color: #2c3e50;
  line-height: 1.8;
  font-weight: 600;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .quality-grid-container {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  
  .quality-grid-item {
    padding: 2rem 1.5rem;
    border-right: none !important;
    border-bottom: 2px solid #e9ecef !important;
  }
  
  .quality-grid-item:last-child {
    border-bottom: none !important;
  }
  
  .quality-item-title {
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }
  
  .quality-item-image {
    margin-bottom: 1rem;
  }
  
  .quality-final-message {
    font-size: 1.25rem;
  }
}

/* Maintenance Section - 純粋な読み物スタイル */
.maintenance-section {
  background: #f8f9fa;
}

.maintenance-article-content {
  max-width: 800px;
  margin: 0 auto;
}

.maintenance-paragraph {
  font-size: 1.25rem;
  color: #2c3e50;
  line-height: 1.9;
  margin-bottom: 2rem;
  text-align: center;
}

/* 価格セクション - 枠なし */
.maintenance-pricing-section {
  text-align: center;
  margin: 3rem 0;
  padding: 2rem 0;
}

.maintenance-pricing-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 2rem;
}

.maintenance-pricing-description {
  font-size: 1.5rem;
  color: #2c3e50;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.maintenance-original-price {
  text-decoration: line-through;
  color: #999;
  font-size: 1.25rem;
  margin: 0 0.5rem;
}

.maintenance-special-price {
  font-size: 2.5rem;
  font-weight: 900;
  color: #e74c3c;
  margin: 0 0.5rem;
}

.maintenance-limited-note {
  font-size: 1rem;
  color: #666;
  font-style: italic;
}

.maintenance-includes {
  font-size: 1.125rem;
  color: #2c3e50;
  margin-top: 1.5rem;
  font-weight: 600;
}

/* サービス内容 - 読み物スタイル */
.maintenance-service-content {
  margin: 3rem 0;
}

.maintenance-service-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 1.5rem;
  text-align: center;
  padding-left: 1rem;
  border-left: 4px solid #e74c3c;
}

.maintenance-service-intro {
  font-size: 1.125rem;
  color: #2c3e50;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  text-align: center;
}

.maintenance-service-items {
  margin-top: 2rem;
}

.maintenance-service-item {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e9ecef;
}

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

.service-item-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 1rem;
}

.service-item-description {
  font-size: 1.125rem;
  color: #2c3e50;
  line-height: 1.8;
  margin: 0;
}

/* 推奨頻度 */
.maintenance-recommendation-content {
  margin: 3rem 0;
  text-align: center;
}

.maintenance-recommendation-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 1.5rem;
  padding-left: 1rem;
  border-left: 4px solid #e74c3c;
}

.maintenance-recommendation-text {
  font-size: 1.25rem;
  color: #2c3e50;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.maintenance-recommendation-note {
  font-size: 1.125rem;
  color: #666;
  line-height: 1.8;
  margin: 0;
}

/* 締めのメッセージ */
.maintenance-conclusion {
  text-align: center;
  margin: 3rem 0;
  padding: 2rem 0;
}

.maintenance-conclusion-text {
  font-size: 1.5rem;
  color: #2c3e50;
  line-height: 1.8;
  font-weight: 600;
  margin: 0;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .maintenance-paragraph {
    font-size: 1.125rem;
  }
  
  .maintenance-pricing-title {
    font-size: 1.5rem;
  }
  
  .maintenance-pricing-description {
    font-size: 1.25rem;
  }
  
  .maintenance-special-price {
    font-size: 2rem;
  }
  
  .maintenance-service-title,
  .maintenance-recommendation-title {
    font-size: 1.5rem;
  }
  
  .service-item-title {
    font-size: 1.25rem;
  }
  
  .service-item-description {
    font-size: 1rem;
  }
  
  .maintenance-conclusion-text {
    font-size: 1.25rem;
  }
}

/* Menu Comparison Section */
.menu-comparison-section {
  background: #fff;
}

.menu-comparison-subtitle {
  font-size: 1.25rem;
  color: #666;
  line-height: 1.8;
  margin-bottom: 3rem;
}

/* Pricing Section */
.pricing-section {
  background: #fff;
}

/* Transparency Section */
.transparency-section {
  background: #f8f9fa;
}

.transparency-card {
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.transparency-card:hover {
  border-color: #667eea;
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
}

.transparency-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  color: white;
}

.transparency-card-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #2c3e50;
  margin: 0;
}

.transparency-conclusion {
  font-size: 1.25rem;
  color: #2c3e50;
  font-weight: 600;
}

/* FAQ Section */
.faq-section {
  background: #fff;
}

.accordion-button:not(.collapsed) {
  background-color: #667eea;
  color: white;
}

/* Final CTA Section */
.final-cta-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  padding: 80px 0;
}

.final-cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.final-cta-button {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
  font-weight: 600;
}

/* Section Title */
.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #2c3e50;
  line-height: 1.4;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .target-main-title {
    font-size: 1.75rem;
  }
  
  .final-cta-title {
    font-size: 1.75rem;
  }
  
  .video-section-title {
    font-size: 1.625rem;
  }
  
  .video-section-title i {
    font-size: 1.5rem;
  }
}

/* ========================================
   レスポンシブデザイン
   ======================================== */
@media (max-width: 768px) {
  .luxury-coating-section {
    padding: var(--luxury-spacing-xl) 0;
  }

  .luxury-container {
    padding: 0 var(--luxury-spacing-sm);
  }

  .luxury-main-title {
    font-size: 1.75rem;
  }

  .luxury-article {
    padding: var(--luxury-spacing-md);
  }

  .luxury-section-title {
    font-size: 1.5rem;
  }

  .luxury-benefits-grid {
    grid-template-columns: 1fr;
    gap: var(--luxury-spacing-md);
  }

  .luxury-specs-grid {
    grid-template-columns: 1fr;
    gap: var(--luxury-spacing-md);
  }

  .luxury-video-grid {
    grid-template-columns: 1fr;
    gap: var(--luxury-spacing-md);
  }

  .luxury-spec-value {
    font-size: 1.5rem;
  }

  .luxury-video-banner.pc {
    display: none;
  }

  .luxury-video-banner.phone {
    display: block;
  }
}

@media (max-width: 480px) {
  .luxury-main-title {
    font-size: 1.5rem;
  }

  .luxury-lead {
    font-size: 1rem;
  }

  .luxury-article {
    padding: var(--luxury-spacing-sm);
  }

  .luxury-highlight-box {
    padding: var(--luxury-spacing-md);
  }

  /* 動画セクションのレスポンシブ対応 */
  .luxury-video-section {
    padding: 40px 0;
  }

  .video-section-title {
    font-size: 1.5rem;
  }

  .video-section-title i {
    font-size: 1.375rem;
  }

  .video-section-subtitle {
    font-size: 0.9rem;
  }

  .luxury-video-banner.pc {
    display: none;
  }

  .luxury-video-banner.phone {
    display: block;
  }

  .video-card {
    margin-bottom: 20px;
  }

  .video-info {
    padding: 12px;
  }

  .video-title {
    font-size: 15px;
  }

  .video-description {
    font-size: 13px;
  }
}

/* ========================================
   印刷スタイル
   ======================================== */
@media print {
  .luxury-coating-section {
    background: white;
  }

  .luxury-article {
    box-shadow: none;
    border: 1px solid #ccc;
  }

  .luxury-video-section {
    display: none;
  }
}

/* ========================================
   追加のレスポンシブ対応とレイアウト修正
   ======================================== */
body {
  font-family: "Noto Sans JP", sans-serif;
  color: var(--luxury-text, #2c2c2c);
  background-color: #ffffff;
  line-height: 1.8;
  font-size: 16px;
}

/* コンテナのパディング調整 */
.luxury-container {
  padding: 0 var(--luxury-spacing-md, 2rem);
}

/* モバイルでの余白調整 */
@media (max-width: 768px) {
  .luxury-container {
    padding: 0 var(--luxury-spacing-sm, 1rem);
  }
}

/* テキストの可読性向上 */
.luxury-box-text {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--luxury-text, #2c2c2c);
  margin-bottom: var(--luxury-spacing-md, 2rem);
}

/* ハイライトボックスのレスポンシブ対応 */
@media (max-width: 768px) {
  .luxury-highlight-box {
    padding: var(--luxury-spacing-md, 2rem);
    margin-bottom: var(--luxury-spacing-md, 2rem);
  }
}

/* グリッドレイアウトの改善 */
.luxury-benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--luxury-spacing-lg, 3rem);
  margin: var(--luxury-spacing-xl, 4rem) 0;
}

@media (max-width: 768px) {
  .luxury-benefits-grid {
    grid-template-columns: 1fr;
    gap: var(--luxury-spacing-md, 2rem);
  }
}

/* 動画セクションのレスポンシブ対応 */
@media (max-width: 768px) {
  .luxury-video-grid {
    grid-template-columns: 1fr;
    gap: var(--luxury-spacing-md, 2rem);
  }
}

/* DAFNESセクション用スタイル */
.coating-satisfaction-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.coating-main-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.coating-gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.coating-subtitle {
    font-size: 1.125rem;
    color: #6c757d;
    max-width: 600px;
    line-height: 1.6;
}

.coating-section-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.coating-description {
    font-size: 1rem;
    line-height: 1.7;
    color: #495057;
}

.coating-story-content {
    padding: 1rem 0;
}

.coating-highlight-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #dee2e6;
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.coating-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.coating-main-image {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.coating-image-container:hover .coating-main-image {
    transform: scale(1.05);
}

.coating-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 1.5rem;
}

.coating-plan-info {
    color: white;
}

.coating-plan-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.coating-plan-subtitle {
    font-size: 0.875rem;
    opacity: 0.9;
    margin-bottom: 0;
}

.coating-spec-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.coating-spec-card:hover {
    border-color: #667eea;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.15);
}

.coating-spec-card i {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.coating-spec-blue i {
    color: #0d6efd;
}

.coating-spec-green i {
    color: #198754;
}

.coating-spec-purple i {
    color: #6f42c1;
}

.coating-testimonial {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 2rem;
    border-left: 4px solid #667eea;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* メンテナンスセクション用スタイル */
.coating-maintenance-card {
    height: 100%;
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.coating-maintenance-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.coating-maintenance-card .card-header {
    border-radius: 12px 12px 0 0 !important;
    border: none;
}

.coating-maintenance-card .card-body {
    padding: 1.5rem;
}

.coating-maintenance-card .card-footer {
    background: transparent;
    border: none;
    padding: 1rem 1.5rem 1.5rem;
}

/* 施工工程セクション用スタイル */
.coating-flow-card {
    min-width: 18rem;
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.coating-flow-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.coating-flow-card .card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px 12px 0 0;
    border: none;
    color: white;
    font-weight: 600;
    padding: 0.75rem 1rem;
}

.coating-flow-card .card-body {
    padding: 1.25rem;
    min-height: 12rem;
    display: flex;
    flex-direction: column;
}

.coating-flow-card h6 {
    color: #495057;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.coating-flow-card ul {
    margin-bottom: 0;
}

.coating-flow-card li {
    color: #6c757d;
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 0.25rem;
}

/* 比較ストリップ用スタイル */
.coating-comparison-strip {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.coating-comparison-item {
    padding: 1rem;
    border-radius: 8px;
    height: 100%;
    transition: all 0.3s ease;
}

.coating-comparison-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.coating-comparison-item.bg-info {
    background: linear-gradient(135deg, #0dcaf0 0%, #0aa2c0 100%) !important;
    color: white;
    border: none;
}

.coating-comparison-item.bg-white {
    background: white;
    border: 2px solid #e9ecef;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .coating-main-title {
        font-size: 2rem;
    }
    
    .coating-section-title {
        font-size: 1.25rem;
    }
    
    .coating-spec-card {
        margin-bottom: 1rem;
    }
    
    .coating-flow-card {
        min-width: 16rem;
    }
    
    .coating-highlight-box {
        padding: 1rem;
    }
    
    .coating-testimonial {
        padding: 1.5rem;
    }
}

/* アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.coating-fade-in {
    animation: fadeInUp 0.6s ease-out;
}

/* ホバーエフェクト */
.coating-hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.coating-hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* グラデーション背景 */
.coating-gradient-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* テキスト装飾 */
.coating-text-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ボタンスタイル */
.coating-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.coating-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
    color: white;
}

.coating-btn-outline {
    border: 2px solid #667eea;
    color: #667eea;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    background: transparent;
}

.coating-btn-outline:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

/* 既存クラスの拡張 */
.underline_dott {
    border-bottom: 2px dotted #667eea;
    padding-bottom: 1px;
}

.marker_yl {
    background: linear-gradient(120deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    padding: 0.125rem 0.375rem;
    border-radius: 4px;
    font-weight: 600;
}

.fontcolor-blue {
    color: #667eea;
    font-weight: 600;
}

/* シンプル動画レイアウト */
.video-plain {
    width: 100%;
}

.video-frame {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 アスペクト比 */
    overflow: hidden;
    background: #000;
}

.video-frame iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-text {
    padding: 1rem 0;
}

.video-text h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.video-text p {
    font-size: 0.875rem;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 0;
}

/* 動画セクションのヘッダー */
.video-section-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.video-section-header i {
    font-size: 2rem;
    color: #dc3545;
    margin-right: 0.75rem;
}

.video-section-header h3 {
    margin-bottom: 0;
    color: #212529;
}

/* ブログ記事風スタイル */
.blog-article {
    line-height: 1.7;
}

.blog-article .lead {
    font-size: 1.125rem;
    font-weight: 500;
    color: #495057;
}

.blog-article h3 {
    color: #212529;
    font-weight: 600;
    border-bottom: 2px solid #667eea;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.blog-article h4 {
    color: #495057;
    font-weight: 600;
}

.blog-article .alert {
    border-radius: 8px;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.blog-article .alert-heading {
    color: #0c5460;
    font-weight: 600;
}

/* カスタムスクロールバー */
.coating-price-scroll::-webkit-scrollbar {
    height: 8px;
}

.coating-price-scroll::-webkit-scrollbar-track {
    background: #f1f3f4;
    border-radius: 4px;
}

.coating-price-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px;
}

.coating-price-scroll::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
}

/* ======================================== */
/* コーティングプラン詳細セクション用スタイル */
/* ======================================== */

/* プランセクション全体 */
.coating-plan-section {
    margin-bottom: 4rem;
    padding: 2rem 0;
}

/* プラン番号 */
.coating-plan-number {
    font-size: 4rem;
    font-weight: 900;
    color: #667eea;
    line-height: 1;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(102, 126, 234, 0.1);
}

.coating-plan-number-right {
    text-align: right;
}

/* 人気バッジ */
.coating-popularity-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    z-index: 10;
}

/* バッジを含む列のコンテナ - より確実な方法 */
.coating-plan-section .col-lg-5 {
    position: relative;
}

.coating-popularity-badge-2 {
    background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
    box-shadow: 0 4px 15px rgba(155, 89, 182, 0.3);
}

/* プランバッジ */
.coating-aegis-badge {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

.coating-cosmic-badge {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.coating-cerafine-badge {
    background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(155, 89, 182, 0.3);
}

.coating-premium-badge {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
}

/* 星評価 */
.coating-stars {
    color: #ffd700;
    font-size: 1rem;
}

.coating-stars i {
    margin-right: 2px;
}

/* 感情的なフックテキスト */
.coating-emotional-hook {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.5;
}

/* 画像オーバーレイ内のアイコンコンテナ */
.coating-icon-container {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

/* 施工前後の画像コンテナ */
.coating-before-after-container {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.coating-before-after-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.coating-before-after-container:hover .coating-before-after-image {
    transform: scale(1.05);
}

.coating-before-after-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0.5rem;
}

.coating-before-badge,
.coating-after-badge {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.coating-after-badge {
    background: rgba(52, 152, 219, 0.9);
}

/* 特徴とメリットのリスト */
.coating-feature-list,
.coating-benefit-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.coating-feature-list li,
.coating-benefit-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    line-height: 1.5;
    color: #495057;
}

/* 特徴のドット */
.coating-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 0.75rem;
    margin-top: 0.5rem;
    flex-shrink: 0;
}

.coating-dot-green {
    background: #27ae60;
}

.coating-dot-blue {
    background: #3498db;
}

.coating-dot-purple {
    background: #9b59b6;
}

.coating-dot-orange {
    background: #f39c12;
}

/* お客様の声セクション */
.coating-testimonial {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 2rem;
    border-left: 4px solid #667eea;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.coating-testimonial::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: #667eea;
    opacity: 0.3;
    font-family: serif;
}

/* 料金表示トグル */
.coating-price-toggle {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.coating-price-toggle:hover {
    border-color: #667eea;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.coating-price-highlight {
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
}

/* 料金詳細セクション */
.coating-price-details {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid #e9ecef;
}

.coating-discount-badge {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

/* 料金カード */
.coating-price-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.coating-price-card:hover {
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

/* 保証セクション */
.coating-guarantee-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    padding: 1.5rem;
    border-left: 4px solid #28a745;
}

/* CTAボタン */
.coating-cta-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 8px;
    padding: 1rem 2rem;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.coating-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    color: white;
}

/* 区切り線 */
.coating-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #e9ecef 50%, transparent 100%);
    margin: 2rem 0;
    position: relative;
}

.coating-divider::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 6px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 3px;
}

/* レスポンシブ対応 */
@media (max-width: 991.98px) {
    .coating-plan-number {
        font-size: 3rem;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .coating-plan-number-right {
        text-align: center;
    }
    
    .coating-popularity-badge {
        position: absolute;
        top: 10px;
        right: 10px;
        z-index: 10;
    }
    
    .coating-emotional-hook {
        font-size: 1.1rem;
    }
    
    .coating-icon-container {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .coating-testimonial {
        padding: 1.5rem;
    }
    
    .coating-price-details {
        padding: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .coating-plan-section {
        margin-bottom: 3rem;
        padding: 1.5rem 0;
    }
    
    .coating-plan-number {
        font-size: 2.5rem;
    }
    
    .coating-before-after-image {
        height: 100px;
    }
    
    .coating-price-toggle {
        padding: 1rem;
    }
    
    .coating-price-highlight {
        font-size: 1.25rem;
    }
    
    .coating-cta-button {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}

/* ======================================== */
/* 総合料金表AJAX用スタイル */
/* ======================================== */

/* ちらつき防止のフェード */
#overall-price-table tbody { 
    transition: opacity .18s; 
}

#overall-price-table.loading tbody { 
    opacity: .35; 
}

#swap-spinner[hidden]{ 
    display:none !important; 
}

/* 固定ヘッダー分のズレを防ぐ */
.scroll-target { 
    /* ヘッダーの高さ＋少し余白（環境に合わせて調整） */
    scroll-margin-top: 96px; 
}

/* ======================================== */
/* FAQ直後CTA - 独立セクション */
/* ======================================== */

.faq-cta-section {
    background-color: #ffffff !important;
    margin: 4rem 0;
    padding: 3rem 0;
    text-align: center;
}

.faq-cta-title-wrapper {
    margin-bottom: 2rem;
}

.faq-cta-buttons-wrapper {
    display: flex;
    justify-content: center;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-cta-link {
    flex: 1;
    max-width: 400px;
}

.faq-cta-section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.faq-cta-section-subtitle {
    font-size: 1rem;
    color: #6c757d;
    margin-bottom: 0;
}

.faq-cta-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.faq-cta-item {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 32px 24px;
    background-color: #ffffff;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 100px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.faq-cta-item:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.faq-cta-icon {
    font-size: 32px;
    font-weight: bold;
    color: #495057;
    min-width: 50px;
    text-align: center;
}

.faq-cta-content {
    flex: 1;
}

.faq-cta-title {
    font-size: 22px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 6px;
}

.faq-cta-subtitle {
    font-size: 16px;
    color: #6c757d;
}

/* 料金表タイトル（ブログ見出し風） */
.price-table-title {
    position: relative;
    padding-left: 1rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
}

.price-table-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #000000;
    border-radius: 2px;
}

.price-table-title::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 2px;
    background: #000000;
    border-radius: 1px;
}

/* 料金説明文のスタイル */
.price-explanation {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background-color: #f8f9fa;
    border-left: 3px solid #d4c5a9;
    border-radius: 0 6px 6px 0;
    font-size: 0.85rem;
    line-height: 1.5;
}

.price-explanation p {
    margin-bottom: 0.5rem;
}

.price-explanation p:last-child {
    margin-bottom: 0;
}

.price-explanation .text-muted {
    color: #6c757d !important;
}

/* タブの横スクロール対応 */
.nav-pills {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    flex-wrap: nowrap;
    padding-bottom: 10px;
}

/* PCでタブをセンタリング（SPの横スクロールは維持） */
@media (min-width: 769px) {
    .nav-pills {
        justify-content: center;
    }
}

.nav-pills .nav-item {
    flex-shrink: 0;
    white-space: nowrap;
}

.nav-pills .nav-link {
    white-space: nowrap;
    min-width: max-content;
    color: #000000 !important;
}

.nav-pills .nav-link:hover {
    color: #000000 !important;
    background-color: #f8f9fa;
}

.nav-pills .nav-link.active {
    color: #ffffff !important;
    background-color: #000000;
}

/* タブのスクロールバーをカスタマイズ */
.nav-pills::-webkit-scrollbar {
    height: 6px;
}

.nav-pills::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.nav-pills::-webkit-scrollbar-thumb {
    background: #d4c5a9;
    border-radius: 3px;
}

.nav-pills::-webkit-scrollbar-thumb:hover {
    background: #c9a961;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .faq-cta-section {
        margin: 3rem 0;
        padding: 2rem 0;
    }
    
    .faq-cta-buttons-wrapper {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
        align-items: center;
    }
    
    .faq-cta-link {
        width: 100%;
        max-width: 350px;
    }
    
    /* モバイルでタブのスクロールバーをより見やすく */
    .nav-pills::-webkit-scrollbar {
        height: 8px;
    }
    
    .nav-pills::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 4px;
    }
    
    .nav-pills::-webkit-scrollbar-thumb {
        background: #d4c5a9;
        border-radius: 4px;
        border: 1px solid #f1f1f1;
    }
    
    .faq-cta-section-title {
        font-size: 1.5rem;
    }
    
    .faq-cta-section-subtitle {
        font-size: 0.9rem;
    }
    
    .faq-cta-item {
        padding: 20px 16px;
    }
    
    .faq-cta-icon {
        font-size: 24px;
        min-width: 40px;
    }
    
    .faq-cta-title {
        font-size: 18px;
    }
}

.coating-feature-heading {
    min-width: 130px;
    text-align: center;
}

.coating-feature-cell {
    min-width: 140px;
    vertical-align: middle;
}

.coating-feature-simple li + li {
    margin-top: 0.35rem;
}

.price-explanation-bonus {
    padding: 0.75rem 1rem;
    background-color: rgba(212, 175, 55, 0.08);
    border: 1px dashed var(--luxury-accent, #c9a961);
    border-radius: 8px;
    text-align: center;
}

.price-explanation-bonus .btn {
    padding: 0.35rem 0.9rem;
}