#miryoku .kv {
  height: 600px;
  margin-bottom: 60px;
  background: url(../images/miryoku/kv.jpg) center center/auto 100% no-repeat #9dc138;
}

#miryoku .kv h2 {
  text-align: center;
  padding-top: 60px;
}

#miryoku .kv h2 img {
  width: 460px;
}

@media screen and (max-width: 768px) {
  #miryoku .kv {
    background: none;
    height: auto;
  }
  #miryoku .kv h2 {
    padding-top: 0;
  }
  #miryoku .kv h2 img {
    width: 100%;
  }
}

#miryoku section {
  max-width: 980px;
  margin: auto;
  margin-bottom: 80px;
}

#miryoku section h3 {
  margin-bottom: 40px;
}

#miryoku section h3 img {
  width: 500px;
}

#miryoku section article {
  display: -webkit-flex;
  -webkit-justify-content: space-between;
  -webkit-align-items: stretch;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
  margin-bottom: 30px;
}

#miryoku section article .text {
  width: 48%;
}

#miryoku section article .text .article {
  margin-bottom: 20px;
}

#miryoku section article .text .article h4 {
  font-size: 32px;
  font-weight: normal;
  line-height: 1.4em;
  margin-bottom: 0.2em;
}

#miryoku section article .text .article p {
  font-size: 20px;
  line-height: 1.6em;
  text-align: justify;
  text-align-last: left;
}

#miryoku section article figure {
  width: 50%;
}

#miryoku section article figure img {
  width: 130%;
  max-width: initial;
}

#miryoku section div.miryoku ul {
  display: -webkit-flex;
  -webkit-justify-content: space-between;
  -webkit-align-items: stretch;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
}

#miryoku section div.miryoku ul li {
  width: 48%;
  position: relative;
}

#miryoku section div.miryoku ul li img {
  width: 100%;
}

#miryoku section div.miryoku ul li a {
  position: absolute;
  left: 0;
  bottom: 35px;
  display: block;
  width: 100%;
  text-align: center;
}

#miryoku section div.miryoku ul li a img {
  width: 60%;
  -webkit-transition: all 0.2s cubic-bezier(0.645, 0.045, 0.355, 1.000);
  -o-transition: all 0.2s cubic-bezier(0.645, 0.045, 0.355, 1.000);
  transition: all 0.2s cubic-bezier(0.645, 0.045, 0.355, 1.000);
}

#miryoku section div.miryoku ul li a:hover img {
  -webkit-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
}

#miryoku section#miryoku3 article figure img {
  width: 110%;
  margin-top: -60px;
}

#miryoku section#miryoku3 article .text {
  width: 40%;
}

#miryoku section:nth-of-type(even) h3 {
  text-align: right;
}

#miryoku section:nth-of-type(even) article {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
  -ms-flex-direction: row-reverse;
  flex-direction: row-reverse;
}

#miryoku section:nth-of-type(even) article .text h4 {
  text-align: right;
}

#miryoku section:nth-of-type(even) article figure img {
  margin-left: -50%;
  width: 150%;
}

@media screen and (max-width: 768px) {
  #miryoku section {
    width: 90%;
    margin-bottom: 15vw;
  }
  #miryoku section h3 {
    margin-bottom: 10vw;
    text-align: center !important;
  }
  #miryoku section h3 img {
    width: 60%;
  }
  #miryoku section article {
    display: block;
    margin-bottom: 5vw;
  }
  #miryoku section article .text {
    width: 100% !important;
  }
  #miryoku section article .text .article {
    margin-bottom: 5vw;
  }
  #miryoku section article .text .article h4 {
    font-size: 8vw;
    margin-bottom: 0.5em;
    text-align: left !important;
  }
  #miryoku section article .text .article p {
    font-size: 4vw;
  }
  #miryoku section article figure {
    width: 100%;
  }
  #miryoku section article figure img {
    width: 100% !important;
    margin-top: 0 !important;
    margin-left: 0 !important;
  }
  #miryoku section div.miryoku ul {
    display: block;
  }
  #miryoku section div.miryoku ul li {
    width: 100%;
    margin-bottom: 5vw;
  }
  #miryoku section div.miryoku ul li a {
    bottom: 5vw;
  }
  #miryoku section div.miryoku ul li a img {
    width: 70%;
  }
}

