@charset "utf-8";

/*!
Theme Name: avenir
Template: habakiri
*/

@font-face {
	font-family: "SourceHanSansJP";
	src: url("./fonts/SourceHanSansJP.woff2") format("woff2");
}

* {
	box-sizing: border-box;
	-webkit-font-smoothing: antialiased;
	/*outline: 1px solid red;*/
}

html {
	-webkit-text-size-adjust: 100%;
	font-size: 62.5%;
	font-family: heisei-kaku-gothic-stdn, sans-serif;
	font-weight: 500;
	font-style: normal;
}

@media (max-width: 900px) {
	html {
		font-size: 50%;
	}
}

body {
	margin: 0;
}

img {
	vertical-align: bottom;
}

p,
button,
a {
	font-size: 1.6rem;
	color: inherit;
	text-decoration: none;
}
a:hover {
	color: inherit!important;
	text-decoration: none;
}

.text-center{
	text-align: center;
}
.block-center {
	margin: auto;
}

video {
	max-width: 100%;
	vertical-align: bottom;
}

.sp {
	display: none;
}
.pc {
	display: block;
}
@media screen and (max-width: 1100px) {
	.sp {
		display: block;
	}
	.pc {
		display: none;
	}
}

.video-inner-landscape{
    display: block;
}
.video-inner-portrait{
    display: none;
}
@media screen and (max-aspect-ratio: 1) {
	.video-inner-portrait {
		display: block;
	}
	.video-inner-landscape {
		display: none;
	}
}

/*== ここから下に書いてください ==*/

body {
	line-height: 2.0;
	letter-spacing: 0.1em;
	color: #333;
	line-break: strict;
	word-break: normal !important;
	word-wrap: break-word;
	/*font-family: "Roboto", din-2014, heisei-kaku-gothic-stdn, sans-serif;*/
	font-family: "Roboto","Helvetica Neue",Arial,"游ゴシック体",YuGothic,"Yu Gothic Medium","游ゴシック","Yu Gothic","Hiragino Kaku Gothic ProN","Hiragino Sans",HGS明朝E,sans-serif;
	transition: background 0.4s;
}
body.theme-black {
	background: #000;
}
body.theme-white {
	background: #fff;
}

.header-logo {
	width: 200px;
}
.nav-button {
	display: none;
}
.header-nav {
	display: flex;
	list-style: none;
	color: #fff;
}
.header-navItem {
	padding-right: 40px;
}
.nav-group {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 100%;
}

