/* ===== レスポンシブデザイン ===== */

/* デスクトップサイズ（1200px以上）はデフォルトスタイルを使用 */

/* ラージタブレット & スモールデスクトップ */
@media (max-width: 1199px) {
  :root {
    --section-padding: 70px;
  }
  
  .container {
    max-width: 960px;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .service-card,
  .partner-card {
    padding: 25px;
  }
}

/* タブレット */
@media (max-width: 991px) {
  :root {
    --section-padding: 60px;
    --header-height: 70px;
  }
  
  .container {
    max-width: 720px;
  }
  
  .navigation {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .about-content,
  .contact-content {
    flex-direction: column;
  }
  
  .success-story,
  .success-story.reverse {
    flex-direction: column;
  }
  
  .story-content {
    padding: 30px;
  }
  
  .partners-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
  
  .services-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
  
  .footer-content {
    gap: 30px;
  }
}

/* ラージモバイル & スモールタブレット */
@media (max-width: 767px) {
  :root {
    --section-padding: 50px;
    --header-height: 60px;
  }
  
  .container {
    max-width: 540px;
  }
  
  .header-actions .contact-btn {
    display: none;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .service-card,
  .partner-card {
    padding: 20px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
  }
  
  .scroll-to-top {
    bottom: 20px;
    right: 20px;
    width: 35px;
    height: 35px;
  }
}

/* モバイル */
@media (max-width: 575px) {
  :root {
    --section-padding: 40px;
  }
  
  .container {
    width: 100%;
    padding: 0 20px;
  }
  
  .hero-section {
    min-height: calc(100vh - var(--header-height));
  }
  
  .hero-content {
    text-align: center;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .section-title {
    font-size: 1.6rem;
  }
  
  .section-header {
    margin-bottom: 30px;
  }
  
  .footer-links {
    grid-template-columns: 1fr 1fr;
  }
  
  .contact-form,
  .contact-info {
    padding: 20px;
  }
  
  .story-content {
    padding: 20px;
  }
}

/* スモールモバイル */
@media (max-width: 375px) {
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .btn {
    width: 100%;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
  }
}