/*--------------------------------------------------------------------------------
  Ver.20200729 新FVLNews
--------------------------------------------------------------------------------*/
.pc { display: block; }
@media (max-width: 1024px) { .pc { display: none; } }

/*--------------------------------------------------------------------------------
  util => clear
--------------------------------------------------------------------------------*/
#TMPL-main .clearfix::after { content: ""; display: block; clear: both; height: 0; }
#TMPL-main .both { clear: both; }

/*--------------------------------------------------------------------------------
  設置するサイトによって数値変更する項目
--------------------------------------------------------------------------------*/
/*ページャー、aタグなどの装飾はTMPLcss内にて行うため設定不要*/
/*サイト表示がブラウザの幅に依存しないように*/

#TMPL-main {
  margin: auto;
  margin-bottom: 50px; /*設置するサイトによって数値変更*/
}
/*SP表示*/
@media (max-width: 640px) {
  #TMPL-main {
    width: 100%; /*設置するサイトによって数値変更*/
    margin: auto;
    float: none; /*設置するサイトによって削除*/
  }
}

/*--------------------------------------------------------------------------------
  aタグの扱い
--------------------------------------------------------------------------------*/
/*記事関連*/
#TMPL-main #TMPL-news_detail a,
#TMPL-main #TMPL-news_list a {
  color: #313439;
  text-decoration: none;
  transition: color 0.3s;
}
#TMPL-main #TMPL-news_detail a:hover,
#TMPL-main #TMPL-news_list a:hover {
  color: #737373;
}

#TMPL-main #TMPL-news_list .TMPL-headline h2 a {
  font-size: 17px !important;
  line-height: 1.3 !important;
  text-decoration: underline;
  font-weight: bold;
}
#TMPL-main #TMPL-news_detail .TMPL-headline h2 {
  font-size: 19px !important;
  line-height: 1.3 !important;
}
/* #TMPL-main #TMPL-news_detail .TMPL-news_txt {
  font-size: 16px !important;
  line-height: 1.5 !important;
} */

#TMPL-main #TMPL-news_detail a img {
  max-width: 100%;
}

/*ページャー*/
#TMPL-main .TMPL-news_pager a {
  text-decoration: none;
}
#TMPL-main .TMPL-news_pager .TMPL-pager_btn a:hover {
  background-color: #575757;
  -webkit-transition: color 0.3s;
  transition: color 0.3s;
}

#TMPL-main .TMPL-news_pager .TMPL-pager_btn {
  display: inline-block;
  background: #999; /*ページ送りの色*/
}
#TMPL-main .TMPL-news_pager .TMPL-pager_btn.TMPL-back_list {
  background: #737373; /*一覧へ戻るボタンの色*/
  margin-top: 15px;
}

/*--------------------------------------------------------------------------------
  #TMPL-news_list
--------------------------------------------------------------------------------*/
#TMPL-main #TMPL-news_list .TMPL-news_box.clearfix::after {
  display: none;
}

#TMPL-main #TMPL-news_list .TMPL-news_box .TMPL-news_inner .TMPL-news_img {
  float: right;
  width: 100px;
  margin-right: 0;

  overflow: hidden;
  width: 100px; /* トリミングしたい枠の幅 */
  height: 80px; /* トリミングしたい枠の高さ */
  position: relative;

  margin-left: 0.5em;
}
#TMPL-main #TMPL-news_list .TMPL-news_box .TMPL-news_inner .TMPL-news_img img {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 100%;
  height: auto;
}
#TMPL-main #TMPL-news_list .TMPL-news_box header.width100 {
  width: 100% !important; /*記事に画像がない時付与される*/
}
#TMPL-main #TMPL-news_list .TMPL-news_box .TMPL-headline {
  border-bottom: none;
  padding: 0;
  margin-bottom: 0;
}

#TMPL-main #TMPL-news_list .TMPL-news_box {
  display: flex;
  justify-content: space-between;
}

/*SP表示*/
@media (max-width: 640px) {
  #TMPL-main #TMPL-news_list .TMPL-news_box .TMPL-headline h2 {
    float: left;
  }

  #TMPL-main #TMPL-news_list .TMPL-news_box {
    display: flex;
    justify-content: space-between;
  }
}

/*--------------------------------------------------------------------------------
  #TMPL-news_list #TMPL-detail 共用
--------------------------------------------------------------------------------*/
#TMPL-main #TMPL-news_detail,
#TMPL-main #TMPL-news_list {
  margin-top: 20px;
}

#TMPL-main #TMPL-news_detail .TMPL-news_box .TMPL-headline time,
#TMPL-main #TMPL-news_list .TMPL-news_box .TMPL-headline time {
  display: flex;
  justify-content: center;
  background: #575757; /*投稿日時の色*/
  padding: 0.5em 1em;
  margin: 0 0 0.5em;
  color: #fff;
  font-size: 0.9em;

  width: 8em;
  text-align: center;
  font-weight: 100;
}
@media all and (-ms-high-contrast: none) {
  #TMPL-main #TMPL-news_detail .TMPL-news_box .TMPL-headline time,
  #TMPL-main #TMPL-news_list .TMPL-news_box .TMPL-headline time {
    font-family: meiryo;
  }
}

