/* ------------------------------
   MEDIAQUERIES[SP]LAYOUT
------------------------------ */
.menuList ul {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  height: 110px;
}
.menuList ul li {
  height: 100%;
}
.menuList ul li a {
  display: block;
  font-size: 16px;
  font-weight: bold;
  color: #ffffff;
  text-align: center;
  line-height: 1;
  width: 100%;
  height: 100%;
  margin-bottom: 10px;
  padding: 40px 20px;
}
.menuList ul li a.current,
.menuList ul li a:hover {
  margin-bottom: 0;
  border-bottom: 10px solid #1f9596;
}

@media only screen and (max-width: 991px) {
  .menuList {
    display: none;
  }
  #menuOverlay {
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: none;
    position: fixed;
    z-index: 9997;
  }
  #switchBtnArea {
    position: fixed;
    width: 100%;
    background: #ffffff;
    z-index: 9998;
  }
  #switchBtnArea #switchBtn {
    top: 16px;
    right: 10px;
    width: 40px;
    height: 40px;
    display: block;
    background: #1f9596;
    position: absolute;
    border: 2px solid #ffffff;
    border-radius: 5px;
  }
  #switchBtnArea #switchBtn span {
    right: 20%;
    width: 60%;
    height: 4px;
    display: block;
    position: absolute;
    background-color: #ffffff;
    border-radius: 5px;
    transition: all 0.2s linear;
  }
  #switchBtnArea #switchBtn span:nth-of-type(1) {
    top: 8px;
    -webkit-transform: rotate(0);
    transform: rotate(0);
  }
  #switchBtnArea #switchBtn span:nth-of-type(2) {
    top: 16px;
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  #switchBtnArea #switchBtn span:nth-of-type(3) {
    bottom: 8px;
    -webkit-transform: rotate(0);
    transform: rotate(0);
  }
  #switchBtnArea #switchBtn.btnClose {
    background: transparent;
  }
  #switchBtnArea #switchBtn.btnClose span:nth-of-type(1) {
    top: 16px;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }
  #switchBtnArea #switchBtn.btnClose span:nth-of-type(2) {
    -webkit-transform: scale(0);
    transform: scale(0);
  }
  #switchBtnArea #switchBtn.btnClose span:nth-of-type(3) {
    bottom: 16px;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  #rwdMenuWrap {
    top: 0;
    right: -200px;
    width: 200px;
    height: 100%;
    background: #1f9596;
    overflow: auto;
    position: fixed;
    z-index: 9999;
  }
  #rwdMenuWrap ul {
    width: 100%;
  }
  #rwdMenuWrap ul li {
    width: 100%;
    border-bottom: #cccccc 1px solid;
  }
  #rwdMenuWrap ul li a {
    font-size: 12px;
    color: #333333;
    padding: 15px;
    text-align: left;
    display: block;
    background: #ffffff;
    position: relative;
  }
  #rwdMenuWrap ul li a:hover {
    background: #f5f5f5;
  }
  #rwdMenuWrap ul li a:after {
    content: "";
    margin-top: -4px;
    top: 50%;
    right: 15px;
    width: 8px;
    height: 8px;
    color: #333333;
    font-size: 1em;
    font-weight: bold;
    line-height: 1.2em;
    display: block;
    position: absolute;
    border-top: 2px solid #1f9596;
    border-right: 2px solid #1f9596;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  #contents {
    width: 100%;
  }
  #contents p {
    padding: 0 20px 2em 20px;
  }
}

/* ------------------------------
   CLEARFIX ELEMENTS
------------------------------ */
.menuList > ul:before,
.menuList > ul:after {
  content: " ";
  display: table;
}
.menuList > ul:after {
  clear: both;
}
.menuList > ul {
  *zoom: 1;
}
