﻿.fadein {
    opacity: 0;
    transform: translate(0,0);
    transition: all 1.5s;
  &.fadein-left{
      transform: translate(-30px,0);
  }
  &.fadein-right{
      transform: translate(30px,0);
  }
  &.fadein-up{
      transform: translate(0,-30px);
  }
  &.fadein-bottom{
      transform: translate(0,30px);
  }
  &.scrollin{
    opacity: 1 !important;
    transform: translate(0, 0) !important;
  }
}
/* ---------------------------------------------------------- */
/* 見出し */
/* ---------------------------------------------------------- */
h1 + p{padding-left:2rem;}
h2 + p{padding-left:2.5rem;}
h3 + p{padding-left:3rem;}
h4 + p{padding-left:3.5rem;}
h5 + p{padding-left:4rem;}

.wrapper_1200  p{padding-left:0rem;}

/* ---------------------------------------------------------- */
/* 続きを見る */
/* ---------------------------------------------------------- */
.readmore {
  position: relative;
  margin: 50px auto 0px;
  margin: 1rem auto 0px;
  padding: 0 0 75px;
  padding: 0 0 2rem;
}

.readmore label {
  position: absolute;
  display: table;
  left: 50%;
  bottom: 0;
  margin: 0 auto;
  width: 200px;
  padding: 10px 0;
  padding:  0;
  color: #fff;
  text-align: center;
  border-radius: 5px;
  border-radius: 5px;
  background-color: #777;
  transform: translateX(-50%);
  cursor: pointer;
  z-index: 1;
}

.readmore label::before{
  content: '▼続きを見る▼';
}

.readmore input[type="checkbox"]:checked ~ label::before {
  content: '▲　元に戻す　▲';
}

.readmore input[type="checkbox"]{
  display: none;
}

.readmore-content {
  position: relative;
  height: 200px;
  height: 10rem;
  overflow: hidden;
}

.readmore input[type="checkbox"]:checked ~ .readmore-content {
  height: auto;
}
.readmore-content::before {
  position: absolute;
  display: block;
  content: "";
  bottom: 0;
  left: 0;
  width: 100%;
  height: 75px;
  background: linear-gradient( rgba(255,255,255,0) 0%, rgba(255,255,255,0.8) 50%, #fff 100%);
}

.readmore input[type="checkbox"]:checked ~ .readmore-content::before {
  display: none;
}
