/* CSS Document */



#expert {}
#expert .inner {
	max-width: 1100px;
}
#expert .lead {
	font-size: 110%;
	line-height: 1.8em;
	text-align: center;
	margin: 80px 0;
}

#expert .info {
	max-width: 640px;
	margin: auto;
  border: 1px solid #ccc;
  padding: 20px 40px;
  box-sizing: border-box;
	position: relative;
}
#expert .info h3 {
	position: absolute;
  top: -15px;
  left: 40px;
  background: #fff;
}
#expert .info address {
	line-height: 1.6;
}
#expert .info address .tel,
#expert .info address .mail {
	margin: 0 0 0 10px;
}
#expert .info address .tel {
	margin-top: 10px;
}
#expert .info address span {
	font-size: 90%;
}
#expert .link {
  line-height: 1.4;
  max-width: 1360px;
  margin: 40px auto 0;
	padding: 0 20px;
	box-sizing: border-box;
	display: flex;
  justify-content: space-between;
	flex-direction: row-reverse;
}
#expert .link .return a {
	display: flex;
	gap: 5px;
}
#expert .link .return a::after {
  content: url("../img/return.svg");
	width: 15px;
	position: relative;
  top: 2px;
}
#expert .link a {
	text-decoration: underline;
}



#expert #search {
	margin: 15px 0 0;
	padding: 20px;
	background: rgba(238, 238, 238,.97);
	/*position: sticky;*/
  z-index: 9;
  top: 60px;
}
#expert #search h2 {
	font-size: 110%;
	display: flex;
  align-items: center;
	flex-direction: column;
	margin: 0 0 20px;
}
#expert #search h2 span {
	font-size: 80%;
	font-weight: 400;
}
#expert #search form {
	display: flex;
	flex-direction: column;
	gap: 8px;
	position: relative;
}
#expert #search form .searchBox {
	width: 100%;
	max-width: 1360px;
  margin: auto;
}
#expert #search form .searchBox h3 {
	font-size: 110%;
  line-height: 1.4;
  background: #ccc;
  padding: 2px 10px 4px;
}
#expert #search form .searchBox .box {
	line-height: 1.4;
	letter-spacing: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 15px 20px 15px 30px;
}
#expert #search form .searchBox .box p {
	font-weight: 500;
	width: 260px;
	margin: 5px 0 0;
}
#expert #search form .searchBox .box ul {
	width: calc(100% - 260px - 10px);
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
}
#expert #search form .searchBox .box ul li.all {
	position: absolute;
  top: 40px;
  left: -125px;
}
#expert #search form .searchBox .box ul li input[type="radio"],
#expert #search form .searchBox .box ul li input[type="checkbox"] {
	display: none;
}
#expert #search form .searchBox .box ul li label {
	text-indent: -1em;
	background: #fff;
  padding: 6px 5px 8px 1.5em;
  border-radius: 3px;
	display: flex;
	flex-direction: column;
	gap: 3px;
	width: 200px;
	height: 100%;
  box-sizing: border-box;
}
#expert #search form .searchBox .box ul li label span {
	font-size: 85%;
	line-height: 1.3;
	display: inline-block;
}
#expert #search form .searchBox .box ul li label:hover {
	cursor: pointer;
	background: #fff8d0;
}
#expert #search form .searchBox .box ul li input[type="radio"]:checked ~ label,
#expert #search form .searchBox .box ul li input[type="checkbox"]:checked ~ label {
	font-weight: 500;
	color: #fff;
	background: #b31433;
}



#expert .advisor {
	padding: 80px 40px;
}
#expert .advisor #resultCount {
	font-weight: 500;
	text-align: center;
	margin: 0 0 40px;
}
#expert .advisor #grid {
	display: grid;
  grid-template-columns: repeat(auto-fit, 680px);
  gap: 30px;
  justify-content: center;
	align-items: flex-start;
	visibility: hidden;
}
#expert .advisor #grid li.flt {
  transition: opacity 0.25s ease;
	padding: 20px 25px;
	box-sizing: border-box;
	border-radius: 5px;
	background: #fff;
	filter: drop-shadow(2px 2px 4px rgba(0,0,0,.3));
}
#expert .advisor #grid li.flt.hidden {
  position: absolute;
  opacity: 0;
  pointer-events: none;
	width: auto;
}



