/* home = トップページ */
.home-hero {
	position: relative;
	height: 100vh;
	height: 100svh;
	min-height: 700px;
	overflow: hidden;
}

.home-slides,
.home-grain,
.home-slide,
.home-slide img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.home-slides,
.home-grain {
	pointer-events: none;
}

.home-slides {
	z-index: 0;
}

.home-slide {
	margin: 0;
	opacity: 0;
	transition: opacity 1s ease;
}

.home-slide img {
	max-width: none;
	object-fit: cover;
	transform: scale(1.1);
	transform-origin: center;
}

.home-grain {
	z-index: 1;
	opacity: 0;
	background: url("/assets/img/top/slider/01.jpg") 50% 43% / 400% auto no-repeat;
	transform: scale(1.06);
	transition: opacity .8s ease;
}

.home-copy {
	position: absolute;
	z-index: 3;
	top: 50%;
	left: clamp(48px, 65px, 92px);
	transform: translateY(-27%);
	transition: color .5s ease;
}

.home-title {
	margin: 0;
	font-family: var(--font-en);
	font-size: clamp(72px, 78px, 115px);
	font-weight: 800;
	letter-spacing: .1em;
	line-height: .86;
}

.home-tag {
	margin: 30px 0 0;
	font-size: clamp(22px, 26px, 30px);
	font-weight: 700;
	letter-spacing: .05em;
}

.home-mark {
	position: absolute;
	z-index: 2;
	top: 50%;
	right: calc(24% + 100px);
	width: clamp(260px, 20vw, 360px);
	max-width: none;
	transform: translate(50%, -50%);
	transform-origin: center;
	will-change: transform, opacity, filter;
}

.home-hero.is-intro-playing .home-mark {
	animation: home-mark-grow 2s cubic-bezier(.4, 0, .2, 1) 2s both,
		home-mark-blur 1.5s ease-in 2.5s both,
		home-mark-fade-in .5s ease-out .5s both;
}

.home-hero.is-intro-playing .home-grain {
	animation: home-grain-intro 4s ease both;
}

.home-hero.is-slideshow .home-copy {
	color: var(--color-white);
}

.home-hero.is-slideshow .home-mark {
	opacity: 0;
	visibility: hidden;
}

.home-hero.is-slideshow .home-slide.is-active {
	z-index: 1;
	opacity: 1;
}

.home-hero.is-slideshow .home-slide.is-active img {
	animation: home-slide-zoom 4s linear both;
}

@keyframes home-mark-grow {
	from {
		transform: translate(50%, -50%) scale(1.5);
	}

	to {
		transform: translate(50%, -50%) scale(30);
	}
}

@keyframes home-mark-blur {
	from {
		filter: blur(0);
	}

	to {
		filter: blur(12px);
	}
}

@keyframes home-mark-fade-in {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@keyframes home-grain-intro {

	0%,
	88% {
		opacity: 0;
		transform: scale(1.1);
	}

	98%,
	100% {
		opacity: 1;
		transform: scale(1.06);
	}
}

@keyframes home-slide-zoom {
	from {
		transform: scale(1);
	}

	to {
		transform: scale(1.1);
	}
}

.home-about,
.home-features,
.home-recruit {
	padding-right: var(--side-padding);
	padding-left: var(--side-padding);
}

.home-about {
	display: grid;
	max-width: 1200px;
	margin: 48px auto 0;
	padding-left: 0;
	align-items: center;
	grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
	gap: clamp(60px, 91px, 140px);
}

.home-about-img {
	width: 100%;
}

.home-about-body {
	max-width: 500px;
	padding: 60px 0;
}

.home-about-text {
	margin: 38px 0 38px;
	font-size: 17px;
	font-weight: 400;
	line-height: 2.05;
}

.home-about-body .more {
	display: flex;
	width: max-content;
	margin-left: auto;
}

@media (min-width: 768px) {
	.home-about .sec-en {
		font-size: 60px;
		letter-spacing: .1em;
	}

	.home-about .sec-ja {
		font-size: 22px;
	}

	.home-features .sec-en,
	.home-recruit .sec-en {
		font-size: 48px;
		letter-spacing: .1em;
	}

	.home-features .sec-ja,
	.home-recruit .sec-ja {
		font-size: 18px;
		letter-spacing: .1em;
	}
}

.home-features {
	max-width: 1200px;
	margin: 175px auto 0;
}

.home-cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(52px, 78px, 92px);
}

.home-card {
	text-align: center;
}

.home-card-link {
	display: block;
	overflow: hidden;
	margin-bottom: 48px;
}

.home-card-img {
	width: 100%;
	aspect-ratio: 840 / 477;
	backface-visibility: hidden;
	object-fit: cover;
	transform: translate3d(0, 0, 0) scale(1);
	transition: transform 1s var(--ease-hover);
	will-change: transform;
}

.home-card-link:hover .home-card-img {
	transform: translate3d(0, 0, 0) scale(1.025);
}

.home-card-text {
	min-height: 96px;
	margin: 34px 12px 22px;
	text-align: left;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.9;
}

