@charset "utf-8";
/* CSS Document */

/*----- ▼▼左コンテンツ▼▼ -----*/

#main #side_left{
	width: 240px;
	text-align: left;
	margin-right: 20px;
    float: left;
}

#main #side_navi{
	float: left;
	width: 240px;
	text-align: left;
}

/* 製品＆サービス */

#main #side_navi ul{
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 0px 0px;
}

#main #side_navi li{
	list-style-type: none;
	float: left;
	width: 240px;
	height: 34px;
	margin: 0px 0px 6px 0px;
}

/*----- ▼infoコンテンツ▼ -----*/

#info{
	width: 240px;
	margin-top: 20px;
	float: left;
}

/*----- SNSバナー -----*/

#sns {
	width: 240px;
	height: 70px;
	text-align: center;
	margin-top: 20px;
	float: left;
}

#sns #sns_y {
	width: 60px;
	height: 70px;
	float: left;
}

#sns #sns_y a:hover img {
    opacity: 0.6;
	transition: 0.3s ease-in-out;
}

#sns #sns_t {
	width: 60px;
	height: 70px;
	float: left;
}

#sns #sns_t a:hover img {
    opacity: 0.6;
	transition: 0.3s ease-in-out;
}

#sns #sns_i {
	width: 60px;
	height: 70px;
	float: left;
}

#sns #sns_i a:hover img {
    opacity: 0.6;
	transition: 0.3s ease-in-out;
}

#sns #sns_f {
	width: 60px;
	height: 70px;
	float: left;
}

#sns #sns_f a:hover img {
    opacity: 0.6;
	transition: 0.3s ease-in-out;
}

/*----- 展示会バナー -----*/

#biopharma_expo_2020 {
	width: 240px;
	height: 100px;
	text-align: center;
	background-color: #4e2581;
	margin-bottom: 10px;
	float: left;
}

#biopharma_expo_2020 a:hover img {
    filter: brightness(130%);
	transition: 0.3s ease-in-out;
}

/*----- カタログ 枠-----*/

#catalog_pc {
	width: 223px;
	padding: 10px 0px 10px 15px;
	border: 1px solid #ddd;
	margin-bottom: 15px;
	float: left;
}

#catalog {
	width: 223px;
	padding: 10px 0px 10px 15px;
	border: 1px solid #ddd;
	margin-bottom: 15px;
	float: left;
}

#catalog_contents {
	width: 235px;
	padding-left: 10px;
	float: left;
}

/*----- カタログ 内容-----*/

#catalog_pc .catalog_ask {
	width: 210px;
	font-size: 90%;
	font-weight: bold;
	text-align: center;
	float: left;
}

#catalog .catalog_ask {
	width: 210px;
	font-size: 90%;
	font-weight: bold;
	text-align: center;
	float: left;
}

#catalog_pc .catalog_pdf {
	width: 210px;
	font-size: 80%;
	font-weight: nomal;
	text-align: center;
	border-top: solid 1px #94000b;
	padding-top: 5px;
	float: left;
}

#catalog .catalog_pdf {
	width: 210px;
	font-size: 80%;
	font-weight: nomal;
	text-align: center;
	border-top: solid 1px #94000b;
	padding-top: 5px;
	float: left;
}

#catalog_pc:hover {
	border-color: #002887;
	transition: 0.3s ease-in-out;
}

#catalog:hover {
	border-color: #002887;
	transition: 0.3s ease-in-out;
}

#catalog_pc .catalog_ask a{
	color: #333333;
}

#catalog .catalog_ask a{
	color: #333333;
}

#catalog_pc .catalog_img {
	width: 210px;
	padding-top: 5px;
	float: left;
}

#catalog .catalog_img {
	width: 210px;
	padding-top: 5px;
	float: left;
}

#catalog_pc a:hover img {
    filter: brightness(85%);
	transition: 0.3s ease-in-out;
}

#catalog a:hover img {
    filter: brightness(85%);
    transition: 0.3s ease-in-out;
}

/*----- 問合せ 電話/FAX -----*/

#ask_tel {
	width: 240px;
	margin-bottom: 10px;
	float: left;
}

/*----- 問合せ フォーム -----*/

#ask_foam {
	width: 240px;
	margin-bottom: 10px;
	float: left;
}

/*----- 問合せ メール -----*/

#ask_mail {
	width: 240px;
	margin-bottom: 15px;
	float: left;
}

/*----- イプロス特設サイト -----*/

