.net-mobile-toc-entry,
.net-mobile-toc-root {
  display: none;
}

@media (max-width: 1199px) {
  :root {
    --net-mobile-toc-header-height: 56px;
    --net-mobile-toc-teal: #135B6C;
    --net-mobile-toc-cream: #FFF9EF;
    --net-mobile-toc-gold: #C9833F;
    --net-mobile-toc-gold-soft: #FAEBCF;
    --net-mobile-toc-text: #3E3935;
  }

  html.net-mobile-toc-locked {
    overscroll-behavior: none;
  }

  .net-mobile-toc-entry {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 116px;
    min-height: 44px;
    margin: 0 0 18px;
    padding: 10px 16px;
    border: 2px solid #E8D5C0;
    border-radius: 14px;
    background: #FFF;
    color: #2D2D2D;
    box-shadow: none;
    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .hp-main .search-section {
    display: grid;
    grid-template-columns: 116px minmax(0, 1fr);
    gap: 10px 12px;
    align-items: center;
    margin-bottom: 18px;
  }

  .hp-main .search-section .home-motto {
    grid-column: 1 / -1;
    margin-bottom: 0;
  }

  .hp-main .search-section .net-mobile-toc-entry {
    grid-column: 1;
    grid-row: 2;
    width: 116px;
    height: 47px;
    min-width: 0;
    min-height: 47px;
    gap: 6px;
    margin: 0;
    padding-right: 10px;
    padding-left: 10px;
    box-sizing: border-box;
    white-space: nowrap;
  }

  .hp-main .search-section .search-wrap {
    grid-column: 2;
    grid-row: 2;
    width: 100%;
    min-width: 0;
    max-width: none;
    margin: 0;
  }

  @media (max-width: 360px) {
    .hp-main .search-section {
      grid-template-columns: 106px minmax(0, 1fr);
      gap: 8px;
    }

    .hp-main .search-section .net-mobile-toc-entry {
      width: 106px;
      gap: 5px;
      padding-right: 10px;
      padding-left: 10px;
      font-size: 15px;
    }

    .hp-main .search-section .search-input {
      padding-right: 10px;
      padding-left: 42px;
      font-size: 15px;
    }

    .hp-main .search-section .search-icon {
      left: 13px;
    }
  }

  @media (min-width: 601px) {
    .main-content {
      padding-left: 44px;
    }

    .hp-main .search-section {
      display: flex;
      gap: 16px;
      align-items: flex-start;
      margin-bottom: 24px;
    }

    .hp-main .search-section .net-mobile-toc-entry {
      position: fixed;
      z-index: 1100;
      top: calc(var(--net-mobile-toc-header-height) + 24px);
      left: env(safe-area-inset-left, 0);
      width: 44px;
      height: 122px;
      min-width: 44px;
      min-height: 122px;
      flex-direction: column;
      gap: 7px;
      margin: 0;
      padding: 10px 7px;
      border-left: 0;
      border-radius: 0 14px 14px 0;
      box-shadow: 3px 3px 12px rgba(76, 52, 35, 0.12);
      transition: opacity 160ms ease, box-shadow 160ms ease;
    }

    .hp-main .search-section .net-mobile-toc-entry span {
      writing-mode: vertical-rl;
      text-orientation: upright;
      letter-spacing: 2px;
    }

    .hp-main .search-section .net-mobile-toc-entry[aria-expanded="true"] {
      opacity: 0;
      pointer-events: none;
    }

    .hp-main .search-section .search-wrap {
      width: auto;
      min-width: 180px;
      max-width: 398px;
      margin: 0;
    }

    .net-mobile-toc-root .net-mobile-toc-drawer {
      width: clamp(240px, 32vw, 300px);
    }

    .net-mobile-toc-root .net-mobile-toc-fab {
      display: none;
    }
  }

  @media (min-width: 769px) and (max-width: 1199px) {
    .hp-main .search-section .search-wrap {
      min-width: 200px;
      max-width: none;
    }
  }

  .net-mobile-toc-entry img,
  .net-mobile-toc-fab img {
    width: 19px;
    height: 19px;
  }

  .net-mobile-toc-entry img {
    filter: invert(72%) sepia(12%) saturate(416%) hue-rotate(348deg) brightness(91%) contrast(88%);
  }

  .net-mobile-toc-fab img {
    filter: brightness(0) invert(1);
  }

  .hp-main .search-section .net-mobile-toc-entry:focus-visible {
    border-color: #D4A574;
    outline: none;
    box-shadow: 0 0 0 4px rgba(212, 165, 116, 0.15);
  }

  .net-mobile-toc-entry:focus-visible,
  .net-mobile-toc-fab:focus-visible,
  .net-mobile-toc-close:focus-visible,
  .net-mobile-toc-toggle:focus-visible,
  .net-mobile-toc-top:focus-visible,
  .net-mobile-toc-drawer a:focus-visible {
    outline: 3px solid rgba(201, 131, 63, 0.52);
    outline-offset: 2px;
  }

  .net-mobile-toc-root {
    display: block;
    position: relative;
    z-index: 1200;
  }

  .net-mobile-toc-overlay {
    position: fixed;
    z-index: 1201;
    top: var(--net-mobile-toc-header-height);
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: rgba(31, 36, 37, 0.58);
    opacity: 0;
    visibility: hidden;
    cursor: default;
    transition: opacity 220ms ease, visibility 220ms ease;
  }

  .net-mobile-toc-drawer {
    position: fixed;
    z-index: 1202;
    top: var(--net-mobile-toc-header-height);
    bottom: 0;
    left: 0;
    display: flex;
    width: min(45.56vw, 188px);
    flex-direction: column;
    overflow: hidden;
    background: var(--net-mobile-toc-cream);
    box-shadow: 12px 0 30px rgba(28, 29, 27, 0.18);
    color: var(--net-mobile-toc-text);
    transform: translateX(-104%);
    transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .net-mobile-toc-drawer:focus {
    outline: none;
  }

  .net-mobile-toc-root.is-open .net-mobile-toc-overlay {
    opacity: 1;
    visibility: visible;
  }

  .net-mobile-toc-root.is-open .net-mobile-toc-drawer {
    transform: translateX(0);
  }

  .net-mobile-toc-head {
    display: flex;
    min-height: 60px;
    align-items: center;
    justify-content: space-between;
    padding: 8px 8px 6px 14px;
    border-bottom: 1px solid #F0DEC7;
  }

  .net-mobile-toc-title {
    margin: 0;
    color: #363532;
    font: 750 19px/1.2 -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
    letter-spacing: 0.01em;
  }

  .net-mobile-toc-close,
  .net-mobile-toc-toggle {
    display: inline-flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: #505453;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .net-mobile-toc-close {
    border-radius: 10px;
  }

  .net-mobile-toc-close img {
    width: 24px;
    height: 24px;
  }

  .net-mobile-toc-current {
    flex: 0 0 auto;
    margin: 0;
    padding: 8px 14px 9px;
    border-bottom: 1px solid #F0DEC7;
    color: #68645F;
    font-size: 14px;
    line-height: 1.4;
  }

  .net-mobile-toc-current strong {
    color: var(--net-mobile-toc-gold);
    font-weight: 750;
  }

  .net-mobile-toc-scroll {
    min-height: 0;
    flex: 1 1 auto;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 6px 6px 14px 14px;
    scrollbar-width: thin;
    scrollbar-color: #D9B482 transparent;
  }

  .net-mobile-toc-list,
  .net-mobile-toc-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .net-mobile-toc-list {
    position: relative;
    padding-left: 8px;
  }

  .net-mobile-toc-list::before {
    content: "";
    position: absolute;
    top: 19px;
    bottom: 19px;
    left: 3px;
    width: 1px;
    background: #D9A469;
  }

  .net-mobile-toc-list > li {
    position: relative;
    border-bottom: 1px solid #F1DFCA;
  }

  .net-mobile-toc-list > li:last-child {
    border-bottom: 0;
  }

  .net-mobile-toc-list > li::before {
    content: "";
    position: absolute;
    z-index: 1;
    top: 18px;
    left: -9px;
    width: 10px;
    height: 10px;
    border: 2px solid var(--net-mobile-toc-cream);
    border-radius: 50%;
    background: var(--net-mobile-toc-gold);
    box-shadow: 0 0 0 1px #D9A469;
  }

  .net-mobile-toc-list a {
    display: flex;
    min-height: 46px;
    align-items: center;
    margin: 0;
    padding: 6px 40px 6px 12px;
    border: 0 !important;
    border-radius: 8px;
    background: transparent;
    color: #3F3D39;
    font-size: 15px;
    font-weight: 650;
    line-height: 1.35;
    text-decoration: none;
  }

  .net-mobile-toc-list > li > a {
    font-size: 16px;
    font-weight: 720;
  }

  .net-mobile-toc-list li.has-children > .net-mobile-toc-toggle {
    position: absolute;
    z-index: 2;
    top: 1px;
    right: 0;
  }

  .net-mobile-toc-toggle img {
    width: 24px;
    height: 24px;
    transition: transform 180ms ease;
  }

  .net-mobile-toc-list li.is-expanded > .net-mobile-toc-toggle img {
    transform: rotate(90deg);
  }

  .net-mobile-toc-list .hp-toc-sublist {
    position: relative;
    margin: -2px 0 6px 13px;
    padding: 0 0 0 8px;
    border: 0;
  }

  .net-mobile-toc-list .hp-toc-sublist::before {
    content: "";
    position: absolute;
    top: 19px;
    bottom: 19px;
    left: 3px;
    width: 1px;
    background: #E2BC8D;
  }

  .net-mobile-toc-list .hp-toc-sublist.is-collapsed {
    display: none;
  }

  .net-mobile-toc-list .hp-toc-sublist li {
    position: relative;
  }

  .net-mobile-toc-list .hp-toc-sublist li::before {
    content: "";
    position: absolute;
    z-index: 1;
    top: 18px;
    left: -9px;
    width: 8px;
    height: 8px;
    border: 2px solid var(--net-mobile-toc-cream);
    border-radius: 50%;
    background: var(--net-mobile-toc-cream);
    box-shadow: 0 0 0 1px #D9A469;
  }

  .net-mobile-toc-list .hp-toc-sublist a {
    min-height: 44px;
    padding: 5px 6px 5px 10px;
    color: #55504A;
    font-size: 14px;
    font-weight: 560;
  }

  .net-mobile-toc-list a.is-active {
    background: var(--net-mobile-toc-gold-soft) !important;
    color: #075F70 !important;
    font-weight: 750 !important;
  }

  .net-mobile-toc-list li.is-current::before {
    background: var(--net-mobile-toc-gold);
    box-shadow: 0 0 0 2px var(--net-mobile-toc-cream), 0 0 0 3px #D9A469;
  }

  .net-mobile-toc-top {
    flex: 0 0 auto;
    min-height: 44px;
    margin: 0 10px 8px;
    border: 0;
    border-top: 1px solid #F0DEC7;
    background: transparent;
    color: #B86728;
    font: 650 14px/1.2 -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
    cursor: pointer;
  }

  .net-mobile-toc-fab {
    position: fixed;
    z-index: 1100;
    left: 14px;
    bottom: max(14px, env(safe-area-inset-bottom));
    display: inline-flex;
    min-width: 70px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 9px 13px;
    border: 1px solid #D4A574;
    border-radius: 22px;
    background: var(--net-mobile-toc-teal);
    box-shadow: 0 5px 16px rgba(12, 59, 70, 0.26);
    color: #FFFDF8;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  @media (max-width: 600px) {
    html:not(.net-site) .net-mobile-toc-fab {
      background: var(--color-brand-dark);
    }
  }

  .net-mobile-toc-fab.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .net-mobile-toc-root.is-open .net-mobile-toc-fab {
    opacity: 0;
    pointer-events: none;
  }

  @media (prefers-reduced-motion: reduce) {
    .net-mobile-toc-overlay,
    .net-mobile-toc-drawer,
    .net-mobile-toc-fab,
    .net-mobile-toc-toggle img {
      transition: none !important;
    }
  }
}
