/* 議案専用スタイル */

:root {
	--gian-accent: #0097D7;
}

/* 共通ボタン */
.gianBtn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.35em;
	min-width: 160px;
	padding: 0.75em 2.5em;
	border: none;
	border-radius: 999px;
	background: var(--gian-accent);
	color: #fff !important;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
	text-align: center;
	text-decoration: none !important;
	cursor: pointer;
	box-sizing: border-box;
}

.gianBtn:hover {
	opacity: 0.85;
}

.gianBtnDark {
	background: #111;
}

/* 共通帯見出し */
.gianLabel,
.gianSearchTitle {
	margin: 0;
	padding: 12px 16px;
	background: var(--gian-accent);
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.04em;
}

/* ========== 議案詳細レイアウト ========== */
#gianSingle {
	max-width: 1200px;
	margin: 0 auto;
	padding: 40px 5% 60px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
}

#gianSingle .gianSidebar {
	order: 2;
	width: 100%;
	margin-top: 40px;
}

#gianSingle #gianArticle {
	order: 1;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

#gianSingle .gianSidebar .gianSearch {
	margin-bottom: 25px;
}

#gianSingle .gianSidebar .gianSearchForm {
	grid-template-columns: 1fr;
	padding: 20px 16px;
}

#gianSingle .gianSidebar .gianBtn {
	width: 100%;
	min-width: 0;
}

.gianSidebarAwards {
	--awards-gold: #c9a227;
	--awards-gold-light: #e8d48b;
	--awards-navy: #0a4a6e;
	margin: 0;
}

.gianSidebarAwardsLink {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0;
	padding: 22px 14px 18px;
	color: #fff !important;
	text-align: center;
	text-decoration: none !important;
	background:
		linear-gradient(135deg, rgba(201, 162, 39, 0.18) 0%, transparent 42%),
		linear-gradient(160deg, #0a5f8c 0%, #0097d7 48%, #066a9e 100%);
	box-sizing: border-box;
	overflow: hidden;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.gianSidebarAwardsLink::before,
.gianSidebarAwardsLink::after {
	content: "";
	position: absolute;
	left: 50%;
	width: min(160px, 70%);
	height: 1px;
	background: linear-gradient(
		90deg,
		transparent 0%,
		var(--awards-gold-light) 50%,
		transparent 100%
	);
	transform: translateX(-50%);
	pointer-events: none;
}

.gianSidebarAwardsLink::before {
	top: 10px;
}

.gianSidebarAwardsLink::after {
	bottom: 10px;
}

.gianSidebarAwardsLink:hover {
	opacity: 0.92;
	transform: translateY(-1px);
	color: #fff !important;
	text-decoration: none !important;
}

.gianSidebarAwardsLink:focus-visible {
	outline: 2px solid var(--awards-gold-light);
	outline-offset: 3px;
}

.gianSidebarAwardsLabel {
	position: relative;
	z-index: 1;
	display: inline-block;
	margin: 0 0 12px;
	padding: 0 0 8px;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.18em;
}

.gianSidebarAwardsLabel::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 28px;
	height: 2px;
	background: var(--awards-gold);
	transform: translateX(-50%);
}

.gianSidebarAwardsEn {
	position: relative;
	z-index: 1;
	display: block;
	margin: 0 0 10px;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.06em;
	text-shadow: 0 1px 8px rgba(0, 0, 0, 0.18);
}

.gianSidebarAwardsCta {
	position: relative;
	z-index: 1;
	display: inline-block;
	margin: 0;
	padding: 0.3em 0.9em;
	border: 1px solid rgba(255, 255, 255, 0.7);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.06em;
}

@media screen and (min-width: 768px) and (max-width: 1180px) {
	#gianSingle .gianSidebar .gianSearchForm {
		grid-template-columns: 1fr 1fr;
		padding: 24px;
	}

	#gianSingle .gianSidebar .gianSearchTitle {
		padding: 14px 24px;
		font-size: 18px;
	}
}

