@charset "utf-8";

/* -----------------------------------------------
	common
-------------------------------------------------- */
* {
	box-sizing: border-box;
}
body {
    font-family: "M PLUS Rounded 1c", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 20px 0;
}
button{
    background-color: transparent;
    border: none;
    cursor: pointer;
    outline: none;
    padding: 0;
    appearance: none;
}
img {
    max-width: 100%;
	-webkit-touch-callout: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: none;
}
.btn-img img {
	width: 80%;
	display: block;
	margin: auto;
}
.logo {
	width: 20%;
	position: absolute;
	left: 10px;
	top: 10px;
}
.container {
    max-width: 500px;
    margin: 0 auto;
    padding: 0;
	position: relative;
}

/* -----------------------------------------------
	bg
-------------------------------------------------- */
.stage-content, .modal-body {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
._start {
	background-color: #aae8ff;
    background-image: url("../images/bg_start.png?251016");
	position: relative;
	background-position: bottom -10vh left 0;
    background-size: 100% auto;
}
@media screen and (max-height: 700px) {
	._start {
		background-position: bottom -20vh left 0;
	}
}
._stage1, .modal_stage1 .modal-body, .modal_stage3 .modal-body,._stage4 {
    background-image: url("../images/bg_stage1.png?251016");
}
._stage2, .modal_stage2 .modal-body {
    background-image: url("../images/bg_stage2.png?251016");
}
._stage3 {
    background-image: url("../images/bg_stage3.png?251016");
}
.modal_stage4 .modal-body {
    background-image: url("../images/bg_stage4.png?251016");
}


/* -----------------------------------------------
	start
-------------------------------------------------- */
.start-content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	height: 100%;
}
.start-title {
	padding: 10px;
}

/* -----------------------------------------------
	stage title
-------------------------------------------------- */
.stage-title {
    height: 46px;
    overflow: hidden;
    font-size: 12px;
    margin: 0;
    position: relative;
    bottom: -5px;
}
.stage-title .stage {
	color: #ffffff;
    min-width: 100px;
    text-align: center;
	--border-width: 5px;
	--border-color: #fff;
	position: relative;
	padding: 10px 5px 20px;
	border-style: solid none;
	border-width: var(--border-width);
	border-color: var(--border-color);
	background-color: #1f57fb;
    border-bottom: 0;
    display: inline-block;
    margin-left: 10px;
    font-size: 18px;
	font-weight: bold;
}
.stage-title .stage::before {
	content: '';
	position: absolute;
	top: var(--border-width);
	bottom: var(--border-width);
	display: block;
	width: var(--border-width);
	background-color: inherit;
	color: var(--border-color);
	--border-width-m: calc( var(--border-width) * -1);
}
.stage-title .stage::before {
	right: 100%;
	box-shadow: 0 var(--border-width-m), 0 var(--border-width), var(--border-width-m) 0;
}
.stage-title .cat {
	color: #396afb;
    min-width: 100px;
    text-align: center;
	--border-width: 5px;
	--border-color: #fff;
	position: relative;
	padding: 10px 5px 20px;
	border-style: solid none;
	border-width: var(--border-width);
	border-color: var(--border-color);
	background-color: #fff;
    border-bottom: 0;
    display: inline-block;
    font-size: 18px;
	font-weight: bold;
}
.stage-title .cat::after  {
	content: '';
	position: absolute;
	top: var(--border-width);
	bottom: var(--border-width);
	display: block;
	width: var(--border-width);
	background-color: inherit;
	color: var(--border-color);
	--border-width-m: calc( var(--border-width) * -1);
}
.stage-title .cat::after {
	left: 100%;
	box-shadow: 0 var(--border-width-m), 0 var(--border-width), var(--border-width) 0;
}
.stage-text {
    background-image: url("../images/bg_pink.png?251016");
    border: 5px solid #fff;
    border-radius: 10px;
    color: #fff;
    padding: 20px;
	margin: 0;
	font-size: 15px;
	text-align: left;
}
@media screen and (max-width: 400px) {
	.stage-text {
		font-size: 14px;
	}
}
/* -----------------------------------------------
	stage content
-------------------------------------------------- */
.stage-content {
    height: 100dvh;
	padding: 20px 10px;
	overflow: auto;
}
.stage-content-content {
	display: flex;
    flex-direction: column;
    justify-content: space-between;
	height: 100%;
}
.megapo-img {
    text-align: center;
}
.megapo-img img {
	max-height: 35vh;
}

