.studies-main {
    margin: 100px auto 110px;
}

.studies-main .contents-heading{
    background-image: url('../images/studies/studies-heading-back.jpg');
    margin-bottom: 87px;
}

.studies-contents .second-heading{
    margin-bottom: 65px;
}

.contents-heading p{
    /*color: black;*/
}

.studies-title > p{
    text-align: center;
    font-size: .20rem;
    margin-bottom: 92px;
	font-weight: 500;
}

.studies-link__container{
    width: 1040px;
    max-width: 100%;
    margin: 0 auto 91px;
	padding:0 20px;
}

.studies-link{
    text-decoration: none;
    color: #000;
    border-bottom: solid 1px #717071;
    padding: 24px 80px;
    display: flex;
    justify-content: space-between;
    height: 146px;
}

.studies-link:nth-of-type(1){
    border-top: solid 1px #717071;
}

.studies-link__text {
    margin-top: 40px;
    width: 70%;
}

.studies-link__text span {
    color: #C35427;
    border: solid 1px #C35427;
    font-size: .14rem;
    border-radius: 19px;
    padding: 2px 10px;
    margin-bottom: 7px;
    display: inline-block;
    width: fit-content;
    text-align: center;
}

.studies-link__text p{
    font-size: .17rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    
}

.studies-link__img {
    width: 204px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url(../images/studies/studies01.jpg);
}

.no-img{
	background-color:#E6E6E6;
	position: relative;
	width: 204px;
}

.no-img p{
	position: absolute;
	left:0;
	top:0;
	bottom:0;
	right:0;
	margin:auto;
	font-size:.12rem;
	color:#fff;
	width: fit-content;
    height: fit-content;
	font-family: sans-serif;

}

/*ページネーション*/

.wp-pagenavi {
    display: flex;
    width: max-content;
    margin: 0 auto;
    justify-content: space-between;
}

.wp-pagenavi a{
	text-decoration: none;
    color: #000;
	font-size:.17rem;
	position: relative;
	padding: 0px 2px;
    margin: 0 13px;
}

.wp-pagenavi .current {
    color: #C35427;
    border-bottom: solid 1px;
	padding: 0px 2px;
    margin: 0 13px;
	font-size:.17rem;
}

.wp-pagenavi .nextpostslink {
    position: relative;
	color:#fff;
}

.nextpostslink::before{
	content: '';
	position: absolute;
}

.nextpostslink::before {
    position: absolute;
    left: -2px;
    top: 13.5px;
    display: block;
    content: "";
    width: 18px;
    height: 1px;
    background: #C35427;
}

.nextpostslink::after {
    position: absolute;
    left: 8px;
    top: 10px;
    display: block;
    content: "";
    width: 7px;
    height: 7px;
    border-right: 1px solid #C35427;
    border-top: 1px solid #C35427;
    transform: rotate(45deg);
}

.wp-pagenavi .previouspostslink {
    color: #fff;
}

.previouspostslink::before {
	content: '';
    position: absolute;
    left: -2px;
    top: 13.5px;
    display: block;
    content: "";
    width: 18px;
    height: 1px;
    background: #C35427;
}

.previouspostslink::after {
	content: '';
    position: absolute;
    left: -2px;
    top: 10px;
    display: block;
    content: "";
    width: 7px;
    height: 7px;
    border-right: 1px solid #C35427;
    border-top: 1px solid #C35427;
   	transform: rotate(45deg) scale(-1);
}