@media screen and (min-width: 1181px) {
	#gianSingle {
		display: grid;
		grid-template-columns: 280px minmax(0, 1fr);
		column-gap: 40px;
		align-items: start;
	}

	#gianSingle .gianSidebar {
		order: unset;
		margin-top: 0;
		width: auto;
	}

	#gianSingle #gianArticle {
		order: unset;
	}

	#gianSingle .gianSidebar .gianSearchForm {
		padding: 16px;
	}
}

#gianArticle {
	--gian-label-width: 20%;
	--gian-value-width: 80%;
	--gian-cell-pad-y: 0.85em;
	--gian-cell-pad-x: 1em;
	max-width: 1000px;
	margin: 0 auto;
	padding: 40px 20px 60px;
	box-sizing: border-box;
}

.gianLabel {
	margin-bottom: 16px;
}

.gianTitle {
	margin: 0 0 0.5em;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.4;
}

.gianCategories {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 28px;
	padding: 0;
	list-style: none;
}

.gianCategories li {
	padding: 0.25em 0.75em;
	background: #f0f0f0;
	font-size: 13px;
	line-height: 1.4;
}

.gianCategories li.gianCategoriesAward {
	background: rgba(0, 151, 215, 0.12);
	color: #006a99;
	font-weight: 700;
}

.gianBack {
	margin: 0 0 24px;
	text-align: right;
}

.gianBack a:not(.gianBtn) {
	display: inline-flex;
	align-items: center;
	gap: 0.35em;
	color: var(--gian-accent);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
	text-decoration: none;
}

.gianBack a:not(.gianBtn)::before,
.gianBack .gianBtn::before {
	content: "";
	display: inline-block;
	width: 0.45em;
	height: 0.45em;
	border-left: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
}

.gianBack a:not(.gianBtn):hover {
	text-decoration: underline;
}

.gianBackBottom {
	margin: 40px 0 0;
	text-align: center;
}

.gianAward {
	margin: 0 0 40px;
}

.gianSectionTitle {
	position: relative;
	margin: 0 0 24px;
	padding: 0 1.25em 0 1.75em;
	border: 2px solid #ddd;
	background: #fff;
	color: #000;
	font-size: 20px;
	font-weight: 700;
	letter-spacing: 0.1em;
	line-height: 70px;
	height: 70px;
	box-sizing: border-box;
}

.gianSectionTitle::before {
	content: "";
	position: absolute;
	top: -2px;
	left: -2px;
	width: 13px;
	height: calc(100% + 4px);
	background: var(--gian-accent);
}

.gianSectionSubtitle {
	margin: 8px 0 20px;
	padding: 0 0 0 1em;
	border-left: 4px solid var(--gian-accent);
	color: #333;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.4;
}

.gianAwardTable {
	width: 100%;
	margin: 0 0 30px;
	border-collapse: collapse;
	table-layout: fixed;
	color: #000;
	font-size: 14px;
	line-height: 1.7;
}

.gianAwardTable col.gianColLabel {
	width: var(--gian-label-width);
}

.gianAwardTable col.gianColValue {
	width: var(--gian-value-width);
}

.gianAwardTable th,
.gianAwardTable td {
	padding: var(--gian-cell-pad-y) var(--gian-cell-pad-x);
	border: 1px solid #ccc;
	text-align: left;
	vertical-align: middle;
	font-weight: 400;
	box-sizing: border-box;
}

.gianAwardTable th {
	width: var(--gian-label-width);
	background: #eee;
	white-space: normal;
	word-break: break-word;
}

.gianAwardTable td {
	width: var(--gian-value-width);
	background: #fff;
	word-break: break-word;
}

.gianAwardTable a {
	color: #00698c;
	text-decoration: underline;
}

.gianAwardTable .gianPairCell {
	width: 100%;
	padding: 0;
}

.gianPair {
	display: flex;
	width: 100%;
}

.gianPairHalf {
	display: flex;
	width: 50%;
	min-width: 0;
	box-sizing: border-box;
}

