#greeting-frame {
	padding: 20vh 20% 0 20%;
	font-size: 0;
}

#greeting-frame h1 {
	margin: 0;
	font-size: 4rem;
	line-height: 90%;
}
#greeting-frame p {
	font-size: 1rem;
}

#greeting-frame h2 {
	font-size: .8vw;
}
#greeting-frame h2 span {
	display: inline-block;
}

/* greeting-item */
.greeting-item {
	display: inline-block;
	opacity: 0;
	width: 30%;
	height: 30vw;
	margin: 0 5% 5% 0;
	cursor: pointer;
}

.greeting-item:nth-of-type(3n) {
	margin: 0 0 5% 0;
}

.greeting-item img {
	width: 100%;
	height: 25vw;

	-o-object-fit: cover;
	   object-fit: cover;
}

/* greeting-display */
#greeting-display {
	display: none;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 5;
	padding: 10vw 15%;
	background-color: #FAFAFA;
}

#greeting-display img {
	position: absolute;
	top: 10vw;
	right: 20vw;
	width: 20vw;
	height: 30vw;

	-o-object-fit: cover;
	   object-fit: cover;
}

#staff-name, #staff-position {
	display: inline;
}

#staff-position {
	margin-left: 1rem;
	color: gray;
}


#staff-description {
	width: 40vw;
	margin-top: 3rem;
}

/* back-button */
#back-button {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 10;
	width: 120px;
	height: 120px;
	text-shadow: 1px 1px 2px #808080;
	cursor: pointer;

	-webkit-user-select: none;
	   -moz-user-select: none;
	    -ms-user-select: none;
	        user-select: none;
}

#back-arrow {
	position: absolute;
	top: 30px;
	left: 50%;
	transform: translateX(-50%);
	width: 30px;
	height: 30px;
}

#back-arrow span {
	display: block;
	position: absolute;
	width: 30px;
	height: 1px;
	box-shadow: 1px 1px 2px #808080;
	background: black;
	transition: .8s;

	transform-origin: left;
}

#back-arrow span:nth-child(1) {
	top: 50%;
	transform: translateX(-30px) rotateZ(-30deg);
}

#back-arrow span:nth-child(2) {
	top: 50%;
	transform: translateX(-30px);
	width: 90px;
}

#back-arrow span:nth-child(3) {
	bottom: 50%;
	transform: translateX(-30px) rotateZ(30deg);
}

#back-button:hover #back-arrow span:nth-child(1) {
	transform: rotateZ(-45deg);

	transform-origin: center;
}

#back-button:hover #back-arrow span:nth-child(2) {
	opacity: 0;
	width: 0;
}

#back-button:hover #back-arrow span:nth-child(3) {
	transform: rotateZ(45deg);

	transform-origin: center;
}

#back-button p {
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	margin: 0;
	font-size: 18px;
}

/* レスポンシブデザイン */
@media screen and (max-width: 1200px) {
}

@media screen and (max-width: 960px) {
	#greeting-frame h2 span {
		display: block;
		font-size: 2vw;
	}
}

@media screen and (max-width: 770px) {
	#greeting-frame {
		padding: 10vh 10% 0 10%;
	}

	#greeting-frame h2 {
		display: inline-block;
		font-size: 1vw;
	}

	#greeting-frame h2 span {
		display: inline-block;
		font-size: 1vw;
	}

	/* greeting-item */
	.greeting-item {
		width: 45%;
		height: 50vw;
		margin: 0 10% 10% 0;
	}

	.greeting-item:nth-of-type(3n) {
		margin: 0 10% 10% 0;
	}

	.greeting-item:nth-of-type(2n) {
		margin: 0 0 10% 0;
	}

	.greeting-item img {
		height: 45vw;
	}

	/* greeting-display */
	#greeting-display img {
		top: 15vh;
		right: 50%;
		transform: translateX(50%);
		width: 70vw;
		height: 90vw;
	}

	#greeting-display h2 {
		font-size: 5vw;
	}

	#staff-description {
		width: 100%;
		margin-top: calc(90vw + 10vh);
	}
}

@media screen and (max-width: 600px) {
	/* back-button */
	#back-button {
		width: 80px;
		height: 80px;
	}

	#back-arrow {
		top: 20px;
		width: 20px;
		height: 20px;
	}

	#back-arrow span {
		width: 20px;
	}

	#back-arrow span:nth-child(1) {
		transform: translateX(-20px) rotateZ(-30deg);
	}

	#back-arrow span:nth-child(2) {
		transform: translateX(-20px);
		width: 60px;
	}

	#back-arrow span:nth-child(3) {
		transform: translateX(-20px) rotateZ(30deg);
	}

	#back-button p {
		bottom: 15px;
		font-size: 12px;
	}
}

@media screen and (max-width: 480px) {
	#greeting-frame {
		padding: 10vh 15% 0 15%;
		font-size: 0;
	}

	#greeting-frame h2, #greeting-frame h2 span {
		font-size: 3vw;
	}

	.greeting-item {
		width: 100%;
		height: 100vw;
		margin: 0 0 15% 0;
	}

	.greeting-item:nth-of-type(3n) {
		margin: 0 0 15% 0;
	}

	.greeting-item:nth-of-type(2n) {
		margin: 0 0 15% 0;
	}

	.greeting-item img {
		height: 95vw;
	}

	#staff-name, #staff-position {
		display: block;
		margin: 0;
	}
}