@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=BIZ+UDPMincho:wght@400;700&family=League+Gothic&display=swap');

/*----------共通----------*/
:root {
	--color-primary: #667eea;
	--color-secondary: #764ba2;
	--color-success: #10b981;
	--color-danger: #ef4444;
	--color-warning: #f59e0b;
	--color-text: #ffffff;
	--color-text-muted: rgba(255, 255, 255, 0.8);
	--color-bg-card: rgba(255, 255, 255, 0.1);
	--color-bg-card-hover: rgba(255, 255, 255, 0.15);
	--spacing-xs: 0.5rem;
	--spacing-sm: 1rem;
	--spacing-md: 1.5rem;
	--spacing-lg: 2rem;
	--spacing-xl: 3rem;
	--radius: 1rem;
	--shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	--transition: all 0.3s ease;
}
body {
	font-family: "BIZ UDPMincho", serif;
	font-weight: 400;
	font-style: normal;
	color: #fff;
	font-size: 16px;
	line-height: 1.7;
	text-shadow: 2px 2px 0 #000;
}
	@media screen and (max-width: 769px) {
		body {
			font-size: 14px;
			text-shadow: 1px 1px 0 #000;
		}
	}
button {
	background: none;
	border: none;
	outline: none;
	appearance: none;
}
p,img,dl,dt,dd,ul,li,h1,h2,h3,h4 {
	margin: 0;
	padding: 0;
}
a {
    color: orange;
}
a:hover {
    filter: brightness(1.2);
	transition: 0.4s;
}
img {
	width: 100%;
	height: auto;
}
ul,li {
	list-style-type: none;
}
.spout {
	display: none;
}
.pcout {
	display: block;
}
	@media screen and (max-width: 769px) {
		.spout {
			display: block;
		}
		.pcout {
			display: none;
		}
	}

/*----------全体----------*/

#wrapper {
	width: 100%;
}
#contents {
	display: flex;
	flex-flow: column;
	width: 100%;
	min-height: 100svh;
	padding: 90px 110px;
	background: url("../images/bg_frame_top_left.png") no-repeat left top, url("../images/bg_frame_top_right.png") no-repeat right top, url("../images/bg_frame_bottom_left.png") no-repeat left bottom, url("../images/bg_frame_bottom_right.png") no-repeat right bottom, url("../images/bg_frame_top.png") repeat-x center top, url("../images/bg_frame_bottom.png") repeat-x center bottom, url("../images/bg_frame_left.png") repeat-y left center, url("../images/bg_frame_right.png") repeat-y right center #000;
}
main {
	flex: 1;
}
	@media screen and (max-width: 769px) {
		#contents {
			padding: 20px 35px 30px;
			background: url("../images/bg_frame_top_left.png") no-repeat left -20px top -20px / 80px, url("../images/bg_frame_top_right.png") no-repeat right -20px top -20px / 80px, url("../images/bg_frame_bottom_left.png") no-repeat left -20px bottom -20px / 80px, url("../images/bg_frame_bottom_right.png") no-repeat right -20px bottom -20px / 80px, url("../images/bg_frame_top.png") repeat-x center top -20px / 80px, url("../images/bg_frame_bottom.png") repeat-x center bottom -20px / 80px, url("../images/bg_frame_left.png") repeat-y left -20px center / 80px, url("../images/bg_frame_right.png") repeat-y right -20px center / 80px #000;
		}
	}

/*----------コンテンツ----------*/

