@charset "utf-8";

#main{
  padding-top:52px;
  background:url(../images/home/bg1.png) center top repeat-x;
}
#main .inner{
  width:1000px;
  margin:0px auto 0px;
}
#main h2{
  margin:0 auto 65px;
  font-size:28px;
  font-weight:600;
  color:#008e43;
  text-align:center;
}
@media screen and (max-width:640px){
  #main .inner{
    width:600px;
  }
}

/* お知らせ */
#news{
  padding-top:40px;
}
#news .news-box{
  width:938px;
  width:750px;
  margin:0 auto 60px;
  padding:20px 40px 90px 20px;
  border:1px solid #7fbe26;
  background-color:#fff;
  background-image:url(../images/home/news_bg_lb.png),url(../images/home/news_bg_rt.png);
  background-repeat:no-repeat,no-repeat;
  background-position:left bottom,right top;
}
#news .news-box .news-detail{
  width:750px;
  margin:auto;
  padding:5px 0;
}
#news .news-box .news-detail ul{padding:10px 0;border-bottom:1px dotted #000;}
#news .news-box .news-detail ul:first-child{padding-top:0;}
#news .news-box .news-detail ul:last-child{border-bottom:none;padding-bottom:0;}
#news .news-box .news-detail ul li{font-size:18px;line-height:1.4;}
#news .news-box .news-detail ul li.date{float:left;width:150px;}
#news .news-box .news-detail ul li.text{float:left;width:570px;}
#news .news-box .news-detail ul li.text a{color:#008e43;}
#news .news-box .news-detail ul li.text a:hover{text-decoration:underline;}

@media screen and (max-width:640px){
  #news .news-box{
    width:560px;
    margin:0 auto 10px;
    padding:20px 0 40px;
    border:1px solid #7fbe26;
    background:#fff;
  }
  #news .news-box .news-detail{width:520px;}
  #news .news-box .news-detail ul{border:none;margin-top:5px;}
  #news .news-box .news-detail ul li{display:inline;font-size:22px;margin-left:-0.25em;}
  #news .news-box .news-detail ul li.date,
  #news .news-box .news-detail ul li.text{float:none;width:initial;}
  #news .news-box .news-detail ul li.text a:hover{text-decoration:none;}
}

/* pagination */
#news .news-box .pagination{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:flex-start;
  width:100%;
  margin:70px auto 0;
  text-align:center;
}
#news .news-box .pagination .pages{display:none;}
#news .news-box .pagination a,
#news .news-box .pagination span.current{
  display:inline-block;
  width:32px;
  height:32px;
  margin:0 4px 10px;
  font-size:16px;
  color:#7fbe26;
  line-height:32px;
  text-align:center;
  background-color:#fff;
  border-radius:3px;
  border:1px solid #7fbe26;
  transition:background-color 300ms;
}
#news .news-box .pagination .previouspostslink,
#news .news-box .pagination .nextpostslink{}
#news .news-box .pagination .previouspostslink{padding-left:0;}
#news .news-box .pagination .nextpostslink{padding-right:0;}
#news .news-box .pagination a.page{}
#news .news-box .pagination a:hover,
#news .news-box .pagination span.current{
  color:#fff;
  background-color:#7fbe26;
}
@media screen and (max-width:640px){
  #news .news-box .pagination a,
  #news .news-box .pagination span.current{
    width:36px;
    height:36px;
    margin:0 6px 20px;
    font-size:22px;
    line-height:36px;
    transition:none;
  }
  #news .news-box .pagination .previouspostslink,
  #news .news-box .pagination .nextpostslink{}
  #news .news-box .pagination a:hover{
    color:#7fbe26;
    background-color:#fff;
  }
}

/* back button */
#news .news-box .back{
  text-align:center;
}
#news .news-box .back a{
  padding:8px 40px;
  color:#008e43;
  background-color:#fff;
  border:1px solid #7fbe26;
  border-radius:3px;
  transition:background-color 300ms;
}
#news .news-box .back a:hover{
  background-color:#ecf4d9;
}
@media screen and (max-width:640px){
  #news .news-box .back a{padding:8px 50px;}
  #news .news-box .back a{transition:none;}
  #news .news-box .back a:hover{
    color:#008e43;
    background-color:#fff;
  }
}

/* single page */
#news.single .news-box{
  width:938px;
}
#news.single .news-box .news-detail{
  width:900px;
}
#news.single .news-box .block-single-dtl{
  margin-bottom:0px;
}
#news.single .news-box .block-single-dtl .date{
  margin-bottom:5px;
  font-size:14px;
  text-align:right;
}

#news.single .news-box .block-single-dtl .h3lw{
  margin-bottom:40px;
  font-size:21px;
  color:#008e43;
  line-height:1.5;
}
#news.single .news-box .block-single-dtl .detail{
  margin-bottom:70px;
  font-size:18px;
}
#news.single .news-box .block-single-dtl .editor-area{}
@media screen and (max-width:640px){
  #news.single  .news-box{
    width:560px;
    padding:20px 0px 40px;
  }
  #news.single  .news-box .news-detail{width:520px;}
  #news.single .news-box .block-single-dtl .date{font-size:18px;}
  #news.single .news-box .block-single-dtl .h3lw{font-size:24px;}
  #news.single .news-box .block-single-dtl .detail{font-size:22px;}
  #news.single .news-box .block-single-dtl .editor-area{}
}
