﻿/* 全体 */
body {
	background-color: #d7d8e4;
	/* background-color: #fff; */
	margin: 0px;
	font-size: 12px;
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	color: #17194c;
	/* background: linear-gradient(to right, #fff 49%, #12639e 51%); */
}
.container {
	background-color: #fff;
	width: 765px;
	margin: 0 auto;
	padding-bottom: 25px;
	/* border: 1px solid #17194c; */
}



/* ヘッダー */
.banner {
	width: 100%;
	background-color: #17194c;
}
.banner-inner {
	height: 206px;
	width: 765px;
	background-image: url(../images/banner2025.jpg);
	margin: 0 auto;
}
.page_position {
	font-size: 11px;
	margin: 0 5px 20px 5px;
	text-align: left;
}
.page_position a {
	text-decoration: none;
}



/* セクション */
.section_title {
	text-align: center;
	margin: 0 0 25px 0;
	padding-top: 40px; /* アンカーリンクの表示位置をずらす用に、marginとは別にすること */
}
.section_title_en {
	width: fit-content;
	margin: 0 auto;
	line-height: 0.9;
	border-bottom: 6px solid #f00;
	font-size: 40px;
	font-weight: 700;
}
.section_title_jp {
	font-size: 18px;
	font-weight: 700;
}

/* エントリー */
.flex_wrapper {
	margin: -58px 0px 40px;
	padding: 58px 0px 40px;
	/* border-top: 6px solid #00000030; */
	/* border-bottom: 6px solid #17194c44; */
	/* border-left: 1px solid #17194c30; */
	/* border-right: 1px solid #17194c30; */
	/* border-top: 1px solid #17194c30; */
	/* border-radius: 10px; */
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	/* background-color: #17194c20; */
	/* background: linear-gradient(to bottom, #17194c10 0%, #17194c20 2%, #17194c10 10%, #17194c30 98%, #ffffff00 100%); */
	justify-content: center;  /* 横方向の中央寄せ */
}
.entry {
	display: block;
	text-decoration: none;
	color: #000;
	position: relative;
	width: 228px; /* 230 + 15 + 230 + 15 + 230 = 720, container 765, margin 45/2 */
	height: auto;
	background: linear-gradient(to right bottom, #fff 0%, #bbb 100%);
	box-sizing: border-box;
	overflow: hidden;
	border: 1px solid #bbbbbb; /* Actually width: 228 + 1*2 = 230px */
	border-radius: 3px;
}
.entry:hover {
	filter: brightness(1.1);
	cursor: pointer;
}
.entry::before {
	content: attr(data-entry-number);
	position: absolute;
	top: 5px;
	left: 5px;
	font-size: 12px;
	font-weight: bold;
	background: rgba(255,0,0,0.7);
	color: #fff;
	padding: 1px 7px;
	border-radius: 3px;
}
.entry_title {
	padding: 7px 5px 7px 40px;
	font-size: 12px;
	height: 2.8em;
	line-height: 1.4em;
	text-align: left;
	font-weight: bold;
}
.entry_thumbnail {
	height: 180px;
	width: 100%;
	background-color: #000;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
}
.entry_thumbnail img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}
.entry_name {
	font-size: 12px;
	text-align: right;
	padding: 3px 7px 3px 3px;
}

