.article {
  max-width: 870px;
  margin: 150px auto;
}
.tag {
  font-weight: bold;
  color: #fff;
  display: inline-block;
  background-color: #6d6d6d;
  border-radius: 20px;
  padding: 3px 22px;
  margin-bottom: 20px;
}
.title {
  font-weight: bold;
  font-size: 32px;
}
.date {
  font-size: 20px;
}
.top {
  margin-bottom: 80px;
}
.news-content img{  
  max-width: 100%;
  width:auto;
  height:auto;
}
.news-content p{  
  margin-bottom:35px;
  line-height:28px;
}
.news-content p:last-of-type{  
  margin-bottom:60px;
}
.content-img {
  width: 100%;
  max-width: 100%;
}
.content-img img {
  width: 100%;
}
.text {
  margin: 80px 0 60px;
  line-height: 28px;
}
.view-btn {
  font-size: 18px;
  font-weight: bold;
  color: #187fc3;
  background: #fff;
  display: inline-block;
  padding: 14px 30px;
  border-radius: 30px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  width: 240px;
  text-align: left;
  margin-top: 20px;
  border: 1px solid #187fc3;
}
.view-btn::after {
  content: "";
  width: 10px;
  height: 10px;
  background-color: #187fc3;
  display: inline-block;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  right: 30px;
  transition: all 0.3s ease;
  transform: translate(-50%, -50%);
}
.view-btn::before {
  content: "\f061";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 30px;
  top: 50%;
  color: #fff;
  transform: translateY(-50%) translateX(-10px);
  opacity: 0;
  transition: all 0.6s ease;
}
.view-btn:hover {
  padding-left: 90px;
  padding-right: 50px;
}
.other {
  font-size: 24px;
  font-weight: bold;
  border-bottom: 1px solid #000;
  padding-bottom: 10px;
  margin-bottom: 60px;
}
.other-wrapper {
  margin-bottom: 150px;
}

.view-btn:hover::before {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
  color: #187fc3;
}

.view-btn:hover::after {
  opacity: 0;
}

.article-all-wrapper {
  display: block;
  text-align: left;
  font-size:0;
}
.article-all-wrapper > p {
  padding-top: 35px;
  text-align: center;
  color: #333333;
  
  font-size: 20px;
  font-weight: 400;
  line-height: 2.0;
  letter-spacing: 0.05em;
}
article {
  display:inline-block;
  vertical-align: top;
  background-color: #fff;
  box-shadow: 0 0 10px #e2e2e2;
  border-radius: 20px;
  width: calc((100% - 20px * 2) / 3);
  margin-top:26px;
  margin-right:20px;
}
article:nth-of-type(3n) {
  margin-right:0;
}
.article-img {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
}

.article-img img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}
.article-btn:hover .article-img img {
  transform: scale(1.1);
}
.article-text-wrapper {
  padding: 20px;
}
.article-tag {
  font-weight: bold;
  color: #6d6d6d;
  border: 1px solid #6d6d6d;
  border-radius: 30px;
  padding: 5px 30px;
  display: inline;
  font-size: 18px;
  margin-right:5px;
}
.article-text {
  margin: 20px 0 0 0;
  font-weight: bold;
  font-size: 18px;
}
@media (max-width: 1070px) {
  .article-text {
    font-size: 12px;
    margin-top: 5px;
  }
  .article-time {
    font-size: 10px;
  }
  .article-tag {
    font-size: 10px;
    padding: 3px 10px;
  }
}
@media (max-width: 800px) {
  article {
    display:inline-block;
    vertical-align: top;
    background-color: #fff;
    box-shadow: 0 0 10px #e2e2e2;
    border-radius: 20px;
    width: calc(50% - 10px);
    margin-top:20px;
    margin-right:10px;
  }
  article:nth-of-type(3n) {
    margin-right:10px;
  }
  article:nth-of-type(2n) {
    margin-left:10px;
    margin-right:0;
  }

  .article-all-wrapper {
    column-gap: 10px;
    row-gap: 16px;
  }
  .article-all-wrapper > p {
    padding-top: 35px;
    text-align: center;
    color: #333333;
    
    font-size: 18px;
    font-weight: 400;
    line-height: 2.0;
    letter-spacing: 0.05em;
  }
  .article-img {
    border-radius: 10px 10px 0 0;
  }
  .article-text {
    font-size: 12px;
    margin-top: 5px;
  }
  .article-time {
    font-size: 10px;
  }
  .article-tag {
    font-size: 10px;
    padding: 3px 10px;
  }
  .title {
    font-size: clamp(18px, calc(100vw / 32), 32px);
  }
}
@media (max-width: 700px) {
  .article-text-wrapper {
    padding: 10px 12px;
  }
  .top {
    margin-bottom: 60px;
  }
  .news-content img{  
    max-width: 100%;
    width:auto;
    height:auto;
  }
  .news-content p{  
    margin-bottom:35px;
    line-height:28px;
  }
  .news-content p:last-of-type{  
    margin-bottom:40px;
  }
  .text {
    margin: 60px 0 40px;
  }
  .view-btn {
    width: 200px;
    font-size: 14px;
    padding: 10px 15px;
  }
  .view-btn::after {
    width: 8px;
    height: 8px;
    right: 20px;
  }
  .view-btn:hover {
    padding-left: 90px;
    padding-right: 20px;
  }
}
@media (max-width: 480px) {
  .article {
    margin: 80px 0;
  }
  .tag {
    font-size: 12px;
    padding: 3px 18px;
    margin-bottom: 15px;
  }
  .date {
    font-size: 14px;
  }
  .top {
    margin-bottom: 30px;
  }
  .text {
    margin: 30px 0 10px;
  }
  .other {
    font-size: 16px;
    margin-bottom: 40px;
  }
  .other-wrapper {
    margin-bottom: 80px;
  }
}
