@charset "utf-8";

/* people
----------------------------------------------- */

.people {
	position: relative;
}
.people__image {
	position: relative;
	overflow: hidden;
	z-index: 1;
}
.people__image:after {
	display: block;
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #1a1a1c;
	z-index: 1;
	transform: scaleX(0);
}
.people__image img {
	width: 100%;
	height: auto;
}
.people__info {
	display: flex;
	flex-direction: column;
	justify-content: center;
	position: absolute;
	top: 0;
	left: 50%;
	height: 100%;
	overflow: hidden;
	z-index: 2;
}
.people__job {
	padding: 0 0 15px;
	color: #000;
	line-height: 1.3;
	font-size: 16px;
	letter-spacing: 0.05em;
	text-shadow: 0 0 5px white;
}
.people__post {
	margin: 5px 0 0;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-shadow: 0 0 5px white;
}
.people__name {
	margin: 5px 0 0;
	font-size: 40px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-shadow: 0 0 5px white;
}
.people__year {
	position: relative;
	margin: 15px 0 0;
	padding: 0 0 0 80px;
	font-size: 12px;
	letter-spacing: 0.05em;
	text-shadow: 0 0 5px white;
}
.people__year:after {
	display: block;
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	width: 70px;
	height: 1px;
	background-color: #000;
}

/* ready */

.js-indicate-ready .people__image:after {
	transform: scaleX(1);
	transform-origin: right;
	transition-property: transform;
}
.js-indicate-ready .people__image img {
	transform: scale(1.15);
	transition-property: transform;
}
.js-indicate-ready .people__title,
.js-indicate-ready .people__job,
.js-indicate-ready .people__post,
.js-indicate-ready .people__name,
.js-indicate-ready .people__year {
	opacity: 0;
	transform: translateX(25%);
	transition-property: opacity, transform;
}
.js-indicate-ready .people__title:after {
	transform: translateY(100%);
	transition-property: transform;
}

/* start */

.js-indicate-start .people__image:after {
	transform: scaleX(0);
	transition-duration: 0.5s;
	transition-timing-function: cubic-bezier(0.86, 0, 0.07, 1);
}
.js-indicate-start .people__image img {
	transform: scale(1);
	transition-duration: 2s;
	transition-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
}
.js-indicate-start .people__title,
.js-indicate-start .people__job,
.js-indicate-start .people__post,
.js-indicate-start .people__name,
.js-indicate-start .people__year {
	opacity: 1;
	transform: translateX(0);
	transition-duration: 0.8s;
	transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}
.js-indicate-start .people__job {
	transition-delay: 0.1s;
}
.js-indicate-start .people__post {
	transition-delay: 0.15s;
}
.js-indicate-start .people__name {
	transition-delay: 0.2s;
}
.js-indicate-start .people__year {
	transition-delay: 0.3s;
}
.js-indicate-start .people__title:after {
	transform: translateY(0);
	transition-duration: 0.25s;
	transition-delay: 0.5s;
	transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}

/* peopledetail
----------------------------------------------- */

.peopledetail {
	margin: auto;
	max-width: 1500px;
}
.peopledetail__inner {
	display: flex;
	justify-content: space-between;
	margin: 0 90px;
	padding: 0 0 100px;
}
.peopledetail .interview {
	width: calc(60% - 45px);
}
.peopledetail .timetable {
	width: 40%;
}
.peopledetail__title {
	text-align: center;
}
.peopledetail__title span {
	display: block;
}
.peopledetail__title span:first-child {
	font-family: "Permanent Marker", cursive;
	font-size: 40px;
}
.peopledetail__title span:last-child {
	margin: 10px 0 0;
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 0.05em;
}

/* interview
----------------------------------------------- */

.interview__inner {
	padding: 80px 0 0;
}
.interview__box {
	display: flex;
	flex-direction: column;
	margin: 40px 0 0;
	background-color: #fff;
	box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}
.interview__ques {
	display: flex;
	align-items: center;
	position: relative;
	padding: 10px 60px 10px 85px;
	min-height: 40px;
	font-size: 15px;
	font-weight: 700;
	text-align: justify;
	letter-spacing: 0.05em;
	line-height: 20px;
	border-bottom: 1px solid #dcdcdc;
}
.interview__ques:after {
	display: flex;
	justify-content: center;
	align-items: center;
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	width: 60px;
	font-size: 0;
	background-image: url(../../employees/images/icon_ques@0,5x.png);
	background-position: center center;
	background-repeat: no-repeat;
	background-size: 29px 28px;
	background-color: #ff2d59;
}
.interview__answer {
	padding: 25px 60px;
	font-size: 14px;
	text-align: justify;
	letter-spacing: 0.05em;
	line-height: 23px;
}

