@charset "utf-8";

/* Default Style */
body {
	font-family: "メイリオ",Meiryo,"游ゴシック",YuGothic,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",sans-serif;
	font-size: 1.6rem; /*全体のフォントサイズは16pxとする*/
	background: #fff url("../images/cmn_bg_body.png") 50% 0 repeat-y;
	background-size: 100% auto;
	line-height: 1;
	color:#000;
}

/* Default Link Style */
a {
	text-decoration: none;
	color: inherit;
	transition: 0.5s;
}

a:hover {
	opacity: .8;
}

/* common */

#wrapper {
	position: relative;
	width: 100%;	/*全ての要素を包括する<div id"wrapper">の幅を画面幅に設定する*/
	z-index:5;
}

section {
	display: block;
}

/* header ---------------------------------------- */
/* ヘッダー */
header {
	width: 100%;
	padding: 0 20px;
}

header .header-inner {
	position: relative;
	width: 100%;
	height: 100px;
	max-width: 1000px;
	margin:0 auto;
	transition: 0.5s;
}

header .header-inner > h1 {
	position: absolute;
	bottom: 0;
	right: 0;
	transition: 0.5s;
}

header .header-inner > h1 img {
	width: 100%;
	max-width: 167px;
	height: auto;
	transition: 0.5s;
}

header .header-inner.start {
	height: 200px;
}

header .header-inner.start > h1 {
	right: 50%;
	transform: translate(50%,0);
}

header .header-inner.start > h1 img {
	width: 100vw;
	max-width: 294px;
	height: auto;
}

/* footer ----------------------------------------- */
footer {
	display: none;
}

/* ------------------------------------------------ */
.container {
	padding: 44px 20px 60px;
}

.contents {
	width: 100%;
	max-width: 1000px;
	margin: 0 auto;
}

.contents main {
}

/* section - START */
section.start {
	width: 100%;
	/*max-width: 400px;*/
	margin: 0 auto;
	text-align: center;
}

section.start p {
	margin: 0 0 44px;
	text-align: center;
	line-height: 1.5;
	font-weight: bold;
	color: #475E91;
}

section.start p strong {
	font-weight: bold;
	color: #F15A24;
}

section.start .formBox {
	display: inline-block;
}

section.start dl {
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
	width: 100%;
	max-width: calc( 5em + 22px + 250px);
	margin: 0 auto 24px;
}

section.start dl:last-of-type {
	margin-bottom: 0;
}

section.start dl dt {
	flex-basis: 5em;
	flex-shrink: 0;
	margin-right: 22px;
	text-align: center;
	font-weight: bold;
	color: #475E91;
}

section.start dl dd {
	width: 100%;
	line-height: 1;
}

section.start select {
	display: block;
	width: 100%;
	max-width: 250px;
	padding: 10px;
	background-color: #ffffff;
	border-radius: 10px;
	box-shadow: 3px 3px 4px 2px rgba(0,0,0,0.2) inset;
	cursor: pointer;
}

section.start select option {
	width: 100%;
}

section.start .lead01 {
	margin: 0 0 20px 0;
	font-size: 1.8rem;
	color: #475E91;
}

section.start .lead02 {
	margin: 0 0 20px 0;
	font-size: 1.6rem;
	font-weight: normal;
	color: #000000;
}

section.start .lead03 {
	margin: 0 0 50px 0;
	font-size: 1.8rem;
	color: #F15A24;
}

/* section - Question */
.questionBox {
	position: relative;
	overflow: hidden;
	transition: 0.5s;
}

section.question {
	position: absolute;
	left: 80%;
	width: 100%;
	padding: 38px 0 60px;
	transform: translate(-50%,0);
	transition: 0.5s;
	opacity: 0;
}

section.question.active {
	left: 50%;
	opacity: 1;
	z-index: 1;
}

section.question.done {
	left: 20%;
}

