/* ページタイトル */
.cmn_title {
	background: url("../../../common/page/img/title/company.webp") no-repeat center bottom;
	background-size: cover;
}
.history_title {
	max-width: 1024px;
	width: 90%;	
	margin: 0 auto;
}
.history_button {
	width: 100%;
	height: 100%;
	padding: 15px 50px 15px 50px;
	border: 2px solid var(--red);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px 25px;
	font-size: var(--subheadline);
	font-weight: normal;
	position: relative;
}
	
.history_button--mark {
	content: "+";
	width: 20px;
	height: 20px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	background: var(--red);
	line-height: 1;
	font-size: 1.8rem;
	padding: 0 0 3px 0;
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
}
.history_content {
	overflow: hidden;
	transition: all .5s;
	margin: 30px auto;
}
.history_table {
	max-width: 1024px;
	width: 90%;
	margin: auto;
}

/* テーブル（20周年ページより流用） */
td {
  line-height: 24px;
  padding: 10px;
  border: none;
	text-align: left;
}
.history01 td {
	&:first-child {
		width: 482px;
	}
	&:nth-child(2) {
		width: 60px;
	}
	&:last-child {
		width: 482px;
	}
}
.history02 td {
	&:first-child {
		width: 422px;
	}
	&:nth-child(2) {
		width: 60px;
	}
	&:nth-child(3) {
		width: 60px;
	}
	&:nth-child(4) {
		width: 60px;
	}
	&:last-child {
		width: 422px;
	}
}

td.year {
    border: none;
    text-align: center;
    background: #0483DB;
    color: #fff;
    font-weight: bold;
    border-bottom: 2px solid #fff;
}
td.month_left {
    border: none;
    text-align: center;
    background: #B7E6F5;
    color: #0483DB;
    font-weight: bold;
    border-bottom:2px solid #fff;
}
td.month_right {
    border: none;
    text-align: center;
    background: #B7E6F5;
    color: #0483DB;
    font-weight: bold;
    border-bottom:2px solid #fff;
}
td.bdr_btm {
    border-bottom:2px dotted #0483DB;
}
td.bdr_top {
    border-top:2px dotted #0483DB;
}
td.text_right{
    text-align: right;
}
p.photo_right{
    text-align: right;
}
p.photo_left{
    text-align: left;
}
p.pt10{
    padding-top: 10px;
}
img.w150 {
    width: 150px;
    border: solid 2px #0483DB;
}
img.h150 {
    height: 150px;
    border: solid 2px #0483DB;
}
.mt-24{
   margin-top:-24px;
}
p.photo_left.mt-24 {
	text-align: right;
  width: 100px;
  margin-top: 5px;
}
.pic_cell {
	display: flex;
	justify-content: space-between;
}
.history_table figure {
	border: 2px solid #0483DB;
}
.history_table--arrowTop td {
	height: 20px;
	padding: 0;
	&:nth-child(2) {
		background: #B7E6F5;
	}
	&:nth-child(3) {
		background: #0483DB;
	}
	&:nth-child(4) {
		background: #B7E6F5;
	}
}
.history_table--arrowBottom td {
	height: 20px;
	padding: 0;
	&:nth-child(2) {
		background: linear-gradient(18deg, transparent 0%, transparent 50%, #0483DB 50%, #0483DB 100%);
	}
	&:nth-child(3) {
		background: #0483DB;
	}
	&:nth-child(4) {
		background: linear-gradient(342deg, transparent 0%, transparent 50%, #0483DB 50%, #0483DB 100%);
	}
}
.history_table--arrow td {
	height: 10px;
	padding: 0;
	&:nth-child(3) {
		background: #0483DB;
		clip-path: polygon(50% 100%, 0 0, 100% 0);
	}
}

@media screen and (max-width: 767px) {
	.history_table {
		font-size: 1.4rem;
	}
	.history_button {
		padding: 10px 30px 10px 30px;
		/* flex-wrap: wrap; */
    flex-direction: column;

		&[aria-pressed="false"]::after {
			font-size: 1.6rem;
			padding: 0 0 2px 0;
			right: 20px;
		}
	}
	.pic_cell {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}
	td.text_right {
		text-align: left;
	}
	td.year {
		white-space: nowrap;
		padding: 5px;
	}
	.history01 td {
		&:nth-child(2) {
			width: 45px;
		}
	}
	.history02 td {
		&:nth-child(2) {
			width: 38px;
		}
		&:nth-child(3) {
			width: 48px;
		}
		&:nth-child(4) {
			width: 38px;
		}
	}
	.history_table--arrowBottom td {
		height: 20px;
		padding: 0;
		&:nth-child(2) {
			background: linear-gradient(30deg, transparent 0%, transparent 50%, #0483DB 50%, #0483DB 100%);
		}
		&:nth-child(3) {
			background: #0483DB;
		}
		&:nth-child(4) {
			background: linear-gradient(330deg, transparent 0%, transparent 50%, #0483DB 50%, #0483DB 100%);
		}
	}
	.history_table--arrow td {
		height: 12px;
		padding: 0;
		&:nth-child(3) {
			background: #0483DB;
			clip-path: polygon(50% 100%, 0 0, 100% 0);
		}
	}
}