@charset "UTF-8";
/* ----関数設定---- */
/* ----------------------------------------------------------------------
office
---------------------------------------------------------------------- */
#office p {
	line-height: 2;
	letter-spacing: 0.1em;
	margin-bottom: 3rem;
	font-weight: 400;
}
#office p:last-child {
	margin-bottom: 0;
}
#office .text_red {
	color: var(--color-red);
}
#office .lead_text {
	font-size: max(2rem, 18px);
	font-weight: 700;
	letter-spacing: 0.1em;
	margin-bottom: 3rem;
	line-height: 2;
	color: var(--color-blue);
	text-align:center;
}
#office .msg_flex {
	display: flex;
	flex-wrap:wrap;
	justify-content:center;
	gap: 4rem;
}
#office .msg_text{
	order:2;
}
#office .msg_flex .pic_area {
	width: 70%;
	flex-shrink: 0;
	order:1;
}
#office .msg_flex .pic_area picture {
	width: 100%;
	display: block;
	margin-bottom: 1.6rem;
}
#office .msg_flex .pic_area picture img {
	border-radius: 8px;
	width: 100%;
	object-fit: cover;
}
#office .msg_flex .pic_area .ceo_name {
	text-align: center;
	font-weight: 400;
	line-height: 1.6;
	color: #333;
}
#office .column_list {
	display: flex;
	gap: 2rem;
	flex-wrap: wrap;
}
#office .column_list li {
	width: calc((100% - 4rem) / 3);
	padding: 7.5rem 2.5rem 4.5rem;
	background-color: #f2f2f2;
	border-radius: 8px;
}
#office .column_list li .list_title {
	font-size: max(2rem, 18px);
	color: var(--color-red);
	font-weight: 700;
	margin-bottom: 3.5rem;
	text-align: center;
}
#office .row_list li {
	display: flex;
	gap: 2rem;
	padding: 3rem 4rem;
	background-color: #f2f2f2;
	border-radius: 8px;
	margin-bottom: 2rem;
}
#office .row_list li:last-child {
	margin-bottom: 0;
}
#office .row_list li .list_title {
	width: 26%;
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	color: var(--color-red);
	font-size: max(1.8rem, 18px);
	font-weight: 700;
}
#office .row_list li .list_title .sub_en {
	font-size: max(1.6rem, 14px);
	font-family: "EB Garamond", serif;
	margin-top: 1rem;
	display: block;
	font-weight: 400;
}
#office .table_box .tr {
	display: flex;
	border-bottom: 1px solid #ccc;
}
#office .table_box .tr:first-of-type {
	border-top: 1px solid #ccc;
}
#office .table_box .th, #office .table_box .td {
	padding: 3rem 1.5rem;
	line-height: 1.5;
	letter-spacing: 0.1em;
}
#office .table_box .th {
	width: 30%;
	font-weight: 700;
	text-align: center;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}
#office .table_box .td {
	font-weight: 400;
}
#office .service_list li {
	margin-bottom: 2rem;
}
#office .service_list li:last-child {
	margin-bottom: 0;
}
#office .service_list li a {
	display: block;
	padding: 4.2rem 9rem 4rem 4rem;
	background-color: #f2f2f2;
	border-radius: 8px;
	position: relative;
}
#office .service_list li a::after {
	content: "";
	height: 22px;
	width: 21px;
	position: absolute;
	right: 4rem;
	top: 50%;
	transform: translatey(-50%);
	background-image: url("../images/arrow_r.svg");
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
}
#office .service_list li a .label {
	font-weight: 700;
	font-size: max(1.8rem, 18px);
	color: var(--color-red);
	margin-bottom: 1.5rem;
}
@media (hover: hover) and (pointer: fine) {
	#office .service_list li a::before {
		content: "";
		width: 0%;
		height: 100%;
		position: absolute;
		top: 0;
		left: 0;
		background-color: rgba(0, 0, 0, 0.0392156863);
		transition: width 0.3s;
	}
	#office .service_list li a:hover::before {
		width: 100%;
		transform-origin: left;
	}
}
#office .map_wrapper {
	width: 100%;
	aspect-ratio: 100/36;
	border-radius: 8px;
	border: 3px solid var(--color-blue);
	overflow: hidden;
	margin-bottom: 2rem;
}
#office .map_wrapper iframe {
	width: 100%;
	height: 100%;
}
#office .address {
	line-height: 1.5;
}
@media screen and (max-width: 1024px) {
	#office .column_list li {
		width: calc((100% - 2rem) / 2);
	}
	#office .row_list li {
		flex-direction: column;
	}
	#office .row_list li .list_title {
		width: 100%;
	}
}
@media screen and (max-width: 820px) {
	#office p {
		letter-spacing: 0.075em;
		line-height: 1.8;
	}
	#office .lead_text {
		line-height: 1.8;
	}
	#office .lead_text br {
		display: none;
	}
	#office .column_list li {
		padding: 6rem 3.5rem 4.5rem;
	}
	#office .row_list li {
		padding: 5rem 4rem 4rem;
	}
}
@media screen and (max-width: 520px) {
	#office p {
		font-size: 14px;
		margin-bottom: 2rem;
	}
	#office .lead_text {
		font-size: max(1.6rem, 16px);
		line-height: 1.6;
	}
	#office .msg_flex {
		gap: 3rem;
	}
	#office .msg_flex .pic_area {
		width: 100%;
	}
	#office .msg_flex .pic_area picture {
		width: 100%;
		margin-inline: auto;
		margin-bottom: 1rem;
	}
	#office .msg_flex .pic_area .ceo_name {
		font-size: 14px;
		line-height: 1.6;
	}
	#office .column_list {
		flex-direction: column;
	}
	#office .column_list li {
		width: 100%;
		padding: 3rem 3rem;
	}
	#office .column_list li .list_title {
		margin-bottom: 1.5rem;
		font-size: max(1.8rem, 18px);
	}
	#office .table_box .tr {
		flex-direction: column;
	}
	#office .table_box .th {
		padding-bottom: 0;
		padding-left: 0;
		justify-content: flex-start;
		padding: 15px 0 0 0;
	}
	#office .table_box .td {
		padding: 8px 0 15px;
	}
	#office .service_list li a {
		padding: 3rem 5rem 3rem 3rem;
	}
	#office .service_list li a::after {
		right: 15px;
	}
	#office .row_list li {
		padding: 3rem 3rem;
	}
	#office .map_wrapper {
		aspect-ratio: 5/4;
	}
}