@charset "UTF-8";

/* BiNDサイトCSS上書き */
.motion-f .menu-motion ul > li > ul {
  z-index: 79;
}

/* ===========================================================
ds global navigation

【注意】各コンテンツに影響を与えないよう
　　　　全て必ず #dsGlobal 以下でstyle指定する
=========================================================== */

/* -------------------------------------------------------- */
/* 全体 */

#dsGlobal,
#dsGlobal *,
#dsGlobal *:before,
#dsGlobal *:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

#dsGlobal {
  position: relative;
  width: 100%;
  height: 40px;
  z-index: 80;
  margin: 0;
  background-color: #000;
  box-shadow: inset 0 -1px 1px rgba(0,0,0,.2);
  font-size: 12px;
  text-align: left;
}
#dsGlobal ul,
#dsGlobal li {
  display: block;
  margin:0;
  padding:0;
  list-style:none;
}
#dsGlobal p {
  margin: 0;
  padding: 0;
}
#dsGlobal a {
  margin: 0;
  padding: 0;
  background-color: transparent;
  outline: none;
  border: none;
  text-decoration:none;
}
#dsGlobal a:hover,
#dsGlobal a:active {
  text-decoration: none;
  opacity: 1;
}
#dsGlobal img {
  margin: 0;
  padding: 0;
  line-height: 0;
  vertical-align: middle;
}

@media (min-width: 940px) {
  #dsGlobal {
    /*position: absolute;*/
    /*top: 0;*/
    background-color: #ececec;
  }
}

/* -------------------------------------------------------- */
/* ロゴ */

#dsGlobal #dsLogo {
  overflow: hidden;
  margin: 0;
  padding: 0;
  height: 40px;
  line-height: 40px;
}
#dsGlobal #dsLogo img {
  margin-right: 16px;
  vertical-align: top;
  line-height: 40px;
  border: none;
}
#dsGlobal #dsLogo strong {
  display: none;
}
#dsGlobal #dsLogo a {
  display: block;
  height: 40px;
  line-height: 40px;
  color: #000;
  font-weight: normal;
}

@media (min-width: 940px) {
  #dsGlobal #dsLogo {
    float: left;
  }
  #dsGlobal #dsLogo strong {
    display: inline;
    margin: 0;
    font-family: 'FOT-ニューロダン Pro DB', sans-serif !important;
    font-weight: normal !important;
    letter-spacing: .1em;
    font-size: 12px;
  }
}

/* -------------------------------------------------------- */
/* グローバルナビ */

#dsNav {
  display: none;
}

