/* ===== タブレット ===== */
@media (max-width: 1024px) {
  .numbers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .concept-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .area-content {
    gap: 30px;
  }
}

/* ===== スマートフォン ===== */
@media (max-width: 768px) {
  .header {
    height: 64px;
  }

  .header-nav {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    gap: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }

  .header-nav.active {
    display: flex;
  }

  .header-nav a {
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
    width: 100%;
    text-align: center;
  }

  .header-nav a::after {
    display: none;
  }

  .header-phone {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    width: 100vw;
    height: 100vh;
    min-height: 540px;
    margin-left: 0;
    margin-top: 0;
    padding-left: 0;
  }

  .hero-image-wrapper {
    top: 64px;
    height: calc(100vh - 64px);
  }

  .hero-image-content {
    width: 100vw;
  }

  .hero-catch-wrap {
    top: auto;
    bottom: 80px;
  }

  .hero-catch {
    max-width: 90%;
    padding: 0 6%;
  }

  .hero-catch-en {
    font-size: 11vw;
  }

  .hero-catch-ja {
    font-size: 5vw;
    margin-top: 24px;
  }

  .hero-content h1 {
    font-size: 28px;
    letter-spacing: 2px;
  }

  .hero-content p {
    font-size: 14px;
  }

  .section {
    padding: 60px 0;
  }

  .section-title h2 {
    font-size: 24px;
  }

  .section-title {
    margin-bottom: 40px;
  }

  .numbers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .number-value {
    font-size: 40px;
  }

  .concept-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .works-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .area-content {
    flex-direction: column;
    gap: 30px;
  }

  .cta-phone {
    font-size: 28px;
  }

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

  .page-header {
    padding: 100px 0 40px;
    margin-top: 64px;
  }

  .page-header h1 {
    font-size: 26px;
  }

  .service-detail-content,
  .service-detail-content.reverse {
    flex-direction: column;
  }

  .service-detail-img {
    width: 100%;
    min-height: 200px;
  }

  .steps {
    flex-direction: column;
  }

  .message-content {
    flex-direction: column;
  }

  .message-img {
    width: 100%;
    height: 300px;
  }

  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
  }

  .company-table th {
    padding-bottom: 5px;
    border-bottom: none;
  }

  .company-table td {
    padding-top: 5px;
  }

  .filter-buttons {
    gap: 8px;
  }

  .filter-btn {
    padding: 6px 16px;
    font-size: 13px;
  }

  .btn-lg {
    padding: 14px 30px;
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .works-grid {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: 24px;
  }
}

/* ===== ABOUT US レスポンシブ ===== */
@media (max-width: 768px) {
  .about-section {
    padding: 80px 0 60px;
  }

  .about-container {
    flex-direction: column;
    gap: 32px;
    margin-bottom: 32px;
  }

  .about-text-area {
    width: 100%;
  }

  .about-text-area .section-title {
    margin-bottom: 40px;
  }

  .en-title {
    font-size: 56px;
  }

  .en-title .ja-title {
    font-size: 12px;
    bottom: -1.6em;
  }

  .about-philosophy {
    font-size: 22px;
    margin-bottom: 24px;
  }

  .about-body-text {
    font-size: 13px;
  }

  .about-btn-link a {
    width: 200px;
    font-size: 18px;
    padding: 12px 20px;
  }
}