#TMPL-main #TMPL-news_list .TMPL-news_box .TMPL-headline h2,
#TMPL-main #TMPL-news_detail .TMPL-news_box .TMPL-headline h2 {
  overflow: hidden;
  word-wrap: break-word;
  font-weight: bold;
}

#TMPL-main #TMPL-news_detail .TMPL-news_box,
#TMPL-main #TMPL-news_list .TMPL-news_box {
  margin-top: 40px;
  padding: 0.8em 1em;
  background: #fafafa; /*記事の背景色*/
}
#TMPL-main #TMPL-news_detail .TMPL-news_box:first-child,
#TMPL-main #TMPL-news_list .TMPL-news_box:first-child {
  margin-top: 0px;
}
/*--------------------------------------------------------------------------------
  #TMPL-detail
--------------------------------------------------------------------------------*/
#TMPL-main #TMPL-news_detail .TMPL-news_box .TMPL-headline {
  border-bottom: 1px dashed #575757; /*日付タイトル下の波線*/
  margin-bottom: 15px;

  display: flex;
  flex-direction: column;
}
#TMPL-main #TMPL-news_detail .TMPL-news_box .TMPL-news_inner .TMPL-news_img {
  float: left;
  width: 200px;
  margin-right: 20px;

  position: relative;
}
/*add light box magnifying.png */
#TMPL-main
  #TMPL-news_detail
  .TMPL-news_box
  .TMPL-news_inner
  .TMPL-news_img
  a:after {
  content: "";
  width: 30px;
  height: 30px;
  background-image: url(../TMPL_images/magnifying.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 1;
}
/*SP表示*/
@media (max-width: 640px) {
  #TMPL-main #TMPL-news_detail .TMPL-news_box .TMPL-headline time {
    float: none;
  }
  #TMPL-main #TMPL-news_detail .TMPL-news_box .TMPL-news_inner .TMPL-news_img {
    width: 50%;
  }
  #TMPL-main
    #TMPL-news_detail
    .TMPL-news_box
    .TMPL-news_inner
    .TMPL-news_img
    img {
    max-width: 100%;
  }
}

/*--------------------------------------------------------------------------------
  TMPL-news_pager
--------------------------------------------------------------------------------*/
#TMPL-main .TMPL-news_pager {
  position: relative;
  margin-top: 35px;
  text-align: center;
}
#TMPL-main .TMPL-news_pager .TMPL-pager_btn.TMPL-prev_btn {
  float: left;
}
#TMPL-main .TMPL-news_pager .TMPL-pager_btn.TMPL-next_btn {
  float: right;
}
#TMPL-main .TMPL-news_pager .TMPL-pager_btn a {
  /*ボタン共通*/
  display: inline-block;
  color: #fff;
  padding: 0.5em 1.5em;
  -webkit-transition: color 0.3s;
  transition: color 0.3s;
  font-weight: 100;
}
#TMPL-main .TMPL-news_pager .TMPL-pager_btn.TMPL-back_list a {
  /*一覧へ戻るボタン*/
  padding: 0.5em 1.5em;
  -webkit-transition: color 0.3s;
  transition: color 0.3s;
  width: 100%;
  box-sizing: border-box;
}
#TMPL-main .TMPL-news_pager .TMPL-pager_btn.back_list a::before {
  display: inline-block;
  content: "";
  border: 4px solid transparent;
  border-right: 4px solid #fff;
  margin-right: 5px;
  vertical-align: 1px;
}
#TMPL-main .TMPL-news_pager .TMPL-pager_btn.TMPL-prev_btn a {
  /*前のページへボタン*/
  padding: 0.5em 1.5em;
  -webkit-transition: color 0.3s;
  transition: color 0.3s;
}
#TMPL-main .TMPL-news_pager .TMPL-pager_btn.TMPL-prev_btn a::before {
  display: inline-block;
  content: "";
  border: 4px solid transparent;
  border-right: 4px solid #fff;
  margin-right: 5px;
  vertical-align: 1px;
}
#TMPL-main .TMPL-news_pager .TMPL-pager_btn.TMPL-next_btn a {
  /*次のページへボタン*/
  padding: 0.5em 1.5em;
  -webkit-transition: color 0.3s;
  transition: color 0.3s;
}
#TMPL-main .TMPL-news_pager .TMPL-pager_btn.TMPL-next_btn a::after {
  display: inline-block;
  content: "";
  border: 4px solid transparent;
  border-left: 4px solid #fff;
  margin-left: 5px;
  vertical-align: 1px;
}

/*SP表示*/
@media (max-width: 640px) {
  #TMPL-main .TMPL-news_pager .TMPL-pager_btn.TMPL-back_list {
    display: block;
    margin-top: 15px;
  }
  #TMPL-main .TMPL-news_pager .TMPL-pager_btn a {
    /*ボタン共通*/
    display: block;
  }
}
