@charset "utf-8";
/*------------------------------------------------------------
	トープページ
------------------------------------------------------------*/
.mainVisual {
    background: url(../img/case/main_visual.jpg) no-repeat center center;
    background-size: cover;
}

#conts .topText {
	margin-bottom: 37px;
	padding: 29px 30px 24px;
	background-color: #EEEFF1;
}

#conts .txtBox {
	margin-bottom: 21px;
}

#conts .txtBox .title {
    text-align: justify;
    font-size: 22px;
	font-weight: 400;
    border-bottom: 1px solid #E5E5E5;
	padding-bottom: 16px;
	margin-bottom: 16px;
}

@media all and (min-width: 0) and (max-width: 767px) {
	#conts .txtBox .title {
		font-size: 20px;
	}
}


#conts .txtBox .title span {
	margin-bottom: 3px;
	display: block;
	font-size: 13px;
	color: #0D3A67;
}

#conts .txtBox .title a {
	color: #003A6B;
	font-weight: 500;
	text-decoration: underline;
}

#conts .txtBox .title a:hover {
	text-decoration: none;
}

#conts .txtBox .imgBox .photoBox {
	margin-top: 6px;
	width: 221px;
	float: right;
}

#conts .txtBox .imgBox .photoBox img {
	width: 100%;
	height: auto;
}

#conts .txtBox .imgBox .textBox {
	width: 388px;
	float: left;
}

#conts .txtBox .imgBox .textBox p {
	word-break: break-all;
	line-height: 1.875;
}

#conts .txtBox .imgBox .textBox p a {
	color: #003A6B;
	font-weight: 500;
	text-decoration: underline;
}

#conts .txtBox .imgBox .textBox p a:hover {
	text-decoration: none;
}

.wp-pagenavi {
	margin-top: 48px;
	clear: both;
	text-align: center;
}

.wp-pagenavi a,
.wp-pagenavi span {
	display: inline-block;
	text-decoration: none;
	border-bottom: 1px solid #103965;
	padding: 1px 2px 0;
	line-height: 1;
	margin: 0 5px;
	color: #003A6B;
	font-weight: bold;
}

.wp-pagenavi a:hover,
.wp-pagenavi span.current {
	border-bottom: none;
	color: #323232;
}

.wp-pagenavi .first,
.wp-pagenavi .last,
.wp-pagenavi .pages {
	display: none;
}

.wp-pagenavi .nextpostslink {
	padding-right: 15px;
	background: url(../img/common/icon08.png) no-repeat right center;
}

.wp-pagenavi .extend{
}

.wp-pagenavi .previouspostslink {
	padding: 1px 2px 0 18px;
	background: url(../img/common/icon11.png) no-repeat left center;
}

#conts .detail .txtBox p {
	word-break: break-all;
	line-height: 1.875;
	margin-bottom: 24px;
}

#conts .detail .txtBox .title {
	margin-bottom: 24px;
	line-height: 1.5;
}

#conts .detail .pageList {
	margin-top: 48px;
	text-align: center;
}

#conts .detail .pageList li {
	padding-right: 10px;
	margin: 0 5px 0 9px;
	display: inline-block;
}

#conts .detail .pageList .last {
	border-right: 1px solid #646464;
}

#conts .detail .pageList li a {
	padding-right: 18px;
	display: block;
	color: #003A6B;
	font-weight: 500;
	line-height: 1;
	background: url(../img/common/icon08.png) no-repeat right center;
	border-bottom: 1px solid #103965;
	text-decoration: none !important;
}

#conts .detail .pageList li a:hover {
	border-bottom: none;
}

#conts .detail .pageList .last a {
	padding: 0 0 0 18px;
	background: url(../img/common/icon11.png) no-repeat left center;
}

