@charset "utf-8";
/* CSS Document */

.pagehead {	
	height: 700px;
	position: relative;
}
.pagehead.staff01:after {
	background: url("../images/recruit/staff01/bg_pagehead.jpg") center;
	background-size:cover;
}
.pagehead.staff02:after {
	background: url("../images/recruit/staff02/bg_pagehead.jpg") center;
	background-size:cover;
}
.pagehead.staff03:after {
	background: url("../images/recruit/staff03/bg_pagehead.jpg") center;
	background-size:cover;
}
.pagehead.message:after {
	background: url("../images/recruit/message/bg_pagehead.jpg") center;
	background-size:cover;
}

.pagehead .pagettl {
	left: 0;
	top: 160px;
}

@media screen and (max-width: 767px) {
	.pagehead {
		height: 250px;
	}
	.pagehead .pagettl {
		top: 90px;
	}
}

/*staff　info*/
.staff_info .inner {
	position: relative;
}
.staff_info .lead {
	position: relative;
}

.staff_info .lead .txt {
	position: absolute;
	left: -2%;
	bottom: -8px;
	z-index: 5;
}
.staff_info .lead .txt * {
	color: #fff;
	font-family: 'Sawarabi Mincho', sans-serif;
	font-style: italic;
}

.staff_info .lead .txt p {
	font-size: 6.2rem;
	letter-spacing: -5px;
	line-height: 0.9;
	margin-bottom: 0;	
	margin-left: 2%;
	white-space: nowrap;
}
.staff_info .lead .txt p:nth-child(2) {
	margin-left: 0%;
}
.staff_info .lead .txt p:nth-child(3) {
	margin-left: -2%;
}

@media screen and (max-width: 1420px) {
	.staff_info .lead .txt p {
		font-size: 5.5rem;
		margin-left: 6%;
	}
	.staff_info .lead .txt p:nth-child(2) {
		margin-left: 4%;
	}
	.staff_info .lead .txt p:nth-child(3) {
		margin-left: 2%;
	}
}
@media screen and (max-width: 767px) {
	.staff_info .lead .txt p {
		margin-left: 4%;
	}
	.staff_info .lead .txt p:nth-child(2) {
		margin-left: 2%;
	}
	.staff_info .lead .txt p:nth-child(3) {
		margin-left: 0%;
	}
}
.staff_info .lead .txt p span {
	display: inline-block;
	position: relative;
	overflow: hidden;
}
.staff_info .lead .txt p .txtbg {
	display: inline-block;
	
}
.staff_info .lead .txt p .txtbg:after {
	background: #fff;
	content: '';
	display: block;	
	height: 100%;
	width: 0;
	position: absolute;
	left: 0;
	top: 0;
}
.staff_info .lead .txt p:last-of-type .txtbg {
	padding-bottom: 20px;
}
.staff_info .lead .txt p:last-of-type .txtbg:after {
	height:calc(100% - 20px);
}

.staff_info .lead .txt p .txtbg:after{
   animation: txtBg 5s ease-in-out forwards;
}
.staff_info .lead .txt p:nth-of-type(2) .txtbg:after {
	animation-delay: 0.2s;
}
.staff_info .lead .txt p:nth-of-type(3) .txtbg:after {
	animation-delay: 0.3s;
}
.staff_info .lead .txt p:nth-of-type(4) .txtbg:after {
	animation-delay: 0.4s;
}

@keyframes txtBg {
  15% {
    width: 0;
  }
  25% {
   width: 100%;
	 left: 0;
  }
	28% {
   width: 100%;
	 left: 0;
  }
	34% {
		width: 100%;
		left: 100%;
	}
	100% {
		width: 100%;
		left: 100%;
	}
}

.staff_info .lead .txt p:last-of-type .txtbg:before {
	background: #fccf00;
	content: '';
	display: block;
	height: 40%;
	position: absolute;
	left: 0;
	bottom: 0px;
	width: 100%;
}
.staff_info .lead .txt p:last-of-type .txtbg:before {
	animation: txtBgLast 5s ease-in-out forwards;
}
@keyframes txtBgLast {
	0% {
		left: 0;
		width: 0;
	}
	48% {
    left: 0;
		width: 0;		
  }
  54% {
		width: 98%;
		left: 0;
	}
	100% {
		width: 98%;
		left: 0;
	}
}


