@charset "utf-8";

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-style:normal;
	font-weight: normal;
	vertical-align: baseline;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}

html{
	overflow-y: scroll;
	font-family: "メイリオ","ＭＳ Ｐゴシック", "Osaka", "ヒラギノ角ゴ Pro W3", sans-serif;
	font-size: 62.5%;
	height: 100%;
}
body {
	font-size: 1.6rem;
	height: 100%;
}

blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

input, textarea {
	margin: 0;
	padding: 0;
}

ol, ul{
	list-style:none;
}

table{
	border-collapse: collapse;
	border-spacing:0;
}

caption, th{
	text-align: left;
}

a:focus {
	outline:none;
}

.clearfix:after {
	content: ".";
	display: block;
	clear: both;
	height: 0;
	visibility: hidden;
}

.clearfix {
	min-height: 1px;
}

* html .clearfix {
	height: 1px;
	/*\*//*/
	height: auto;
	overflow: hidden;
	/**/
}

.clear{
	clear:both;
}

.inline_block {
	display: inline-block;
	*display: inline;
	*zoom: 1;
}
/* iOSでのデフォルトスタイルをリセット */
input[type="submit"],
input[type="button"],
input[type="reset"] {
	-webkit-box-sizing: content-box;
	-webkit-appearance: button;
	appearance: button;
	border: none;
	box-sizing: border-box;
	cursor: pointer;
}
input[type="submit"]::-webkit-search-decoration,
input[type="button"]::-webkit-search-decoration,
input[type="reset"]::-webkit-search-decoration {
	display: none;
}
input[type="submit"]::focus,
input[type="button"]::focus,
input[type="reset"]::focus {
	outline-offset: -2px;
}

/*滑らかにほばー*/
a img:hover {
	opacity: 0.7;
	-webkit-transition-duration: 0.5s;
	transition-duration: 0.5s;
}
button{
        background-color: transparent;
        border: none;
        cursor: pointer;
        outline: none;
        padding: 0;
        appearance: none;
}
img {
display: block;
width: 100%;
}
.flex {
display: flex;
justify-content: space-around;
}
/*ここからオリジナル
---------------------------------------------------*/
.red {
	color: #eb0c0c;
}
.bold {
	font-weight: bold;
}
.center {
	text-align: center;
}
p {
	line-height: 1.5;
}
#wrapper {
	width: 100%;
	height: 100%;
	display: flex;
	flex-flow: column;
	min-height: 100vh;
}
header {
	padding: 3px 0;
	background: #338f85;
}
header h1 img {
	width: 90%;
	margin: auto;
}
main {
	padding: 10px 30px;
	flex: 1;
	background: #ffd345;
}
footer {
	background: #338f85;
	color: white;
	text-align: center;
	padding: 5px;
	font-size: 1.3rem;
}
form {
	margin: 20px auto 0;
	display: table;
}
.q_box h2 {
	font-size: 1.8rem;
	line-height: 1.5;
}
.q_box {
	background: white;
	border-radius: 10px;
	padding: 30px;
}
.q_no {
	text-align: center;
	color: #eb0c0c;
	font-size: 2.5rem;
	font-weight: bold;
	margin-bottom: 10px;
}
.q_box label {
	color: #1a7c6f;
	font-weight: bold;
	font-size: 2rem;
	margin-bottom: 10px;
	display: block;
}
.q_box label:last-of-type {
	margin-bottom: 0;
}
.btn {
background: #facb00;
    border-radius: 200px;
    padding: 10px;
    margin: 30px auto 0;
    display: block;
    font-size: 2rem;
    width: 220px;
    font-weight: bold;
    text-align: center;
    color: #000000;
    text-decoration: none;
}
.result {
	text-align: center;
	margin: 10px;
	color: #eb0c0c;
	font-weight: bold;
	font-size: 2rem;
}
.result_box {
	margin-top: 20px;
}
.progress p {
	text-align: center;
	font-size: 2.5rem;
	color: #eb0c0c;
	font-weight: bold;
}
.progress img {
	margin: 10px 0 20px;
}
.mis {
	color:#0c2cb8;
	font-weight: bold;
}
.cp_box {
	background: url(./img/quiz_submit_img.png?5) no-repeat;
	background-size: 100%;
	height: 147vw;
	margin: 20px 0;
}
.cp_box + p {
    width: 90%;
    margin: 0 auto 10px;
}
.banner_box {
	width: 85%;
    margin: auto;
    position: relative;
    top: 72vw;
}
.lastPage {
	padding: 20px;
}
/*フェード効果*/
.slidein {
	animation: SlideIn 1.6s;
}

