/* section-message */
.section-message .message{
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: nowrap;
}

.section-message .message-texts{
	flex-grow: 0;
	flex-shrink: 0;
	width: calc(65% - 5em);
}

.section-message .message-texts-stdtext{
	margin: 1em 0;
}

.section-message .message-texts-name{
	font-size: 150%;
	font-weight: var(--fontWeightBold);
	margin: 1em 0;
	text-align: right;
}

.section-message .message-image{
	flex-grow: 0;
	flex-shrink: 0;
	width: 35%;
}

.section-message .message-image-inner{
	width: 100%;
	padding-top: calc(100% / 4 * 3);
	position: relative;
}

.section-message .message-image-inner img{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media(max-width: 750px){
	.section-message .message{
		flex-direction: column-reverse;
	}
	
	.section-message .message-texts{
		width: 100%;
		font-size: 0.85em;
	}
	
	.section-message .message-texts-name{
		font-size: 125%;
	}
	
	.section-message .message-image{
		width: 100%;
	}
	
	.section-message .message-image-inner{
		padding-top: calc(100% / 16 * 9);
	}
}

/* section-profile */
.section-profile .profile-table th{
	width: 25%;
}

@media(max-width: 750px){
	.section-profile .profile-table{
		font-size: 0.9em;
	}
	.section-profile .profile-table th,
	.section-profile .profile-table td{
		padding: 1em 0.5em;
	}
	
	.section-profile .profile-table th{
		width: 6.5em;
	}
}

/* section-history */
.section-history .history-table th{
	width: 25%;
}

@media(max-width: 750px){
	.section-history .history-table{
		font-size: 0.9em;
	}
	.section-history .history-table th,
	.section-history .history-table td{
		padding: 1em 0.5em;
	}
	
	.section-history .history-table th{
		width: 4.5em;
	}
}

/* section-access */
.section-access .access-item{
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	flex-wrap: nowrap;
	margin-bottom: 5em;
}

.section-access .access-image{
	width: calc(35% - 1em);
}

.section-access .access-image-inner{
	width: 100%;
	height: 0;
	padding-top: calc(100% / 5 * 3);
	position: relative;
}

.section-access .access-image-inner img{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.section-access .access-info{
	width: calc(30% - 1em);
}

.section-access .access-title{
	font-size: 120%;
	margin: 0.5em 0 1em;
}

.section-access .access-text{
	margin: 1em 0;
}

.section-access .access-map{
	width: calc(35% - 1em);
}

.section-access .access-map-inner{
	width: 100%;
	height: 0;
	padding-top: calc(100% / 5 * 3);
	position: relative;
}

.section-access .access-map-inner iframe{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

@media(max-width: 750px){
	.section-access .access-item{
		flex-wrap: wrap;
		margin-bottom: 3em;
	}
	
	.section-access .access-image{
		order: 2;
		width: calc(100% / 2 - 1%);
	}
	
	.section-access .access-info{
		order: 1;
		width: 100%;
		font-size: 0.85em;
	}
	
	.section-access .access-title{
		margin: 0 0 0.5em;
	}
	
	.section-access .access-map{
		order: 3;
		width: calc(100% / 2 - 1%);
	}
}


.relatedCompany{
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	width: 100%;
	margin: 0 auto;
}

.relatedCompanyItem{
	max-width: calc((100% - 3em) * 0.5);
}

.relatedCompanyTitle{
	display: flex;
	align-items: baeline;
	justify-content: flex-start;
	gap: 0.25em;
	color: var(--themeColor);
	font-weight: var(--fontWeightBold);
	font-size: 125%;
	margin: 0 0 0.5em;
}

.relatedCompanyTitle:before{
	content: "■";
	color: var(--themeColor);
}

.relatedCompanyTable{
	margin: 0;
}

.relatedCompanyList{
	max-width: calc((100% - 3em) * 0.5);
}

@media(max-width: 750px){
	.relatedCompany{
		flex-direction: column;
		align-items: flex-start;
		justify-content: flex-start;
		gap: 2em;
	}
	.relatedCompanyItem{
		width: 100%;
		max-width: 100%;
	}
	.relatedCompanyList{
		width: 100%;
		max-width: 100%;
	}
}

