/*
*
*	mori.mashimolab.com/waiting-cabin/
*	2022 Styled by t.mashimo.
*
*/

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@200;700&display=swap');

* {
	margin: 0;
	padding: 0;
	text-decoration: none;
	list-style: none;
	box-sizing: border-box;
	border-collapse: collapse;
	line-break: strict;
	overflow-wrap: break-all;
	-webkit-text-size-adjust: none;
}

html{
	width:100%;
	font-size:16px;
	background-color: rgba(0, 0, 0 ,1.0);
}

body{
	width:90%;
	margin-left: auto;
	margin-right: auto;
	color: white;
	font-family: 'Noto Serif JP', serif;
	font-size: 16px;
	font-weight: 100;
	line-height: 2em;
}

a, a:active, a:visited {
	color:white;
	opacity: 0.8;
	transition: all 0.3s;
}
a:hover {
	opacity: 1.0;
}
.quote {
	font-size: 0.9em;
}
.bold {
	font-weight: 700;
}
img {
	width:100%;
	object-fit: contain;
}

#background {
	width:100%;
	height: 100vh;
	height: 100dvh;
	height: 100%;
	position: fixed;
	left: 0px;
	top: 0px;
	z-index: -999;
	background-image: url("images/background.jpg");
	/* background-image: url("images/background-h.png"); */
	background-size: cover;
	max-width: none;
	/* margin: inherit; */
	/* opacity: 0.6; */
	transition: all 0.3s;
}

h1 {
	width:100%;
	margin-bottom: 100px;
	text-align: left;
	max-width:960px;
	margin: 0px auto 100px auto; 
}

h1 img {
	display: inline-block;
	object-fit: contain;
	object-position: left center;
	height: 100vh;
	min-height: 600px;
}

h2 {
	height: 300px;
}

h3{
	margin-bottom: 20px;
}

br.mobile {
	display: none;
}
br.pc {
	display: inherit;
}

nav {
	position: fixed;
	display: flex;
	justify-content: center;
	align-items: center;
	top: 0px;
	right: 0px;
	width: 80px;
	height: 80px;
	cursor: pointer;
	z-index: 9999;
	opacity:1;
	/* background-color: rgba(27,24,25,0.5); */
	transition: transform 0.3s ease-in-out;
}

nav a {
	display: block;
	width: 100%;
	height: 100%;
	color: white;
}

/* Google Map  */
iframe {
	margin: 50px auto;
}

section {
	width: 100%;
	display:block;
	margin-bottom:50px;
}

hr, section {
	max-width:960px;
	margin: 0px auto 50px auto;
}

[data-mu-scrollfader] {
	opacity:0;
}

section.text {
	text-align:justify;
}

span.caution {
	display:inline-block;
	/* padding:10px; */
	font-size:0.75em;
	line-height:1.5em;
}

section ul li {
	display:inline-block;
	width:500px;
	margin-bottom:40px;
	vertical-align:top;
}

section.credit {
	font-size:0.8em;
	margin-bottom:60px;
}

section.credit img {
	width: inherit;
	display: inline-block;
	height: 1.3em;
	vertical-align: sub;
}

section.credit a,
section.credit a:visited {
	color: inherit;
	text-decoration: underline;
}

section.credit table {
	width:100%;
	font-size:inherit;
	line-height:2em;
	margin-top:30px;
}
section.credit table tr {
	width:100%;
}
section.credit table th {
	text-align:left;
	vertical-align:top;
}
section.credit table td {
	/* border-left: 1px solid rgba(0,0,0,0.1); */
	padding: 0px 10px;
}

hr {
	border: 0;
	border-bottom: 1px dotted gray;
}

#experience ul {
	width: 100%;
	margin: 20px 0px;
}

#experience li {
	width: 600px;
	padding: 4px 10px;
	margin: 0px;
	border-bottom: 1px dotted gray;
}

@media screen and (max-width:800px) {
	body{
		width: 100%;
		font-size:0.8em;
	}
	#background {
		/* background-image: url("images/background2.jpg"); */
	}
	h1 img {
		height: 100vh;
		min-height: none;
		padding-left:20px;
	}
	section{
		padding-left:20px;
		padding-right:20px;
	}
	section.credit{
		font-size:0.75em;
		text-align: justify;
	}
	section.credit table th {
		min-width: 30px;
	}
	br.mobile{
		display:inherit;
	}
	br.pc{
		display:none;
	}
	#experience li {
		width: 100%;
	}
	nav {
		width: 40px;
		height: 60px;
	}
	hr {
		margin:50px 20px;
	}
}
