@charset "utf-8";
/* CSS Document */
:root{
	--category-color: #a69a2f;
	--category-color-dark: #726712;
	--category-color-light: #d2c874;
}
mark{ color: inherit; background-image: linear-gradient(to bottom, transparent 40%, #fffd6c 40%);}

/*------------------------------------------------
    子カテ　メインイメージ
-------------------------------------------------*/
.hierarchy2Cont .contentHead{
	margin-bottom: 30px;
	padding-bottom: 15px;
	overflow: hidden;
}
.hierarchy2Cont .contentHead .h2Box{
	background: linear-gradient(to right, #d43e3e 0%,#e06c6c 70%,#ffdede 100%);
	padding: 20px 15px;
	box-shadow: 10px 10px 0 #f5cccc;
}
.hierarchy2Cont .contentHead .h2Box h2{
	color: #fff;
	font-size: 38px;
	font-weight: bold;
	line-height: 1.3em;
}
.hierarchy2Cont .contentHead .headText{
	padding: 30px;
	min-height: 300px;
	position: relative;
}
.hierarchy2Cont .contentHead .headText dl{
	width: 380px;
}
.hierarchy2Cont .contentHead .headText dl dt{
	margin-bottom: 10px;
	font-size: 22px;
	font-weight: bold;
	line-height: 1.5em;
}
.hierarchy2Cont .contentHead .headText dl dt mark{
	color: #d43e3e;
}
.hierarchy2Cont .contentHead .headText dl dd p{
	font-size: 13px;
}

.hierarchy2Cont .headText:after{
	content: "";
	display: block;
	width: 450px;
	height: 430px;
	background-repeat: no-repeat;
	position: absolute;
	top: -90px;
	right: 0;
}

@media screen and ( max-width: 736px ){
	.hierarchy2Cont .contentHead .h2Box{
		padding: 10px 15px;
	}
	.hierarchy2Cont .contentHead .h2Box h2{
		font-size: 24px;
	}
	.hierarchy2Cont .contentHead .headText{
		min-height: auto;
		padding: 280px 10px 10px;
	}
	.hierarchy2Cont .contentHead .headText dl{
		width: auto;
	}
	
	.hierarchy2Cont .headText:after{
		background-size: 100%;
		width: 300px;
		height: 280px;
		position: absolute;
		transform: translateX(-50%);
		bottom: auto;
		left: 50%;
		top: 0;
	}

	/*crayon*/
	.hierarchy2Cont.crayon .headText:after{
		width: 300px;
		height: 280px;
	}
}



/*------------------------------------------------
    共通
-------------------------------------------------*/
.relationLink,
.groupLink{
	margin: 50px auto;
}
.relationLink > .title,
.groupLink > .title{
	color: #333;
	margin-bottom: 15px;
	font-size: 20px;
	font-weight: bold;
	line-height: 1.5em;
	text-align: center;
	border-bottom: 1px solid #ff7417;
}

/*---- 関連リンク ----*/
.relationLink ul{
	display: flex;
	flex-wrap: wrap;
	gap: 15px 10px;
	padding: 0;
}
.relationLink ul li{
	width: calc((100% - 20px) / 3);
}
.relationLink ul li img{
	width: 100%;
	height: auto;
}
.relationLink ul li a{
	display: block;
}


/*---- グループリンク ----*/
.groupLink ul{
	display: flex;
	flex-wrap: wrap;
	gap: 15px 15px;
	padding: 0 25px;
}
.groupLink ul li{
	width: 200px;
}
.groupLink ul li a{
	display: block;
}

@media screen and ( max-width: 736px ){
	.relationLink,
	.groupLink{
		width: auto;
		margin: 50px 0;
	}
	.relationLink > .title,
	.groupLink > .title{
		font-size: 18px;
	}

	/*---- 関連リンク ----*/
	.relationLink ul{
		margin: 0 2.5%;
	}
	.relationLink ul li{
		width: calc((100% - 20px) / 3);
	}

	/*---- グループリンク ----*/
	.groupLink ul{
		margin: 0 2.5%;
		padding: 0;
	}
	.groupLink ul li{
		width: calc((100% - 30px) / 3);
		text-align: center;
	}
	.groupLink ul li img{
		max-width: 200px;
	}
}
@media screen and ( max-width: 450px ){
	.groupLink ul{
		gap: 10px;
	}
	.relationLink ul li,
	.groupLink ul li{
		width: calc((100% - 10px) / 2);
	}
}

