@charset "UTF-8";

main {
  position: relative;
}

.first-view {
  height: 580px;
  margin-top: 30px;
  position: relative;
  background-color: #f5f5f5;
}

.first-view-text {
  position: absolute;
  top: 25px;
  right: 25px;
  z-index: 5;
}

/*==================================================
スライダーのためのcss
===================================*/
.slider-3 .slick-slide {
  margin: 0 60px;
  padding: 60px 0;
  position: relative;
}
.slider-3 .slick-slide .slide-img {
  width: 300px;
  height: 400px;
  transition: all 0.6s ease 0.4s;
    opacity: 0.8;
  box-shadow: 7px 7px 15px -5px #666;
  overflow: hidden;
}
.slider-3 .slick-slide.slick-current .slide-img {
    transform: scale(1.2);
    opacity: 1;
}
.slider-3 .slick-slide .slide-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slider-3 .slick-arrow {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #fff;
  cursor: pointer;
  border: none;
  outline: none;
  font-size: 0;
  position: absolute;
  top: 50%;
  z-index: 1;
  transform: translateY(-50%);
  filter: drop-shadow(0px 3px 6px rgba(0, 0, 0, 0.16));
}
.slider-3 .slick-arrow::before {
  content: '';
  display: block;
  width: 12px;
  height: 12px;
  border: 1px solid #09000d;
  border-width: 3px 3px 0 0;
  position: absolute;
  top: 24px;
  transform: rotate(45deg);
}
.slider-3 .slick-next {
  right: 0;
}
.slider-3 .slick-prev {
  left: 0;
}
.slider-3 .slick-next::before {
  left: 20px;
}
.slider-3 .slick-prev::before {
  border-width: 0 0 3px 3px;
  right: 22px;
}
.dots-3 .slick-dots {
  text-align: center;
}
.dots-3 .slick-dots li {
  display: inline-block;
}
.dots-3 .slick-dots button {
  display: block;
  width: 10px;
  height: 10px;
  margin: 6px;
  font-size: 0;
  padding: 0;
  border: 0;
  outline: none;
  cursor: pointer;
  background: #bcbcbc;
  border-radius: 50%;
}
.dots-3 .slick-dots .slick-active button {
  background: #0a467d;
}
/*==================================================
スライダーのためのcssおわり
===================================*/

.work-contents {
  height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}

.work-contents h1 {
  font-family: 'Roboto', sans-serif;
  font-weight: bold;
  font-size: 32px;
}

.work-contents p {
  font-size: 15px;
  margin-top: 0;
}

.feature {
  display: flex;
  justify-content: space-between;
  width: 950px;
  max-width: 90%;
  margin-top: 30px;
  margin-left: auto;
  margin-right: auto;
  align-items: flex-start;
  background-color: #f5f5f5;
  padding: 30px;
}

.feature img {
  width: 360px;
}

.feature-text {
  max-width: 500px;
  margin-right: 40px;
  padding: 0 0 0 20px;
}

.reverse {
  flex-direction: row-reverse;
}

.reverse .feature-text {
  margin-left: 40px;
  margin: 0;
}

.feature-text h2 {
  font-size: 22px;
  font-weight: bold;
  line-height: 30px;
}

.feature-text h2::after {
  content: '';
  display: block;
  width: 36px;
  height: 3px;
  background-color: #000000;
  margin-top: 20px;
}

.feature-text p {
  font-size: 15px;
  line-height: 28px;
  margin-top: 25px;
}

.link-button-area {
  text-align: center;
  padding-top: 30px;
}

.link-button {
  font-family: 'Roboto', sans-serif;
  font-weight: bold;
  background-color: #f4dd64;
  display: inline-block;
  min-width: 150px;
  line-height: 30px;
  border-radius: 15px;
}

.link-button:hover {
  background-color: #d8b500;
}

footer {
  position: relative;
}



@media (max-width: 800px) {

  .first-view {
    margin-top: 0;
  }

  .slider-3 .slick-arrow {
    height: 0;
  }

  .feature {
    display: block;
    width: 500px;
  }

  .feature-text {
    margin-right: 0;
  }

  .reverse .feature-text {
    margin-left: 0;
  }

  .feature img {
    width: 100%;
    height: auto;
    margin-top: 25px;
  }

}
