@charset "utf-8";
.game_wrap {
		max-width: 1260px;
		margin: 0 auto;
		padding: 0 20px;
}
.tab_body_wrap {
		border-radius: 24px;
		justify-content: space-between;
		box-sizing: border-box;
}
.tab_cont {
		background: #fff;
		border-radius: 0 0 24px 24px;
		box-shadow: #AE000E 8px 8px 0px;
		margin-top: -8px;
		position: relative;
		overflow: hidden
}
.tab {
		display: flex;
		justify-content: space-between;
		align-items: flex-end;
		flex-wrap: wrap;
		transform-origin: center bottom;
		height: 160px;
}
.tab > div {
		width: 50%;
		height: 128px;
		text-align: center;
		cursor: pointer;
		position: relative;
		display: flex;
		justify-content: center;
		align-items: center;
		background: #E60012;
		border-radius: 24px 24px 0 0;
		box-sizing: border-box;
		border: 1px solid #fff;
		font-size: 30px;
		font-weight: 700;
		color: #fff;
		transition: height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.tab > div.isActive::after {
		content: '';
		display: block;
		position: absolute;
		bottom: 7px;
		left: 25px;
		width: calc(100% - 50px);
		height: 4px;
		border-radius: 60px;
		z-index: 2;
		background: #E60012;
}
.tab > div.isActive::after {
		background: #E60012;
}
.tab > div:last-child {
		box-shadow: #AE000E 8px 8px 0px;
}
.tab > div span {
		display: inline-block;
		position: relative;
		padding-left: 23px;
}
.tab > div span::before {
		content: '';
		display: block;
		position: absolute;
		top: calc(50% - 20px);
		left: -23px;
		width: 40px;
		height: 40px;
		background-repeat: no-repeat;
		background-position: center center;
		background-size: 40px;
}
.tab > div span.icon_machigaisagashi::before {
		background-image: url("../re_images/icon_machigaisagashi.png")
}
.tab > div span.icon_omikuji::before {
		background-image: url("../re_images/icon_omikuji.png")
}
.tab > div.isActive span.icon_machigaisagashi::before {
		background-image: url("../re_images/icon_machigaisagashi_on.png")
}
.tab > div.isActive span.icon_omikuji::before {
		background-image: url("../re_images/icon_omikuji_on.png")
}
.tab > div.isActive {
		color: #E60012;
		background: #fff;
		height: 160px;
}
.panel_contents {
		box-sizing: border-box;
		background: #fff;
		position: relative;
		margin-top: 0;
}
.panel_contents_inner {
		padding: 65px;
}
.panel_contents_inner .pagetitle_center {
		margin: 0 0 50px;
		color: #E60012;
}
.pagetitle_center .icon_machigaisagashi, .pagetitle_center .icon_omikuji {
		position: relative;
		display: inline-block;
}
.pagetitle_center .icon_machigaisagashi::before, .pagetitle_center .icon_omikuji::before {
		content: '';
		display: block;
		position: absolute;
		top: calc(50% - 28px);
		left: -70px;
		width: 60px;
		height: 60px;
		background-repeat: no-repeat;
		background-position: center center;
		background-size: 60px;
}
.pagetitle_center .icon_machigaisagashi::before {
		background-image: url("../re_images/icon_machigaisagashi_L.png")
}
.machigai_lead {
		color: #4D171B;
		font-size: 30px;
		font-weight: 700;
		line-height: 1.6;
		display: flex;
		align-items: center;
		justify-content: center;
		margin: 0 0 40px;
}
.machigai_lead span.machigaiCount {
		padding: 0px 12px;
		font-size: 115%;
		font-weight: 700;
		background: #4D171B;
		color: #fff;
		border-radius: 16px;
		display: flex;
		justify-content: center;
		align-items: center;
		margin: 0 4px
}
@media(min-width: 768px) and (max-height: 910px) {
		.panel_contents_inner .pagetitle_center {
				margin: 0 0 30px;
		}
		.pagetitle_center .icon_machigaisagashi::before, .pagetitle_center .icon_omikuji::before {
				top: calc(50% - 24px);
				left: -58px;
				width: 48px;
				height: 48px;
				background-size: 48px;
		}
		.tab {
				height: 120px;
		}
		.tab > div {
				height: 80px;
				font-size: 22px;
		}
		.tab > div.isActive {
				height: 120px;
		}
}
/* ============== */
.omikuji_lead {
		color: #4D171B;
		font-size: 30px;
		font-weight: 700;
		line-height: 1.6;
		margin: 0 0 40px;
		text-align: center;
}
@media(min-width: 768px) and (max-height: 910px) {
		.machigai_lead, .omikuji_lead {
				font-size: 22px;
				margin: 0 0 30px;
		}
}
.machigai_before {
		max-width: 1128px;
		margin: 0 auto 25px;
		display: flex;
		justify-content: space-between;
}
.machigai_before_tile {
		width: 560px;
}
@media(max-width: 1300px) {
		.machigai_before_tile {
				width: calc(50% - 5px);
		}
}
.machigai_before img {
		width: 100%;
		height: auto;
}
.machigaiCount {
		text-align: center;
		margin: 0 0 30px;
		font-weight: 700;
		font-size: 30px;
		color: #4D171B;
}
.machigaiCount span {
		font-size: 170%;
		font-family: "Montserrat", sans-serif;
		margin: 0 3px
}
.machigai_item {
		margin: 0 0 70px;
		border: 2px solid #E60012;
		border-radius: 60px;
}
.machigai_item.isOpen {
		border-radius: 32px;
}
.machigai_hd {
		text-align: center;
		font-size: 32px;
		font-weight: 700;
		color: #E60012;
		cursor: pointer;
		position: relative;
		height: 80px;
		display: flex;
		justify-content: center;
		align-items: center;
}
.machigai_hd span {
		transform: translateY(-2px);
		display: inline-block
}
.machigai_hd .machigai_hd_trigger {
		width: 48px;
		height: 48px;
		border-radius: 50%;
		background: #db0012;
		position: absolute;
		right: 16px;
		top: 16px;
}
.machigai_hd_trigger:before, .machigai_hd_trigger:after {
		content: '';
		display: block;
		position: absolute;
		width: 20px;
		height: 3px;
		border-radius: 60px;
		background: #fff;
		left: 14px;
		top: 22.5px;
		pointer-events: none;
		transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.machigai_hd_trigger:after {
		transform: rotate(90deg);
}
.isOpen .machigai_hd_trigger::before {
		transform: rotate(180deg);
}
.isOpen .machigai_hd_trigger::after {
		transform: rotate(270deg);
		opacity: 0;
}
.machigai_cont {
		display: none
}
.answer {
		margin: 0 0 30px;
		display: flex;
		justify-content: space-between;
		padding-top: 30px;
		padding-left: 20px;
		padding-right: 20px;
}
.answer_item {
		width: calc(50% - 5px);
}
.answer img {
		width: 100%;
		height: auto;
}
.answer_list {
		display: flex;
		justify-content: center;
		list-style: none;
		flex-wrap: wrap;
		color: #db0012;
		padding: 0 0 40px;
}
.answer_list li {
		font-size: 22px;
		margin: 0 10px 5px;
		font-weight: 600;
}
.machigai_before.first {
		position: relative;
}
.machigai_before.first::after {
		content: '';
		display: block;
		position: absolute;
		top: -214px;
		right: 0;
		width: 270px;
		height: 215px;
		background-repeat: no-repeat;
		background-position: 0 0;
		background-size: 270px;
		background-image: url("../re_images/game_machigaisagashi_ataru_pc.png")
}
@media(max-width: 1300px) {
		.tab {
				height: 100px;
		}
		.tab > div {
				width: 50%;
				height: 80px;
				font-size: 24px;
		}
		.tab > div span::before {
				top: calc(50% - 16px);
				left: -15px;
				width: 32px;
				height: 32px;
				background-size: 32px;
		}
		.tab > div.isActive::after {
				bottom: 7px;
				left: 15px;
				width: calc(100% - 30px);
		}
		.tab > div.isActive {
				height: 100px;
		}
		.panel_contents_inner {
				padding: 60px 30px 30px;
		}
		.pagetitle_center .icon_machigaisagashi::before, .pagetitle_center .icon_omikuji::before {
				top: calc(50% - 28px);
				left: -70px;
				width: 60px;
				height: 60px;
				background-size: 60px;
		}
		.machigai_lead {
				font-size: 22px;
				margin: 0 0 40px;
		}
		.machigai_lead span.machigaiCount {
				padding: 0px 12px;
				font-size: 115%;
				font-weight: 700;
				background: #4D171B;
				color: #fff;
				border-radius: 16px;
				margin: 0 4px
		}
		.omikuji_lead {
				color: #4D171B;
				font-size: 30px;
				font-weight: 700;
				line-height: 1.6;
				margin: 0 0 40px;
				text-align: center;
		}
		.machigai_before {
				max-width: 1128px;
				margin: 0 auto 25px;
		}
		.machigai_before img {
				width: 100%;
				height: auto;
		}
		.machigaiCount {
				text-align: center;
				margin: 0 0 30px;
				font-weight: 700;
				font-size: 30px;
				color: #4D171B;
		}
		.machigaiCount span {
				font-size: 170%;
				font-family: "Montserrat", sans-serif;
				margin: 0 3px
		}
		.machigai_item {
				margin: 0 0 70px;
				border: 2px solid #E60012;
				border-radius: 60px;
		}
		.machigai_item.isOpen {
				border-radius: 32px;
		}
		.machigai_hd {
				font-size: 24px;
				height: 70px;
		}
		.machigai_hd span {
				transform: translateY(-2px);
				display: inline-block
		}
		.machigai_hd .machigai_hd_trigger {
				right: 11px;
				top: 11px;
		}
		.answer_list {
				padding: 0 0 30px;
		}
		.answer_list li {
				font-size: 18px;
				margin: 0 5px 5px;
		}
		.machigai_before.first::after {
				top: -170px;
				width: 216px;
				height: 170px;
				background-size: 216px;
		}
}
@media(max-width: 840px) {
		.machigai_before.first::after {
				top: -135px;
				width: 170px;
				height: 135px;
				background-size: 170px;
		}
}
@media(max-width: 767px) {
		.tab {
				height: 60px;
		}
		.tab > div.isActive {
				height: 60px;
		}
		.tab > div {
				height: 40px;
				font-size: 12px;
				border-radius: 16px 16px 0 0;
		}
		.tab > div span {
				display: inline-block;
				position: relative;
				padding-left: 16px;
		}
		.tab > div span::before {
				top: calc(50% - 7px);
				left: 0px;
				width: 14px;
				height: 14px;
				background-size: 14px;
		}
		.tab > div.isActive::after {
				bottom: 0px;
				left: 10px;
				width: calc(100% - 20px);
				height: 2px
		}
		.tab_cont {
				margin-top: 0;
		}
		.panel_contents_inner .pagetitle h2 {
				font-size: 32px;
				line-height: 1.3;
		}
		.panel_contents_inner {
				padding: 50px 20px 20px;
		}
		.pagetitle_center .icon_machigaisagashi::before, .pagetitle_center .icon_omikuji::before {
				top: 6px;
				left: -30px;
				width: 28px;
				height: 28px;
				background-size: 28px;
		}
		.machigai_lead {
				font-size: 18px;
				margin: 0 0 40px;
		}
		.machigai_lead span.machigaiCount {
				padding: 0px 6px;
				font-size: 120%;
				border-radius: 8px;
				margin: 0 2px
		}
		.machigaiCount {
				margin: 0 0 20px;
				font-size: 16px;
		}
		.machigai_before.first::after {
				top: -60px;
				right: 0px;
				width: 118px;
				height: 60px;
				background-size: 118px;
				background-image: url("../re_images/game_machigaisagashi_ataru_sp.png")
		}
		.machigai_before {
				display: block;
		}
		.machigai_before_tile {
				width: auto;
				margin: 0 0 10px;
		}
		.answer {
				display: block;
		}
		.answer_item {
				width: 100%;
				margin: 0 0 10px;
		}
		.answer_list {
				display: flex;
				flex-wrap: wrap;
				justify-content: flex-start;
				padding: 0 20px 30px;
				box-sizing: border-box;
				width: 100%;
		}
		.answer_list li {
				font-size: 15px;
				margin: 0 15px 8px 0;
		}
		.machigai_item.isOpen {
				border-radius: 18px;
		}
		.machigai_hd {
				font-size: 16px;
				height: 46px;
		}
		.machigai_hd .machigai_hd_trigger {
				width: 26px;
				height: 26px;
				right: 10px;
				top: 10px;
		}
		.machigai_hd_trigger:before, .machigai_hd_trigger:after {
				width: 10px;
				height: 2px;
				left: 8px;
				top: 12px;
		}
}
/* =============== */
@media(max-width: 767px) {
		.omikuji_lead {
				font-size: 18px;
				margin: 0 0 40px;
		}
}