@charset "utf-8";
* {
	box-sizing: border-box;
}
html {
	font-size: 62.5%;
}
body {
	color: #333;
	background: #fefefe;
	line-height: 1.4;
	font-size: 16px;
	font-size: 1.6rem;
}
body#top {
	overflow: hidden;
}
html, body {
	width:100%;
}
h1, h2, h3, h4, h5, p, ul, ol, li, dl, dt, dd, form, figure {
	margin: 0;
	padding: 0;
	font-weight: normal;
	font-size: 16px;
	font-size: 1.6rem;
}
table {
	border-collapse:collapse;
	font-size: 100%;
	border-spacing: 0;
}
ul, ol {
	list-style-type: none;
}
img {
	max-width: 100%;
	height: auto;
	vertical-align:bottom;
	border:none;
}
table {
	border-collapse:collapse;
	font-size: 100%;
	border-spacing: 0;
}
.cf {
	clear: both;
}
.cf:after {
	content: "";
	display: block;
	clear: both;
}
/* ---- */
#wrapper {
	overflow: hidden;
}
a {
	color: #06f;
	text-decoration: none;
}
a:hover {
	color: #f90;
}
header {
	position: fixed;
	top: 0px;
	width: 100%;
	padding: 0 5%;
	min-height: 50px;
	height: 5vh;
	background: #ffc;
	display: table;
	z-index: 10;
}
header h1 {
	font-weight: bold;
	display: table-cell;
	vertical-align: middle;
}
header h1 a {
	background: url(../img/logo_s.png) left 0 top 0 no-repeat;
	height: 50px;
	display: block;
	line-height: 50px;
	padding-left: 90px;
	font-size: 24px;
}
header nav {
	display: table-cell;
	vertical-align: middle;
	text-align: right;
}
@media only screen and (min-width : 1px) {
	header nav ul       { float: right; }
	header nav ul li ol { display: none; }
	header nav ul>li    { position: relative; }
	header nav ul li ol { position: absolute; top: 2em; right: 0; z-index: 100; width: 200px; text-align: left; background: #ff9; }
	header nav ul li a:before      { padding: 0 0.3em 0 0; }
	header nav ul li a.nav0:before { font-family: 'Font Awesome 5 Free'; font-weight: 900; content: '\f0ae'; }
	header nav ul li a.nav1:before { font-family: 'Font Awesome 5 Free'; font-weight: 900; content: '\f015'; }
	header nav ul li a.nav2:before { font-family: 'Font Awesome 5 Free'; content: '\f044'; }
	header nav ul li a.nav3:before { font-family: 'Font Awesome 5 Free'; content: '\f024'; }
	header nav ul li a.nav4:before { font-family: 'Font Awesome 5 Free'; content: '\f15c'; }
	header nav ul li a.nav5:before { font-family: 'Font Awesome 5 Free'; content: '\f0e0'; }
	header nav ul li a {
		display: block;
		padding: 0.2em 0.5em;
		margin: 0 0.5em;
	}
	header nav ul li a:hover {
		color: #fff;
		background: #f90;
	}

}
footer {
	display: table;
	position: fixed;
	bottom: 0px;
	width: 100%;
	height: 5vh;
	background: #ffc;
	text-align: center;
	z-index: 10;
}
footer small {
	display: table-cell;
	vertical-align: middle;
}
/* ----PC */
body:before {
	content: attr(class);
	position: fixed;
	top: 0;
	left: 0;
	background: #f99;
	z-index: 11;
	display: none;
}
body:after {
	content: attr(data-size);
	position: fixed;
	top: 1.4em;
	left: 0;
	background: #f99;
	z-index: 11;
	display: none;
}
@media only screen and (min-width : 641px) {
	body      #container section *                 { font-size: 4vh; font-weight: bold; }
	body      #container section h2 span           { font-size: 2.5vh; }
	body      #container section div.description * { font-size: 2.5vh; }
	body.tate #container section *                 { font-size: 4vw; }
	body.tate #container section h2 span           { font-size: 2.5vw; }
	body.tate #container section div.description * { font-size: 2.5vw; }
}
@media only screen and (max-width : 640px) {
	body #container section *                 { font-size: 6vw; font-weight: bold; }
	body #container section h2                { line-height: 1 }
	body #container section h2 span           { font-size: 4vw; line-height: 1.2 }
	body #container section div.description * { font-size: 4vw; }
}
/* ---- */
section#cover {
	display: none;
	position: fixed;
	width: 100vw;
	height: 100vh;
	background: rgba(255,255,255,1);
	top: 0;
	left: 0;
	z-index: 5;
}
section {
	height: 100vh;
	padding: 15vh 0 5vh;
}
section div.head {
	display: table;
	width: 100%;
	margin: 0 0 10vh;
	text-align: center;
}
section div.head h2 {
	display: table-cell;
	vertical-align: middle;
	height: 25vh;
	padding: 0 40px;
	color: #f90;
	position: relative;
	background: #fff9f0;
	border-top: 5px solid #f90;
	border-bottom: 5px solid #f90;
}
section div.head.question h2 {
	color: #f90;
	background: #fff9f0;
	border-color: #f90;
}
section div.head.answer h2 {
	color: #9c9;
	background: #f9fcf9;
	border-color: #9c9;
}
section div.head h2:before {
	font-family: "Baloo Tamma";
	position: absolute;
	display: inline-block;
	top: 0;
	left: 5%;
	top: 10px;
	font-size: 5vh;
}
section div.head.question h2:before {
	content: "Question";
}
section div.head.answer h2:before {
	content: "Result";
}
section div.head.logo h2 {
}
section div.head.logo h2 a {
	display: block;
	width: 100%;
	padding: 5vh;
	transition: 500ms;
}
section div.head.logo h2 a:hover {
	background: #ffe9d0;
}
section div.head.logo h2 img {
	width: auto;
	height: auto;
	max-height: 60vh;
}
section div.description {
	display: table;
	width: 100%;
	margin: 0 0 5vh;
	height: 10vh;
	text-align: center;
}
section div.description p {
	display: table-cell;
	vertical-align: middle;
	background: #eee;
	color: #999;
}
section div.description p:before {
	content: "(選択履歴)\A";
	white-space: pre;
}
section ul.answer {
	overflow: hidden;
	margin: 0 5% 10vh;
}
section ul.answer li {
	display: table;
	width: 48%;
}
section ul.answer.select3 li {
	display: table;
	width: 30%;
}
section ul.answer li:first-child { float: left; }
section ul.answer li:last-child  { float: right; }
section ul.answer.select3 li:nth-child(1)  { float: left; margin-right: 3%; }
section ul.answer.select3 li:nth-child(2)  { float: left; margin-right: 3%; }
section ul.answer.select3 li:nth-child(3)  { float: left; }
section ul.answer a {
	display: table-cell;
	vertical-align: middle;
	text-align: center;
	background: #f9f9f9;
	border: 5px solid #ccc;
	height: 20vh;
	border-radius: 20px;
	padding: 0 25% 0 0;
	color: #333;
	position: relative;
	overflow: hidden;
	transition: 500ms;
}
section ul.answer.select a:before {
	font-family: "Baloo Tamma";
	content: "Answer";
	position: absolute;
	top: 5px;
	left: 3%;
	font-size: 4vh;
	padding-right: 25%;
}
section ul.answer.result li:first-child {
	display: none;
}
section ul.answer.result a {
	padding-right: 25%;
}
section ul.answer.result a:before {
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	content: "\f101";
	padding-right: 0.2em;
}
section ul.answer a.man         { color: #9cf; background: #f9fcff; border: 5px dotted #9cf; }
section ul.answer a.man:hover   { color: #fff; background: #9cf;    border: 5px  solid #9cf; }
section ul.answer a.woman       { color: #f99; background: #fff9f9; border: 5px dotted #f99; }
section ul.answer a.woman:hover { color: #fff; background: #f99;    border: 5px  solid #f99; }
section ul.answer a.both        { color: #99f; background: #f9f9ff; border: 5px dotted #99f; }
section ul.answer a.both:hover  { color: #fff; background: #99f;    border: 5px  solid #99f; }
section ul.answer a.retry       { color: #fc9; background: #fffcf9; border: 5px dotted #fc9; }
section ul.answer a.retry:hover { color: #fff; background: #fc9;    border: 5px  solid #fc9; }
section ul.answer a:after {
	position: absolute;
	display: block;
	content:  "";
	width: 100%;
	height: inherit;
	top: 0; left: 0;
	background-position: right 0 bottom -10px;
	background-repeat: no-repeat;
	background-size: 20% auto;
}
section ul.answer a.man:after         { background-image: url(../img/pict-man-off.png); }
section ul.answer a.man:hover:after   { background-image: url(../img/pict-man-on.png); }
section ul.answer a.woman:after       { background-image: url(../img/pict-woman-off.png); }
section ul.answer a.woman:hover:after { background-image: url(../img/pict-woman-on.png); }
section ul.answer a.both:after        { background-image: url(../img/pict-both-off.png); }
section ul.answer a.both:hover:after  { background-image: url(../img/pict-both-on.png); }

@media only screen and (min-width : 1000px) {
	section ul.answer a:after {
		background-position: right 0 bottom 0px;
		background-size: auto 100%;
	}
}
@media only screen and (max-width : 640px) {
	section {
		padding: 10vh 0 5vh;
	}
	section div.head {
		margin: 0 0 5vh;
	}
	section div.head h2 {
		height: 20vh;
		padding-top: 5vh;
	}
	section ul.answer {
		overflow: hidden;
		margin: 0 5% 0;
	}
	section ul.answer a:after {
		background-position: right 0 bottom 0px;
		background-size: auto 100%;
	}
	section ul.answer li {
		display: table;
		width: 100%;
		float: none;
		margin-bottom: 5vh;
	}
	section ul.answer.select3 li:nth-child(n) {
		display: table;
		width: 100%;
		float: none;
		margin-bottom: 3vh;
		margin-right: 0;
	}
	section ul.answer.select3 {
		margin-bottom: 1vh;
	}
	section ul.answer li a {
		height: 15vh;
	}
	section ul.answer.select3 li a {
		height: 10vh;
	}
	section ul.answer.select3 a:before {
		font-size: 3vh;
		padding-right: 25%;
	}
	section ul.answer.select li a {
		padding-top: 2vh;
	}
	section div.description {
		height: 15vh;
	}
}


