@charset "utf-8";

/* ---------------------------------------- 
 - header
---------------------------------------- */
#header{
    position: fixed;
}

/* ---------------------------------------- 
 - pagination（1画面スクロール） 
---------------------------------------- */
.pagination {
	position:fixed;
	right:30px;
	top: 50%;
	transform: translateY(-50%);
	font-size:1em;
	z-index: 10;
	list-style: none;
}
.pagination a {
	display:block;
	/*height:20px;*/
	color:#fff;
	position:relative;
	padding: 14px 0;
}
.pagination a.active:after {
	background-color: #2d56a0;
}
/*現在地表示のテキストの設定*/
.pagination a .hover-text {
	display: none;
}
.pagination a:after {
	transition:box-shadow 0.5s ease;
	width:12px;
	height:12px;
	display: block;
	border:solid 2px #2d56a0;
	border-radius:50%;
	content:"";
	position: absolute;
	margin:auto;
	top:0;
	right:3px;
	bottom:0;
	background-color: #fff;
	cursor: pointer;
}
@media screen and (min-width: 769px) {
	.pagination a:hover .hover-text {
	  opacity: 1;
	}
}
@media screen and (max-width: 768px) {
	.pagination {
		right:3%;
	}
}
	
/* ---------------------------------------- 
 - box（共通）
---------------------------------------- */
.box {
	position: relative;
	overflow: hidden;
	max-height: 100vh;
}	
.box .visual {
    width: 100%;
    height: 100%;
	position: relative;
}
.box .visual::after,
.box .visual::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.4);
	z-index: 1;
}
.box .visual video,
.box .visual img,
.box .visual picture{
    width: 100%;
    height: 100%;
    vertical-align: top;
    object-fit: cover;
    font-family: 'object-fit: cover';
}
.box .txtbox {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	height: auto;
	width: auto;
	max-width: 100%;
	max-height: 100%;
	margin: auto;
	z-index: 3;
}
@media screen and (max-width: 768px) {	
	#chikaku.box .visual video,
	#chikaku.box .visual img,
	#chikaku.box .visual picture{
		object-position: 25% center;
	}
	.box .txtbox {
		display:flex;
		flex-direction: column;
	}
}

/* ---------------------------------------- 
 - mainVisual 
---------------------------------------- */
#mainvisual{
	width:100%;
	overflow: hidden;
}
#mainvisual .catch {
    writing-mode: vertical-rl;
    font-size: clamp(1.6rem, 9.5vh, 6.3rem);
    line-height: 1.8;
	color:#fff;
	letter-spacing: 0.25em;
	white-space: nowrap;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
	z-index:3;
	margin-top: 0.4em;
	animation:fadeIn 1.7s 0.5s; 
	animation-fill-mode: both;
}
#mainvisual .lead {
	position: absolute;
    bottom: 8%;
    left: 5%;
    z-index: 3;
    width: calc(50% - 6vh);
    max-width: 600px;
    animation: fadeIn 1.7s 1.1s;
    animation-fill-mode: both;
	color:#fff;
	text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.8);
	letter-spacing: 0.05em;
}
@keyframes fadeIn {
    0% {opacity: 0}
    100% {opacity: 1}
}
/* mainvisual_scroll */
.mainvisual_scroll {
	position: absolute;
	display: inline-block;
	bottom: 0;
	right: 35px;
	margin: auto;
	text-align: center;
	z-index: 2;
	font-weight: normal;
	height:120px;
	opacity: 0;
	animation: scrollIn 1s ease 0s 1 forwards;
	animation-delay:1.5s;
	z-index: 3;
}
.mainvisual_scroll::after {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	content: "";
	width: 1px;
	height: 100%;
	margin: auto;
	display: block;
	opacity: 1;
	background-color:#fff;
	z-index: 2;
	transform: translate3d(0, 0, 0) scaleY(1);
	transform-origin: top left;
	transition: transform .4s;
}
.mainvisual_scroll.fadeOut::after {
	opacity: 0;
}
.mainvisual_scroll.active::after {
	transform-origin: bottom left;
	transform: translate3d(0, 0, 0) scaleY(0);
}
@keyframes scrollIn {
    0% {opacity: 0}
    100% {opacity: 1}
}
@-webkit-keyframes scrollIn {
    0% {opacity: 0}
    100% {opacity: 1}
}
.mainvisual_scroll span{
	display: block;
	font-size: 1.1rem;
	color: #fff;
	text-decoration: none;
	margin-top: -3.0em;
	transform: rotate(90deg);	
}
/* mainvisual_swiper */
.mainvisual_swiper {
	width: 100%;
    height: 100%;
	transform:translate3d(0,0,0);
	position: relative;
}
.mainvisual_swiper::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.4);
	z-index: 1;
}
.mainvisual_swiper .swiper-slide {
	width: 100%;
	height: 100%;
	box-sizing: border-box;
}
.mainvisual_swiper .swiper-slide .swiper-img {
	width: 100%;
    height: 100%;
}
.mainvisual_swiper img,
.mainvisual_swiper picture{
    width: 100%;
    height: 100%;
    vertical-align: top;
    object-fit: cover;
    font-family: 'object-fit: cover';
}
@media screen and (min-width: 769px) and (max-width: 1366px) {
	#mainvisual .lead {
		left: 3%;
		z-index: 3;
		font-size: 1.15vw;
	}
}
@media screen and (max-width: 768px) {	
	#mainvisual .txtbox {
		height: 100vh;
	}
	#mainvisual .catch {
		margin: auto;
        margin-top: 10vh;
		margin-bottom: 15px;
        position: relative;
        top: 0;
        left: 0;
        transform: translate(0, 0);
        font-size: clamp(1.6rem, 5vh, 5.3rem);
	}
	#mainvisual .lead {
		font-size: 1.3rem;
		margin: 0 auto 5%;
        position: relative;
        bottom: 5%;
        left: 0;
		width: 94%;		
        letter-spacing: 0;
	}
	/* mainvisual_scroll */
	.mainvisual_scroll {
		height:60px;
		right:5%;
	}
	.mainvisual_scroll::after {
		height: 60px;
	}
	.mainvisual_scroll span{
		display: none;
	}
}