#contents h1 {
	max-width: 600px;
	margin: 0 auto 30px;
}
#contents h1.sub {
	max-width: 300px;
}
#contents p {
	display: table;
	margin-left: auto;
	margin-right: auto;
}
#contents .message {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	max-width: 1000px;
	min-height: 250px;
	margin: 0 auto 60px;
	padding: 30px 40px;
	font-size: 20px;
	text-align: center;
	border: 2px solid #a97e2e;
	background: #393635;
}
#contents .message::before,
#contents .message::after {
	position: absolute;
	content: "";
	width: 200px;
	height: 200px;
}
#contents .message::before {
	left: -30px;
	top: -30px;
	background: url("../images/message_frame_top.svg") no-repeat left top / contain;
}
#contents .message::after {
	right: -30px;
	bottom: -30px;
	background: url("../images/message_frame_bottom.svg") no-repeat left top / contain;
}
#contents .message .serial,
#contents .message .emergency {
	font-size: 150%;
	font-weight: 700;
}
#contents .message .serial {
	color: #7b7fff;
}
#contents .message .emergency {
	color: #ff050d;
}
#contents .message .message-result {
	color: #ff050d;
	font-weight: 700;
}
.text-center {
	text-align: center;
}
.loading {
	text-align: center;
	margin-bottom: 24px;
}
.status {
	display: inline-block;
	padding: 0.5rem 1rem;
	border-radius: 2rem;
	font-size: 0.875rem;
	font-weight: 600;
	text-align: center;
	margin-bottom: 1.5rem;
  text-shadow: none;
}
.status--upcoming {
	background: #f59e0b;
	color: #000;
}
.status--ready {
	background: #3b82f6;
	color: #fff;
}
.status--voting {
	background: #10b981;
	color: #fff;
}
.status--closed {
	background: #6366f1;
	color: #fff;
}
.status--result {
	background: #8b5cf6;
	color: #fff;
}
.status--finished {
	background: #ef4444;
	color: #fff;
}
#participants-count,
#voted-message,
#result-section,
#question-section .question {
	display: none;
}
#killswitch-banner {
	display: none;
}
#join-section p {
	display: none;
}
#finished-section .question__text,
#finished-section .question p,
#passphrase-section {
	display: none;
}
#contents .btn a,
button.btn {
	display: table;
	margin: 0 auto 50px;
	padding: 15px 5%;
	text-align: center;
	text-decoration: none;
	font-weight: 700;
	font-size: 40px;
	color: #fff;
	background: linear-gradient(to bottom, #b60005, #b60005 50%, #740003);
	box-shadow: 0 0 10px 3px #fff;
}
#contents ul.choices {
	display: flex;
	margin: 0 auto 50px;
	justify-content: center;
	color: #fff;
	font-family: "League Gothic", sans-serif;
	font-size: 80px;
	line-height: 160px;
}
#contents ul.choices .choice-btn {
	cursor: pointer;
	width: 160px;
	height: 160px;
	color: #fff;
	background: url("../images/btn_yes.png") no-repeat center center / contain;
}
#contents ul.choices li:last-child .choice-btn {
	background-image: url("../images/btn_no.png");
}
#contents ul.choices .choice-btn:focus {
	transform: scale(1.15);
	transition: 0.4s;
	filter: brightness(1.8);
}
#contents ul.choices li.vs {
	padding: 0 20px;
	color: #beb669;
}
#contents ul.choices.off .choice-btn {
	position: relative;
	pointer-events: none;
	color: #969696;
	background-color: #646464;
  background-image: none;
	border-radius: 50%;
}
#contents ul.choices.off li:last-child .choice-btn {
	background-image: none;
}
#contents ul.choices.off .choice-btn::before {
	position: absolute;
	content: "";
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	border-radius: 100px;
	background: #646464;
	z-index: -1;
}
#contents ul.choices .choice-btn.choice-btn--selected {
	color: #fff;
	background: #a97e2e;
	border-radius: 50%;
}
#contents ul.choices li:last-child .choice-btn.choice-btn--selected {
	background-image: none;
}
#contents ul.choices.off li.vs {
	color: #646464;
}
button.btn {
	cursor: pointer;
}
button.btn:hover {
	filter: brightness(1.2);
	transition: 0.4s;
}
button.btn.off {
	pointer-events: none;
	display: table;
	width: auto;
	padding: 15px 30px;
	font-weight: 400;
	color: #969696;
	background: #646464;
	box-shadow: none;
}
button.btn:hover {
	filter: brightness(1.2);
	transition: 0.4s;
}
#contents .anitele {
	display: table;
	margin: 50px auto 40px;
	padding: 10px 20px 20px;
	text-align: center;
	font-weight: 700;
	font-size: 20px;
	border: 2px solid #a97e2e;
	background: repeating-linear-gradient(135deg, rgba(169, 126, 46, 0.25), rgba(169, 126, 46, 0.25) 4px, #000 4px, #000 8px);
}
#contents .anitele p:first-child {
	font-size: 150%;
	color: #a97e2e;
}
#contents .anitele ul {
	display: flex;
	justify-content: space-between;
	max-width: 500px;
	margin: 20px auto 0;
}
#contents .anitele ul li {
	width: 48.5%;
}
	@media screen and (max-width: 769px) {
		#contents h1 {
			width: auto;
			max-width: 800px;
			margin: 0 -20px 10px;
		}
		#contents h1.sub {
			width: 50%;
			margin: 0 auto 10px;
		}
		#contents .message {
			min-height: 168px;
			margin-bottom: 40px;
			padding: 12px 15px;
			font-size: 16px;
			text-align: center;
			background: #393635;
		}
		#contents .message::before,
		#contents .message::after {
			width: 120px;
			height: 120px;
		}
		#contents .message::before {
			left: -18px;
			top: -18px;
		}
		#contents .message::after {
			right: -18px;
			bottom: -18px;
		}
		#contents .btn a,
		button.btn {
			width: 100%;
			margin-bottom: 30px;
			padding: 12px 0;
			font-size: 24px;
			box-shadow: 0 0 10px 2px #fff;
		}
		#contents ul.choices {
			margin-bottom: 30px;
			font-size: 50px;
			line-height: 100px;
		}
		#contents ul.choices .choice-btn {
			width: 100px;
			height: 100px;
			display: flex;
			justify-content: center;
			align-items: center;
		}
		#contents ul.choices .choice-btn:focus {
			transform: none;
			transition: none;
			filter: none;
		}
		#contents ul.choices .choice-btn:hover {
			transform: scale(1.15);
			transition: 0.4s;
			filter: brightness(1.8);
		}
		#contents ul.choices li.vs {
			padding: 0 15px;
		}
		button.btn.off {
			width: 100%;
			padding: 15px 0;
		}
		#contents .anitele {
			display: block;
			margin: 30px auto 20px;
			padding: 6px 10px 10px;
			font-size: 16px;
			line-height: 1.5;
			border-width: 1px;
		}
		#contents .anitele p:first-child {
			font-size: 23px;
		}
		#contents .anitele p {
			font-size: 13px;
		}
		#contents .anitele ul {
			margin: 12px auto 0;
		}
	}

