@charset "utf-8";
/* megamenu */
nav#gnav {
  position: absolute;
  width: 100%;
  margin: 0 auto;
  z-index: 10000;
}
nav#gnav #megamenu {
  position: relative;
}



nav#gnav #megamenu #portalLogo {
  position: relative;
  width: 26px;
  height: 26px;
  float: left;
  margin: 5px 20px 0 15px;
  cursor: pointer;
}
/*nav#gnav #megamenu #portalLogo:after {
  content: "";
  position: absolute;
    top: 17px;
    left: 60px;
  height: 10px;
  border-right: 1px solid #dedede;
}*/
nav#gnav #megamenu #portalLogo img {
  width: 26px;
  height: 26px;
  margin-top: 12px;
  background-color: #ffffff;
}



nav#gnav #megamenu .panel-wrap {
  display: none;
  position: absolute;
    top: 60px;
    left: 0;
  z-index: 10000;
  float: left;
  margin: 0;
  padding: 5px;
  background-color: rgba(255, 255, 255, 0.96);
  -o-border-radius: 6px;
  -ms-border-radius: 6px;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
  border-radius: 6px;
  box-shadow: 0 1px 5px 0 rgba(0, 0, 0, .2);
}
.panel-wrap a {
  font-size: 13px;
  text-decoration: none;
}

nav#gnav #megamenu .panel-wrap .boxTop {
  width: 327px;
  margin-top: 5px;
  text-align: center;
}
nav#gnav #megamenu .panel-wrap .boxTop a {
  padding: 3px 20px;
  border: 1px #e58a8a solid;
  color: #e65c5c;
  text-align: center;
  font-size: 10px;
}
nav#gnav #megamenu .panel-wrap .boxTop a:hover,
nav#gnav #megamenu .panel-wrap .boxTop a:active,
nav#gnav #megamenu .panel-wrap .boxTop a:focus {
  background-color: #e58a8a;
  color: #ffffff;
}

/*nav#gnav #megamenu .panel-wrap .genre {
  width: 327px;
  text-align: center;
}
nav#gnav #megamenu .panel-wrap .genre img {
  width: 220px;
  height: 36px;
}*/

nav#gnav #megamenu .panel-wrap .boxOne {
  width: 327px;
  /*height: 165px;*/
  margin-top: 21px;
  position: relative;
    top: -1px;
  margin-bottom: 30px;
}
nav#gnav #megamenu .panel-wrap .boxOne .serviceImage {
  width: 327px;
  margin: 0;
  margin-top: 10px;
  padding: 0;
}
nav#gnav #megamenu .panel-wrap .boxOne li:nth-child(1) {
  width: 108px;
  margin-top: 16px;
  text-align: center;
  display: inline-block;
  vertical-align: top;
}
nav#gnav #megamenu .panel-wrap .boxOne li:nth-child(2) {
  width: 186px;
  height: 68px;
  display: inline-block;
}
nav#gnav #megamenu .panel-wrap .boxOne p {
  font-size: 12px;
  color: #888888;
  margin-top: 8px;
  line-height: 1.4;
}

a .serviceImage:hover,
a .serviceImage:active, 
a .serviceImage:focus {
  background-color: #ffa3a3;
  transition-duration: all 0.3s;
  -webkit-transition: all 0.3s;
}
a .serviceImage:hover > li p,
a .serviceImage:active > li p, 
a .serviceImage:focus > li p {
  color: #ffffff !important;
}





/* media query device-SP */
@media screen and (max-width: 668px) {
/*  nav#gnav {
    display: none !important;
  }*/
  nav#gnav #megamenu .panel-wrap {
    position: absolute;
      top: 55px;
    width: 98%;
  }
  nav#gnav #megamenu .panel-wrap .boxTop,
  nav#gnav #megamenu .panel-wrap .boxOne {
    width: 100%;
  }
  nav#gnav #megamenu .panel-wrap .boxOne {
    margin-top: 12px;
    margin-bottom: 14px;
  }
  nav#gnav #megamenu .panel-wrap .boxOne .serviceImage {
    margin: 0 auto;
  }
}
