/* https://copypet.jp/502/ */
.cp_box *, .cp_box *:before, .cp_box *:after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.cp_box {
  position: relative;
  width: 100%;
  margin-bottom: 1rem;
}
.cp_box label {
  position: absolute;
  z-index: 1;
  bottom: 0;
  width: 100%;
  height: 140px; /* グラデーションの高さ */
  cursor: pointer;
  text-align: center;
  /* 以下グラデーションは背景を自身のサイトに合わせて設定してください */
  background: linear-gradient(to bottom, rgba(256, 256, 256, 0) 0%, rgba(256, 256, 256, 0.95) 40%);
  margin-bottom: 0;
}
.cp_box input:checked + label {
  background: inherit; /* 開いた時にグラデーションを消す */
}
.cp_box label:after {
  line-height: 2.5rem;
  position: absolute;
  z-index: 2;
  bottom: 20px;
  left: 50%;
  width: 16rem;
  font-family: "Font Awesome 5 Free";
  content: 'もっと見る';
  transform: translate(-50%, 0);
  letter-spacing: 0.05em;
  color: #777;
  border-radius: 20px;
  background-color: #ddd;
}
.cp_box input {
  display: none;
}
.cp_box .cp_container {
  overflow: hidden;
  height: 320px; /* 開く前に見えている部分の高さ */
  transition: all 1s;
  background: #006934;
}
/* PC用 */
@media (min-width:480px) {
  .cp_box .cp_container {
    height: 750px; /* 開く前に見えている部分の高さ */
  }
#top .container.TT {
	margin-bottom: -20px;
}
}
.cp_box input:checked + label {
  /* display: none ; 閉じるボタンを消す場合解放 */
}
.cp_box input:checked + label:after {
  font-family: "Font Awesome 5 Free";
  content: '閉じる';
}
.cp_box input:checked ~ .cp_container {
  height: auto;
  padding-bottom: 80px; /* 閉じるボタンのbottomからの位置 */
  transition: all 1s;
}
