@charset "utf-8";

h3 {
	position: relative;
	margin: 50px 0 15px;
}

h3::before {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 1em;
	height: 1px;
	background: #aaa;
}

@media (1281px <= width) {
	h3 {
		padding-bottom: 5px;
		font-size: 24px;
	}
}

@media (769px <= width <= 1280px) {
	h3 {
		font-size: 20px;
	}
}

@media (width <= 768px) {
	h3 {
		padding-bottom: 2px;
		font-size: 16px;
	}
}

/*----------------------------------------------------------------------> ▼ .message <----------*/

.message h3 {
	margin: 0;
}

.message h3::before {
	display: none;
}

.message .portrait img.photo {
	border-radius: var(--border_radius);
}

.message img.title {
	height: 20px;
}

.message img.name {
	height: 40px;
}

.message .portrait li:last-of-type {
	font-family: 'Montserrat';
	color: #aaa;
	letter-spacing: 0.125em;
}

@media (1025px <= width) {
	.message .text {
		width: calc(100% - 250px);
	}

	.message .portrait {
		width: 250px;
	}
}

@media (769px <= width <= 1024px) {
	.message .text {
		width: calc(100% - 200px);
	}

	.message .portrait {
		width: 200px;
	}
}

@media (769px <= width) {
	.message .text {
		padding-right: 50px;
	}

	.message .text p {
		margin-top: 1em;
	}
	
	.message .portrait li {
		text-align: center;
	}
	
	.message .portrait li:nth-of-type(n + 2) {
		padding-top: 10px;
	}

	.message .portrait li:last-of-type {
		font-size: 14px;
	}
}

@media (width <= 768px) {
	.message {
		display: flex;
		flex-wrap: wrap;
	}
	
	.message .portrait {
		display: flex;
		align-items: flex-start;
		margin-top: 30px;
	}
	
	.message .portrait ul {
		padding: 100px 0 0 30px;
	}
	
	.message .text,
	.message .portrait,
	.message .portrait li {
		width: 100%;
		padding: 0;
	}
	
	.message .portrait img.photo {
		width: 200px;
	}
	
	.message img.name {
		height: 35px;
	}
	
	.message .portrait li:last-of-type {
		font-size: 13px;
	}
}

@media (width <= 500px) {
	.message .portrait img.photo {
		width: 35%;
	}
	
	.message .portrait ul {
		padding: 50px 0 0 15px;
	}
}

/*----------------------------------------------------------------------> ▼ .profile <----------*/

.group_company a {
	display: inline-block;
	text-decoration: underline;
}

/*----------------------------------------------------------------------> ▼ .office_list <----------*/

.office_list {
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 15px;
}

.office_list > li {
	position: relative;
	padding: 15px;
	border-left: 5px solid var(--blue);
	border-top-right-radius: var(--border_radius);
	border-bottom-right-radius: var(--border_radius);
	background: #f0f0f0;
}

.office_detail li,
.office_detail a:not(.map) {
	line-height: 1.4em;
	font-size: ;
}

.office_list .map_link {
	position: absolute;
	top: 15px;
	right: 15px;
	padding: 0 7px 1px;
	border-radius: 3px;
	border: 1px solid var(--blue);
	color: var(--blue);
	font-size: 13px;
}

.office_list .tel_link {
	display: none;
	position: absolute;
	bottom: 15px;
	right: 15px;
	width: 40px;
	height: 40px;
	border: 1px solid var(--blue);
	border-radius: 500px;
	background: url(/asset/image/general/tel.png) no-repeat center / 25px 25px;
}

body.en .office_detail .map {
	padding: 0 7px;
}

.office_detail .name {
	line-height: 1em;
	margin-bottom: 20px;
	padding-left: 15px;
	border-left: 5px solid var(--blue);
	color: var(--blue);
}

.office_detail .tel {
	margin-top: 10px;
}

#global_map {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	border-left: 5px solid var(--orange);
	border-radius: 0 var(--border_radius) var(--border_radius) 0;
}

@media (width <= 500px) {
	.office_list .map_link {
		padding: 0 7px 1px;
		background: var(--blue);
		color: #fff;
		font-size: 12px;
	}
}

@media (501px <= width) {
	.office_list > li {
		width: calc((100% - 15px) / 2);
	}

	.office_list > li:nth-child(2n) {
		margin-left: 15px;
	}
	
	.office_list > li:nth-child(n + 3) {
		margin-top: 15px;
	}
}

@media (width <= 500px) {
	.office_list > li {
		width: 100%;
	}
	
	.office_list > li:nth-child(n + 2) {
		margin-top: 15px;
	}

	.office_detail * {
		font-size: 13px;
	}
	
	.office_list .tel_link {
		display: block;
	}
	
	#global_map {
		aspect-ratio: 1 / 1.5;
	}
}

@media (hover: hover) and (pointer: fine) {
	a.survey:hover span {
		color: var(--orange);
	}
	
	a.survey:hover span::before {
		background: var(--orange);
	}
	
	.office_list .map_link {
		transition: var(--transition);
	}
	
	.office_list .map_link:hover {
		background: var(--blue);
		color: #fff;
	}
}