/* -----------------------------------------------
	modal
-------------------------------------------------- */
.modal-content {
    border: 10px solid #fff;
    border-radius: 10px;
}
.modal-body {
    padding: 10px;
	padding: 10px;
}
.modal-main {
	position: relative;
}
.modal-main-img {
	position: relative;
	z-index: 2;
}
.modal-product-img {
	position: absolute;
    width: 17vw;
}
.pos_left .modal-product-img {
    left: 3vw;
    bottom: 22vw;
	transform: rotate(-20deg);
}
.pos_right .modal-product-img {
	right: 3vw;
    bottom: 22vw;
	transform: rotate(20deg);
}

@media screen and (min-width: 769px) {
	.modal-product-img {
		position: absolute;
		width: 70px;
	}
	.pos_left .modal-product-img {
        left: 10%;
        bottom: 30%;
		transform: rotate(-20deg);
	}
	.pos_right .modal-product-img {
		right: 10%;
		bottom: 30%;
		transform: rotate(20deg);
	}
}
/* -----------------------------------------------
	product choice
-------------------------------------------------- */
.product-choice {
	color: #ffffff;
    width: 47vw;
    height: 47vw;
    text-align: center;
	--border-width: 5px;
	--border-color: #ff42a7;
	position: relative;
	margin: 0 calc( var(--border-width) * 2 );
	padding: 10px 5px;
	border-style: solid none;
	border-width: var(--border-width);
	border-color: var(--border-color);
	background-color: rgba(255, 255, 255, 0.7);
}
@media screen and (min-width: 769px) {
	.product-choice {
		width: 220px;
		height: 220px;
	}
}
.product-choice::before ,
.product-choice::after  {
	content: '';
	position: absolute;
	top: var(--border-width);
	bottom: var(--border-width);
	display: block;
	width: var(--border-width);
	background-color: inherit;
	color: var(--border-color);
	--border-width-m: calc( var(--border-width) * -1);
}
.product-choice::before {
	right: 100%;
	box-shadow: 0 var(--border-width-m), 0 var(--border-width), var(--border-width-m) 0;
}
.product-choice::after {
	left: 100%;
	box-shadow: 0 var(--border-width-m), 0 var(--border-width), var(--border-width) 0;
}
.product-q {
    color: #1f57fb;
    font-size: 14px;
	text-align: left;
	font-weight: bold;
	display: inline-block;
}
@media screen and (max-width: 400px) {
	.product-q {
		font-size: 12px;
	}
}
.product-img img {
	width: 35%;
    display: block;
    margin: 2vw auto;
}
@media screen and (min-width: 769px) {
	.product-img img {
		margin: 20px auto;
	}
}
.product-name {
    color: #000;
	font-size: 19px;
	font-weight: bold;
}
@media screen and (max-width: 400px) {
	.product-name {
		font-size: 14px;
	}
}

/* -----------------------------------------------
	questionnaire
-------------------------------------------------- */
.questionnaire {
    border: 10px solid #283cff;
    padding: 20px 10px;
}
.questionnaire-title {
	color: #ffffff;
    max-width: 90%;
    text-align: center;
	--border-width: 5px;
	--border-color: #283cff;
	position: relative;
	margin: auto;
	padding: 10px 5px;
	border-style: solid none;
	border-width: var(--border-width);
	border-color: var(--border-color);
	background-color: #283cff;
	font-size: 20px;
}
.questionnaire-title::before ,
.questionnaire-title::after  {
	content: '';
	position: absolute;
	top: var(--border-width);
	bottom: var(--border-width);
	display: block;
	width: var(--border-width);
	background-color: inherit;
	color: var(--border-color);
	--border-width-m: calc( var(--border-width) * -1);
}
.questionnaire-title::before {
	right: 100%;
	box-shadow: 0 var(--border-width-m), 0 var(--border-width), var(--border-width-m) 0;
}
.questionnaire-title::after {
	left: 100%;
	box-shadow: 0 var(--border-width-m), 0 var(--border-width), var(--border-width) 0;
}
.questionnaire-item {
    margin-top: 30px;
}
.questionnaire-item label.fw-bold {
	margin-bottom: 10px;
}
.questionnaire-item label {
    display: block;
    line-height: 2;
}
.questionnaire .btn-img {
    margin-top: 40px;
}

