/* ========================================
   超強化レスポンシブCSS - les SALON
   ======================================== */

/* ========================================
   デスクトップ（1280px以上）
   ======================================== */
@media (min-width: 1280px) {
  .container {
    max-width: 1200px;
  }
  
  .hero-title {
    font-size: 4rem;
  }
  
  .section-title {
    font-size: 3rem;
  }
}

/* ========================================
   ラップトップ（1024px - 1279px）
   ======================================== */
@media (max-width: 1279px) and (min-width: 1024px) {
  .hero-title {
    font-size: 3.5rem;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
}

/* ========================================
   タブレット（768px - 1023px）
   ======================================== */
@media (max-width: 1023px) {
  /* ナビゲーション */
  .main-navigation ul {
    gap: 1rem;
  }
  
  .main-navigation a {
    font-size: 0.9rem;
    padding: 0.4rem 0;
  }
  
  /* ヒーローセクション */
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
  
  /* セクション */
  section {
    padding: 4rem 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .section-description {
    font-size: 1rem;
  }
  
  /* グリッド */
  .strengths-grid,
  .services-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  /* カード */
  .strength-card,
  .service-card {
    padding: 1.5rem;
  }
  
  /* 料金表 */
  .pricing-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* フッター */
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

/* ========================================
   モバイル（768px以下）
   ======================================== */
@media (max-width: 768px) {
  /* ヘッダー */
  .header-container {
    padding: 0.75rem 1rem;
  }
  
  .site-title {
    font-size: 1.5rem;
  }
  
  .site-description {
    font-size: 0.75rem;
  }
  
  /* モバイルメニュー */
  .menu-toggle {
    display: block;
  }
  
  .main-navigation {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--color-white);
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    padding: 5rem 2rem 2rem;
    overflow-y: auto;
    z-index: 999;
  }
  
  .main-navigation.is-active {
    right: 0;
  }
  
  .main-navigation ul {
    flex-direction: column;
    gap: 0;
    align-items: flex-start;
  }
  
  .main-navigation li {
    width: 100%;
    border-bottom: 1px solid var(--color-bg-alt);
  }
  
  .main-navigation a {
    padding: 1rem 0;
    font-size: 1rem;
    width: 100%;
  }
  
  /* オーバーレイ */
  .mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 998;
  }
  
  .mobile-overlay.is-active {
    opacity: 1;
    visibility: visible;
  }
  
  /* ヒーローセクション */
  .hero-section {
    min-height: 70vh;
  }
  
  .hero-title {
    font-size: 2rem;
    line-height: 1.3;
  }
  
  .hero-emphasis {
    font-size: 1.5rem;
  }
  
  .hero-subtitle {
    font-size: 0.9rem;
  }
  
  .hero-subtitle-small {
    font-size: 0.75rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
  
  /* セクション */
  section {
    padding: 3rem 0;
  }
  
  .section-header {
    margin-bottom: 2rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .section-subtitle-small {
    font-size: 0.75rem;
  }
  
  .section-description {
    font-size: 0.9rem;
  }
  
  /* グリッド - 1カラム */
  .strengths-grid,
  .services-grid,
  .testimonials-grid,
  .pricing-cards,
  .payment-methods {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  /* カード */
  .strength-card,
  .service-card,
  .pricing-card {
    padding: 1.5rem;
  }
  
  .strength-image,
  .service-image {
    height: 200px;
  }
  
  /* 比較表 */
  .comparison-table-full,
  .pricing-table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .comparison-table-full table,
  .pricing-table table {
    min-width: 600px;
    font-size: 0.85rem;
  }
  
  .comparison-table-full th,
  .comparison-table-full td,
  .pricing-table th,
  .pricing-table td {
    padding: 0.75rem 0.5rem;
  }
  
  /* 料金カード */
  .plan-name {
    font-size: 1.25rem;
  }
  
  .price-amount {
    font-size: 2.5rem;
  }
  
  /* Before/After */
  .ba-images {
    flex-direction: column;
  }
  
  .ba-before,
  .ba-after {
    width: 100%;
  }
  
  /* FAQ */
  .faq-question {
    font-size: 1rem;
    padding: 1rem;
  }
  
  .faq-answer {
    padding: 1rem;
    font-size: 0.9rem;
  }
  
  /* フッター */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-widget {
    text-align: left;
  }
  
  .salon-info-list {
    gap: 1rem;
  }
  
  /* CTA */
  .cta-title {
    font-size: 1.75rem;
  }
  
  .cta-description {
    font-size: 0.9rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  
  .cta-buttons .btn {
    width: 100%;
  }
}

/* ========================================
   小さいモバイル（480px以下）
   ======================================== */
@media (max-width: 480px) {
  /* コンテナ */
  .container,
  .container-narrow,
  .container-wide {
    padding: 0 1rem;
  }
  
  /* ヘッダー */
  .site-title {
    font-size: 1.25rem;
  }
  
  .site-description {
    display: none;
  }
  
  /* ヒーロー */
  .hero-title {
    font-size: 1.75rem;
  }
  
  .hero-emphasis {
    font-size: 1.25rem;
  }
  
  .hero-subtitle {
    font-size: 0.85rem;
  }
  
  /* セクション */
  section {
    padding: 2.5rem 0;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .section-description {
    font-size: 0.85rem;
  }
  
  /* ボタン */
  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
  }
  
  /* カード */
  .strength-card,
  .service-card,
  .pricing-card {
    padding: 1.25rem;
  }
  
  /* 料金 */
  .price-amount {
    font-size: 2rem;
  }
  
  /* フッター */
  .footer-content {
    padding: 2rem 0;
  }
  
  .widget-title {
    font-size: 1.25rem;
  }
  
  .info-item {
    font-size: 0.85rem;
  }
}

/* ========================================
   超小さいモバイル（375px以下）
   ======================================== */
@media (max-width: 375px) {
  .hero-title {
    font-size: 1.5rem;
  }
  
  .hero-emphasis {
    font-size: 1.1rem;
  }
  
  .section-title {
    font-size: 1.35rem;
  }
  
  .price-amount {
    font-size: 1.75rem;
  }
}

/* ========================================
   タッチデバイス最適化
   ======================================== */
@media (hover: none) and (pointer: coarse) {
  /* タッチ領域拡大 */
  .btn,
  .main-navigation a,
  .menu-toggle {
    min-height: 44px;
    min-width: 44px;
  }
  
  /* ホバー効果を無効化 */
  .strength-card:hover,
  .service-card:hover,
  .pricing-card:hover {
    transform: none;
  }
  
  /* アクティブ状態 */
  .btn:active {
    transform: scale(0.98);
  }
}

/* ========================================
   印刷用スタイル
   ======================================== */
@media print {
  .site-header,
  .menu-toggle,
  .hero-buttons,
  .cta-section,
  .site-footer {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.5;
  }
  
  .container {
    max-width: 100%;
  }
}

/* ========================================
   高解像度ディスプレイ対応
   ======================================== */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .site-header {
    box-shadow: 0 2px 30px rgba(139, 115, 85, 0.1);
  }
  
  .strength-card,
  .service-card,
  .pricing-card {
    box-shadow: 0 6px 30px rgba(139, 115, 85, 0.15);
  }
}
