h1 {
  color: #064c73;
  font-size: 40px;
  margin: 20px auto 70px;
  font-weight: bold;
  text-align: center;
}
.term-douga h1 {
  color: #064c73;
}

.term-web-design h1 {
  color: #2f7e7e;
}

.works.main-container {
  max-width: 1100px;
  padding: 0 15px;
  margin: 0 auto 150px;
}

.categories-list a {
  display: block;
  width: 100px;
  height: 35px;
  border: 1px solid #7e7e7e;
  font-size: 20px;
  text-decoration: none;
  padding: 10px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}
a.this-category {
  color: #fff;
}
.categories-list li:nth-of-type(1) .this-category {
  background-color: #064c73;
}
.categories-list li:nth-of-type(2) .this-category {
  background-color: #197b7b;
}
.pagination.upper {
  margin-top: 70px;
}
.pagination.bottom {
  margin-top: 30px;
  margin-bottom: 70px;
}
.categories-list {
  display: flex;
  margin: 0 auto;
  justify-content: center;
  gap: 30px;
  font-size: 30px;
}
.main-container h2 {
  margin-top: 60px;
  font-size: 30px;
  text-align: center;
  border-bottom: 1px dashed #b0c5cf;
  padding-bottom: 30px;
}
.works.main-container {
  max-width: 1100px;
  margin: 0 auto 130px;
  padding: 0 15px;
}
.toWorks {
  display: flex;
  gap: 35px;
  margin: 0 auto;
  justify-content: center;
  text-align: center;
}
.toWorks a {
  color: #fff;
  width: 520px;
  height: 150px;
  font-size: 20px;
  text-decoration: none;
  line-height: 1.4em;
  font-weight: bold;
  border-radius: 10px;
  color: #064c73;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 1px 1px 5px #b6c4c9;
  transition: 0.3s;
}
.toWorks a:hover {
  box-shadow: 1px 1px 15px #b6c4c9;
  transition: 0.5s;
}

.toDougaWorks::before {
  content: url("../../images/douga.png");
  transform: scale(0.6);
  margin-left: -20px;
  margin-right: 25px;
}
.toWebWorks::before {
  content: url("../../images/web.png");
  transform: scale(0.6);
  margin-left: -10px;
  margin-right: 25px;
}
.works-list-img {
  display: flex;
  align-items: flex-start;
}
.works-topImg {
  position: relative;
  width: 100%;
  min-height: 460px;
  background-image: url("./../../images/staffs.png?202205");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.works-list {
  padding: 0px 15px;
}
.works-list li {
  padding: 40px 0;
  border-bottom: 1px dotted #074054;
  overflow: hidden;
  display: flex;
}
@media screen and (max-width: 767px), print {
  .works-list li {
    flex-direction: column;
  }
}
.works-list li a.list {
  text-decoration: none;
  color: #063f53;
  transition: all 0.3s;
}
.works-list li > a:hover {
  opacity: 0.5;
}

.works-list .txt {
  padding: 0 0px 0 30px;
}

.txt-01 {
  display: flex;
  align-items: center;
  flex-direction: row;
  margin: 0 0 15px 0;
  position: relative;
}

.txt-01 img {
  position: absolute;
  left: 5px;
  width: 40px;
  height: auto;
}

.category {
  margin: 0;
  display: inline-block;
  padding: 7px 10px;
  margin-right: 10px;
  width: 35px;
  text-align: center;
  padding-left: 50px;
}

.category.douga {
  background-color: #eff6f9;
}
.category.web-design {
  background-color: #eff9f8;
}

ul.standard.note li {
  text-indent: 0em;
}

.navigation.pagination {
  width: 100%;
  box-sizing: border-box;
  padding: 0 10px;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 15px 0;
}
.about-list {
  text-align: center;
  margin: 20px 0;
}

.works-list a {
  position: relative;
}

.works-list .category {
  padding-right: 5px;
}

.works-list .desc {
  margin-bottom: 20px;
}

/*-------------------------------------------------------
 1024px
 --------------------------------------------------------*/
@media screen and (max-width: 1024px) {
  .toWebWorks::before {
    margin-right: 0;
  }
  .toDougaWorks::before {
    margin-right: 0;
  }
  .toWorks {
    gap: 25px;
  }
}
/*-------------------------------------------------------
 767px
 --------------------------------------------------------*/
@media screen and (max-width: 767px) {
  .toWorks {
    flex-direction: column;
    align-items: center;
  }
  .toWorks a {
    width: 100%;
    height: 100px;
    font-size: 20px;
    text-align: left;
    justify-content: flex-start;
  }
  .toWorks a > span {
    margin-right: 20px;
  }
  .toDougaWorks::before,
  .toWebWorks::before {
    margin-left: 0;
  }

  .toDougaWorks::before,
  .toWebWorks::before {
    transform: scale(0.5);
  }

  .works-list .desc {
    padding-right: 0;
  }
  .works-list .txt {
    padding: 0;
  }

  .list.douga::after {
    top: 54px;
    right: 0;
    transform: translateY(0) scale(0.6);
  }
  .list.web-design::after {
    top: 54px;
    right: 30px;
    transform: translateY(0) scale(1.5);
  }
}
/*-------------------------------------------------------
 599px
 --------------------------------------------------------*/
@media screen and (max-width: 599px) {
  .toDougaWorks::before,
  .toWebWorks::before {
    transform: scale(0.4);
  }

  .toWorks a {
    font-size: 16px;
  }
  .toWorks {
    gap: 15px;
  }

  .works-cat-list a {
    padding: 1em 0;
  }
  .works-topImg {
    position: relative;
    width: 100%;
    min-height: 300px;
    background-image: url("./../../images/staffs.png?202205");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
  }
  h1 {
    font-size: 35px;
  }

  .main-container h2 {
    font-size: 25px;
  }

  .works-list-img img {
    display: block;
    margin: 0 auto 20px;
    width: 90%;
    height: auto;
  }
  .works-list .txt {
    padding: 0px 0 0 0px;
  }
  .works-list {
    padding: 30px 10px;
  }
}
.btn {
  margin: 0;
}
@media screen and (max-width: 767px), print {
  .btn {
    margin: 0 auto;
  }
}