@media all and (min-width: 0) and (max-width: 767px) {
	.mainVisual {
		background: url(../img/case/sp_main_visual.jpg) no-repeat center center;
		background-size: cover;
	}

	#conts .topText {
		margin-bottom: 18px;
		padding: 16px 20px 17px;
		font-size: 13px;
		line-height: 1.77;
	}

	#conts .txtBox .title span {
		margin-bottom: 2px;
		font-size: 10px;
	}

	#conts .txtBox .title a:hover {
		text-decoration: underline;
	}

	#conts .txtBox .imgBox .photoBox {
		margin: 0 69px 15px;
		width: auto;
		float: none;
	}

	#conts .txtBox .imgBox .photoBox img {
		width: 100%;
	}

	#conts .txtBox .imgBox .textBox {
		width: auto;
		float: none;
	}

	#conts .txtBox .imgBox .textBox p {
		line-height: 1.77;
		font-size: 13px;
	}

	#conts .txtBox .imgBox .textBox p a:hover {
		text-decoration: underline;
	}

	.wp-pagenavi {
		margin-top: 33px;
	}

	.wp-pagenavi a,
	.wp-pagenavi span {
		border-bottom: none;
		padding: 9px 11px 8px;
		margin: 5px 1px 0;
		color: #FFF;
		font-size: 13px;
		font-weight: normal;
		background-color: #0D3A67;
	}

	.wp-pagenavi a:hover,
	.wp-pagenavi span.current {
		color: #FFF;
	}

	.wp-pagenavi .nextpostslink {
		width: 125px;
		margin: 0 auto;
		margin-top: 17px;
		display: block;
		padding-right: 15px;
		background: #0D3A67 url(../img/common/icon09.png) no-repeat right 11px center;
		background-size: 4px auto;
		box-sizing: border-box;
	}

	.wp-pagenavi .previouspostslink {
		padding: 9px 11px 8px 22px;
		background: #0D3A67 url(../img/common/icon10.png) no-repeat left 8px center;
		background-size: 4px auto;
	}

	#conts .detail .txtBox p {
		line-height: 1.77;
		font-size: 13px;
	}

	#conts .detail .pageList {
		margin-top: 32px;
	}

	#conts .detail .pageList li {
		padding-right: 0;
		margin: 0 2px;
	}

	#conts .detail .pageList .last {
		border-right: none;
	}

	#conts .detail .pageList li a {
		width: 125px;
		padding: 9px 0 8px;
		color: #FFF;
		font-size: 13px;
		background: #0D3A67 url(../img/common/icon09.png) no-repeat right 11px center;
		background-size: 4px auto;
		border-bottom: none;
	}

	#conts .detail .pageList .last a {
		padding: 9px 0 8px;
		background: #0D3A67 url(../img/common/icon10.png) no-repeat left 11px center;
		background-size: 4px auto;
	}

}

@media all and (-ms-high-contrast:none){
	#conts .topText {
		padding: 32px 30px 21px;
	}

	.wp-pagenavi .nextpostslink {
		background: url(../img/common/icon08.png) no-repeat right top 1px;
	}

	.wp-pagenavi .previouspostslink {
		background: url(../img/common/icon11.png) no-repeat left top 1px;
	}

	#conts .detail .pageList li a {
		background: url(../img/common/icon08.png) no-repeat right top 1px;
	}

	#conts .detail .pageList .last a {
		background: url(../img/common/icon11.png) no-repeat left top 1px;
	}
}


/* 目次 */
.tocBox {
	position: relative;
	width: 100%;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0;
	margin: 72px 0 56px;
}

.tocBox::before {
	content: "目次";
	position: absolute;
	top: -30px;
	left: 0;
	font-size: 16px;
	font-weight: bold;
	line-height: 1.8;
	width: 100%;
    border-bottom: 1px solid #E7EBEE;
}

.tocBox::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 1px;
	background-color: #E7EBEE;
}

.tocBox li {
	border-bottom: 1px dashed #E7EBEE;
}

.tocBox li:nth-child(odd) {
	border-right: 1px solid #E7EBEE;
}

.tocBox li a {
	position: relative;
	display: flex;
	align-items: center;
	padding-left: 24px;
	height: 48px;
	color: #0D3A67;
	font-size: 14px;
}

.tocBox li a:hover {
	text-decoration: underline;
}

.tocBox li a::before {
	content: ">";
	position: absolute;
	left: 8px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
}

@media all and (min-width: 0) and (max-width: 767px) {

	.tocBox {
		grid-template-columns: 1fr;
	}

	.tocBox li:nth-child(odd) {
		border-right: 0;
	}

	.tocBox li a {
		font-size: 13px;
	}

}

/* 見出し */
.detail h2:not(.title) {
	font-weight: 400;
	font-size: 20px;
	line-height: 1.4;
	margin-bottom: 16px;
	padding-left: 24px;
	border-left: 4px solid #003A6B;
}

