@charset "utf-8";

/* ========================================================== */
/* ヘッダー */
/* ========================================================== */
header {
  z-index: 100;

  & .nav-bar {
    width: 100%;
    /* background-color: #f5f5f5; */

    & ul {
      display: flex;
      justify-content: center;
      gap: 3rem;
      margin: 0;
      padding: 0;

      & li {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0.5rem;
        width: 100px;
        height: 100px;

        & .icon {
          width: auto;
          min-width: 50px;
          height: 50px;
        }

        & p {
          width: 100%;
          font-size: 0.75rem;
          font-weight: 500;
          text-align: center;
          margin-bottom: 0;
        }
      }

      & li:nth-child(4) {
        display: none;
        margin-left: auto;
        /* cursor: pointer; */

        & svg {
          width: 40px;
          height: 50px;
        }
      }

    }
  }
}

#menu-collapse {
  width: 400px;
  background: #ffffff;
  line-height: 1.25rem;

  & .logo {
    width: auto;
    height: 60px;
    margin-right: 1rem;
  }

  & div:nth-child(2) {
    & dl {
      display: flex;
      justify-content: center;
      margin-bottom: 0;

      & dd:nth-child(1) {
        width: 80px;
        font-size: 0.85rem;
      }

      & dd:nth-child(2) {
        width: 120px;
        font-size: 0.85rem;
      }
    }
  }
}

@media screen and (max-width: 1399px) {
  header {
    & .nav-bar {
      & ul {
        & li {
          width: 100px;
          height: 70px;

          & .icon {
            height: 40px;
          }
        }

        & li:nth-child(5) {
          & svg {
            height: 40px;
          }
        }
      }
    }
  }
}

@media screen and (max-width: 991px) {
  header {
    & .nav-bar {
      & ul {
        gap: 1.5rem;
      }
    }
  }
}

@media screen and (max-width: 767px) {
  header {
    & .nav-bar {
      & ul {
        & li {
          width: 90px;
          height: 60px;
        }
      }
    }
  }

  #menu-collapse {
    width: 70%;
    min-width: 375px;
    line-height: 1rem;

    & .logo {
      height: 50px;
      margin-right: 1rem;
    }
  }
}