
*, *:before, *:after {
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
}
.cp_cssslider {
  width: 90%;
  padding-top: 90%; 	/*画像の高さ正方形 */
	position: relative;
	margin: 0 auto 3em auto;
}
.cp_cssslider > img {
	position: absolute;
	left: 0;
	top: 0;
	transition: all 0.5s;
	border-radius: 3px;
	box-shadow:0px 0px 5px 0px rgba(0,0,0,0.3);
  width: 100%;
	object-fit: contain;
	height: 420px;
}
.cp_cssslider input[name='cp_switch'] {
	display: none;
}
/* サムネイル */
.cp_cssslider label {
	margin: 0px 1.4px 0 1.4px;
	border: 2px solid #ffffff;
	display: inline-block;
	cursor: pointer;
	transition: all 0.5s ease;
	opacity: 0.6;
	border-radius: 3px;
}
.cp_cssslider label:hover {
	opacity: 0.9;
}
.cp_cssslider label img {
	display: block;
	width: 60px;
	border-radius: 2px;
}
.cp_cssslider input[name='cp_switch']:checked + label {
	border: 2px solid #FF7043;
	opacity: 1;
}
.cp_cssslider input[name='cp_switch'] ~ img {
	opacity: 0;
}
.cp_cssslider input[name='cp_switch']:checked + label + img {
	opacity: 1;
}
.text{
	white-space: pre-wrap;
}
@media screen and (max-width:1400px) {
	.cp_cssslider {
		width: 90%;
		padding-top: 90%; 	/*画像の高さ正方形 */
		position: relative;
		margin:1em auto 3em auto;
	}
	.cp_cssslider > img {
		position: absolute;
		left: 0;
		top: 0;
		transition: all 0.5s;
		border-radius: 3px;
		box-shadow:0px 0px 5px 0px rgba(0,0,0,0.3);
	  width: 100%;
		object-fit: contain;
		height: 420px;
	}
}
@media screen and (max-width:1200px) {
	.cp_cssslider > img {
		position: absolute;
		left: 0;
		top: 0;
		transition: all 0.5s;
		border-radius: 3px;
		box-shadow:0px 0px 5px 0px rgba(0,0,0,0.3);
	  width: 100%;
		object-fit: contain;
		height: 380px;
	}
}

@media screen and (max-width:992px) {
  .cp_cssslider {
    width: 90%;
    padding-top: 90%; 	/*画像の高さ正方形 */
  	position: relative;
  	margin: 1em auto 2em auto;
  }
	.cp_cssslider > img {
		position: absolute;
		left: 0;
		top: 0;
		transition: all 0.5s;
		border-radius: 3px;
		box-shadow:0px 0px 5px 0px rgba(0,0,0,0.3);
		width: 100%;
		object-fit: contain;
		height: 290px;
	}
  /* サムネイル */
  .cp_cssslider label {
  	margin: 0px 0px 0 0px;
  	border: 2px solid #ffffff;
  	display: inline-block;
  	cursor: pointer;
  	transition: all 0.5s ease;
  	opacity: 0.6;
  	border-radius: 3px;
  }
  .cp_cssslider label img {
  	display: block;
  	width: 52.5px;
  	border-radius: 2px;
  }
}
@media screen and (max-width:767px) {
	.cp_cssslider > img {
		position: absolute;
		left: 0;
		top: 0;
		transition: all 0.5s;
		border-radius: 3px;
		box-shadow:0px 0px 5px 0px rgba(0,0,0,0.3);
	  width: 100%;
		object-fit: contain;
		height: 440px;
	}
}
@media screen and (max-width:525px) {
	.cp_cssslider > img {
		position: absolute;
		left: 0;
		top: 0;
		transition: all 0.5s;
		border-radius: 3px;
		box-shadow:0px 0px 5px 0px rgba(0,0,0,0.3);
	  width: 100%;
		object-fit: contain;
		height: 370px;
	}
}
@media screen and (max-width:440px) {
	.cp_cssslider > img {
		position: absolute;
		left: 0;
		top: 0;
		transition: all 0.5s;
		border-radius: 3px;
		box-shadow:0px 0px 5px 0px rgba(0,0,0,0.3);
	  width: 100%;
		object-fit: contain;
		height: 290px;
	}
}
@media screen and (max-width:350px) {
	.cp_cssslider > img {
		position: absolute;
		left: 0;
		top: 0;
		transition: all 0.5s;
		border-radius: 3px;
		box-shadow:0px 0px 5px 0px rgba(0,0,0,0.3);
	  width: 100%;
		object-fit: contain;
		height: 230px;
	}
}
