/* Funakoshi common read-more control. No external fonts or libraries. */
.cp_box *, .cp_box *::before, .cp_box *::after { box-sizing: border-box; }
.cp_box { position: relative; }
.cp_box > input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.cp_box > label {
  position: absolute;
  z-index: 2;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  cursor: pointer;
  text-align: center;
  background: linear-gradient(to bottom, rgba(250,252,252,0) 0%, rgba(250,252,252,.95) 90%);
}
.cp_box > label::after {
  position: absolute;
  z-index: 3;
  bottom: 20px;
  left: 50%;
  width: 16rem;
  max-width: calc(100% - 30px);
  line-height: 2.5rem;
  content: '▽ 続きをよむ';
  transform: translateX(-50%);
  letter-spacing: .05em;
  color: #fff;
  border-radius: 20px;
  background-color: #1b2538;
  font-weight: 700;
}
.cp_box > .cp_container { overflow: hidden; height: 250px; }
/* Expanded: keep the CLOSE button at the bottom of all papers. */
.cp_box > input:checked + label { height: 80px; background: none; }
.cp_box > input:checked + label::after { content: '△ 閉じる'; }
.cp_box > input:checked ~ .cp_container { height: auto; padding-bottom: 80px; }
.cp_box > input:focus-visible + label::after { outline: 2px solid #0e3774; outline-offset: 3px; }