/*----------ゲームのルール・注意事項----------*/

.modal_open {
	display: table;
	margin: 0 auto 30px;
	padding: 10px 25px;
	text-align: center;
	font-weight: 700;
	font-size: 22px;
	color: #fff;
	border-radius: 100px;
	background: #0005b6;
	cursor: pointer;
}
.modal_open span {
	padding-left: 28px;
	background: url("../images/modal_btn_icon.svg") no-repeat left center / auto 18px;
}
.modal_open:hover {
	filter: brightness(1.2);
	transition: 0.4s;
}
.modal_wrap input {
	display: none;
}
.modal_overlay {
	display: flex;
	justify-content: center;
	overflow: auto;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9999;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.8);
	opacity: 0;
	transition: opacity 0.5s, transform 0s 0.5s;
	transform: scale(0);
}
.modal_trigger {
	position: absolute;
	width: 100%;
	height: 100%;
}
.modal_content {
	overflow: auto;
	position: relative;
	max-width: 1000px;
	margin: 50px;
	padding: 5px 40px 30px;
	font-size: 18px;
	background: #393635;
	border: 2px solid #a97e2e;
	transition: 0.5s;
}
.modal_content p {
	margin-left: 0 !important;
}
.modal_content p.ttl {
	width: 400px;
	margin: 25px auto 10px !important;
	padding-top: 18px;
	font-size: 200%;
	font-weight: 700;
	text-align: center;
	background: url("../images/modal_deco.svg") no-repeat center top / contain;
}
.modal_content ul li {
	text-indent: -1em;
	padding-left: 1em;
}
.modal_content ul.caution {
	color: #fe7171;
	font-weight: 700;
}
.modal_close {
	position: fixed;
	top: 0;
	right: 0;
	width: 100px;
	height: 100px;
	font-size: 80px;
	line-height: 100px;
	text-align: center;
	text-shadow: none;
	cursor: pointer;
	background: #a97e2e;
}
.modal_wrap input:checked ~ .modal_overlay {
	opacity: 1;
	transform: scale(1);
	transition: opacity 0.5s;
}
	@media screen and (max-width: 769px) {
		.modal_open {
			padding: 10px 15px;
			font-size: 16px;
			line-height: 1.3;
		}
		.modal_open span {
			padding-left: 20px;
			background-size: auto 14px;
		}
		.modal_content {
			margin: 30px;
			padding: 1px 15px 12px;
			font-size: 14px;
		}
		.modal_content p.ttl {
			width: 240px;
			margin: 12px auto 0;
			padding-top: 10px;
			font-size: 140%;
		}
		.modal_close {
			width: 50px;
			height: 50px;
			font-size: 40px;
			font-weight: 700;
			line-height: 50px;
		}
	}

/*----------フッター----------*/

footer ul.share {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	width: 180px;
	margin: 0 auto 25px;
	padding: 10px 15px 15px;
	background: #fff;
	border-radius: 15px;
}
footer ul.share li:first-child {
	width: 100%;
	margin-bottom: 0.25em;
	font-weight: 700;
	font-size: 18px;
	color: #000;
	text-shadow: none;
	text-align: center;
}
footer ul.share li:not(:first-child) {
	width: 60px;
}
footer .copyright {
	text-align: center;
	font-size: 12px;
	line-height: 1.5;
}
@media screen and (max-width: 769px) {
	footer ul.share {
		width: 140px;
		margin: 0 auto 20px;
		padding: 8px 12px 12px;
		border-radius: 12px;
	}
	footer ul.share li:first-child {
		font-size: 16px;
	}
	footer ul.share li:not(:first-child) {
		width: 50px;
	}
	footer .copyright {
		font-size: 11px;
	}
}

