@charset "UTF-8";

/*--------- ハンバーガーメニュー▼ ---------*/
/*============
nav
=============*/
nav {
  display: block;
  position: fixed;
  top: 0;
  left: -300px;
  bottom: 0;
  width: 300px;
  background: #ffffff;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transition: .5s;
  z-index: 3;
}
.open nav {
  left: 0;
}
nav .inner {
  padding: 25px;
}
nav .inner ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
nav .inner ul li {
  position: relative;
  margin: 0;
  border-bottom: 1px solid #333;
}
nav .inner ul li a {
  display: block;
  color: #333;
  font-size: 14px;
  padding: 1em;
  text-decoration: none;
  transition-duration: 0.2s;
}
nav .inner ul li a:hover {
  background: #e4e4e4;
}
@media screen and (max-width: 767px) {
  nav {
    left: -240px;
    width: 240px;
  }
}
/*============
@keyframes
=============*/
@keyframes equalizer01 {
  0% {
    width: 70%;
  }
  10% {
    width: 50%;
  }
  20% {
    width: 100%;
  }
  30% {
    width: 10%;
  }
  40% {
    width: 50%;
  }
  50% {
    width: 70%;
  }
  60% {
    width: 50%;
  }
  70% {
    width: 10%;
  }
  80% {
    width: 100%;
  }
  90% {
    width: 10%;
  }
  100% {
    width: 70%;
  }
}
@keyframes equalizer02 {
  0% {
    width: 30%;
  }
  10% {
    width: 20%;
  }
  20% {
    width: 40%;
  }
  30% {
    width: 10%;
  }
  40% {
    width: 20%;
  }
  50% {
    width: 30%;
  }
  60% {
    width: 20%;
  }
  70% {
    width: 10%;
  }
  80% {
    width: 40%;
  }
  90% {
    width: 10%;
  }
  100% {
    width: 30%;
  }
}
/*============
.toggle_btn
=============*/
.toggle_btn {
  display: block;
  position: fixed;
  top: 30px;
  right: 30px;
  width: 60px;
  height: 30px;
  transform: translate(0, 0);
  transition: all .5s;
  cursor: pointer;
  z-index: 3;
}
.open .toggle_btn {
  left: 330px;
}
.toggle_btn span {
  display: block;
  position: absolute;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: #666;
  transition: all .5s;
}
.toggle_btn span:nth-child(1) {
  top: 5px;
  width: 60px;
  animation: equalizer01 7000ms infinite;
}
.toggle_btn span:nth-child(2) {
  top: 15px;
  width: 30px;
  animation: equalizer02 5000ms infinite;
  animation-delay: 0.33s;
}
.toggle_btn span:nth-child(3) {
  top: 25px;
  width: 20px;
  animation: equalizer02 5000ms infinite;
}
.open .toggle_btn span {
  background-color: #fff;
  width: 30px;
}
.open .toggle_btn span:nth-child(1) {
  transform: translate(0, 10px) rotate(-45deg);
  animation: unset;
}
.open .toggle_btn span:nth-child(2) {
  opacity: 0;
  animation: unset;
}
.open .toggle_btn span:nth-child(3) {
  transform: translate(0, -10px) rotate(45deg);
  animation: unset;
}
@media screen and (max-width: 767px) {
  .open .toggle_btn {
    left: 260px;
  }
}
/*============
#mask
=============*/
#mask {
  display: none;
}
.open #mask {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: .8;
  z-index: 2;
  cursor: pointer;
  transition: all .5s;
}
/*============
main
=============*/
main {
  padding: 50px;
}
main h1 {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  text-align: center;
}
/*============
body
=============*/
body {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  background-color: #f8f8f8;
}
/*--------- ハンバーガーメニュー▲ ----------*/

/*-------- ふわっ▼ ------------*/
/* 下から */

.fadeUp{
  animation-name:fadeUpAnime;
  animation-duration:2.5s;
  animation-fill-mode:forwards;
  opacity:0;
  width: 80%;
  /* margin: 0 auto; */
  max-width: 500px;
  }

  @keyframes fadeUpAnime{
    from {
      opacity: 0;
    transform: translateY(50px);
    }
  
    to {
      opacity: 1;
    transform: translateY(0);
    }
  }

  /* スクロールをしたら出現する要素にはじめに透過0を指定　*/
 
.fadeUpTrigger{
  opacity: 0;
}
  
/*-------- イメージ▼ ------------*/
.atama{
  text-align: center;
  margin-top: 100px;
}
/*-------- カード▼ ------------*/


.samune {
  width: 4.0em;
  min-height: 100px;
}

.card-3 {
  width: 19em;
  margin: 0 auto;
  cursor: pointer;
  border: 0.5px solid #e9eaea;
  border-radius: 3px;
  transition: 0.3s;
  margin: 8px;
}

.content-img {
  padding: 0.4em 0;
  text-align: center;
  background: #e1f3ff;
}

.content {
  padding: 0.4em 0;
}

.title,
.post-day {
  position: relative;
  padding: 0 0.3em;
  margin: 0;
  font-size: 0.8em;
  line-height: 1.5;
}

.post-day {
  padding: 0 0.3em;
  font-size: 0.6em;
  color: #777;
}

/* 横並び */

.item-list{
  display: flex;
  justify-content: center; /* 中央寄せ */
  justify-content:space-around;
  
}
.item-list .item{
  box-sizing: border-box;
  padding: 40px auto;  
}
/*--------- ページネーション▼ ----------*/

ol {
  display: flex; /*横並び*/
  justify-content: center; /*左右中央ぞろえ*/
  align-items: center;/* 上下中央ぞろえ */
  flex-wrap: wrap;/* 折り返し指定 */
  list-style: none;
}

li:not(:last-child){ /*最後のli以外に指定*/
  margin-right: 10px;
}

ol li a {
  display: block;
  padding: 20px;
  color: #f2f2f2;
  line-height: 1;
  background-color: #5b8f8f;
  border-radius: 10px;
}


footer{
  width: 100%;
  height: 100px;
  background-color: #c4c4c4;
  color: white;
  text-align: center;
}

ul.footer-menu li {
display: inline;
}
