@charset "utf-8";
/* CSS Document */

/*------------------------------------
    コラム
------------------------------------*/

/**/
header:not(:has(.h1Line)) .headMain {
	margin: 10px auto 5px;
}

@media screen and ( max-width: 768px ){
	header:not(:has(.h1Line)) .headMain {
		margin: 0;
	}
}

/**/
.list_box {
	display:flex;
	flex-flow: row wrap;
	justify-content: flex-start;
	gap: 20px 2%;
	margin: 30px auto 40px;
}

.list_box li {
	width: 32%;
}

.list_box li article {
	height: 100%;
	position: relative;
	border-radius: 10px;
	overflow: hidden;
}
.list_box li article.new:before {
	content: "NEW";
	display: block;
	background: #191919;
	color: #FFF;
	font-size: clamp(10px, 3vw, 12px);
	font-weight: bold;
	padding: 8px 12px;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	pointer-events: none;
	line-height: 1;
}

.list_box li a {
	height: 100%;
	display: block;
	padding: 10px;
	background: #f8f8f8;
	position: relative;
	
}

.list_box li a:hover {
	background: #fff0e2;
	opacity: 1;
}

.list_box li a:after {
	background-color: #ffd490;
	content: "";
	width: 100%;
	height: 3px;
	position: absolute;
	left: 0;
	bottom: 0;
	transform-origin: right top;
	transform: scale(0, 1);
	transition: transform .3s;
}
.list_box li a:hover::after {
	transform-origin: left top;
	transform: scale(1, 1);
}

.list_box li img {
	width: 100%;
	height: auto;
	margin-bottom: 10px;
}

.list_box li p {
	font-size: clamp(13px, 3vw, 16px);
	color: #242424;
	padding: 5px 10px;
	line-height: 1.5;
}

@media screen and (max-width: 480px) {
	.list_box {
		gap: 20px 4%;
	}

	.list_box li {
		width: 48%;
	}

	.list_box li article.new:before {
		padding: 6px 10px;
  }

	.list_box li p {
		padding: 0px 5px;
	}

}


/*----linkBtn----*/
.linkBtn a{
	display: flex;
	justify-content: center;
	column-gap: 10px;
	align-items: center;
	font-weight: bold;
	letter-spacing: 0.06em;
	text-align: center;
	color: #fff;
	background: var(--linkcolor);
	border: solid 2px var(--linkcolor);
	border-radius: 8px;
	margin: 0 auto;
	transition-duration: .3s;
	width: 400px;
	font-size: 16px;
	padding: 15px;
}
.linkBtn a:after{
	content: "";
	display: block;
	background: #fff;
	clip-path: polygon(0 0,100% 50%,0 100%);
	transition-duration: .3s;
	width: 8px;
	height: 8px;
	flex-shrink: 0;
}

@media (hover: hover) {
	.linkBtn a:hover{
		color: var(--linkcolor);
		background: #fff;
		opacity: 1;
	}
	.linkBtn a:hover::after{
		background:var(--linkcolor);
	}
}

@media screen and (max-width: 480px) {
	.linkBtn a {
        font-size: 15px;
        width: 90%;
        padding: 10px;
    }
}


/*------------------------------
	記事
------------------------------*/
.columnCont h1{
	font-size: 30px;
    font-weight: bold;
    letter-spacing: 0.06em;
    line-height: 1.2em;
    padding:0 10px 12px;
	margin-bottom: 20px;
    border-bottom: solid 3px #fbe2ca;
}

@media screen and (max-width: 480px) {
	.columnCont h1{
        font-size: 18px;
        padding-bottom: 15px;
    }
}


.columnCont h1 + img{
	display: block;
	margin: 0 auto;
}


/*-----目次-----*/
.columnCont .toc_box{
	max-width: 640px;
	padding: 30px 30px 10px;
	background: #f9fdeb;
	border: solid 3px #e8f3be;
	border-radius: 35px;
	margin: 0 auto 40px;
}
.columnCont .toc_box dt{
	display: flex;
	justify-content: center;
	align-items: center;
	column-gap: 15px;
	font-size: 18px;
	font-weight: bold;
	line-height: 1em;
	margin: 0 auto 10px;
}
.columnCont .toc_box dt:before,
.columnCont .toc_box dt:after{
    content: "";
    display: block;
    width: 5px;
    height: 5px;
    background: #3b3939;
    border-radius: 50%;
    flex-shrink: 0;
}

