@charset "UTF-8";
@import "./style.css";

html{
  font-size: 2.5vw;
}
body{
  font-size: 1.75rem;
}
.pc{display: none;}

.container{
  text-align: center;
  margin: 0 auto;
}

h2 span{
  display: block;
  font-size: 50%;
  color: #14a83b;
  line-height: 1.7;
}

/*******ヘッダー*******/

#top h1{
  text-align: center;
  font-size: 0;
  margin-top: -30px;
}

.top_image > picture > img{
  width: 100%;
  font-size: 0;

}

/*******about*******/
.about{
  background: url('../img/spn_images/about_bg.jpg') top left no-repeat;
  background-size: 100%;
}

.about .txt{
  margin: 20px 20px 60px;
  font-size: 1.7rem;
  line-height: 2;
}

/*******category*******/
.category{
  background: url('../img/spn_images/cat_bg.jpg') top left no-repeat;
  background-size: 100%;
}

.category h2{padding:0 0 20px;}

.category ul{
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.category li{
    display: flex;
    flex-direction: column;
    margin: 0 auto;
 position: relative; 
}

.category li p.catPh {
    margin: 10px 0 5px;
    width: 160px;
    height: 160px;
    background-color: #2d9a47;
    border-radius: 160px;
}

.category li p.catPh img{
  border-radius: 160px;
    width: 160px;
    height: 160px;
    opacity: 0.4;
}


.category li p.catTxt{
  position: absolute;
  bottom: 40%;
    background-color: #fff;
    left: 30%;
    padding: 2px;

}


/*******tag*******/
.tag{
  background: url('../img/spn_images/tag_bg.jpg') no-repeat center top;
  background-size:cover;
  position: relative;
}

.tag::after {
  content: '';
  background-color: rgba(0,0,0,.5);
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 0
}

.tag h2{
  padding:60px 0 40px;
  color: #fff;
  position: relative;
  z-index: 1;
}

.tag h2 span{color: #e5f3e9;}

.tag ul{
  display: flex;
  flex-wrap: wrap;
  padding: 0 0 60px;
  position: relative;
  z-index: 1;
}

.tag li {
    width: 44%;
    padding: 10px 5px 10px 15px;
    display: flex;
    flex-direction: column;
    font-weight: bold;
}

.tag li a{
  background-color: #e5f3e9;
  border-radius: 5px;
  padding: 10px 0;
}
/*******news*******/
.news{
  background-color: #f2f2f2;
  margin: 0 auto 60px;
  text-align: center;
  padding-bottom: 60px;
}

.news h2{padding:60px 0 40px;}

.news ul{margin-bottom: 20px;}

.news li{
    width: 90%;
    padding: 15px 15px;
    margin: 0 auto; 
}

.news li a:hover{text-decoration: none;}

.news li dl{
   background-color: #fff;
  border: #e1e1e1 1px solid; 
}

.news li dl dt img{width: 100%;}

.news li dl dd{
  padding: 10px 10px 30px;
  text-align: left;
}

.news li dl dd .newsData,
.news li dl dd .txt{
  font-size: 86%;
  line-height: 1.6;
}

.news li dl dd h3{
  font-weight: bold;
  padding: 0 0 10px 0;
}


.moreBtn{
  border-radius: 5px;
  border: #a0a0a0 1px solid; 
  padding: 5px 10px;
  font-size: 86%;
}

/*******oshirase*******/
.oshirase{
    width: 90%;
  margin: 0 auto 60px;
}

.oshirase dt{
  font-size: 110%;
  text-align: left;
}

.oshirase ul{margin: 20px 0 30px;}

.oshirase ul li{
 text-align: left;
  margin-bottom: 30px;
}

.oshirase ul li a{
    text-decoration: underline;
    font-weight: bold;
    text-align: left;
    display: inline-block;
    width: 70%;
}

.oshirase ul li span{
    display: inline-block;
    font-size: 86%;
    width: 28%;
    padding-top: 5px;
    vertical-align: top;
}


/*******フッター*******/
footer{
  padding: 4rem 0;
  text-align: center;
}

/*フォントサイズ*/
@media (min-width: 640px) {
  html{
    font-size: 16px;
  }
}


/*******下層ページ*******/
.bor{
    padding: 0 0 7px 0;
    box-shadow: 0 2px 5px rgb(0 0 0 / 30%); 
}

#breadcrumb ul {
    list-style-type: none;
    padding: 15px;
}

#breadcrumb .container {
  text-align: left;
}

#breadcrumb li {
    display: inline-block;
    font-size: 0.975rem;
}

#breadcrumb li:not(:last-child) a {
    border-bottom: solid 2px #C0C0C0;
    padding-bottom: 0.2em;
}

#breadcrumb li:not(:last-child):after {
    content: " >";
}



.top_border{
  border-top: #e1e1e1 1px solid;
}


/*******ListTtl*******/
#ListTtl{
  background: url('../img/pc_images/news_head_bg.jpg') no-repeat center top;
  background-size: 100%;
}

#ListTtl h1{
  color: #fff;
  text-align: right;
  padding: 30px;
  font-size: 120%;
}

/*******ListTtl*******/
.pagination{
  position: relative;
margin: 60px auto;
}

.pagination > span {
    display: inline-block;
    vertical-align: middle;
}

.page-before{
  position: absolute;
  top: 0;
  left: 20px;
}

.page-after{
  position: absolute;
  top: 0;
  right: 20px;
}

.pagination .active{
    width: 30px;
    text-decoration: underline;
}

.pagination .page-inactive{
    width: 30px;
}


/*******kiji*******/
.kiji p.text{
text-align: left;
padding: 0 10px;
line-height: 1.8;
}

.kiji div img{
padding: 30px 0;
width: 96%;
}


.kiji .newsData{
  font-size: 86%;
  line-height: 1.6;
  text-align: left;
  padding: 60px 10px 0;
}

.kiji h3{
  font-weight: bold;
  padding: 0 0 10px 10px;
  text-align: left;
  font-size: 150%;
}
