/*--------------------------------------------------------------------------------
  Ver.20200729 新FVLN3
--------------------------------------------------------------------------------*/
/*--------------------------------------------------------------------------------
  reset
--------------------------------------------------------------------------------*/
html #TMPL-main,
body #TMPL-main,
#TMPL-main div,
#TMPL-main span,
#TMPL-main applet,
#TMPL-main object,
#TMPL-main iframe,
#TMPL-main h1,
#TMPL-main h2,
#TMPL-main h3,
#TMPL-main h4,
#TMPL-main h5,
#TMPL-main h6,
#TMPL-main p,
#TMPL-main blockquote,
#TMPL-main pre,
#TMPL-main a,
#TMPL-main abbr,
#TMPL-main acronym,
#TMPL-main address,
#TMPL-main big,
#TMPL-main cite,
#TMPL-main code,
#TMPL-main del,
#TMPL-main dfn,
#TMPL-main
  em
  #TMPL-main
  img
  #TMPL-main
  ins
  #TMPL-main
  kbd
  #TMPL-main
  q
  #TMPL-main
  s
  #TMPL-main
  samp,
#TMPL-main small,
#TMPL-main strike,
#TMPL-main strong #TMPL-main sub #TMPL-main sup #TMPL-main tt #TMPL-main var,
#TMPL-main b,
#TMPL-main u,
#TMPL-main i,
#TMPL-main center,
#TMPL-main dl,
#TMPL-main dt,
#TMPL-main dd,
#TMPL-main ol #TMPL-main ul #TMPL-main li,
#TMPL-main fieldset,
#TMPL-main form,
#TMPL-main label,
#TMPL-main legend,
#TMPL-main table,
#TMPL-main caption,
#TMPL-main tbody,
#TMPL-main tfoot,
#TMPL-main thead,
#TMPL-main tr,
#TMPL-main th,
#TMPL-main td,
#TMPL-main article,
#TMPL-main aside,
#TMPL-main canvas,
#TMPL-main details,
#TMPL-main embed,
#TMPL-main figure,
#TMPL-main figcaption,
#TMPL-main footer,
#TMPL-main header,
#TMPL-main hgroup,
#TMPL-main menu,
#TMPL-main nav,
#TMPL-main output,
#TMPL-main ruby,
#TMPL-main section,
#TMPL-main summary,
#TMPL-main time,
#TMPL-main mark,
#TMPL-main audio,
#TMPL-main video,
#TMPL-main main {
  margin: 0;
  padding: 0;
  border: 0;
  font-style: normal;
  vertical-align: baseline;
}
html #TMPL-main,
body #TMPL-main {
  line-height: 1;
}
#TMPL-main ol,
#TMPL-main ul {
  list-style: none;
}
#TMPL-main table {
  border-collapse: collapse;
  border-spacing: 0;
}
#TMPL-main caption,
#TMPL-main th,
#TMPL-main td {
  text-align: left;
  vertical-align: middle;
}
#TMPL-main q,
#TMPL-main blockquote {
  quotes: none;
}
#TMPL-main a img {
  border: none;
}
#TMPL-main article,
#TMPL-main aside,
#TMPL-main details,
#TMPL-main figcaption,
#TMPL-main figure,
#TMPL-main footer,
#TMPL-main header,
#TMPL-main hgroup,
#TMPL-main menu,
#TMPL-main nav,
#TMPL-main section,
#TMPL-main summary,
#TMPL-main main {
  display: block;
}
#TMPL-main input,
#TMPL-main textarea,
#TMPL-main select,
button {
  outline: none;
}
#TMPL-main a:focus {
  overflow: visible;
}
#TMPL-main .h1,
#TMPL-main .h2,
#TMPL-main .h3,
#TMPL-main .h4,
#TMPL-main .h5,
#TMPL-main .h6,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 0;
  line-height: 1;
  font-size: unset;
}
.pc {
  display: block;
}
/*SP表示*/
@media (max-width: 1024px) {
  .pc {
    display: none;
  }
}

#TMPL-main .clearfix:before,
#TMPL-main .clearfix::after {
  content: none;
  display: block;
  height: 0;
  overflow: hidden;
}
/*--------------------------------------------------------------------------------
  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; /*設置するサイトによって数値変更*/
  color: #313439;
  font-family: "游ゴシック体", "Yu Gothic", YuGothic, "ヒラギノ角ゴシック Pro",
    "Hiragino Kaku Gothic Pro", "Noto Sans Japanese", "メイリオ", Meiryo,
    "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}
/*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;
  -webkit-transition: color 0.3s;
  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;
  }
}
