.post-archive * {
  box-sizing: border-box;
}

.post-archive .post-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 30px;
  border: 1px solid var(--gray);
  padding: 20px 10px;
}

.post-archive .post-box:first-child {
  margin-top: 0;
}

.post-archive .post-box .cat-list {
  width: 100%;
  list-style: none;
  display: flex;
  padding-left: 0;
  margin-bottom: 10px;
}

.post-archive .post-box .cat-list li {
  margin-left: 10px;
  font-size: 12px;
  background-color: var(--main-color);
  color: var(--white);
  padding: 2px 10px;
}

.post-archive .post-box .img-box {
  padding: 10px;
  position: relative;
}

.post-archive .post-box .img-box img {
  width: 320px;
  height: 200px;
  object-fit: cover;
}

@media screen and (max-width: 960px) {
  .post-archive .post-box .img-box {
    width: 100%;
  }
  .post-archive .post-box .img-box img {
    width: 280px;
    height: 190px;
    display: block;
    margin: auto;
  }
}

.post-archive .post-box .img-box .icon {
  position: absolute;
  top: 10px;
  left: 10px;
  line-height: 1.1;
}

.post-archive .post-box .img-box .icon span {
  color: var(--white);
  background-color: var(--sub-color);
  font-size: 12px;
  padding: 2px 10px;
}

.post-archive .post-box .content-box {
  padding: 10px;
  flex: auto;
  display: flex;
  align-items: center;
}

@media screen and (max-width: 960px) {
  .post-archive .post-box .content-box {
    flex-wrap: wrap;
  }
}

.post-archive .post-box .content-box .detail {
  margin-bottom: 0;
  flex: auto;
}

@media screen and (max-width: 960px) {
  .post-archive .post-box .content-box .detail {
    width: 100%;
  }
}

.post-archive .post-box .content-box .detail .item-ttl {
  font-size: 26px;
  border-bottom: 1px solid var(--gray);
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.post-archive .post-box .content-box .detail .item {
  margin-top: 10px;
}

.post-archive .post-box .content-box .btn-box {
  padding: 20px;
}

@media screen and (max-width: 960px) {
  .post-archive .post-box .content-box .btn-box {
    width: 100%;
  }
}

.post-archive .post-box .content-box .btn-box a {
  color: var(--white);
  background-color: var(--main-color);
  display: flex;
  justify-content: center;
  padding: 10px 20px;
  align-items: center;
  position: relative;
}

.post-archive .post-box .content-box .btn-box a::before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f0da";
  font-size: 16px;
  margin-right: 12px;
  position: relative;
}
