@charset"utf-8";

.cp_box *, .cp_box *:before, .cp_box *:after {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
.cp_box {
	position: relative;
}
.cp_box label {
	position: absolute;
	z-index: 1;
	bottom: 0;
	width: 100%;
	height: 100px; /* グラデーションの高さ */
	cursor: pointer;
	text-align: center;
	/* 以下グラデーションは背景を自身のサイトに合わせて設定してください */
	background: linear-gradient(to bottom, rgba(250, 252, 252, 0) 0%, rgba(250, 252, 252, 0.95) 90%);
}
.cp_box input:checked + label {
	background: inherit; /* 開いた時にグラデーションを消す */
}
.cp_box label:after {
	line-height: 2rem;
	position: absolute;
	z-index: 2;
	bottom: 20px;
	left: 50%;
	width: 15rem;
	font-size:20px;
	content: ' 過 去 の お 知 ら せ';
	transform: translate(-50%, 0);
	letter-spacing: 0.05em;
	color: #ffffff;
	border-radius: 20px;
	background-color: #aa6c39;
}
.cp_box input {
	display: none;
}
.cp_box .cp_container {
	overflow: hidden;
	height: 200px; /* 開く前に見えている部分の高さ */
	transition: all 0.5s;
}
.cp_box input:checked + label {
	/* display: none ; 閉じるボタンを消す場合解放 */
}
.cp_box input:checked + label:after {
	font-size:  20px;
	content: ' 閉　じ　る';
}
.cp_box input:checked ~ .cp_container {
	height: auto;
	padding-bottom: 50px; /* 閉じるボタンのbottomからの位置 */
	transition: all 0.5s;
}


.cp_box1 *, .cp_box1 *:before, .cp_box1 *:after {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
.cp_box1 {
	position: relative;
}
.cp_box1 label {
	position: absolute;
	z-index: 1;
	bottom: 0;
	width: 100%;
	height: 100px; /* グラデーションの高さ */
	cursor: pointer;
	text-align: center;
	/* 以下グラデーションは背景を自身のサイトに合わせて設定してください */
	background: linear-gradient(to bottom, rgba(250, 252, 252, 0) 0%, rgba(250, 252, 252, 0.95) 90%);
}
.cp_box1 input:checked + label {
	background: inherit; /* 開いた時にグラデーションを消す */
}
.cp_box1 label:after {
	line-height: 2rem;
	position: absolute;
	z-index: 2;
	bottom: 20px;
	left: 50%;
	width: 15rem;
	font-size:20px;
	content: ' 過 去 の 更 新';
	transform: translate(-50%, 0);
	letter-spacing: 0.05em;
	color: #ffffff;
	border-radius: 20px;
	background-color: #aa6c39;
}
.cp_box1 input {
	display: none;
}
.cp_box1 .cp_container1 {
	overflow: hidden;
	height: 200px; /* 開く前に見えている部分の高さ */
	transition: all 0.5s;
}
.cp_box1 input:checked + label {
	/* display: none ; 閉じるボタンを消す場合解放 */
}
.cp_box1 input:checked + label:after {
	font-size: 20px;
	content: ' 閉　じ　る';
}
.cp_box1 input:checked ~ .cp_container1 {
	height: auto;
	padding-bottom: 70px; /* 閉じるボタンのbottomからの位置 */
	transition: all 0.5s;
}

.cp_box2 *, .cp_box2 *:before, .cp_box2 *:after {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
.cp_box2 {
	width: auto;
	margin: 10px 5px;
}
.cp_box2 label {
	font-weight: bold;
	position: relative;
	display: block;
	width: 50%;
	margin: 15px 0;
	padding: 0.3em 1em;
	cursor: pointer;
	transition: all 0.3s;
	text-align: center;
	color: #0066cc;
	border: 2px solid #0066cc;
	border-radius: 3px;
}
.cp_box2 label:hover {
	transition: all 0.3s;
	color: #ffffff;
	background: #0066cc;
}

.cp_box2 input {
	display: none;
}
.cp_box2 .cp_container2 {
	position: relative;
	z-index: 10;
	overflow: hidden;
	height: 0;
	margin-top: -1px;
	transition: height 0.3s ease-in-out,box-shadow 0.6s linear;
	
}
.cp_box2 input:checked ~ div {
	transition: height 0.5s ease-in-out,box-shadow 0.1s linear;
}
/* 続きを読むを押すと表示されるテキストの高さ */
.cp_box2 input:checked ~ div.cp_container2 {
	height: 100%;
}

.cp_box3 *, .cp_box3 *:before, .cp_box3 *:after {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
.cp_box3 {
	width: auto;
	margin: 10px 5px;
}
.cp_box3 label {
	font-weight: bold;
	position: relative;
	display: block;
	width: 50%;
	margin: 15px 0;
	padding: 0.3em 1em;
	cursor: pointer;
	transition: all 0.3s;
	text-align: center;
	color: #0066cc;
	border: 2px solid #0066cc;
	border-radius: 3px;
}
.cp_box3 label:hover {
	transition: all 0.3s;
	color: #ffffff;
	background: #0066cc;
}

.cp_box3 input {
	display: none;
}
.cp_box3 .cp_container3 {
	position: relative;
	z-index: 10;
	overflow: hidden;
	height: 0;
	margin-top: -1px;
	transition: height 0.3s ease-in-out,box-shadow 0.6s linear;
	
}
.cp_box3 input:checked ~ div {
	transition: height 0.5s ease-in-out,box-shadow 0.1s linear;
}
/* 続きを読むを押すと表示されるテキストの高さ */
.cp_box3 input:checked ~ div.cp_container3 {
	height: 100%;
}
