@charset 'utf-8';
/* CSS Document */
/* チャートシート用 */
.left_area h2 {
	color: #3978B2 !important;
	line-height: 1.6em;
	text-align: center;
	padding-top: 1.5em;
}
.dsp_contents article {
	margin: 1em auto 0;
	width: 90%;
	font-size: 14px !important;
	line-height: 1.6em;
	color: #6f6f6f !important;
}
.dsp_contents article p {
	margin-top: 1em;
}
.psy {
	margin-top: 1.5em;
	width: 100%;
	font-size: 14px !important;
}
.psy .mainpsy {
	width: 100%;
	margin-top: 1em;
	background: url(https://www.lovecosmetic.jp/set_new/swan_chart/swan_diagnosis.jpg) no-repeat;
	background-size: 100%;
	max-height: 600px;
	font-size: 14px !important;
}
.psy .mainpsy .slider {
	position: relative;
	width: 100%;
	height: 620px;
	margin: 0;
	background: url(https://www.lovecosmetic.jp/set_new/swan_chart/ans_bk2.png) no-repeat;
	background-size: 100%;
}
.psy .mainpsy .slider.top_slide {
	background: none;
}
.psy .mainpsy .slider figure {
	position: relative;
	width: 100%;
	padding: 0;
	margin: 0;
}
.psy .mainpsy .top_slide figure figcaption {
	position: absolute;
	top: 25%;
	margin: 0;
	width: 100%;
	text-align: center;
	color: #FFF;
	font-size: 2em !important;
	line-height: 1.6em;
	text-shadow: #0b1c32 1px 0 10px;
}
.psy .mainpsy .slider figure img {
	width: 100%;
	height: auto;
	margin: 0 auto;
	padding: 0;
}
.btn_start {
	width: 100%;
	text-align: center;
	margin: 1em auto;
	position: absolute;
	bottom: 3em;
}
.btn_goback {
	width: 100%;
	text-align: center;
	margin: 1em auto;
	position: absolute;
	bottom: -6em;
}
.btn_start button {
	border: none;
	background: #b2a04c;
	color: #fff;
	font-weight: bold;
	border-radius: 50px;
	padding:.5em 2.5em;
	margin: 0 auto;
	font-size: 1.6em !important;
}
.btn_goback button {
	border: none;
	background: #0b1c32;
	color: #fff;
	font-weight: bold;
	border-radius: 50px;
	padding:.5em 2.5em;
	margin: 0 auto;
	font-size: 1.6em !important;
}
.btn_start button:hover {
	color: #b2a04c;
	background: #fff;
}
.psy .mainpsy .slider article {
	position: relative;
	width: 70%;
	margin: 25% auto 0;
	background: rgba(255,255,255,.85);
	padding: 5em 0;
	text-align: center;
}
.psy .mainpsy .slider article h4 {
	text-align: center;
	font-size: 1em !important;
	line-height: 1.6em;
	font-weight: 500 !important;
	color: #0b1c32 !important;
}
.psy .mainpsy .slider article h4 span {
	font-size: 1.6em !important;
	margin-right: .5em;
	display: block;
	width: 100%;
}
.btn_area {
	display: flex;
	justify-content:center;
	margin: 1em auto 0;
	padding-bottom: 1em;
	width: 100%;
	position: absolute;
	bottom: 5em;
}
.btn_area button {
	position: relative;
	padding: 10px 0px 10px 25px;
	color: #313131;
	transition: 0.3s ease-in-out;
	text-align: center;
	font-weight: 500;
	border: none;
	background: none;
	margin-left: 2.5em;
}
.btn_area button:before, .btn_area button:after {
	content: "";
	position: absolute;
	display: block;
	top: 50%;
}
.btn_area button:before {
	width: 0.5rem;
	height: 0.5rem;
	left: 1.1rem;
	border-top: solid 2px #fff;
	border-right: solid 2px #fff;
	z-index: 2;
	transform: translateY(-50%) rotate(45deg);
	transition: all 0.3s;
}
.btn_area button:after {
	left: 0;
	background: #b2a04c;
	z-index: 1;
	width: 3rem;
	height: 3rem;
	border-radius: 4rem;
	transform: translateY(-50%);
	transition: all 0.5s;
}
.btn_area button span {
	position: relative;
	transition: all 0.3s;
	z-index: 3;
	margin-left: 2em;
	padding-right: 2em;
	font-weight: bold;
	color: #ffffff;
	font-size: 1.2em;
}
.btn_area button:hover span {
	color: #FFF;
}
.btn_area button:hover:before {
	left: 2rem;
}
.btn_area button:hover:after {
	right: 0;
	width: 100%;
}
.flip-card {
	perspective: 1000px; /* 子要素の3D変換のための視点距離 */
}
.flip-card-inner {
	position: relative;
	width: 100%; /* 画像の幅に合わせる */
	transition: transform 0.6s;
	transform-style: preserve-3d; /* 子要素の3D位置を保持 */
	text-align: center;
	margin: 0 auto;
}
.flip-checkbox {
	display: none; /* チェックボックスを画面から隠す */
}
.flip-checkbox:checked + .flip-card .flip-card-inner {
	transform: rotateY(180deg); /* チェックボックスが選択された時にフリップ */
}
.flip-card-front, .flip-card-back {
	position: absolute;
	top: 4em;
	left: 10%;
	width: 80%;
	height: auto;
	backface-visibility: hidden; /* 裏面が見えないように */
}
.flip-card-front figure {
	width: 100% !important;
}
.flip-card-front figure img.ans_bk {
	width: 100%;
}
.flip-card-front figure img.lady {
	position: absolute;
	bottom: 0;
	left: -5em;
	width: 60% !important;
}
.layer_group .ansbox {
	width: 70%;
	position: absolute;
	top: 5em;
	right: 0;
}
.flip-card-front .gotap,.flip-card-back .back-trigger {
	position: absolute;
	z-index: 999;
	right: 1em;
	top: 1em;
	display: block;
	width: 50px;
	height: 50px;
	background: url(https://www.lovecosmetic.jp/set_new/swan_chart/tapgo.png);
	background-size: 100%;
	animation: blink 1s infinite;
	cursor: pointer;
}
@keyframes blink {
	0%,100% { opacity: 1; }
	80% { opacity: 0; }
}
.flip-card-back {
	color: #252525; /* 裏面のテキスト色 */
	transform: rotateY(180deg); /* 裏面は初めから180度回転 */
	display: flex;
	align-items: center; /* 中央に */
	justify-content: center; /* 中央に */
	background: rgba(255,255,255,.7);
	padding: 1em 0;
}
.card-text {
	padding: .8em; /* テキスト周りの余白 */
	text-align: left; /* テキストを中央揃えに */
}
.mainpsy .recarea {
	width: 100%;
	margin: 0 auto;
	position: relative;
}
.mainpsy .answer_text h4 {
	width: 100%;
	text-align: center;
	font-size: 1.6em;
	line-height: 1.6em;
	color: #9f8909;
	letter-spacing: .3em;
	margin-bottom: 2em !important;
}
.mainpsy .recarea h4 {
	width: 100%;
	text-align: center;
	line-height: 1.2em;
	font-size: 1.6em;
	color: #9f8909;
	margin: .3em !important;
}
.answer_text p {
	line-height: 1.6em;
	font-size: 1.2em;
	color: #0b1c32;
}
.mainpsy .recarea .rec_text {
	width: 80%;
	margin: 2em auto 0;
}
.mainpsy .recarea .rec_text h5 {
	margin: 0;
	font-size: 1.2em;
	color: #0b1c32;
	background: none;
	padding: 0;
}
.mainpsy .recarea ul {
	list-style: none;
	margin-top: .8em;
	line-height: 1.6em;
	font-size: 1.2em;
}
.mainpsy .recarea ul li {
	margin-top: .8em;
}
.mainpsy .recarea .gotogoods {
	width: 100%;
	padding:.5em 0;
	text-align: center;
	margin-top: 2em;
}
.mainpsy .recarea .gotogoods .button {
	padding:.3em 1em;
	margin: 0 auto;
	font-size: 1.2em;
	line-height: 1.4em;
	display: block !important;
}
.mainpsy .rec_goods {
	width: 100%;
	display: flex;
	text-align: left;
}
.flip-card-back .recarea .button {
	width: 80%;
	margin: 1em auto 0;
	display: block;
	border-radius: .5em;
	text-align: center;
	text-decoration: none;
}
.mainpsy .rec_goods img {
	width: 80% !important;
	max-width: 200px;
}

@media screen and (max-width:680px) {
	.psy .mainpsy {
		max-height: 400px;
	}
	.psy .mainpsy .slider {
		height: 400px;
	}
	.psy .mainpsy .slider article {
		margin: 20% auto 0;
		padding: 3em 0;
	}
	.psy .mainpsy .slider article h4 {
		font-size: 1em !important;
	}
	.flip-card-front, .flip-card-back {
		top: 1.5em;
		left: 5%;
		width: 90%;
	}	
	.layer_group .ansbox {
		width: 70%;
		font-size: 1.2em;
	}
	.mainpsy .recarea .rec_text {
		width: 100%;
		margin: 1em 0 0;
	}
	.mainpsy .recarea ul li {
		margin-top: .3em;
	}
	.mainpsy .rec_goods img {
		max-width: 150px;
	}
	.flip-card-back {
		padding: .5em 0 0;
	}
	.mainpsy .recarea .gotogoods {
		margin-top: 0;
	}
	.mainpsy .answer_text h4 {
		font-size: 1.6em !important;
	}
	.answer_text p {
		font-size: 1.2em !important;
	}
}

.mainpsy .rec_goods figcaption {
	margin-left: 1em;
}
a.orange {
	color: #fef4e9 !important;
	background: #f78d1d !important;
}
a.orange:hover {
	color: #fef4e9 !important;
	background: #f78d1d !important;
	opacity: .7;
	text-align: center !important;
}
