@use "../global/common" as global;

// スマートフォン メニューアイコン
#nav-open-btn {
  position: absolute;
  top: 15px !important;
  left: 15px !important;
  padding: 0;
  color: global.$header-nav-color;
  background: 0;
  border: none;
  @include global.font-size(30);

  [class*="acms-icon-"] {
    display: block;
  }

  &:active {
    box-shadow: none;
  }

  .acms-icon:focus {
    outline: 0;
  }

  @media screen and (min-width: global.$breakpoint-md-min) {
    display: none;
    padding: 15px 12px;
    color: #0085cc;
    background-color: #eeeeee;
    border: solid 1px #cccccc;
    @include global.font-size(15);
  }
}

.acms-header-btn {
  color: global.$header-nav-color;
  @include global.font-size(30);

  [class*="acms-icon-"] {
    display: block;
  }
}

@media screen and (min-width: global.$breakpoint-md-min) {
  // 固定解除
  #sidebar {
    position: fixed;
    top: 0;
    left: 50px;
    width: 175px;
  }

  // ブログ一覧を非表示
  .acms-list-blog-sp {
    display: none;
  }

  // ナビゲーションが閉じている時
  #outer-wrap #nav {
    position: static;
  }

  /* サイドバー */
  .acms-sidebar {
    padding-bottom: 40px;
  }
}

@media only screen and (min-device-width: global.$breakpoint-md-max) and (max-device-width: global.$breakpoint-lg-max) and (orientation: portrait) {
  #sidebar .acms-btn-login {
    width: 75%;
  }
}
