@charset "UTF-8";


/* =================================
    カラム
================================= */

.col {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	gap: 90px;
	margin: 182px auto 0;
	width: 90%;
}


/* =================================
    左カラム
================================= */

.col-img {
	position: sticky;
	top: 180px;
	flex-shrink: 0;
	width: clamp(500px, 50%, 855px);
	height: calc(100vh - 182px);

	h1 {
		background: #fff;
		box-shadow: 4px 4px 4px 0 rgba(0, 0, 0, 0.25);
		color: #1F1F1F;
		font-size: 29px;
		letter-spacing: 3.19px;
		writing-mode: vertical-rl;
		padding: 18px 7px;
		position: absolute;
		top: -72px;
		right: 127px;
		margin-top: 0;
		z-index: 10;

		opacity: 1;
		transition: opacity .5s ease;
	}

	&.hide-title h1 {
		opacity: 0;
	}
}

/* =================================
    左カラムの画像
================================= */

.col-img .image {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	opacity: 0;
	transition: opacity .5s ease;
	pointer-events: none;

	&.is-active {
		opacity: 1;
	}

	img {
		display: block;
		width: 100%;
		height: auto;
	}
}

.wrap-content {
	width: 670px;

	.title {
		border-bottom: 1px solid #0661B5;
		display: flex;
		align-items: center;
		justify-content: space-between;
		flex-wrap: wrap;
		gap: 14px 17px;
		padding-bottom: 27px;

		>div {
			display: flex;
			align-items: center;
			gap: 21px;
		}

		.role {
			background: #0661B5;
			border-radius: 35px;
			color: #fff;
			font-weight: 500;
			font-size: 20px;
			letter-spacing: .04em;
			line-height: 1.5;
			padding: 6px 21px;
		}

		.initial {
			color: #0661B5;
			font-weight: bold;
			font-size: 38px;
			letter-spacing: .11em;
			line-height: 1.15;
		}

		.join {
			color: #0661B5;
			font-weight: bold;
			font-size: 23px;
			letter-spacing: .11em;
			line-height: 1.39;
		}
	}
}


/* =================================
    コンテンツ本文
================================= */

.content {
	margin-top: 50px;

	h2 {
		color: #0661B5;
		display: flex;
		align-items: flex-start;
		gap: 8px;
		font-weight: bold;
		font-size: 23px;
		letter-spacing: .11em;
		line-height: 1.39;
		margin-top: 100px;

		&:first-child {
			margin-top: 0;
		}

		&::before {
			content: "";
			background: #0661B5;
			display: block;
			margin-top: 16px;
			width: 56px;
			height: 2px;
		}
	}

	p {
		color: #1F1F1F;
		font-weight: 500;
		font-size: 16px;
		letter-spacing: .03em;
		line-height: 2.31;
		margin-top: 30px;

		strong {
			font-size: 23px;
			letter-spacing: .11em;
			line-height: 1.39;
		}
	}

	img {
		border-radius: 30px;
		margin-top: 30px;
		width: 100%;
	}

	.wp-block-columns {
		gap: 20px;
	}
}


/* =================================
    初期状態
================================= */

.col-img {
	.image-1 {
		opacity: 1;
	}

	.image-2,
	.image-3 {
		opacity: 0;
	}
}


/* =================================
    スライダー
================================= */
.col-title {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	margin: 170px auto 0;
	width: 90%;
	max-width: 1175px;

	h2 {
		color: #0661B5;
		display: flex;
		flex-flow: column;
		gap: 14px;
		font-size: 38px;
		letter-spacing: .11em;
		line-height: 1.15;

		span {
			display: flex;
			align-items: center;
			gap: 8px;
			font-size: 28px;
			letter-spacing: .06em;
			line-height: 1.14;

			&::before {
				content: "";
				background-image: linear-gradient(90deg, #FCDFC8, #0661B5);
				border-radius: 50%;
				display: block;
				transform: rotate(-30deg);
				width: 23px;
				height: 16px;
			}
		}
	}

	a {
		color: #1F1F1F;
		font-weight: 500;
		font-size: 22px;
		letter-spacing: .03em;
		line-height: 1.68;
		display: flex;
		align-items: center;
		gap: 12px;

		&::after {
			content: "";
			background-color: #0661B5;
			background-image: url(../images/common/arrow-white.svg);
			background-repeat: no-repeat;
			background-position: center;
			background-size: 16px auto;
			border-radius: 30px;
			display: block;
			margin-left: auto;
			width: 46px;
			height: 26px;
			transition: .3s;
		}

		&:hover::after {
			transform: translateX(10px);
		}
	}
}

.interview-slider {
	background: linear-gradient(227deg, #FFDFD9 4.15%, #FFB5B5 106.24%);
	padding: 190px 0;

	&::after {
		content: "";
		position: absolute;
		inset: 0;
		background-image: var(--noise-pattern-light);
		background-repeat: repeat;
		background-size: 100px 100px;
	}

	.transparent {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		z-index: 1;

		&::before {
			content: "";
			position: absolute;
			left: 0;
			top: -1px;
			width: 100%;
			height: 50%;
			background: linear-gradient(to top, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.3) 40%, rgba(255, 255, 255, 0.7) 75%, rgba(255, 255, 255, 1));
			pointer-events: none;
		}

		&::after {
			content: "";
			position: absolute;
			left: 0;
			bottom: -1px;
			width: 100%;
			height: 50%;
			background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.3) 40%, rgba(255, 255, 255, 0.7) 75%, rgba(255, 255, 255, 1));
			pointer-events: none;
		}
	}

	.splide__track {
		overflow: visible;
		position: relative;
		z-index: 1;
	}
}