#ipros {
	width: 240px;
	margin-bottom: 10px;
	float: left;
	transition: 0.3s ease-in-out;
}

#ipros a:hover img {
    filter: brightness(90%);
	transition: 0.3s ease-in-out;
}

/*----- ファームテクジャパン WEB展示場 -----*/

#pharmtech {
	width: 240px;
	margin-bottom: 10px;
	float: left;
	transition: 0.3s ease-in-out;
}

#pharmtech a:hover img {
    filter: brightness(90%);
	transition: 0.3s ease-in-out;
}

/*----- 採用情報 -----*/

#job_info {
	width: 240px;
	margin-bottom: 15px;
	float: left;
}

/*----- ▼▼右コンテンツ▼▼ -----*/

#main #side_right{	
	width: 740px;
	text-align: left;
	float: right;
}

#main_tp {
	width: 740px;
	margin-bottom: 0px;
	float: left;
}

/*----- 新着情報 枠 -----*/

#archive {
	width: 740px;
	float: left;
}

#archive .center_head {
	width: 740px;
	margin-bottom: 10px;
	float: left;
}

#news .center_bm {
	width: 740px;
	float: left;
}

/*----- お知らせインフォメーション 内容  -----*/

#news_contents {
  width: 740px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 0 auto;
}

/* 1ニュースボックス：高さ統一 */
.news-link {
  color: #333;
  text-decoration: none !important;
  display: block;
  height: 100%;
}
.news-link:visited,
.news-link:active,
.news-link:hover,
.news-link:focus {
  color: #333;
  text-decoration: none !important;
}

/* ボックス本体高さ統一 */
.news-box {
  border-radius: 0px 0px 5px 5px;
  padding: 10px 8px 14px 8px;
  box-sizing: border-box;
  position: relative;
  transition: box-shadow .18s;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 270px;      /* ここで高さを揃える */
  max-height: 270px;
  height: 270px;
  background: #fff;
  box-shadow: 0 0 0 rgba(44, 104, 202, 0);
}
.news-link:hover .news-box {
  box-shadow: 0 4px 15px rgba(44, 104, 202, 0.20);
}

/* 画像エリア */
.news-img {
  width: 100%;
  margin-bottom: 10px;
  text-align: center;
  flex-shrink: 0;
}
.news-img img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid #cccccc;
  background: #fafbfc;
}

/* ラベル＋日付 */
.news-label-date {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 6px;
  flex-shrink: 0;
}
.news-label {
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 4px;
  font-weight: bold;
  background: #f5f5f5;
  letter-spacing: 0.02em;
}
.news-label.exhibit {
  background: #ddeffd;
  color: #2684c6;
}
.news-label.info {
  background: #f8f4e6;
  color: #b5952a;
}
.news-label.new_product {
  background: #fce4e4;
  color: #c23a3a;
}
.news-date {
  font-size: 13px;
  color: #646464;
  font-weight: bold;
}

/* 本文：最大4行、以降は… */
.news-body {
  font-size: 13px;
  line-height: 1.6;
  margin-top: 2px;
  flex: 1 1 auto;
  word-break: break-all;
  color: #333;
  display: flex;
  align-items: flex-start;
}
.news-body p {
  margin: 0;
  color: inherit;
  text-decoration: none;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
  white-space: normal;
  word-break: break-all;
}

/*----- お知らせインフォメーション 内容 ここまで  -----*/

/*----- お知らせインフォメーション スマホ対応 -----*/

@media screen and (max-width: 718px) {
  #news_contents {
    width: 100% !important;
    display: block !important;
    grid-template-columns: none !important;
    margin: 0 !important;
  }
  .news-link {
   width: 100% !important;
   display: block !important;
   box-sizing: border-box;
   padding: 0;
   margin: 0 0 10px 0 !important;
  }
  .news-box {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    width: 100%;
    box-sizing: border-box;
    background: #fff;
    border-radius: 0 !important;
    border-bottom: 1px solid #e3e3e3;
    padding: 10px 0;
    margin: 0;
    overflow: hidden;
    height: auto !important;
    min-height: 0 !important;
  }
  .news-img {
    width: 40vw;
    max-width: 130px;
    min-width: 90px;
    margin: 0 8px 0 8px;
    box-sizing: border-box;
    display: block;
    }
  .news-img img {
    width: 100%;
    height: auto;
    display: block;
    border: 1px solid #ddd;
    background: #fafbfc;
    box-sizing: border-box;
  }
  .news-content {
    flex: 1 1 0%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    overflow: hidden;
    margin-right: 0;
  }
  .news-label-date {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 3px;
    box-sizing: border-box;
  }
  .news-label {
    font-size: 12px;
    padding: 2px 7px;
    border-radius: 4px;
    font-weight: bold;
    background: #f5f5f5;
    color: #333;
    box-sizing: border-box;
  }
  .news-date {
    font-size: 12px;
    color: #646464;
    font-weight: bold;
    box-sizing: border-box;
  }
  .news-body {
    font-size: 13px;
    line-height: 1.6;
    width: 100%;
    box-sizing: border-box;
    margin-top: 2px;
    overflow: hidden;
  }
  .news-body p {
    margin: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
    word-break: break-all;
    box-sizing: border-box;
    min-width: 0;
    max-height: calc(1.6em * 4);
  }
}

