
/* ここから配当・株主還元 */
.haito_wrap {
	width: 85vw;
	max-width: var(--max-size2);
	margin: 0 auto;
}

.haito_content p {
	margin-bottom: 10em;
}
.haito {
	margin-bottom: 5em;
	text-align: center;
}

.haito img {
	width: 80%;
}

.haito_table1 {
	margin-bottom: 10em;
}

.haito_table1 table,
.haito_table2 table{
	border-collapse:separate;
	border-spacing: 0;
	width: 100%;
	margin: 0;
	font-size: var(--bunsyo);
}

.haito_table1 th,
.haito_table1 td,
.haito_table2 th,
.haito_table2 td{
	border: solid 1px #999;
	border-top: 0;
	border-left: 0;
	padding: 1vw;
}

.haito_table2 td:first-child{
	border-left: solid 1px #999;
}

.haito_table1 th,
.haito_table2 th {
	border: solid 1px #fff;
	border-top: 0;
	border-left: 0;
}

.haito_table1 tr:first-child th,
.haito_table2 th{
	text-align: center;
}

.haito_table1 th,
.haito_table2 th{
	background-color: var(--news);
	color: #fff;
}

.haito_table1 tr:nth-child(2) th:nth-child(2),
.haito_table2 td:not(:last-child){
	white-space: nowrap;
}


.haito_table1 td {
	text-align: right;
}

/* ここまで配当・株主還元 */

@media screen and (max-width:786px){

/* ここから配当・株主還元 */	
	.haito img {
		width: 100%;
	}
	
	.haito_table1,
	.haito_table2{
		overflow: scroll;
	}
	
	.haito_table1 table,
	.haito_table2 table{
		min-width: 700px;
		font-size: 15px;
	}
	
	.haito_table1 th:nth-child(1){
		position: sticky;
		position: -webkit-sticky; /* Safari対応 */
		z-index:1;
		left: 0;
		width: 9.1em;
	}
	
	.haito_table1 tr:nth-child(3) th:nth-child(1),
	.haito_table1 tr:nth-child(4) th:nth-child(1) {
		width: 4em;
	}

	.haito_table1 tr:nth-child(2) th:nth-child(2),
	.haito_table1 tr:nth-child(3) th:nth-child(1),
	.haito_table1 tr:nth-child(4) th:nth-child(1){
		position: sticky;
		position: -webkit-sticky; /* Safari対応 */
		z-index:1;
		left: 9.1em;
	}
	
	.haito_table2 th:first-child,
	.haito_table2 td:first-child{
		position: sticky;
		position: -webkit-sticky;
		z-index: 1;
		left: 0;
	}
	
	.haito_table2 td {
		background-color: #fff;
	}
/* ここまで配当・株主還元 */
}