.staff_info .lead .txt p .passtxt {
	opacity: 0;
	animation: passTxt 5s ease-in-out forwards;
	padding-right: 20px;
}
.staff_info .lead .txt p:nth-of-type(2) .passtxt {
	animation-delay: 0.2s;
}
.staff_info .lead .txt p:nth-of-type(3) .passtxt {
	animation-delay: 0.3s;
}
.staff_info .lead .txt p:nth-of-type(4) .passtxt {
	animation-delay: 0.4s;
}

@keyframes passTxt{
	20% { opacity:0; }
	32% { opacity:1; }
	100% { opacity:1; }
}


@media screen and (max-width: 767px) {
	.staff_info .lead {
		margin: 20px 0;
	}
	.staff_info .lead img {
		object-fit: cover;
		height: 300px;
		width: 100%;
	}
	.staff_info .lead .txt {
		position: relative;
		bottom: auto;
		left: -5%
	}
	.staff_info .lead .txt * {
		color: #161616;
	}
	.staff_info .lead .txt p {
		font-size: calc(100vw / 13);
		margin-bottom: 5px;
	}
	.staff_info .lead .txt p:last-of-type .txtbg {
		padding-bottom: 10px;
	}
	.staff_info .lead .txt p:last-of-type .txtbg:after {
		height: calc(100% - 10px);
	}
}

.staff_info .info_box {
	background: #161616;
	padding: 30px 60px;
	position: absolute;
	right: -60px;
	top: -130px;
	min-height: 270px;
	width: 450px;
	z-index: 10;
	 min-height: 150px;
}
.staff_info .info_box * {
	color: #fff;
}
.staff_info .info_box .name {
	font-size: 3rem;
}
.staff_info .info_box .info {	
	margin: 10px 0 20px;
}
.staff_info .info_box .detail {
	font-size: 1.3rem;
	line-height: 1.9;
}
@media screen and (max-width: 1420px) {
	.staff_info .info_box {
		right: 0;
	}
}
@media screen and (max-width: 767px) {
	.staff_info .info_box {
		padding: 20px 30px 30px;
		position: static;
		min-height: auto;
		width: 100%;
	}
}

/*comment*/
.comment {
	margin: 200px 0 0;
	position: relative;
}
.comment .flex {
	align-items: center;
}
.comment .img {
	margin-left: 7%;
	width: 60%;
}
.comment .img.w45 {
	width: 45%;
}

.comment .img img {
	width: 100%;
}
.comment .txt {
	background: #fff;
	padding: 80px 5% 90px 90px;
	position: absolute;
	right: 0;
	width: 53%;
}

.ie .comment .txt {
	bottom: 14%;
}

.comment .txt .txtwrap {
	max-width: 516px;
}
.comment .txt .ttl {
	font-size: 2.9rem;
	line-height: 1.5;
	letter-spacing: -2px;
	margin-bottom: 30px;
}
.comment .txt p {
	line-height: 2;
}

.comment + .comment {
	margin: 70px 0;
}

.comment .flex.fdr .img {
	margin-right: 5%;
	margin-left: 0;
}
.comment .flex.fdr .img.w45 {
	margin-right: 8%;
}
.comment .flex.fdr .txt {
	right: auto;
	left: 0;
	display: flex;
	justify-content: flex-end;
}

@media screen and (max-width: 767px) {
	.comment {
		margin-top: 30px;
	}
	.comment .img {
		width: 100%;
		margin-left: 0;
	}
	.comment .img img {
		object-fit: cover;
		height: 360px;
	}
	.comment .img img.spleft {
		object-position: left;
	}
	.comment .txt {
		position: relative;
		top: -70px;
		padding: 20px 5%;
		width: 90%;
		margin: 0 auto -70px;
	}
	.comment .txt .ttl {
		font-size: 2.4rem;
		margin-bottom: 20px;
	}
	.comment + .comment {
		margin: 30px 0;
	}
	.comment .flex.fdr .img.w45 {
		margin-right: 0;
		width: 100%;
	}
}

