#pagenation{
  display: block !important;
  max-width: 1000px;
  margin: auto;
  position: relative;
  top: -40px;
  text-align: right;
}
#pagenation a{
  display: inline-block;
  width: 50px;
  height: 10px;
  margin: 0 3px;
  background-color: #CCC;
}
#pagenation a.selected{
  background-color: #0092d5;
}
#pagenation a span{
  display: none;
}













@media screen and (max-width: 700px){
  #topslide{
    padding: 20px;
  }
  #topslide .carousel,
  #topslide .carousel_wrapper{
    height: auto !important;
  }
  .profile_wrapper{
    height: 520px !important;
  }
  .profile_inner{
    position: relative;
    margin: 30px auto 0;
  }
/*
  .profile_inner .text *{
    display: none;
  }
  .profile_inner .text *:nth-child(1){
    display: block;
  }
*/
  .profile_inner .text p,
  .profile_inner .text h3,
  .profile_inner .text h2,
  .profile_inner .text h1{
    line-height: 1.5;
    margin: 0 20px 10px;
    font-size: 12px !important;
    text-align: left;
  }
  .profile_inner .text p span{
    font-size: 12px !important;
  }
  .profile_inner .text p + p{
    display: none;
  }
  .profile_inner .img,
  .profile_inner .text,
  .profile_inner .img .bg{
    position: relative;
    width: 100%;
    margin: auto;
    z-index: 101;
    text-align: center;
    color: #FFF;
    line-height: 1.0;
    display: block;
  }

  .profile_inner .img .bg p.name{
    font-size: 20px;
    margin: 0 0 5px;
    line-height: 1;
  }
  .profile_inner .img .bg p.title{
    font-size: 12px;
    margin: 0 0 15px;
  }
  .profile_inner .img img{
    position: relative;
    display: block;
    width: 160px;
    min-height: 130px;
    margin: auto auto 20px;
    z-index: 100;
  }
  .profile_inner .img .logo{
    display: none;
  }
  .profile_inner .text .btn a.carouprev,
  .profile_inner .text .btn a.carounext{
    position: absolute;
    top: -155px;
    left: 20px;
    background-color: transparent;
    border: 1px solid #FFF;
    color: #FFF;
    padding: 5px 10px;
  }
  .profile_inner .text .btn a.carounext{
    left: auto;
    right: 20px;
  }


  .profile_inner .img:before{
    display: block;
    content: " ";
    width: 100%;
    height: calc(100% + 50px);
    position: absolute;
    top: 50px;
    left: 0px;
    background-color: #4e891d;
    padding-bottom: 200px;
    z-index: 99;
  }
  .profile_wrapper.right .profile_inner .img:before{
    background-color: #006fa2;
  }
  #pagenation{
    top: 0px;
    text-align: center;
    margin: 0 0 20px;
  }
}