@media (min-width: 940px) {
  #dsGlobal #dsNav {
    display: block;
    float: right;
    margin: 0;
    padding: 0;
    z-index: 80;
  }
  #dsGlobal #dsNav a {
    display: block;
    color: #666;
    transition: background .2s linear, padding .2s linear;
    font-size: 11px;
  }

  /* 第一階層 */
  #dsGlobal #dsNav > ul > li {
    position: relative;
    z-index: 81;
    float: left;
    /*font-size: 11px !important;*/
    color: #666;
    font-family: 'FOT-ニューロダン Pro DB', sans-serif !important;
    font-weight: normal !important;
    white-space: nowrap;
  }
  #dsGlobal #dsNav > ul > li > a {
    display: block;
    padding: 0 12px;
    line-height: 40px;
    cursor: pointer;
  }
  #dsGlobal #dsNav > ul > li > a > span {
    cursor: pointer;
  }
  #dsGlobal #dsNav > ul > li:not(.btnSNS) > a:hover {
    color: #333;
  }
  #dsGlobal #dsNav > ul > li:not(.btnSNS) > a.dsNavCurrent {
    color: #333;
    background-color: #fff;
    box-shadow: 1px 0 1px rgba(0,0,0,.2), -1px 0 1px rgba(0,0,0,.2);
  }
  #dsGlobal #dsNav > ul > li#dsProducts > a:first-child:before,
  #dsGlobal #dsNav > ul > li#dsSupport > a:first-child:before,
  #dsGlobal #dsNav > ul > li#dsStore > a:first-child:before {
    content: "";
    display: block;
    float: left;
    width: 20px;
    height: 40px;
    background: url(http://www.digitalstage.jp/common/dsnav/dsicon.png) no-repeat;
  }
  #dsGlobal #dsNav > ul > li#dsProducts > a:first-child:before {
    background-position: -12px 0;
  }
  #dsGlobal #dsNav > ul > li#dsProducts > a:hover:before,
  #dsGlobal #dsNav > ul > li#dsProducts > a.dsNavCurrent:before {
    background-position: -12px -40px;
  }
  #dsGlobal #dsNav > ul > li#dsSupport > a:first-child:before {
    background-position: -52px 0;
  }
  #dsGlobal #dsNav > ul > li#dsSupport > a:hover:before,
  #dsGlobal #dsNav > ul > li#dsSupport > a.dsNavCurrent:before {
    background-position: -52px -40px;
  }
  #dsGlobal #dsNav > ul > li#dsStore > a:first-child:before {
    background-position: -92px 0;
  }
  #dsGlobal #dsNav > ul > li#dsStore > a:hover:before,
  #dsGlobal #dsNav > ul > li#dsStore > a.dsNavCurrent:before {
    background-position: -92px -40px;
  }

  /* 第二階層 */
  #dsGlobal #dsNav > ul > li > ul {
    display: none;
    position: absolute;
    top: 38px;
    left: 50%;
    margin-left: -10em;
    padding: 2em;
    width: 20em;
    background-color: #f0f0f0;
    background-color: rgba(255,255,255,1);
    box-shadow: 0 0 2px 1px rgba(0,0,0,.6);
    border-radius: 2px;
    z-index: 82;
  }
  #dsGlobal #dsNav > ul > li > ul.dsNavActive {
    display: block;
  }
  #dsGlobal #dsNav > ul > li > ul:before {
    content: ""; 
    display: block;
    width: 8px;
    height: 8px;
    background-color: #fff;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    box-shadow: -1px -1px 1px rgba(0,0,0,.6);
    position: absolute;
    top: -4px;
    left: 50%;
  }
  #dsGlobal #dsNav > ul > li > ul > li {
    line-height: 2;
    overflow: hidden;
  }

  #dsGlobal #dsNav > ul > li > ul > li a {
    line-height: 2;
  }

  #dsGlobal #dsNav > ul > li > ul > li a,
  #dsGlobal #dsNav > ul > li > ul > li .noLink {
    padding: 0 .5em;
  }
  #dsGlobal #dsNav > ul > li > ul > li .noLink {
    color: #999;
  }
  #dsGlobal #dsNav > ul > li > ul > li a:hover {
    background-color: rgba(51,102,255,.1);
    border-radius: 1px;
    color: rgba(51,102,255,.8);
  }

  /* 第三階層 */
  #dsGlobal #dsNav > ul > li > ul > li > ul {
    padding-left: 2em;
  }
  #dsGlobal #dsNav > ul > li > ul > li + li {
    margin-top: .5em;
    padding-top: .5em;
    border-top: 1px solid #e0e0e0;
  }

  /* 製品・サービス */
  #dsGlobal #dsNav > ul > li#dsProducts > ul {
    margin-left: -28em;
    width: 56em;
    font-size: 11px;
  }
  #dsGlobal #dsNav > ul > li#dsProducts > ul > li {
    float: left;
    width: 16em;
    font-size: 11px;
  }
  #dsGlobal #dsNav > ul > li#dsProducts > ul > li > a {
    margin-bottom: 4px;
    border-bottom: 1px solid #666;
  }
  #dsGlobal #dsNav > ul > li#dsProducts > ul > li > ul {
    padding-left: 0;
  }
  #dsGlobal #dsNav > ul > li#dsProducts > ul > li + li {
    margin-top: 0;
    margin-left: 2em;
    padding-top: 0;
    border: none;
  }
  #dsGlobal #dsNav > ul > li#dsProducts > ul > li > ul > li + li {
    margin-top: .5em;
    padding-top: .5em;
    border-top: 1px solid #e0e0e0;
  }
  #dsGlobal #dsNav > ul > li#dsProducts > ul > li > ul > li > ul > li > a {
    padding-left: 2em;
  }
  #dsGlobal #dsNav > ul > li#dsProducts > ul > li > ul > li > ul.dsLogin {
    margin-left: 1.5em;
  }
  #dsGlobal #dsNav > ul > li#dsProducts > ul > li > ul > li > ul.dsLogin > li {
    display: inline-block;
  }
  #dsGlobal #dsNav > ul > li#dsProducts > ul > li > ul > li > ul.dsLogin > li > a {
    padding-left: .5em;
    padding-right: .5em;
  }

  /* サポート */
  #dsGlobal #dsNav > ul > li#dsSupport {}

  /* DSストア */
  #dsGlobal #dsNav > ul > li#dsStore {}

  /* SNS */
  #dsGlobal #dsNav .btnSNS a {
    position: relative;
    display: block;
    margin: 4px 0 auto 4px;
    padding: 0;
    width: 32px;
    height: 32px;
    background: #fff url(http://www.digitalstage.jp/common/dsnav/dsicon.png) no-repeat;
    border-radius: 2px;
    color: #666;
    line-height: 32px;
    box-shadow: inset 0 0 2px rgba(0,0,0,.4);
    transition: background-color .2s linear;
  }
  #dsGlobal #dsNav .btnSNS a span {
    display: block;
    overflow: hidden;
    text-indent: -4000px;
  }
  #dsGlobal #dsNav .btnSNS a:hover,
  #dsGlobal #dsNav .btnSNS a:active {
    box-shadow: none;
  }

  #dsGlobal #dsNav .btnFb a {
    background-position: -124px -4px;
  }
  #dsGlobal #dsNav .btnFb a:hover,
  #dsGlobal #dsNav .btnFb a:active {
    background-color: #3b5998;
    background-position: -124px -44px;
  }
  #dsGlobal #dsNav .btnTwt a {
    background-position: -164px -4px;
  }
  #dsGlobal #dsNav .btnTwt a:hover,
  #dsGlobal #dsNav .btnTwt a:active {
    background-color: #00acee;
    background-position: -164px -44px;
  }

  /* シェア */
  #dsGlobal #dsNav .btnShr > a {
    margin-top: 0;
    width: 40px;
    height: 40px;
    background-color: #bdbdbd;
    background-position: -200px 0;
    border-radius: 0;
    cursor: pointer;
  }

  #dsGlobal #dsNav .btnShr {
    z-index: 80;
    position: relative;
  }
  #dsGlobal #dsNav .btnShr > a:hover,
  #dsGlobal #dsNav .btnShr > a:active,
  #dsGlobal #dsNav .btnShr > a.dsNavCurrent  {
    background-color: #000;
    background-position: -200px -40px;
  }
  #dsGlobal #dsNav .btnShr > ul {
    left: auto;
    right: 4px;
    margin-left: 0;
  }
  #dsGlobal #dsNav .btnShr > ul:before {
    left: auto;
    right: 12px;
  }
  #dsGlobal #dsNav .btnShr > ul li {
    width: auto;
    padding: 4px;
    border-top: none;
  }
  #dsGlobal #dsNav .btnShr > ul li a,
  #dsGlobal #dsNav .btnShr > ul li a.dsNavCurrent {
    padding: auto;
    width: auto;
    height: auto;
    background-color: transparent;
    color: #333;
  }
  #dsGlobal #dsNav .btnShr > ul li a:hover,
  #dsGlobal #dsNav .btnShr > ul li a.dsNavCurrent:hover,
  #dsGlobal #dsNav .btnShr > ul li a.dsNavCurrent:active {
    background-color: transparent;
  }
}