/*アイキャッチ*/
.catch_img {
	margin: 90px 0;
	width: 100%;
}
.catch_img img {
	width: 100%;
}

.catch_img + .comment {
	margin-top: 0;
}
@media screen and (max-width: 767px) {
	.catch_img {
		margin: 30px 0;
	}
}

/*my day*/
.myday {
	margin: 200px 0 100px;
}

.myday .img img{
 width: 100%;	
}
.myday .inner	{
	position: relative;
	max-width: 1285px;
}
.myday .head {
	background: #161616;
	color: #fff;
	font-size: 4rem;
	font-family: 'Open Sans', sans-serif;
	font-style:italic;
	justify-content: center;
	height: 115px;
	text-align: center;
	position: absolute;
	padding-top: 10px;
	top: -115px;
	width: 100%;
}
.myday .head span {
	display: block;
	font-family: 'Noto Sans JP', sans-serif;
	font-style: normal;
	font-size: 1.6rem;
	text-align: center;
}
.myday .body {
	background: #f0f3f9;
	padding: 60px 50px;
}
.myday .body .unit {
	background: #fff;
	padding: 40px 50px 50px 175px;
	position: relative;
}
.myday .body .unit + .unit {
	margin-top: 60px;
}

.myday .body .unit .time {
	color: #fccf00;
	font-family: 'Open Sans', sans-serif;
	font-style:italic;
	font-size: 3.8rem;
	line-height: 1;
	position: absolute;
	left: 50px;
	top: 35px;
}
.myday .body .unit .ttl {
	font-size: 2.4rem;
	margin-bottom: 10px;
}
.myday .body .unit p {
	line-height: 2;
}
@media screen and (max-width: 767px) {
	.myday {
		margin: 30px 0;
	}
	.myday .img img {
		object-fit: cover;
		object-position: 80% center;
		height: 270px;
	}
	.myday .head {
		position: relative;
		margin-bottom: -115px;
	}
	.myday .body {
		padding: 20px;
	}
	.myday .body .unit {
		padding: 20px;
	}
	.myday .body .unit .time {
		font-size: 2.4rem;
		left: 20px;
		top: 22px;
	}
	.myday .body .unit .ttl {
		font-size: 1.8rem;
		padding: 0 0 0 70px;
	}
	.myday .body .unit + .unit {
		margin-top: 20px;
	}
}
/*interview*/

.interview .headline {
	color: #fccf00;
	font-size: 1.6rem;
	margin-bottom: 50px;
	text-align: center;
}
.interview .headline .eng {
	display: block;
	font-family: 'Open Sans', sans-serif;
	font-style:italic;
	font-size: 4rem;
}

.interviewlist {
	max-width: 1085px;
	margin: 0 auto;
	width: 90%;
}
.interviewlistwrap {
	position: relative;
}
.interviewlistwrap:after {
	background: #f0f3f9;
	content: '';
	display: block;
	left: 0;
	width: 100%;
	height: 200px;
	position: absolute;
	top: calc(50% - 100px);
	z-index: -1;
}
.interviewlist li .txt .ttl {
	font-size: 2.5rem;
	margin-bottom: 10px;
}
.interviewlist li .txt p.name {
	margin-bottom: 5px;
}

@media screen and (max-width: 767px) {
	.interview .headline {
		margin-bottom: 30px;
	}
	.interview .headline .eng {
		font-size: 3.2rem;
		line-height: 1;
	}
	
}

/*join*/
.join {
	margin-top: 50px;
}

/*message*/
.message .staff_info .lead .txt {
	left:0;
}
.message .staff_info .info_box {
	right: 0;
}
.message_lead {
	font-size: 1.6rem;
	line-height: 2;
	padding-top: 60px;
}
.message .comment {
	margin-top: 60px;
}
@media screen and (max-width: 767px) {
	.message_lead {
		padding-top: 30px;
	}
	.message .comment {
		margin-top: 30px;
	}
}