/* section - Result */
section#result {
	display: none;
	width: 100%;
	max-width: 400px;
	margin: 0 auto;
	padding: 38px 0 60px;
}
section#result.active {
	display: block;
}

/* Parts =========================== */

/* 進捗状況 */
ul.progress {
	width: 100%;
	max-width: 400px;
	margin: 0 auto;
	background: url("../images/progress_bg.svg") no-repeat;
	background-size: contain;
}

ul.progress li {
	display: none;
}
ul.progress li.active {
	display: block;
}

/* 設問テキスト */
.question dl {
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
	width: 100%;
	max-width: 500px;
	margin: 0 auto 60px;
}

.question dl dt {
	 flex-basis: 86px;
	 max-width: 86px;
	 margin-right: 2%;
}

.question dl dd {
	line-height: 1.8;
	font-weight: bold;
	color: #475E91;
}

.question dl dd span.line {
	position: relative;
}
.question dl dd span.line::after {
	content: "";
	display: block;
	width: 100%;
	height:1px;
	position: absolute;
	left: 0;
	bottom: 2px;
	border-bottom: 1px solid #475E91;
}

/* 回答欄 */
div.respondList {
	position: relative;
	width: 100%;
	max-width: 480px;
	margin: 0 auto;
}

div.respondList::before {
	content: "";
	display: block;
	position: absolute;
	left: 50%;
	top: 8px;
	width: 83%;
	height: 4px;
	background: transparent linear-gradient(90deg, #4A69FF 0%, #4AD384 100%) 0% 0% no-repeat padding-box;
	transform: translateX(-50%);
}

div.respondList ul {
 display: flex;
 flex-flow: row nowrap;
 justify-content: space-between;
}

div.respondList ul li {
	width: 19%;
	max-width: 19%;
}

ul.clm3 li:nth-of-type(2) {
	width: 59%;
	max-width: 59%;
}

div.respondList input[type=radio] {
	display: none;
}

.radio {
	display: flex;
	height:100%;
	align-items: center;
	justify-content: center;
	position: relative;
	padding: 30px 0 0;
	text-align: center;
	font-weight: bold;
	line-height: 1.5;
	font-size: 1.4rem;
	color: #475E91;
	cursor: pointer;
}

.radio::before {
	content: "";
	display: block;
	width: 20px;
	height: 20px;
	position: absolute;
	left: 50%;
	top: 0;
	margin-left: -10px;
	background: #fff;
	border: 2px solid #4A69FF;
	border-radius: 50%;
}

ul.clm5 li:nth-of-type(n+3) .radio::before {
	border: 2px solid #4AD384;
}

ul.clm3 li:nth-of-type(n+2) .radio::before {
	border: 2px solid #4AD384;
}

.radio::after {
	content: "";
	display: block;
	position: absolute;
	top: 4px;
	left: 50%;
	width: 12px;
	height: 12px;
	margin-left: -6px;
	background: #304779;
	border-radius: 50%;
	opacity: 0;
	transform: scale3d(.3,.3,1);
	transition: transform .2s ease-in-out, opacity .2s ease-in-out;
}

input[type=radio]:checked + .radio::after {
	opacity: 1;
	transform: scale3d(1,1,1);
}

/* ------------------------------------------------ */

/* ボタン枠 */
div.btnBox {
	display: none;
	width: 100%;
	max-width: 440px;
	margin: 0 auto;
}

div.btnBox.active {
	display: block;
}

div.btnBox ul {
	display: flex;
	flex-flow: row nowrap;
	justify-content: space-between;
}

div.btnBox ul.btn1clm {
	justify-content: center;
}

div.btnBox ul li {
	 flex-basis: 180px;
	 max-width: 180px;
}

/* ------------------------------------------------ */

button.general {
	position: relative;
	width: 100%;
	max-width: 180px;
	padding: .75em;
	background: transparent linear-gradient(270deg, #4A69FF 0%, #4AD384 100%) 0% 0% no-repeat padding-box;
	box-shadow: 0px 6px 20px #4AA4BA80;
	border-radius: 99em;
	color: #ffffff;
	opacity: 1;
}

/* STARTボタン */
div.btnBox.btn0 ul li {
	flex-basis: 320px;
	max-width: 320px;
}

div.btnBox.btn0 ul li button.general {
	max-width: 320px;
}

/*　戻るボタン */
button.general.prev::before {
	content: "";
	display: block;
	width: 12px;
	height: 12px;
	background: url("../images/icon_arw_prev.svg") center center no-repeat;
	position: absolute;
	left: 1.5em;
	top: 50%;
	transform: translateY(-50%);
	transition: .3s;
}

button.general.prev:hover::before {
	left: 1em;
}

/*　次へボタン */
button.general.next::after {
	content: "";
	display: block;
	width: 12px;
	height: 12px;
	background: url("../images/icon_arw_next.svg") center center no-repeat;
	position: absolute;
	right: 1.5em;
	top: 50%;
	transform: translateY(-50%);
	transition: .3s;
}

button.general.next:hover::after {
	right: 1em;
}

/* ボタン無効化 */
div.btnBox ul li.invalid button.general.next {
	pointer-events: none;
	opacity: 0.5;
}

div.btnBox ul li.valid button.general.next {
	pointer-events: auto;
	opacity: 1;
}

/* ------------------------------------------------ */

/* 診断結果 */
section#result h1 {
	padding: .75em .5em .55em 1em;
	background-color: #475E91;
	text-align: center;
	line-height: 1.2;
	letter-spacing: .5em;
	font-size: 1.8rem;
	color: #ffffff;
}

.rsltBox {
	padding: 20px 0 30px;
	border-left: 5px solid #475E91;
	border-right: 5px solid #475E91;
	border-bottom: 5px solid #475E91;
	background-color: #ffffff;
	border-radius: 0 0 10px 10px;
	color: #475E91;
}

.rsltBox .inr {
	padding: 0 24px;
}

.rsltBox .rsltRank {
	margin: 5px 0;
	line-height: 1.5;
	text-align: center;
	font-size: 3.0rem;
	font-weight: bold;
}

.rsltBox .rsltRankS {
	color: #F15A24;
}

.rsltBox .rsltRankA {
	color: #FDA600;
}

.rsltBox .rsltRankB {
	color: #6C9A2E;
}

.rsltBox .rsltRankC {
	color: #475E91;
}

.rsltBox .rsltRankD {
	color: #999999;
}

.rsltBox .rsltLead {
	text-align: center;
	font-weight: bold;
}

.rsltBox .type h2 {
	margin: 5px 0;
	text-align: center;
	font-size: 3.0rem;
	line-height: 1.5;
}

.rsltBox .type p:last-of-type {
	text-align: right;
}

.rsltBox h3 {
	margin: 48px 0 14px;
	padding: .25em;
	background-color: #475E91;
	text-align: center;
	line-height: 1.2;
	font-size: 1.6rem;
	color: #ffffff;
}

.rsltBox p {
	line-height: 1.8;
}

.warningMsg li {
	margin-top: 20px;
	padding: 10px;
	line-height: 1.5;
	border: 2px solid #F15A24;
	border-radius: 5px;
	font-weight: bold;
	color: #F15A24;
}

/* ------------------------------------------------ */
.chartBox {
	width: calc( 100% - 33px );
	max-width: 357px;
	margin: 30px 30px 10px 3px;
	background: url("../images/chart_bg.svg?v=210327") 0 0 no-repeat;
	background-size: contain;
}

.chartBox .chart {
	position: relative;
	width: 100%;
	padding-top: 100%;
}

.chartBox .chart > div {
	position: absolute;
	right: 0;
	top: 0;
	width: 84.035%;
	height: 84.035%;
}

/* グラフ */
.chartBox .chart ul {
	position: relative;
	width: 100%;
	height: 100%;
}

.chartBox .chart ul li {
	position: absolute;
	left: 0;
	bottom: 0;
	transform: translate(-50%,50%);
	cursor: pointer;
}

/* アイコン位置（仮） */
.chartBox .chart ul li.rsltIcon {
	cursor: default;
	z-index: 1;
}

.chartBox .chart ul li:nth-of-type(2) {
	left: 83%;
	bottom: 83%;
	z-index: 6;
}
.chartBox .chart ul li:nth-of-type(3) {
	left: 70%;
	bottom: 70%;
	z-index: 5;
}
.chartBox .chart ul li:nth-of-type(4) {
	left: 30%;
	bottom: 70%;
	z-index: 4;
}
.chartBox .chart ul li:nth-of-type(5) {
	left: 70%;
	bottom: 30%;
	z-index: 3;
}
.chartBox .chart ul li:nth-of-type(6) {
	left: 30%;
	bottom: 30%;
	z-index: 2;
}

.chartBox .chart ul li:nth-of-type(2) > div::before {
	background-color: #F15A24;
}
.chartBox .chart ul li:nth-of-type(3) > div::before {
	background-color: #FDA600;
}
.chartBox .chart ul li:nth-of-type(4) > div::before {
	background-color: #475E91;
}
.chartBox .chart ul li:nth-of-type(5) > div::before {
	background-color: #6C9A2E;
}
.chartBox .chart ul li:nth-of-type(6) > div::before {
	background-color: #999999;
}

/* 吹き出し */
.chartBox .chart ul li > div {
	position: relative;
}

.chartBox .chart ul li > div::before {
	content: "";
	display: block;
	width: 10px;
	height: 10px;
	background-color: #475E91;
	border-radius: 50%;
}

.chartBox .chart ul li.rsltIcon span {
	display: block;
	position: absolute;
	left: 22px;
	top: 50%;
	width: 6em;
	font-size: 1.3rem;
	font-weight: bold;
	color: #F15A24;
	transform: translateY(-50%);
}

.chartBox .chart ul li.rsltIcon div::after {
	content: "";
	position: absolute;
	top: 0;
	display: block;
	width: 17px;
	height: 17px;
	border-radius: 50%;
	background-color: #F15A24;
	animation: blink 1s infinite ease-in-out;
}
@keyframes blink {
	0% {
		transform: scale(1);
		opacity: 1;
	}
	100% {
		transform: scale(2);
		opacity: 0;
	}
}

.chartBox .chart ul li.rsltIcon div::before {
	width: 17px;
	height: 17px;
	background-color: #F15A24;
}

.chartBox .chart ul li > div dl {
	display: none;
	position: absolute;
	left: -216px;
	top: 50%;
	width: 200px;
	padding: 12px 8px;
	background-color: #475E91;
	border-radius: 10px;
	color: #ffffff;
	transform: translateY(-50%);
}

.chartBox .chart ul li > div dl::after {
	content: "";
	display: block;
	width: 0;
	height: 0;
	margin-top: -6px;
	border-style: solid;
	border-width: 6px 0 6px 16px;
	border-color: transparent transparent transparent #475E91;
	position: absolute;
	right: -16px;
	top: 50%;
}

.chartBox .chart ul li > div dt {
	padding: 0 0 .25em;
	border-bottom: 1px solid #FFFFFF;
	line-height: 1.5;
	font-weight: bold;
	text-align: center;
}

.chartBox .chart ul li > div dd p {
	padding-top: .5em;
	line-height: 1.5;
	font-size: 1.2rem;
}

/* 吹き出し マウスオーバー */
.chartBox .chart ul li:hover > div dl {
	display: block;
}

/* ------------------------------------------------ */
.infoBox {
	margin-top: 68px;
}

.infoBox h2 {
	padding: .75em .5em .55em;
	background-color: #4AD384;
	text-align: center;
	line-height: 1.2;
	font-size: 1.8rem;
	color: #ffffff;
}
.infoBox .inr {
	padding: 30px 24px;
	border-left: 5px solid #4AD384;
	border-right: 5px solid #4AD384;
	border-bottom: 5px solid #4AD384;
	background-color: #ffffff;
	border-radius: 0 0 10px 10px;
	color: #475E91;
}

.infoBox p {
	margin-bottom: 1em;
	font-weight: bold;
	line-height: 1.8;
}

.infoBox p strong {
	color: #F15A24;
}

.infoBox .bnr {
	margin: 24px 0 48px;
	text-align: center;
}

.infoBox .bnr img {
	width:100%;
	max-width: 200px;
	height: auto;
}

/* ------------------------------------------------ */
a.linkBtn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: .75em 0;
	background: transparent linear-gradient(270deg, #4A69FF 0%, #4AD384 100%) 0% 0% no-repeat padding-box;
	box-shadow: 0px 6px 20px #4AA4BA80;
	border-radius: 99em;
	color: #ffffff;
	opacity: 1;
}

a.linkBtn::before {
	flex-shrink: 0;
	content: "";
	width: 24px;
	height: 12px;
}

a.linkBtn::after {
	flex-shrink: 0;
	content: "";
	width: 24px;
	height: 12px;
	background: url("../images/icon_arw_next.svg") 50% 50% no-repeat;
	transition: .3s;
}

a.linkBtn:hover::after {
	background: url("../images/icon_arw_next.svg") 100% 50% no-repeat;
}

/* ================================================ */

@media (max-width: 767px) {
}

/* ================================================ */

@media (max-width: 479px) {
body {
	font-size: 1.5rem; /*全体のフォントサイズは15pxとする*/
}

header .header-inner {
	height: 17vw;
}

header .header-inner > h1 img {
	width: 32vw;
}

header .header-inner.start {
	height: 36vw;
}

header .header-inner.start > h1 img {
	width: 55vw;
}

.container {
	padding: 32px 20px 40px;
}

section.question {
	padding: 28px 0 40px;
}

section.question.start {
	padding-top: 0;
}

.question dl {
	margin-bottom: 40px;
	align-items: flex-start;
}

.question dl dt img {
	margin-top: .25em;
}

.question dl dd {
	font-size: 1.5rem;
}

.radio {
	font-size: 2.92vw;
}

div.btnBox ul li {
	font-size: 3.33vw;
}

div.btnBox ul li:nth-of-type(2) {
	margin-left: 10px;
}

div.btnBox.btn0 ul li {
	font-size: 1.5rem;
}

/* 診断結果 */
.rsltBox {
	padding: 34px 0 24px;
}

.rsltBox .inr {
	padding: 0 12px;
}

.rsltBox .type h2 {
	font-size: 2.6rem;
}

.rsltBox h3 {
	margin: 36px 0 12px;
	font-size: 1.5rem;
}

.chartBox {
	width: calc( 100% - 18px );
	margin: 30px 15px 10px 3px;
}

/* 吹き出し */
.chartBox .chart ul li > div dl {
	left: 50%;
	top: auto;
	bottom: 26px;
	transform: translateY(none);
	transform: translateX(-50%);
}

.chartBox .chart ul li > div dl::after {
	margin-top: 0;
	margin-left: -6px;
	border-style: solid;
	border-width: 16px 6px 0 6px;
	border-color: #475E91 transparent transparent transparent;
	position: absolute;
	bottom: -16px;
	top: auto;
	right: auto;
	left: 50%;
}


.infoBox {
	margin-top: 48px;
}

.infoBox .inr {
	padding: 26px 12px;
}

.infoBox p {
	font-weight: bold;
	line-height: 1.8;
}

.infoBox .bnr {
	margin: 18px 0 36px;
}

}