.home-recruit {
	max-width: 1200px;
	margin: 180px auto 0;
	text-align: center;
}

.home-rec-link {
	display: block;
	overflow: hidden;
	margin-bottom: 62px;
}

.home-rec-img {
	width: 100%;
	aspect-ratio: 1800 / 746;
	backface-visibility: hidden;
	object-fit: cover;
	transform: translate3d(0, 0, 0) scale(1);
	transition: transform 1s var(--ease-hover);
	will-change: transform;
}

.home-rec-link:hover .home-rec-img {
	transform: translate3d(0, 0, 0) scale(1.018);
}

.home-rec-text {
	margin: 38px 0 20px;
	font-size: 25px;
	font-weight: 700;
	letter-spacing: .05em;
}

.cta {
	margin-top: 220px;
	padding: 75px var(--side-padding) 82px;
	background: #9a663c url("/assets/img/top/contact-wood.jpg") center / cover no-repeat;
	background-image: image-set(url("/assets/img/top/contact-wood.webp") type("image/webp"),
			url("/assets/img/top/contact-wood.jpg") type("image/jpeg"));
	color: var(--color-white);
}

.cta-in {
	max-width: 1200px;
	margin: 0 auto;
	text-align: center;
}

.cta-title {
	margin: 0 0 38px;
	font-size: 20px;
	font-weight: 700;
}

.cta-links {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}

.cta-links>* {
	display: inline-flex;
	min-height: 96px;
	padding: 16px 28px;
	border-radius: 6px;
	align-items: center;
	justify-content: center;
	gap: 14px;
	background: var(--color-white);
	color: #82542f;
	font-size: 26px;
	font-weight: 700;
	letter-spacing: .04em;
	transform: translate3d(0, 0, 0);
	transition: transform .6s var(--ease-hover), box-shadow .6s var(--ease-hover);
}

.cta-pc,
.cta-sp {
	font-family: var(--font-en);
	font-size: 40px;
	font-weight: 500;
	letter-spacing: .05em;
}

.cta-sp {
	display: none;
}

.cta-links>*:hover,
.cta-links>*:focus-visible {
	transform: translate3d(0, -2px, 0);
	box-shadow: 0 10px 24px rgba(49, 29, 11, .2);
}

.cta-links i {
	font-size: 30px;
}

@media (max-width: 767px) {
	.home-hero {
		height: 100vh;
		height: 100svh;
		min-height: 150vw;
	}

	.home-copy {
		top: 47%;
		left: 6vw;
		transform: translateY(-18%);
	}

	.home-title {
		font-size: 13vw;
		line-height: .9;
	}

	.home-tag {
		margin-top: 5vw;
		font-size: 4vw;
	}

	.home-mark {
		top: 31%;
		right: 21%;
		width: 42vw;
	}

	.home-about,
	.home-features,
	.home-recruit {
		padding-right: 6vw;
		padding-left: 6vw;
	}

	.home-about {
		display: flex;
		margin-top: 10vw;
		padding: 0;
		flex-direction: column;
		gap: 9vw;
	}

	.home-about .sec-en,
	.home-about .sec-ja {
		text-align: center;
	}

	.home-about-img {
		width: calc(100% - 11vw);
		margin-right: auto;
		margin: 0 auto;
	}

	.home-about-body {
		max-width: none;
		padding: 0 6vw;
	}

	.home-about-body .more,
	.home-card .more,
	.home-recruit .more {
		display: flex;
		width: max-content;
		margin-right: 0;
		margin-left: auto;
	}

	.home-about-text {
		margin: 7vw 0 6vw;
		font-size: 3.6vw;
		line-height: 1.9;
	}

	.home-features {
		margin-top: 26vw;
	}

	.home-cards {
		grid-template-columns: 1fr;
		gap: 23vw;
	}

	.home-card-link {
		margin-bottom: 8vw;
	}

	.home-card-text {
		min-height: 0;
		margin: 6vw 0 5vw;
		font-size: 3.6vw;
	}

	.home-recruit {
		margin-top: 27vw;
		padding: 0 6vw;
	}

	.home-rec-link {
		margin-right: -6vw;
		margin-bottom: 9vw;
		margin-left: -6vw;
	}

	.home-rec-img {
		min-height: 67vw;
		object-position: center;
	}

	.home-rec-text {
		margin: 7vw 0 4vw;
		font-size: 5vw;
	}

	.cta {
		margin-top: 31vw;
		padding: 14vw 6vw 16vw;
	}

	.cta-title {
		margin-bottom: 7vw;
		font-size: 4vw;
	}

	.cta-links {
		grid-template-columns: 1fr;
		gap: 4vw;
	}

	.cta-links>* {
		min-height: 17vw;
		padding: 3vw 5vw;
		font-size: 4vw;
	}

	.cta-pc,
	.cta-sp {
		font-size: 7vw;
	}

	.cta-links i {
		font-size: 5vw;
	}

	.cta-pc {
		display: none;
	}

	.cta-sp {
		display: inline-flex;
	}
}