body{
  width: 100%;
  max-width: 500px;
  margin: auto !important;
}
header{
	width: 100%;
}
header img{
	width: 100%;
}
main{
	z-index: 10;
	position: relative;
	margin-top: -7%;
	background: transparent;
}

/* フォームのCSS */
#sectionForm{
	width: 90%;
	margin: auto;
}
#sectionForm img{
	width: 100%;
}
#sectionForm .formcontent{
	box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
	border-radius: 0 0 30px 30px;
}
#sectionForm .formcontent .question{
	text-align: center;
	background: linear-gradient(90deg, #cce9e8, #c1dff2);
	color: #1c2b59;
	padding: 14px 0;
	font-weight: bold;
	font-size: 18px;
	font-family: sans-serif;
}
#sectionForm .formcontent .step_content{
	padding: 30px 30px 40px;
}
#sectionForm .formcontent .step_content .radio .wpcf7-list-item{
	width: 100%;
	margin: 0 0 15px;
}
#sectionForm .formcontent .step_content .radio label{
	text-align: center;
	width: 100%;
	color: black;
	font-size: 24px;
	font-weight: bold;
	border: 2px solid #1b1464;
	margin-bottom: 0;
	cursor: pointer;
	border-radius: 10px;
	padding: 6px 0;
}
#sectionForm .formcontent .step_content .radio label:hover{
	color: white;
	background: #1b1464;
}
#sectionForm .formcontent .step_content .radio input[type="radio"]{
	display: none;
}

#sectionForm .formcontent .step_content .formpart{
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 15px;
}
#sectionForm .formcontent .step_content .formpart.confirm{
	margin-bottom: 20px;
}
#sectionForm .formcontent .step_content .formpart .title{
	width: 35%;
	font-size: 18px;
	font-weight: bold;
	font-family: system-ui;
}
#sectionForm .formcontent .step_content .formpart .input{
	width: 63%;
}
#sectionForm .formcontent .step_content .formpart.confirm .input{
  width: 60%;
}
#sectionForm .formcontent .step_content .formpart .input input{
	width: 100%;
	padding: 15px 10px;
	border: 2px solid #1b1464;
	border-radius: 10px;
}
#sectionForm .formcontent .step_content .formpart .input.birthdaybox{
	display: flex;
	justify-content: space-between;
}
#sectionForm .formcontent .step_content .formpart .input.birthdaybox select{
	width: 95%;
	border: 2px solid #1b1464;
	border-radius: 10px;
	padding: 15px 0px 15px 5px;
	background: white;
	color: black;
}
#sectionForm .formcontent .step_content .formpart .input.birthdaybox span:nth-child(1) {
	width: 49%;
}
#sectionForm .formcontent .step_content .formpart .input.birthdaybox span:nth-child(2),
#sectionForm .formcontent .step_content .formpart .input.birthdaybox span:nth-child(3) {
	width: 29.5%;
}
#sectionForm .formcontent .step_content .submit{
	margin-top: 30px;
}
#sectionForm .formcontent .step_content .submit .wpcf7-spinner{
	display: none;
}
#sectionForm .formcontent .step_content .submit input[type="button"],
#sectionForm .formcontent .step_content .submit input[type="submit"]{
	text-align: center;
	margin: auto;
	display: block;
	color: white;
	background: #f4d94d;
	border: 3px solid #f4d94d;
	border-radius: 10px;
	font-size: 20px;
	width: 14em;
	font-weight: bold;
	padding: 6px 0;
}
#sectionForm .formcontent .step_content .submit.box input[type="button"],
#sectionForm .formcontent .step_content .submit.box input[type="submit"]{
	margin-top: 15px;
}
#sectionForm .formcontent .step_content .submit input[type="button"]{
	color: #f4d94d;
	background: white;
	border: 3px solid #f4d94d;
}
#sectionForm .formcontent .step_content .submit input[type="button"]:hover,
#sectionForm .formcontent .step_content .submit input[type="submit"]:hover{
	color: #f4d94d;
	background: white;
	border: 3px solid #f4d94d;
}
#sectionForm .formcontent .step_content .submit input[type="button"]:hover{
	color: white;
	background: #f4d94d;
	border: 3px solid #f4d94d;
}
#sectionForm .formcontent .step_content .stepform__step_agreement{
	text-align: center;
}
#sectionForm .formcontent .step_content .stepform__step_agreement .checkbox > label{
	margin-bottom: 0;
}
#sectionForm .formcontent .step_content .stepform__step_agreement input[type="checkbox"]{
	opacity: 1;
	position: relative;
	margin-right: 5px;
	width: 15px;
	height: 15px;
	top: 2px;
}
/* グラフ */
.graphwrap{
	background: #ede8e2;
	border-radius: 20px;
	margin: 20px 0;
	overflow: hidden;
}
.graphwrap .graph{
	background: #f4d94d;
	border-radius: 20px;
	text-align: right;
	padding-right: 2%;
	color: white;
	font-size: 14px;
}
.graphwrap .graph{
	animation: graphAnim 2s forwards;
}
@keyframes graphAnim {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(0);
  }
}
.graph.p20{
	width: 20%;
}
.graph.p40{
	width: 40%;
}
.graph.p60{
	width: 60%;
}
.graph.p80{
	width: 80%;
}
.graph.p100{
	width: 100%;
}


/* 規約 */
#box-kiyaku2 > section{
	font-size: .7rem;
	padding: .4rem;
	white-space: pre-line;
}



/* フッターのCSS */
.footer .footer1{
	background: #e2f5f9;
	padding: 20px 0;
}
.footer .footer1 img{
	display: block;
	width: 90%;
	margin: 0 auto 20px;
}
.footer .footer1 .box{
	display: flex;
	justify-content: center;
	column-gap: 10px;
	list-style: none;
	font-size: 14px;
	margin: 0;
	padding: 0;
}
.footer .footer1 .box a{
	color: #007bff;
	text-decoration: none;
}
.footer .footer2{
	text-align: center;
	font-size: 14px;
	padding: 30px 0;
	background: #1f9eb9;
	color: white;
}
footer#footer{
	background: white;
	margin: auto;
	text-align: center;
}
@media only screen and (max-width: 460px){
	#sectionForm .formcontent .question{
		font-size: 14px;
		padding: 10px 0;
	}
	#sectionForm .formcontent .step_content .radio label{
		font-size: 20px;
		padding: 4px 0;
	}
	#sectionForm .formcontent .step_content {
    padding: 20px 15px 30px;
  }
	#sectionForm .formcontent .step_content .formpart .title{
		width: 24%;
		font-size: 14px;
	}
	#sectionForm .formcontent .step_content .formpart .input{
		width: 73%;
	}
	#sectionForm .formcontent .step_content .formpart .input.birthdaybox select{
		padding: 10px 0px 10px 0px;
    font-size: 14px;
	}
	#sectionForm .formcontent .step_content .formpart .input input{
		padding: 10px 5px;
		font-size: 14px;
	}
	#sectionForm .formcontent .step_content .formpart.confirm .title{
    width: 35%;
	}
	#sectionForm .formcontent .step_content .submit input[type="button"],
	#sectionForm .formcontent .step_content .submit input[type="submit"]{
		font-size: 18px;
		width: 100%;
		position: relative;
	}
	#sectionForm .formcontent .step_content .submit input[type="button"]::before{
		position: absolute;
		width: 100px;
		height: 100px;
		background-color: red;
		content: "";
		top: 0;
		left: 0;
	}

}
