﻿@charset "UTF-8";

/*このCSSは「お知らせ」(news)用です*/

/*iframeのスクロールを自動で表示・非表示させるめの記述*/
html {
  overflow-y: auto;
}

body.news-body {
	width: 100%;
}

/*  リンク色はメインのcssを適用する
a{color:#36F;text-decoration:underline;}
a:hover{color:#039;text-decoration:none;}
*/

/* clearfix */
.clearfix:after { content:"."; display:block; clear:both; height:0; visibility:hidden; }
.clearfix { display:inline-block; }

/* for macIE \*/
* html .clearfix { height:1%; }
.clearfix { display:block; }

/*日付*/
.up_ymd {
  font-size: 0.9em;
  color: #004e4e;
  font-weight: bold;
}
/*「重要」*/
.ess_Mark {
  font-size: 0.9em;
  padding:4px 10px;
  font-weight: bold;
  background: #F00;
  color:#fff;
}
/*カテゴリ*/
.catName{
  display:inline-block;
  padding:3px 10px;
  border:1px solid #ccc;
  font-size: 0.9em;
  line-height: 100%;
  margin:0 2px;
  background: #36F;
  color:#fff;
}
/*「new」表示*/
.newMark{
  display:inline-block;
  padding:3px 10px;
  margin-right: 5px;
  font-size: 0.9em;
  line-height: 100%;
  background: #F00;
  color:#fff;
}
/*お知らせ個別タイトル*/
.linkTag,
.news-title {
  font-weight: bold;
}



/*テーブル - セル*/
.news_wrap {
  padding: 0;
  margin: 0;
  width: 99%;
}
.news_panel,
.news_list {  /*テーブルの中の詳細部分*/
  display: table;
  border-collapse: collapse;/*隣接するセルのボーダーを間を空けずに重ねて表示*/
  width: 100%;
}
.news_row {  /*１行区切りブロック*/
  display: table-row;
  width: 100%;
}
.news_row:not(:last-child) { /*最後以外*/
  border-bottom: solid 1px #dedede;
}
.news_th,
.news_td {
  display: block;  /*モバイルはテブルセルにしない*/
  text-align: left;
  vertical-align: top;  /*上揃え*/
  padding: 5px 0.8em;
  width: 100%;
}
.news_th {  /*日付*/
  padding: 5px 0.8em 0;
  white-space: nowrap; /*改行させない*/
}
.news_td {
  padding: 0 0.8em 5px;
}

/*========= 768px以上の場合 =========*/
@media only screen and (min-width: 481px) {
  /*テーブル - セル*/
  .news_wrap {
    margin-right: 1%;
    margin-bottom: 10px;
  }
  .news_th,
  .news_td {
    display: table-cell; /*テーブルセル*/
    padding: 11px 0.6em;
  }
  .news_th {  /*日付*/
    width: 150px;
  }
  .up_ymd {
    font-size: 1em;
  }
}

/***お知らせ一覧関連(news-list.php)***/
.comment {
  display:block;
  padding:3px 0;
  float:left;
  overflow:hidden;
}
.thumbNailWrap {
  display:block;
  width:75px;
  float:left;
  overflow:hidden;
}

/* ページャー*/
.pager .pagination {
  text-align: center;
  font-size: .9em;
}

.pager .pagination li {
  display: inline;
  margin: 0 2px;
  padding: 0;
  display: inline-block;
  background:#108ae2;
  width: 50px;
  height: 50px;
  text-align: center;
  position: relative;
  border-radius: 50px;
}


.pager .pagination li a {
  position: absolute;
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all  0.3s ease;
}

.pager .pagination li a span {
  display:table-cell;
  vertical-align:middle;
}

.pager .pagination li a:hover,
.pager .pagination li a.active {
  color: #000;
  background: #95d3ff;
  border-radius: 50px;
}

@media only screen and (max-width: 767px){
  .pager .pagination li {
    display: none;
  }

  .pager .pagination li.pre,
  .pager .pagination li.next {
    display: inline-block;
    width: 40%;
    height: 40px;
    text-align: center;
  }

  .pager .pagination li.pre a,
  .pager .pagination li.next a {
    width: 100%;
    text-align: center;
  }

}
/* /ページャー */


/***[END]お知らせ一覧関連***/
