﻿/* Materials testing NEWS only; derived from RED NEWS styles. */
/*  RED top news tabs                           */
/*---------------------------------------------*/
.p-testingNews {
	display: block;
	width: 100%;
	max-width: 1238px;
	margin: 0 auto;
	box-sizing: border-box;
	padding: 50px 0;
}

.p-testingNews:empty { display: none; }
.p-testingNews.is-testingNews-error { display: block; }
.p-testingNews__error { padding: 1rem; color: #555; }

.p-testingNews .p-topics {
	margin: 0 auto;
}

@media screen and (min-width: 1000px) and (max-width: 1300px) {
	.p-testingNews {
		width: calc(clamp(1000px, 100%, 1300px) - 62px);
	}
}

@media screen and (max-width: 1000px) {
	.p-testingNews {
		padding-right: 10px;
		padding-left: 10px;
	}
}

@media screen and (max-width: 768px) {
	.p-testingNews {
		padding-right: 6px;
		padding-left: 6px;
	}
}

.p-ac-statutory-solas .p-testingNews h3 {
	margin: 0;
	padding: 0;
	color: #0065B4;
	background-color: transparent;
	font-size: 32px;
	font-weight: normal;
	line-height: 2;
	text-align: center;
}

.p-ac-statutory-solas .p-testingNews h3::before {
	content: none;
}

@media screen and (max-width: 480px) {
	.p-ac-statutory-solas .p-testingNews h3 {
		font-size: 24px;
		white-space: nowrap;
	}
}

@media screen and (max-width: 360px) {
	.p-ac-statutory-solas .p-testingNews h3 {
		font-size: 22px;
	}
}

.p-testingNews dl {
	margin: 0;
	padding: 0;
}

.p-testingNews dl dt {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	column-gap: 8px;
	row-gap: 4px;
	margin: 0 15px;
	padding: 0;
}

.p-testingNews dl dt a {
	display: block;
	width: calc(33.333333% - 6px);
	padding: 7px 0 6px;
	border-bottom: 5px solid #0065b4;
	color: #fff;
	background-color: #0065b4;
	font-size: 24px;
	line-height: 2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out, text-shadow 0.3s ease-in-out, transform 0.2s ease-in-out;
}

@media screen and (max-width: 1000px) {
	.p-testingNews dl dt a {
		width: calc(50% - 4px);
		font-size: 21px;
	}
}

@media screen and (max-width: 480px) {
	.p-testingNews dl dt {
		column-gap: 4px;
		row-gap: 4px;
		margin: 0 5px;
	}

	.p-testingNews dl dt a {
		padding: 0;
		font-size: 16px;
	}
}

.p-testingNews dl dt .c-topic__true {
	color: #0065b4;
	background-color: #bbdde6;
	cursor: default;
}

.p-testingNews dl dd.visible_non,
.p-testingNews .p-topics a.visible_non {
	display: none;
}

.p-testingNews dl dt .c-topic__1:hover,
.p-testingNews dl dt .c-topic__2:hover,
.p-testingNews dl dt .c-topic__3:hover {
	color: #0065b4;
	background-color: #bbdde6;
}

.p-testingNews dl dd {
	margin: 3px 0 0;
	padding: 10px 1rem;
}

.p-testingNews dl dd a {
	position: relative;
	display: block;
	margin-bottom: 22px;
	padding: 8px 0 12px;
	text-decoration: none;
}

.p-testingNews dl dd a:last-child {
	margin-bottom: 0;
}

.p-testingNews dl dd a::after {
	position: absolute;
	right: 0;
	bottom: -11px;
	left: 0;
	display: block;
	height: 1px;
	border-bottom: 1px dashed #333;
	content: '';
}

.p-testingNews dl dd a:hover {
	border-radius: 10px;
	box-shadow: 0 0 5px gray;
}

.p-testingNews dl dd a:hover span.c-xont {
	color: #0065b4;
}

.p-testingNews .c-date {
	position: relative;
	display: inline-block;
	margin-right: 15px;
	margin-left: 15px;
}

.p-testingNews .c-date span {
	padding-top: 8px;
	padding-right: 0.5em;
	padding-bottom: 6px;
	font-size: 14px;
	line-height: 2;
}

.p-testingNews .c-news span::before,
.p-testingNews .c-tech span::before {
	position: absolute;
	top: 9px;
	left: 100%;
	width: 9em;
	height: 14px;
	margin-left: 2px;
	color: #fff;
	background-color: #0065b4;
	font-size: 10px;
	line-height: 14px;
	text-align: center;
}

.p-testingNews .c-news span::before {
	content: 'News & Events';
}

.p-testingNews .c-tech span::before {
	content: 'Technical News';
}

.p-testingNews .c-xont {
	position: relative;
	display: block;
	margin-right: 15px;
	margin-left: 15px;
	padding-top: 10px;
	padding-bottom: 5px;
	font-size: 18px;
	line-height: 26px;
}

.p-testingNews .c-xont::before {
	content: none;
}

@media screen and (max-width: 768px) {
	.p-testingNews dl dd {
		padding: 10px 0;
	}

	.p-testingNews dl dd a {
		padding: 10px 0;
	}
}

.p-testingNews .p-topics div.c-fLright {
	float: right;
}

.p-testingNews .p-topics a {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 46px;
	margin-top: 20px;
	padding-right: 15px;
	padding-left: 15px;
	border: 2px solid #0065B4;
	border-radius: 2px;
	color: #fff;
	background-color: #0065B4;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	font-size: 16px;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.3s, color 0.3s;
}

.p-testingNews .p-topics a::after {
	margin-top: -4px;
	margin-left: 40px;
	color: #fff;
	font-size: 16px;
	content: "→";
	transition: color 0.3s;
}

.p-testingNews .p-topics a:hover {
	color: #00028a;
	background-color: #ddeef2;
}

.p-testingNews .p-topics a:hover::after {
	color: #00028a;
}



/*---------------------------------------------*/
/*---------------------------------------------*/

@media screen and (min-width: 769px) and (max-width: 1300px) { .p-testingNews { width: 100%; } }

/* Materials testing Technical News list */
/*  RED Technical News list page                */
/*---------------------------------------------*/
.p-cs-activities-testing-tech .c-section__content {
	margin-bottom: 0;
}

.p-redTechMeta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin: 0 0 22px;
}

