@charset "UTF-8";
/* ------------------------------------
ヘッダー：「GEOXについて」のドロップダウン（PCのみ）
------------------------------------ */
.gx-dropdown {
  display: none;
}

@media (min-width: 1290px) {
  .gx-dropdown {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid #f3f3f3;
    box-shadow: 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  }
  .gx-dropdown[hidden] {
    display: none;
  }
  .gx-dropdown__inner {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    max-width: 1920px;
    margin: 0 auto;
    padding: 33px 68px;
  }
  .gx-dropdown__item {
    display: block;
  }
  .gx-dropdown__image {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #000;
  }
  .gx-dropdown__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease-in-out;
  }
  .gx-dropdown__item:hover .gx-dropdown__image img {
    transform: scale(1.05);
  }
  .gx-dropdown__item:hover .gx-dropdown__label {
    text-decoration: underline;
  }
  .gx-dropdown__label {
    display: block;
    margin-top: 8px;
    color: #373a36;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
  }

  /* ドロップダウン表示中はヘッダーを白背景にする（TOPの透過ヘッダー対策） */
  .js-header.is-dropdown-open .js-header-main {
    background-color: #fff !important;
  }
  .js-header.is-dropdown-open .js-header-logo {
    filter: none !important;
  }
  .js-header.is-dropdown-open .js-header-nav {
    color: var(--color-geox-navy, #00263e) !important;
  }

  /* 開いている間は「GEOXについて」に下線 */
  .main-menu nav a.js-dropdown-trigger[aria-expanded="true"]:after {
    width: 100%;
    content: "";
    border-bottom: 2px solid #000;
    display: block;
  }
}
