@charset "UTF-8";

/* ヒーローエリア */
.hero {
	display: flex;
	height: 100vh;
	position: relative;
}

.hero .copy-img {
	position: absolute;
	top: 256px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 2;
}

.hero .hero-icon {
	position: absolute;
	top: 561px;
	left: 50%;
	transform: translateX(-54.5%);
	z-index: 2;
}

.hero .splide__slide .photographer {
	color: #fff;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: .05em;
	line-height: 2.3;
	position: absolute;
	right: 75px;
	bottom: 8px;
	text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

/* splide */

.hero .splide {
	width: 50%;
}

.hero .splide__track {
	height: 100%;
}

.hero .splide__slide {
	position: relative;
	width: calc(100% + 60px) !important;
}

.hero .splide__slide img {
	width: calc(100% + 60px);
	height: 100%;
	object-fit: cover;
	transition: 8s ease-out;
	transform: translateX(-60px);
}

.hero .splide__slide.is-active img {
	transform: translateX(0);
	transition-delay: 0s;
}

.news-container .splide {
	margin: 24px auto 80px;
}

.news-container .splide__slide a:hover img {
	opacity: .8;
}

/* anime */

.cover-slide {
	position: absolute;
	background: white;
	height: 100%;
	top: 0;
	animation: 2s forwards;
	transform-origin: right;
}

.hero:has(#splide01-slide01.is-active) .cover-slide {
	background: url(../img/page/business/civil-body.webp);
	background-repeat: repeat;
}

.hero:has(#splide01-slide02.is-active) .cover-slide {
	background: url(../img/page/business/coffee-body.webp);
	background-repeat: repeat;
}

.hero:has(#splide01-slide03.is-active) .cover-slide {
	background: url(../img/page/business/forestry-body.webp);
	background-repeat: repeat;
}

.hero:has(#splide01-slide04.is-active) .cover-slide {
	background: url(../img/page/business/coffee-body.webp);
	background-repeat: repeat;
}

.hero:has(#splide01-slide05.is-active) .cover-slide {
	background: url(../img/page/business/forestry-body.webp);
	background-repeat: repeat;
}

.hero:has(#splide01-slide06.is-active) .cover-slide {
	background: url(../img/page/business/civil-body.webp);
	background-repeat: repeat;
}

@keyframes turningAnime {
	0% {
		transform: scaleX(1);
	}

	100% {
		transform: scaleX(0);
	}
}

.cover-slide.cover-slide--1 {
	left: 0;
	width: 50vw;
}

.cover-slide.cover-slide--2 {
	animation-delay: 2s;
	left: 50%;
	width: 50vw;
}

/* スクロールアニメーション */
header.active {
	background: transparent;
}

header.active li a,
header.active li.has-children {
	color: #fff;
}

.scroll-wrap {
	position: relative;
	transition: 1s;
}

.scroll-wrap.active {
	background-color: rgba(0, 0, 0, 0.5);
	transition: 1s;
}

.scroll-wrap .hero {
	position: sticky;
	top: 0;
	z-index: -1;
}

/* コンセプト */
.concept {
	background-size: cover;
	box-sizing: border-box;
	padding: 229px 117px 171px 216px;
	width: 100%;
}

.concept .col {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	max-width: 1107px;
	margin: 0 auto;
}

.concept p {
	color: #fff;
	font-size: 16px;
	font-weight: 500;
	line-height: 2.5;
	letter-spacing: .05em;
	margin-top: 2.5em;
}

.concept p:first-child {
	margin-top: 0;
}

/* コンテンツ共有 */
.wrap {
	margin-bottom: 151px;
}

.wrap h2 {
	font-size: 50px;
	letter-spacing: .08em;
}

.wrap p {
	color: #1F1F1F;
	font-size: 16px;
	font-weight: 500;
	line-height: 2.5;
	letter-spacing: .05em;
	position: relative;
	z-index: 1;
}

/* 土木工事 */

.civil {
	max-width: 1558px;
	margin: 66px auto 0;
	position: relative;
}

.civil>p {
	margin-top: 46px;
	margin-left: 375px;
}

.civil .text-svg {
	margin: 0 auto;
}

.civil-title {
	background: url(../img/top/civil-back.svg) no-repeat;
	max-width: 483px;
	width: 100%;
	height: 896px;
	position: absolute;
	left: -89px;
	top: -140px;
	z-index: 1;
}

.civil h2 {
	writing-mode: vertical-rl;
	margin-top: 541px;
	margin-left: 205px;
}

.civil .col {
	background: #fff;
	border-radius: 15px;
	width: 80%;
	max-width: 960px;
	height: 480px;
	margin: 192px -29px 0 auto;
	position: relative;
}

.civil .col img {
	border-radius: 15px;
	position: absolute;
}

.civil .col img:nth-child(1) {
	top: 96px;
	left: -131px;
}

.civil .col img:nth-child(2) {
	top: -135px;
	left: 254px;
}

.civil .col img:nth-child(3) {
	top: 110px;
	left: 590px;
}

.civil .col .btn {
	position: absolute;
	right: 158px;
	bottom: 55px;
}

/* 林業 */

.forestry {
	max-width: 1590px;
	margin: 137px auto 0;
	text-align: center;
	position: relative;
}

.forestry p {
	display: inline-block;
	text-align: right;
	margin-top: 46px;
}

.forestry .text-svg {
	margin-left: auto;
	margin-right: 44px;
}

.forestry-title {
	position: relative;
}

.forestry-title::before {
	content: "";
	background: url(../img/top/forestry-back.svg) no-repeat;
	position: absolute;
	top: -176px;
	right: 0;
	transform: translateX(132px);
	width: 569px;
	height: 744px;
	z-index: -1;
}

.forestry h2 {
	position: absolute;
	top: 50px;
	right: 120px;
}

.forestry h2 span {
	writing-mode: vertical-rl;
}

.forestry .col {
	background: #fff;
	border-radius: 15px;
	max-width: 929px;
	height: 480px;
	margin-top: 144px;
	position: relative;
}

.forestry .col img {
	border-radius: 15px;
	position: absolute;
}

.forestry .col img:nth-child(1) {
	top: -89px;
	left: 41px;
}

.forestry .col img:nth-child(2) {
	top: 20px;
	left: 427px;
}

.forestry .col img:nth-child(3) {
	top: -44px;
	left: 742px;
}

.forestry .col .btn {
	position: absolute;
	bottom: 61px;
	right: 91px;
}

/* コーヒーショップ */

.coffee {
	position: relative;
	text-align: center;
	max-width: 1554px;
	margin: 107px auto 0;
}

.coffee>p {
	display: inline-block;
	text-align: left;
	position: relative;
	margin-top: 60px;
}

.coffee-title {
	background: url(../img/top/coffee-back.svg) no-repeat;
	background-size: contain;
	position: absolute;
	top: 0;
	left: -72px;
	width: 470px;
	height: 568px;
}

.coffee-title h2 {
	writing-mode: vertical-rl;
	margin-top: 180px;
	margin-left: 217px;
}

.coffee .col {
	background: #fff;
	border-radius: 15px;
	max-width: 1007px;
	height: 480px;
	margin: 144px 0 0 auto;
	position: relative;
}

.coffee .col img {
	border-radius: 15px;
	position: absolute;
}

.coffee .col img:nth-child(1) {
	top: 70px;
	left: -88px;
}

.coffee .col img:nth-child(2) {
	top: -59px;
	left: 297px;
}

.coffee .col img:nth-child(3) {
	top: 84px;
	left: 633px;
}

.coffee .col .btns {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	padding-top: 382px;
	padding-left: 75px;
	width: 851px;
}

.coffee .col .btns .btn {
	min-width: 277px;
	padding: 12px 86px 12px 34px;
	letter-spacing: .02em;
}

.coffee .col .btns .btn img {
	position: relative;
	top: auto;
	left: auto;
	border-radius: 0;
	margin-right: 7px;
	margin-bottom: 3px;
}

/* お知らせ */

.news {
	margin: 165px auto 0;
	max-width: 1210px;
}

.news-container {
	position: relative;

}

.news .swiper {
	margin-top: 41px;
}

.m-slider-text {
	margin-top: 14px;
}

.news .date {
	color: #747474;
}

.news .date,
.news h3 {
	font-size: 15px;
	font-weight: 500;
	line-height: 2;
	letter-spacing: .05em;
}

.news .btn {
	margin: 55px auto 0;
}

.m-slider-desc {
	position: relative;
}

.m-slider-desc>a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}

