.post_main {
  padding: 8rem 0 14rem;
}
.post_main .head h1 {
  font-size: 5rem;
  line-height: 1.2;
  max-width: 120rem;
}
.post_main .head .date {
  margin-top: 2rem;
}
.post_main .post_img {
  padding-bottom: 56.43340858%;
  border-radius: 2.6rem;
  margin-top: 4rem;
}
.post_main .postdetail {
  font-size: 1.8rem;
  line-height: 1.6666667;
  color: var(--text);
  margin-top: 4rem;
}
.post_main .postdetail .content > *:first-child {
  margin-top: 0;
}
.post_main .postdetail .content > *:last-child {
  margin-bottom: 0;
}
.post_main .postdetail h2 {
  font-size: 2.6rem;
  line-height: 1.5;
  font-weight: 600;
  color: var(--title);
  margin: 3.7rem 0 1.1rem;
}
.post_main .postdetail h3 {
  font-size: 1.8rem;
  line-height: 1.5;
  font-weight: 500;
  color: var(--title);
  margin: 2rem 0 1rem;
}
.post_main .postdetail p {
  margin: 1rem 0;
}
.post_main .postdetail a {
  color: var(--primary);
  text-decoration: underline;
  transition: all 0.3s;
}
.post_main .postdetail a:hover {
  text-decoration-color: transparent;
}
.post_main .postdetail img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1.3rem;
  object-fit: cover;
  margin: 4rem 0;
}
.post_main .postdetail ul {
  font-family: "Inter", sans-serif;
  margin: 3rem 0;
}
.post_main .postdetail ul li {
  position: relative;
  padding-left: 1.2em;
}
.post_main .postdetail ul li::before {
  width: 0.4em;
  height: 0.4em;
  position: absolute;
  left: 0;
  top: 0.6em;
  content: '';
  border-radius: 50%;
  background-color: var(--primary);
}
.post_main .postdetail ul li + li {
  margin-top: 0.2em;
}
.post_main .postdetail ol {
  font-family: "Inter", sans-serif;
  counter-reset: num;
  margin: 3rem 0;
}
.post_main .postdetail ol li {
  position: relative;
  padding-left: 1.3em;
}
.post_main .postdetail ol li::before {
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  counter-increment: num;
  content: counter(num) '.';
}
.post_main .postdetail ol li + li {
  margin-top: 0.2em;
}
.post_main .postdetail .wp-block-columns {
  gap: 16px;
}
.post_main .tags-box {
  border-top: 1px solid var(--border);
  padding-top: 3rem;
  margin-top: 4rem;
}
.post_main .tags-box .tags {
  flex: 1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.2rem;
}
.post_main .tags-box .tags span {
  font-size: 1.8rem;
  font-weight: 700;
  color: #222;
  margin-right: 0.8rem;
}
.post_main .tags-box .tags p {
  text-align: center;
  font-weight: 500;
  transition: all 0.3s;
  border-radius: 1.25em;
  color: #808080;
  border: 1px solid #c5c5c5;
  line-height: 1.5;
  padding: 0.46875em 1em;
  min-width: 7.6875em;
}
.post_main .tags-box .tags p:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.page_blog {
  background-image: none;
}
@media screen and (max-width: 768px) {
  .post_main {
    padding: 30px 0 50px;
  }
  .post_main .head h1 {
    font-size: 25px;
  }
  .post_main .head .date {
    margin-top: 16px;
  }
  .post_main .post_img {
    border-radius: 10px;
    margin-top: 30px;
  }
  .post_main .postdetail {
    font-size: 14px;
    line-height: 1.5;
    margin-top: 30px;
  }
  .post_main .postdetail h2 {
    font-size: 22px;
    line-height: 1.2;
    margin: 30px 0 10px;
    letter-spacing: unset;
  }
  .post_main .postdetail h3 {
    font-size: 18px;
    margin: 20px 0 10px;
  }
  .post_main .postdetail p {
    margin: 10px 0;
  }
  .post_main .postdetail img {
    border-radius: 10px;
    margin: 30px 0;
  }
  .post_main .postdetail ul,
  .post_main .postdetail ol {
    margin: 14px 0;
  }
  .post_main .tags-box {
    margin-top: 30px;
    padding-top: 20px;
  }
  .post_main .tags-box .tags {
    padding: 0;
    gap: 10px;
  }
  .post_main .tags-box .tags span {
    font-size: 16px;
    margin-right: 10px;
    margin-bottom: 0;
  }
  .post_main .tags-box .tags p {
    padding: 0.3em 1em;
  }
}
@media screen and (max-width: 576px) {
  .post_main .tags-box .tags {
    flex: unset;
    width: 100%;
  }
}
