@charset "UTF-8";

.footer__info,
.qro_footer_mail,
#qro_footer .footer__nav,
#qro_footer .footer__subnav,
#qro_footer .footer__logo,
#qro_footer .footer__logo_btm_item:nth-child(2),
#qro_footer .footer__logo_btm_item:nth-child(3),
#qro_footer .footer__logo_btm_item:last-child {
	display: none !important;
}

#qro_footer .footer__logo_btm,
#qro_footer .footer__logo_btm_item:first-child {
	padding: 0 !important;
	border: none !important;
	margin-bottom: 0 !important;
}

body {
	/* font-family: 'Yu Gothic', 'Meiryo', sans-serif; */
	font-family: "Kaisei Opti", serif;
	font-weight: 400;
	font-style: normal;
	background-color: #f8f0f4;
	/* 淡いピンク/パープルの背景 */
	color: #333;
	line-height: 1.6;
	margin: 0;
	padding: 20px;
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 100vh;
	box-sizing: border-box;
}

/* クイズコンテナ */
.quiz-container {
	/* background-color: #fff;
	border-radius: 15px;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); */
	padding: 0px 40px 0px;
	max-width: 700px;
	width: 100%;
	text-align: center;
	box-sizing: border-box;
	/* border: 2px solid #e0bbe4; */
	margin: 0 auto;
	position: relative;
}

h1 {
	color: #8c4c9b;
	/* 宝塚をイメージした紫色 */
	font-size: 2.2em;
	margin-bottom: 25px;
	font-weight: bold;
	letter-spacing: 1px;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.05);
}

h2 {
	color: #a36ab1;
	font-size: 1.6em;
	margin-top: 30px;
	margin-bottom: 15px;
}

p {
	font-size: 1.1em;
	margin-bottom: 20px;
	color: #555;
}

a:hover {
	cursor: pointer;
	opacity: 0.7;
}

/* 画面の表示・非表示 */
.start-screen,
.question-screen,
.result-screen {
	display: none;
	/* デフォルトで非表示、JSで制御 */
}

.start-screen.active,
.question-screen.active,
.result-screen.active {
	display: block;
}

/* ボタン */
.button {
	background-color: unset;
	/* 柔らかい紫色 */
	color: white;
	padding: 0px;
	border: none;
	border-radius: 30px;
	font-size: 1.1em;
	cursor: pointer;
	transition: background-color 0.3s ease, transform 0.2s ease;
	margin-top: 5px;
	display: inline-block;
	font-weight: bold;
}

.button:hover {
	transform: scale(1.05);
	background-color: unset;
}

/* 選択肢のコンテナ */
.options-container {
	display: flex;
	flex-direction: column;
	gap: 15px;
	margin-top: 15px;

}

/* 選択肢 */
.option {
	background-color: #e0c8f0;
	text-align: center;
	font-size: 18px;
	border-radius: 30px;
	padding: 18px 25px;
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease;
	color: #444444;
}

.option:hover {
	background-color: #eadcf0;
	border-color: #957dad;
	color: #333;
}

.option.selected {
	/* 選択されたオプションのスタイル (今回は使用しないが、残しておく) */
	background-color: #957dad;
	border-color: #8c4c9b;
	color: white;
	font-weight: bold;
}

/* 質問文 */
.question-text {
	font-size: 27px;
	font-weight: bold;
	color: #ba81dd;
	margin-bottom: 30px;
}

/* プログレスバー */
.progress-bar-container {
	width: 100%;
	background-color: #E1D8E8;
	border-radius: 5px;
	margin-bottom: 25px;
	height: 10px;
	overflow: hidden;
	margin-top: 10px;
}

.progress-bar {
	height: 100%;
	width: 0%;
	background-color: #BA81DD;
	border-radius: 5px;
	transition: width 0.3s ease-in-out;
}

/* 結果画面 */
.result-type-title {
	color: #8c4c9b;
	font-size: 2em;
	margin-bottom: 15px;
	font-weight: bold;
}

.result-description {
	font-size: 1.15em;
	margin-bottom: 30px;
	color: #444;
}

/* グッズ提案セクション */
.merchandise-suggestions {
	margin-top: 35px;
	padding-top: 25px;
	border-top: 1px solid #e0bbe4;
}

.merchandise-suggestions h3 {
	color: #a36ab1;
	font-size: 1.4em;
	margin-bottom: 20px;
}

.merchandise-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 20px;
	justify-content: center;
}

