/* ハンバーガーメニューボタン */
.hamburger-menu {
  display: none;
  background: none;
  border: none;
  width: 30px;
  height: 24px;
  position: relative;
  cursor: pointer;
  padding: 0;
}

.hamburger-menu span {
  display: block;
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: var(--text-color);
  transition: all 0.4s ease;
}

.hamburger-menu span:nth-child(1) { top: 0; }
.hamburger-menu span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hamburger-menu span:nth-child(3) { bottom: 0; }

/* ハンバーガーメニューアクティブ時 */
.hamburger-menu.active span:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .hamburger-menu {
    display: block;
    z-index: 1001;
  }

  .global-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--primary-white);
    padding: 80px 20px 20px;
    transition: right 0.4s ease;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
  }

  .global-nav.active {
    right: 0;
  }

  .global-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .global-nav li {
    width: 100%;
  }

  .global-nav a {
    display: block;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
  }

  /* ドロップダウンメニューのモバイル対応 */
  .dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    display: none;
    padding-left: 1rem;
  }

  .has-dropdown.active .dropdown-menu {
    display: block;
  }
}

/* ======================
  Base Settings
====================== */
.company-hero {
    position: relative;
    height: 60vh;
    width: 100%;
   }
   
   .company-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4));
    z-index: 1;
   }
   
   .company-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
   }
   
   .company-hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    width: 90%;
    max-width: 800px;
   }
   
   .company-hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(30px);
   }
   
   .company-hero-content p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    opacity: 0;
    transform: translateY(30px);
   }
   
   /* ======================
     Company Profile Section
   ====================== */
   .company-profile {
    padding: 8rem 2rem;
    background: #fff;
   }
   
   .profile-container {
    max-width: 1000px;
    margin: 0 auto;
   }
   
   .section-title {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 2.5rem;
    opacity: 0;
    transform: translateY(30px);
   }
   
   .company-info-list {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
   }
   
   .company-info-item {
    display: flex;
    border-bottom: 1px solid #e0e0e0;
    padding: 2rem 1rem;
   }
   
   .company-info-item:first-child {
    border-top: 1px solid #e0e0e0;
   }
   
   .company-info-label {
    width: 180px;
    font-weight: bold;
    color: #333;
   }
   
   .company-info-content {
    flex: 1;
    line-height: 1.8;
   }
   
   /* ======================
     Business Section
   ====================== */
   .business-content {
    padding: 8rem 2rem;
    background: #f8f8f8;
   }
   
   .business-container {
    max-width: 1200px;
    margin: 0 auto;
   }
   
   .business-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    opacity: 0;
    transform: translateY(30px);
   }
   
   .business-item {
    background: #fff;
    padding: 3rem 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
   }
   
   .business-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
   }
   
   .business-icon {
    font-size: 2.5rem;
    color: #F45327;
    margin-bottom: 1.5rem;
   }
   
   /* ======================
     Animations
   ====================== */
   .fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
   }

/* ======================
   Access Section
====================== */
.company-access {
    padding: 8rem 2rem;
    background: #fff;
  }
  
  .container {
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .access-info {
    opacity: 0;
    transform: translateY(30px);
  }
  
  .map-container {
    width: 100%;
    margin-bottom: 4rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
  
  .map-container iframe {
    display: block;
    width: 100%;
    height: 450px;
  }
  
  .access-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    padding: 0 1rem;
  }
  
  .access-item {
    padding: 2rem;
    background: #f8f8f8;
    border-radius: 12px;
    transition: transform 0.3s ease;
  }
  
  .access-item:hover {
    transform: translateY(-5px);
  }
  
  .access-item h3 {
    color: #333;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1.5rem;
  }
  
  .access-item h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: #F45327;
    border-radius: 50%;
  }
  
  .access-item p {
    line-height: 1.8;
    color: #666;
  }
  
  /* レスポンシブ対応追加 */
  @media screen and (max-width: 768px) {
    .map-container {
      margin-bottom: 2rem;
    }
  
    .map-container iframe {
      height: 300px;
    }
  
    .access-details {
      grid-template-columns: 1fr;
      gap: 2rem;
    }
  
    .access-item {
      padding: 1.5rem;
    }
  }
  
  @media screen and (max-width: 480px) {
    .company-access {
      padding: 4rem 1rem;
    }
  
    .map-container iframe {
      height: 250px;
    }
  
    .access-item h3 {
      font-size: 1.2rem;
    }
  }

   
   /* ======================
     Responsive Design
   ====================== */
   @media screen and (max-width: 768px) {
    .company-hero {
      height: 50vh;
    }
   
    .company-info-item {
      flex-direction: column;
      padding: 1.5rem 1rem;
    }
   
    .company-info-label {
      width: 100%;
      margin-bottom: 0.5rem;
    }
   
    .business-items {
      grid-template-columns: 1fr;
    }
    
    .section-title {
      font-size: 2rem;
      margin-bottom: 3rem;
    }
   }
   
   @media screen and (max-width: 480px) {
    .company-hero-content h1 {
      font-size: 2rem;
    }
   
    .company-hero-content p {
      font-size: 1rem;
    }
   
    .section-title {
      font-size: 1.8rem;
    }
   }