@charset "UTF-8";
/* CSS Document */
.page_img {
	background-image: url("../img/company/history/bg_head_history.jpg");
}
.head_txt {
    display: flex;
	justify-content: space-between;
    margin-bottom: 10px;
	font-size: 0.85em;
	line-height: 140%;
}

.table_flex .flex_l {
    width: 240px;
    border-right: 4px solid #d9a140;
}
.table_flex.ttls .flex_l {
    border-color: rgba(255,255,255,0);
}
.table_flex .flex_r {
    width: calc(100% - 210px - 54px);
	background: url("../img/company/history/bg_line.png") repeat-y center top;
}
.table_flex.ttls .flex_r {
    background: none;
}
.spscroll{
	overflow-x: scroll;
}
.head_txt [class*="flex_"],
.table_flex .ttls [class*="flex_"]{
	background: none;
	padding: 0;
	border: none;
}

strong.point_icon {
    position: absolute;
    display: block;
    width: 36px;
    height: 36px;
    background: url("../img/company/history/icon_red.png") no-repeat center / contain;
}
.th_flex strong.point_icon {
    right: -20px;
    top: 12px;
}
.td_flex strong.point_icon {
    left: -53px;
    top: 10px;
    background: url("../img/company/history/icon_white.png") no-repeat center / contain;
}
.table_flex {
    display: flex;
    justify-content: space-between;
    min-width: 1000px;
}
.table_flex .td_flex {
    display: flex;
    flex-wrap: wrap;
    width: 696px;
    margin-left: auto;
    margin-right: auto;
}

.table_flex .his_ttl {
    color: #fff;
    font-size: 1.6em;
    background: url("../img/company/history/bg_rice.png") #d9a140 repeat center;
    text-align: center;
    padding: 0.6em 15px;
    border-radius: 20px 20px 0 0;
    line-height: 100%;
    width: 100%;
    height: auto;
	margin-bottom: 15px;
	border: none;
	justify-content: center;
}
.table_flex .flex_l .his_ttl {
    width: 210px;
}
.th_flex {
    margin-bottom: 30px;
	position: relative;
}
.th_flex .date {
    color: #d9a140;
    font-size: 1.125em;
    line-height: 140%;
    border-bottom: 1px solid;
    padding-bottom: 5px;
    margin-bottom: 5px;
}
.th_flex .name{
	line-height: 140%;
    padding-right: 1em;
}
.table_flex .td_flex.historys {
    width: 98%;
	background: #fbefee;
    border: 2px solid #f7d1d3;
    border-radius: 16px;
    box-shadow: 2px 2px 2px 0 rgba(0,0,0,0.3);
    margin-bottom: 20px;
	padding: 20px 0;
	position: relative;
}
.table_flex .td_flex.historys::before {
    content: "▼";
    display: block;
    position: absolute;
    font-size: 1em;
    line-height: 100%;
    width: 1em;
    height: 1em;
    transform: rotate(90deg) scale(1,1.5);
    top: 20px;
    left: -0.65em;
    color: #fbefee;
    text-shadow: 0 4px 0 #f7d1d3;
}
.td_flex li{
    width: 25%;
    text-align: center;
}
.td_flex li.ttl {
    width: 100%;
    text-align: left;
    padding-left: 1.5%;
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #d9a140;
}

.td_ttl .type {
    background: #fefae6;
    font-size: 1.25em;
    color: #ae8047;
    padding: 12px 0;
    border-right: 1px solid #edd2a3;
}
.td_ttl .type:first-child {
    border-left: 1px solid #edd2a3;
}
.td_flex .name {
    font-size: 0.9em;
    line-height: 140%;
    margin-bottom: 5px;
}
.td_flex .img {
    width: 171px;
}
.spscroll::before{
	max-width: none;
}
@media screen and (min-width:1200px) {
	.spscroll::before{
		display: none;
	}
}
@media screen and (max-width:600px) {
.head_txt,
.head_txt .flex_r {
    display: block;
    width: 100%;
}
.table_flex {
    min-width: 838px;
}
.table_flex .flex_l {
    width: 120px;
}
.table_flex .flex_r {
    width: calc(100% - 120px - 22px);
    background-position: left;
}
.table_flex .td_flex {
    margin-left: 0;
}
.td_flex strong.point_icon {
    left: -44px;
}
.table_flex .flex_l .his_ttl,
.table_flex .flex_r .his_ttl{
    width: 100%;
    font-size: 1.2em;
    border-radius: 10px 10px 0 0;
    justify-content: left;
}
.td_ttl .type {
    font-size: 1.1em;
    line-height: 140%;
    padding: 5px 0;
}

	.table_flex .td_flex.historys{
		width: 100%;
		box-shadow: none;
	}
.td_flex .img {
    width: 85.5px;
    margin: 0 auto;
}
}