/* timetable
----------------------------------------------- */

.timetable {
	background-color: #1a1a1c;
}
.timetable__inner {
	margin: 0 50px;
	padding: 80px 0 60px;
	color: #000;
}
.timetable__event {
	position: relative;
	padding: 0 0 40px;
}
.timetable__event:first-child {
	margin: 15px 0 0;
}
.timetable__event:last-child {
	padding: 0;
}
.timetable__event:after {
	display: block;
	content: "";
	position: absolute;
	top: 0;
	left: -2px;
	width: 2px;
	height: 100%;
	background-color: #ff2d59;
	z-index: 1;
}
.timetable__clock {
	display: flex;
	justify-content: center;
	align-items: center;
	position: absolute;
	top: 0;
	left: -30px;
	width: 60px;
	height: 60px;
	font-family: "Roboto", sans-serif;
	color: #26a99e;
	font-size: 15px;
	background-image: url(../../employees/images/timetable_clock@0,5x.png);
	background-position: center bottom;
	background-repeat: no-repeat;
	background-size: 60px;
	z-index: 2;
}
.timetable__clock:after {
	display: block;
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-image: url(../../employees/images/timetable_clock_dot@0,5x.png);
	background-position: center center;
	background-repeat: no-repeat;
	background-size: 55px;
	animation-name: clock;
	animation-duration: 1s;
	animation-iteration-count: infinite;
	animation-timing-function: linear;
}

.timetable__title {
	display: flex;
	align-items: center;
	height: 50px;
	padding: 0 0 0 45px;
	font-size: 15px;
	font-weight: 700;
	line-height: 20px;
}
.timetable__image {
	position: relative;
	overflow: hidden;
	z-index: 1;
}
.timetable__image img {
	width: 100%;
	height: auto;
}
.timetable__text {
	margin: 10px 10px 0 15px;
	font-size: 13px;
	text-align: justify;
	line-height: 20px;
}

@keyframes clock {
	10% {
		opacity: 0;
	}
	50% {
		opacity: 1;
	}
}

/* ready */

.js-indicate-ready.timetable__event:after {
	height: 0;
	transition-property: height;
}
.js-indicate-ready .timetable__clock {
	transform: scaleX(0);
	transition-property: transform;
}
.js-indicate-ready .timetable__title,
.js-indicate-ready .timetable__text {
	opacity: 0;
	transform: translateY(50%);
	transition-property: opacity, transform;
}
.js-indicate-ready .timetable__image img {
	transform: translateX(-100%);
	transition-property: transform;
}

/* start */