.merch-item {
	background-color: #fdf6ff;
	border: 1px solid #e0bbe4;
	border-radius: 8px;
	padding: 15px;
	text-align: center;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.merch-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.merch-item img {
	max-width: 100px;
	height: auto;
	border-radius: 5px;
	margin-bottom: 10px;
	border: 1px solid #f0e6f2;
}

.merch-item p {
	font-size: 0.95em;
	color: #666;
	margin-bottom: 10px;
	min-height: 2.8em;
	/* 複数行の場合でも高さを一定に保つ */
	display: flex;
	align-items: center;
	justify-content: center;
}

.merch-item a {
	display: inline-block;
	background-color: #a36ab1;
	color: white;
	padding: 8px 15px;
	border-radius: 20px;
	text-decoration: none;
	font-size: 0.9em;
	transition: background-color 0.2s ease;
}

.merch-item a:hover {
	background-color: #8c4c9b;
}

/* シェアボタン */
.share-buttons {
	margin-top: 30px;
	padding-top: 25px;
	border-top: 1px solid #f0e6f2;
}

.share-buttons h3 {
	color: #a36ab1;
	font-size: 1.3em;
	margin-bottom: 15px;
}

.share-buttons button {
	background-color: #f0f0f0;
	color: #555;
	border: 1px solid #ccc;
	padding: 10px 20px;
	border-radius: 25px;
	cursor: pointer;
	font-size: 1em;
	margin: 5px;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.share-buttons button.twitter {
	background-color: #1DA1F2;
	color: white;
	border-color: #1DA1F2;
}

.share-buttons button.twitter:hover {
	background-color: #1a8cd8;
}

.share-buttons button.line {
	background-color: #00B900;
	color: white;
	border-color: #00B900;
}

.share-buttons button.line:hover {
	background-color: #00a800;
}

.share-buttons button:hover {
	background-color: #e0e0e0;
	color: #333;
}

.option {
	padding: 8px 20px;
	font-size: 14px;
	min-height: 60px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 8px 13px rgba(149, 120, 180, 0.09);

}

/* レスポンシブ対応 */
@media (max-width: 640px) {
	.quiz-container {
		padding: 45px 10px 0px;
	}




	h1 {
		font-size: 1.8em;
	}

	h2 {
		font-size: 1.4em;
	}

	p {
		font-size: 1em;
	}

	.button {
		margin-bottom: 0px;
		font-size: 1em;
		margin-top: 20px;
		width: 88%;
		padding-bottom: 50px;
	}



	.question-text {
		font-size: 1.1em;
		margin-bottom: 0px;
	}

	.result-type-title {
		font-size: 1.6em;
	}

	.result-description {
		font-size: 1em;
	}

	.merchandise-grid {
		grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	}

	.merch-item img {
		max-width: 80px;
	}
}

.button__img {
	box-shadow: 0 18px 35px rgba(149, 120, 180, 0.25);
	border-radius: 45px;
}

.start__text {
	/* text-shadow: 0 0 13px rgba(161, 97, 192, 0.63); */
	text-shadow:
		0 0 3px rgba(161, 97, 192, 0.63),
		0 0 6px rgba(161, 97, 192, 0.63),
		0 0 13px rgba(161, 97, 192, 0.63);
	color: white;
	z-index: 1;
	position: relative;
}

.contents {
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: hidden;
	background: url(../img/pc_bg.jpg) no-repeat center top / cover;
	background-attachment: fixed;
	padding: 60px 20px 60px;
}

.start__title {
	margin-bottom: 0px;
	z-index: 1;
	position: relative;
	margin-top: 15px;
}

.start__illust {
	position: absolute;
	top: 22.5%;
	left: 50%;
	transform: translateY(-50%) translateX(-50%);
}


.start-screen {
	padding-top: 335px;
}

.quiz-container.active {
	background: rgba(255, 255, 255, 0.7);
	border-radius: 30px;
	padding: 60px 40px 75px;
}

.result {
	border-radius: 15px;
	padding: 40px 20px 60px;
	background-color: rgba(255, 255, 255, 0.9);
	text-align: center;
	position: relative;
	max-width: 700px;
	overflow: hidden;
}

.result__bg__parts__top__left {
	position: absolute;
	top: 13px;
	left: 13px;
	transform: translateY(0%) translateX(0%);
	width: 13vw;
}

.result__bg__parts__top__right {
	position: absolute;
	top: 13px;
	right: 13px;
	transform: translateY(0%) translateX(0%);
	width: 13vw;
}

.result__bg__parts__bottom__left {
	position: absolute;
	bottom: 13px;
	left: 13px;
	transform: translateY(0%) translateX(0%);
	width: 13vw;
}

.result__bg__parts__bottom__right {
	position: absolute;
	bottom: 13px;
	right: 13px;
	transform: translateY(0%) translateX(0%);
	width: 13vw;
}

.result__anata {
	text-align: center;
	color: #797979;
	background-color: #ececec;
	padding: 5px 20px;
	border-radius: 26.5px;
	display: inline-block;
	max-width: 264px;
	font-size: 3.3vw;
	margin: 0 auto;
}

.result__type {
	display: block;
	width: 70vw;
	margin: 0 auto;
	margin-top: -10vw;
	padding-right: 5vw;
}

.result__type__name {
	margin-top: 1vw;
}

.result__type__text {
	color: #b4915b;
	font-size: 4.3vw;
	margin-top: 3vw;
	margin-bottom: 0px;
}

.result__type__text-2 {
	margin: 8px auto 0px;
	font-size: 3.6vw;
	line-height: 7.0vw;
	text-align: left;
}

.result__goods {
	margin-top: 50px;
	position: relative;
}

.result__goods__contents {
	position: relative;
}

.result__goods__bg {
	position: absolute;
	top: -11vw;
	left: 50%;
	transform: translateY(0%) translateX(-50%);
	width: calc(100% + 40px);
	max-width: unset;
	height: calc(100% + 27vw);
}

.result__goods__anata {
	color: white;
	background-image: url(../img/heading_bg.png);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	font-size: 3.2vw;
	padding: 1px 5px;
}

.result__goods__heading {
	width: 57vw;
}

.result__goods__heading__wrap {
	margin-top: 10px;
	position: relative;
	display: inline-block;
}

.result__goods__kazari {
	position: absolute;
	top: 50%;
	transform: translateY(-50%) translateX(0%);
}

.result__goods__kazari__left {
	position: absolute;
	top: 2vw;
	left: -16vw;
	transform: translateY(-50%) translateX(0%);
	width: 15.5vw;
}

.result__goods__kazari__right {
	position: absolute;
	top: 2vw;
	right: -16vw;
	transform: translateY(-50%) translateX(0%);
	width: 15.5vw;
}

.result__goods__item__wrap {
	display: flex;
	gap: 15px 10px;
	flex-flow: wrap;
	justify-content: center;
}

.result__goods__item {
	width: calc(50% - 5px);
	display: flex;
	flex-flow: column;
	justify-content: space-between;
}

.result__goods__item__text__wrap {
	height: 50%;
	display: flex;
	flex-flow: column;
	justify-content: space-between;
}

.result__goods__item__text {
	text-align: left;
	margin-bottom: 0px;
	margin-top: 5px;
	font-size: 3.2vw;
}

.result__goods__item__btn {
	background-color: #c58ae1;
	box-shadow: 0 8px 13px rgba(149, 120, 180, 0.25);
	display: inline-block;
	padding: 5px 10px;
	width: 100%;
	border-radius: 30px;
	margin-top: 12px;
	font-size: 3.2vw;
}

.result__goods__item__btn__text {
	color: white;
}

.result__restart-btn__wrap {
	display: block;
	font-size: 4vw;
	position: relative;
	box-shadow: 0 8px 13px rgba(149, 120, 180, 0.25);
	border-radius: 13vw;
	max-width: 560px;
	margin: 40px auto 0px;
	font-size: unset;
}

.result__restart-btn__wrap:hover {
	cursor: pointer;
	opacity: 0.7;
}

.result__restart-btn {}

.result__restart-btn__text {
	color: white;
}

.result__restart-btn__icon {
	position: absolute;
	top: 50%;
	transform: translateY(-50%) translateX(0%);
	right: 25px;
	width: 4vw;
}

.result__share {
	margin-top: 60px;
}

.result__share__heading {
	font-size: 5.4vw;
	font-family: "Kaisei Opti", serif;
	font-weight: 400;
	font-style: normal;
}

.result__share__btn {
	background-color: #444444;
	width: 100%;
	color: white;
	min-height: 50px;
	border-radius: 13vw;
	padding: 4vw 0px;
	font-size: 3.8vw;
}

.result__share__btn:hover {
	cursor: pointer;
	opacity: 0.7;
}

.result__share__btn__wrap {
	margin-top: 4vw;
	display: flex;
	flex-flow: column;
	gap: 2.5vw;
	position: relative;
	z-index: 1;
}

.result__share__btn.line {
	background-color: #41B162;
}

.result__share__btn.facebook {
	background-color: #2972CD;
}

/* .contents.shindan__contents {
	padding: 20px 0px 60px;
} */

.title {
	display: none;
}

.quiz-container.active .title {
	display: inline-block;
	width: 67vw;
}

.quiz-container.active .start__title__item {
	display: none;
}



@media (max-width: 640px) {
	.contents {
		background: url(../img/bg_sp.jpg) no-repeat center top / cover;
		background-attachment: fixed;
		padding: 20px 20px 60px;
	}

	.contents.shindan__contents {
		padding: 20px 20px 20px;
	}

	.start__title__text {
		width: 66vw;
	}

	.start__illust {
		top: 27%;
		width: 80%;
	}

	.start-screen {
		padding-top: 59vw;
	}

	.start__text {
		width: 62vw;
		margin: 0 auto;
	}

	.quiz-container.active {
		padding: 20px 20px 60px;
		border-radius: 15px;
	}
}

@media (min-width: 641px) {

	.contents.shindan__contents {
		padding: 60px 20px 60px;
	}

	.result {
		border-radius: 30px;
		padding: 60px 60px 60px;
	}

	.result__anata {
		padding: 5px 28px;
		font-size: 16px;
		margin-top: -10px;
	}

	.result__bg__parts__top__left {
		top: 30px;
		left: 30px;
		width: 80px;
	}

	.result__bg__parts__top__right {
		top: 30px;
		right: 30px;
		width: 80px;
	}

	.result__bg__parts__bottom__left {
		bottom: 30px;
		left: 30px;
		width: 80px;
	}

	.result__bg__parts__bottom__right {
		bottom: 30px;
		right: 30px;
		width: 80px;
	}

	.result__type__text {
		font-size: 24px;
		margin-top: 15px;
	}

	.result__type__name {
		margin-top: 5px;
		max-width: 470px;
		display: inline-block;
	}

	.result__type {
		display: block;
		width: 100%;
		max-width: 350px;
		margin: 0 auto;
		margin-top: -55px;
		padding-right: 20px;
		box-sizing: content-box;
	}

	.result__type__text-2 {
		font-size: 16px;
		line-height: 1.6;
		margin: 15px auto 0px;
	}

	.result__goods__anata {
		font-size: 20px;
		padding: 2px 4px;
	}

	.result__goods {
		margin-top: 75px;
	}

	.result__goods__heading {
		max-width: 360px;
	}

	.result__goods__kazari__left {
		max-width: 100px;
		top: 25px;
		left: -91px;
	}

	.result__goods__kazari__right {
		max-width: 100px;
		top: 25px;
		right: -98px;
	}

	.result__goods__item__wrap {
		flex-flow: nowrap;
		margin-top: 30px;
		gap: 15px;
	}

	.result__goods__item__text__wrap {
		height: 100%;
	}

	.result__goods__item__text {
		font-size: 16px;
	}

	.result__goods__item__btn {
		font-size: 16px;
		box-shadow: 0 6px 8px rgba(149, 120, 180, 0.25);
	}

	.result__goods__item {
		width: calc((100% / 3) - 10px);
	}

	.result__restart-btn__wrap {
		max-width: 430px;
		margin: 140px auto 0px;
	}

	.result__restart-btn {
		box-shadow: 0 8px 13px rgba(149, 120, 180, 0.25);
		border-radius: 45px;
	}

	.result__share__heading {
		font-size: 24px;
	}

	.result__share__btn__wrap {
		flex-flow: wrap;
		gap: 20px;
		margin-top: 30px;
		justify-content: center;
	}

	.result__share__btn {
		width: calc((100% / 2) - 10px);
		font-size: 16px;
		padding: 22px 0px;
	}

	.result__goods__bg {
		top: -63px;
		width: calc(100% + 120px);
		max-width: unset;
		height: calc(100% + 145px);
	}

	.active .start__title {
		margin-top: 0px;
	}

	.quiz-container.active .title {
		max-width: 425px;
	}

	.quiz-container.active {
		padding: 60px 60px 60px;
		/* margin-bottom: 180px; */
	}

	.active .progress-bar-container {
		height: 13px;
		margin-top: -5px;
	}

	.active .question-text {
		margin-bottom: 20px;
		margin-top: 40px;
	}

	.active .options-container {
		gap: 20px;
	}

	.option {
		font-size: 16px;
	}

}

a.result__share__btn {
	color: white;
}