@media screen and (min-width: 701px){
  #topslide h2.head{
  	max-width: 1200px;
  	margin: 50px auto;
  }

  /*----------------------------------------------------------------------------PROFILE部分*/
  .profile_wrapper{
  	height: 550px;
  }

  .profile_inner{
    position: relative;
    max-width: 1200px;
    margin: 30px auto 0;
  }
  .profile_inner .text{
    position: absolute;
    right: 0px;
    top: 20px;
    width: 70%;
    min-height: 380px;
    padding: 40px 50px 40px 15%;
    background-color: #78b842;
    color: #FFF;
    z-index: 102;
    opacity: 0;
  }
  .profile_inner .text h2,
  .profile_inner .text h3,
  .profile_inner .text h4{
    font-weight: normal;
    margin-bottom: 20px;
  }
  .profile_inner .text p{
    font-size: 0.9em;
    line-height: 2.0;
    margin-bottom: 20px;
  }
  .profile_inner .text p a{
    color: #FFF;
    text-decoration: underline;
  }
  .profile_inner .btn{
    text-align: left;
  }
  .profile_inner .btn a{
    padding: 5px 8px;
    line-height: 1.0;
    margin-right: 2px;
    background-color: transparent;
    color: #FFF;
    border-color: #FFF;
  }
  .profile_inner .btn a:hover{
    background-color: #FFF;
    color: #666;
    border-color: #FFF;
  }
  .profile_inner .img{
    position: absolute;
    left: 0px;
    top: 60px;
    width: 40%;
    opacity: 0;
    overflow: hidden;
  }
  .profile_inner .img:before{
    display: block;
    content: "";
    padding-top: 85%;
  }
  .profile_inner .img img{
    position: absolute;
    bottom: 0;
    top: 0;
    display: block;
    width: 100%;
    height: auto;

  }
  .profile_wrapper.right .profile_inner .text{
    top: 60px;
    left: 0;
    right: auto;
    padding: 40px 15% 40px 40px;
    background-color: #0092d5;
  }
  .profile_wrapper.right .profile_inner .img{
    top: 0px;
    right: 0;
    left: auto;
  }
  .profile_inner .img .bg{
    position: absolute;
    left: 0px;
    bottom: 0px;
    width: 100%;
    height: 80px;
    padding: 10px;
    color: #FFF;
  }


  .profile_inner .img .bg:before{
    position: absolute;
    content: " ";
    left: 0px;
    bottom: 0px;
    width: 100%;
    height: 80px;
    background-color: #4e891d;
    opacity: 0.8;
    z-index: 111;
  }

  .profile_wrapper.right .profile_inner .img .bg:before{
    background-color: #006fa2;
  }



  .profile_inner .img .bg img.logo{
    position: relative;
    float: left;
    width: auto;
    max-width: 40%;
    max-height: 60px;
    border-right: 0px solid #FFF;
    margin: 0 20px 0 0;
    z-index: 112;
  }
  .profile_inner .img .bg p.name{
    position: relative;
    font-size: 1.4em;
    line-height: 1.2;
    z-index: 112;
    padding-top: 5px;
    margin-bottom: 0px;
  }
  .profile_inner .img .bg p.title{
    position: relative;
    font-size: 12px;
    z-index: 112;
    overflow-y: hidden;
    line-height: 1.2;
  }




.profile_wrapper.selected .profile_inner .img{
  animation: prof_img 0.8s ease-out 0.5s 1 normal forwards;
}
@keyframes prof_img {
  0% {
    transform-origin: 328.465px 48px 0px;
    transform: translate3d(-120px, -50px, 0px) rotateZ(0deg) rotateY(-90.8006deg) rotateX(0deg);
    animation-timing-function: ease-out;
    opacity: 0;
  }
  100% {
    transform: translate3d(0px, 0px, 0px) rotateZ(0deg) rotateY(0deg) rotateX(0deg);
    animation-timing-function: ease-out;
    opacity: 1;
    z-index: 103;
  }


}


.profile_wrapper.selected .profile_inner .text{
  animation: prof_txt 0.8s ease-out 0s 1 normal forwards;
}
@keyframes prof_txt {
  0% {
    opacity: 0;
    right: -50px;
  }
  100% {
    opacity: 1;
  }
}

.profile_wrapper.right.selected .profile_inner .img{
  animation: prof_img_right 0.8s ease-out 0.5s 1 normal forwards;
}
@keyframes prof_img_right {

  0% {
    transform-origin: -300px 48px 0px;
    transform: translate3d(200px, -50px, 0px) rotateZ(0deg) rotateY(100deg) rotateX(0deg);
    animation-timing-function: ease-out;
    opacity: 0;
  }
  100% {
    transform: translate3d(0px, 0px, 0px) rotateZ(0deg) rotateY(0deg) rotateX(0deg);
    animation-timing-function: ease-out;
    opacity: 1;
    z-index: 103;
  }
}
.profile_wrapper.right.selected .profile_inner .text{
  animation: prof_txt_right 0.8s ease-out 0s 1 normal forwards;
}
@keyframes prof_txt_right {
  0% {
    opacity: 0;
    left: -50px;
  }
  100% {
    opacity: 1;
  }
}




}



