.steps {
  background-color: #f5f5f5;
}

.gallery {
  padding: 70px 0 20px;
}

.gallery h1 {
  font-size: 40px;
  padding: 0 5px 15px;
  text-align: center;
  color: #1976d2;
}

@media (max-width: 481px) {
  .gallery h1 {
    font-size: 28px;
  }
}

.gallery .slider {
  max-width: 60%;
  position: relative;
  margin: 0 auto;
}

@media (max-width: 961px) {
  .gallery .slider {
    max-width: 90%;
  }
}

.gallery .slider .item {
  -webkit-animation-name: fade;
          animation-name: fade;
  -webkit-animation-duration: 1s;
          animation-duration: 1s;
}

.gallery .slider .item img {
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
}

.gallery .slider .item .slider-phone {
  display: none;
}

@media (max-width: 481px) {
  .gallery .slider .item .slider-phone {
    display: block;
  }
}

.gallery .slider .item .slider-pc {
  display: block;
}

@media (max-width: 481px) {
  .gallery .slider .item .slider-pc {
    display: none;
  }
}

.gallery .slider .prev, .gallery .slider .next {
  cursor: pointer;
  position: absolute;
  top: 45%;
  color: white;
  font-weight: bold;
  -webkit-transition: 0.6s ease;
  transition: 0.6s ease;
  border-radius: 50% 50%;
  font-size: 18px;
  height: 50px;
  width: 50px;
  line-height: 50px;
  text-align: center;
  vertical-align: middle;
}

.gallery .slider .prev:hover, .gallery .slider .next:hover {
  background-color: rgba(41, 181, 246, 0.3);
}

.gallery .slider .next {
  right: 0;
}

.gallery .slider-dots {
  text-align: center;
  padding-top: 10px;
}

.gallery .slider-dots .slider-dots_item {
  cursor: pointer;
  height: 12px;
  width: 12px;
  margin: 0 2px;
  background-color: #ddd;
  border-radius: 50%;
  display: inline-block;
  -webkit-transition: background-color 0.6s ease;
  transition: background-color 0.6s ease;
}

.gallery .slider-dots .slider-dots_item:hover {
  background-color: #1976d2;
}

.gallery .slider-dots .active-dot {
  background-color: #1976d2;
}

.types, .kinds {
  padding: 40px 0;
}

.types h2, .kinds h2 {
  font-size: 40px;
  padding: 0 5px 15px;
  text-align: center;
  color: #1976d2;
}

@media (max-width: 481px) {
  .types h2, .kinds h2 {
    font-size: 28px;
  }
}

.types ul, .kinds ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.types ul li, .kinds ul li {
  list-style: none;
  width: 600px;
  margin-bottom: 40px;
}

@media (max-width: 721px) {
  .types ul li, .kinds ul li {
    width: 320px;
  }
}

.types ul li figure, .kinds ul li figure {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.types ul li figure img, .kinds ul li figure img {
  width: 500px;
  height: 400px;
}

@media (max-width: 721px) {
  .types ul li figure img, .kinds ul li figure img {
    width: calc(500px * 0.55);
    height: calc(400px * 0.55);
  }
}

.types ul li figure figcaption, .kinds ul li figure figcaption {
  padding: 30px;
  margin-top: -75px;
  margin-right: -90px;
  background-color: #1976d2;
  color: white;
  width: 300px;
  height: 150px;
  text-align: right;
  font-size: 20px;
  border-radius: 7px;
}

@media (max-width: 721px) {
  .types ul li figure figcaption, .kinds ul li figure figcaption {
    padding: 10px;
    margin-top: -50px;
    margin-right: -40px;
    width: 220px;
    height: 100px;
    font-size: 18px;
  }
}

.types ul li figure figcaption a, .kinds ul li figure figcaption a {
  font-size: 24px;
  line-height: 40px;
  color: white;
  text-decoration: none;
  pointer-events: none;
}

@media (max-width: 721px) {
  .types ul li figure figcaption a, .kinds ul li figure figcaption a {
    font-size: 20px;
    line-height: 30px;
  }
}

.types ul li figure figcaption a:hover, .kinds ul li figure figcaption a:hover {
  text-shadow: 0 0 3px white;
}

.kinds {
  background-color: #f5f5f5;
}

@-webkit-keyframes fade {
  from {
    opacity: 0.6;
  }
  to {
    opacity: 1;
  }
}

@keyframes fade {
  from {
    opacity: 0.6;
  }
  to {
    opacity: 1;
  }
}
/*# sourceMappingURL=gallery.css.map */