@charset "utf-8";

body {
	height: 100vh;
	opacity: 0;
	transition: opacity 0.3s ease-out;
	overflow: hidden;
	@media (width <= 800px) {
		height: auto;
		overflow: visible;
	}
	&.fade-in-active {
		opacity: 1;
	}
	&.fade-out-active {
		opacity: 0;
	}
}

header {
	display: none;
}
footer {
	display: none;
}

.staff {
	display: flex;
	justify-content: center;
	align-items: center;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	z-index: 11;
	@media (width <= 800px) {
		display: block;
		position: relative;
		top: auto;
		left: auto;
		height: 100%;
	}
	.staff-close {
		position: fixed;
		right: 0;
		top: 0;
		width: 65px;
		height: 65px;
		background-color: var(--green01);
		z-index: 2;
		@media (width <= 800px) {
			width: 56px;
			height: 56px;
		}
		&::before,
		&::after {
			position: absolute;
			left: 50%;
			top: 50%;
			translate: -50% -50%;
			content: "";
			width: 45px;
			height: 5px;
			background-color: var(--white);
			border-radius: 9999px;
			@media (width <= 800px) {
				width: 34px;
			}
		}
		&::before {
			rotate: 35deg;
		}
		&::after {
			rotate: -35deg;
		}
	}
	.bird-staff {
		position: absolute;
		left: 44px;
		top: 70px;
		z-index: 2;
		@media (width <= 800px) {
			top: 10px;
			left: 20px;
			width: 32px;
		}
	}
	.bg-staff {
		position: absolute;
		left: -20px;
		bottom: 43px;
		z-index: 1;
		@media (width <= 800px) {
			left: -10px;
			bottom: -30px;
			width: 101px;
		}
	}
}
.staff-content {
	position: relative;
	display: flex;
	width: 100%;
	height: 100vh;
	margin: 0 auto;
	z-index: 1;
	@media (width <= 800px) {
		display: block;
		height: auto;
	}
	.l-staff {
		display: flex;
		align-items: center;
		position: relative;
		width: 42.4%;
		background-color: var(--white);
		padding-left: 20px;
		@media (width <= 800px) {
			display: block;
			width: 100%;
			padding: 56px 40px 60px;
		}
		&::before {
			position: absolute;
			left: 0;
			top: 0;
			width: 100%;
			height: 43.2vw;
			content: "";
			background-image: url(../img/bg_staff01.svg);
			background-repeat: no-repeat;
			background-position: left top;
			background-size: cover;
			z-index: 1;
			pointer-events: none;
			@media (width <= 800px) {
				height: 102vw;
				background-image: url(../img/bg_staff01_sp.svg);
			}
		}
		.staff-detail01 {
			position: relative;
			width: 100%;
			max-width: 335px;
			margin: 0 100px 0 auto;
			z-index: 2;
			@media (width <= 800px) {
				max-width: inherit;
				margin: 0;
			}
			.staff-img {
				width: 100%;
				margin: 0 auto 25px;
				@media (width <= 800px) {
					margin-bottom: 20px;
				}
				img {
					width: 100%;
				}
			}
			.kana {
				font-size: 16px;
				margin-bottom: 5px;
				@media (width <= 800px) {
					font-size: 12px;
				}
			}
			h2 {
				font-size: 36px;
				margin-bottom: 20px;
				@media (width <= 800px) {
					font-size: 20px;
					margin-bottom: 10px;
				}
			}
			.store-cat {
				display: flex;
				flex-wrap: wrap;
				gap: 10px;
				margin-bottom: 40px;
				@media (width <= 800px) {
					border-bottom: 1px dashed var(--green01);
					margin-bottom: 15px;
					padding-bottom: 15px;
				}
				.store-cat-name {
					display: inline-flex;
					align-items: center;
					justify-content: center;
					font-size: 18px;
					font-weight: 700;
					background-color: var(--yellow01);
					border-radius: 9999px;
					padding: 5px 12px;
					@media (width <= 800px) {
						font-size: 14px;
						padding: 4px 10px;
					}
				}
			}
			h3 {
				color: var(--green01);
				font-size: 18px;
				margin-bottom: 5px;
				@media (width <= 800px) {
					font-size: 16px;
				}
			}
			.qualification {
				margin-bottom: 0;
			}
		}
	}
	.r-staff {
		display: flex;
		align-items: center;
		width: 57.6%;
		background-color: var(--yellowgreen02);
		padding-right: 20px;
		@media (width <= 800px) {
			width: 100%;
			padding: 56px 40px;
		}
		.staff-detail02 {
			position: relative;
			width: 100%;
			max-width: 785px;
			height: calc(100vh - 200px);
			padding: 0 100px 0 115px;
			overflow-y: auto;
			z-index: 2;
			@media (width <= 800px) {
				max-width: inherit;
				height: auto;
				padding: 0;
				overflow-y: visible;
			}
			h2 {
				color: var(--green01);
				font-size: 28px;
				margin-bottom: 20px;
				@media (width <= 800px) {
					font-size: 20px;
					padding-left: 10px;
					margin-bottom: 10px;
				}
				&::before {
					position: absolute;
					top: 50%;
					left: -30px;
					translate: 0 -50%;
					width: 23px;
					height: 17px;
					content: "";
					background-color: var(--yellow01);
					mask-image: url(../img/arrow_r_double.svg);
					mask-repeat: no-repeat;
					mask-position: left top;
					mask-size: cover;
					@media (width <= 800px) {
						left: -24px;
					}
				}
			}
			.message {
				margin-bottom: 56px;
				@media (width <= 800px) {
					margin-bottom: 40px;
				}
				p {
					margin-bottom: 0;
				}
			}
			table {
				border-bottom: 1px solid var(--green02);
				margin-bottom: 100px;
				@media (width <= 800px) {
					margin-bottom: 30px;
				}
				th,
				td {
					border-top: 1px solid var(--green02);
					@media (width <= 800px) {
						padding: 0;
					}
				}
				th {
					width: 200px;
					font-size: 18px;
					padding: 30px 0;
					@media (width <= 800px) {
						width: 100%;
						font-size: 16px;
						padding: 20px 0 5px;
					}
				}
				td {
					width: calc(100% - 200px);
					padding: 30px 0;
					@media (width <= 800px) {
						width: 100%;
						padding: 0 0 20px;
						border-top: none;
					}
				}
			}
			.holiday-img {
				width: 100%;
				margin: 0 auto 90px;
				@media (width <= 800px) {
					margin-bottom: 20px;
				}
				&:last-child {
					margin-bottom: 0;
				}
				img {
					width: 100%;
				}
			}
		}
	}
	.post-navigation {
		position: fixed;
		right: 100px;
		bottom: 0;
		display: flex;
		align-items: flex-end;
		gap: 0 5px;
		width: 267px;
		z-index: 3;
		pointer-events: none;
		@media (width <= 800px) {
			top: 50%;
			bottom: auto;
			right: auto;
			left: 0;
			translate: 0 -50%;
			align-items: center;
			justify-content: space-between;
			width: 100%;
		}
		.nav-previous,
		.nav-next {
			width: 100%;
			pointer-events: auto;
			@media (width <= 800px) {
				width: 30px;
			}
			a {
				position: relative;
				display: flex;
				align-items: center;
				justify-content: center;
				color: var(--white);
				width: 100%;
				height: 58px;
				font-size: 18px;
				font-weight: 700;
				text-decoration: none;
				background-color: var(--darkgray);
				border-radius: 30px 30px 0 0;
				transition: all 0.3s ease-out;
				@media (width >= 800px) {
					&:hover {
						background-color: var(--green01);
						height: 75px;
					}
				}
				@media (width <= 800px) {
					height: 131px;
					font-size: 14px;
					writing-mode: vertical-rl;
				}
				&::before {
					position: absolute;
					top: 50%;
					translate: 0 -50%;
					width: 13px;
					height: 18px;
					content: "";
					background-color: var(--yellow01);
					clip-path: polygon(100% 0, 0 50%, 100% 100%);
					@media (width <= 800px) {
						width: 10px;
						height: 14px;
						top: 38px;
						translate: -50% 0;
					}
				}
				&.nolink {
					pointer-events: none;
					opacity: 0.5;
				}
			}
		}
		.nav-previous {
			a {
				padding-left: 30px;
				@media (width <= 800px) {
					border-radius: 0 20px 20px 0;
					padding: 25px 0 0;
				}
				&::before {
					left: 24px;
					@media (width <= 800px) {
						left: 50%;
					}
				}
			}
		}
		.nav-next {
			a {
				padding-right: 30px;
				@media (width <= 800px) {
					border-radius: 20px 0 0 20px;
					padding: 25px 0 0;
				}
				&::before {
					right: 24px;
					rotate: 180deg;
					@media (width <= 800px) {
						left: 50%;
						right: auto;
					}
				}
			}
		}
	}
}
