@charset "utf-8";

.hdm {
	margin-bottom: 30px;
}

.dep_box + .dep_box{
	margin-top: 40px;
}

/* office top
----------------------------------------------- */
.office_top .contents {
	padding: 30px 0 60px;
}


.office_menu{
	margin-bottom: 30px;
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	@media (max-width: 767px) {
		grid-template-columns: repeat(3, 1fr);
	}
	gap:5px;
}

.office_menu li{
	height: 100%;
}

.office_menu li a {
	border: 1px #00B0AA solid;
	padding: 10px 5px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.5;
	height: 100%;
	display: grid;
	place-content: center;
	text-align: center;
	
	/*SP*/
	@media (max-width: 767px) {
		font-size: 10px;
	}
}

.office_menu li:last-child a{
	height: 100%;
}

.office_menu li.active a{
	background-color: #00B0AA;
	color:#fff;
}

.office_type {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -20px 15px 0;
}
.office_type li {
	margin: 0 20px 15px 0;
}
.office_type li a {
	display: block;
	border: 1px #ccc solid;
	padding: 10px 30px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.5;
	-webkit-border-radius: 30px;
	-moz-border-radius: 30px;
	-ms-border-radius: 30px;
	-o-border-radius: 30px;
	border-radius: 30px;
}
.office_type li.current a,
.office_type li a:hover {
	background: #00B0AA;
	border: 1px #00B0AA solid;
	color: #fff;
}
@media (max-width: 767px) {
.office_type {
	justify-content: center;
	margin: 0 0 15px;
}
.office_type li {
	margin: 0 3px 15px;
}
.office_type li a {
	padding: 6px 15px;
}
}

.office_link {
	display: flex;
	justify-content: center;
	width: 100%;
	max-width: 350px;
	margin: 0 auto 60px;
}
.list_bt{	
	max-width: 400px !important;
}


.chi_teaser .office_link{
	margin-bottom: 0;
}


.office_link a {
	width: 100%;
	border: 2px #00B0AA solid;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	position: relative;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	-ms-border-radius: 10px;
	-o-border-radius: 10px;
	border-radius: 10px;
	overflow: hidden;
}
.office_link a:before {
	position: absolute;
	content: "";
	background: #00B0AA;
	left: 50%;
	top: 50%;
	transform: translate(-50%,-50%);
	width: 0;
	height: 0;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	-ms-border-radius: 50%;
	-o-border-radius: 50%;
	border-radius: 50%;
	transition: all 0.3s !important;
	-moz-transition: all 0.3s !important; /* Firefox */
	-webkit-transition: all 0.3s !important; /* Chrome&Safari */
	z-index: 0;
}
.office_link a:hover:before {
	width: 400px;
	height: 400px;
	transition: all 0.3s !important;
	-moz-transition: all 0.3s !important; /* Firefox */
	-webkit-transition: all 0.3s !important; /* Chrome&Safari */
}
.office_link .txt {
	color: #172932;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.5;
	padding: 15px 25px 15px 15px;
	position: relative;
	z-index: 1;
}
.office_link .txt:before {
	position: absolute;
	font-family: saisan;
	content:"\e86b";
	font-size: 20px;
	line-height: 1;
	height: 100%;
	display: flex;
	align-items: center;
	right: 0;
	top: 0;
	z-index: 1;
}
.office_link a:hover .txt {
	color: #fff;
}

.office_result {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: stretch;
	margin-bottom: -40px;
}
.office_result > * {
	width: calc((100% - 20px)/2);
	margin: 0 0 40px;
	background: #fff;
	padding: 20px;
	box-shadow: 0 0 8px rgba(0,0,0,0.25);
	border-radius: 5px;
}
.office_result ._tit {
	border-bottom: 1px #172932 solid;
	padding: 0 10px 15px;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.5;
	margin-bottom: 20px;
}
.office_result ._addr {
	font-size: 15px;
	line-height: 1.65;
	/* margin-bottom: 20px; */
}
.office_result ._other li {
	display: flex;
	align-items: center;
	font-weight: 700;
	line-height: 1.5;
}
.office_result ._other li+li {
	margin-top: 10px;
}
.office_result ._other ._subt {
	width: 88px;
	flex-shrink: 0;
}
.office_result ._other ._txt {
	flex: 1;
}

@media (max-width: 767px) {
.office_result {
	display: block;
	margin: 0 0 -30px;
}
.office_result > * {
	width: auto;
	margin: 0 0 30px;
}
.office_result ._other ._subt {
	width: 82px;
}
}

.anchor_box{
	padding-bottom: 30px;
}

.anchor_box ul{
	display: flex;
	flex-wrap: wrap;
	gap: 1em;
	/*SP*/
	@media (max-width: 767px) {
		font-size: 13px;
	}
}

.anchor_box a{
	display: inline-block;
	padding: .5em 1.5em .5em 0;	
	position: relative;
}

.anchor_box a:after {
	font-family: saisan;
	content: "\e86b";
	position: absolute;
	top: 50%;
	right: 0;
	transform: translateY(-50%) rotate(90deg);
}

/* =====================================================================
.tb_office
======================================================================== */
.tb_office{
	margin-top: 10px;
	width: 100%;
	line-height: 1.4;
}

.tb_office th{
	border: 1px #B1C1CA solid;
	padding: 15px 25px;
	background-color: rgba(204,239,238,0.6);
	@media (max-width: 767px) {
		padding: 10px;		
	}
}

.tb_office td{
	border: 1px #B1C1CA solid;
	padding: 15px 25px;
	@media (max-width: 767px) {
		padding: 10px;		
	}
}

.tb_office tr > *:first-child {
	width: 45%;
}