/* ---------------------------------------- 
 - section（chikaku／shindo）
---------------------------------------- */
.section .catch {
	position:absolute;
	z-index:10;
	font-size: clamp(1.6rem, 4.5vw, 6.2rem);
    line-height: 1.4;
    white-space: pre-wrap;
	color:#fff;
	letter-spacing: 0.25em;
}
#chikaku.section .catch {
	top:15vh;
	left:50%;
}
#shindo.section .catch {
	top:20vh;
	left:5%;
}
.section ul.btnlist {
	position:absolute;
	bottom:30px;
	z-index:10;
}
#chikaku.section ul.btnlist {
	left:30px;
}
#shindo.section ul.btnlist {
	right:50px;
}
.section ul.btnlist li {
	margin-bottom: 5px;
}
.section ul.btnlist li a {
	background-color: rgba(45, 86, 160, 0.8);
	display: block;
	text-decoration: none;
	color:#fff;
	font-size:3.0rem;
	line-height: 1.4;
	padding: 15px 65px 15px 20px;
	position: relative;
	transition: background-color 0.3s ease;
}
.section ul.btnlist li a:hover {
  background-color: rgba(45, 86, 160, 1);
}
.section ul.btnlist li a::before {
    position: absolute;
    top: 50%;
    right: 25px;
    margin: auto;
    margin-top: -1px;
    content: "";
    vertical-align: middle;
    box-sizing: border-box;
    width: 18px;
    height: 18px;
    border-right: 1px solid #fff;
    border-top: 1px solid #fff;
    transform: translate(0, -50%) rotate(45deg);
}
.section ul.btnlist li a span {
	display: block;
	font-size:1.5rem;
	margin-top: 0.5em;
}
@media screen and (max-width: 768px) {
	.section .catch {
		margin: auto 5%;
        position: relative;
        top: 0;
        left: 0;
        font-size: clamp(1.6rem, 8vw, 5.2rem);
		line-height: 2.0;
		letter-spacing: 0.2em;
	}
	#chikaku.section .catch {
		top: 0;
		left: 0;
        margin-top: 22vh;
	}
	#shindo.section .catch {
		top:0;
		left:0;
        margin-top: 24vh;
	}
	.section ul.btnlist {
		margin: 0 auto 5%;
        position: relative;
        bottom: 0;
        left: 0;
		width: 94%;
	}
	#chikaku.section ul.btnlist {
		left: 0;
	}
	#shindo.section ul.btnlist {
		right:auto;
	}
	.section ul.btnlist li a {
		font-size:2.4rem;
		padding: 10px 40px 10px 15px;
	}
	.section ul.btnlist li a::before {
		right: 15px;
		width: 12px;
		height: 12px;
	}
	.section ul.btnlist li a span {
		font-size:1.3rem;
	}
}

/* ---------------------------------------- 
 - footer
---------------------------------------- */
#footer {
	border-top:none;
	padding-top: 0;
}
#footer #footer_inner {
	position:absolute;
	top:50%;
	left:50%;
    transform: translate(-50%, -50%);
	margin-top: -5vh;
}
/* faq_btn */
#footer .faq_btn {
	width: 80%;
	max-width: 550px;
	margin: 0 auto 12vh;
}
#footer .faq_btn a {
	display: block;
	border: solid 1px #333;
	padding: 25px 35px;
	position: relative;
}
#footer .faq_btn a::before {
    position: absolute;
    bottom: 25px;
    right: 30px;
    margin: auto;
    margin-top: -1px;
    content: "";
    vertical-align: middle;
    box-sizing: border-box;
    width: 18px;
    height: 18px;
    border-right: 1px solid #333;
    border-top: 1px solid #333;
    transform: translate(0, -50%) rotate(45deg);
}
#footer .faq_btn .ttl {
	width: 70%;
	max-width: 310px;
	margin: 0 auto 10px;
}
#footer .faq_btn .txt {
	text-align: left;
	font-size: 1.6rem;
}
@media screen and (max-width: 768px) {
	footer ul.linklist {
		margin-top: 15px;
	}
	footer ul.linklist li {
		padding: 0;
	}
	/* faq_btn */
	#footer .faq_btn {
		margin: 0 auto 6vh;
	}
	#footer .faq_btn a {
		padding: 15px 5%;
	}
	#footer .faq_btn a::before {
		bottom: 15px;
        right: 4%;
        width: 12px;
        height: 12px;
    }
	#footer .faq_btn .txt {
		font-size: 1.3rem;
		line-height: 1.6;
	}
}

/* ---------------------------------------- 
 - #recruitFooter
---------------------------------------- */
#recruitFooter {
	position:absolute;
	bottom: 0;
	margin-top: 0;
}