.columnCont .toc_box dd > ol{
	display: flex;
	flex-direction: column;
	gap: clamp(5px, 3vw, 15px);
	margin: 20px;
	font-size: clamp(13px, 3vw, 16px);
	counter-reset: number;
}
.columnCont .toc_box dd > ol > li{
	border-bottom: 1px solid #ddd;
	counter-increment: number;
}
.columnCont .toc_box dd > ol > li:before{
	content: counter(number)".";
	color: #999;
	margin: 0 5px;
	font-weight: 700;
}
.columnCont .toc_box dd > ol > li a{
	display: inline-block;
	position: relative;
	z-index: 1;
	color: #191919;
}
.columnCont .toc_box dd > ol > li a:hover{
	opacity: 1;
}
.columnCont .toc_box dd > ol > li a:before{
	background-color: #e9fba1;
	content: "";
	width: 100%;
	height: 10px;
	position: absolute;
	left: 0;
	bottom: 0;
	transform-origin: right top;
	transform: scale(0, 1);
	transition: transform .3s;
	mix-blend-mode: multiply;
}
.columnCont .toc_box dd > ol > li a:hover::before {
	transform-origin: left top;
	transform: scale(1, 1);
}

.columnCont .toc_box dd > ol > li > ul{
	display: flex;
	flex-direction: column;
	gap: 5px;
	margin: 10px 0 10px 50px;
}
.columnCont .toc_box dd > ol > li > ul > li{
	padding-left: 20px;
	position: relative;
}
.columnCont .toc_box dd > ol > li > ul > li:after{
	content: "";
	display: block;
	width: 15px;
	height: 1px;
	background-color: #999;
	margin: auto;
	position: absolute;
	left: 0;
	bottom: 0;
	top: 0;
}

.columnCont .toc_box dd > ol > li > ul > li a{
	font-size: 16px;
	font-weight: 500;
	position: relative;
}

