/* ================================================
   PC グローバルナビ ドロップダウンメニュー
   MaxMegaMenu → ネイティブ置き換え
================================================ */
@media screen and (min-width: 992px) {

  /* ナビ全体 */
  .ol-header__nav .menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  /* トップレベルリンク */
  .ol-header__nav .menu > li > a {
    display: flex;
    align-items: center;
    height: 50px;
    padding: 0 20px;
    font-family: "Noto Serif JP", "Hiragino Mincho ProN", serif;
    font-size: 14px;
    font-weight: 500;
    color: #000;
    letter-spacing: 1.92px;
    text-decoration: none;
    white-space: nowrap;
  }

  /* サービスの▼矢印 */
  .ol-header__nav .menu-item-has-children > a::after {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    margin-left: 8px;
    flex-shrink: 0;
  }

  /* ドロップダウン位置基準：ol-headerに委ねる */
  .ol-header__main {
    position: relative;
  }
  .ol-header__nav,
  .ol-header__nav .menu-item-has-children {
    position: static;
  }

  /* ドロップダウン本体（非表示→ホバーで表示） */
  .ol-header__nav .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 1140px;
    flex-direction: row;
    justify-content: center;
    background: #fff;
    padding: 50px 0;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 10px 10px;
    z-index: 9999;
    list-style: none;
    margin: 0;
  }

  .ol-header__nav .menu-item-has-children:hover > .sub-menu {
    display: flex;
  }

  /* サブメニュー各項目 */
  .ol-header__nav .sub-menu > li {
    flex: 0 0 200px;
    width: 200px;
  }

  .ol-header__nav .sub-menu > li > a {
    display: block;
    padding: 25px 0;
    font-family: "Noto Serif JP", "Hiragino Mincho ProN", serif;
    font-size: 12px;
    font-weight: 700;
    color: #00030a;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s;
  }

  .ol-header__nav .sub-menu > li > a:hover {
    background-color: #f8f8f8;
  }
}