/* メインビジュアル */
#MainImg {
	position: relative;
	overflow: hidden;
}

#MainImg h2 {
	font-weight: 700;
	color: #FFF;
	font-size: 2.6em;
	letter-spacing: 0.2em;
	line-height: 1.7;
	top: 50%;
	transform: translateY(-50%);
	position: absolute;
	display: inline-block;
	padding: 10px;
	padding-left: 20px;
	z-index: 10;
	text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

#MainImg h2 {
	right: 0;
	left: inherit;
}

#MainImg h2 span {
	display: block;
	font-size: 0.4em;
	font-weight: 500;
	text-align: left;
	letter-spacing: 0.25em;
}

#MainImg img {
	max-height: 100%;
	display: block;
}

/* タイトル右寄せ */
#MainImg h2.right {
	right: -20vw;
}

/* タイトル左寄せ */
#MainImg h2.left {
	left: 5%;
	top: 50%;
}

@media screen and (max-width: 599px) {
	#MainImg h2 {
		font-size: 1.2em;
		transform: translateY(-50%);
	}
}

/* 下層ページコンテンツ */
#MainContWrapper {
	background: #FFF;
	border-top: 1px solid #DDD;
	position: relative;
	padding: 15px;
}

#MainContBox {
	max-width: 1000px;
	margin: auto;
	padding-bottom: 40px;
}

/* パンくずリスト */
#PageNavi {
	font-size: 0.7em;
}

#PageNavi a {
	color: #666;
}

#PageNavi i {
	font-style: normal;
	color: #999;
	font-size: 0.7em;
	padding-left: 5px;
	padding-right: 5px;
	display: inline-block;
	position: relative;
}

/* コンテンツボックス */
.ContBox {
	clear: both;
	position: relative;
	padding-top: 30px;
	padding-bottom: 60px;
	background: url(../img/2023/cont_separator.svg) no-repeat center bottom;
	background-size: auto 12px;
	overflow: hidden;
}

.ContBox h3 {
	background: url(../img/cont_title_BG.png) no-repeat left;
	padding-left: 30px;
	font-weight: 700;
	font-size: 1.6em;
	letter-spacing: 0.05em;
	margin-bottom: 10px;
}

.ContBox h3 span {
	display: inline-block;
	/* font-weight: 400; */
	letter-spacing: 0;
	padding: 5px 7px 3px;
	line-height: 1;
	margin-left: 10px;
	background-color: rgb(222, 1, 1);
	font-size: 0.65em;
	color: #FFF;
	position: relative;
	top: -3px;
}
@media screen and (max-width: 767px) {
	.ContBox h3 span {
		margin-left: 6px;
		font-size: 0.6em;
		top: -3px;
	}
}

.ContBox h4 {
	color: #005a99;
	font-weight: 700;
	line-height: 1.5;
	font-size: 1.1em;
}

.ContBox h5 {
	font-weight: 700;
	line-height: 1.5;
	font-size: 1em;
}

.ContBox p {
	font-size: 0.9em;
	line-height: 1.7;
	padding-bottom: 1em;
}

.RightPh {
	float: right;
	padding-left: 10px;
	padding-bottom: 10px;
	max-width: 50%;
	min-width: 20%
}

.ContBox .even {
	background: #F2F2F2;
}

.ContBox .odd {
	background: #FFF;
}

/* 下層ページ下部リンク */
#ContBottomLinkWrapper {
	background: #EFEFEF;
	clear: both;
}

#ContBottomLinkWrapper nav {
	max-width: 1140px;
	margin: auto;
	overflow: hidden;
}

#ContBottomLinkWrapper nav .list {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}

@media screen and (max-width: 767px) {
	#ContBottomLinkWrapper nav .list {
		padding-bottom: 15px;
	}
}

#ContBottomLinkWrapper nav .list .detail {
	width: calc(100%/7);
}

@media screen and (max-width: 767px) {
	#ContBottomLinkWrapper nav .list .detail {
		width: calc(100%/4);
	}
}

#ContBottomLinkWrapper nav .list .detail a {
	padding: 30px 10px;
	color: #005a99;
	text-decoration: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

@media screen and (max-width: 767px) {
	#ContBottomLinkWrapper nav .list .detail a {
		display: block;
		padding: 15px 10px;
		flex-wrap: wrap;
	}
}

#ContBottomLinkWrapper nav .list .detail a .icon {
	width: 50px;
}

@media screen and (max-width: 767px) {
	#ContBottomLinkWrapper nav .list .detail a .icon {
		margin: auto;
		width: 40px;
	}
}

#ContBottomLinkWrapper nav .list .detail a .textbox {
	width: calc(100% - 60px);
}

@media screen and (max-width: 767px) {
	#ContBottomLinkWrapper nav .list .detail a .textbox {
		width: 100%;
		text-align: center;
	}
}

#ContBottomLinkWrapper nav .list .detail a .textbox .text {
	font-size: 1em;
}

@media screen and (max-width: 767px) {
	#ContBottomLinkWrapper nav .list .detail a .textbox .text {
		font-size: 0.85em;
		font-weight: 700;
	}
}

#ContBottomLinkWrapper nav .list .detail a .textbox .title {
	padding-top: 8px;
}

#ContBottomLinkWrapper nav .list .detail a .textbox .title img {
	display: block;
	height: 10px;
}

@media screen and (max-width: 767px) {
	#ContBottomLinkWrapper nav .list .detail a .textbox .title img {
		height: 7px;
		margin: auto;
	}
}

#ContBottomLinkWrapper nav li a strong {
	display: block;
	font-weight: 400;
	font-size: 0.6em;
	letter-spacing: 0.1em;
	padding-top: 5px;
	padding-bottom: 5px;
}

#ContBottomLinkWrapper nav li a span {
	display: block;
	font-size: 1em;
	line-height: 1.3;
	padding-top: 5px;
	font-weight: 700;
}

#ContBottomLinkWrapper nav li a:hover {
	background: #DDD;
}

@media screen and (max-width: 768px) {
	#ContBottomLinkWrapper nav li {
		font-size: 0.9em;
	}

	#ContBottomLinkWrapper nav li a:hover {
		background: none;
	}
}

@media screen and (max-width: 599px) {
	#PageNavi {
		font-size: 0.6em;
	}

	#ContBottomLinkWrapper nav li {
		width: 32%;
		font-size: 1em;
		box-sizing: border-box;
	}

	#ContBottomLinkWrapper nav li a {
		padding: 0;
		padding-top: 20px;
		padding-bottom: 20px;
	}

	#ContBottomLinkWrapper nav li a strong {
		font-size: 0.5em;
	}

	#ContBottomLinkWrapper nav li a span {
		display: block;
		font-size: 0.8em;
	}

	.ContBox {
		background: url(../img/cont_separator.png) no-repeat center bottom;
		background-size: auto 6px;
		padding-bottom: 40px;
	}

	.ContBox h3 {
		font-size: 1.2em;
		line-height: 1.45;
		letter-spacing: 0;
		padding-left: 20px;
		background-size: 16px;
	}

	.ContBox h4 {
		font-size: 1em;
	}

	.ContBox h5 {
		font-size: 0.8em;
	}

	.ContBox p {
		font-size: 0.8em;
	}
}

@media screen and (max-width: 320px) {
	.ContBox h3 {
		font-size: 1em;
	}

	.ContBox p {
		font-size: 0.7em;
	}
}