.gianPairHalf + .gianPairHalf {
	border-left: 1px solid #ccc;
}

.gianPairLabel,
.gianPairValue {
	padding: var(--gian-cell-pad-y) var(--gian-cell-pad-x);
	box-sizing: border-box;
}

.gianPairLabel {
	flex: 0 0 40%;
	width: 40%;
	background: #eee;
	border-right: 1px solid #ccc;
	white-space: normal;
	word-break: break-word;
}

.gianPairValue {
	flex: 1 1 60%;
	width: 60%;
	background: #fff;
	word-break: break-word;
}

.gianFileLink {
	display: inline-block;
	margin-right: 12px;
}

.gianPublicInfo {
	margin: 0 0 28px;
}

.gianLoginCta {
	margin: 0 0 40px;
	padding: 28px 20px;
	border: 1px solid #ddd;
	text-align: center;
}

.gianLoginCtaMsg {
	margin: 0 0 0.75em;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.6;
}

.gianLoginCtaAction {
	margin: 0;
}

#gianArticle .post_content {
	margin-top: 0;
	font-size: 16px;
	line-height: 1.8;
}

/* ========== 議案ライブラリー ========== */
#gianArchive {
	max-width: 860px;
	margin: 0 auto;
	padding: 40px 0 60px;
	box-sizing: border-box;
}

.gianArchiveTitle {
	margin: 0 0 28px;
	padding: 0;
	color: #111;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.04em;
}

.gianSearch {
	margin: 0 0 48px;
	padding: 0;
	border: 1px solid #ddd;
	background: #f5f5f5;
	overflow: hidden;
}

/*
 * 青帯見出し
 * フリースペース経由だと TCD Classic Editor の
 * `.tcdce-body h2` に負けるため、より具体的に指定する
 */
.gianSearch .gianSearchTitle,
.tcdce-body .gianSearch .gianSearchTitle {
	position: static;
	display: block;
	box-sizing: border-box;
	width: auto;
	max-width: none;
	margin: 0;
	margin-inline: 0;
	padding: 14px 24px;
	border: none;
	border-image: none;
	background: var(--gian-accent);
	color: #fff;
	font-family: inherit;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.04em;
	text-align: left;
}

.tcdce-body .gianSearch .gianSearchTitle::before {
	content: none;
	display: none;
}

.tcdce-body .gianSearch * + .gianSearchTitle,
.tcdce-body .gianSearch .gianSearchTitle:has(+ *) {
	margin-top: 0;
	margin-bottom: 0;
}

.gianSearchForm {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px 24px;
	margin: 0;
	padding: 24px;
}

.gianSearchField {
	margin: 0;
	min-width: 0;
}

.gianSearchField:has(#gianQ) {
	grid-column: 1 / -1;
}

.gianSearchFieldDepartments,
.gianSearchFieldKeyword {
	grid-column: 1 / -1;
}

.gianSearchFieldDepartments {
	margin: 0;
	padding: 0;
	border: none;
	min-width: 0;
}

.gianSearchFieldDepartments legend {
	display: block;
	float: left;
	width: 100%;
	margin: 0 0 10px;
	padding: 0;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
}

.gianDeptChecks {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px 20px;
	clear: both;
	margin: 0;
	padding: 14px 16px;
	list-style: none;
	box-sizing: border-box;
}

.gianDeptChecks li {
	margin: 0;
	min-width: 0;
}

.gianDeptChecks label {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 0;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.45;
	cursor: pointer;
}

.gianDeptChecks input {
	flex: 0 0 auto;
	width: auto;
	margin: 0.2em 0 0;
}

.gianDeptChecksEmpty {
	margin: 0;
	color: #666;
	font-size: 14px;
	line-height: 1.5;
}

.gianSearchField label {
	display: block;
	margin: 0 0 6px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
}

