@charset "UTF-8";

.more_text {
  position: relative;
}
/* ボタン */
.more_text_btn {
  background-color: #00bde3;
  border: 1px solid #00b0d4;
  bottom: 0;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-size: 15px;
  left: 0;
  margin: auto;
  padding: 2px 5px;
  border-radius: 5px;
  position: absolute;
  right: 0;
  text-align: center;
  transition: all .2s;
  width: fit-content;
  z-index: 1;
}
/* 続きを読むボタンの表記 */
.more_text_btn::after {
  content: "続きを読む";
}
/* ボタンhover時のスタイル */
.more_text_btn:hover {
  background-color: #fff;
  color: #6495ed;
}
.more_text_content {
  overflow: hidden; /* テキストを隠す */
  position: relative;
}
/* 最初に見えてるテキストエリアの高さ */
.more_text_content.is-hide {
  height: 100px;
}
/* テキストをグラデーションで隠す */
.more_text_content.bg_red::before {
  /*
  background: -webkit-linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,.9) 50%, rgba(255,255,255,.9) 50%, #fff 100%);
  background:         linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,.9) 50%, rgba(255,255,255,.9) 50%, #fff 100%);
  */

  background: -webkit-linear-gradient(to bottom, rgba(255, 242, 248,0) 0%, rgba(255, 242, 248,.9) 50%, rgba(255, 242, 248,.9) 50%, #fff2f8 100%);
  background:         linear-gradient(to bottom, rgba(255, 242, 248,0) 0%, rgba(255, 242, 248,.9) 50%, rgba(255, 242, 248,.9) 50%, #fff2f8 100%);

  bottom: 0;
  content: "";
  height: 60px; /* グラデーションで隠す高さ */
  position: absolute;
  width: 100%;
}
/* 閉じるボタンの位置 */
.more_text_btn.is-show {
  bottom: -3em;
}
/* 閉じるボタンの表記 */
.more_text_btn.is-show::after {
  content: "閉じる";
}
/* 続きを見るボタンをクリックしたらテキストを隠しているグラデーションを消す */
.more_text_btn.is-show + .more_text_content::before {
  display: none;
}