@charset "utf-8";



.newspage h1{
  margin-top: 110px; 
  height: 160px;
  text-indent: -9999px;
  background: url(../img/news_title.png) no-repeat center center;
  background-size: 365.5px;
}

.newspage .contents{
  max-width: 800px;
  padding: 0px 10px 40px;
  margin: 0 auto;
}

.newspage .newsbox{
  background: url(../img/box_pat.png) repeat center top;
  background-size: 43.5px ;
  border: 3px solid #201c59;
  border-radius: 10px;
  position: relative;
  padding: 20px;
}

.newspage .newsbox:before,
.newspage .newsbox:after{
  content: "";
  display: block;
  position: absolute;
  z-index: 1;
  width: auto;
  height: 40px;
  left: -2px;
  right: -2px;
}
.newspage .newsbox:before {
  background: url(../img/part_lt.png) no-repeat left top,url(../img/part_rt.png) no-repeat right top;
  background-size: 40px,40px;
  top: -2px;
}
.newspage .newsbox:after {
    bottom: -2px;
    background: url(../img/part_lb.png) no-repeat left bottom,url(../img/part_rb.png) no-repeat right bottom;
    background-size: 40px,40px;
}


.newspage .body{
  max-width: 600px;
  margin: 0 auto;
  color: #201c59;
  padding: 0px 0 30px;
  background: url(../img/line.png) no-repeat center bottom;
  background-size: 100%;
}

.newspage .body:last-child{
  background: none;
}

.newspage .body img{
  max-width: 100%;
  width: 100%;
  height: auto;
}

.newspage .body h2{
  font-size: 24px;
  text-align: center;
  padding: 30px 0;
  vertical-align: middle; 
}

.newspage .body h2 span{
  display: inline-block;
  line-height: 1.6em;
  vertical-align: top;
  padding: 0 90px;
  background: url(../img/line_titile_l.png) no-repeat left center, url(../img/line_titile_r.png) no-repeat right center;
  background-size: 78.5px,78.5px;
}

.newspage .body .leadtext{
  text-align: center;
  padding-bottom: 30px;
  font-size: 18px;
  line-height: 1.4em;
  font-weight: bold;
}

.newspage .body .text{
  padding: 10px 0;
  font-size: 14px;
  line-height: 1.8em;
}

.newspage .body .text h3,
.newspage .body .text h4{
  padding-top: 1.8em;
}
.newspage .body .text p.line1{
  padding-top: 1em;
}
.newspage .body header{
  padding-bottom: 10px;
}
.newspage .body section{
  padding: 50px 0 10px;
  background: url(../img/line.png) no-repeat center top;
  background-size: 100%;
}

.page-top{
  max-width: 72px;
  position: absolute;
  right: -30px;
  bottom: -20px;
  -webkit-animation: btanim 3s linear 0s infinite alternate;
  animation: btanim 3s linear 0s infinite alternate;
}
@keyframes btanim{
  0%{ transform: translateY(0px);}
  50%{ transform: translateY(5px);}
  100%{ transform: translateY(0px);}
}
@-webkit-keyframes btanim{
  0%{ -webkit-transform: translateY(0px);}
  50%{ -webkit-transform: translateY(5px);}
  100%{ -webkit-transform: translateY(0px);}
}

.page-top a{
  display: block;
}
.page-top a img{
  width: 100%;
  height: auto;
}


@media (max-width:768px){
  .newspage h1{
    margin-top: 60px;
  }
}

@media (max-width:640px){
  .newspage .body h2{
    font-size: 18px;
  }
.newspage .body h2 span{
    background-size: 60px,60px;
    padding: 0 70px;
  }
  .newspage .body .text{
    font-size: 12px;
  }
  .newspage .body section{
    padding: 40px 0 10px;
  }
  .page-top{
    max-width: 42px;
    position: absolute;
    right: -5px;
    bottom: -25px;
    z-index: 10;
  }
}
@media (max-width:480px){
  .newspage h1{
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 50px;
  }
  .newspage .newsbox{
    border-width: 2px;
    padding: 10px;
    background-size: 30px;
  }
  .newspage .body{
    padding: 10px 0 30px;
  }
  .newspage .body h2{
    padding: 10px 0;
    font-size: 14px;
  }
  .newspage .body .leadtext{
    font-size: 12px;
    padding-bottom: 20px;
  }
  .newspage .body h2 span{
    background-size: 50px,50px;
    padding: 0 50px;
    display: block;
  }
}