.gianSearchField select,
.gianSearchField input[type="text"] {
	width: 100%;
	box-sizing: border-box;
	padding: 0.7em 0.85em;
	border: 1px solid #ccc;
	border-radius: 4px;
	background: #fff;
	font-size: 15px;
	line-height: 1.4;
}

.gianSearchField select:focus,
.gianSearchField input[type="text"]:focus {
	outline: none;
	border-color: var(--gian-accent);
	box-shadow: 0 0 0 2px rgba(0, 151, 215, 0.2);
}

.gianSearchActions {
	grid-column: 1 / -1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	margin-top: 8px;
}

.gianSearchReset {
	font-size: 14px;
	color: var(--gian-accent);
	text-decoration: underline;
}

.gianResultsTitle {
	margin: 0 0 20px;
	padding: 0 0 0 12px;
	border-left: 4px solid var(--gian-accent);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.4;
}

.gianResultsHeadingRow {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px 16px;
	margin-bottom: 10px;
}

.gianResultsHeadingRow .gianResultsTitle {
	margin-bottom: 0;
	flex: 1 1 auto;
	min-width: 0;
}

.gianResultsTopNav {
	margin: 0;
	flex: 0 0 auto;
	font-size: 14px;
	line-height: 1.4;
}

.gianResultsTopNav a {
	color: var(--gian-accent);
	text-decoration: underline;
}

.gianResultsTopNav a:hover {
	opacity: 0.85;
}

.gianResultsCount,
.gianAwardsCount {
	margin: 0 0 18px;
	color: #444;
	font-size: 14px;
	line-height: 1.5;
}

.gianResultsCount span,
.gianAwardsCount span {
	margin: 0 0.15em;
	color: #c45c26;
	font-size: 1.15em;
	font-weight: 700;
}

.gianResultsList {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid #ddd;
}

.gianResultsItem {
	border-bottom: 1px solid #ddd;
}

.gianResultsLink {
	display: block;
	padding: 16px 4px;
	color: inherit;
	text-decoration: none;
}

.gianResultsLink:hover .gianResultsName {
	color: var(--gian-accent);
	text-decoration: underline;
}

.gianResultsName {
	display: block;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.5;
}

.gianResultsLom {
	display: block;
	margin-top: 4px;
	font-size: 13px;
	color: #555;
	line-height: 1.5;
}

.gianResultsMetaRow {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 8px;
}

.gianResultsYear {
	color: #555;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.4;
}

.gianResultsCats {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 6px;
}

.gianResultsCat {
	display: inline-block;
	padding: 0.2em 0.7em;
	background: #f0f0f0;
	color: #444;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.4;
}

.gianResultsEmpty {
	margin: 0;
	padding: 24px 0;
	color: #666;
	line-height: 1.6;
}

.gianPagination {
	margin-top: 28px;
}

.gianPagination .screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.gianPagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
}

.gianPagination .page-numbers {
	display: inline-block;
	min-width: 36px;
	padding: 8px 10px;
	border: 1px solid #ddd;
	background: #fff;
	color: #333;
	font-size: 14px;
	text-align: center;
	text-decoration: none;
	box-sizing: border-box;
}

.gianPagination .page-numbers.current,
.gianPagination .page-numbers:hover {
	border-color: var(--gian-accent);
	background: var(--gian-accent);
	color: #fff;
}

/* ========== アワードライブラリー ========== */
#gianAwards,
.gianAwardsBanner {
	--awards-gold: #c9a227;
	--awards-gold-light: #e8d48b;
	--awards-navy: #0a4a6e;
}

#gianAwards {
	max-width: 1080px;
	margin: 0 auto;
	padding: 0 20px 60px;
	box-sizing: border-box;
}

.gianAwardsHeader {
	margin: 0 -20px 40px;
}

/* TOP等のフリースペース用導線バナー */
.gianAwardsBanner {
	margin: 0;
}

.gianAwardsBanner .gianAwardsTitle {
	/* page-awards の h1 相当を p で出すため、見出しリセットを揃える */
	font-family: inherit;
}

