@charset "UTF-8";

/* [nj-chem] 旧 news ページは reset.css を読まず、この uniq.css を最初に読み込んで
 * 「リセット兼ページCSS」として使っていた（先頭に Meyer リセットを内蔵していた）。
 * WPテーマは reset.css を全ページで先に読むうえ、uniq.css は base.css の後に読む。
 * その順番だと内蔵リセットが base.css の body{font-size/line-height} を打ち消し、
 * 共有フッター等が崩れる（詳細は docs/css設計.md）。reset.css が同じ役目を持つため、
 * 内蔵リセット（旧 3〜52行）を除去し、ページ固有CSSのみ残す。2026-07-05
 * ※訂正 2026-10-22：旧の内蔵リセットは対象が狭く（html,body,div,h1-h6,p,a,b,u,i,ol,ul,li,
 *   form,label,footer,header,menu,nav のみ）、table・td・th・strong・em・sub・sup は対象外だった。
 *   reset.css はそれらも消すので「完全に重複」ではない。差分＝ニュース本文の表の枠線・太字・
 *   斜体・上下付きが消える→ assets/css/njc-overrides.css の .news.detail ブロックで戻している。 */

.news .list_area li{
  margin-bottom: 20px;
}
.news .list_area li:nth-last-of-type(1){
  margin-bottom: 0;
}
.news .list_area a{
  display: flex;
}
.news .list_area a .sp_box,
.news.detail .sp_box{
  display: flex;
  min-width: 205px;
}
.news .list_area .day,
.news.detail  .day{
  color: #666666;
  font-weight: 400;
  line-height: 20px;
}
.news .list_area .tug,
.news.detail .tug{
  line-height: 20px;
  height: 20px;
  width: 80px;
  display: block;
  text-align: center;
  font-size:13px;
  color: #fff;
  margin:0 25px;
}
.news .list_area .tug.ir,
.news.detail .tug.ir{
  background: #4391CD;
}
.news .list_area .tug.exhibition,
.news.detail .tug.exhibition{
  background: #C48BF0;
}
.news .list_area .tug.news,
.news.detail .tug.news{
  background: #c01213;
}
.news .list_area .text{
  line-height: 20px;
}
.news .btn_box{
  width: 320px;
}
.news .fltbox .boxL{
  width: 76%;
}
.news .fltbox .boxR{
  width: 20%;
  border-top:1px solid #078247;
  border-left: 1px solid #078247;
}
.news .fltbox .boxR .year_head{
  font-size:18px;
  padding: 10px 0;
  background: #078247;
  color: #fff;
  font-weight: bold;
  letter-spacing: 1px;
}
.news .fltbox .boxR a{
  display: block;
  padding:10px 15px;
  border-bottom:1px solid #078247;
  border-right: 1px solid #078247;
}
.news .fltbox .boxR a span{
  position: relative;
  padding-left:15px;
}
.news .fltbox .boxR a span:before{
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 0 6px 6px;
  border-color: transparent transparent transparent #078247;
  position: absolute;
  left: 0;
  top:50%;
  margin-top:-6px;
}

.news.detail p{
  line-height: 1.6;
  font-size:14px;
  margin-bottom: 20px;
}
.news.detail img{
  display: block;
  max-width: 1000px;
  margin: 0 auto 20px;
}

@media (max-width: 960px) {
  .news .list_area:after{
    content:"";
    display:block;
    clear:both;

  }
  .news .list_area li:after{
    content:"";
    display:block;
    clear:both;
  }
  .news .list_area li{
    margin-bottom: 10px;
  }
  .news .list_area li:nth-last-of-type(1){
    margin-bottom: 0;
  }
  .news .list_area a{
    display: block;
  }
  .news .list_area a .sp_box{
    /* display: block;
    width: 60px;
    float: left; */
    display: block;
    width: 130px;
    float: none;
    font-size: 0;
  }
  .news.detail .sp_box{
    display: block;
    margin-bottom: 10px;
  }
  .news .list_area .day,
  .news.detail .day{
    font-size:12px;
  }
  .news .list_area .day{
    display:inline-block;
    vertical-align:middle;
    margin-right: 5px;
  }
  .news .list_area .tug{
    /* line-height: 20px;
    height: 20px;
    width: 60px;
    font-size:12px;
    margin:0; */
    line-height: 20px;
    height: 20px;
    width: 60px;
    font-size:12px;
    margin:0;
    display:inline-block;
    vertical-align:middle;
  }
  .news.detail .tug{
    display: inline-block;
    line-height: 20px;
    height: 20px;
    width: 60px;
    font-size:12px;
    margin:0 0 0 10px;
  }
  /* .news .list_area .text{
    line-height: 16px;
    font-size:12px;
    float: right;
    width: calc(100% - 70px);
    padding-top:6px;
  } */
  .news .list_area .sp_box + span{
    line-height: 1.4;
    font-size:12px;
    float: none;
    display: block;
    width: 100%;
    padding-top:5px;
  }
  .news .fltbox .boxL{
    width: 100%;
  }
  .news .fltbox .boxR{
    margin-top:30px;
    width: 100%;
    border-top:1px solid #078247;
    border-left: 1px solid #078247;
  }
  .news .fltbox .boxR .year_head{
    font-size:16px;
    padding: 5px 0;
  }
  .news .fltbox .boxR a{
    padding:5px 10px;
    font-size:12px;
  }
  .news .fltbox .boxR a span{
    padding-left:10px;
  }
  .news .fltbox .boxR a span:before{
    border-width: 4px 0 4px 4px;
    top:50%;
    margin-top:-4px;
  }
  .news .btn_box{
    width: 100%;
  }
  .news.detail p{
    line-height: 1.4;
    font-size:12px;
    margin-bottom: 10px;
  }
  .news.detail img{
    display: block;
    width: 100%;
    max-width: auto;
    margin: 0 auto 10px;
  }

}