#miryoku .extra .extra-kv {
  border-bottom: solid 15px #8fc31f;
  border-top: solid 15px #8fc31f;
  position: relative;
  text-align: center;
  background: url(../images/miryoku/extra-kv.jpg) center bottom/cover no-repeat #8fc31f;
  height: 600px;
}

#miryoku .extra .extra-kv h3 {
  position: absolute;
  right: calc(50vw - 600px);
  bottom: 0;
  width: 550px;
}

#miryoku .extra .extra-kv h3 img {
  width: 100%;
}

#miryoku .extra .extra-list {
  background: #EFEFF0;
  padding: 60px 0;
}

#miryoku .extra .extra-list ul {
  max-width: 980px;
  margin: auto;
  display: -webkit-flex;
  -webkit-justify-content: space-between;
  -webkit-align-items: stretch;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

#miryoku .extra .extra-list ul li {
  width: 33%;
  margin-bottom: 30px;
}

#miryoku .extra .extra-list ul li.sp {
  display: none;
}

#miryoku .extra .extra-list ul li img {
  width: 100%;
}

#miryoku .extra .extra-list ul li#extra3 {
  display: block;
}

#miryoku .extra .extra-list ul li#extra3 img {
  width: 106%;
  max-width: 1000%;
  margin-left: -5%;
}

#miryoku .extra .extra-list p.attr {
  text-indent: -1em;
  padding-left: 1em;
  max-width: 980px;
  margin: auto;
}

@media screen and (max-width: 768px) {
  #miryoku .extra .extra-kv {
    border-width: 4vw;
    height: 100vw;
    background-image: url(../images/miryoku/extra-kv-sp.jpg);
  }
  #miryoku .extra .extra-kv h3 {
    right: 5vw;
    width: 70vw;
    bottom: initial;
    top: 6vw;
  }
  #miryoku .extra .extra-list {
    padding: 10vw 0;
  }
  #miryoku .extra .extra-list ul {
    display: block;
    width: 86%;
  }
  #miryoku .extra .extra-list ul li {
    width: 100%;
    margin-bottom: 5vw;
  }
  #miryoku .extra .extra-list ul li.sp {
    display: block;
  }
  #miryoku .extra .extra-list ul li.wd {
    display: none;
  }
}

#miryoku .banner {
  max-width: 980px;
  margin: auto;
  padding-top: 60px;
}

#miryoku .banner ul li {
  margin-bottom: 20px;
}

#miryoku .banner ul li a {
  display: block;
  border: solid 1px #ccc;
  -webkit-transition: all 0.2s linear;
  -o-transition: all 0.2s linear;
  transition: all 0.2s linear;
}

#miryoku .banner ul li a:hover {
  opacity: 0.7;
}

#miryoku .banner ul li a img {
  vertical-align: bottom;
}

@media screen and (max-width: 768px) {
  #miryoku .banner {
    width: 90%;
    padding-top: 5vw;
  }
  #miryoku .banner ul li {
    margin-bottom: 3vw;
  }
}

@-webkit-keyframes popIn {
  0% {
    opacity: 0;
    -webkit-transform: scale(0.7);
    transform: scale(0.7);
  }
  80% {
    opacity: 1;
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
  }
  100% {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

@keyframes popIn {
  0% {
    opacity: 0;
    -webkit-transform: scale(0.7);
    transform: scale(0.7);
  }
  80% {
    opacity: 1;
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
  }
  100% {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

#miryoku .kv {
  opacity: 0;
  -webkit-transition: 1s 0.2s cubic-bezier(0.645, 0.045, 0.355, 1.000);
  -o-transition: 1s 0.2s cubic-bezier(0.645, 0.045, 0.355, 1.000);
  transition: 1s 0.2s cubic-bezier(0.645, 0.045, 0.355, 1.000);
}

#miryoku .kv.act3-activate {
  opacity: 1;
}

#miryoku section h3 {
  opacity: 0;
  -webkit-transform: translateX(100px);
  -ms-transform: translateX(100px);
  transform: translateX(100px);
  -webkit-transition: 1s 0.2s cubic-bezier(0.645, 0.045, 0.355, 1.000);
  -o-transition: 1s 0.2s cubic-bezier(0.645, 0.045, 0.355, 1.000);
  transition: 1s 0.2s cubic-bezier(0.645, 0.045, 0.355, 1.000);
}

#miryoku section h3.act3-activate {
  opacity: 1;
  -webkit-transform: translateX(0);
  -ms-transform: translateX(0);
  transform: translateX(0);
}

