/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-container {
        padding: 0 1rem;
        padding-right: 1rem;
    }

    .logo {
        font-size: 2.5rem;
    }

    .logo-icon {
        padding-top:1px;
        width: 36px;
        height: 36px;
    }

    .lang-toggle {
        top: 18px;
        right: 60px;
        margin-top: 3px;
        padding: 2px; */
        gap: 3px;
        border-radius: 20px;
    }

    .lang-toggle button {
        padding: 6px 12px;
        font-size: 0.85rem;
        margin: 1px 3px 1px 3px;
        border-radius: 15px;
    }

    .menu-toggle {
        top: 10px;
    }

    .about-container {
        grid-template-columns: 1fr;
    }

    .contact-container {
        padding: 1rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

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

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

    .services-grid,
    .blog-grid,
    .media-grid {
        grid-template-columns: 1fr;
    }
}

/* ======================

/* Responsive (article + sidebar) */
@media (max-width: 900px) {
  .article-wrapper {
    grid-template-columns: 1fr;
  }
  .sidebar-card {
    display: none;
  }
  .lang-toggle {
    right: 20px;
  }
}

/* モバイル時の言語選択バー位置調整は上記の@media (max-width: 768px)に統合済み */

@media (max-width: 600px) {
  section {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  .article-wrapper {
    padding-left: 0.1rem;
    padding-right: 0.1rem;
  }
  .article-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  /* 小さい画面ではロゴをさらに小さく */
  .logo {
    font-size: 1.4rem;
  }

  .logo-icon {
    width: 32px;
    height: 32px;
  }

  .lang-toggle {
    top: 16px;
    right: 55px;
  }

  .lang-toggle button {
    padding: 5px 10px;
    font-size: 0.8rem;
  }

  .menu-toggle {
    top: 21px;
  }
}

@media (max-width: 600px) {
  .article-header h1 {
    font-size: 1.3rem;
    padding-top: 1.5rem;
  }
  .article-container h2 {
    font-size: 1.1rem;
    margin: 1.2rem 0 0.7rem;
  }
  .article-container h3 {
    font-size: 1rem;
    margin: 1rem 0 0.5rem;
  }
  .section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
  }
  .media-card h3 {
    font-size: 1.1rem;
  }
  .media-card p {
    font-size: 0.95rem;
  }
  .blog-title {
    font-size: 1.1rem;
  }
  .blog-content {
    padding: 1.2rem;
  }
  .contact-text {
    font-size: 1rem;
  }
  footer {
    padding: 0.5rem 0;
  }
  .footer-logo {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
  }
}