@charset "utf-8";

/*------------------------------------------------------------
	anchor menu(ex. products/wrt/slotdie)
------------------------------------------------------------*/
html {
  /* for iOS15 Safari */
  height: 100vh;
}

.anchorMenu {
  position: absolute;
  top: 440px;
  right: 0;
  width: 130px;
  margin: 0;
  padding: 0;
  pointer-events: auto;
  background-color: #fff;
  border-top: 1px solid #000;
  border-left: 1px solid #000;
  border-bottom: 1px solid #000;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  overflow: hidden;
  transition: none;
  z-index: 150;
}

.anchorMenu.animated {
  transition: transform 0.4s;
  -webkit-transition: -webkit-transform transform 0.4s;
}

.anchorMenu .ttl {
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  background-color: #000;
  letter-spacing: 0.05em;
  height: 49px;
  line-height: 49px;
  margin: 0;
}

.anchorMenu ul li {
  width: 100%;
  height: 50px;
  border-top: 1px solid #dadada;
}

.anchorMenu ul li:first-of-type {
  border-top: none;
}

.anchorMenu ul li:last-of-type {
  border-top: none;
}

.anchorMenu ul li a {
  color: #000;
  text-decoration: none;
  text-align: center;
  font-size: 14px;
  line-height: 1.25;
  letter-spacing: 0.05em;
  font-weight: bold;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.anchorMenu ul li:last-of-type a {
  color: #fff;
  background-color: #e60012;
}

.anchorMenu ul li a.js-current {
  background-color: #f6f6f6;
}

.anchorMenu ul li:last-of-type a.js-current {
  background-color: rgba(230, 0, 18, 0.75);
}

.anchorMenuBtn {
  opacity: 0;
  pointer-events: none;
}

@media all and (-ms-high-contrast: none) {
  .anchorMenu ul {
    /*IE*/
    margin: 0 !important;
  }
}

@media screen and (min-width: 1380px) {
  .anchorMenu.fixed {
    position: fixed;
    top: 120px;
  }
}

@media screen and (max-width: 1379px) {
  .anchorMenu {
    position: fixed;
    top: 0;
    left: 0;
    transform: translateX(100%);
    width: 100%;
    height: 100%;
    max-width: none;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    border-radius: 0;
    height: 100%;
    overflow-y: auto;
  }

  .anchorMenu.open {
    transform: translateX(0);
  }

  .anchorMenu .ttl {
    display: none;
  }

  .anchorMenu ul {
    width: 360px;
    margin: auto;
  }

  .anchorMenu ul li {
    height: 60px;
  }

  .anchorMenu ul li:first-of-type {
    border-top: 1px solid #dadada;
  }

  .anchorMenu ul li:last-of-type {
    border-bottom: none;
  }

  .anchorMenu ul li a {
    font-size: 16px;
  }

  .anchorMenuBtn {
    position: fixed;
    right: 0;
    display: flex;
    height: 60px;
    width: 60px;
    padding-bottom: 15px;
    box-sizing: border-box;
    justify-content: center;
    align-items: center;
    z-index: 50;
    background-color: #000;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    color: #fff !important;
    opacity: 1;
    pointer-events: auto;
    transition: none;
  }

  .anchorMenuBtn.animated {
    z-index: 200;
  }

  .anchorMenuBtn::after {
    content: "MENU";
    position: absolute;
    width: 100%;
    bottom: 9px;
    left: 0;
    right: 0;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
  }

  .anchorMenuBtn span,
  .anchorMenuBtn span:after,
  .anchorMenuBtn span:before {
    content: '';
    display: block;
    height: 2px;
    width: 30px;
    background-color: #fff;
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
  }

  .anchorMenuBtn.animated span,
  .anchorMenuBtn.animated span:after,
  .anchorMenuBtn.animated span:before {
    transition: background-color 0.2s, transform 0.4s, bottom 0.4s, top 0.4s;
  }

  .anchorMenuBtn span:before {
    bottom: 10px;
  }

  .anchorMenuBtn span:after {
    top: 10px;
  }

  .anchorMenuBtn.active {
    z-index: 200;
  }

  .anchorMenuBtn.active span {
    background-color: rgba(255, 255, 255, 0);
  }

  .anchorMenuBtn.active span::before {
    bottom: 0;
    transform: rotate(45deg);
  }

  .anchorMenuBtn.active span::after {
    top: 0;
    transform: rotate(-45deg);
  }
}

@media screen and (min-width: 897px) {
  .anchorMenu ul li a {
    transition: background-color 0.2s;
  }

  .anchorMenu ul li a:hover {
    background-color: #f6f6f6;
  }

  .anchorMenu ul li:last-of-type a:hover {
    background-color: rgba(230, 0, 18, 0.75);
  }
}

@media screen and (max-width: 560px) {
  .anchorMenu.fixed {
    top: auto;
    bottom: 0;
  }

  .anchorMenu ul {
    width: 100%;
    /*margin: auto auto 0;*/
  }

  .anchorMenu ul li {
    height: calc(60 / 320 * 100vw);
  }

  .anchorMenu ul li a {
    font-size: calc(16 / 320 * 100vw);
  }
}