.gianAwardsBanner .gianAwardsMvLink {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.gianAwardsBannerCta {
	position: relative;
	z-index: 1;
	display: inline-block;
	margin: 18px 0 0;
	padding: 0.35em 1em;
	border: 1px solid rgba(255, 255, 255, 0.7);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.06em;
}

.gianAwardsMv {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 52px 24px 48px;
	text-align: center;
	color: #fff;
	background:
		linear-gradient(135deg, rgba(201, 162, 39, 0.18) 0%, transparent 42%),
		linear-gradient(160deg, #0a5f8c 0%, #0097d7 48%, #066a9e 100%);
	overflow: hidden;
}

.gianAwardsMvLink {
	position: relative;
	z-index: 1;
	display: block;
	color: inherit;
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.gianAwardsMvLink:hover {
	opacity: 0.88;
	color: inherit;
	text-decoration: none;
}

.gianAwardsMvLink:focus-visible {
	outline: 2px solid var(--awards-gold-light);
	outline-offset: 6px;
}

.gianAwardsMv::before,
.gianAwardsMv::after {
	content: "";
	position: absolute;
	left: 50%;
	width: min(280px, 70%);
	height: 1px;
	background: linear-gradient(
		90deg,
		transparent 0%,
		var(--awards-gold-light) 50%,
		transparent 100%
	);
	transform: translateX(-50%);
	pointer-events: none;
}

.gianAwardsMv::before {
	top: 18px;
}

.gianAwardsMv::after {
	bottom: 18px;
}

.gianAwardsLabel {
	position: relative;
	z-index: 1;
	display: inline-block;
	margin: 0 0 18px;
	padding: 0 0 10px;
	background: none;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.22em;
}

.gianAwardsLabel::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 40px;
	height: 2px;
	background: var(--awards-gold);
	transform: translateX(-50%);
}

.gianAwardsTitle {
	position: relative;
	z-index: 1;
	margin: 0;
	color: #fff;
	font-size: 30px;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: 0.06em;
	text-shadow: 0 1px 12px rgba(0, 0, 0, 0.18);
}

.gianAwardsYearNav {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 24px 20px 0;
	font-size: 14px;
	line-height: 1.5;
}

.gianAwardsYearLabel {
	margin: 0;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: #555;
}

.gianAwardsYearList {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.gianAwardsYearItem {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 7.5em;
	padding: 0.65em 1.35em;
	border: 2px solid var(--gian-accent);
	border-radius: 999px;
	background: #fff;
	color: var(--gian-accent);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
	text-align: center;
	text-decoration: none;
	box-sizing: border-box;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

a.gianAwardsYearItem:hover {
	background: rgba(0, 151, 215, 0.08);
	box-shadow: 0 2px 8px rgba(0, 151, 215, 0.18);
}

.gianAwardsYearItem.isCurrent {
	border-color: var(--awards-navy);
	background: var(--awards-navy);
	color: #fff;
	box-shadow: 0 2px 10px rgba(10, 74, 110, 0.28);
}

.gianAwardsIntro {
	margin: 30px 0 40px;
	padding: 30px;
	border: 1px solid #ddd;
	color: #333;
	font-size: 15px;
	line-height: 1.85;
	box-sizing: border-box;
}

.gianAwardsIntro > *:first-child {
	margin-top: 0;
}

.gianAwardsIntro > *:last-child {
	margin-bottom: 0;
}

.gianAwardsIntro h1,
.gianAwardsIntro h2,
.gianAwardsIntro h3,
.gianAwardsIntro h4,
.gianAwardsIntro h5,
.gianAwardsIntro h6 {
	margin: 1.5em 0 0.85em;
	padding: 0 0 0.55em;
	border-bottom: 1px solid #d7e0e8;
	color: var(--awards-navy);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.02em;
}

.gianAwardsIntro h1:first-child,
.gianAwardsIntro h2:first-child,
.gianAwardsIntro h3:first-child,
.gianAwardsIntro h4:first-child {
	margin-top: 0;
}

.gianAwardsIntro p {
	margin: 0 0 0.9em;
}

.gianAwardsIntro p.has-text-align-center,
.gianAwardsIntro [style*="text-align: center"],
.gianAwardsIntro [style*="text-align:center"] {
	color: #222;
	font-weight: 700;
	line-height: 1.7;
}

.gianAwardsIntro strong,
.gianAwardsIntro b {
	font-weight: 700;
	color: #222;
}

.gianAwardsIntro a {
	color: var(--gian-accent);
	text-decoration: underline;
}

.gianAwardsIntro ul,
.gianAwardsIntro ol {
	margin: 1em 0;
	padding: 16px 18px;
	list-style: none;
	background: #fff;
	border: 1px solid #e5eaf0;
}

.gianAwardsIntro li {
	position: relative;
	margin: 0 0 0.7em;
	padding: 0 0 0 1.1em;
	line-height: 1.75;
}

.gianAwardsIntro li:last-child {
	margin-bottom: 0;
}

.gianAwardsIntro ul > li::before {
	content: "";
	position: absolute;
	top: 0.7em;
	left: 0;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--gian-accent);
}

.gianAwardsIntro ol {
	counter-reset: awards-intro;
}

.gianAwardsIntro ol > li {
	counter-increment: awards-intro;
}

.gianAwardsIntro ol > li::before {
	content: counter(awards-intro) ".";
	position: absolute;
	left: 0;
	color: var(--gian-accent);
	font-weight: 700;
}

.gianSearchFieldCheckbox {
	grid-column: 1 / -1;
	display: flex;
	align-items: center;
}

.gianSearchFieldCheckbox label {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-weight: 400;
	cursor: pointer;
}

.gianSearchFieldCheckbox input {
	width: auto;
	margin: 0;
}

/* 再検索アコーディオン（議案検索結果・アワード一覧共通） */
.gianSearchCollapsible,
.gianAwardsSearchCollapsible {
	margin-bottom: 24px;
	border: none;
	background: transparent;
	overflow: visible;
}

.gianSearchDetails,
.gianAwardsSearchDetails {
	margin: 0;
}

.gianSearchSummary,
.gianAwardsSearchSummary {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	padding: 0;
	cursor: pointer;
	list-style: none;
}

.gianSearchSummary::-webkit-details-marker,
.gianAwardsSearchSummary::-webkit-details-marker {
	display: none;
}

.gianResearchBtn,
.gianAwardsResearchBtn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-width: 120px;
	padding: 0.7em 1.25em;
	border: none;
	border-radius: 4px;
	background: var(--awards-navy, #0a4a6e);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.04em;
	user-select: none;
	transition: background 0.2s ease, opacity 0.2s ease;
}

.gianSearchSummary:hover .gianResearchBtn,
.gianAwardsSearchSummary:hover .gianAwardsResearchBtn {
	background: #083a57;
}

.gianResearchIcon,
.gianAwardsResearchIcon {
	display: inline-block;
	width: 0.45em;
	height: 0.45em;
	border-right: 2px solid #fff;
	border-bottom: 2px solid #fff;
	transform: translateY(-15%) rotate(45deg);
	transition: transform 0.2s ease;
}

.gianSearchDetails[open] .gianResearchIcon,
.gianAwardsSearchDetails[open] .gianAwardsResearchIcon {
	transform: translateY(20%) rotate(225deg);
}

.gianSearchSummary:focus-visible .gianResearchBtn,
.gianAwardsSearchSummary:focus-visible .gianAwardsResearchBtn {
	outline: 2px solid var(--gian-accent);
	outline-offset: 2px;
}

.gianSearchPanel,
.gianAwardsSearchPanel {
	margin-top: 12px;
	border: 1px solid #ddd;
	background: #f5f5f5;
	overflow: hidden;
}

.gianSearchPanelTitle,
.gianAwardsSearchPanelTitle {
	margin: 0;
	padding: 12px 16px;
	background: var(--gian-accent);
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
}

.gianSearchCollapsible .gianSearchForm,
.gianAwardsSearchCollapsible .gianSearchForm {
	background: #f5f5f5;
}

.gianAwardBadge {
	display: inline-block;
	flex: 0 0 auto;
	padding: 0.2em 0.65em;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.04em;
	color: #fff;
	background: #666;
	vertical-align: middle;
}

.gianAwardBadgeGrandPrix {
	background: #c9a227;
	color: #fff;
}

.gianAwardBadgeExcellence {
	background: #4a6fa5;
	color: #fff;
}

.gianAwardBadgeImage {
	padding: 0;
	border-radius: 0;
	background: transparent;
	line-height: 0;
}

.gianAwardBadgeImage img {
	display: block;
	width: 72px;
	height: 72px;
	object-fit: contain;
}

#gianArticle .gianAwardBadge {
	margin-right: 8px;
	vertical-align: middle;
}

#gianArticle .gianAwardBadgeImage img {
	width: 56px;
	height: 56px;
}

.gianAwardsTableWrap {
	width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.gianAwardsTable {
	width: 100%;
	min-width: 640px;
	border-collapse: collapse;
	border: 1px solid #ddd;
	background: #fff;
	table-layout: fixed;
}

.gianAwardsTable th,
.gianAwardsTable td {
	padding: 14px 12px;
	border: 1px solid #ddd;
	vertical-align: middle;
	font-size: 14px;
	line-height: 1.55;
	box-sizing: border-box;
}

.gianAwardsTable thead th {
	background: var(--gian-accent);
	color: #fff;
	font-weight: 700;
	text-align: center;
	letter-spacing: 0.04em;
	white-space: nowrap;
}

.gianAwardsTable tbody td {
	background: #fff;
	color: #222;
	word-break: break-word;
	transition: background-color 0.15s ease;
}

.gianAwardsTableRow {
	position: relative;
	cursor: pointer;
}

.gianAwardsTableRow:hover td {
	background-color: #f5f5f5;
}

.gianAwardsTableLink {
	color: #111;
	font-weight: 700;
	text-decoration: none;
}

.gianAwardsTableLink::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
}

.gianAwardsTableRow:hover .gianAwardsTableLink {
	color: var(--gian-accent);
}

.gianAwardsTable th:nth-child(1),
.gianAwardsTableAward {
	width: 120px;
}

.gianAwardsTableAward {
	text-align: center;
}

.gianAwardsTable th:nth-child(2),
.gianAwardsTableDept {
	width: 22%;
}

.gianAwardsTableDept {
	text-align: left;
}

.gianAwardsTable th:nth-child(3),
.gianAwardsTableLom {
	width: 18%;
}

.gianAwardsTableLom {
	text-align: left;
}

.gianAwardsTable th:nth-child(4),
.gianAwardsTableTitle {
	width: auto;
}

.gianAwardsTableTitle {
	text-align: left;
}

.gianAwardsTableEmpty {
	color: #aaa;
}

.gianAwardsTable .gianAwardBadge:not(.gianAwardBadgeImage) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 4.6em;
	height: 4.6em;
	padding: 0.35em 0.25em;
	border-radius: 50%;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: 0.02em;
	text-align: center;
	box-shadow:
		inset 0 0 0 2px rgba(255, 255, 255, 0.35),
		0 2px 6px rgba(0, 0, 0, 0.15);
}