#expert .advisor #grid li.flt h4 {
	font-size: 130%;
	line-height: 1.2;
}
#expert .advisor #grid li.flt h4 span {
	font-size: 80%;
	letter-spacing: 0;
}
#expert .advisor #grid li.flt .profile {
	font-size: 90%;
	line-height: 1.6;
	letter-spacing: 0;
	display: flex;
	gap: 15px;
  margin: 15px 0 0;
}
#expert .advisor #grid li.flt .profile .photo {
	flex-shrink: 0;
}
#expert .advisor #grid li.flt .profile .photo img {
	aspect-ratio: 4/5;
	width: 100%;
	max-width: 120px;
	object-fit: cover;
}
#expert .advisor #grid li.flt .profile .box {
	width: 100%;
}

#expert .advisor #grid li.flt .profile .position {
	display: flex;
	gap: 5px;
	min-height: 70px;
}
#expert .advisor #grid li.flt .profile .position h5 {
	line-height: 1.2;
	flex-shrink: 0;
	background: #DAF2D0;
	padding: 5px 10px;
}
#expert .advisor #grid li.flt .profile .position ul {
	padding: 5px 5px 5px 1.5em;
	list-style: circle;
	width: 100%;
	display: flex;
  flex-direction: column;
  gap: 5px;
}
#expert .advisor #grid li.flt .profile .position ul li {
	line-height: 1.2;
}
#expert .advisor #grid li.flt .profile .position ul li span {
	font-size: 90%;
}
#expert .advisor #grid li.flt .profile .table {
	line-height: 1;
	width: 100%;
	margin: 10px 0 2px;
}
#expert .advisor #grid li.flt .profile .table th,
#expert .advisor #grid li.flt .profile .table td {
	border: 1px solid #ccc;
	padding: 5px 0;
}
#expert .advisor #grid li.flt .profile .table th {
	font-weight: normal;
	text-align: center;
	background: #CAEDFB;
}
#expert .advisor #grid li.flt .profile .table th:nth-of-type(2){ width: 50px;}
#expert .advisor #grid li.flt .profile .table th:nth-of-type(3){ width: 50px;}
#expert .advisor #grid li.flt .profile .table th:nth-of-type(4){ width: 60px;font-size: 90%}
#expert .advisor #grid li.flt .profile .table th:nth-of-type(5){ width: 60px;font-size: 90%}
#expert .advisor #grid li.flt .profile .table td:nth-of-type(5){ font-size: 90%;}
#expert .advisor #grid li.flt .profile .table td {
	line-height: 1.4;
}
#expert .advisor #grid li.flt .profile .table td:first-of-type {
	text-indent: -1em;
	padding-left: 1.5em;
}
#expert .advisor #grid li.flt .profile .table td:not(:first-of-type) {
	text-align: center;
	vertical-align: middle;
}
#expert .advisor #grid li.flt .profile .note {
	font-size: 90%;
	text-align: right;
}
#expert .advisor #grid li.flt .profile2 {
	font-size: 95%;
	/*line-height: 1.8;*/
	letter-spacing: 0;
	margin: 10px 0 0;
}
#expert .advisor #grid li.flt .profile2 h5 {
	background: #eee;
	padding: 3px 10px;
	position: relative;
	cursor: pointer;
}
#expert .advisor #grid li.flt .profile2 h5:hover { background: #ffd5b6;}
#expert .advisor #grid li.flt .profile2 h5.active { background: #ffd5b6;}
#expert .advisor #grid li.flt .profile2 h5::before {
	content: '＋';
	line-height: 1;
	position: absolute;
	top: 7px;
  right: 10px;
}
#expert .advisor #grid li.flt .profile2 h5.active::before {
  content: '－';
}
#expert .advisor #grid li.flt .profile2 h5 + div {
	padding: 10px 5px;
	text-align: justify;
	/*display: none;*/
}


#expert .advisor #grid li.flt ul.tags {
	/*display: flex;*/
	display: none;
	flex-wrap: wrap;
	gap: 4px;
}
#expert .advisor #grid li.flt ul.tags li {
	font-size: 75%;
	font-weight: 400;
  line-height: 1.2;
	color: #666;
  padding: 3px 4px;
	background: #eee;
  border-radius: 3px;
}
#expert .advisor #grid li.flt ul.tags li span {
	display: none;
}