/* アワード関連 */
.entry.taisho .entry_thumbnail,
.entry.kinsho .entry_thumbnail {
	height: 250px;
}
.entry.taisho {
	width: 718px;
	background: linear-gradient(to right, #4b0082 20%, #9932cc 70%, #4b0082 100%);
	color: #f6e4ff;
	border: 2px solid #5e2d79;
	box-shadow: 0 0 12px rgba(75, 0, 130, 0.5);
}
.entry.taisho::before {
  	content: "大賞";
	background: rgba(255, 255, 255, 0.85);
	color: #4b0082;
}
.entry.kinsho {
	width: 718px;
	background: linear-gradient(to right, #a67c00 20%, #ffd700 70%, #a67c00 100%);
	color: #411e00;
	border: 1px solid #503a03;
	box-shadow: 0 0 12px rgba(166, 124, 0, 0.5);
}
.entry.kinsho::before {
  	content: "金賞";
	background: rgba(69, 38, 0, 0.85);
	color: #fff3ac;
}
.entry.ginsho {
	width: 352px;
	background: linear-gradient(to right, #a9a9a9 20%, #eeeeee 70%, #a9a9a9 100%);
	color: #333333;
	border: 1px solid #888888;
	box-shadow: 0 0 12px rgba(169, 169, 169, 0.5);
}
.entry.ginsho::before {
  	content: "銀賞";
	background: rgba(0, 0, 0, 0.75);
	color: #eee;
}
.entry.nyuusho {
	width: 352px;
	background: linear-gradient(to right, #cfa77a 20%, #f2d1a9 70%, #cfa77a 100%);
	color: #482813;
	border: 1px solid #b3875a;
	box-shadow: 0 0 3px rgba(207, 167, 122, 0.4);
}
.entry.nyuusho::before {
  	content: "入賞";
	background: #482813;
}
.top6 {
	background: linear-gradient(to right, #cfa77a 20%, #f2d1a9 70%, #cfa77a 100%);
	color: #482813;
	border: 1px solid #b3875a;
	box-shadow: 0 0 3px rgba(207, 167, 122, 0.4);
}
.top6::before {
	background: #482813;
}
.entry.taisho .entry_title,
.entry.kinsho .entry_title,
.entry.ginsho .entry_title,
.entry.nyuusho .entry_title {
	padding: 7px 0px 7px 50px;
}
.entry_award_progressing {
	text-align: center;
	font-size: 40px;
	color: #888;
	font-weight: 700;
	margin-bottom: 80px;
}
.detail {
	position: relative;
}
.sticker {
	position: absolute;
	top: 13px;
	right: 197px;
	padding: 20px 20px;
	font-size: 20px;
	font-weight: 700;
	width: 36px;
	height: 36px;
	transform: rotate(18deg);
	white-space: nowrap;
	color: #fff;
	clip-path: polygon(
		50% 0%, 60% 10%, 85% 15%, 90% 35%, 100% 50%, 90% 65%,
		85% 85%, 65% 90%, 50% 100%, 35% 90%, 15% 85%, 10% 65%,
		0% 50%, 10% 35%, 15% 15%, 35% 10%
	);
	display: flex;
	align-items: center;
	justify-content: center;
	/* filter: drop-shadow(0 4px 6px rgba(0,0,0,0.5)); */
}
.sticker.top6 {
	background: radial-gradient(circle at center, #f3c96b 0%, #d9913f 60%, #b8770a 100%);
	text-shadow:
		-1px -1px 0 #a67c00,
		 1px -1px 0 #a67c00,
		-1px  1px 0 #a67c00,
		 1px  1px 0 #a67c00;
}
.sticker.taisho {
	color: #fff;
	background: radial-gradient(circle at center,
		#d8b0ff 5%,
		#b77ed3 20%,
		#8e44ad 45%,
		#6a0dad 65%
	);
	text-shadow:
		-1px -1px 0 #4b0082,
		 1px -1px 0 #4b0082,
		-1px  1px 0 #4b0082,
		 1px  1px 0 #4b0082;
}
.sticker.kinsho {
	color: #fff;
	background: radial-gradient(circle at center,
		#ffe680 5%,
		#ffd700 20%,
		#e6ac00 45%,
		#a67c00 65%
	);
	text-shadow:
		-1px -1px 0 #4b2e00,
		 1px -1px 0 #4b2e00,
		-1px  1px 0 #4b2e00,
		 1px  1px 0 #4b2e00;
}
.sticker.ginsho {
	color: #fff;
	background: radial-gradient(circle at center,
		#f0f0f0 5%,
		#cccccc 20%,
		#b0b0b0 45%,
		#999999 65%
	);
	text-shadow:
		-1px -1px 0 #333333,
		 1px -1px 0 #333333,
		-1px  1px 0 #333333,
		 1px  1px 0 #333333;
}
.sticker.nyuusho {
	color: #fff;
	background: radial-gradient(circle at center,
		#e0a060 5%,
		#cd7f32 20%,
		#b87333 45%,
		#8b4513 65%);
	text-shadow:
		-1px -1px 0 #7f462c,
		 1px -1px 0 #7f462c,
		-1px  1px 0 #7f462c,
		 1px  1px 0 #7f462c;
}


/* フッター */
.organizer-card {
  background: #f9f9f9;
  border: 1px solid #ccc;
  border-radius: 8px;
  width: 223px;
  padding: 10px 0;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.1);
  text-align: center;
}
.organizer-card .name {
  font-weight: bold;
  font-size: 1.1em;
  margin-bottom: 4px;
}
.organizer-card .affiliation {
  font-size: 0.95em;
  color: #555;
}
.organizer-card .affiliation a {
  font-size: 0.95em;
  color: #555;
}

.organizer-card.applicants {
	width: 450px;
	padding-top: 17px;
}
.organizer-card.applicants p {
	padding: 0px;
	margin: 7px;
}

.footer {
	background-color: #17194c;
	width: 100%;
}
.footer-inner {
	width: 715px;
	margin: 0 auto;
	padding: 25px 25px;
	font-size: 11px;
	color: #fff;
	border-bottom: 1px solid #56587c;
}
.copyright {
	width: 765px;
	margin: 0 auto;
	color: #fff;
	text-align: center;
	padding: 20px 0;
	font-size: 12px;
	font-weight: bold;
}
.copyright a {
	color: #fff;
}



/* 応募作品ページ */
.entry_detail {
	width: 720px;
	margin: 0 auto 40px;
	display: flex;
	flex-wrap: wrap;
}
.entry_detail_no {
	width: 100%;

}
.entry_detail_thumbnail {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	border: 1px solid #000;
	background-color: #000;
	width: 230px;
	height: 230px;
	overflow: hidden;
}
.entry_detail_thumbnail img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}
.entry_detail table {
	width: 480px;
	border-collapse: separate;
	border-spacing: 0 0px;
	border: none;
	padding-left: 10px;
	text-align: left;
}
.entry_detail th {
	width: 60px;
	padding: 0 5px;
	border-bottom: 1px dotted rgba(99, 99, 99, 1);
	text-align: left;
	background-color: #eee;
}
.entry_detail td {
	padding: 0 5px;
	border-bottom: 1px dotted rgba(99, 99, 99, 1);
	text-align: left;
	background-color: #fff;
}
.entry_detail_abstract {
	width: 100%;
	margin: 20px 5px;
}
.entry_detail_abstract h5 {
	font-size: 15px;
	line-height: 1;
	margin: 10px 0 5px 0;
}
.abstract_table {	/* 概要にテーブルを付ける応募者有 */
	width: 80% !important;
	margin: 10px auto;
}
.abstract_table th {
	width: 160px !important;
}



/* オーバーレイ */
#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}
#overlay-content {
	position: relative;
  background: #fff;
  max-width: 90%;
  max-height: 98%;
  overflow-y: auto;
  padding: 0 20px 0 20px;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

/* 閉じるボタン */
#close-btn {
  position: absolute;
  top: 10px;
  right: -10px;
  background: #999;
  color: #000;
  padding: 6px 20px 6px 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

#close-btn:hover,
#prev-btn:hover,
#next-btn:hover {
  background: #fff;
}

#prev-btn, #next-btn {
  position: absolute;
  top: 50%-200px;
  width: 5%;
  text-align: center;
  background: #999;
  color: black;
  font-size: 20px;
  font-weight: 700;
  padding: 200px 0;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
#prev-btn { left: -10px; }
#next-btn { right: -10px; }

/* 非表示クラス */
.hidden {
  display: none !important;
}

/* ユーティリティ */
.italic {
	font-style: italic;
}