@charset "utf-8";
/*------------------------------------------------
    News
------------------------------------------------*/

/*========== Pager style ==========*/

.pager{
  text-align:right;
  padding:10px;
  clear:both;
}
/*ページャーボタン*/
.pager a{
  border: 1px solid #999;
  border-radius: 5px 5px 5px 5px;
  color: #333;
  font-size: 12px;
  padding: 3px 7px 2px;
  text-decoration: none;
  margin:0 1px;
}

/*現在のページのボタン*/
.pager a.current{
  background: #999;
  border: 1px solid #999;
  border-radius: 5px 5px 5px 5px;
  color: #fff;
  font-size: 12px;
  padding: 3px 7px 2px;
  margin:0 1px;
  text-decoration: none;
}

.pager a:hover{
  background:#999;
  color: #fff;
}

.overPagerPattern{
  padding:0 2px ;
}


/*========== News ==========*/

.news {
  padding:0 15px;
}

.news-inner {
  width: 100%;
  max-width: 1200px;
  /* height: 250px;
  overflow-y: auto; */
}

.news-title {
  text-align: center;
  margin-bottom: 15px;
}

.news-list {
  width: 100%;
}
.news-item {
  width: 100%;
  border-bottom: 1px solid #ccc;
  padding: 15px;
}
.news-date {
  color: #666;
  display: inline-block;
  /* width: 100%; */
  font-size: 1.3rem;
  /* margin-right: 15px; */
}
.news-type {
  color: rgba(255, 255, 255, 1);
  background-color:#5e93eb;
  padding: 4px 15px;
  line-height: 1;
  display: inline-block;
  border-radius: 2px;
  margin-right: 15px;
}
.news-content {
  width: 100%;
  font-weight: 500;
  margin-top: 15px;
}
.news-pic {
  width: 80%;
  margin: 15px auto;
}
.news-pic > img{
  width: 100%;
}

.news-link {
  text-align: right;
}
.news-link a::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 4px;
  border: 4px solid transparent;
  border-left: 7px solid #333;
}

.news-detail-title {
  font-size: 2rem;
  margin: 15px 0;
  padding: 15px 0;
  border-bottom: 1px solid #5e93eb;
}

.detailUpfile img {
  width: 100%;
  max-width: 600px;
}

.news-detail-contents .detailText a,
.news-detail-contents .detailUpfile > a {
    color: #5e93eb;
    border-bottom: 1px dotted #5e93eb;
    padding-bottom: 2px;
}

@media print, screen and (min-width: 600px) {
  .news-item {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
  }
  .news-date {
    /* width: 80px; */
    width: 120px;
    font-size: 1.4rem;
  }
  .news-type {
    width: 145px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .news-content {
    /* width: calc(100% - 260px); */
    width: calc(100% - 290px);
    font-size: 1.4rem;
    margin-top: 0;
  }
  .news-pic {
    width: 80%;
    margin: 15px 0;
  }
}

@media print, screen and (min-width: 769px) {
  .news-inner {
    /* width: 800px; */
    /* height: 220px; */
    margin: auto;
    padding: 0;
  }
  .news-date {
    width: 145px;
    font-size: 1.6rem;
  }
  .news-content {
    width: calc(100% - 320px);
    font-size: 1.6rem;
  }
  .news-pic {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }
  .news-pic > img {
    width: 300px;
    margin: auto;
  }
}

/* 戻るボタン */
.back-button {
  color: #666;
  margin-top: 15px;
  font-size: 1.1rem;
}


@media print, screen and (min-width: 960px) {

  .news-inner {
    margin: 0 auto 70px;
  }

  .news-detail-title {
    font-size: 2.4rem;
    margin: 30px 0;
    padding: 30px 0;
  }
  .news-detail-date {
    font-size: 1.4rem;
  }
  .news-detail-contents {
    margin: 25px 0;
    line-height: 2;
  }

  /* 戻るボタン */
  .back-button {
    margin-top: 15px;
    font-size: 1.2rem;
  }

}