/* ===========================================================
ds footer

【注意】各コンテンツに影響を与えないよう
　　　　全て必ず #dsFooter 以下でstyle指定する
=========================================================== */
#dsFooter {
  clear: both;
  width: 100%;
  height: 32px;
  overflow: hidden;
  background-color: #000;
  color: #e0e0e0;
  text-align: center;
  font-family: sans-serif !important;
  font-size: 11px;
}
#dsFooter #dsFootNav {
  display: none;
}
#dsFooter #dsCright {
  clear: none;
  margin: 0;
  padding: 0 1em;
  width: auto;
}
#dsFooter #dsCright small {
  line-height: 32px;
  color: #e0e0e0;
}

@media (min-width: 940px) {
  #dsFooter {
    text-align: left;
  }
  #dsFooter #dsFootNav {
    display: block;
    float: right;
    margin: 0;
    padding: 0 1em;
    width: auto;
    list-style: none;
    text-align: right;
  }
  #dsFooter #dsFootNav li {
    display: inline;
    margin: 0;
    padding: 0 .5em;
    list-style: none;
  }
  #dsFooter #dsFootNav li a {
    margin: 0;
    padding: 0;
    background-color: transparent;
    outline: none;
    border: none;
    line-height: 32px;
    text-decoration: none;
    color: #e0e0e0;
  }
  #dsFooter #dsFootNav li a:hover,
  #dsFooter #dsFootNav li a:active {
    color: #fff;
    border-bottom: 1px solid #999;
    text-decoration: none;
  }
  #dsFooter #dsCright {
    float: left;
  }
}