.interview-card {
	position: relative;

	a {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		z-index: 1;
	}

	&:has(a:hover) .interview-card-image img {
		opacity: .7;
	}
}

.interview-card-image {
	position: relative;

	b {
		background: #fff;
		font-size: 16px;
		padding: 11px 8px;
		position: absolute;
		top: -25px;
		right: 24px;
		writing-mode: vertical-rl;
		z-index: 1;
	}

	img {
		border-radius: 35px;
		transition: .3s;
	}

	.interview-card-category {
		background: #EF5A39;
		border-radius: 0 30px 30px 0;
		color: #fff;
		font-weight: 500;
		font-size: 14px;
		padding: 10px 34px 10px 26px;
		position: absolute;
		left: 0;
		bottom: 0;

		&:has(.cat-career) {
			background: #0661B5;
			padding: 10px 20px 10px 12px;
		}
	}
}

.interview-card-text {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0 8px;
	margin-top: 16px;

	.role {
		background: #fff;
		border-radius: 35px;
		font-weight: 500;
		font-size: 14px;
		letter-spacing: .04em;
		line-height: 2.14;
		padding: 1px 19px;
	}

	.initial {
		font-weight: 500;
		font-size: 22px;
		letter-spacing: .03em;
		line-height: 1.68;
	}
}


/* =================================
    レスポンシブ
================================= */

@media screen and (max-width: 1200px) {
	.col {
		gap: 40px;
	}
}

@media screen and (max-width: 1024px) {
	.col {
		display: block;
		width: 90%;
		margin: 195px auto 0;
	}

	.col-img {
		position: relative;
		top: auto;
		margin: 0 auto;
		width: 600px;
		height: auto;

		.image {
			position: relative;
			display: none;

			&.is-active {
				display: block;
			}
		}

		h1 {
			top: -100px;
			right: 50px;
		}
	}

	.wrap-content {
		margin: 60px auto 0;
		width: 100%;
		height: auto;
		overflow-y: visible;
	}
}

@media screen and (max-width: 767px) {

	/* コンテンツ sp */
	.col {
		width: 100%;
	}

	.col-img {
		position: absolute;
		left: 50%;
		transform: translateX(-50%);
		width: 470px;
		height: 382px;

		h1 {
			font-size: 21px;
			padding: 18px 7px;
			top: -60px;
			right: 100px;
		}
	}

	.wrap-content {
		padding-top: 442px;
		width: 90%;

		.title {
			align-items: flex-start;
			flex-flow: column;
			padding-bottom: 16px;

			.role {
				font-size: 16px;
				line-height: 1.875;
				padding: 0 17px;
			}
		}
	}

	/* 本文 sp */
	.content {
		h2 {
			margin-top: 70px;

			&::before {
				width: 24px;
			}
		}

		p {
			line-height: 1.875;
		}
	}

	/* スライダー sp */
	.col-title {
		align-items: flex-start;
		flex-flow: column;
		gap: 16px;
		margin-top: 160px;

		h2 {
			font-size: 28px;
			line-height: 1.14;
			gap: 9px;

			span {
				font-size: 16px;
				line-height: 1.06;
			}
		}
	}

	.interview-slider {
		padding: 115px 0;
	}

	.interview-card-image {
		b {
			font-size: 14px;
			padding: 13px 4px;
			top: -19px;
			right: 17px;
		}

		.interview-card-category {
			padding: 4px 25px 4px 19px;

			&:has(.cat-career) {
				padding: 4px 15px 4px 9px;
			}
		}
	}

	.interview-card-text {
		margin-top: 10px;
	}
}