/*--------------------------------------
　▼2016/06/22追加　リタ中西
  ※キャッシュ対策用の読み込みデータ
--------------------------------------*/
#container {
	margin: 10px auto 0;
	min-width: 296px;
	width: 90%;
}
#headerArea {
	padding-top: 10px;
}
@media all and (max-width: 480px) {
	#container {
		width: calc(100% - 24px);
	}
	#headerArea {
		padding-top: 0px;
	}
}
#ban7Area {
	margin-bottom: 10px;
	margin-top: -10px;
}
#ban7Area * {
	box-sizing: border-box;
}
#ban7Area .ml0 {
	margin-left: 0 !important;
}
#ban7Area img {
	width: 100%;
	max-width: 160px;
	height: auto;
	vertical-align: middle;
}
#ban7Area h2 {
	background: #393;
	color: #fff;
	text-align: center;
	font-size: 18px;
	padding: 5px 10px;
	line-height: 1.4;
	margin-bottom: 10px;
}
#ban7Area ul {
	display: block;
	width: 24.25%;
	margin-left: 1%;
	float: left;
}
#ban7Area ul:first-child {
	margin-left: 0;
}
#ban7Area .banA {
	text-align: center;
	font-size: 14px;
	margin-top: 10px;
	width: 100%;
	border: 1px solid #393;
	background: url(../../images/bgBan7.gif) repeat-x top;
}
#ban7Area .banA a {
	border: 1px solid #fff;
	display: table-cell;
	height: 60px;
	vertical-align: middle;
	width: 320px;
	table-layout: fixed;
}
#ban7Area .banB {
	text-align: center;
	font-size: 14px;
	margin-top: 10px;
	width: 100%;
	border: 1px solid #393;
	background: url(../../images/bgBan7.gif) repeat-x top;
}
#ban7Area .banA.on,
#ban7Area .banB.on {
	background-image: none;
	background-color: #ffc;
}
#ban7Area .banB a {
	border: 1px solid #fff;
	display: table-cell;
	table-layout: fixed;
	height: 132px;
	vertical-align: middle;
	width: 320px;
}
#ban7Area .banA a,
#ban7Area .banB a {
	background-image: url(../../images/corner.png);
	background-position: right bottom;
	background-repeat: no-repeat;
}
#ban7Area .banA a:hover,
#ban7Area .banB a:hover {
	background-color: #fffff2;
}
#ban7Area .banA.on a:hover,
#ban7Area .banB.on a:hover {
	background-color: #fff;
}
.cf {
	/zoom: 1;
}
.cf:after {
	content: '';
	display: block;
	clear: both;
}
.pc {
}
.sp {
	display: none;
}
@media all and (max-width: 768px) {
	#ban7Area ul {
		width: 49%;
		margin-left: 2%;
	}
	#ban7Area ul:nth-child(3) {
		margin-left: 0;
	}
}
@media all and (max-width: 480px) {
	.pc {
		display: none;
	}
	.sp {
		display: inherit;
	}
}
/*--------------------------------------
　▼2016/11/24追加　リタ中西
  ※キャッシュ対策用の読み込みデータ
--------------------------------------*/
#homeonly {
}

#halfArea {
	display: flex;
	justify-content: space-between;
}
#halfArea > * {
	width: calc((100% - 15px) / 2);
	margin-bottom: 10px;
	display: inline-block;
}
#halfArea a {
	white-space: nowrap;
	text-indent: 100%;
	overflow: hidden;
	clear: both;
	display: block;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	height: 0;
	padding-top: 38.043%;
	opacity: 1;
	transition: opacity 0.2s;
}
#halfArea a:hover {
	opacity: 0.7;
}

#halfArea li:first-child a {
	border: 1px solid #0a8801;
	background-image: url(../../img/cld/banner_yellow.png?v=1);
}
#halfArea li:nth-child(2) a {
	border: 1px solid #289ae1;
	background-image: url(../../img/cld/banner_blue.png?v=1);
}

#halfArea ul li a {
}

#banArea {
	margin-bottom: 10px;
	margin-top: -10px;
}
#banArea * {
	box-sizing: border-box;
}
#banArea ul {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}
#banArea ul li {
	width: calc((100% - 20px) / 3);
	margin-top: 10px;
	display: table;
}
@media print {
	#banArea ul li {
		height: 60px;
	}
}

#banArea ul li:nth-child(4n + 1) {
	margin-left: 0;
}
#banArea ul li a {
	width: 100%;
	height: 100%;
	display: table-cell;
	vertical-align: middle;
	text-align: center;
	border: 1px solid #393;
	text-decoration: none;
	font-size: 12px;
	line-height: 1.62;
	letter-spacing: 0;
	padding: 10px 5px;
	background-image: url(../../images/corner.png);
	background-position: right bottom;
	background-repeat: no-repeat;
	background-color: #ffd;
}
#banArea ul li a strong {
	font-size: 15px;
}
#banArea ul li.bg_orange a {
	background-color: #ffe8cc;
}