@media screen and (max-width:800px){

    .studies-title{
        padding: 0 42px;
    }

    .studies-title > p {
        text-align: justify;
        font-size: .18rem;
        line-height: 1.9;
        margin-bottom: 40px;
    }

    .studies-contents .second-heading {
        margin-bottom: 49px;
    }

    .studies-main .contents-heading{
        background-image: url('../images/studies/sp-studies-heading-back.jpg');
        margin-bottom: 66px;
    }


    .studies-link__container {
        padding: 0 28px;
		margin: 0 auto 53px;
    }

    .studies-link {
        padding: 48px 15px;
        flex-direction: column;
        height: inherit;
    }

    .studies-link__text span {
        font-size: .12rem;
        margin-bottom: 6px;
    }

	.studies-link__text p {
        font-size: .16rem;
        white-space: initial;
        overflow: initial;
        text-overflow: initial;
    }

    .studies-link__text {
        margin-top: 0px;
        width: 100%;
    }

    .studies-link__img {
        width: 100%;
        padding-bottom: 72%;
        margin-top: 17px;
    }
	
	.no-img {
    	background-color: #E6E6E6;
    	position: relative;
    	width: 100%;
    	/* height: auto; */
    	padding-bottom: 207px;
    	margin: 17px auto 0;
}
	
	/*ページネーション*/
.wp-pagenavi a {
    font-size: .14rem;
}

.wp-pagenavi {
    width: 207px;
}

.nextpostslink::before {
	left: -7px;
	top: 11.5px;
}

.nextpostslink::after {
    left: 3px;
	top: 8px;
}

.previouspostslink::before {
	left: -7px;
	top: 11.5px;
}

.previouspostslink::after {
    left: -6px;
	top: 8px;
}
    
}
	
	
	/*個別ページ*/
.studies_h3 {
    font-size: .30rem;
    margin-bottom: 63px;
}

.kobetsu-item {
   /* width: 1040px;
    max-width: 100%;
	padding:0 20px;
    margin: 300px auto 300px;
	box-sizing: border-box;*/
}

.kobetsu-item__container{
	width: 1040px;
    max-width: 100%;
	padding:0 20px;
    margin: 0px auto 0px;
	box-sizing: border-box;
}

.kobetsu-item .p1{
	font-size:.17rem;
	line-height: 0.6;
}

.kobetsu-item__text--contents{
	display:flex;
	flex-direction: column-reverse;
	margin-bottom: 55px;
}


.kobetsu-item__info > div {
    display: flex;
    /* justify-content: space-between; */
    border-bottom: solid 1px #000;
    padding: 10px 0 10px 25px;
}
.kobetsu-item__info > div:nth-of-type(1){
	border-top:solid 1px #000;
}

.kobetsu-item__info {
	margin-bottom: 40px;
    width: 100%;
}

.kobetsu-item__info > div p{
	font-size:.17rem;
}

.kobetsu-item-menu {
    width: 15%;
}

.kobetsu-item__text {
    width: 100%;
    font-size: .16rem;
    line-height: 2.2;
}

.kobestus-link-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 860px;
    max-width: 100%;
    margin: 0 auto;
}

.kobestus-link-box a{
	font-size:.17rem;
	color:#C35427;
	text-decoration: none;
}

.kobestus-link-center {
    border: solid 1px #C35427;
    width: 389px;
    max-width: 100%;
    display: inline-block;
    text-align: center;
	padding: 27px 0;
}

.kobestus-link-box > div{
	width:161px;
	
}

.kobestus-link-left a,
.kobestus-link-right a{
    position: relative;
    display: block;
}

.kobestus-link-right a::before,
.kobestus-link-right a::after{
	position: absolute;
	content: '';
	top: 50%;
    right: 0;
  	height: 1px;
	background-color:#C35427;
}

.kobestus-link-right a::before {
  width: 63px;
  transform: translateY(-50%);
}

.kobestus-link-right a::after {
  width: 17px;
  transform: translateY(-50%) rotate(45deg);
  transform-origin: right center;
}

.kobestus-link-left a::before, 
.kobestus-link-left a::after {
    position: absolute;
    content: '';
    top: 50%;
    left: 0;
    height: 1px;
    background-color: #C35427;
}

.kobestus-link-left a::before {
  width: 63px;
  transform: translateY(-50%) scale(-1, 1)  ;
}