.m-slider-desc .thumbnail {
	border-radius: 10px;
	max-width: 368px;
	overflow: hidden;
}

.m-slider-desc .thumbnail img {
	width: 100%;
	transition: .5s all;
}

.m-slider-desc:hover img {
	transform: scale(1.1);
	width: 100%;
}

.wrap .cat-name {
	background: #006E3F;
	border-radius: 5px;
	color: #fff;
	font-size: 15px;
	font-weight: 500;
	line-height: 2;
	letter-spacing: .05em;
	display: block;
	padding: 1px 40px 1px 10px;
	position: relative;
	width: max-content;
	margin: -52px 0 34px -8px;
}

.news .m-slider-desc {
	margin-left: 10px;
}

.splide__arrow--prev,
.splide__arrow--next {
	position: absolute;
	top: -56px;
	width: 43px;
	height: 24px;
	border-radius: 50%;
	background: #fff;
	border: 1px solid #1F1F1F;
	transition: .2s;
	z-index: 1;
}

.splide__arrow--prev svg,
.splide__arrow--next svg {
	display: none;
}

.splide__arrow--prev {
	left: auto;
	right: 51px;
}

.splide__arrow--prev::after,
.splide__arrow--next::after {
	content: "";
	background: url(../img/top/slide-nav.svg) no-repeat;
	background-size: contain;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 9px;
	height: 9px;
}

