section {
	max-width: 1000px;
	margin: 0 auto;
}

section h2 {
	padding: 1em 0;
	background: #e8f1f7;
	font-family: 'Shin Go Light';
	line-height: 1;
}

section .body > div {
	box-sizing: border-box;
}

section .category {
	padding: 0.5em 0;
	font-family: 'Shin Go Regular';
	line-height: 1;
	background-color: #63b500;
	color: white;
}
section .event .category {
	background-color: #006ccc;
}

section h3 {
	position: relative;
	margin: 0;
}

section .text {
	display: block;
	position: absolute;
	left: 0;
	top: 50%;
	width: 100%;
	padding: 0.5em 0;
	-webkit-transform: translate(0, -50%);
	transform: translate(0, -50%);
	background: rgba(0,0,0,0.4);
	color: white;
	line-height: 1.3;
	text-shadow: 0 0 8px black;
}

section .shop {
	font-family: 'Shin Go Regular';
}

section p {
	text-align: justify;
}

section .link {
	border: 2px solid #e85500;
	font-size: 120%;
}
section .link a {
	display: block;
	padding: 1em 0;
	color: #e85500;
	font-family: 'Shin Go Regular';
	line-height: 1;
	text-decoration: none;
}

section#event .link {
	border-color: #549900;
}
section#event .link a,
section .shop {
	color: #549900;
}

section#event .event .link {
	border-color: #005fb3;
}
section#event .event .link a,
section .event .shop {
	color: #005fb3;
}

@media all and (max-width: 640px) {
	section {
		padding: 0 1rem;
	}
	section#event {
		margin-top: 3em;
	}
	section h2 {
		font-size: 125%;
	}
	section h3 .text {
		font-size: 120%;
	}

	section .body > div {
		margin-top: 2em;
	}
	section .body > div:nth-of-type(n+2) {
		border-top: 1px solid #ccc;
		padding-top: 2em;
	}
	section > p {
		font-weight: bold;
	}
	section > p br {
		display: none;
	}
}

@media all and (min-width: 641px) {
	section h2 {
		font-size: 140%;
	}

	section#event {
		margin-top: 3em;
	}
	section .body {
		text-align: left;
	}
	section .body > div {
		display: inline-block;
		vertical-align: top;
		width: calc(100% / 3);
		padding: 1em;
		text-align: center;
	}
	section .body > div:nth-of-type(n+4) {
		margin-top: 2em;
	}
	section .body > div:not(:nth-of-type(3n)) {
		border-right: 1px solid #ccc;
	}
	section p {
		font-size: 90%;	}

	section > p {
		margin: 1.5em 0;
		text-align: center;
		font-size: 105%;
	}

}

/* ==================== イベントリンク  ====================*/

#eventLink {
	border-top: 1px solid #ccc;
	color: #005fb3;
	font-family: 'Shin Go Regular';
}
#eventLink a {
	border: 2px solid #005fb3;
	margin: 1em auto 0;
	padding: 1em;
	color: inherit;
	line-height: 1;
	text-decoration: none;
}
#eventLink a i {
	-webkit-transform: translate(0, -10%);
	transform: translate(0, -10%);
}

@media all and (max-width: 640px) {
	#eventLink {
		margin: 4rem 1rem 0;
		padding: 1rem 0;
	}
	#eventLink p {
		text-align: justify;
	}
	#eventLink p br:nth-of-type(1) {
		display: none;
	}
	#eventLink a {
		display: block;
		box-sizing: border-box;
		width: 80%;
		font-size: 120%;
		text-align: center;
	}
}
@media all and (min-width: 641px) {
	#eventLink {
		margin: 3rem auto 0;
		padding-top: 1rem;
		width: 50rem;
	}
	#eventLink a {
		display: inline-block;
		font-size: 140%;
	}
}
