@charset "utf-8";
/*------------------------------------------------------------
	ourjob
------------------------------------------------------------*/
.main-img .pho {
	vertical-align: top;
}
.main-img .pho img {
	width: 100%;
}
#main .top-box {
	padding: 138px 0 123px;
}
#main .top-box p {
	margin-bottom: 166px;
	font-size: 2rem;
	line-height: 2.5;
	letter-spacing: 0.05em;
	text-align: center;
}
#main .top-box .top-list li {
	width: 14.06%;
	margin-right: 3.128%;
}
#main .top-box .top-list li:last-child {
	margin-right: 0;
}
#main .top-box .top-list a {
	height: 81px;
	padding: 10px 0;
	display: flex;
	position: relative;
	align-items: center;
	justify-content: center;
	text-align: center;
	border-radius: 100px;
	box-shadow: 2px 3px 6px rgba(0,0,0,0.16);
	box-sizing: border-box;
}
#main .top-box .top-list a:before {
	position: absolute;
	left: 50%;
	margin-left: -10px;
	bottom: -43px;
	background: url("../images/common/icon10.png") no-repeat;
	background-size: 21px auto;
	width: 21px;
	height: 26px;
	content: "";
	opacity: 0;
	transition: .3s;
}
#main .sec {
	position: relative;
}
#main .sec:after {
	position: absolute;
	left: 0;
	top: 122px;
	bottom: 0;
	width: 100%;
	background: url("../images/ourjob/bg03.png") no-repeat top center;
	background-size: 100% auto;
	content: "";
}
#main .sec01:after {
	top: 170px;
}
#main .sec:nth-of-type(2n):after {
	top: 150px;
	background-image: url("../images/ourjob/bg04.png");
}
#main .sec-box {
	padding: 85px 0 265px;
	position: relative;
	z-index: 1;
	background: url("../images/ourjob/bg01.png") no-repeat left 3px top 570px,url("../images/ourjob/bg02.png") no-repeat right bottom 143px;
	background-size: 1091px auto,1081px auto;
}
#main .sec01 .sec-box {
	padding-top: 0;
}
#main .sec:not(.sec01) .sec-box:before {
	position: absolute;
	left: 0;
	top: 0;
	width: 480px;
	height: 640px;
	background-color: #E70012;
	content: "";
}
#main .sec .h2-ttl {
	position: absolute;
	right: -2px;
	top: 74px;
	font-size: 20rem;
	font-weight: 400;
	color: rgba(236,236,236,0.5);
	-ms-writing-mode: tb-rl;
	-webkit-writing-mode: vertical-rl;
	writing-mode: vertical-rl;
	z-index: 2;
}
#main .sec01 .h2-ttl {
	top: 257px;
}
#main .sec .tab-ul {
    justify-content: flex-start;
}
#main .sec .tab-ul li {
	width: 33.33%;
	font-size: 4rem;
	font-weight: 500;
}
#main .sec02 .tab-ul li {
    width: 50%;
}
#main .sec .tab-ul a {
	padding: 23px 0 26px;
	display: block;
	text-align: center;
	color: rgba(0,0,0,0.22);
	border-top: 9px solid transparent;
	border-left: 1px solid transparent;
	border-right: 1px solid transparent;
	border-radius: 8px 8px 0 0;
	background-color: #fff;
}
#main .sec .tab-ul .on a {
	color: #000;
	border-top-color: #E70012;
	box-shadow: 0 3px 20px rgba(0,0,0,0.04);
}
#main .sec .tab-ul .on a span {
	color: #E70012;
}
#main .sec .tab-box {
	display: none;
	opacity: 0;
}
#main .sec .tab-box.is-active {
    display: block;
    animation-name: displayAnime;
    animation-duration: 2s;
    animation-fill-mode: forwards;
}
@keyframes displayAnime{
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
#main .sec .top-pho {
	margin-bottom: 103px;
	box-shadow: 0 3px 20px rgba(0,0,0,0.16);
}
#main .sec .top-pho img {
	width: 100%;
}
#main .sec .text-box {
	max-width: 1106px;
	margin: 0 auto 176px;
}
@media all and (min-width: 897px) {
	#main .sec .text-box {
		position: relative;
		z-index: 3;
	}
}
#main .sec .text-box p {
	width: 59.4%;
	line-height: 2;
}
#main .sec .text-box .h3-ttl {
	width: 36.16%;
	margin: -11px 0 0 20px;
	font-size: 5.7rem;
	font-weight: 500;
	position: relative;
}
#main .sec .text-box .h3-ttl:before {
	position: absolute;
	left: -218px;
	top: 45px;
	background: url(../images/common/icon05.png) no-repeat left top;
	background-size: 168px auto;
	width: 168px;
	height: 7px;
	content: "";
}
#main .sec .text-box .h3-ttl .sml {
	margin-top: -2px;
	display: block;
	font-size: 2.5rem;
}
#main .sec .photo {
	margin-bottom: 153px;
}
#main .sec .photo img {
	width: 100%;
}
#main .sec .h4-ttl {
	margin-bottom: 68px;
	text-align: center;
	font-size: 1.9rem;
	font-weight: 700;
}
#main .sec .h4-ttl .en {
	margin-top: -6px;
	display: block;
	color: #E70012;
	font-size: 4rem;
}
#main .sec .moive {
	max-width: 960px;
	margin: 0 auto 150px;
    position: relative;
    padding-bottom: 42.2%;
    height: 0;
    overflow: hidden;
}
#main .sec .moive iframe {
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
}
#main .sec .link {
	width: 450px;
	margin: 0 auto;
	position: relative;
}
#main .sec .link:before {
	margin-left: -55px;
	position: absolute;
	left: 50%;
	width: 110px;
	height: 9px;
	bottom: -75px;
	background-color: #E70012;
	content: "";
}
#main .sec .link a {
	padding: 34px 0;
	display: block;
	text-align: center;
	font-size: 2rem;
	color: #fff;
	font-weight: 700;
	position: relative;
	background-color: #E70012;
	border: 1px solid #E70012;
}
#main .sec .link a::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
	background: #fff;
	width: 100%;
	height: 100%;
	transition: transform .3s cubic-bezier(0.8, 0, 0.2, 1) 0s;
	transform: scale(0, 1);
	transform-origin: top;
}
#main .sec .link a span {
	padding-left: 36px;
	display: inline-block;
	position: relative;
	z-index: 2;
	background: url(../images/common/icon06.png) no-repeat center left;
	background-size: 20px auto;
}
.fix-box {
	position: fixed;
	right: 31px;
	bottom: 20px;
	width: 180px;
	z-index: 90;
}
.fix-box .arrow {
	margin: 0 0 0 auto;
	width: 69px;
	height: 69px;
	border: 1px solid #000;
	box-sizing: border-box;
	border-radius: 100%;
	cursor: pointer;
	box-shadow: 0 3px 6px rgba(0,0,0,0.16);
	background-color: #fff;
}
.fix-box .arrow span {
	display: block;
	width: 100%;
	height: 100%;
	background: url("../images/common/icon11.png") no-repeat center center;
	background-size: 15px auto;
	border-radius: 100%;
	transition: all 0.7s;
}
.fix-box .arrow.on span {
	transform: rotateY(180deg);
}
.fix-box ul {
	margin-bottom: 15px;
	opacity: 0;
	visibility: hidden;
	transition: all 0.5s;
	display: none;
}
.fix-box.active ul {
	opacity: 1;
	visibility: visible;
	display: block;
}
.fix-box li:not(:last-child) {
	margin-bottom: 25px;
}
.fix-box li a {
	height: 80px;
	padding: 10px 0;
	display: flex;
	position: relative;
	align-items: center;
	justify-content: center;
	text-align: center;
	border-radius: 100px;
	box-shadow: 2px 3px 6px rgba(0,0,0,0.16);
	box-sizing: border-box;
	background-color: #fff;
	border: 1px solid #fff;
}
.fix-box li:first-child a {
	color: #E70012;
}
.fix-box li.on a {
	background-color: #E4E4E4;
}
@media all and (min-width: 897px) {
	#main .top-box .top-list a:hover {
		background-color: #E4E4E4;
		box-shadow: none;
	}
	#main .top-box .top-list a:hover:before {
		opacity: 1;
	}
	#main .sec .link a:hover:before{
		transform:scale(1, 1);
	}
	#main .sec .link a:hover {
		color: #E70012;
	}
	#main .sec .link a:hover span {
		background-image: url(../images/common/icon06_on.png);
	}
	.fix-box li a:hover {
		background-color: #E4E4E4;
	}
}
@media all and (max-height: 940px) {
	.fix-box li:not(:last-child) {
		margin-bottom: 15px;
	}
}
@media all and (max-height: 870px) {
	.fix-box {
		bottom: 10px;
	}
	.fix-box li:not(:last-child) {
		margin-bottom: 10px;
	}
	.fix-box ul {
		margin-bottom: 10px;
	}
}
@media all and (max-height: 820px) {
	.fix-box li a {
		height: 70px;
	}
}
@media all and (max-height: 750px) {
	.fix-box li a {
		height: 60px;
	}
}
@media all and (max-width: 1530px) {
	#main .sec .text-box .h3-ttl::before {
		left: -170px;
	}
}
@media all and (max-width: 1420px) {
	#main .sec .text-box .h3-ttl::before {
		left: -120px;
		width: 120px;
		background-size: 120px auto;
	}
}
@media all and (max-width: 1320px) {
	#main .sec .text-box .h3-ttl::before {
		left: -60px;
		width: 60px;
		background-size: 60px auto;
	}
}
@media all and (max-width: 1200px) {
	#main .sec .text-box .h3-ttl::before {
		left: -20px;
		width: 40px;
		background-size: 40px auto;
	}
	#main .sec .text-box .h3-ttl {
		box-sizing: border-box;
		padding-left: 20px;
		font-size: 4.9rem;
	}
}
@media all and (max-width: 896px) {
	#main .top-box {
		padding: 70px 0 72px;
	}
	#main .top-box p {
		margin-bottom: 58px;
		font-size: 1.5rem;
		line-height: 2;
		letter-spacing: 0;
		text-align: left;
	}
	#main .top-box .top-list {
		margin: -26px -16px 0;
		justify-content: center;
	}
	#main .top-box .top-list li {
		width: 120px;
		margin: 26px 16px 0 !important;
	}
	#main .top-box .top-list li:last-child {
		margin-right: 0;
	}
	#main .top-box .top-list a {
		height: 60px;
		padding: 10px 0;
		font-size: 1.3rem;
		box-shadow: 2px 3px 6px rgba(0,0,0,0.07);
	}
	#main .sec-box {
		padding: 27px 0 249px;
		background: url("../images/ourjob/sp_bg01.png") no-repeat right 7px bottom 70px;
		background-size: 376px auto;
	}
	#main .sec:after {
		top: 160px;
		background-image: url("../images/ourjob/sp_bg02.png");
	}
	#main .sec01:after {
		top: 132px;
	}
	#main .sec:nth-of-type(2n):after {
		top: 156px;
		background-image: url("../images/ourjob/sp_bg03.png");
	}
	#main .sec01 .sec-box {
		padding-top: 0;
	}
	#main .sec:not(.sec01) .sec-box:before {
		width: 188px;
		height: 230px;
	}
	#main .sec .h2-ttl {
		right: -54px;
		top: -34px !important;
		font-size: 9rem;
		height: 1200px;
	}
	#main .sec .tab-ul li {
		width: 50%;
		font-size: 1.3rem;
	}
	#main .sec .tab-ul .on {
		position: relative;
		z-index: 1;
		box-shadow: 0 0 15px rgba(0,0,0,0.1);
	}
	#main .sec .tab-ul .on a {
		box-shadow: none;
	}
	#main .sec .tab-ul a {
		padding: 17px 0 17px;
		border-top-width: 2px;
		border-radius: 2px 2px 0 0;
	}
	#main .sec01 .top-pho {
		margin: 0 0 55px;
	}
	#main .sec .text-box {
		position: relative;
		max-width: inherit;
		display: block;
		margin: 0 auto 64px;
	}
	#main .sec .text-box p {
		width: auto;
		line-height: 2.4;
		position: relative;
		z-index: 3;
	}
	#main .sec .text-box .h3-ttl {
		width: auto;
		margin: 0 0 21px 81px;
		font-size: 3rem;
		padding-left: 0;
	}
	#main .sec .text-box .h3-ttl:before {
		left: -80px;
		top: 22px;
		background: url(../images/common/sp_icon03.png) no-repeat left top;
		background-size: 66px auto;
		width: 66px;
	}
	#main .sec .text-box .h3-ttl .sml {
		margin-top: -3px;
		font-size: 1.5rem;
		font-weight: 400;
	}
	#main .sec .photo {
		margin: 0 -20px 52px;
		position: relative;
		z-index: 2;
	}
	#main .sec .h4-ttl {
		margin-bottom: 9px;
		font-size: 1.5rem;
	}
	#main .sec .h4-ttl .en {
		margin-top: -4px;
		font-size: 3rem;
	}
	#main .sec .moive {
		max-width: inherit;
		margin: 0 auto 46px;
		padding-bottom: 56.2%;
		z-index: 2;
	}
	#main .sec .link {
		max-width: 295px;
		width: auto;
	}
	#main .sec .link:before {
		margin-left: -35px;
		width: 70px;
		height: 9px;
		bottom: -47px;
	}
	#main .sec .link a {
		padding: 21px 14px 21px 0;
		font-size: 1.5rem;
	}
	.fix-box {
		display: none;
	}
}