.p-redTechYearForm {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	margin: 0;
	padding: 0;
}

.c-redTechSelect {
	position: relative;
	display: block;
	width: 180px;
	height: 42px;
}

.c-redTechSelect__control {
	width: 100%;
	height: 100%;
	padding: 0 48px 0 13px;
	border: 1px solid #cfcfcf;
	border-radius: 6px;
	color: var(--color-text);
	background-color: #f8f8f8;
	font-size: 16px;
	font-weight: bold;
	line-height: 1;
	box-sizing: border-box;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	cursor: pointer;
}

.c-redTechSelect__control::-ms-expand {
	display: none;
}

.c-redTechSelect__control:focus {
	border-color: var(--color-text);
	border-width: 2px;
	outline: none;
}

.c-redTechSelect__icon {
	position: absolute;
	top: 50%;
	right: 16px;
	width: 20px;
	height: 12px;
	background-color: var(--color-text);
	transform: translateY(-50%);
	pointer-events: none;
	-webkit-mask: url("/hp/common_image/icon/icon_arrow4.svg") center / contain no-repeat;
	mask: url("/hp/common_image/icon/icon_arrow4.svg") center / contain no-repeat;
}

.p-redTechYearCount {
	margin: 0;
}

.p-redTechResults {
	padding: 0 0 120px;
	background-color: #fff;
}

.p-cs-activities-testing-tech .p-redTechResults .c-newsList__item {
	margin: 0;
	padding: 10px 0;
	border: 0;
	border-top: 1px dashed #333;
}