/* 現職公務員昇任試験対策バナー専用スタイル */
#banArea ul li.promotion-banner a {
	background-color: #ff6b35 !important;
	color: #ffffff !important;
	border: 2px solid #e55a2b !important;
	font-weight: bold;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

#banArea ul li.promotion-banner a strong {
	font-size: 18px !important;
	color: #ffffff !important;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

#banArea ul li.promotion-banner a:hover {
	background-color: #e55a2b !important;
	transform: translateY(-1px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
#banArea ul li a:hover {
	background-color: #fffff8 !important;
}
#banLive2 {
	display: none;
	justify-content: space-between;
	flex-wrap: wrap;
}
#banLive2 > li {
	width: calc((100% - 18px) / 2);
	border: 1px solid #011224;
	margin-bottom: 10px;
}
#banLive2 > li:nth-child(2) {
	border: 1px solid #206432;
}

#banLive2 a {
	white-space: nowrap;
	text-indent: 100%;
	overflow: hidden;
	clear: both;
	display: block;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	height: 0;
	padding-top: 38.043%;
	transition: opacity 0.2s;
}
#banLive2 li:first-child a {
	background-image: url(../../img/index/ban_live1@2x.png?v=3);
	background-color: #011224;
}
#banLive2 li:nth-child(2) a {
	background-image: url(../../img/cld/banner_youtube.png?v=3);
	background-color: white;
}
#banLive2 a:hover {
	opacity: 0.7;
}
#anav2 > li:nth-child(1) a {
	border: 1px solid #011224;
	display: inline-block;
	margin-bottom: 10px;
}
#anav2 > li:nth-child(1) img {
	margin-bottom: 0 !important;
	vertical-align: bottom;
}
@media all and (max-width: 768px) {
	#anav1,
	#anav2 {
		display: flex;
		justify-content: space-around;
		flex-wrap: wrap;
	}
	#anav1 > li,
	#anav2 > li {
		width: 50%;
		padding: 0 7.5px;
		text-align: center;
		box-sizing: border-box;
		margin-bottom: 10px;
	}
	#anav1 > li img,
	#anav2 > li img {
		max-width: 100%;
		height: auto;
		margin: auto;
	}
	#anav2 > li:nth-child(-n + 2) {
		display: none;
	}
	#banLive2 {
		display: flex;
	}
}
@media all and (max-width: 640px) {
	#banArea ul li {
		width: calc((100% - 15px) / 2);
	}
	#banArea ul li a {
		padding: 5px 5px;
	}
}
@media all and (max-width: 480px) {
	#gnaviArea ul {
		display: block;
	}
	#gnaviArea ul > li {
		width: 100%;
		display: block;
	}
	#banLive2 li:first-child a {
		background-image: url(../../img/index/ban_live1.png?v=4);
	}
	#banLive2 li:nth-child(2) a {
		background-image: url(../../img/cld/banner_youtube.png?v=4);
	}
	#halfArea li:first-child a {
		border: 1px solid #0a8801;
		background-image: url(../../img/cld/banner_yellow.png?v=1);
	}
	#halfArea li:nth-child(2) a {
		border: 1px solid #289ae1;
		background-image: url(../../img/cld/banner_blue.png?v=1);
	}
}

/* 全体スタイル */
#newsArea {
	margin: 0 auto;
	padding: 10px;
}

/* テーブル全体をスクロール可能にする */
#newsArea-space {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch; /* スムーズスクロール */
	border: 1px solid #ddd;
	padding: 10px;
}

/* テーブルの基本スタイル */
.table-news {
	width: 100%;
	border-collapse: collapse;
	border-spacing: 0;
}

.table-news td {
	padding: 10px;
	word-break: break-word; /* 長い単語を改行 */
}

.td-left {
	font-weight: bold; /* 日付を強調 */
	width: 20% !important;
}

/* モバイル向けのスタイル */
@media (max-width: 768px) {
	.table-news {
		display: block; /* テーブル全体をブロック化 */
	}

	.table-news tr {
		display: flex; /* 行をフレックスボックス化 */
		flex-direction: column; /* 縦に並べる */
		margin-bottom: 10px;
		border-bottom: 1px solid #ddd;
		padding: 10px;
	}

	.table-news td {
		display: block; /* カラムをブロック化 */
		width: 100%;
	}

	.td-left {
		font-weight: bold; /* 日付を強調 */
		margin-bottom: 5px;
		display: block;
		width: 100% !important;
	}

	.td-right {
		margin-bottom: 5px;
		display: block;
		width: 100% !important;
	}

	.td-right a {
		display: block;
		text-decoration: none;
		margin-bottom: 5px;
	}

	.td-right a:hover {
		text-decoration: underline;
	}
}

/* リンクのスタイル調整 */
.td-right a {
	text-decoration: none;
}

.td-right a:hover {
	text-decoration: underline;
}
