@charset "utf-8";
@import url(cmn.css);
@import url(base.css);

header ul li.nav-staff a {
	background-color: #d8feff;
	border-radius: 5px;
}
#page-tit {
	background: url(../../images/recruit/staff-images/page-bg.jpg) 100% 50% no-repeat;
}
#page-tit.staff {
	padding: 0;
	position: relative;
	container: bg-illust / inline-size;
	display: block;
}
#page-tit.staff .bg-illust {
	display: flex;
	height: calc(480px + 3.8rem);
}
#page-tit.staff .bg-illust::before {
	content: "";
	width: 100%;
	height: 100%;
	background: rgb(21 96 172 / 80%);
	position: absolute;
	top: 0;
	left: 0;
}
#page-tit.staff .bg-illust figure{
	content: "";
	display: block;
	height: 100%;
	width: calc(100%/5);
	background-repeat: no-repeat;
	background-size:cover;
	background-position: right 50% top 15px;
}
#page-tit.staff .bg-illust figure:first-child {
	background-image: url('https://www.hisada-g.co.jp/wp/wp-content/uploads/2024/04/interview01-624x401.jpg');
}
#page-tit.staff .bg-illust figure:nth-child(2) {
background-image: url('https://www.hisada-g.co.jp/wp/wp-content/uploads/2024/04/interview04-624x401.jpg');
}
#page-tit.staff .bg-illust figure:nth-child(3) {
	background-position: right 51% top 15px;
	background-image: url('https://www.hisada-g.co.jp/wp/wp-content/uploads/2024/04/interview07-624x401.jpg');
}
#page-tit.staff .bg-illust figure:nth-child(4) {
	background-position: right 45% top 15px;
	background-image: url('https://www.hisada-g.co.jp/wp/wp-content/uploads/2024/04/interview05-624x401.jpg');
}
#page-tit.staff .bg-illust figure:nth-child(5) {
	background-position: right 52% top 15px;
	background-image: url('https://www.hisada-g.co.jp/wp/wp-content/uploads/2024/04/interview03-624x401.jpg');
}
#page-tit.staff .bg-illust figure {
	position: relative;
	z-index: -1;
}
#page-tit.staff .bg-illust figure::after {
	content: "";
	display: block;
	width: 100%;
	height: 100%;
	background: rgb(21 96 172 / 100%);
	bottom: 0;
	left: 0;
	position: absolute;
	animation: bg-illust-anime .8s forwards;
}
@keyframes bg-illust-anime {
  0% {
    width: 100%;
  }
  100% {
    width: 0%;
  }
}
@container bg-illust (width < 900px){
	figure:first-child,figure:nth-child(5) {
		display: none !important;
	}
	figure {
		width: calc(100%/3) !important;
	}
}
@container bg-illust (width < 600px){
	.bg-illust {
		flex-wrap: wrap;
		max-height: 300px;
	}
	#page-tit.staff .bg-illust figure:nth-child(2) {
		background-position: right 52% top 0;
	}
	#page-tit.staff .bg-illust figure:nth-child(3) {
		background-position: right 51% top 0;
	}
	#page-tit.staff .bg-illust figure:nth-child(4) {
		background-position: right 45% top 0;
	}
	#page-tit.staff h1.wow.fadeInUp {
		top: calc(50% + .5em) !important;
	}
}
#page-tit.staff h1.wow.fadeInUp {
	position: absolute;
	top: 280px;
	left: calc(50% - 4em/2);
}