.detail h3 {
	font-weight: 400;
	font-size: 18px;
	line-height: 1.4;
	margin-bottom: 16px;
}

.detail h4 {
	font-weight: 400;
	font-size: 17px;
	line-height: 1.4;
	margin-bottom: 16px;
}

.detail h5 {
	font-weight: 400;
	font-size: 16px;
	line-height: 1.4;
	margin-bottom: 16px;
}

/* 画像 */

.imgGridUl {
	display: grid;
	grid-template-columns: 1fr 1fr;
	margin: 24px auto;
	gap: 16px;
}

.imgGridUl figure {
	position: relative;
	width: 100%;
	height: auto;
	aspect-ratio: 141 / 100;
	margin: 0 auto;
}

.imgGridUl figure img {
	position: relative;
	width: 100%;
	height: 100%;
	aspect-ratio: 141 / 100;
}

@media all and (min-width: 0) and (max-width: 767px) {

	.imgGridUl {
		grid-template-columns: 1fr;
		gap: 24px;
	}
}

.wp-caption-text, figcaption {
	text-align: center;
	margin: 8px auto 24px;
	font-size: 13px;
}

#conts .detail .photo {
	position: relative;
	max-width: 400px;
	margin: 24px auto 0;
	text-align: center;
	display: flex;
	justify-content: center;
	aspect-ratio: 141 / 100;
}

#conts .detail .photo img {
	width: 100%;
	height: 100%;
	aspect-ratio: 141 / 100;
	-o-object-fit: cover;
	   object-fit: cover;
}

/* 表 */

.detail table {
	margin: 24px auto;
}

.detail table , .detail td, .detail th {
	border: 1px solid #E7EBEE;
	border-collapse: collapse;
	width: 100%;
}
.detail td, .detail th {
	padding: 8px;
	font-size: 15px;
}
.detail th {
	background: #003A6B;
	color: #fff;
	border-bottom: 1px solid #E7EBEE;
	width: 30%;
	font-weight: 400;
}

@media all and (min-width: 0) and (max-width: 767px) {

	.detail td, .detail th {
		font-size: 13px;
	}
}

/* リンク */
.detail a:not(.last a),
.detail a:not(.next a){
	color: #003A6B;
	text-decoration: underline;
}

.detail a:hover {
	text-decoration: none;
}

/* 余白 */

.mb40, .mbSmall {
	margin-bottom: 40px !important;
}

.mb64, .mbMiddle {
	margin-bottom: 64px !important;
}

.mb80, .mbLarge {
	margin-bottom: 80px !important;
}

/* add 241003 */

.price1 {
	display: flex;
    justify-content: space-between;
	margin: auto;
	width: 100%;
	border: none!important;
	flex-wrap: wrap;
	padding: 4px 8px !important;
}

.price2 {
	width: 70%;
}
@media all and (min-width: 0) and (max-width: 767px) {
	.price2 {
	width: 100%;
}
}

.price3 {
	text-align: right;
}


.page-pagenavi {
	display: flex;
	justify-items: flex-start;
	justify-content: center;
	flex-wrap: wrap;
	width: 100%;
	margin: 64px auto 0;

	.current,
	.page,
	.page-numbers,
	.prevpostslink,
	.nextpostslink {
		width: 40px;
		height: 40px;
		margin: 4px;

		user-select: none;

		display: flex;

		justify-content: center;

		align-items: center;
		background-color: #8E6D56;
		font-size: 1.3rem;
		line-height: 1;
		text-decoration: none;
		color: #fff;
		transition: ease .3s;

		&:hover {
			color: #0D3A67 !important;
			background-color: #F2F2F2 !important;
			transition: ease .3s;
		}
	}

	.page-numbers {
		color: #fff;
		background-color: #0D3A67;
	}

	.current {
		color: #0D3A67;
		background-color: #F2F2F2;
	}
}

@media all and (min-width: 0px) and (max-width: 767px) {
	.page-pagenavi {

		.current,
		.page,
		.page-numbers,
		.prevpostslink,
		.nextpostslink {
			&:hover {
				color: #0D3A67 !important;
				background-color: #F2F2F2 !important;
			}

			&:active {
				color: #0D3A67 !important;
				background-color: #F2F2F2 !important;
				transition: ease .3s;
			}
		}
	}
}

.pages {
	display: none;
}