@charset "utf-8";
/* CSS Document */

.bg{
  position: absolute;
  top: 30px;
  right:350px;
  bottom:30px;
  left: 30px;
  background:url(../images/link/bg.jpg) center;
  -webkit-background-size: cover;
  background-size: cover;
}

.content{
  position: absolute;
  top: 60px;
  right: 30px;
  bottom: 30px;
  width: 320px;
}

.title{
  margin-left: -100px;
  background: #FFF;
}
h2{
  text-align: right;
}

.list li{
  font-size: 0.75em;
  line-height: 38px;
  border-bottom: #CCC solid 2px;
}
.list a{color: #666;}
.list a:hover{color:#000;}

.scrollContent{
  position: absolute;
  top: 85px;
  left: 30px;
  right: 10px;
  bottom: 30px;
}

.mCSB_scrollTools{opacity: 1;}
.mCSB_scrollTools .mCSB_buttonDown,.mCSB_scrollTools .mCSB_buttonUp{
  position: absolute;
  bottom: -30px;
  width: 20px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  opacity: 1;
  background: none;
}
.mCSB_scrollTools .mCSB_buttonUp:hover, .mCSB_scrollTools .mCSB_buttonDown:hover{
  opacity: 1;
}
.mCSB_buttonDown{ right: 26px;}
.mCSB_buttonUp{ right: 50px;}

.mCSB_buttonDown::before{
  content: '';
  border-top: #999 7px solid;
  border-left:transparent 7px solid;
  border-right:transparent 7px solid;
  display: inline-block;
}
.mCSB_buttonUp::before{
  content: '';
  border-bottom: #999 7px solid;
  border-left:transparent 7px solid;
  border-right:transparent 7px solid;
  display: inline-block;
}
.mCSB_buttonDown:hover::before{
  border-top-color: #E83E29;
}
.mCSB_buttonUp:hover::before{
  border-bottom-color: #E83E29;
}

.mCSB_draggerContainer{visibility: hidden;}

@media screen and (max-width:1100px),screen and (max-height:660px){
  .bg{
    position:relative;
    top:auto;
    left:auto;
    right:auto;
    bottom: auto;
    padding-bottom:300px;
  }
  
  .title{
    position: absolute;
    top: 300px;
    left: 50%;
    background: #FFF;
    width: 180px;
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    margin: 0;
  }
  h2{
    text-align: left;
  }
  .content{
    position: static;    
    overflow: hidden;
    width: auto;
    min-height: calc(100vh - 340px);
  }

  .scrollContent{
    position: static;
    top:auto;
    right:auto;
    bottom: auto;
    left:auto;
    margin: 100px 30px;
  }
  
  .list li{
    border-bottom-color: #EEE;
  }
}

@media screen and (max-width:640px){
  .scrollContent{
    margin: 60px 10px;
  }
}