/*----- お知らせインフォメーション スマホ対応 ここまで -----*/

#news_contents dt.mgb-20 {
    margin-bottom: 20px;
} 

#news_contents dd.mgb-20 {
    margin-bottom: 20px;
} 

#news_contents dd.mgl-100 {
    margin-left: 100px;
}

#news_contents dd.mgl-img {
    margin-left: 100px;
	border-bottom: 1px dotted #666666;
}

#news_contents dd.mgl-come {
    margin-left: 100px;
	border-bottom: 1px dotted #666666;
}

#news_contents .information-label-info{
    font-size: 90%;
	line-height:1.5em;
	text-align: center;
	background-color: #0080C0;
	border-radius: 3px;
	color: #FFF;
	display: inline-block;
    width: 5em;
    margin-right: 5px;
}

#news_contents .information-label-exhibit{
	font-size: 90%;
	line-height:1.5em;
	text-align: center;
	background-color: #008080;
	border-radius: 3px;
	color: #FFF;
	display: inline-block;
    width: 5em;
    margin-right: 5px;
}

#news_contents .information-label-product{
	font-size: 90%;
	line-height:1.5em;
	text-align: center;
	background-color: #666;
	border-radius: 3px;
	color: #FFF;
	display: inline-block;
    width: 5em;
    margin-right: 5px;
}

#news_contents .information-label-new_product{
	font-size: 90%;
	line-height:1.5em;
	text-align: center;
	background-color: #000;
	border-radius: 3px;
	color: #FFF;
	display: inline-block;
    width: 5em;
    margin-right: 5px;
}

#news_contents .information-label-toku{
	font-size: 90%;
	line-height:1.5em;
	text-align: center;
	background-color: #F90;
	border-radius: 3px;
	color: #FFF;
	display: inline-block;
    width: 5em;
    margin-right: 5px;
}

.mgl-100 img {
    box-shadow: 3px 3px 8px #ccc;
	margin-top: 0px;
	margin-bottom: 10px;
}

.mgl-100 a:hover img {
    box-shadow: 5px 5px 8px #aaa;
}

.mgl-img img {
    box-shadow: 3px 3px 8px #ccc;
	margin-top: 0px;
	margin-bottom: 10px;
}

.mgl-img a:hover img {
    box-shadow: 5px 5px 8px #aaa;
	transition: 0.3s ease-in-out;
}

/*----- ページネーション -----*/

#next_back {
	width: 740px;
	margin-top: 30px;
	margin-bottom: 20px;
    text-align: center;
	float: left;
}

ul.pagination {
    display: inline-block;
    padding: 0;
    margin: 0;
}

ul.pagination li {display: inline;}

ul.pagination li a {
    color: black;
    float: left;
    padding: 8px 16px;
    text-decoration: none;
    transition: background-color .3s;
    border: 1px solid #aaa;
}
    
.pagination li:first-child a {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.pagination li:last-child a {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

ul.pagination li a.active {
    background-color: #3b579d;
    /*background-color: #4CAF50;*/
    color: white;
    border: 1px solid #3b579d;
}

ul.pagination li a:hover:not(.active) {background-color: #ddd;}

div.center {text-align: center;}

ul.pagination li a {
    margin: 0 2px;
    }@charset "utf-8";

/*----- ▼▼左コンテンツ▼▼ -----*/

#main #side_left{
	width: 240px;
	text-align: left;
	margin-right: 20px;
    float: left;
}

#main #side_navi{
	float: left;
	width: 240px;
	text-align: left;
}

/* 製品＆サービス */

#main #side_navi ul{
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 0px 0px;
}

