@charset "UTF-8";
body {
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 1px;
}
.jirei-category {
	background: #ecf5fb;
}
.nmc-section.nmc-archive {
	padding-bottom: 80px;
	margin-bottom: 0;
}
.categoryList--title {
	font-size: 24px;
	font-weight: 600;
	line-height: 1;
	text-align: center;
	margin-bottom:20px;
}
.categoryList{
	display:flex;
	align-items:center;
	gap:30px;
	justify-content:center;
	margin-bottom:60px;
}
.categoryList a {
	display:block;
	color:#fff;
	padding:20px 20px;
	border-radius:5px;
	width:200px;
	text-align:center;
	background:#0074c9;
	transition:0.3s ease;
	line-height: 1;
	box-sizing: border-box;
}
.categoryList a:hover {
	background:#fc6b19;
	opacity:1;
	color:#fff;
}
.categoryList a.active {
	background:#fc6b19;
}
.categoryList a.green {
	background: #0074c9; /* 緑色 */
}
.categoryList a.green:hover,
.categoryList a.green.active {
	background: #fc6b19;
}
.jirei-categorys {
	position: absolute;
	right:15px;
	top:-20px;
}
.jirei-categorys span {
	padding:8px 15px;
	color:#fff;
	border-radius:50px;
	font-size:14px;
}
.jirei-categorys span.orange {
	background:#fc6b19;
}
.jirei-categorys span.blue {
	background:#0074c9;
}
.jirei-category .jirei-ul {
	display: flex;
	flex-wrap: wrap;
}
.jirei-category .jirei-ul .jirei-heading {
	background: #fff;
	border-radius: 4px;
	box-shadow: 5px 5px 0 #e6e6e6;
	font-size: 18px;
	font-weight: 500;
	color: #0074c9;
	line-height: 1.3;
	margin-bottom: 20px;
	padding: 15px 25px;
	position: relative;
}
.jirei-category .jirei-ul .jirei-heading .jirei-arrow {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	bottom: -16px;
	max-width: 24px;
}
.jirei-category .q-icon {
	position: absolute;
	width: 10px;
	top: 0px;
	left: 10px;
}
.thumbnail {
	width: 100%;
	margin-bottom: 20px;
}
.thumbnail iframe {
	width:100%;
	height:180px;
}
.jirei-category .jirei-ul .jirei-title {
	line-height: 1.3;
	position: relative;
	padding-left: 10px;
	padding-bottom: 5px;
}
.jirei-category .jirei-ul .jirei-title::before {
	position: absolute;
	content: "";
	background: #fff;
	left: 0;
	top: 0;
	width: 15px;
	height: 100%;
}
.jirei-category .jirei-ul .jirei-title .text1 {
	font-family: "Noto Sans JP", serif;
	font-weight: 500;
	font-size: 20px;
	color: #0074c9;
	margin-bottom: 7px;
	position: relative;
	z-index: 2;
}
.jirei-category .jirei-ul .jirei-title .text2 {
	color: #666;
	font-size: 18px;
	font-family: "Noto Sans JP", serif;
	font-weight: 400;
	position: relative;
	z-index: 2;
}

@media screen and (min-width: 768px) {
	.jirei-category .jirei-ul li {
		width: calc(33.3333% - 30px * 2 / 3);
		margin-right: 30px;
	}
	.jirei-category .jirei-ul li:nth-child(3n) {
		margin-right: 0;
	}
	.jirei-category .jirei-ul .jirei-heading {
		font-size: 19px;
	}
}

@media screen and (max-width: 767px) {
	body {
		font-size: 14px;
	}
	.nmc-section.nmc-archive {
		padding-bottom: 40px;
	}
	.thumbnail iframe {
		width:100%;
		height:220px;
	}
	.main-movie iframe{
		height:300px;
	}
	.categoryList{
		display:flex;
		align-items:center;
		gap:10px;
		justify-content:center;
		margin-bottom:60px;
		flex-wrap:wrap;
	}
	.categoryList a {
		display:block;
		color:#fff;
		padding:20px 10px;
		border-radius:5px;
		width:180px;
		text-align:center;
	}
	.jirei-category .jirei-ul li:not(:last-child) {
		margin-bottom: 50px;
	}
}

/* 🔽 ポップアップスタイル */
.movie__popup {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.8);
	z-index: 9999;
	justify-content: center;
	align-items: center;
	padding: 20px;
}
.movie__popup.is-active {
	display: flex;
}
.movie__popup-inner {
	position: relative;
	background: #000;
	max-width: 900px;
	width: 100%;
	aspect-ratio: 16/9;
	box-shadow: 0 0 20px rgba(0,0,0,0.5);
}
.movie__popup-close {
	position: absolute;
	top: -40px;
	right: 0;
	background: none;
	border: none;
	color: #fff;
	font-size: 32px;
	cursor: pointer;
}
.movie__popup-content {
	height:100%;
}
.movie__popup-content iframe {
	width: 100%;
	height: 100%;
}
.movie__thumb iframe {
	pointer-events:none;
	position: relative;
	vertical-align: bottom;
}