.p-cs-activities-testing-tech .p-redTechResults .c-newsList__item + .c-newsList__item {
	margin-top: 0;
}

.p-cs-activities-testing-tech .p-redTechResults .c-newsList__item:last-child {
	border-bottom: 1px dashed #333;
}

.p-cs-activities-testing-tech .p-redTechResults .c-newsList__item:hover {
	border-radius: 0;
	box-shadow: none;
}

.p-cs-activities-testing-tech .p-redTechResults .c-newsList__link {
	display: grid;
	grid-template-columns: 112px minmax(0, 1fr);
	align-items: center;
	min-height: 76px;
	padding: 21px 16px;
	border: 0;
	box-sizing: border-box;
}

.p-cs-activities-testing-tech .p-redTechResults .c-newsList__link:hover {
	border-radius: 10px;
	box-shadow: 0 0 5px gray;
}

.p-cs-activities-testing-tech .p-redTechResults .c-newsList__date {
	display: block;
	padding-right: 16px;
	font-size: 18px;
	line-height: 1.8;
	white-space: nowrap;
}

.p-cs-activities-testing-tech .p-redTechResults .c-newsList__date span {
	font-size: inherit;
	line-height: inherit;
}

.p-cs-activities-testing-tech .p-redTechResults .c-newsList__date span::before {
	content: none;
}

.p-cs-activities-testing-tech .p-redTechResults .c-newsList__text {
	display: block;
	margin-top: 0;
	font-size: 18px;
	line-height: 1.8;
	transition: color .2s ease;
}

.p-cs-activities-testing-tech .p-redTechResults .c-newsList__text::before {
	content: none;
}

.p-cs-activities-testing-tech .p-redTechResults .c-newsList__link:hover .c-newsList__text {
	color: #0065b4;
}

.p-redTechContact {
	position: relative;
	z-index: 3;
	margin: -16px 16px 18px 128px;
	font-size: 16px;
	line-height: 1.6;
}

.p-redTechContact__label {
	font-weight: bold;
}

.p-redTechNoData {
	margin: 0;
	padding: 24px 16px;
	font-size: 18px;
	line-height: 1.8;
}

@media screen and (max-width: 899px) {
	.p-redTechMeta {
		align-items: center;
		flex-direction: row;
		gap: 12px;
		margin-bottom: 18px;
	}

	.p-redTechYearForm {
		justify-content: flex-start;
	}

	.c-redTechSelect {
		width: 150px;
		max-width: 45vw;
	}

	.p-redTechResults {
		padding: 0 0 20px;
	}

	.p-redTechContact {
		margin: -10px 0 18px;
	}

	.p-redTechNoData {
		padding: 18px 0;
	}

}

@media screen and (max-width: 1199px) {
	.p-cs-activities-testing-tech .p-redTechResults .c-newsList__link {
		display: block;
		min-height: 0;
		padding: 8px 14px 9px;
	}

	.p-cs-activities-testing-tech .p-redTechResults .c-newsList__date {
		display: inline-block;
		padding-right: 0;
		font-size: 14px;
		line-height: 2;
	}

	.p-cs-activities-testing-tech .p-redTechResults .c-newsList__text {
		margin-top: 4px;
		line-height: 26px;
	}
}





/* Empty news category: visible while the tab remains in navigation. */
.p-testingNews .p-testingNews__empty {
  margin: 0;
  padding: 20px 15px;
  font-size: 16px;
  line-height: 1.7;
  color: #444;
}

/* =============================================
   Materials testing: Table column widths
   ============================================= */
/* 材料試験機「提供出来る業務範囲」表のみ対象。共通テーブルCSSは変更しない。 */
.p-testingTableScroll {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.p-testingTableScroll .p-testingTable {
  width: 100%;
  min-width: 680px;
  table-layout: fixed;
}
.p-testingTable .p-testingTable__target {
  width: 40%;
}
.p-testingTable .p-testingTable__standard {
  width: 20%;
}
