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

h1 {
  color: darkgreen;/*文字色*/
  /*線の種類（点線）2px 線色*/
  border-bottom: dashed 2px darkgreen;
	  padding:  0.2em ;/*上下の余白*/
	margin-bottom: 50px;	
}

hr{
	border-top: 1px dashed #8c8b8b;
	border-bottom: 1px dashed #fff;}



/*タブ切り替え全体のスタイル*/
.tabs {
  margin-top: 100px;
  padding-bottom: 40px;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  width: 100%;
  margin: 20px auto 0 auto;
  }

/*タブのスタイル*/
.tab_item {
  width: calc(100%/3);
  height: 50px;
  border-bottom: 3px solid darkgreen;
  background-color: #d9d9d9;
  line-height: 50px;
  font-size: 20px;
  text-align: center;
  color: #565656;
  display: block;
  float: left;
  font-weight: bold;
  transition: all 0.2s ease;
}
.tab_item:hover {
  opacity: 0.75;
}

/*ラジオボタンを全て消す*/
input[name="tab_item"] {
  display: none;
}

/*タブ切り替えの中身のスタイル*/
.tab_content {
  display: none;
  padding: 40px 20px 0;
 font-size: 10px;
  clear: both;
  overflow: hidden;
}


/*選択されているタブのコンテンツのみを表示*/
#last-year:checked ~ #last-year_content,
#two-years-ago:checked ~ #two-years-ago_content,
#past-news:checked ~ #past-news_content {
  display: block;
}

/*選択されているタブのスタイルを変える*/
.tabs input:checked + .tab_item {
  background-color: darkgreen;
  color: #fff;
}



/*newsの部分*/
.news-list{
  list-style: none outside;
  margin: 0;
  padding: 0;
	font-size: 16px;
}/*sp*/
.news-list .item div{
  display: flex;
  flex-wrap: nowrap;
  text-decoration: none;
  color: #333;
  padding: 2% 10%;
}/*sp*/
.news-list .item .date{
  margin: 0;
	text-align: center;
  min-width: 140px;
  font-size: 1.6rem;
	font-weight: bold;
  color: #333;
  padding: 0 20px 0 0;
}/*sp*/
.news-list .item .title{
  margin: 0;
  width: 90%;
 font-size: 1.6rem;

}/*sp*/
.news-list .item div:hover .title{
  color: none;
}

.news-list .item .category1,
.news-list .item .category2,
.news-list .item .category3,
.news-list .item .category4,
.news-list .item .category5,
.news-list .item .category6{
	margin: 0;
	min-width: 100px;
	padding: 0 20px 0 0;
	font-size: 1.2rem;
}

.news-list .item .category1 span,
.news-list .item .category2 span,
.news-list .item .category3 span,
.news-list .item .category4 span,
.news-list .item .category5 span,
.news-list .item .category6 span{
	color: #FFF;
	text-align: center;
	display: inline-block;
	padding: 5px 20px;
	line-height: 1;
	font-size: 1.2rem;
	margin-top: 1%;
	width: 60%
 
}


/*カテゴリー各背景色*/
.news-list .item .category1 span{
  background: #8CA0FF;/*製品情報 青色*/
}
.news-list .item .category2 span{
  background: #5A8860;/*会社情報　深緑色*/
}
.news-list .item .category3 span{
  background: #750389;/*展示会情報　紫色*/
}
.news-list .item .category4 span{
  background: #F4CA61;/*メディア　黄色*/
}
.news-list .item .category5 span{
  background: #84CD61;/*環境　黄緑色*/
}
.news-list .item .category6 span{
  background: #ff6347;/*事例　赤色*/
}

p.footnote{/* 3Mの記事に使用中 */
	display: block;
	font-size:10px;
	text-align:right;
}

	
/*詳細が書ける枠*/
summary {
  position: relative;
  display: block; /* 矢印を消す */
  padding-left: 20px; /* アイコン分の余白 */
  cursor: pointer;
	font-size: 1.6rem;
}
summary::-webkit-details-marker {
  display: none; /* 矢印を消す */
}

/* 疑似要素でアイコンを表示 */
summary:before,
summary:after {
  content: "";
  margin: auto;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
}
summary:before {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background-color: darkgreen;
}
summary:after {
  left: 6px;
  width: 5px;
  height: 5px;
  border: 4px solid transparent;
  border-left: 5px solid #fff;
  box-sizing: border-box;
  transition: .1s;
	
}

/* オープン時 */	
details[open] summary:after {
    transform: rotate(90deg); /* 90度回転 */
    left: 4px;
    top: 5px;
	font-color:#000;}
    
/*sp*/
details[open] p.title{
    background: #EFEFEF;
	padding: 5% ;
	width: 100%;
    font-size: 1.6rem;}



@media screen and (max-width: 1000px){
	summary{
		font-size: 1.5rem;
		margin: 2% 2% 0 2%;
		width: 90%;
	}

	details[open] p{
		font-size: 1.5rem;
	}
	
	details[open] summary:after {
  font-size: 1.5rem;
}

}

@media screen and (max-width: 750px){
.tab_item {
	font-size: 1.5rem;
	 height: 30px;
	padding-bottom: 2%;
	}	
	
.news-list{
	margin: 0%;
	padding: 5% 0% 8% 0%;
	width: 100%;
	font-size: 1.5rem;
  }
	
.news-list .item div{
	flex-wrap: wrap;
	padding: 1% 5%;
	
}
	
.news-list .item .date{
	min-width: 100px;
	font-size: 1.6rem;
	padding-left: 2%;
	padding-bottom: 1%;
	text-align: center;
}	
	
.news-list .item .date p{
		padding: 3%;
	}			
	
.news-list .item .title{
	width: 100%;
	margin:  3% 1% 1% 1% ;
	font-size:16px;
	padding-left: 2%;
}	

}
