/*css top*/
main .kv {
	position: relative;
	@media screen and (min-width: 1024px) { margin-bottom: 80px; }
	& .kv-video {
		position: relative;
		aspect-ratio: 16 / 9;
		overflow: hidden;
		& iframe {
			position: absolute;
			inset: 0;
			width: 100%;
			height: 100%;
			transform: scale(1.03);
		}
	}
	& p {
		position: absolute;
		bottom: 20px;
		left: 3%;
		color: #ffffff;
		line-height: 1.3;
		font-size: 3vw;
		@media screen and (min-width: 600px) { font-size: 150%; }
		@media screen and (min-width: 1024px) { bottom: 40px; }
		& em {
			font-size: 4.5vw;
			font-style: normal;
			font-weight: bold;
			display: block;
			margin-bottom: 5px;
			@media screen and (min-width: 600px) { font-size: 175%; }
		}
	}
}
main section article {
	background-color: #ffffff;
	padding: 30px;
	@media screen and (min-width: 1024px) { padding: 40px; }
	& h2 {
		font-size: 4vw;
		letter-spacing: 0.5em;
		line-height: 1.5;
		margin-bottom: 20px;
		@media screen and (min-width: 600px) { font-size: 112.5%; }
	}
}
main section {
	position: relative;
	margin-bottom: 40px;
	@media screen and (min-width: 1024px) {padding: 80px 5% 40px 0; }
	& article {
		position: relative;
		&::before {
			color: #ffffff;
			font-size: 10vw;
			position: absolute;
			top: -1.3em;
			font-weight: bold;
			left: 0;
			@media screen and (min-width: 600px) { font-size: 300%; }
			@media screen and (min-width: 1024px) { font-size: 375%; }
		}
	}
	& .image-block {
		position: absolute;
		width: 40vw;
	}
}
main section.sec01 {
	& article {
		@media screen and (min-width: 600px) { width: 80%; }
		@media screen and (min-width: 1024px) { width: 75%; }
		&::before {content: "ATTEMPT";}
	}
	& .image-block {
		aspect-ratio: 148 / 135;
		right: 0;
		bottom: -80px;
		@media screen and (min-width: 600px) {
			width: 30%;
			bottom: 0;
		}
		@media screen and (min-width: 1024px) { max-width: 370px; }
	}
}
main section.sec02, main section.sec04 {
	& article::before {
		right: 0;
		left: auto;
	}
}
main section.sec02 {
	& article {
		@media screen and (min-width: 600px) {
			width: 70%;
			left: 30%;
		}
		&::before { content: "CONSULTATION"; }
		& .request {
			margin-bottom: 20px;
			line-height: 1.5;
			& em {
				font-weight: bold;
				display: inline-block;
				font-style: normal;
			}
		}
	}
	& .image-block {
		aspect-ratio: 68 / 65;
		left: 5px;
		bottom: -95px;
		@media screen and (min-width: 600px) {
			width: 30%;
			bottom: 0;
		}
		@media screen and (min-width: 1024px) { max-width: 340px; }
	}
}
main section.sec03 {
	& article {
	@media screen and (min-width: 600px) { width: 70%; }
		&::before { content: "PURPOSE"; }
	}
	& .image-block { 
		aspect-ratio: 152 / 93;
		right: 5%;
		bottom: -10px;
		@media screen and (min-width: 600px) {
			width: 30%;
			bottom: auto;
			top: 0;
		}
		@media screen and (min-width: 1024px) { max-width: 380px; }
	}
}
main section.sec04 {
	& article {
		@media screen and (min-width: 600px) {
			width: 60%;
			left: 40%;
		}
		@media screen and (min-width: 1024px) { 
			width: 72%;
			left: 28%;
		}
		&::before { content: "ACCOMPANYING"; }
	}
	& .image-block { 
		aspect-ratio: 221 / 205;
		bottom: -95px;
		@media screen and (min-width: 600px) {
			width: 37%;
			bottom: auto;
			top: 0;
		}
		@media screen and (min-width: 1024px) { width: 30%; }
		@media screen and (min-width: 1060px) { max-width: 330px; }
	}
}
main section.sec05 {
	& article {
		@media screen and (min-width: 600px) { width: 65%; }
		&::before { content: "MEANS"; }
	}
	& .image-block {
		aspect-ratio: 70 / 53;
		bottom: -50px;
		right: 5%;
		@media screen and (min-width: 600px) {
			width: 35%;
			top: 0;
			bottom: auto;
		}
	}
}
main section.sec06 {
	& article::before { content: "ACHIEVEMENTS"; }
	& .slider {
		container-type: inline-size;
		position: relative;
		margin: 0 -12px;
		padding: 0;
		list-style: none;
		@media screen and (min-width: 768px) { margin-inline: -15px; }
		& .slick-list {
			@media screen and (min-width: 768px) {
				width: calc(800% / 7);
				clip-path: inset(0 12.5% 0 0);
			}
			@media screen and (min-width: 1024px) {
				width: 100%;
				clip-path: none;
			}
		}
		& .slick-slide {
			margin: 0 12px;
			@media screen and (min-width: 768px) { margin-inline: 15px; }
			& a {
				display: block;
				color: inherit;
				font-size: 14px;
				line-height: 1.7;
				text-decoration: none;
				transition: opacity 0.3s;
				&:hover { opacity: 0.65; }
				&:focus-visible {
					outline: 2px solid #cb2848;
					outline-offset: -2px;
				}
				& > p:first-child {
					aspect-ratio: 16 / 9;
					margin-bottom: 10px;
					overflow: hidden;
					& img {
						display: block;
						width: 100%;
						height: 100%;
						object-fit: cover;
						object-position: center top;
					}
				}
				& > div {
					display: flex;
					align-items: center;
					flex-wrap: wrap;
					gap: 4px 15px;
					margin-bottom: 5px;
					color: #888888;
					font-size: 10px;
					line-height: 1.5;
					& time { white-space: nowrap; }
					& .category_btn {
						min-width: 50px;
						padding: 2px 12px;
						border: 1px solid currentColor;
						border-radius: 20px;
						text-align: center;
					}
				}
			}
		}
		& .slick-arrow {
			top: calc((100cqw - 24px) * 9 / 16 - 22px);
			z-index: 1;
			width: 44px;
			height: 44px;
			transform: none;
			@media screen and (min-width: 480px) { top: calc((100cqw / 2 - 24px) * 9 / 16 - 22px); }
			@media screen and (min-width: 768px) { top: calc((100cqw * 2 / 7 - 30px) * 9 / 16 - 22px); }
			&::before {
				content: "";
				display: block;
				width: 22px;
				height: 12px;
				margin: auto;
				background: url(../img/common/ico-arrow.svg) center / contain no-repeat;
				opacity: 1;
			}
			&:hover::before { opacity: 0.6; }
			&:focus-visible {
				outline: 2px solid #cb2848;
				outline-offset: -2px;
			}
			&.slick-prev {
				left: -22px;
				&::before { transform: scaleX(-1); }
			}
			&.slick-next { right: -22px; }
		}
	}
}
main section.sec07 {
	@media screen and (min-width: 1024px) { max-width: 850px; }
	& p {
		color: #cb2848;
		line-height: 2.5;
		letter-spacing: 0.5em;
		font-size: 3vw;
		font-weight: bold;
		@media screen and (min-width: 600px) { font-size: 106.25%; }
		&.catch {
			font-size: 4.5vw;
			font-style: normal;
			font-weight: bold;
			line-height: 1.5;
			margin-bottom: 1em;
			@media screen and (min-width: 600px) { font-size: 175%; }
			& + p {color: #666666;}
		}
		&.logo {
			width: 30%;
			max-width: 300px;
			margin: 2em 0 0 auto;
		}
		&.contact a {
			display: block;
			background-color: #cb2848;
			color: #ffffff;
			text-decoration: none;
			border-radius: 60px;
			width: fit-content;
			margin: 0.5em auto 0;
			padding: 10px 2em;
			transition: 0.7s ease;
			@media screen and (min-width: 1024px) { margin: 0.5em 0 0 auto; }
		}	
	}
}