#main #side_navi li{
	list-style-type: none;
	float: left;
	width: 240px;
	height: 34px;
	margin: 0px 0px 6px 0px;
}

/*----- ▼infoコンテンツ▼ -----*/

#info{
	width: 240px;
	margin-top: 20px;
	float: left;
}

/*----- SNSバナー -----*/

#sns {
	width: 240px;
	height: 70px;
	text-align: center;
	 margin-top: 20px;
	float: left;
}

#sns #sns_y {
	width: 60px;
	height: 70px;
	float: left;
}

#sns #sns_y a:hover img {
    opacity: 0.7;
	transition: 0.3s ease-in-out;
}

#sns #sns_t {
	width: 60px;
	height: 70px;
	float: left;
}

#sns #sns_t a:hover img {
    opacity: 0.7;
	transition: 0.3s ease-in-out;
}

#sns #sns_i {
	width: 60px;
	height: 70px;
	float: left;
}

#sns #sns_i a:hover img {
    opacity: 0.7;
	transition: 0.3s ease-in-out;
}

#sns #sns_f {
	width: 60px;
	height: 70px;
	float: left;
}

#sns #sns_f a:hover img {
    opacity: 0.7;
	transition: 0.3s ease-in-out;
}

/*----- 展示会バナー -----*/

#biopharma_expo_2020 {
	width: 240px;
	height: 100px;
	text-align: center;
	background-color: #4e2581;
	margin-bottom: 10px;
	float: left;
}

#biopharma_expo_2020 a:hover img {
    filter: brightness(130%);
	transition: 0.3s ease-in-out;
}

/*----- カタログ 枠-----*/

#catalog_pc {
	width: 223px;
	padding: 10px 0px 10px 15px;
	border: 1px solid #ddd;
	margin-bottom: 15px;
	float: left;
}

#catalog {
	width: 223px;
	padding: 10px 0px 10px 15px;
	border: 1px solid #ddd;
	margin-bottom: 15px;
	float: left;
}

#catalog_contents {
	width: 235px;
	padding-left: 10px;
	float: left;
}

/*----- カタログ 内容-----*/

#catalog_pc .catalog_ask {
	width: 210px;
	font-size: 90%;
	font-weight: bold;
	text-align: center;
	float: left;
}

#catalog .catalog_ask {
	width: 210px;
	font-size: 90%;
	font-weight: bold;
	text-align: center;
	float: left;
}

#catalog_pc .catalog_pdf {
	width: 210px;
	font-size: 80%;
	font-weight: nomal;
	text-align: center;
	border-top: solid 1px #94000b;
	padding-top: 5px;
	float: left;
}

#catalog .catalog_pdf {
	width: 210px;
	font-size: 80%;
	font-weight: nomal;
	text-align: center;
	border-top: solid 1px #94000b;
	padding-top: 5px;
	float: left;
}

#catalog_pc:hover {
	border-color: #002887;
	transition: 0.3s ease-in-out;
}

#catalog:hover {
	border-color: #002887;
	transition: 0.3s ease-in-out;
}

#catalog_pc .catalog_ask a{
	color: #333333;
}

#catalog .catalog_ask a{
	color: #333333;
}

#catalog_pc .catalog_img {
	width: 210px;
	padding-top: 5px;
	float: left;
}

#catalog .catalog_img {
	width: 210px;
	padding-top: 5px;
	float: left;
}

#catalog_pc a:hover img {
    filter: brightness(85%);
	transition: 0.3s ease-in-out;
}

#catalog a:hover img {
    filter: brightness(85%);
	transition: 0.3s ease-in-out;
}

/*----- 問合せ 電話/FAX -----*/

#ask_tel {
	width: 240px;
	margin-bottom: 10px;
	float: left;
}

/*----- 問合せ フォーム -----*/

#ask_foam {
	width: 240px;
	margin-bottom: 10px;
	float: left;
}

/*----- 問合せ メール -----*/

#ask_mail {
	width: 240px;
	margin-bottom: 15px;
	float: left;
}

/*----- イプロス特設サイト -----*/

#ipros {
	width: 240px;
	margin-bottom: 10px;
	float: left;
	transition: 0.3s ease-in-out;
}

#ipros a:hover img {
    filter: brightness(90%);
	transition: 0.3s ease-in-out;
}

/*----- ファームテクジャパン WEB展示場 -----*/

#pharmtech {
	width: 240px;
	margin-bottom: 10px;
	float: left;
	transition: 0.3s ease-in-out;
}

