@charset "utf-8";
/* staff.css
-------------------------------------- */

/* staff_top
-------------------------------------- */

.staff_top {
	margin: 0 auto 0;
}

#main>.subpage>.staff_top>h3 {
	border-bottom: none!important;
	padding-bottom: 0!important;
}

@media all and (max-width:769px) {
	.staff_top {
		padding-bottom: 3em;
	}
}

/* staff_list
-------------------------------------- */

.staff_list, .staff_item {
	width: 100%;
	margin: 0 auto;
	padding-bottom: 8rem;
	border-bottom: solid 0.1rem #e6eaea;
}

.staff_list>h3 {
	max-width: 1200px;
	width: 90%;
	text-align: center;
	font-size: 2rem;
	padding: 0.8em;
	border-top: 1px dashed #e6eaea;
	border-bottom: 1px dashed #e6eaea;
	margin: 50px auto 50px;
	font-weight: bold;
}

.staff_list>h4 {
	text-align: center;
	font-size: 2.2rem;
	font-weight: bold;
	margin-bottom: 40px;
}

.staff_list>p {
	font-size: 2.4rem;
	text-align: center;
	font-weight: bold;
	margin-bottom: 60px;
}

.staff_list>ul {
	max-width: 960px;
	width: 90%;
	margin: auto;
	display: flex;
	justify-content: flex-start;
	flex-wrap: wrap;
}

.staff_list>ul>li {
	width: 30%;
	margin-right: 4.95%;
	margin-bottom: 40px;
}

.staff_list>ul>li:nth-of-type(3n) {
	margin-right: 0;
}

.staff_list>ul>li>a {
	display: block;
	width: 100%;
	height: 0;
	padding-top: 100%;
	position: relative;
	overflow: hidden;
	z-index: 1;
	margin-bottom: 10px;
}

.staff_list>ul>li>a>img {
	position: absolute;
	top: -50%;
	bottom: -50%;
	left: -50%;
	right: -50%;
	width: auto;
	max-width: 103%;
	height: auto;
	min-height: 100%;
	margin: auto;
	transition: .3s ease-in-out;
}

.staff_list>ul>li>a:hover>img {
	transform: scale(1.1);
}

.staff_list>ul>li>div {
	width: 100%;
	position: relative;
}

.staff_list>ul>li>div>p {
	font-size: 1.2rem;
	margin-bottom: 0;
}

.staff_list>ul>li>div>h4 {
	font-size: 2.2rem;
	font-weight: bold;
	height: 7rem;
}

.staff_list>ul>li>div>a {
	display: block;
	width: 90px;
	font-size: 1.1rem;
	padding: 0.5em 0.8em;
	border: 1px solid #5a5a5a;
	border-radius: 30px;
	position: absolute;
	right: 0;
	bottom: 0;
	text-align: center;
	display: flex;
	justify-content: space-between;
	align-items: center;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all  0.3s ease;
}

.staff_list>ul>li>div>a:hover {
	background-color: #73c8b2;
	border: 1px solid #73c8b2;
	color: #fff;
	padding: 0.5em 0.5em 0.5em 0.8rem;
}

@media all and (max-width:769px) {
	.staff_list>h3 {
		font-size: 1.8rem;
	}

	.staff_list>p {
		font-size: 1.6rem;
		margin-bottom: 60px;
	}
	.staff_list>ul>li {
		width: 49%;
		margin-right: 2%;
		margin-bottom: 40px;
	}
	.staff_list>ul>li:nth-of-type(3n) {
		margin-right: 2%;
	}
	.staff_list>ul>li:nth-of-type(2n) {
		margin-right: 0;
	}
	.staff_list>ul>li>div {
		display: flex;
		flex-direction: column-reverse;
	}
	.staff_list>ul>li>div>p {
		text-align: center;
	}
	.staff_list>ul>li>div>h4 {
		text-align: center;
		font-size: 1.8rem;
	}
	.staff_list>ul>li>div>a {
		display: none;
	}
	.staff_list>ul>li>a:hover>img {
		transform: scale(1);
	}
}

/* staff_item シングル表記用
-------------------------------------- */

.staff_item {
	margin-bottom: 40px;
}

.staff_item>.inner {
	max-width: 1100px;
	width: 90%;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
}

.staff_item>.inner>div {
	width: 40%;
	margin-right: 5%;
}
.staff_item>.inner>div p {
	line-height: 2.9rem;
}
.staff_item>.inner>div>h4, .staff_item>h4 {
	width: 100%;
	font-size: 1.6rem;
	font-weight: bold;
	text-align: center;
	padding: 0.8em;
	border-top: 1px dashed #e6eaea;
	border-bottom: 1px dashed #e6eaea;
	margin: 0 auto 40px;
}

.staff_item>.inner>div>small {
	display: block;
	font-size: 1.4rem;
	text-align: center;
	margin-bottom: 1.2em;
}

.staff_item>.inner>div>h5 {
	font-size: 3.2rem;
	font-weight: bold;
	text-align: center;
	margin-bottom: 1.2em;
}

.staff_item>.inner>div>dl {
	width: 100%;
}

.staff_item>.inner>div>dl>dt {
	font-size: 2.5rem;
	font-weight: bold;
	margin-bottom: 1.2em;
}
.staff_item>.inner>div>dl>dd {
	line-height: 2.9rem;
}
.staff_item>.inner>div>h6 {
	font-size: 1.4rem;
	font-weight: bold;
	padding-bottom: 0.3em;
	border-bottom: 1px dashed #e6eaea;
	margin-bottom: 1em;
}

/* 画像側 */

.staff_item>.inner>ul {
	width: 55%;
	margin-bottom: 40px;
}

.staff_item>.inner>ul>li {
	width: 100%;
}

.staff_item>.inner>ul.sub_img {
	width: 55%;
	display: flex;
	justify-content: space-between;
	margin-bottom: 0;
}

.staff_item>.inner>ul.sub_img>li {
	width: calc((100% - 40px) / 2);
}

.staff_item>a.button {
	margin: 60px auto;
}

@media all and (max-width:769px) {
	.staff_item {
		border-bottom: none;
		margin-bottom: 20px;
	}
	.staff_item>.inner {
		width: 100%;
		flex-direction: column-reverse;
	}
	.staff_item>.inner>div {
		width: 90%;
		margin-right: 0;
		margin: 0 auto 40px;
	}
	.staff_item>.inner>div>h4, .staff_item>h4 {
		margin: 0 auto;
	}
	.staff_item>.inner>div>h5 {
		font-size: 2.5rem;
	}
	.staff_item>.inner>div>dl>dt {
		font-size: 1.8rem;
	}
	.staff_item>.inner>ul {
		width: 100%;
		margin-bottom: 40px;
	}
	.staff_item>.inner>ul.sub_img {
		width: 90%;
		margin-bottom: 0;
		margin: 0 auto 40px;
	}
	.staff_item>.inner>ul.sub_img>li {
		width: calc((100% - 10px) / 2);
	}
	.staff_item>a.button {
		margin: 20px auto;
	}
}