@media screen and (max-width: 480px) {
  
	#expert .lead {
		font-size: 100%;
		text-align: justify;
		margin: 30px 20px;
	}
	
	#expert .info {
		padding: 20px 15px;
		margin: 40px 20px;
	}
	#expert .info h3 {
		top: -12px;
		left: 50%;
		transform: translateX(-50%);
	}
	#expert .info address {
		line-height: 1.4;
	}
	#expert .info address span {
		display: inline-block;
	}
	#expert .info address .tel {
		margin: 10px 0 0;
	}
	#expert .info address .mail {
		margin: 0 0 10px;
	}
	
	#expert #search form .searchBox .box {
		flex-direction: column;
		margin: 10px;
	}
	#expert #search form .searchBox .box ul {
		width: 100%;
	}
	#expert #search form .searchBox .box ul li {
		width: 100%;
	}
	#expert #search form .searchBox .box ul li label {
		width: 100%;
		gap: 2px;
	}
	#expert #search form .searchBox .box ul li label:hover {
		background: #fff;
	}
	#expert #search form .searchBox .box ul li label span {
		font-size: 65%;
		line-height: 1.2;
		margin-left: 10px;
	}
	#expert #search form .searchBox.search2 {
		margin-top: 20px;
	}
	#expert #search form .searchBox.search2 .box ul li {
		width: calc(33.3% - 4px);
	}
	
	
	#expert .advisor {
		padding: 40px 15px;
	}
	#expert .advisor #grid {
		display: flex;
    flex-direction: column;
	}
	#expert .advisor #grid li.flt {
		width: 100%;
		padding: 20px 10px;
		filter: unset;
    border: 2px solid #ddd;
		border-radius: 10px;
		position: relative;
	}
	#expert .advisor #grid li.flt h4 {
		font-size: 120%;
    display: flex;
    flex-direction: column;
    gap: 5px;
		height: 100px;
    padding: 25px 110px 0 20px;
    box-sizing: border-box;
	}
	#expert .advisor #grid li.flt .profile {
		font-size: 80%;
		margin: 0;
	}
	#expert .advisor #grid li.flt .profile .photo {
		width: 90px;
    position: absolute;
    right: 25px;
    top: 15px;
	}
	#expert .advisor #grid li.flt .profile .position {
		flex-direction: column;
	}
	#expert .advisor #grid li.flt .profile .position ul {
		width: auto;
		margin-left: 10px;
	}
	#expert .advisor #grid li.flt .profile .table th {
		padding: 5px 0;
	}
	#expert .advisor #grid li.flt .profile .table th:nth-of-type(2) { width: 35px;}
	#expert .advisor #grid li.flt .profile .table th:nth-of-type(3) { width: 35px;}
	#expert .advisor #grid li.flt .profile .table th:nth-of-type(4) { width: 45px;}
	#expert .advisor #grid li.flt .profile .table th:nth-of-type(5) { width: 45px;}
	#expert .advisor #grid li.flt .profile .table td:nth-of-type(5) { font-size: 85%;}
	#expert .advisor #grid li.flt .profile .table td {
		line-height: 1.2;
	}
	#expert .advisor #grid li.flt .profile2 h5 {
		border-radius: 5px;
	}
	#expert .advisor #grid li.flt .profile2 h5 + div {
		font-size: 95%;
	}

	
	
	
	
	
	
	
	/*
	#expert #search {
		gap: 10px;
		padding: 15px 10px;
		position: static;
	}
	#expert #search h2 {
		font-size: 105%;
		line-height: 1.6;
		text-align: center;
    margin: 0 0 5px;
	}
	#expert #search form {
		gap: 10px;
	}
	#expert #search form .searchBox .box ul li label {
		font-size: 85%;
		padding: 8px 5px;
		min-width: 25px;
	}
	#expert #search form .searchBox .box ul li label:hover {
		background: #fff;
	}
	#expert #search form .searchBox .box ul li.all {
		position: static;
	}
	
	
	
	#expert .advisor {
		padding: 40px 10px;
	}
	#expert .advisor #grid {
		display: flex;
    flex-wrap: wrap;
		justify-content: flex-start;
		gap: 10px;
	}
	#expert .advisor #grid li.flt {
		width: calc(50% - 5px);
		padding: 0;
		margin: 0 0 30px;
	}
	#expert .advisor #grid li.flt h3 {
		font-size: 95%;
		margin: 10px 0;
	}
	#expert .advisor #grid li.flt ul.tags li {
		font-size: 70%;
		padding: 2px 3px;
	}*/
	
	
	
	
	
	
	
	
	
	
	
	
}