.kobestus-link-left a::after {
    width: 17px;
    transform: translateY(-50%) rotate(310deg) scale(-1, 1);
    transform-origin: right center;
    left: -17px;
}


.kobestus-link-left {
    text-align: right;
}




/*個別スライダー*/

.item-page__container {
    width: 880px;
    max-width: 100%;
    margin: 0 auto 76px;
}

.thumbnail-img {
    height: 102px;
}

.slick-prev{
	width: 45px;
	height: 45px;
	left: -30px;
}
.slick-next{
	width: 45px;
	height: 45px;
	right: -50px;
}
.slick-next::before, .slick-prev::before {
    content: '';
    width: 45px;
    height: 45px;
    border-top: solid 2px #C35427;
    border-right: solid 2px #C35427;
    position: absolute;
    top: -33px;
    margin: auto;
}



.slick-next::before {
    left: -6px;
    transform: rotate(45deg);
}

.slick-prev::before {
    left: -20px;
    transform: rotate(-135deg);
}

.slick-img__border{
	padding: 20px;
	border: solid 1px #717070;
	display: block;
}
.slick-slide img {
    display: block;
    display: block;
    margin: 0 auto;
    object-fit: contain;
    width: 100%;
    aspect-ratio: 1 / 0.63;
}

.slick-img__caption {
    margin: 10px 0 5px;
}
.item-slider {
    margin-bottom: 10px;
}

.thumbnail .slick-track {
    margin-left: 0 !important;
    width: 100% !important;
}

.thumbnail .slick-slide{
    padding-right: 13px;
    box-sizing: content-box;
    width: 162px;
}

.thumbnail-img img{
	object-fit: cover;
}

.thumbnail .slick-current img{
    border: solid 3px #C35427;
}


@media screen and (max-width:800px){

    .studies-main {
        margin: 0 auto 70px;
    }

	.kobetsu-item{
		padding:0 0px;
	}

	.kobetsu-item__container {
		padding: 0 42px;
		margin: 0px auto 0px;
        overflow: hidden;
	}
	
    .studies_h3 {
        font-size: .28rem;
        margin-bottom: 41px;
    }

	.kobetsu-item__info {
		margin-bottom: 45px;
	}

	.kobetsu-item__info > div p {
		font-size: .14rem;
        line-height: 1.7;
	}

	.kobetsu-item-menu {
		width: 25%;
	}
	.kobetsu-item-text{
		width: 75%;
	}

	.kobetsu-item__info > div {
		padding: 12px 0;
	}

    .kobetsu-item__text {
        font-size: .15rem;
        line-height: 2.1;
    }

	.kobetsu-item .p1 {
		font-size: .14rem;
		line-height: 2.3;
	}


	/*スライダー*/
	.slick-prev, .slick-next {
		top: calc((100vw / (1 / 0.6)) / 2);
	}
	.item-page__container {
		width: 100%;
		margin: 0 auto 76px;
	}

	.slick-img__border{
		padding: 10px;
	}
	.slick-slide img {
		aspect-ratio: 1 / 0.7;
		margin: 0 auto;
	}
	.thumbnail .slick-slide {
		padding-right: 7px;
		width: 23%;
	}
	.slick-img__caption{
		margin-top: 10px;
	}

	.slick-next::before, .slick-prev::before {
		width: 13px;
		height: 13px;
		border-top: solid 1px #C35427;
		border-right: solid 1px #C35427;
		top: 0;
	}

	.slick-next::before {
		left: 1px;
	}

	.slick-prev::before {
		left: 6px;
	}

	.slick-img p {
        font-size: .15rem;
        line-height: 2;
    }

	.kobestus-link-box {
		flex-direction: column;
	}
    .kobestus-link-box a {
        font-size: .15rem;
    }

	.kobestus-link-center {
		width: 286px;
		padding: 19px 0;
		margin-bottom: 32px;
	}

	.kobestus-link-box > div {
		width: 140px;
	}

	.kobestus-link-left {
		text-align: right;
		margin-bottom: 34px;
	}

}
