/* =============================================================================
   English Header specific styles
============================================================================= */
.header-tb {
  display: flex;
}

.header-en {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 100px;
  background-color: #fff;
  padding: 0 0 40px 40px;
  border-bottom: 1px solid #E6E6E6;
  position: relative;
  /* Set as reference point for sub-menu */
  font-family: 'Inter', "Helvetica Neue", Arial, sans-serif;
  box-sizing: border-box;
}

.header-en-logo {
  flex-shrink: 0;
}

.header-en-logo img {
  height: 60px;
  width: auto;
}

.header-en-nav-container {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
  margin-right: 48px;
}

.header-en-nav-link {
  font-size: 20px;
  text-decoration: none;
  transition: opacity 0.2s;
  letter-spacing: 0.02em;
}

.header-en-nav-link:hover {
  opacity: 0.7;
}

.header-en-nav-sep {
  font-size: 24px;
  font-weight: 200;
  opacity: 0.5;
}

.header-en-utility-box {
  display: flex;
  align-items: center;
  background-color: var(--dark-blue);
  height: 90px;
  padding: 0 40px;
  border-bottom-left-radius: 45px;
  gap: 32px;
  box-sizing: border-box;
}

.header-en-util-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #FFF;
  text-decoration: none;
  font-size: 18px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
}

.header-en-util-item img.icon {
  width: 24px !important;
  height: 24px !important;
  filter: brightness(0) invert(1) !important;
}

.header-en-util-item .lang-arrow {
  width: 16px !important;
  height: 16px !important;
  margin-left: 2px !important;
  filter: brightness(0) invert(1) !important;
  transform: rotate(90deg) !important;
}

.header-en .lang-menu {
  position: static;
}

.header-en .lang-sub-menu {
  display: none;
  position: absolute !important;
  top: 90px;
  right: 0px !important;
  left: auto;
  min-width: 200px;
  border-radius: 0 0 0 8px;
  box-shadow: -4px 8px 16px rgba(0, 0, 0, 0.1);
  background-color: #FFF;
  border: 1px solid #E6E6E6;
  border-top: none;
  border-right: none;
  z-index: 1000;
}

.header-en .lang-item {
  padding: 12px 20px;
  color: var(--dark-blue);
  font-weight: 600;
  background-color: transparent;
  display: flex;
  justify-content: space-between;
  text-decoration: none;
}

.header-en .menu-close {
  background-color: var(--dark-blue);
  color: #FFF;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.header-en .sub-nav-link:last-child {
  border-bottom: 1px solid #fff !important;
}

/* =============================================================================
   @media
============================================================================= */

@media (max-width: 1400px) {
  .header-en-logo img {
    height: 60px;
    width: 200px;
  }

  /* [menu-icon]内の[content]は[header.twig]側に直接定義 */
  .header-en .menu-toggle .menu-icon-close {
    display: none;
  }

  .header-en .menu-toggle.active .menu-icon {
    display: none;
  }

  .header-en .menu-toggle.active .menu-icon-close {
    display: block;
  }

  .header-en-utility-box,
  .header-en-nav-container {
    display: none;
  }
}

@media (min-width: 1024px) and (max-width: 1400px) {
  .header-en-logo img {
    margin-top: 20px;
  }
}

/* =============================================================================
   @media：TB
============================================================================= */

@media (max-width: 1023px) {
  .header-en {
    min-height: 70px;
    padding: 0 0 0 16px;
  }


  .header-en-nav-container {
    display: none;
  }

  .header-en-utility-box {
    display: none;
  }

  .header-en .menu-toggle.active {
    background-color: #FFF;
  }

  .header-en .category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
    font-size: 18px;
    font-weight: 700;
    border: 1px solid #FFF;
    color: #FFF;
  }

  .header-en .category-header a {
    color: #FFF;
    text-decoration: none;
  }

  .header-en .plus-icon {
    width: 20px;
    height: 20px;
    cursor: pointer;
    transition: transform 0.3s ease;
    filter: brightness(0) invert(1);
  }

  .header-en .category-item.is-open .plus-icon {
    transform: rotate(45deg);
  }

  /* サブナビゲーション */
  .header-en .category-sub-nav {
    display: none;
    background-color: var(--dark-blue);
  }

  .header-en .category-item.is-open .category-sub-nav {
    display: block;
  }

  .header-en .sub-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    color: #FFF;
    text-decoration: none;
    font-size: 14px;
    border-bottom: 1px solid #fff;
  }


  .header-en .sub-arrow {
    width: 14px;
    height: 14px;
    filter: brightness(0) invert(1);
  }
}