.js-indicate-start.timetable__event:after,
.js-indicate-start .timetable__image img {
	height: 100%;
	transform: translate(0);
	transition-duration: 0.8s;
	transition-timing-function: cubic-bezier(0.86, 0, 0.07, 1);
}
.js-indicate-start .timetable__title,
.js-indicate-start .timetable__text {
	opacity: 1;
	transform: translateY(0);
	transition-duration: 0.8s;
	transition-timing-function: cubic-bezier(0.86, 0, 0.07, 1);
}
.js-indicate-start .timetable__clock {
	transform: scaleX(1);
	transition-duration: 0.25s;
	transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* myholiday
----------------------------------------------- */

.myholiday {
	margin: 67px 0 0;
}
.myholiday__inner {
	position: relative;
}
.myholiday__title {
	display: flex;
	align-items: center;
	position: absolute;
	top: -27px;
	left: 0;
	padding: 0 0 0 110px;
	width: 300px;
	height: 66px;
	z-index: 1;
	box-sizing: border-box;
}
.myholiday__title:before,
.myholiday__title:after {
	display: block;
	content: "";
	position: absolute;
	top: 0;
	right: 15px;
	width: 230px;
	height: 100%;
	z-index: -1;
}
.myholiday__title:before {
	right: 36px;
	height: 27px;
	background-color: #c80d34;
	transform: skewX(-25deg);
}
.myholiday__title:after {
	background-color: #ff2d59;
	transform: skewX(25deg);
}
.myholiday__box {
	padding: 45px 0;
	background-color: #fff;
	box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}
.myholiday__image {
	margin: 0 45px;
}
.myholiday__image img {
	width: 100%;
	height: auto;
}
.myholiday__text {
	margin: 25px 45px 0;
	color: #ff2d59;
	font-size: 14px;
	text-align: justify;
	letter-spacing: 0.04em;
	line-height: 25px;
}

/* indicate */

.js-indicate-ready.js-indicate-rin {
	transform: translateX(50px);
}
.js-indicate-start.js-indicate-rin {
	transform: translateX(0);
}

/* pc
----------------------------------------------- */

@media print, screen and (min-width: 1000px) {
	/* retina
	----------------------------------------------- */

	@media only screen and (-webkit-min-device-pixel-ratio: 2) {
		/* interview
		----------------------------------------------- */

		.interview__ques:after {
			background-image: url(../../employees/images/icon_ques.png);
		}

		/* timetable
		----------------------------------------------- */

		.timetable__clock {
			background-image: url(../../employees/images/timetable_clock.png);
		}
		.timetable__clock:after {
			background-image: url(../../employees/images/timetable_clock_dot.png);
		}
	}
}

/* tablet
----------------------------------------------- */

@media screen and (min-width: 641px) and (max-width: 1000px) {
}

/* mobile
----------------------------------------------- */

@media only screen and (max-width: 999px) {
	/* people
	----------------------------------------------- */

	.people__info {
		display: block;
		position: static;
		height: auto;
		overflow: visible;
	}
	.people__title {
		position: relative;
		height: 100px;
		background-color: #1a1a1c;
		z-index: 2;
	}
	.people__title:after {
		display: block;
		content: "";
		position: absolute;
		left: 50%;
		top: -30px;
		margin: 0 0 0 -18px;
		width: 0;
		height: 0;
		border-style: solid;
		border-width: 0 18px 30px 18px;
		border-color: transparent transparent #1a1a1c transparent;
		z-index: 1;
	}
	.people__title img {
		position: absolute;
		top: 50%;
		left: 50%;
		margin: auto;
		width: auto;
		height: calc(100% - 30px);
		transform: translate(-50%, -50%);
	}
	.people__texts {
		position: absolute;
		top: 35px;
		left: 10px;
		z-index: 2;
	}

	.people__job {
		font-size: 14px;
	}
	.people__post {
		font-size: 12px;
	}
	.people__name {
		margin: 5px 0 0;
		font-size: 25px;
	}
	.people__year {
		margin: 13px 0 0;
		padding: 0 0 0 40px;
	}
	.people__year:after {
		width: 30px;
	}

	/* peopledetail
	----------------------------------------------- */

	.peopledetail {
		max-width: auto;
	}
	.peopledetail__inner {
		display: block;
		margin: 0;
		padding: 0;
	}
	.peopledetail .interview,
	.peopledetail .timetable {
		width: auto;
	}
	.peopledetail__title span:first-child {
		font-size: 30px;
	}
	.peopledetail__title span:last-child {
		margin: 10px 0 0;
	}

	/* interview
	----------------------------------------------- */

	.interview__inner {
		margin: 0 10px;
		padding: 50px 0 70px;
	}
	.interview__boxs {
		padding: 20px 0 0;
	}
	.interview__box {
		margin: 30px 0 0;
	}
	.interview__ques {
		padding: 10px 10px 10px 50px;
		min-height: 20px;
	}
	.interview__ques:after {
		width: 40px;
		background-size: 20px;
	}
	.interview__answer {
		padding: 15px 10px;
	}

	/* timetable
	----------------------------------------------- */

	.timetable__inner {
		margin: 0 20px;
		padding: 75px 0 60px;
	}
	.timetable__event:first-child {
		margin: 25px 0 0;
	}
	.timetable__event:after {
		display: none;
	}
	.timetable__clock {
		left: -10px;
	}
	.timetable__title {
		padding: 0 0 0 65px;
	}
	.timetable__text {
		margin: 10px 0 0;
	}

	/* myholiday
	----------------------------------------------- */

	.myholiday {
		margin: 75px 0 0;
	}
	.myholiday__title {
		top: -18px;
		left: 28px;
		padding: 0 0 0 55px;
		width: 240px;
		height: 43px;
		z-index: 1;
		box-sizing: border-box;
	}
	.myholiday__title:before,
	.myholiday__title:after {
		right: 0;
		width: 230px;
		height: 100%;
		z-index: -1;
	}
	.myholiday__title:before {
		right: 14px;
		height: 18px;
	}
	.myholiday__box {
		padding: 35px 0 30px;
	}
	.myholiday__image {
		margin: 0 15px;
	}
	.myholiday__text {
		margin: 15px 15px 0;
	}
}
