@charset "UTF-8";

html {
  font-size: 62.5%;
  --clr-white: #fff;
  --clr-ttl-black: #333333;
  --clr-black: #000;
  --clr-red: #ed2446;
  --clr-glay: #f1f1f1;
  --clr-bg-glay: #bdbdbd;
  --clr-header-bg: rgba(0, 0, 0, 0.25);
  --clr-footer-bg: #222222;
}

.posts_cat {
  width: fit-content;
  font-size: 14px;
  font-weight: 700;
  color: var(--clr-red);
  border: 1px solid var(--clr-red);
  padding: 4px;
  text-align: center;
  margin-bottom: 10px;
}

.posts_day {
  font-size: 14px;
  font-weight: 700;
  color: var(--clr-bg-glay);
  margin-bottom: 10px;
}

.posts_ttl {
  font-size: 40px;
  font-weight: bold;
  letter-spacing: 0.05em;
  color: var(--clr-ttl-black);
  margin-bottom: 115px;
}

.posts_content {
  width: min(1000px, calc(1000/1440*100vw));
  margin: 0 auto;
}

.posts_content h2 {
  position: relative;
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 0.05em;
  color: var(--clr-ttl-black);
  border-bottom: 1px solid var(--clr-ttl-black);
  padding-bottom: 17px;
  margin-bottom: 35px;
}
.posts_content img {
  display: block;
  width: 100%;
  height: auto;
}
.posts_content .posts_thumb {
  margin-bottom: 110px;
}
.posts_content h2::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 50px;
  background-color: var(--clr-red);
  vertical-align: middle;
  margin-right: 20px;
}

.mod-post .btn {
  margin: 0 auto 110px;
}
.mod-post .btn a {
  gap: 4rem;
}

@media screen and (max-width:767px) {
  .post_head {
    display: flex;
    align-items: center;
    gap: calc(10/375*100vw);
    margin-bottom: calc(6/375*100vw);
  }
  .posts_cat {
    font-size: calc(12/375*100vw);
    border: calc(1/375*100vw) solid var(--clr-red);
    padding: calc(4/375*100vw);
    margin-bottom: 0;
  }

  .posts_day {
    font-size: calc(12/375*100vw);
    margin-bottom: 0;
  }

  .posts_ttl {
    font-size: calc(24/375*100vw);
    margin-bottom: calc(47/375*100vw);
  }

  .posts_content {
    width: 100%;
  }

  .posts_content h2 {
    font-size: calc(20/375*100vw);
    border-bottom: calc(1/375*100vw) solid var(--clr-ttl-black);
    padding-bottom: calc(10/375*100vw);
    margin-bottom: calc(15/375*100vw);
  }
  .posts_content h2::before {
    width: calc(4/375*100vw);
    height: calc(25/375*100vw);
    margin-right: calc(22/375*100vw);
  }
  .posts_content img {
    display: block;
    width: 100%;
    height: auto;
  }
  .posts_content .posts_thumb {
    margin-bottom: calc(45/375*100vw);
  }

  .mod-post .btn {
    margin: calc(50/375*100vw) auto 0;
  }
  .mod-post .btn a {
    gap: 4rem;
  }
}