/* page-staff */
section.mb10 p.leading-text {
	text-align: center;
	line-height: 3.2;
}
section.leading {
	margin: 80px auto 100px;
}
section.leading h2 {
	color: #17498c;
	font-size: 3rem;
	position: relative;
	display: inline-block;
    margin-bottom: 80px;
}
section.leading h2::before,
section.leading h2::after{
	content: "";
	width: 2px;
	height: 100%;
	background: #1d4b8b;
	display: block;
	position: absolute;
	top: 0;
}
section.leading h2::before {
	right: -1.2em;
	transform:rotate(32deg);
}
section.leading h2::after {
	left: -1.2em;
	transform:rotate(-32deg);
}
section.leading h2 span {
	display: block;
}
section.leading ul{
	display: flex;
	justify-content: center;
	width: 100%;
	max-width: 1000px;
	margin: auto;
}
section.leading ul li{
	padding: 1em;
	font-weight: 600;
	line-height: 2;
	width: calc(100%/5);
}
section.leading ul li span {
	position: relative;
	color: #00b0c6;
	font-size: 1.9rem;
}
section.leading ul li span::before {
	content: "";
	display: block;
	width: 100%;
	height: 5px;
	position: absolute;
	left: 0;
	bottom: -.2em;
	background: #fdff3c;
	z-index: -1;
}
section.leading ul figure {
	position: relative;
	width: 90%;
	height: auto;
	aspect-ratio: 1;
    margin: auto;
}
section.leading ul figure::after {
	content: "";
	display: block;
	width: 100%;
	height: 100%;
	background: rgb(34 242 225 / 25%);
	margin-top: 1.5em;
	border-radius: 100%;
}
section.leading ul figure::before {
	content: "";
	display: block;
	width: 70%;
	height: auto;
	aspect-ratio: 1;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	-webkit-mask-size: contain;
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-position: center;
	background: linear-gradient(to right top, #1d4b8b , #31b1c5);
}
section.leading ul li:first-child figure::before {
	-webkit-mask-image: url('https://www.hisada-g.co.jp/wp/wp-content/themes/original/images/staff/leading-icon01.svg');
}
section.leading ul li:nth-child(2) figure::before {
	-webkit-mask-image: url('https://www.hisada-g.co.jp/wp/wp-content/themes/original/images/staff/leading-icon05.svg');
}
section.leading ul li:nth-child(3) figure::before {
	-webkit-mask-image: url('https://www.hisada-g.co.jp/wp/wp-content/themes/original/images/staff/leading-icon02.svg');
}
section.leading ul li:nth-child(4) figure::before {
	width: 50%;
	-webkit-mask-image: url('https://www.hisada-g.co.jp/wp/wp-content/themes/original/images/staff/leading-icon03.svg');
}
section.leading ul li:nth-child(5) figure::before {
	width: 50%;
	-webkit-mask-image: url('https://www.hisada-g.co.jp/wp/wp-content/themes/original/images/staff/leading-icon04.svg');
}

ul.interview-list{
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	padding: 0 1rem 80px;
	container: interviewlist / inline-size;
}
ul.interview-list li {
	width: calc(100%/4 - 1.5rem);
	background: #fff;
}
ul.interview-list li a {
	display: flex;
	flex-direction: column;
	position: relative;
	height: 100%;
}
ul.interview-list li a:hover img{
	transform: scale(1.3);
}
ul.interview-list li a .img_wrapper{
	overflow: hidden;
}
ul.interview-list img {
	height: 250px;
	object-fit: cover;
	transition: .3s;
}
ul.interview-list p {
	font-weight: 600;
	padding: .5em 1em;
}
ul.interview-list p.department {
	position: absolute;
	top: 0;
	left: 0;
	background: #397fba;
	color: #fff;
	padding: .2em .8em;
	z-index: 1;
	font-size: 1.3rem;
}
ul.interview-list p.name {
	background: #397fba;
	color: #fff;
	padding: 1em;
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: .5em;
}
@container interviewlist (width < 1030px) {
	li {
		width: calc(100%/3 - 1.5rem) !important;
	}
}
@container interviewlist (width < 800px) {
	li {
		width: calc(50% - 1rem) !important;
	}
}
@container interviewlist (width < 500px) {
	p.title,p.name {
		padding: .8em !important;
	}
	p.name {
		flex-direction: column;
		align-items: flex-start !important;
	}
	span.name {
        padding-top: .5em;
	}
	span.school {
		font-size: 1.5rem !important;
	}
	p.job {
		padding-bottom: 2rem !important;
	}
	p.job span{
		display: block;
		width: 5em;
		padding: .2em .5em !important;
		text-align: center;
		margin-bottom: 1em;
	}
}

ul.interview-list span.school {
	font-size: 2rem;
	line-height: 100%;
}
ul.interview-list span.school span {
	font-size: 1.3rem;
	margin-left: .5em;
	line-height: 100%;
}
ul.interview-list span.name {
	font-size: 1.3rem;
	line-height: 100%;
}
ul.interview-list p.title {
	flex: 1;
	font-size: 1.1em;
	padding-top: 1em;
	padding-bottom: 1em;
}
ul.interview-list p.job {
	font-size: .8em;
	min-height: 50px;
}
ul.interview-list p.job span,
.interview-article p.job-tag span{
	background: #ddd;
	padding: .5em .8em;
	margin-right: .8em;
	font-size: .9rem;
}

/* single-interview */
.interview-header {
	height: 400px;
	margin-bottom: 5rem !important;
}
.interview-header,
.interview-article{
	max-width: 1000px;
	margin: auto;
	position: relative;
	top: -370px;
	z-index: 1;
	margin-bottom: -370px;
}
.interview-header .header-info{
    width: 100%;
    max-width: 500px;
    position: absolute;
    bottom: 0;
}
.interview-header .header-info h2,
.interview-header .header-info p{
	text-align: left;
}
.interview-header .header-info h2 {
	position: relative;
	padding: 5rem;
	font-size: 3rem;
	color: #fff;
	line-height: 1.8em;
}
.interview-header .header-info h2::before {
	content: "";
	width: 100vw;
	height: 100%;
	background: rgb(57 127 186 / 75%);
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	z-index: -1;
}
.interview-header .header-info .interviewee {
	padding: 2rem 5rem;
	position: relative;
}
.interview-header .header-info .interviewee::before {
	content: "";
	width: 5px;
	height: calc(100% - 4rem);
	display: block;
	background: #397fba;
	position: absolute;
	left: 5rem;
	top: 2rem;
}
.interview-header .header-info .interviewee p {
	padding-left: 2em;
}
.interview-header .header-info p:first-child{
	font-weight: 600;
	font-size: 1.5rem;
	margin-bottom: 1rem;
}
.interview-header .header-info .name {
	font-weight: 600;
	font-size: 3rem;
}
.interview-header .header-info .school {
	font-weight: 600;
	margin-left: 2rem;
}
.interview-header .header-info .school span {
	margin-left: .5rem;
	font-size: .9em;
}
.interview-header .header-mv{
	position: absolute;
	height: 400px;
	width: auto;
	top: 0;
	right: 0;
	z-index: -2;
}
@container bg-illust (width < 1050px){
	.header-mv {
		height: 300px !important;
	}
	.header-mv img {
		height: 100%;
	}
}

.interview-article {
	max-width: 600px;
	padding-bottom: 10rem;
}
.interview-article p {
	text-align: left;
}
.interview-article h3 {
	color: #fff;
	background: #397fba;
	padding: .5em;
	margin-top: 5rem;
}
.interview-article p.job-tag {
	font-weight: 600;
	display: flex;
	align-items: center;
	line-height: 1em;
}


@media screen and (max-width: 1024px) {
	p.leading-text {
		text-align: left !important;
		line-height: 2em !important;
	}
	p.leading-text br {
		display: none;
	}
	p.leading-text span{
		display: inline-block;
	}
	section.leading ul {
		flex-wrap: wrap;
		max-width: 620px;
	}
	section.leading ul li{
		width: calc(100%/3);
	}
	ul.interview-list li{
		width: calc(100%/3 - 1.5rem);
	}
	ul.interview-list span.school {
		font-size: 1.6rem;
		line-height: 100%;
	}

	.interview-header {
		max-width: unset !important;
	}
	.interview-header .header-mv {
		max-width: 450px;
		height: 330px;
		top: unset;
		bottom: 0;
	}
	.interview-header .header-mv img {
		height: 100%;
		object-fit: cover;
	}
	.interview-header .header-info {
		width: calc(100% - 450px + 80px);
		max-width: unset;
	}
	.interview-header .header-info h2 {
		font-size: 2.5rem;
	}
}
@media screen and (max-width: 782px) {
	.interview-header .header-mv img {
		max-width: 350px;
	}
	.interview-header .header-info {
		width: 100%;
	}
	.interview-header .header-info h2 {
		width: calc(100% - 390px);
	}
}
@media screen and (max-width: 640px) {
	#page-tit {
		background-size: cover !important;
	}
	section.leading {
		margin: 80px auto 40px;
	}
	section.leading h2{
		font-size: 2rem;
        margin-bottom: 40px;
	}
	section.leading ul li{
		width: 50%;
	}
	p.leading-text span {
		display: inline;
	}
	ul.interview-list li {
		min-height: 180px;
		width: 100% !important;
	}
	ul.interview-list li a {
		position: relative;
		padding-left: 40%;
	}
	ul.interview-list li a .img_wrapper {
		position: absolute;
		left: 0;
		top: 0;
		width: 40%;
		height: 100%;
	}
	ul.interview-list p.title {
		color: #4180b9;
		font-size: 1.2em;
	}
	ul.interview-list p.name {
		order:3;
		background: none;
		color: #000;
	}
	ul.interview-list p.job {
		display: none;
	}
	ul.interview-list p.job span {
		display: none;
	}
	ul.interview-list p.name {
		flex-direction: column;
		align-items: flex-start !important;
		position: relative;
	}
	ul.interview-list p.name::before,
	ul.interview-list p.name::after{
		content: "";
		width: 30px;
		height: auto;
		aspect-ratio: 1;
		background: #4180b9;
		position: absolute;
		bottom: 0;
		right: 0;
		transition: .2s;
	}
	ul.interview-list p.name::after {
		background: url('https://www.hisada-g.co.jp/images/recruit/cmn-images/icon01.png');
		background-repeat: no-repeat;
		background-size: 50%;
		background-position: center;
	}
	ul.interview-list img {
		height: 100%;
	}
	ul.interview-list li a:hover p.name::before{
		background: #29ccd1;
	}

	
	.interview-header {
		top: -240px;
		height: auto;
		display: flex;
		flex-direction: column;
	}
	.interview-article {
		top: -300px;
		padding: 0 1em;
		margin-bottom: -250px;
	}
	.interview-header .header-mv{
		width: 100%;
		height: 200px;
		max-width: unset;
		position: relative;
		order: 1;
	}
	.interview-header .header-mv img {
		max-width: unset;
        width: 80%;
		left: 10%;
		position: relative;
	}
	.interview-header .header-info {
		width: 100%;
		min-height: 200px;
		position: relative;
		order: 2;
		flex: 1;
	}
	.interview-header .header-info h2,
	.interview-header .header-info .interviewee{
		padding: 1.5em;
		width: 100%;
		box-sizing: border-box;
	}
	.interview-header .header-info h2 {
		font-size: 2rem;
		padding: 1em 1.2em;
        width: 100%
	}
	.interview-header .header-info .name {
		font-size: 2.5rem;
	}
	.interview-header .header-info h2::before {
		width: 100%;
		padding: 0 !important;
	}
	.interview-header .header-info .interviewee::before {
		left: 1.5em;
	}
}

@media screen and (max-width: 400px) {
	section.leading ul li{
		width: 100%;
		display: flex;
		align-items: center;
		max-width: 350px;
	}
	section.leading ul li div {
		flex: 1;
		order: 2;
	}
	section.leading ul li figure {
		width: 100px;
		order: 1;
	}
	section.leading ul li figure::after{
		margin-top: 0;
		aspect-ratio: 1;
		width: 100px;
		height: auto;
	}
}
