
/*──────────────────────────────────────────
  パネル
──────────────────────────────────────────*/
.l-rules-amendments {
	display: grid;
	grid-template-columns: repeat(4, 210px);
	column-gap: clamp(15px, (100% - 840px) / 3, 3rem);
	row-gap: 35px;
	justify-content: space-evenly;
}
@media (max-width: 960px) {
	.l-rules-amendments {
		grid-template-columns: repeat(3, 210px);
		column-gap: clamp(15px, (100% - 630px) / 2, 3rem);
	}
}
@media (max-width: 680px) {
	.l-rules-amendments {
		grid-template-columns: repeat(2, 210px);
		column-gap: clamp(15px, (100% - 420px) / 1, 3rem);
	}
}
@media (max-width: 440px) {
	.l-rules-amendments {
		grid-template-columns: 210px;
		column-gap: 0;
		justify-content: center;
	}
}

/*──────────────────────────────────────────
  パネルラッパー
──────────────────────────────────────────*/
.p-rules-amendments-wrap {
	position: relative;
	width: 210px;
	margin: 0 auto;
}

/*──────────────────────────────────────────
  アイコン付き
──────────────────────────────────────────*/
.p-amendments-banner {
	grid-column: 1 / -1;
	position: relative;
	margin: 0;
	padding-left: 65px;
	line-height: 42px;
}
.p-amendments-banner::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 50px;
	height: 42px;
	transform: translateY(-50%);
	background-repeat: no-repeat;
	background-size: 50px 42px;
	background-position: left center;
}

.p-amendments-banner--ruleslatest::before {
	background-image: url("/hp/common_image/rules/14_logo2_50px_42px.svg");
}


/*──────────────────────────────────────────
  タイトル（青帯） — h3
──────────────────────────────────────────*/
.l-rules__main .p-rules-amendments-wrap .p-rules-amendments__title {
	background-color: var(--color-nkblue);
	color: #fff;
	margin: 0;
	padding: 8px 12px;
	width: 210px;              /* wrap と同じ幅 */
	box-sizing: border-box;
	clip-path: polygon(
		0 0,
		calc(100% - 20px) 0,
		100% 20px,
		100% 100%,
		0 100%
	);
	font-size: 1.4rem;
}
.l-rules-amendments h3.p-rules-amendments__title::before {
	content: none;
}
.p-rules-amendments {
	position: relative;
	padding: 12px;
	width: 210px;
	height: 280px;
	background-color: #f2f2f2;
	box-sizing: border-box;
}

.p-rules-amendments h3 {
	/* 青帯部：l-rules__main h3 と同様 */
	background-color: var(--color-nkblue);
	color: #fff;
	margin: 0 0 8px;
	padding: 8px 12px;
	clip-path: polygon(
		0 0,
		calc(100% - 20px) 0,
		100% 20px,
		100% 100%,
		0 100%
	);
	font-size: 1.6rem;
}
.l-rules-amendments .p-rules-amendments h3::before {
	content: none;
}

/*──────────────────────────────────────────
  日付リンク一覧
──────────────────────────────────────────*/
.p-rules-amendments-list {
	margin: 0;
	padding: 0 0 0 6px;
	list-style: none;
}
.p-rules-amendments-list li {
	display: relative;
	margin-bottom: 12px;
    line-height: 1.3em;
}
.p-rules-amendments-list li:last-child {
	margin-bottom: 0;
}
.p-rules-amendments-list a {
	display: block;
    padding-left: 0.8em;
    text-indent: -0.8em;

	text-decoration: underline;
	font-size: 1rem;
}
.p-rules-amendments-list a:hover {
	color: var(--color-nkblue);
}
.p-rules-amendments-list li a::before {
	content: "> ";
}
/*──────────────────────────────────────────
  例外パネル：長文リンク用
──────────────────────────────────────────*/
.p-rules-amendments--extra .p-rules-amendments-extra-list {
	margin: 40px 0 12px;
	padding: 0;
}
.p-rules-amendments-extra-list dt {
	font-size: 0.8rem;
	line-height: 1.4;
}
.p-rules-amendments-extra-list a {
	color: var(--color-nkblue);
	text-decoration: underline;
}

/*──────────────────────────────────────────
  改正点の解説ボタン
──────────────────────────────────────────*/
.p-rules-amendments-btn {
	position: absolute;
	bottom: 20px;
	left: 20px;
	right: 20px;
	display: block;
	text-align: center;

}
.p-rules-amendments-btn::after {
    content: none;
    background: none;
    width: 0;
    height: 0;
}

