.wp-post-section {
  padding: 64px 0 112px;
}

.wp-post-container {
  width: min(672px, calc(100% - 2rem));
  margin-inline: auto;
}

.wp-post {
  color: #111827;
}

.wp-post__header {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wp-post__tag {
  width: fit-content;
  margin: 0;
  border-radius: 999px;
  background: #f2f2f2;
  padding: 6px 12px;
  color: #111827;
  font-family: "Noto Sans JP", sans-serif;
  font-size: var(--fs-base);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
}

.wp-post__title {
  margin: 0;
  color: #111827;
  font-family: "Noto Sans JP", sans-serif;
  font-size: var(--fs-4xl);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.wp-post__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.wp-post__date {
  color: #5c4033;
  font-family: "Inter", sans-serif;
  font-size: var(--fs-base);
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.04em;
}

.wp-post__share {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.wp-post__share-label {
  color: #111827;
  font-family: "Inter", sans-serif;
  font-size: var(--fs-base);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
}

.wp-post__share-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wp-post__share-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111827;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.wp-post__share-link svg {
  display: block;
  height: 20px;
  width: 20px;
}

.wp-post__share-link--x svg {
  height: 16px;
  width: 16px;
}

.wp-post__share-link:hover {
  opacity: 0.7;
}

.wp-post__share-link:focus-visible {
  outline: 2px solid #5c4033;
  outline-offset: 3px;
}

.wp-post__share-link--facebook {
  color: #1877f2;
}

.wp-post__share-link--line {
  color: #06c755;
}

.wp-post__content {
  margin-top: 64px;
}

.wp-post__content > * {
  margin: 0;
}

.wp-post__content > * + * {
  margin-top: 32px;
}

.wp-post__content p,
.wp-post__content li {
  color: #111827;
  font-family: "Noto Sans JP", sans-serif;
  font-size: var(--fs-base);
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.04em;
}

.wp-post__content h2,
.wp-post__content .wp-block-heading.is-style-post-h2 {
  margin: 0;
  border-left: 4px solid #5c4033;
  padding-left: 16px;
  color: #111827;
  font-family: "Noto Sans JP", sans-serif;
  font-size: var(--fs-2xl);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.wp-post__content h3,
.wp-post__content .wp-block-heading.is-style-post-h3 {
  margin: 0;
  border-bottom: 1px solid #ccc;
  padding-bottom: 12px;
  color: #5c4033;
  font-family: "Noto Sans JP", sans-serif;
  font-size: var(--fs-xl);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.wp-post__content h4,
.wp-post__content .wp-block-heading.is-style-post-h4 {
  margin: 0;
  color: #111827;
  font-family: "Noto Sans JP", sans-serif;
  font-size: var(--fs-lg);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.wp-post__content > h4,
.wp-post__content > .wp-block-heading.is-style-post-h4 {
  margin-top: 48px;
}

.wp-post__content ul,
.wp-post__content ol,
.wp-post__content .wp-block-list {
  margin: 0;
  padding: 0;
}

.wp-post__content > h2,
.wp-post__content > .wp-block-heading.is-style-post-h2,
.wp-post__content > h3,
.wp-post__content > .wp-block-heading.is-style-post-h3 {
  margin-top: 56px;
}

.wp-post__content > ul,
.wp-post__content > ol,
.wp-post__content > .wp-block-list {
  margin-top: 40px;
}

.wp-post__content ul {
  list-style: none;
}

.wp-post__content ul li {
  position: relative;
  padding-left: 20px;
}

.wp-post__content ul li + li {
  margin-top: 8px;
}

.wp-post__content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.9em;
  height: 7px;
  width: 7px;
  border-radius: 999px;
  background: #111827;
  transform: translateY(-50%);
}

.wp-post__content ul ul {
  margin-top: 8px;
  padding-left: 24px;
}

.wp-post__content ul ul li::before {
  height: 6px;
  width: 6px;
  border: 1px solid #111827;
  background: transparent;
}

.wp-post__content a:not(.wp-post__pager-link) {
  color: #0c579b;
  text-underline-offset: 3px;
}

.wp-post__content a:not(.wp-post__pager-link):hover {
  text-decoration: none;
}

.wp-post__content blockquote,
.wp-post__content .wp-block-quote {
  margin: 0;
  border-left: 4px solid #5c4033;
  padding: 16px 0 16px 16px;
  color: #374151;
  background: #faf9f7;
}

.wp-post__content figure,
.wp-post__content .wp-block-image {
  margin: 0;
}

.wp-post__content > * + figure,
.wp-post__content > * + .wp-block-image,
.wp-post__content > * + .wp-block-table {
  margin-top: 32px;
}

.wp-post__content figure img,
.wp-post__content .wp-block-image img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.wp-post__content figcaption,
.wp-post__content .wp-element-caption {
  margin: 0;
  background: #faf9f7;
  padding: 16px 20px;
  color: #111827;
  font-family: "Noto Sans JP", sans-serif;
  font-size: var(--fs-xs);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.015em;
}

.wp-post__content table,
.wp-post__content .wp-block-table table {
  width: 100%;
  border-collapse: collapse;
  font-family: "Noto Sans JP", sans-serif;
  font-size: var(--fs-base);
  line-height: 1.7;
}

.wp-post__content .wp-block-table {
  display: block;
  width: 100%;
  max-width: 672px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.wp-post__content .wp-block-table table {
  width: 100%;
  min-width: 672px;
}

.wp-post__content > * + figure.wp-block-table {
  margin-top: 32px;
}

.wp-post__content th,
.wp-post__content td {
  border: 1px solid #d4d4d4;
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.wp-post__content th {
  background: #faf9f7;
  font-weight: 700;
  white-space: nowrap;
}

.wp-post__pager {
  margin-top: 64px;
  margin-inline: auto;
  display: flex;
  max-width: 352px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.wp-post__pager-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #5c4033;
  text-decoration: none;
  font-family: "Noto Sans JP", sans-serif;
  font-size: var(--fs-base);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.wp-post__pager-link svg {
  height: 16px;
  width: 16px;
  flex-shrink: 0;
}

.wp-post__pager-link:hover {
  color: #3f2a22;
}

.wp-post__pager-link:focus-visible {
  outline: 2px solid #5c4033;
  outline-offset: 3px;
  border-radius: 4px;
}

.wp-post__pager-link--center {
  font-size: var(--fs-base);
}

@media (min-width: 768px) {
  .wp-post-section {
    padding-top: 96px;
  }

  .wp-post__title {
    font-size: var(--fs-3xl);
  }
}

@media (max-width: 767px) {
  .wp-post__meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .wp-post__content {
    margin-top: 40px;
  }

  .wp-post__content > * + * {
    margin-top: 24px;
  }

  .wp-post__content > * + figure,
  .wp-post__content > * + .wp-block-image,
  .wp-post__content > * + .wp-block-table {
    margin-top: 24px;
  }

  .wp-post__content > * + figure.wp-block-table {
    margin-top: 24px;
  }

  .wp-post__content > h2,
  .wp-post__content > .wp-block-heading.is-style-post-h2,
  .wp-post__content > h3,
  .wp-post__content > .wp-block-heading.is-style-post-h3 {
    margin-top: 40px;
  }

  .wp-post__content > ul,
  .wp-post__content > ol,
  .wp-post__content > .wp-block-list {
    margin-top: 32px;
  }

  .wp-post__content > h4,
  .wp-post__content > .wp-block-heading.is-style-post-h4 {
    margin-top: 36px;
  }

  .wp-post__pager {
    margin-top: 56px;
    max-width: 312px;
    gap: 10px;
  }

  .wp-post__pager-link,
  .wp-post__pager-link--center {
    font-size: var(--fs-sm);
    letter-spacing: 0.02em;
  }

  .wp-post__pager-link svg {
    height: 14px;
    width: 14px;
  }
}
