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

/* タブレット対応（1024px以下） */
@media screen and (max-width: 1024px) {
  /* タイポグラフィ調整 */
  h1 {
    font-size: 2.5rem;
  }
  h2 {
    font-size: 2rem;
  }
  h3 {
    font-size: 1.375rem;
  }

  /* ヒーローセクション */
  .hero-section {
    background-image: url('../assets/top/hero_tablet.png');
  }

  .hero-content {
    padding: 100px 0 60px;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1.375rem;
  }

  /* YouTubeチャンネルセクション */
  .channel-content {
    gap: 40px;
  }

  /* 無料特典ページ */
  .content-grid {
    gap: 40px;
  }
}

/* モバイル対応（768px以下） */
@media screen and (max-width: 768px) {
  /* タイポグラフィ調整（モバイル） */
  h1 {
    font-size: 32px;
  }
  h2 {
    font-size: 28px;
  }
  h3 {
    font-size: 24px;
  }
  h4 {
    font-size: 20px;
  }
  
  p {
    font-size: 16px;
  }
  
  .caption {
    font-size: 14px;
  }
  /* 基本設定 */
  html {
    font-size: 15px;
  }

  .container {
    padding: 0 15px;
  }


  .section-title {
    margin-bottom: 0.75rem;
  }

  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  /* ヘッダー */
  .main-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .mobile-menu.active {
    display: block;
  }

  .site-title {
    font-size: 1.25rem;
  }

  .logo {
    height: 40px;
    width: 40px;
  }

  /* プロモーションバナー */
  .promo-banner .container {
    flex-direction: column;
    gap: 0.75rem;
  }

  .promo-banner p {
    font-size: 0.875rem;
  }

  /* ヒーローセクション */
  .hero-section {
    background-image: url('../assets/top/hero_mobile.png');
    min-height: 80vh;
  }

  .hero-content {
    padding: 80px 0 60px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.25rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  /* 入門動画セクション */
  .intro-video-section {
    padding: 60px 0;
  }

  .video-title {
    font-size: 1.25rem;
  }

  /* ショート動画ギャラリー */
  .shorts-gallery-section {
    padding: 60px 0;
  }

  .shorts-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
  }

  /* YouTubeチャンネルセクション */
  .youtube-channel-section {
    padding: 60px 0;
  }

  .channel-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .channel-text {
    text-align: center;
  }

  .channel-text .section-title {
    text-align: center;
  }

  .section-description {
    font-size: 1rem;
  }

  .channel-stats {
    justify-content: center;
  }

  .channel-actions {
    justify-content: center;
  }

  /* 無料特典ページ */
  .page-header {
    padding: 40px 0;
  }

  .page-title {
    font-size: 1.75rem;
  }

  .page-subtitle {
    font-size: 1rem;
  }

  .free-slide-content {
    padding: 60px 0;
  }

  .content-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .slide-info,
  .target-audience {
    margin-bottom: 2rem;
  }

  .form-container {
    padding: 1.5rem;
  }

  /* 期間限定バナー */
  .limited-banner {
    padding: 30px 0;
  }

  .banner-content {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .banner-title {
    font-size: 1.25rem;
  }

  .banner-description {
    font-size: 1rem;
  }

  /* みんなの声セクション */
  .testimonials-section {
    padding: 60px 0;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  /* プライバシーポリシー */
  .privacy-policy-content {
    padding: 40px 0;
  }

  .policy-wrapper {
    padding: 2rem 1.5rem;
  }

  .policy-section h2 {
    font-size: 1.25rem;
  }

  /* フッター */
  .site-footer {
    padding: 40px 0 20px;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-logo {
    height: 60px;
    width: 60px;
  }

  .footer-title {
    font-size: 1.25rem;
  }

  .footer-social {
    justify-content: center;
  }

  /* ボタン調整 */
  .btn {
    padding: 10px 24px;
    font-size: 0.875rem;
  }

  .btn-large {
    padding: 14px 32px;
    font-size: 1rem;
  }

  /* ユーティリティクラス */
  .mobile-br {
    display: inline;
  }

  .desktop-br {
    display: none;
  }
}

/* 小型モバイル対応（480px以下） */
@media screen and (max-width: 480px) {
  /* 基本設定 */
  html {
    font-size: 14px;
  }

  /* ショート動画ギャラリー */
  .shorts-grid {
    grid-template-columns: 1fr;
  }

  /* フォーム */
  .google-form-wrapper iframe {
    height: 500px;
  }

  /* ボタン */
  .channel-actions {
    flex-direction: column;
    width: 100%;
  }

  .channel-actions .btn {
    width: 100%;
  }
}

/* 大型ディスプレイ対応（1440px以上） */
@media screen and (min-width: 1440px) {
  .container {
    max-width: 1320px;
  }

  /* ヒーローセクション */
  .hero-content {
    padding: 140px 0 100px;
  }

  .hero-title {
    font-size: 4rem;
  }

  .hero-subtitle {
    font-size: 1.75rem;
  }

  /* セクションタイトル */
  .section-title {
    font-size: 2.5rem;
  }
}

/* プリント対応 */
@media print {
  /* 不要な要素を非表示 */
  .promo-banner,
  .site-header,
  .mobile-menu,
  .site-footer,
  .btn,
  .video-wrapper,
  .play-overlay {
    display: none !important;
  }

  /* 背景色・影を削除 */
  * {
    background: transparent !important;
    color: #000000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  /* リンクの表示 */
  a[href]:after {
    content: " (" attr(href) ")";
  }

  /* ページ分割の制御 */
  h1,
  h2,
  h3 {
    page-break-after: avoid;
  }

  img {
    page-break-inside: avoid;
  }
}

/* アクセシビリティ：モーション削減対応 */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ダークモード対応（将来の実装用） */
@media (prefers-color-scheme: dark) {
  /* ダークモードの実装はここに追加 */
}
