@charset "utf-8";

/******************/

* {
	border: 0;
	margin: 0;
	outline: 0;
	padding: 0;
	box-sizing: border-box;
	font: inherit;
	font-weight: lighter;
	list-style: none;
	text-decoration: none;
}

html {
	font-size: 62.5%;
	width: 100%;
	height: 100%;
}

body {
	background: #fff;
	color: #141414;
	font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', 'Meiryo', 'メイリオ', 'MS PGothic', 'ＭＳ Ｐゴシック', Helvetica, Arial, sans-serif;
	font-size: 13px;
	font-size: 1.3rem;
	font-style: normal;
	font-weight: lighter;
	width: 100%;
	height: 100%;
	line-height: 1;
	position: relative;
	text-size-adjust: 100%;
	text-align: center;
}
.mincho {
	font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}
.shiro {
	color: white;
	width: 90%;
}
	.shiro a {
		color: #aaa;
		font-size: 1.1em;
		padding: 1.1em;
		border-radius: 10px; 
	}
	.shiro a:hover {
		background-color: #555555;
	}

a[href^="mailto:"]:before {
	content: '';
	display: inline-block;
	background-image: url(/image/mail.svg);
	background-size: contain;
	background-repeat: no-repeat;
	vertical-align: middle;
	width: 1em;
	height: 1em;
	padding-right: .4em;
}
/******************/


#parallax {
	height: 500px; /* fallback for older browsers */
	height: 100vh;
	overflow-x: hidden;
	overflow-y: auto;
	perspective: 300px;
}


.title {
	text-align: center;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
}
	.title img {
		width: 30vw;
	}
.ue {
	top: 45%;
}
article {
	word-break: keep-all;
	text-align: left;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
}
	article p {
		line-height: 1.7;
		margin: 1.5em 0;
	}
	article div {
		text-align: right;
		margin: 2.5em 0;
	}

dl {
	text-align: left;
	position: absolute;
	left: 50%;
	top: 90%;
	transform: translate(-50%, -100%);
	line-height: 1.5;
}
	dt {
		border-bottom: 1px dotted;
		margin-bottom: .8em;
		display: inline-block;
	}
	dd {
		margin-bottom: 1.8em;
	}

h1 {
	text-align: center;
	position: absolute;
	top: 13%;
	width: 100%;
	font-size: 1.5em;
	font-weight: bold;
}
.prof {
	line-height: 1.5;
	text-align: left;
	position: absolute;
	top: 79%;
	left: 40%;
	transform: translate(0, -100%);
	padding: 1em;
	width: 50%;
	text-shadow:
		white 1px 1px 2px, white -1px 1px 2px,
		white 1px -1px 2px, white -1px -1px 2px;
	background: rgba(239, 239, 239, 0.3);
}
	.prof p {
		margin: .69em 0;
	}


section {
	position: relative;
	height: 500px; /* fallback for older browsers */
	height: 104vh;
	transition: transform 0.5s;
	transform-style: preserve-3d;
}

.parallax-layer {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}



/******************/

.layer-fore {
	transform: translateZ(90px) scale(.7);
	z-index: 1;
}

.layer-base {
	transform: translateZ(0);
	z-index: 4;
}

.layer-back {
	transform: translateZ(-300px) scale(2);
	z-index: 3;
}

.layer-deep {
	transform: translateZ(-600px) scale(3);
	z-index: 2;
}



/******************/
/******************/

#group1 {
	z-index: 5; /* slide over group 2 */
}
	#group1 .layer-base {
		background: black;
		animation-name: b2g;
		animation-duration: 2s;
		animation-fill-mode: forwards;
	}
@keyframes b2g {
	from {
		background: black;
	}
	to {
		background: url(/_/image/07.png), #c3c3c3;
	}
}
	
#group2 {
	z-index: 3; /* slide under groups 1 and 3 */
}
	#group2 .layer-back {
		background: white;
		background-image: url(/_/image/samurai.svg);
		background-position: right bottom;
		background-size: cover;
		background-repeat: no-repeat;
	/*
		background: url(/_/image/07.png), url(/_/image/bg1.jpg);
		background-repeat: repeat, no-repeat;
		background-size: auto, cover;
	*/
	}

#group3 {
	z-index: 4; /* slide over group 2 and 4 */
}
	#group3 .layer-base {
		background: #dfdfdf;
	}

#group4 {
	z-index: 2; /* slide under group 3 and 5 */
}
	#group4 .layer-base {
	}
	#group4 .layer-back {
	}
	#group4 .layer-deep {
		filter: opacity(8%);
		background-image: url(/image/shino.jpg);
		background-position: left bottom;
		background-size: contain;
		background-repeat: no-repeat;
	}

#group5 {
	z-index: 3; /* slide over group 4 and 6 */
}
	#group5 .layer-base {
		background: #4f4f4f;
	}


/******************/

@media all and (max-width: 800px) {
	.title img {
		width: 60vw;
	}
	h1 {
 		top: 10%;
	}
	.prof {
		top: 89%;
		left: 30%;
		width: 60%;
		font-size: .9em;
	}
}

@media all and (max-width: 500px) {
	article, dl, .prof {
		font-size: 3vw;
	}
	.prof {
		top: 99%;
		left: 20%;
		width: 75%;
	}
}
@media all and (orientation: landscape) and (max-height: 500px) {
	body {
	font-size: 10px;
	font-size: 1.0rem;
	}
	section {
		height: 164vh;
	}
}

