@charset "utf-8";

/* ボタン */

#map_button a,
#finish_button a,
#join_button a {
	display: block;
	text-decoration: none;
}

#map_hover {
	background-color: rgba(255, 255, 255, 0);
	transition-property: background-color;
	transition-duration: 0.5s;
}

#map_button:hover #map_hover {
	background-color: rgba(255, 255, 255, 0.4);
}

#join_button a {
	background-color: rgba(255, 255, 255, 1);
	transition-property: background-color;
	transition-duration: 0.5s;
}

#join_button:hover a {
	background-color: rgba(200, 200, 200, 1);
}

/* タイトル */

#event-title {
	font-size: 4.5em;
	margin: 20px auto 50px auto;
	text-align: center;
	line-height: 1.5em;
}

/* サムネイル */

#event-thum {
	width: 47%;
	overflow: hidden;
}

#event-thum img {
	width: 100%;
}

/* イベント情報・ */

#event-details {
	width: calc(90% - 2em);
	margin: -12.5% -20%;
	background-color: #cccc33;
	border-radius: 1em;
	padding: 1em;
	box-sizing: border-box;
	font-size: 33px;
	font-weight: 700;
	position: relative;
	transform: scale(0.5);
}

#event-details table {
	width: 100%;
	height: 8em;
}

#event-details tr td {
	width: calc( 100% - 6.5em );
}

#event-details tr td:first-of-type {
	width: 4.5em;
	/* -moz-text-align-last: justify; */
	text-align-last: justify;
	text-justify: inter-ideograph;
}

#event-details tr td:nth-of-type(n+2) {
	text-align: left;
}

/* 地図ボタン */

#map_button {
	width: 4em;
	text-align: center;
	font-size: 36px;
	background-color: #ff3838;
	border-radius: 0.3em;
	position: absolute;
	bottom: 40%;
	right: 8%;
}

#map_button a {
	color: #ffffff;
	font-weight: 600;
	line-height: 2em;
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0;
}

#map_hover {
	border-radius: 0.3em;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}



/* イベント参加ボタン */

#finish_button, #join_button {
	width: 15em;
	text-align: center;
	font-size: 42px;
	line-height: 2.5em;
	margin: 2em auto 0;
	border-radius: 0.5em;
	font-weight: 800;
}

#join_button a {
	color: #000000;
	border-radius: 0.5em;
}

#finish_button a {
	color: #ffffff;
	border-radius: 0.5em;
	background-color: #999999;
}

/* イベント詳細 */

#event-text {
	width: 90%;
	padding: 2vw 5% 5vw 5%;
	text-align: left;
}

#event-text p {
	font-size: 2em;
}

#event-text h2,
#event-text h3,
#event-text h4 {
	font-size: 3.5em;
	line-height: 2em;
	margin: 30px 0;
	color: #dc418c;
}

#event-text h3 {
	border-top: 0.17em solid #cc9900;;
	border-bottom: 0.04em solid #cc9900;;
}

#event-text p,
#event-text li {
	line-height: 1.8em;
}

#event-text p {
	margin-bottom: 1em;
}

#event-text * strong {
	line-height: 2em;
}

/* PDF */
#pdf-image {
	display: block;
	width: 700px;
	height: 980px;
	margin: 50px auto;
}

/* ページネーション */

.hidden-button {
	visibility: hidden;
}

/* ページ幅上限 */

@media (max-width: 1024px) {
	#event-details {
		font-size: 3.5em;
	}

	#map_button {
		font-size: 1.05em;
	}

	#finish_button, #join_button {
		font-size: 1.2em;
	}
}

/* 非レスポンシブ */

@media (min-width: 769px) {
	#event-flex {
		display: flex;
		justify-content: space-around;
	}
}

/* レスポンシブ */

@media (max-width: 768px) {
	#event-title {
		font-size: 5em;
	}

	#event-thum {
		width: 100%;
	}

	#event-details {
		width: 200%;
		height: 15em;
		margin-left: -50%;
		font-size: 9em;
	}

	#map_button {
		font-size: 1.1em;

	}

	#finish_button, #join_button {
		font-size: 1.2em;
	}

	#event-text {
		font-size: 3em;
	}

	#event-text h2,
	#event-text h3,
	#event-text h4 {
		font-size: 2em;
		text-align: center;
	}

	#event-text p {
		font-size: 1.2em;
	}

	#pdf-image {
		width: 90vw;
		height: 126.5vw;
		margin: 5vw auto;
	}

	.hidden-button {
		display: none;
	}

	#c6-border {
		margin-top: 5em;
	}
}
