body {
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
}

/* 管理ヘッダー：スクロール後に上からスライド表示する用 */
#merchantHeader {
  z-index: 900;
  /* 念のため */
}

/* 固定モード（まだ画面上に隠れている状態） */
#merchantHeader.AdminHeaderFixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  transform: translateY(-100%);
  opacity: 0;
  box-shadow: none;
  transition: transform .25s ease, opacity .25s ease, box-shadow .25s ease;
}

/* 表示モード：下にスッと出てくる＋影を付ける */
#merchantHeader.AdminHeaderFixed.is-visible {
  transform: translateY(0);
  opacity: 1;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .18);
}

/* 固定表示のときはアイコン下のラベルを非表示にする */
#merchantHeader.AdminHeaderFixed .cateLabel {
  display: none;
}


/*===================
ヘッダーメニュー
====================*/
.HeaderMenuScroll {
  text-align: center;
  top: 0;
  right: 0;
  width: 100%;
}

.HeaderMenuScroll>ul {
  width: 100%;
  display: table;
  table-layout: fixed;
}

.HeaderMenuScroll>ul>li {
  display: table-cell;
  /*
  border-left: solid 1px #ddd;
  */
  padding: 5px
}

.HeaderMenuScroll>ul>li:first-child {
  border-left: none;
}

/*
.HeaderMenuScroll > ul{
  max-width:500px;
}
  */
.HeaderMenuScroll>ul>li {
  width: 70px;
}

/* ====================
Menuボタンだけ右端にsticky配置
==================== */
.HeaderMenuScroll>ul>li.menu-li {
  position: sticky;
  right: 0;
  background: #f8f8f8;
  z-index: 2;
}

.HeaderMenuScroll>ul>li>a {
  display: block;
  color: #444;
}

.HeaderMenuScroll>ul>li:hover {
  background-color: #f0f4f9;
  border-radius: 3px;

}

.HeaderMenuScroll>ul>li:hover>a>span {
  transform: scale(1.1);
  font-weight: 500;
}


.HeaderMenuScroll {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;

  -webkit-overflow-scrolling: touch;

}

.HeaderMenuScroll::-webkit-scrollbar {
  height: 0.5em;
}

.HeaderMenuScroll::-webkit-scrollbar-track {
  background: #F1F1F1;
}

.HeaderMenuScroll::-webkit-scrollbar-thumb {
  background-color: #008ffd;
  border-radius: 12px;
  border-radius: 1.2rem;
}

.HeaderMenuScroll::-webkit-scrollbar-thumb:hover {
  background-color: #37a8ff;
}



/* 右端スライドメニュー化（GMM用） */
.remodal[data-remodal-id="modal_merchantMegaMenu"] {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  left: auto !important;
  bottom: 0 !important;

  width: 300px !important;
  max-width: 300px !important;
  height: 100% !important;
  min-height: 100% !important;

  margin: 0 !important;
  transform: none !important;
  /* Remodalの中央寄せ無効化 */
  background: #fff !important;
  box-shadow: -4px 0 8px rgba(0, 0, 0, 0.2) !important;
  overflow-y: auto !important;
  padding: 20px !important;
  z-index: 9999 !important;
}

@media screen and (max-width:768px) {
  .remodal[data-remodal-id="modal_merchantMegaMenu"] {
    width: 300px !important;
    max-width: 300px !important;
  }
}

/* remodal 背景の黒半透明 */
.remodal-overlay {
  background: rgba(0, 0, 0, 0.5) !important;
}


.footer {
  display: block;
  width: 100%;
  position: fixed;
  background-color: #ececec;
  left: 0px;
  bottom: 0px;
  z-index: 9999;
  text-align: center;
}


/*===================
スティッキー スクロールしても要素をその場に固定するクラス
====================*/
.merchantSticky {
  position: sticky;
  top: 105px;
}