* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: sans-serif;
}

body {
	width: 100%;
	height: 100%;
}

nav {
	position: fixed;
	display: block;
	width: 100%;
	z-index: 99;
}

h1 {
	position: absolute;
	top: 20px;
	left: 20px;
	font-size: 16px;
	font-weight: normal;
}

h2, h3 {
	font-size: 16px;
	font-weight: normal;
}

#q {
	position: absolute;
	top: 20px;
	right: 20px;
	direction: inline-block;
}

a {
	text-decoration: none;
	color: black;
}

#contents {
	position: absolute;
	display: block;
	top: 36px;
	padding: 20px;
	width: 100%;
	height: auto;
}

details {
	position: relative;
	display: inline-block;
	margin: 0 10px 30px 0;
	vertical-align: top;
	line-height: 0.9;
}

details > summary {
  list-style: none;
}

details > summary::-webkit-details-marker {
  display: none;
}

summary {
	margin-bottom: 20px;
}

.typea {
	width: 200px;
}

.typeb {
	width: 300px;
}

.questions {
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
	padding: 10px;
	line-height: 1.1;
}

img {
	width: 100%;
}

img:hover {
	opacity: 0.2;
}

li {
	list-style: none;
	margin-bottom: 16px;
}

p {
	margin-bottom: 16px;
}

p a {
	text-decoration: underline;
}

small {
	line-height: initial;
	line-height: 0.8;
}

.answers {
	display: inline-block;
	line-height: 1.1;
}

#warmgrey {
	width: 16px;
	height: 16px;
	background-color: yellow;
}

#coolgrey {
	width: 16px;
	height: 16px;
	background-color: dimgrey;
}

.smallphotoh {
	display: block;
	width: 120px;
	margin: 6px 0 6px 0;
}

.smallphotov {
	display: block;
	width: 100px;
	margin: 6px 0 6px 0;
}

figcaption {
	font-size: 8px;
}


@media screen and (max-width: 1000px) {
	
	h1 {
		font-size: 40px;
	}

	#q {
		font-size: 40px;
	}

	#contents {
		top: 70px;
	}

	details {
		display: block;
		margin-bottom: 20px;
	}

	.typea {
		width: 100%;
	}

	.typeb {
		width: 100%;
	}

	p {
		font-size: 40px;
	}

	summary{
	  outline:none;
	}

	li {
		font-size: 40px;
	}

	.smallphotoh {
		display: block;
		width: 60%;
		margin: 6px 0 6px 0;
		margin: 20px 0 20px 0;
	}

	.smallphotov {
		display: block;
		width: 45%;
		margin: 6px 0 6px 0;
		margin: 20px 0 20px 0;
	}

}