#pharmtech a:hover img {
    filter: brightness(90%);
	transition: 0.3s ease-in-out;
}

/*----- 採用情報 -----*/

#job_info {
	width: 240px;
	margin-bottom: 15px;
	float: left;
}

/*----- ▼▼右コンテンツ▼▼ -----*/

#main #side_right{	
	width: 740px;
	text-align: left;
	float: right;
}

#main_tp {
	width: 740px;
	margin-bottom: 0px;
	float: left;
}

/*----- 新着情報 枠 -----*/

#archive {
	width: 740px;
	float: left;
}

#archive .center_head {
	width: 740px;
	margin-bottom: 10px;
	float: left;
}

#news .center_bm {
	width: 740px;
	float: left;
}

/*----- 新着情報 内容  -----*/

#news_contents {
	width: 715px;
	padding-left: 15px;
	margin-bottom: 10px;
	float: left;
}

#news_contents dl dt {
    font-size: 80%;
	line-height: 2em;
    padding: 5px 0;
    font-weight: normal;
	color: #333;
    float: left;
    clear: left;
    width: auto;
    margin-bottom: 5px;
    margin-right: 5px;
}

#news_contents dl dd {
    font-size: 80%;
	line-height: 2em;
    padding: 5px 0;
    font-weight: normal;
	color: #333;
    margin-bottom: 5px;
}

#news_contents dt.mgb-20 {
    margin-bottom: 20px;
} 

#news_contents dd.mgb-20 {
    margin-bottom: 20px;
} 

#news_contents dd.mgl-100 {
    margin-left: 100px;
}

#news_contents dd.mgl-img {
    margin-left: 100px;
	border-bottom: 1px dotted #666666;
}

#news_contents dd.mgl-come {
    margin-left: 100px;
	border-bottom: 1px dotted #666666;
}

#news_contents .information-label-info{
    font-size: 90%;
	line-height:1.5em;
	text-align: center;
	background-color: #0080C0;
	border-radius: 3px;
	color: #FFF;
	display: inline-block;
    width: 5em;
    margin-right: 5px;
}

#news_contents .information-label-exhibit{
	font-size: 90%;
	line-height:1.5em;
	text-align: center;
	background-color: #008080;
	border-radius: 3px;
	color: #FFF;
	display: inline-block;
    width: 5em;
    margin-right: 5px;
}

#news_contents .information-label-product{
	font-size: 90%;
	line-height:1.5em;
	text-align: center;
	background-color: #666;
	border-radius: 3px;
	color: #FFF;
	display: inline-block;
    width: 5em;
    margin-right: 5px;
}

#news_contents .information-label-new_product{
	font-size: 90%;
	line-height:1.5em;
	text-align: center;
	background-color: #000;
	border-radius: 3px;
	color: #FFF;
	display: inline-block;
    width: 5em;
    margin-right: 5px;
}

#news_contents .information-label-toku{
	font-size: 90%;
	line-height:1.5em;
	text-align: center;
	background-color: #F90;
	border-radius: 3px;
	color: #FFF;
	display: inline-block;
    width: 5em;
    margin-right: 5px;
}

.mgl-100 img {
    box-shadow: 3px 3px 8px #ccc;
	margin-top: 0px;
	margin-bottom: 10px;
}

.mgl-100 a:hover img {
    box-shadow: 5px 5px 8px #aaa;
}

.mgl-img img {
    box-shadow: 3px 3px 8px #ccc;
	margin-top: 0px;
	margin-bottom: 10px;
}

.mgl-img a:hover img {
    box-shadow: 5px 5px 8px #aaa;
	transition: 0.3s ease-in-out;
}

/*----- ページネーション -----*/

#next_back {
	width: 740px;
	margin-top: 30px;
    text-align: center;
	float: left;
}

ul.pagination {
    display: inline-block;
    padding: 0;
    margin: 0;
}

ul.pagination li {display: inline;}

ul.pagination li a {
    color: black;
    float: left;
    padding: 8px 16px;
    text-decoration: none;
    transition: background-color .3s;
    border: 1px solid #aaa;
}
    
.pagination li:first-child a {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.pagination li:last-child a {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

ul.pagination li a.active {
    background-color: #3b579d;
    color: white;
    border: 1px solid #3b579d;
}

ul.pagination li a:hover:not(.active) {background-color: #ddd;}

div.center {text-align: center;}

ul.pagination li a {
    margin: 0 2px;
    }