.splide__arrow--prev::after {
	transform: translate(-50%, -50%) rotate(180deg);
}

.splide__arrow--next {
	right: 0;
}

.splide__arrow:hover {
	background: #006E3F;
	border: 1px solid #006E3F;
}

.splide__arrow:hover::after {
	background: url(../img/btn-w.svg) no-repeat;
	background-size: contain;
}

/* 調整用 */
@media screen and (max-width:1300px) {

	.concept {
		padding: 0 50px;
	}

	.concept .col {
		align-items: center;
		flex-flow: column;
		gap: 50px;
	}
}

@media screen and (min-width:769px) and (max-width:1140px) {
	.forestry p {
		text-align: left;
		margin: 46px 200px 0 1em;
	}

	.coffee>p {
		margin-left: 250px;
	}
}

@media screen and (min-width:769px) and (max-width:980px) {
	.coffee .col .btns {
		grid-template-columns: repeat(2, 1fr);
		padding-top: 347px;
		width: 500px;
	}
}

@media screen and (max-width:768px) {

	/* ヒーロー sp */

	.hero {
		flex-flow: column;
	}

	.hero .splide {
		width: 100%;
		height: 50%;
	}

	.hero .copy-img {
		top: 243px;
		width: 117px;
	}

	.hero .hero-icon {
		top: 486px;
		width: 120px;
	}

	/* animation */

	.cover-slide {
		height: 50vh;
	}

	.cover-slide.cover-slide--1 {
		top: 0;
		left: 0;
		width: 100vw;
	}

	.cover-slide.cover-slide--2 {
		top: 50%;
		left: 0;
		width: 100vw;
	}

	/* コンセプト sp */
	.concept {
		padding: 0 24px 120px;
	}

	.concept .col {
		flex-flow: column;
		gap: 90px;
		max-width: max-content;
	}

	.concept .col img {
		width: 273px;
	}

	.concept p {
		font-size: 15px;
		line-height: 2;
		margin-top: 2em;
	}

	/* コンテンツ共有 sp */
	.wrap {
		margin-bottom: 110px;
	}

	.wrap p {
		font-size: 15px;
		line-height: 2;
		position: relative;
	}

	.wrap h2 {
		font-size: 30px;
	}

	.civil .col img:nth-child(3),
	.forestry .col img:nth-child(3),
	.coffee .col img:nth-child(3) {
		display: none;
	}

	/* 土木工事 sp */
	.civil {
		margin: 40px auto 0;
		padding: 0 24px;
	}

	.civil-title {
		background-size: contain;
		height: 368px;
		left: -63px;
		top: -80px;
	}

	.civil h2 {
		margin-top: 248px;
		margin-left: 87px;
		writing-mode: unset;
	}

	.civil>p {
		margin: 92px auto 0;
	}

	.civil .col {
		background: none;
		max-width: none;
		height: auto;
		margin: 49px auto 0;
	}

	.civil .col div {
		display: flex;
		gap: 20px;
		justify-content: center;
	}

	.civil .col img {
		position: relative;
		top: auto !important;
		left: auto !important;
	}

	.civil .col img:nth-child(1) {
		width: 165px;
		height: 128px;
		margin-top: 65px;
	}

	.civil .col img:nth-child(2) {
		width: 141px;
		height: 154px;
	}

	.civil .col {
		width: 100%;
	}

	.civil .col .btn {
		position: relative;
		bottom: 0;
		right: 0;
		margin: 75px auto 0;
	}

	/* 林業 sp */
	.forestry {
		box-sizing: border-box;
		margin: 0 auto;
		position: relative;
		padding: 88px 24px 0;
		overflow-x: hidden;
	}

	.forestry h2 {
		writing-mode: unset;
		top: 0;
		right: 0;
	}

	.forestry h2 span {
		writing-mode: unset;
	}

	.forestry .text-svg {
		margin-right: 0;
		width: 231px;
	}

	.forestry-title::before {
		background-size: contain;
		width: 232px;
		height: 304px;
		top: -128px;
		right: 0;
		transform: translateX(85px);
	}

	.forestry p {
		text-align: left;
		margin-top: 86px;
	}

	.forestry .col {
		background: none;
		width: auto;
		height: auto;
		margin: 43px auto 0;
	}

	.forestry .col div {
		display: flex;
		gap: 24px;
		justify-content: center;
	}

	.forestry .col img {
		position: relative;
	}

	.forestry .col .btn {
		position: relative;
		bottom: 0;
		right: 0;
		margin: 47px auto 0;
	}

	.forestry .col img:nth-child(1) {
		top: 0;
		left: 0;
		width: 164px;
		height: 145px;
	}

	.forestry .col img:nth-child(2) {
		top: 0;
		left: 0;
		width: 149px;
		height: 160px;
		margin-top: 32px;
	}

	/* コーヒー sp */
	.coffee {
		margin: 145px auto 0;
		padding: 0 24px;
	}

	.coffee .text-svg {
		width: 302px;
	}

	.coffee-title {
		background-size: contain;
		top: -61px;
		left: -18px;
		width: 219px;
		height: 265px;
	}

	.coffee-title h2 {
		margin-top: 133px;
		margin-left: 0;
		writing-mode: unset;
	}

	.coffee>p {
		margin-top: 92px;
	}

	.coffee .col {
		background: none;
		height: auto;
		margin: 49px auto 0;
	}

	.coffee .col img:nth-child(1),
	.coffee .col img:nth-child(2) {
		position: relative;
		top: 0;
		left: 0;
	}

	.coffee .col img:nth-child(1) {
		width: 165px;
		height: 126px;
		margin-top: 62px;
	}

	.coffee .col img:nth-child(2) {
		width: 141px;
		height: 154px;
	}

	.coffee .col div {
		display: flex;
		gap: 21px;
		justify-content: center;
	}

	.coffee .col .btns {
		grid-template-columns: repeat(1, 1fr);
		justify-items: center;
		position: relative;
		gap: 12px;
		padding: 0;
		margin: 69px auto 0;
		width: auto;
	}

	.coffee .col .btns .btn img {
		width: 21px;
		height: 21px;
		margin-top: 0;
	}

	/* お知らせ sp */
	.news {
		margin: 114px auto 0;
	}

	.news h2 {
		text-align: center;
	}

	.news-container .splide {
		margin: 24px auto 117px;
	}

	.splide__arrow--prev,
	.splide__arrow--next {
		top: auto;
		left: 50%;
		bottom: -50px;
	}

	.splide__arrow--prev {
		transform: translateX(-47px);
	}

	.splide__arrow--next {
		transform: translateX(4px);
	}
}