/* -----------------------------------------------
	agree
-------------------------------------------------- */
.agree-modal {
    font-size: 14px;
    line-height: 1.8;
}
.agree-text {
    margin: 70px 0 20px;
}
.agree-btn {
    margin: 40px auto 0;
}

/* -----------------------------------------------
	complete
-------------------------------------------------- */
.complete {
	background: linear-gradient(180deg, #004ea2 0%, #3b88c7 50%, #004ea2 100%);
	background-attachment: fixed;
	background-repeat: no-repeat;
	background-size: cover;
    padding: 20px;
}
.complete-title {
	position: relative;
	z-index: 10;
}
.complete-title-box .stage-text {
	position: relative;
	top: -10vw;
	margin-bottom: -10vw;
}
@media screen and (min-width: 500px) {
	.complete-title-box .stage-text {
		position: relative;
		top: -50px;
		margin-bottom: -50px;
	}
}
.complete-bnr {
	margin: 40px auto 0;
}
.complete-bnr a {
	display: block;
}

/* -----------------------------------------------
	result
-------------------------------------------------- */
.result {
    text-align: center;
	--border-width: 5px;
	--border-color: #ff42a7;
	position: relative;
	margin: 20px calc( var(--border-width) * 2 ) 0;
	padding: 20px 20px 40px;
	border-style: solid none;
	border-width: var(--border-width);
	border-color: var(--border-color);
	background-color: #fff;
	font-size: 16px;
}
.result::before ,
.result::after  {
	content: '';
	position: absolute;
	top: var(--border-width);
	bottom: var(--border-width);
	display: block;
	width: var(--border-width);
	background-color: inherit;
	color: var(--border-color);
	--border-width-m: calc( var(--border-width) * -1);
}
.result::before {
	right: 100%;
	box-shadow: 0 var(--border-width-m), 0 var(--border-width), var(--border-width-m) 0;
}
.result::after {
	left: 100%;
	box-shadow: 0 var(--border-width-m), 0 var(--border-width), var(--border-width) 0;
}
.result-title {
    color: #fff;
    max-width: 90%;
    text-align: center;
	--border-width: 5px;
	--border-color: #ff42a7;
	position: relative;
	margin: 0 auto;
	padding: 10px 5px;
	border-style: solid none;
	border-width: var(--border-width);
	border-color: var(--border-color);
	background-color: var(--border-color);
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 16px;
}
.result-title img {
	width: 24px;
}
.result-title::before ,
.result-title::after  {
	content: '';
	position: absolute;
	top: var(--border-width);
	bottom: var(--border-width);
	display: block;
	width: var(--border-width);
	background-color: inherit;
	color: var(--border-color);
	--border-width-m: calc( var(--border-width) * -1);
}
.result-title::before {
	right: 100%;
	box-shadow: 0 var(--border-width-m), 0 var(--border-width), var(--border-width-m) 0;
}
.result-title::after {
	left: 100%;
	box-shadow: 0 var(--border-width-m), 0 var(--border-width), var(--border-width) 0;
}
.result-label {
	font-size: 10px;
	color: #ff42a7;
	text-align: center;
	margin: 0;
}
.result-product-name {
	font-weight: bold;
	font-size: 14px;
}
.result-product-img {
	width: 50%;
    margin: 2px auto;
}
.result-label span {
	display: inline-block;
	border: 1px solid #ff42a7;
	border-radius: 100px;
	padding: 2px 8px;
    line-height: 1;
}
.reslut-box {
	display: flex;
	flex-wrap: wrap;
}
.result-item {
	width: 48%;
	box-sizing: border-box;
	margin-top: 24px;
}
.result-item a {
	text-decoration: none;
	color: #000;
	display: block;
}

/* -----------------------------------------------
	error
-------------------------------------------------- */
.error {
    color: #ea4444;
}