@keyframes SlideIn {
0% {
opacity: 0;
transform: translateY(64px);
}
100% {
opacity: 1;
transform: translateY(0);
}
}
/*ラジオボタン装飾*/
.q_box input[type="radio"] {
	-webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    -o-appearance: none;
    appearance: none;
    position: relative;
    right: 0;
    bottom: 0;
    left: 0;
    height: 20px;
    width: 20px;
    vertical-align: -0.8rem;
    transition:all .15s ease-out 0s;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    margin: .4rem;
    outline: none;
    border-radius: 10%;
}
.q_box input[type=radio] {
    border-radius: 50%;
}
.q_box input[type=radio]:checked:before {
    transform: scale(1);
}
.q_box input[type=radio]:before {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 3px;
    transform: scale(0);
    transition: all ease-out 250ms;
}
.q_box input[type=radio] {
    border: 2px solid #2f8479;
}
.q_box input[type=radio]:checked:before {
    background: #2f8479;
}
/*indexのCSS*/
.q_box_p01 p {
	padding-bottom: 10px;
	font-size: 1.8rem
}
.q_box_p02 {
	margin: 20px;
}
.q_box_p02 p {
	font-size: 1.8rem;
	font-weight: bold;
}
.q_box_p03 {
	margin: 0 20px 30px 20px;
}
.q_box_p03 p {
	font-size: 1.8rem;
	font-weight: bold;
	margin-bottom: 10px;
}
.q_box_start button {
	background-color: #facb00;
	margin: auto;
}
.q_box_start p {
	text-align: center;
}
.q_box_age {
    width: 100%;
    height: 35px;
    font-size: 1.6rem;
}
.q_box_p02 label {
	color: #1a7c6f;
	font-size: 2rem;
	margin-bottom: 10px;
}
.q_box_gender {
	font-weight: bold;
}
.q_box_gender02 {
    margin: 10px;
    display: table;
}
.q_box_age02 {
	margin: 10px;
}
.index .q_box {
	margin-top: 30px;
}



/*メディアクエリここから-----------------------------------*/

/*スマホ*/
@media only screen and (max-device-width: 768px) {
	.sp_none {
		display: none;
	}
}

/*PC*/
@media only screen and (min-device-width: 768px){
	.pc_none {
		display: none;
	}
	#wrapper {
		background: #ffd345;
	}
	main {
		width: 1000px;
		margin: auto;
	}
	header h1 {
		width: 1000px;
		margin: auto;
	}
	header h1 img {
		width: 400px;
		margin: auto;
	}
	.q_box {
		padding: 50px 200px;
	}
	.q_box form {
		margin: 50px auto 0;
	}
	main > section {
		padding-top: 80px;
	}
	.btn {
		margin: 50px auto 0;
	}
	.q_box label {
		margin-bottom: 15px;
	}
	.cp_box {
    	background: url(./img/quiz_submit_img_pc.png?2) no-repeat;
    	background-size: 100%;
    	height: 895px;
    	margin: 20px auto;
    	width: 80%;
	}
	.banner_box {
		width: 60%;
    	margin: auto;
    	position: relative;
    	top: 411px;
	}
	.submit #wrapper {
		height: auto;
	}
	.submit main > section {
		padding-top: 30px;
	}
	.submit main > section > p {
    	margin-bottom: 50px;
    	text-align: center;
    	font-weight: bold;
    	font-size: 1.8rem;
	}
	.submit .cp_box + p {
		width: 50%;
    	margin: 0 auto 50px;
	}
}