#miryoku section article .text .article h4, #miryoku section article .text .article p {
  opacity: 0;
  -webkit-transform: translateX(100px);
  -ms-transform: translateX(100px);
  transform: translateX(100px);
  -webkit-transition: 1s 0.2s cubic-bezier(0.645, 0.045, 0.355, 1.000);
  -o-transition: 1s 0.2s cubic-bezier(0.645, 0.045, 0.355, 1.000);
  transition: 1s 0.2s cubic-bezier(0.645, 0.045, 0.355, 1.000);
}

#miryoku section article .text .article p {
  -webkit-transition-delay: 0.5s;
  -o-transition-delay: 0.5s;
  transition-delay: 0.5s;
}

#miryoku section article .text .article.act3-activate h4, #miryoku section article .text .article.act3-activate p {
  opacity: 1;
  -webkit-transform: translateX(0);
  -ms-transform: translateX(0);
  transform: translateX(0);
}

#miryoku section article figure {
  opacity: 0;
  -webkit-transform: scale(0.7);
  -ms-transform: scale(0.7);
  transform: scale(0.7);
}

#miryoku section article figure.act3-activate {
  -webkit-animation: popIn 0.8s ease-out forwards;
  animation: popIn 0.8s ease-out forwards;
}

#miryoku section .miryoku ul li {
  opacity: 0;
  -webkit-transform: scale(0.7);
  -ms-transform: scale(0.7);
  transform: scale(0.7);
}

#miryoku section .miryoku ul li.act3-activate {
  -webkit-animation: popIn 0.5s ease-out forwards;
  animation: popIn 0.5s ease-out forwards;
}

#miryoku section .miryoku ul li:nth-child(2n) {
  -webkit-transition-delay: 0.5s;
  -o-transition-delay: 0.5s;
  transition-delay: 0.5s;
}

#miryoku .extra .extra-kv {
  width: 0;
  margin-left: 50%;
  -webkit-transition: 1s 0.2s cubic-bezier(0.645, 0.045, 0.355, 1.000);
  -o-transition: 1s 0.2s cubic-bezier(0.645, 0.045, 0.355, 1.000);
  transition: 1s 0.2s cubic-bezier(0.645, 0.045, 0.355, 1.000);
}

#miryoku .extra .extra-kv h3 {
  opacity: 0;
  -webkit-transform: scale(0.5) rotate(-45deg);
  -ms-transform: scale(0.5) rotate(-45deg);
  transform: scale(0.5) rotate(-45deg);
  -webkit-transition-delay: 1s;
  -o-transition-delay: 1s;
  transition-delay: 1s;
  -webkit-transition: 1s 0.2s cubic-bezier(0.645, 0.045, 0.355, 1.000);
  -o-transition: 1s 0.2s cubic-bezier(0.645, 0.045, 0.355, 1.000);
  transition: 1s 0.2s cubic-bezier(0.645, 0.045, 0.355, 1.000);
}

#miryoku .extra .extra-kv.act3-activate {
  width: 100%;
  margin-left: 0;
}

#miryoku .extra .extra-kv.act3-activate h3 {
  opacity: 1;
  -webkit-transform: scale(1) rotate(0deg);
  -ms-transform: scale(1) rotate(0deg);
  transform: scale(1) rotate(0deg);
}

#miryoku .extra .extra-list ul li {
  opacity: 0;
  -webkit-transform: scale(0.7);
  -ms-transform: scale(0.7);
  transform: scale(0.7);
}

#miryoku .extra .extra-list ul li:nth-child(3n+1) {
  -webkit-transition-delay: 0.3s;
  -o-transition-delay: 0.3s;
  transition-delay: 0.3s;
}

#miryoku .extra .extra-list ul li:nth-child(3n+2) {
  -webkit-transition-delay: 0.6s;
  -o-transition-delay: 0.6s;
  transition-delay: 0.6s;
}

#miryoku .extra .extra-list ul li.act3-activate {
  -webkit-animation: popIn 0.8s ease-out forwards;
  animation: popIn 0.8s ease-out forwards;
}