.gianAwardsTable .gianAwardBadgeGrandPrix:not(.gianAwardBadgeImage) {
	background: radial-gradient(circle at 35% 30%, #f0d56a 0%, #c9a227 55%, #a88412 100%);
	color: #3d2f00;
}

.gianAwardsTable .gianAwardBadgeExcellence:not(.gianAwardBadgeImage) {
	background: radial-gradient(circle at 35% 30%, #8eb0d8 0%, #4a6fa5 55%, #35557f 100%);
	color: #fff;
}

.gianAwardsTable .gianAwardBadgeImage {
	display: inline-block;
	width: auto;
	height: auto;
	background: transparent;
	box-shadow: none;
	border-radius: 0;
}

.gianAwardsTable .gianAwardBadgeImage img {
	width: 96px;
	height: 96px;
}

.gianAwardsListCta {
	display: flex;
	justify-content: center;
	margin-top: 28px;
}

.gianAwardsListCta .gianBtn {
	min-width: 240px;
	text-align: center;
}

@media screen and (max-width: 767px) {
	#gianArchive,
	#gianArticle,
	#gianAwards {
		padding: 24px 0 40px;
	}
	#gianSingle {
		padding: 24px 5% 40px;
	}

	#gianAwards {
		padding-top: 0;
	}

	.gianAwardsHeader {
		margin-left: -16px;
		margin-right: -16px;
	}

	.gianAwardsMv {
		padding: 40px 20px 36px;
	}

	#gianSingle #gianArticle {
		padding: 0;
	}

	.gianTitle,
	.gianAwardsTitle {
		font-size: 22px;
	}

	.gianAwardsLabel {
		font-size: 12px;
		letter-spacing: 0.16em;
	}

	.gianAwardsYearNav {
		padding-top: 20px;
	}

	.gianAwardsYearItem {
		min-width: 6.5em;
		padding: 0.55em 1.1em;
		font-size: 13px;
	}

	.gianAwardsIntro {
		padding: 22px 16px;
		font-size: 14px;
	}

	.gianAwardsTable {
		min-width: 0;
	}

	.gianAwardsTable thead {
		display: none;
	}

	.gianAwardsTable,
	.gianAwardsTable tbody,
	.gianAwardsTable tr,
	.gianAwardsTable td {
		display: block;
		width: 100%;
	}

	.gianAwardsTable tr {
		margin: 0 0 12px;
		border: 1px solid #ddd;
		background: #fff;
	}

	.gianAwardsTableRow:hover {
		background-color: #f5f5f5;
	}

	.gianAwardsTable td {
		display: grid;
		grid-template-columns: 5.5em minmax(0, 1fr);
		gap: 8px;
		align-items: start;
		width: 100%;
		padding: 12px 14px;
		border: none;
		border-bottom: 1px solid #eee;
		text-align: left;
	}

	.gianAwardsTable td:last-child {
		border-bottom: none;
	}

	.gianAwardsTable td::before {
		content: attr(data-label);
		font-size: 12px;
		font-weight: 700;
		color: var(--awards-navy);
		letter-spacing: 0.04em;
	}

	.gianAwardsTableAward,
	.gianAwardsTableDept,
	.gianAwardsTableLom,
	.gianAwardsTableTitle {
		width: 100%;
	}

	.gianSectionTitle {
		font-size: 16px;
		letter-spacing: 0.05em;
		line-height: 1.4;
		height: auto;
		padding: 1em 1em 1em 1.75em;
	}

	.gianAwardTable,
	.gianAwardTable tbody,
	.gianAwardTable tr,
	.gianAwardTable th,
	.gianAwardTable td {
		display: block;
		width: 100%;
		min-height: 3em;
	}

	.gianAwardTable th {
		border-bottom: none;
	}

	.gianPair {
		flex-direction: column;
	}

	.gianPairHalf {
		display: block;
		width: 100%;
	}

	.gianPairHalf + .gianPairHalf {
		border-left: none;
		border-top: 1px solid #ccc;
	}

	.gianPairLabel,
	.gianPairValue {
		display: block;
		flex: none;
		width: 100%;
	}

	.gianPairLabel {
		border-right: none;
		border-bottom: 1px solid #ccc;
	}

	.gianSearchForm {
		grid-template-columns: 1fr;
		padding: 20px 16px;
	}

	.gianDeptChecks {
		grid-template-columns: 1fr;
		padding: 12px 14px;
	}

	.gianBtn {
		width: 100%;
		min-width: 0;
	}
}
