/* Fooln Gatya Simu — 見た目は旧gatya-simu-createrのstyle.cssを踏襲（id/class互換） */
.gsc_wrapper * {
	box-sizing: border-box;
}
.gsc_wrapper img {
	max-width: 100%;
	height: auto;
}
#gsc_first_view, #gsc_result_view {
	max-width: 80%;
	margin: 0 auto;
	font-size: 15px;
}
.gsc_wrapper p:empty {
	display: none;
}
#gsc_first_view {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	flex-wrap: wrap;
}
#gsc_first_view #gsc_eyecatch {
	width: 375px;
	max-width: 41.5%;
	margin-right: 1.5%;
}
#gsc_first_view #gsc_gatya_info {
	flex-grow: .3;
	max-width: 55.5%;
	margin-left: 1.5%;
}
.gsc_wrapper h2 {
	background-color: #404040;
	color: #fff;
	text-align: center;
	font-size: 17px;
	margin: 10px 0;
	font-weight: bold;
	line-height: 1;
	height: 34px;
	display: flex;
	justify-content: center;
	align-items: center;
}
#gsc_first_view h2 {
	margin-top: 0;
}
.gsc_wrapper h2 span {
	color: #e6ff00;
}
#gsc_result_overview {
	margin: 1em 0;
}
#gsc_result_overview .gsc_row {
	display: flex;
	justify-content: space-between;
	padding: .5em 1em;
}
#gsc_result_detail {
	margin: 30px 0;
	width: 100%;
	border-collapse: collapse;
}
.gsc_wrapper th, .gsc_wrapper td {
	font-size: 15px;
	padding: 4px 0;
	text-align: center;
	line-height: 1;
	height: 30px;
}
.gsc_wrapper table th {
	color: #fff;
	background: #a0a0a0;
	font-weight: bold;
	border: none;
}
.gsc_wrapper table td {
	text-align: center;
	border: 1px solid #e2e2e2;
}
.gsc_wrapper table td.gsc_rarity_name {
	font-weight: bold;
	background-color: #e2e2e2;
}
.gsc_btn_area {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	align-items: center;
	margin-top: 7px;
	gap: 7px 20px;
}
#gsc_first_view .gsc_btn_area {
	justify-content: flex-start;
}
.gsc_btn_area #please_retry {
	width: 100%;
	text-align: center;
	font-weight: bold;
	margin-top: 48px;
	font-size: 17px;
}
.fgs_pull_btns_result {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 7px 20px;
	width: 100%;
}
.gsc_wrapper .fgs_btn {
	width: 176px;
	cursor: pointer;
	max-width: calc((100% - 20px) / 2);
}
#gsc_this_results {
	position: relative;
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: flex-start;
	flex-wrap: wrap;
	padding: 10%;
	background-repeat: repeat;
	background-size: 100%;
	gap: 50px 3%;
}
#gsc_this_results.over_6 {
	justify-content: flex-start;
}
#gsc_this_results::before {
	position: absolute;
	content: "";
	display: block;
	width: 100%;
	height: 100%;
	background-color: #000;
	opacity: .5;
	z-index: 1;
	top: 0;
	left: 0;
}
#gsc_this_results .chara_wrap {
	position: relative;
	z-index: 10;
	width: 14%;
	text-align: center;
	font-weight: bold;
	color: #fff;
}
#gsc_this_results .img_wrap {
	width: 70%;
	padding-top: 70%;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	margin: 0 auto;
}
#gsc_result_view #gsc_gatya_info {
	width: 100%;
	margin: 0;
}
@media (max-width: 768px) {
	#gsc_first_view #gsc_eyecatch,
	#gsc_first_view #gsc_gatya_info {
		max-width: 100%;
		width: 100%;
		margin: 0;
	}
	#gsc_first_view h2 {
		margin: 24px 0 1em;
	}
	#gsc_this_results .chara_wrap {
		width: 48%;
		font-size: 12px;
	}
	#gsc_this_results .img_wrap {
		width: 50%;
		padding-top: 50%;
	}
	#gsc_this_results,
	#gsc_this_results.over_6 {
		row-gap: 5px;
		justify-content: space-between;
		padding: 1% 10%;
	}
}