/*-----記事内-----*/
.columnCont p{
	margin: 20px auto 30px;
	font-size: clamp(14px, 3vw, 17px);
	line-height: 2;
	padding: 0 30px;
}
.columnCont p mark{
	background-color: transparent;
	background-image: linear-gradient(to top, #ffe7e1 50%, transparent 50%);
}

.columnCont p + p.relation-link{
	margin-top: -20px;
}

.columnCont p.relation-link a{
	color: #92B609;
	border-bottom: solid 1px;
	font-weight: bold;
}
.columnCont p.relation-link a:hover{
	background-color: #f3ffc4;
	opacity: 1;
}

.columnCont .article_img{
	text-align: center;
}
.columnCont .article_img img{
	max-width: 670px;
}

.columnCont .article-box{
	margin: 60px auto;
}
.columnCont .article-box h2{
	background-color: #fbe2ca;
	color: #404040;
	margin: 0 0 30px;
	padding: 20px 35px;
	font-size: 26px;
	font-weight: 700;
	line-height: 1.5em;
}

.columnCont .article-box h3{
	margin: 15px auto;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.5em;
	position: relative;
	padding: 0 30px 10px;
	border-bottom: solid 3px #dcdcdc;
}

.columnCont .article-box h4{
	margin: 15px auto;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.5em;
	position: relative;
}

.columnCont .article-box p + h3,
.columnCont .article-box p + h4{
	margin-top: 50px;
}


@media screen and (max-width: 480px) {
	.columnCont p{
		padding: 0;
	}
}

/*-----pagination-----*/
.columnCont .pager_list{
	display: flex;
	flex-wrap: wrap;
	gap: 30px 0;
	margin: 80px auto 0;
}
.columnCont .pager_list > li > *{
	display: block;
	height: 100%;
	padding: 10px 15px;
	background-color: #f0f0f0;
	border-radius: 10px;
	transition: all .3s ease;
}
.columnCont .pager_list > li a{
	color: #191919;
	font-weight: bold;
}
.columnCont .pager_list > li > div{
	color: #999;
}
.columnCont .pager_list > li > * span{
	display: block;
	width: fit-content;
	margin-bottom: 10px;
	border-bottom: 1px solid #92B609;
	transition: all .3s ease;
	position: relative;
}
.columnCont .pager_list > li > * span:before{
	content: "";
	display: block;
	width: 12px;
	height: 1px;
	background-color: #92B609;
	position: absolute;
	bottom: 3px;
}
.columnCont .pager_list > li > a:hover{
	background-color: #f3ffc4;
	color: #92B609;
	opacity: 1;
}

.columnCont .pager_list > li.next{
	width: 42%;
	margin-right: auto;
}
.columnCont .pager_list > li.next span{
	padding: 0 5px 0 20px;
}
.columnCont .pager_list > li.next span:before{
	transform: rotate(-45deg);
	left: -2px;
}
.columnCont .pager_list > li.next > a:hover span{
	transform: translate(-5px,0);
}

.columnCont .pager_list > li.back{
	width: 42%;
	margin-left: auto;
}
.columnCont .pager_list > li.back span{
	margin-left: auto;
	padding: 0 20px 0 5px;
}
.columnCont .pager_list > li.back span:before{
	transform: rotate(45deg);
	right: -2px;
}
.columnCont .pager_list > li.back > a:hover span{
	transform: translate(5px,0);
}

.columnCont .pager_list > li.top{
	width: 60%;
	margin: 0 auto 40px;
}
.columnCont .pager_list > li.top a{
	margin: auto;
	padding: 15px;
	font-size: 16px;
	font-weight: 700;
	text-align: center;
	border: 2px solid #ff7723;
	color: #ff7723;
	background: #FFF;
	box-shadow: none;
	border-radius: 8px;
}
.columnCont .pager_list > li.top a:hover{
	background-color: #fff2d9;
}


@media screen and (max-width: 768px) {
	.columnCont h1{
		padding-right: 5px;
		font-size: 28px;
	}
	.columnCont h1:before{
		left: 8px;
	}

	/*-----目次-----*/
	.columnCont .toc_box{
		width: 95%;
		padding: 25px 15px 10px;
	}
	.columnCont .toc_box dt{
		font-size: 19px;
	}

	.columnCont .toc_box dd > ol{
		margin: 15px;
	}

	.columnCont .toc_box dd > ol > li > ul{
		margin-left: 40px;
	}

	.columnCont .toc_box dd > ol > li > ul > li a{
		font-size: 16px;
	}

	/*-----記事内-----*/
	.columnCont p{
		width: 100%;
	}
	
	.columnCont .article-box h2{
		font-size: 24px;
		width: calc(100% + 30px);
		margin: 0 -15px 20px;
	}

	.columnCont .article-box h3{
		width: 100%;
		font-size: 20px;
	}

	.columnCont .article-box h4{
		width: 95%;
		font-size: 18px;
	}

	/*-----pagination-----*/
	.columnCont .pager_list > li.next{
		width: 45%;
	}

	.columnCont .pager_list > li.back{
		width: 45%;
	}

	.columnCont .pager_list > li.top{
		width: 60%;
	}
}

@media screen and (max-width: 480px) {
	.columnCont h1{
		font-size: 21px;
	}
	.columnCont h1:before{
		left: 8px;
	}
	
	/*-----目次-----*/
	.columnCont .toc_box dt{
		font-size: 18px;
	}

	.columnCont .toc_box dd > ol{
		margin: 15px 10px;
		line-height: 1.6;
	}

	.columnCont .toc_box dd > ol > li > ul{
		margin-left: 30px;
	}

	.columnCont .toc_box dd > ol > li > ul > li a{
		font-size: 13px;
	}

	/*-----記事内-----*/
	.columnCont .article-box h2{
		font-size: 21px;
		padding: 20px;
	}

	.columnCont .article-box h3{
		font-size: 19px;
		padding: 0 0 8px;
	}
	.columnCont .article-box h3:before{
		width: 10px;
		height: 10px;
		box-shadow: 3px 3px 0 #0060aa;
		bottom: 3px;
		left: 3px;
	}

	.columnCont .article-box h4{
		font-size: 17px;
	}
	/*-----pagination-----*/
	.columnCont .pager_list{
		margin-top: 30px;
	}
	.columnCont .pager_list > li a{
		line-height: 1.4em;
	}
	.columnCont .pager_list > li.top{
		width: 80%;
	}
	.columnCont .pager_list > li.top a{
		padding: 15px 10px;
	}
}



/*-----各記事別-----*/

/*--column1・3・5--*/

.column1 .article-box ul,
.column3 .article-box ul,
.column5 .article-box ul{
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	font-size: 16px;
	font-weight: bold;
	color: #424242;
	width: fit-content;
	row-gap: 20px;
	padding: 15px 30px;
	background: #f6f6f6;
}
.column1 .article-box ul li,
.column3 .article-box ul li,
.column5 .article-box ul li{
	display: flex;
	column-gap: 10px;
	align-items: center;
}
.column1 .article-box ul li::before,
.column3 .article-box ul li::before,
.column5 .article-box ul li::before{
	content: "";
	display: block;
	flex-shrink: 0;
	width: 5px;
	height: 5px;
	background: #191919;
	border-radius: 50%;
}


@media screen and (max-width: 768px) {
	/*--column3・5--*/
	.column1 .article-box ul,
	.column3 .article-box ul,
	.column5 .article-box ul{
		width: 95%;
		margin: 0 auto;
	}
}

@media screen and (max-width: 480px) {
	/*--column3・5--*/
	.column1 .article-box ul,
	.column3 .article-box ul,
	.column5 .article-box ul{
		row-gap: 10px;
		font-size: 15px;
		padding: 15px;
	}
}