/* history */
/* history */
/* history */

.history { /*position: relative;*/ height: max-content; }
.history .sub-content { height: 100%; background-color: transparent; padding-bottom: unset; }
.history .sub-inner {
	position: relative;
	width: 100%;
	height: 100%;
}

.history .timeline::before {
	content: "";
	position: absolute;
	left: 20%;
	top: -15%;
	z-index: -1;
	width: 50%;
	height: 100%;
	background: url("/images/sub/about/about_logo.png") no-repeat;
	background-size: contain;
	opacity: 0.2;
}

@media(max-width: 1023px){
	.history .timeline::before {
		left: -30%;
		top: 25%;
		width: 100%;
	}
}
@media(max-width: 768px){
	.history .timeline::before {
		top: 45%;
	}
	.history .pt { padding: 50px 0; }
}
@media(max-width: 567px){
	.history .timeline::before {
		top: 55%;
	}
	.history .title { padding-bottom: 50px; }
}

.history .fabluxcentent { position: relative; z-index: 1; }

.history .pt { position: relative; z-index: 1; padding: 100px 0; }

.history br.none { display: none; }

/* timeline */
/* timeline */
/* timeline */

.history .title {
	padding-bottom: 100px;
  font-size: 24px;
  font-weight: 500;
  text-align:center;
	white-space: nowrap;
}

.history .timeline .displayGrid {
  display: grid;
  align-items: center;
	grid-template-columns: repeat(8, 1fr);
	grid-column-gap: 0px;
	grid-row-gap: 0px;
  width: 90%;
	margin: 0 auto;
	border-top: 2px solid darkgray;
}

.history .timeline .tBox { position: relative; text-align: center; }

.history .timeline .tBox:nth-child(1) { grid-column: 1; }
.history .timeline .tBox:nth-child(2) { grid-column: 2; }
.history .timeline .tBox:nth-child(3) { grid-column: 5; }
.history .timeline .tBox:nth-child(4) { grid-column: 6; }
.history .timeline .tBox:nth-child(5) { grid-column: 7; }
.history .timeline .tBox:nth-child(6) { grid-column: 8; }

.history .timeline .tBox:first-child::before { left: 0; transform: translateX(0); }
.history .timeline .tBox:last-child::before { left: 100%; transform: translateX(0); }

.history .timeline .tBox:first-child .tDate { left: 0; }
.history .timeline .tBox:last-child .tDate { left: 100%; }

.history .timeline .tBox:first-child .tTitle { left: -50%; }
.history .timeline .tBox:last-child .tTitle { left: 50%; }

.history .timeline .tBox::before {
	content: "";
  height: 40px;
  width: 2px;
  position: absolute;
  background: darkgray;
  margin-top: -10px;
  z-index:999;
	top: -12px;
	left: 50%;
	transform: translateX(-50%);
}

.history .timeline .timeline-inner { padding-top: 50px; }

.history .timeline .tDate {
	position: absolute;
	top: calc(-1 * (100%) - 10px);
	left: 50%;
	transform: translateX(-50%);
}

.history .timeline .tTitle {
  position: relative;
  padding: 10px 20px;
  font-size: 15px;
  color: #0c0c0c;
  margin-top: 14px;
	line-height: 1.5;
	white-space: nowrap;
}

@media(max-width: 1399px) {
	.history br.none { display: block; }
}

@media(max-width: 1023px) {
	.history .timeline .displayGrid {
		display: grid;
		align-items: unset;
		justify-content: start;
		grid-template-columns: none;
		grid-template-rows: repeat(8, 1fr);
		width: 90%;
		margin: 0 auto;
		border-left: 2px solid darkgray;
		border-top: none;
	}

	.history .timeline .tBox {
		display: flex;
		flex-direction: row;
		margin-left: 40px;
	}

	.history .timeline .tBox:nth-child(1) { grid-row: 1; grid-column: none; transform: translateY(-50%); }
	.history .timeline .tBox:nth-child(2) { grid-row: 2; grid-column: none; }
	.history .timeline .tBox:nth-child(3) { grid-row: 5; grid-column: none; }
	.history .timeline .tBox:nth-child(4) { grid-row: 6; grid-column: none; }
	.history .timeline .tBox:nth-child(5) { grid-row: 7; grid-column: none; }
	.history .timeline .tBox:nth-child(6) { grid-row: 8; grid-column: none; transform: translateY(50%); }

	.history .timeline .tBox::before {
		height: 2px;
		width: 40px;
		left: 0;
		top: 50%;
		margin-top: unset;
		transform: translateX(-100%);
	}

	.history .timeline .tDate { position: unset; transform: translateX(0); padding: 30px 20px; }
	.history .timeline .tTitle { width: 100%; }

	.history .timeline .tBox:first-child::before { top: 50%; transform: translateX(-100%); }
	.history .timeline .tBox:last-child::before { top: calc(50% - 2px); left: 0; transform: translateX(-100%); }

	.history .timeline .tBox:first-child .tDate { left: 50%; }
	.history .timeline .tBox:last-child .tDate { left: 50%; }

	.history .timeline .tBox:first-child .tTitle { left: 0; }
	.history .timeline .tBox:last-child .tTitle { left: 0; }

}


/* cert */
/* cert */
/* cert */


.history .cert .displayFlex {
	display: flex;
	flex-flow: row wrap;
	gap: 30px 10px;
	width: 50%;
	margin: 0 auto;
}

.history .cert .flex-item { width: calc((100% / 3) - 10px); }
.history .cert .flex-item .imgBox { width: 100%; text-align: center; }
.history .cert .flex-item img { width: 100%; }


.history #textBox { display: flex; flex-direction: column; justify-content: center; align-items: center; }
.history #textBox p { padding: 10px 0; }

@media(min-width: 641px) and (max-width: 1022px){
	.history .cert .displayFlex { width: 60%; }
	.history .cert .flex-item { width: 48%; }

}

@media(max-width: 640px){
	.history .cert .displayFlex { width: 80%; }
}