@charset "utf-8";
/* 入り口ページ（/index.php）用 */
*, *::before, *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}
body {
	font-family: 'Noto Sans JP', sans-serif;
	text-align: center;
	color: #333;
	line-height: 1.8;
	background: #f6f6f2;
}
img {
	max-width: 100%;
	height: auto;
	vertical-align: bottom;
}
a {
	color: #333;
	text-decoration: none;
}

/* -- header -- */
header {
	padding: 48px 20px 40px;
}
header h1 {
	font-size: 1.75rem;
	line-height: 1.6;
	letter-spacing: .08em;
}
header p {
	margin-top: 8px;
	font-size: .875rem;
	color: #666;
}

/* -- 入り口パネル -- */
main {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	max-width: 1200px;
	margin: auto;
	padding: 0 20px;
}
main a {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-bottom: 40px;
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(0, 0, 0, .08);
	transition: transform .3s, box-shadow .3s;
}
main a:hover {
	transform: translateY(-6px);
	box-shadow: 0 12px 32px rgba(0, 0, 0, .16);
}
main a > img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	transition: transform .6s;
}
main a:hover > img {
	transform: scale(1.04);
}
.jpd > img {
	object-position: left center;
}
main h2 {
	position: relative;
	width: 100%;
	padding: 28px 20px 0;
	background: #fff;
	line-height: 1;
}
main h2 img {
	width: 300px;
}
main p {
	padding: 16px 20px 0;
	font-size: .938rem;
}
main p strong {
	display: block;
	font-size: 1.25rem;
	line-height: 1.6;
}
main figure {
	display: flex;
	align-items: center;
	height: 200px;
	margin: 16px 0 24px;
	padding: 0 20px;
}
main figure img {
	max-height: 100%;
	width: auto;
}
main span {
	position: relative;
	width: 80%;
	max-width: 360px;
	margin-top: auto;
	padding: 14px 40px;
	border-radius: 100px;
	color: #fff;
	font-weight: 700;
	line-height: 1.6;
}
main span::after {
	content: '';
	position: absolute;
	top: 50%;
	right: 24px;
	width: 8px;
	height: 8px;
	border-top: 2px solid #fff;
	border-right: 2px solid #fff;
	transform: translateY(-50%) rotate(45deg);
}
.jpd span {
	background: #e92f28;
}
.nichi span {
	background: #e69200;
}

/* -- footer -- */
footer {
	padding: 56px 20px;
	font-size: .813rem;
}

/* -- SP -- */
@media screen and (max-width: 767px) {
	header {
		padding: 32px 16px 24px;
	}
	/* font-sizeは375px幅基準のvw指定 */
	body {
		font-size: 4.27vw;
	}
	header h1 {
		font-size: 5.33vw;
	}
	header p {
		font-size: 3.73vw;
	}
	header h1 span {
		display: block;
		height: 0;
		overflow: hidden;
	}
	main {
		grid-template-columns: 1fr;
		gap: 24px;
		padding: 0 16px;
	}
	main a {
		padding-bottom: 28px;
	}
	main h2 img {
		width: 240px;
	}
	main p {
		font-size: 4vw;
	}
	main p strong {
		font-size: 4.53vw;
	}
	main figure {
		height: 140px;
	}
	footer {
		padding: 40px 16px;
		font-size: 3.47vw;
	}
}