.nav-subtext {
	font-size: 10px;
	line-height: 1.2;
}
.video-wrapper {
	position: relative;
}
.video-inner {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.scrolldown-wrapper {
	position: absolute;
	display: flex;
	justify-content: center;
	text-align: center;
	width: 100%;
	bottom: 100px;
	color: #fff;
}
.scrolldown-wrapper::before {
	content: "";
	width: 2px;
	height: 60px;
	background-color: #fff;
	animation: scrolldown 2s cubic-bezier(0.645, 0.045, 0.355, 1) infinite;
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translate(-50%, 0%);
}
@keyframes scrolldown {
	0% {
		opacity: 0;
		transform: scaleY(0);
		transform-origin: center top;
	}

	49.999% {
		opacity: 1;
		transform: scaleY(1);
		transform-origin: center top;
	}
	50% {
		opacity: 1;
		transform: scaleY(1);
		transform-origin: center bottom;
	}

	100% {
		opacity: 0;
		transform: scaleY(0);
		transform-origin: center bottom;
	}
}

.who-we-are,
.project,
.service,
.recruit,
.branch-office,
.footer {
	padding: 170px 0;
	margin-top: -1px;
}
.contact {
	padding: 300px 0;
	border-bottom: 20px solid #464646;
}
.project,
.service,
.recruit,
.branch-office {
	color: #fff;
}
.who-we-are {
	max-width: 1800px;
	padding-left: 219px;
	padding-right: 219px;
}
.service,
.recruit {
	display: flex;
	gap: 80px;
	justify-content: center;
	padding-left: 80px;
	padding-right: 80px;
}
.recruit {
	flex-direction: row-reverse;
}
.who-we-are-title {
	font-size: 35px;
	margin-bottom: 30px;
}
.who-we-are-text {
	font-size: 27px;
}
.who-we-are-read-more {
	text-align: right;
	margin-top: 40px;
}
.under_line,
.under_line_w{
	position: relative;
}
.under_line::before {
	content: "";
	width: 100%;
	height: 2px;
	position:absolute;
	bottom: 0;
	left: 0;
	background-color: #333;
}
.under_line_w::before {
	content: "";
	width: 100%;
	height: 2px;
	position:absolute;
	bottom: 0;
	left: 0;
	background-color: #fff;
}

.read-more {
	position: relative;
	font-size: 18px;
	font-weight: 400;
}
.project-inner,
.branch-inner{
	padding-left: 219px;
	padding-right: 219px;
}
.hover-effect{
	position: relative;
}
.hover-effect::before,
.read-more::before {
	content: "";
	width: 0%;
	height: 1px;
	position:absolute;
	bottom: 0;
	left: initial;
	right: 0;
	background-color: #333;
	transition: 0.3s;
}
.project-title,
.service-title,
.recruit-title,
.contact-title,
.branch-title {
	font-size: 35px;
	font-weight: 600;
	line-height: 1.3;
}
.project-sub,
.service-sub,
.recruit-sub,
.branch-sub {
	font-size: 20px;
	font-weight: 500;
	line-height: 1.4;
}
.project-link{
	font-size: 25px;
	font-weight: 400;
	line-height:3;
	opacity: 0.4;
}
.all-projects-link{
	font-size: 18px;
	font-weight: 400;
	display: flex;
	justify-content: flex-end;
	margin-top: 40px;
}
.project-mtM {
	margin-top: 100px;
}

.service-image,
.recruit-image {
	width: 480px;
	max-width: 100%;
	height: 400px;
	position: relative;
}
.service-image,
.recruit-image {
	
}
.mask-image {
	overflow: hidden;
	position: relative;
}
.mask-image::after {
	content: '';
	position: absolute;
	background: linear-gradient(90deg, #eee 0%, #eee 50%, #000 50%, #000 100%);
	width: 200%;
	bottom: 0;
	left: 0;
	right: 0;
	top: 0;
	transform: translate(-100%, 0);
}
.mask-image img {
	opacity: 0;
	transition-duration: 0.4s;
}
.mask-image.active img:nth-of-type(1) {
	opacity: 1;
}

.mask-image.active::after {
	animation: mask 1.2s cubic-bezier(0.9, 0, 0, 1);
}
@keyframes mask {
	0% {
		transform: translate(-50%, 0%)
	}
	40%, 60% {
		transform: translate(0, 0%)
	}
	100% {
		transform: translate(50%, 0%)
	}
}
.image-inner {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: 0.3s;
}
.image-inner:nth-of-type(2){
	opacity: 0;
}

.service-inner,
.recruit-inner {
	margin-top: 1.5rem;
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: space-between;
}
.service-title {

}
.service-text,
.recruit-text{
	font-size: 16px;
	font-weight: 400;
	padding-top: 40px;
	width: 310px;
	text-align: center;
}
.recruit-text{
	width: 270px;
	text-align: center;
}

.service .read-more,
.recruit .read-more{
	display: inline-block;
	font-size: 18px;
	font-weight: 400;
	padding-top: 40px;
}

.service .read-more::before,
.recruit .read-more::before {
	background-color: #fff;
}

.branch-inner {

}

.branch-image {
	width: 90%;
	padding-left: 6rem;
	margin: auto;
	max-width: 1150px;
}

.contact {
	padding-left: 219px;
	padding-right: 219px;
	margin: auto;
}

.contact-us {
	display: flex;
	justify-content: flex-end;
	margin-top: 40px;
}

.footer-flex {
	display: flex;
	flex-wrap: wrap;
	width: 1080px;
	max-width: 100%;
	margin: auto;
}
.footer-left,
.footer-center,
.footer-right {
	flex: 1;
}
.footer-nav {
	list-style: none;
}
.footer-navlink,
.address {
	font-size: 14px;
}
.footer-navItem,
.address {
	margin-top: 30px;
}

.footer-logo {
	margin: auto;
	margin-top: 30px;
	width: 93px;
}


@media (hover: hover) {
	.hover-effect:hover::before,
	.read-more:hover::before {
		left: 0;
		width: 100%;
	}
	.service-image:hover .image-inner:nth-of-type(2),
	.recruit-image:hover .image-inner:nth-of-type(2){
		opacity: 1;
	}
	.js-word-split_item.active .project-link.js-word-split_inner:hover {
		transform: scale(1.2);
		opacity: 1;
	}
}

.js-word-split_item {
	display: block;
	overflow: clip;
}
.js-word-split_inner {
	display: inline-block;
	transform: translate(0px, 100%) rotate(0.001deg) scale(1.1);
	transition: 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.js-word-split_item.active .js-word-split_inner {
	transform: translate(0px, 0%) rotate(0.001deg) scale(1);
}
.js-fadeUp {
	opacity: 0;
	transform: translatey(30px);
	transition: 0.8s;
}
.js-fadeUp.active {
	opacity: 1;
	transform: translatey(0px);
}
.hover-stalker-img {
	position: absolute;
	display: block;
	top: 0;
	left: 0;
	width: 800px;
	height: 450px;
	background-position: 0 0;
	background-size: cover;
	transform: translate(-50%, -50%);
	z-index: 0;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

@media screen and (max-width: 1100px) {
	.-before-none::before {
		display:none;
	}
	.who-we-are, .project, .service, .recruit, .branch-office, .footer {
		padding: 120px 0;
	}
	.service, .recruit {
		gap: 40px;
	}
	.branch-image {
		padding-left: 0;
	}
	.project-inner, .branch-inner {
		padding-left: 5%;
		padding-right: 5%;
		text-align: center;
	}
	.service-inner, .recruit-inner {
		text-align: center;
	}
	.recruit-inner {
		margin-top: 50px;
	}
	.text-right {
		text-align: center;
	}
	.who-we-are {
		padding-left: 40px;
		padding-right: 40px;
	}
	.who-we-are-title {
		font-size: 21px;
		text-align: center;
	}
	.who-we-are-text {
		font-size: 16px;
		text-align: center;
		margin-top: 40px;
	}
	.who-we-are-read-more {
		text-align: center;
	}
	.read-more,
	.service .read-more, .recruit .read-more {
		font-size: 11px;
	}
	.all-projects-link {
		padding-left: 20px;
		padding-right: 20px;
		font-size: 11px;
		text-align: center;
	}
	.project-link {
		font-size: 16px;
		line-height: 1.5;
	}
	.project-text {
		margin-top: 40px;
	}
	.service,
	.recruit,
	.contact {
		flex-direction: column;
		align-items: center;
		padding: 50px 0;
	}
	.contact {
		padding: 100px 0;
	}
	.contact-inner {
		text-align: center;
	}
	.contact-us {
		margin-top: 100px;
		justify-content: center;
	}
	.footer {
		padding: 50px 0;
		position: relative;
	}
	.footer::before {
		content: "";
		width: calc(100% - 80px);
		height: 1px;
		position: absolute;
		top: 0;
		left: 40px;
		background-color: #333;
	}
	.footer-left, .footer-center, .footer-right {
		flex: auto;
	}
	.footer-left, .footer-center {
		width: 50%;
	}
	.footer-right {
		width: 100%;
		padding: 0 40px;
	}
	.header {
		padding-right: 0;
	}
	.nav-button {
		display: block;
		width: 48px;
		height: 100%;
		border: none;
		color: #fff;
		background-color: black;
	}
	.header-nav {
		display: none;
	}
	.header-nav.active{
		display: block;
		position: fixed;
		width: 100vw;
		height: auto;
		top: 0;
		padding: 120px 0 0 0;
		margin: 0 0 0 -40px;
		background: rgba(255, 255, 255, 0.9);
		min-height: 100vh;
		animation: fadeUp 0.3s ease forwards;
		opacity: 0;
		transform: translateY(30px);
	}
	@keyframes fadeUp {
		0%{
			opacity: 0;
			transform: translateY(30px);
		}
		100%{
			opacity: 1;
			transform: translateY(0px);
		}

	}
	.nav-subtext {
		font-size: 16px;
		letter-spacing: 0.15em;
	}
	.header-navItem{
		padding: 24px;
		color: #000;
	}
	.video-inner {
		height: 100vh;
		object-fit: cover;
	}
	.sns-group {
		display: flex;
		justify-content: center;
	}
	.cls-1 {
		fill: transparent;
	}
	.sns-item {
		display: flex;
		width: 55px;
		justify-content: center;
		height: 100%;
	}
	#twitterLogo{
		width: 42px;
	}
	#instagramLogo{
		width: 24px;
	}
	#facebookLogo{
		width: 30px;
		margin-bottom: 6px;
	}
}
