/* =========================================================
  Post scope (archive + single) + Event Article Single
  cleaned / submission version
========================================================= */

:root {
  --inner: 1200px;
  --padding-pc: 25px;
  --padding-sp: 20px;

  --base-font:
    "Noto Sans JP", system-ui, -apple-system, "Hiragino Kaku Gothic ProN",
    Meiryo, sans-serif;

  --fw-regular: 400;
  --fw-medium: 500;
  --fw-bold: 700;

  --white: #fff;
  --text-black: #030301;
  --red: #e60213;
  --pink: #fcf1f0;
  --gray01: #8b8b8b;
  --gray02: #f6f6f6;
  --gray03: #e6e6e6;
}

/* =========================================================
  shared reset / base
========================================================= */
:is(.p-post-scope, .p-event-article-single) :where(*, *::before, *::after) {
  box-sizing: border-box;
}

:is(.p-post-scope, .p-event-article-single) :where(ul, ol) {
  margin: 0;
  padding: 0;
}

:is(.p-post-scope, .p-event-article-single) :where(p, figure, blockquote) {
  margin: 0;
}

:is(.p-post-scope, .p-event-article-single) :where(img, svg, video, canvas) {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

:is(.p-post-scope, .p-event-article-single) a {
  color: var(--text-black);
  text-decoration: none;
  transition: opacity 0.3s;
}

:is(.p-post-scope, .p-event-article-single) a:hover {
  color: var(--text-black);
  text-decoration: none;
  opacity: 0.85;
}

:is(.p-post-scope, .p-event-article-single) img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0 !important;
}

:is(.p-post-scope, .p-event-article-single) {
  font-family: var(--base-font);
  font-weight: var(--fw-medium);
  color: var(--text-black);
  line-height: 1.75;
  background: var(--white);
}

:is(.p-post-scope, .p-event-article-single) .l-inner {
  width: 100%;
  margin-inline: auto;
  max-width: calc(var(--inner) + var(--padding-pc) * 2);
  padding-inline: var(--padding-pc);
}

.p-event-article-single .l-inner--narrow {
  max-width: calc(860px + var(--padding-pc) * 2);
}

@media (max-width: 768px) {
  :is(.p-post-scope, .p-event-article-single) .l-inner,
  .p-event-article-single .l-inner--narrow {
    max-width: 640px;
    padding-inline: var(--padding-sp);
  }
}

/* =========================================================
  p-post-scope
========================================================= */

/* ---------- MV ---------- */
.p-post-scope .p-post-archive-mv {
  background-image: url("/assets/images/post/mv-post-archive-bg.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  padding: 134px 0;
  position: relative;
  overflow: hidden;
}

.p-post-scope .p-post-archive-mv__title {
  text-align: center;
  font-weight: var(--fw-bold);
  font-size: 40px;
  letter-spacing: 0.08em;
}

.p-post-scope .p-post-archive-mv__line {
  display: block;
  width: 60px;
  height: 3px;
  margin: 16px auto 0;
  background: var(--red);
  border-radius: 999px;
}

/* ---------- breadcrumb ---------- */
.p-post-scope .p-post-archive-breadcrumb {
  background: var(--white);
  padding: 40px 0 0;
}

.p-post-scope .c-breadcrumb__list,
.p-event-article-single .c-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  font-size: 12px;
  list-style: none;
}

.p-post-scope .c-breadcrumb__item + .c-breadcrumb__item::before,
.p-event-article-single .c-breadcrumb__item + .c-breadcrumb__item::before {
  content: ">";
  margin-right: 10px;
  color: #aaa;
}

.p-post-scope .c-breadcrumb__link,
.p-event-article-single .c-breadcrumb__link {
  color: #666;
}

/* ---------- layouts ---------- */
.p-post-scope .p-post-archive {
  padding: 64px 0;
  background: var(--white);
}

.p-post-scope .p-post-single {
  padding: 24px 0 80px;
  background: var(--white);
}

/* 一覧・詳細の幅を統一 */
.p-post-scope .p-post-archive__layout,
.p-post-scope .p-post-single__layout,
.p-post-scope--archive .p-post-archive__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 64px;
  align-items: start;
}

/* ---------- single header ---------- */
.p-post-scope .entry-header,
.p-event-article-single .entry-header {
  margin-top: 0;
}

.p-post-scope .entry-meta,
.p-event-article-single .entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.p-post-scope .entry-meta .entry-date,
.p-event-article-single .entry-date {
  display: block;
  font-size: 14px;
  color: var(--gray01);
}

.p-post-scope .tags-links,
.p-event-article-single .entry-meta .tags-links,
.p-event-article-single .p-event-article-single__terms {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.p-post-scope .tags-links a {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  font-size: 14px;
  font-weight: var(--fw-bold);
  line-height: 1.4;
  color: var(--text-black);
  background: var(--pink);
  border-radius: 6px;
}

.p-event-article-single .entry-meta .tags-links a,
.p-event-article-single .p-event-article-single__terms a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 10px;
  font-size: 14px;
  font-weight: var(--fw-bold);
  line-height: 1.4;
  color: #fff;
  background: #111;
  border-radius: 6px;
}

.p-post-scope .entry-title,
.p-event-article-single .entry-title {
  display: block;
  margin-top: 10px;
  font-size: 32px;
  font-weight: var(--fw-bold);
  line-height: 1.5;
}

/* ---------- thumbnail ---------- */
.p-post-scope .post-thumbnail,
.p-event-article-single .post-thumbnail {
  margin-top: 18px;
  background: #f3f3f3;
  aspect-ratio: 1200 / 675;
  overflow: hidden;
}

.p-post-scope .post-thumbnail .wp-post-image,
.p-event-article-single .post-thumbnail .wp-post-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
}

/* ---------- TOC ---------- */
.p-post-scope .p-post-single__toc {
  margin-top: 40px;
  background: var(--pink);
  border-radius: 10px;
  padding: 32px;
}

.p-post-scope .p-toc__title {
  font-size: 20px;
  text-align: center;
  font-weight: var(--fw-bold);
}

.p-post-scope .p-toc__list {
  margin-top: 18px;
  display: grid;
  gap: 14px;
  counter-reset: toc;
}

.p-post-scope .p-toc__item {
  counter-increment: toc;
}

.p-post-scope .p-toc__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: var(--fw-bold);
  color: var(--text-black);
  line-height: 1.6;
}

.p-post-scope .p-toc__link::before {
  content: counter(toc);
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex: 0 0 auto;
}

.p-post-scope .p-toc__sub {
  margin-top: 10px;
  display: grid;
  gap: 8px;
  padding-left: 30px;
}

.p-post-scope .p-toc__sub-link {
  position: relative;
  padding-left: 16px;
  color: var(--text-black);
  font-size: 16px;
  line-height: 1.6;
}

.p-post-scope .p-toc__sub-link::before {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
  transform: rotate(-45deg);
  position: absolute;
  left: 0;
  top: 0.55em;
}

/* =========================================================
  shared entry-content
========================================================= */
.p-post-scope .entry-content,
.p-event-article-single .entry-content {
  margin-top: 32px;
}

.p-post-scope .entry-content > *,
.p-event-article-single .entry-content > * {
  margin-top: 0;
  margin-bottom: 0;
}

.p-post-scope .entry-content > * + *,
.p-event-article-single .entry-content > * + * {
  margin-top: 24px;
}

.p-post-scope .entry-content > h2 + *,
.p-post-scope .entry-content > h3 + *,
.p-post-scope .entry-content > h4 + *,
.p-event-article-single .entry-content > h2 + *,
.p-event-article-single .entry-content > h3 + *,
.p-event-article-single .entry-content > h4 + * {
  margin-top: 16px;
}

.p-post-scope .entry-content > ul + *,
.p-post-scope .entry-content > ol + *,
.p-post-scope .entry-content > blockquote + *,
.p-post-scope .entry-content > figure + *,
.p-post-scope .entry-content > .wp-block-image + *,
.p-post-scope .entry-content > .wp-block-table + *,
.p-post-scope .entry-content > .wp-block-video + *,
.p-post-scope .entry-content > .wp-block-buttons + *,
.p-event-article-single .entry-content > ul + *,
.p-event-article-single .entry-content > ol + *,
.p-event-article-single .entry-content > blockquote + *,
.p-event-article-single .entry-content > figure + *,
.p-event-article-single .entry-content > .wp-block-image + *,
.p-event-article-single .entry-content > .wp-block-table + *,
.p-event-article-single .entry-content > .wp-block-video + *,
.p-event-article-single .entry-content > .wp-block-buttons + * {
  margin-top: 24px;
}

.p-post-scope .entry-content h2,
.p-event-article-single .entry-content h2 {
  font-size: 28px;
  font-weight: var(--fw-bold);
  line-height: 1.6;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--red);
}

.p-post-scope .entry-content h3,
.p-event-article-single .entry-content h3 {
  font-size: 24px;
  font-weight: var(--fw-bold);
  line-height: 1.6;
  background: var(--gray02);
  padding: 12px 14px;
}

.p-post-scope .entry-content h4,
.p-event-article-single .entry-content h4 {
  font-size: 20px;
  font-weight: var(--fw-bold);
  line-height: 1.6;
}

.p-post-scope .entry-content p,
.p-event-article-single .entry-content p {
  font-size: 16px;
  line-height: 2;
}

.p-post-scope .entry-content a,
.p-event-article-single .entry-content a {
  color: #6692d5;
  text-decoration: underline;
}

.p-post-scope .entry-content a:hover,
.p-event-article-single .entry-content a:hover {
  color: #6692d5;
  opacity: 0.85;
}

.p-post-scope .entry-content ul,
.p-event-article-single .entry-content ul {
  padding-left: 1.2em;
  list-style: disc;
}

.p-post-scope .entry-content ul li,
.p-event-article-single .entry-content ul li {
  list-style: disc;
  margin-left: 1em;
  font-size: 16px;
  line-height: 2;
}

.p-post-scope .entry-content ul li::marker,
.p-event-article-single .entry-content ul li::marker {
  color: var(--red);
}

.p-post-scope .entry-content ol,
.p-event-article-single .entry-content ol {
  padding-left: 1.4em;
}

.p-post-scope .entry-content ol li,
.p-event-article-single .entry-content ol li {
  margin-left: 1em;
  font-size: 16px;
  line-height: 2;
}

.p-post-scope .entry-content .wp-block-table,
.p-event-article-single .entry-content .wp-block-table {
  overflow-x: auto;
}

.p-post-scope .entry-content .wp-block-table table,
.p-post-scope .entry-content table,
.p-event-article-single .entry-content .wp-block-table table,
.p-event-article-single .entry-content table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.p-post-scope .entry-content .wp-block-table th,
.p-post-scope .entry-content .wp-block-table td,
.p-post-scope .entry-content table th,
.p-post-scope .entry-content table td,
.p-event-article-single .entry-content .wp-block-table th,
.p-event-article-single .entry-content .wp-block-table td,
.p-event-article-single .entry-content table th,
.p-event-article-single .entry-content table td {
  border: 1px solid #e6e6e6;
  padding: 12px 14px;
  font-size: 16px;
  line-height: 1.8;
  vertical-align: middle;
}

.p-post-scope .entry-content .wp-block-table.is-style-atj-table-a th,
.p-event-article-single .entry-content .wp-block-table.is-style-atj-table-a th {
  background: var(--pink);
  font-weight: var(--fw-bold);
  white-space: nowrap;
}

.p-post-scope .entry-content .wp-block-table.is-style-atj-table-a th:first-child,
.p-event-article-single .entry-content .wp-block-table.is-style-atj-table-a th:first-child {
  width: 110px;
}

.p-post-scope .entry-content .wp-block-table.is-style-atj-table-b th,
.p-event-article-single .entry-content .wp-block-table.is-style-atj-table-b th {
  background: var(--pink);
  font-weight: var(--fw-bold);
  white-space: nowrap;
  width: 220px;
}

.p-post-scope .entry-content .wp-block-table.is-style-atj-table-b td,
.p-event-article-single .entry-content .wp-block-table.is-style-atj-table-b td {
  background: #fff;
}

.p-post-scope .entry-content blockquote,
.p-event-article-single .entry-content blockquote {
  background: var(--gray02);
  border-left: 6px solid var(--red);
  padding: 18px 18px;
}

.p-post-scope .entry-content blockquote p,
.p-event-article-single .entry-content blockquote p {
  font-size: 16px;
  line-height: 2;
}

.p-post-scope .entry-content blockquote cite,
.p-event-article-single .entry-content blockquote cite {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  color: var(--gray01);
}

.p-post-scope .entry-content .wp-block-video,
.p-event-article-single .entry-content .wp-block-video {
  margin-top: 18px;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
}

.p-post-scope .entry-content .wp-block-video video,
.p-event-article-single .entry-content .wp-block-video video {
  width: 100%;
  height: auto;
  display: block;
  background: #000;
  border-radius: 10px;
  overflow: hidden;
}

/* ---------- buttons ---------- */
.p-post-scope .entry-content .wp-block-buttons,
.p-event-article-single .entry-content .wp-block-buttons {
  display: grid;
  gap: 14px;
  justify-items: center;
  margin-top: 26px;
}

.p-post-scope .entry-content .wp-block-buttons > .wp-block-button,
.p-event-article-single .entry-content .wp-block-buttons > .wp-block-button {
  margin: 0;
}

.p-post-scope .entry-content .wp-block-button .wp-block-button__link,
.p-event-article-single .entry-content .wp-block-button .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(520px, 100%);
  font-size: 14px;
  font-weight: var(--fw-bold);
  border: 2px solid var(--red);
  border-radius: 999px;
  position: relative;
  text-decoration: none;
  padding: 18px 56px 18px 24px;
  line-height: 1;
  opacity: 1 !important;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease;
}

.p-post-scope .entry-content .wp-block-button .wp-block-button__link:hover,
.p-event-article-single .entry-content .wp-block-button .wp-block-button__link:hover {
  opacity: 1 !important;
  transform: translateX(2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.p-post-scope .entry-content .wp-block-button .wp-block-button__link:active,
.p-event-article-single .entry-content .wp-block-button .wp-block-button__link:active {
  transform: translateX(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.p-post-scope .entry-content .wp-block-button:not(.is-style-outline):not(.is-style-tertiary) .wp-block-button__link,
.p-event-article-single .entry-content .wp-block-button:not(.is-style-outline):not(.is-style-tertiary) .wp-block-button__link {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
  padding: 21px 56px 21px 24px;
  box-shadow: inset 0 0 0 2px #fff;
}

.p-post-scope .entry-content .wp-block-button:not(.is-style-outline):not(.is-style-tertiary) .wp-block-button__link::after,
.p-event-article-single .entry-content .wp-block-button:not(.is-style-outline):not(.is-style-tertiary) .wp-block-button__link::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--white);
  transition: right 0.18s ease;
}

.p-post-scope .entry-content .wp-block-button:not(.is-style-outline):not(.is-style-tertiary) .wp-block-button__link::before,
.p-event-article-single .entry-content .wp-block-button:not(.is-style-outline):not(.is-style-tertiary) .wp-block-button__link::before {
  content: "";
  position: absolute;
  right: 27px;
  top: 50%;
  width: 7px;
  height: 7px;
  transform: translateY(-50%) rotate(-45deg);
  border-right: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
  z-index: 1;
  transition: right 0.18s ease;
}

.p-post-scope .entry-content .wp-block-button:not(.is-style-outline):not(.is-style-tertiary) .wp-block-button__link:hover::after,
.p-event-article-single .entry-content .wp-block-button:not(.is-style-outline):not(.is-style-tertiary) .wp-block-button__link:hover::after {
  right: 15px;
}

.p-post-scope .entry-content .wp-block-button:not(.is-style-outline):not(.is-style-tertiary) .wp-block-button__link:hover::before,
.p-event-article-single .entry-content .wp-block-button:not(.is-style-outline):not(.is-style-tertiary) .wp-block-button__link:hover::before {
  right: 24px;
}

.p-post-scope .entry-content .wp-block-button.is-style-outline .wp-block-button__link,
.p-event-article-single .entry-content .wp-block-button.is-style-outline .wp-block-button__link {
  background: var(--white);
  color: var(--red);
  border-color: var(--red);
  min-height: unset;
  padding: 16px 44px 16px 22px;
}

.p-post-scope .entry-content .wp-block-button.is-style-outline .wp-block-button__link::after,
.p-event-article-single .entry-content .wp-block-button.is-style-outline .wp-block-button__link::after {
  content: none;
}

.p-post-scope .entry-content .wp-block-button.is-style-outline .wp-block-button__link::before,
.p-event-article-single .entry-content .wp-block-button.is-style-outline .wp-block-button__link::before {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 7px;
  height: 7px;
  transform: translateY(-50%) rotate(-45deg);
  border-right: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
  transition: right 0.18s ease;
}

.p-post-scope .entry-content .wp-block-button.is-style-outline .wp-block-button__link:hover::before,
.p-event-article-single .entry-content .wp-block-button.is-style-outline .wp-block-button__link:hover::before {
  right: 15px;
}

.p-post-scope .entry-content .wp-block-button.is-style-tertiary .wp-block-button__link,
.p-event-article-single .entry-content .wp-block-button.is-style-tertiary .wp-block-button__link {
  min-width: 174px;
  border-radius: 4px;
  background: #f7f7f7;
  color: var(--text-black);
  border-color: #d9d9d9;
  padding: 10px 18px;
  opacity: 1 !important;
}

.p-post-scope .entry-content .wp-block-button.is-style-tertiary .wp-block-button__link::after,
.p-post-scope .entry-content .wp-block-button.is-style-tertiary .wp-block-button__link::before,
.p-event-article-single .entry-content .wp-block-button.is-style-tertiary .wp-block-button__link::after,
.p-event-article-single .entry-content .wp-block-button.is-style-tertiary .wp-block-button__link::before {
  content: none;
}

/* ---------- sidebar common ---------- */
.p-post-scope .p-post-sidebar,
.p-post-scope--archive .p-post-sidebar {
  min-width: 0;
  align-self: start;
  position: sticky;
  top: 150px;
}

.p-post-scope .p-post-sidebar__sticky,
.p-post-scope--archive .p-post-sidebar__sticky {
  position: static;
  top: auto;
}

.p-post-scope .p-post-sidebar .widget,
.p-post-scope--archive .p-post-sidebar .widget {
  margin-top: 22px;
}

.p-post-scope .p-post-sidebar .widget:first-child,
.p-post-scope--archive .p-post-sidebar .widget:first-child {
  margin-top: 0;
}

/* 一覧のフィルターだけ独自 */
.p-post-scope .p-post-sidebar__filter,
.p-post-scope--archive .p-post-sidebar__filter {
  background: transparent;
  padding: 0;
}

.p-post-scope .p-post-filter,
.p-post-scope--archive .p-post-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.p-post-scope .p-post-filter__item,
.p-post-scope--archive .p-post-filter__item {
  margin: 0;
}

.p-post-scope .p-post-filter__link,
.p-post-scope--archive .p-post-filter__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 4px;
  background: #f3e9e7;
  color: #111;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
}

.p-post-scope .p-post-filter__link.is-active,
.p-post-scope--archive .p-post-filter__link.is-active {
  background: #111;
  color: #fff;
}

/* 記事ブロック共通 */
.p-post-scope .p-post-sidebar__posts,
.p-post-scope .widget.widget_block:has(.wp-block-latest-posts),
.p-post-scope--archive .p-post-sidebar__posts {
  background: var(--gray02);
  border-radius: 10px;
  padding: 24px 16px;
}

.p-post-scope .p-post-sidebar__posts .wp-block-heading,
.p-post-scope .widget .wp-block-heading,
.p-post-scope--archive .p-post-sidebar__posts .wp-block-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.p-post-scope .p-post-sidebar__posts .wp-block-heading::before,
.p-post-scope .widget .wp-block-heading::before,
.p-post-scope--archive .p-post-sidebar__posts .wp-block-heading::before {
  content: "";
  width: 3px;
  height: 18px;
  background: var(--red);
  border-radius: 999px;
  flex: 0 0 auto;
}

.p-post-scope .p-post-sidebar .wp-block-latest-posts,
.p-post-scope--archive .p-post-sidebar .wp-block-latest-posts {
  margin-top: 18px;
  display: grid;
  gap: 12px;
  list-style: none;
  padding: 0;
}

.p-post-scope .p-post-sidebar .wp-block-latest-posts > li,
.p-post-scope--archive .p-post-sidebar .wp-block-latest-posts > li {
  padding: 16px;
  border-radius: 10px;
  background: #fff;
  display: grid;
  grid-template-columns: 72px 1fr;
  column-gap: 10px;
  row-gap: 4px;
  align-items: center;
}

.p-post-scope .p-post-sidebar .wp-block-latest-posts__featured-image,
.p-post-scope--archive .p-post-sidebar .wp-block-latest-posts__featured-image {
  grid-column: 1;
  grid-row: 1 / 3;
  width: 72px;
  height: 72px;
  background: #f3f3f3;
  overflow: hidden;
  border-radius: 0;
}

.p-post-scope .p-post-sidebar .wp-block-latest-posts__featured-image a,
.p-post-scope--archive .p-post-sidebar .wp-block-latest-posts__featured-image a {
  display: block;
  width: 100%;
  height: 100%;
}

.p-post-scope .p-post-sidebar .wp-block-latest-posts__featured-image img,
.p-post-scope--archive .p-post-sidebar .wp-block-latest-posts__featured-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.p-post-scope .p-post-sidebar .wp-block-latest-posts__post-title,
.p-post-scope--archive .p-post-sidebar .wp-block-latest-posts__post-title {
  grid-column: 2;
  grid-row: 1;
  font-size: 16px;
  font-weight: var(--fw-bold);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #111;
  text-decoration: none;
}

.p-post-scope .p-post-sidebar .wp-block-latest-posts__post-date,
.p-post-scope--archive .p-post-sidebar .wp-block-latest-posts__post-date {
  grid-column: 2;
  grid-row: 2;
  font-size: 12px;
  color: var(--gray01);
}

.p-post-scope .p-post-sidebar .wp-block-image,
.p-post-scope--archive .p-post-sidebar .wp-block-image {
  margin: 0;
}

.p-post-scope .p-post-sidebar .wp-block-image a,
.p-post-scope--archive .p-post-sidebar .wp-block-image a {
  display: block;
}

.p-post-scope .p-post-sidebar .wp-block-image img,
.p-post-scope--archive .p-post-sidebar .wp-block-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0 !important;
}

/* ---------- navigation ---------- */
.p-post-scope .post-navigation {
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid #e6e6e6;
}

.p-post-scope .post-navigation .nav-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.p-post-scope .post-navigation .nav-previous,
.p-post-scope .post-navigation .nav-next {
  flex: 0 0 auto;
}

.p-post-scope .post-navigation a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: var(--fw-bold);
  color: var(--text-black);
  text-decoration: none;
  line-height: 1;
  transition: transform 0.2s ease;
}

.p-post-scope .post-navigation .nav-previous a {
  padding-left: 16px;
}

.p-post-scope .post-navigation .nav-previous a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 7px;
  height: 7px;
  transform: translateY(-50%) rotate(135deg);
  border-right: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
}

.p-post-scope .post-navigation .nav-next a {
  padding-right: 16px;
}

.p-post-scope .post-navigation .nav-next a::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 7px;
  height: 7px;
  transform: translateY(-50%) rotate(-45deg);
  border-right: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
}

.p-post-scope .post-navigation .nav-previous a:hover {
  transform: translateX(-2px);
}

.p-post-scope .post-navigation .nav-next a:hover {
  transform: translateX(2px);
}

/* ---------- related ---------- */
.p-post-scope .related-posts,
.p-event-article-single .related-posts {
  margin-top: 40px;
}

.p-post-scope .related-posts__inner {
  background: var(--gray02);
  border-radius: 10px;
  padding: 32px;
}

.p-event-article-single .related-posts__inner {
  background: #f3f3f3;
  border-radius: 4px;
  padding: 22px 18px 20px;
}

.p-post-scope .related-posts__title,
.p-event-article-single .related-posts__title {
  text-align: center;
  font-size: 20px;
  font-weight: var(--fw-bold);
  line-height: 1.5;
  margin: 0;
}

.p-post-scope .related-posts__line {
  display: block;
  width: 40px;
  height: 3px;
  margin: 10px auto 0;
  background: var(--red);
  border-radius: 999px;
}

.p-event-article-single .related-posts__line {
  display: block;
  width: 36px;
  height: 2px;
  margin: 8px auto 0;
  background: var(--red);
  border-radius: 999px;
}

.p-post-scope .related-posts__grid,
.p-event-article-single .related-posts__grid {
  margin-top: 22px;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.p-post-scope .related-posts__grid {
  gap: 28px;
}

.p-event-article-single .related-posts__grid {
  gap: 16px;
}

.p-post-scope .related-card,
.p-event-article-single .related-card {
  list-style: none;
}

.p-post-scope .related-card__link,
.p-event-article-single .related-card__link {
  display: block;
  color: var(--text-black);
  text-decoration: none;
  transition: transform 0.18s ease;
}

.p-post-scope .related-card__link:hover,
.p-event-article-single .related-card__link:hover {
  transform: translateX(4px);
}

.p-post-scope .related-card__thumb,
.p-event-article-single .related-card__thumb {
  margin: 0;
  background: #f3f3f3;
  overflow: hidden;
  border-radius: 0;
  aspect-ratio: 420 / 280;
}

.p-post-scope .related-card__img,
.p-event-article-single .related-card__img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
}

.p-post-scope .related-card__date,
.p-event-article-single .related-card__date {
  display: block;
  font-size: 12px;
  color: var(--gray01);
}

.p-post-scope .related-card__date {
  margin-top: 10px;
}

.p-event-article-single .related-card__date {
  margin-top: 8px;
}

.p-post-scope .related-card__title,
.p-event-article-single .related-card__title {
  margin: 6px 0 0;
  font-size: 16px;
  font-weight: var(--fw-bold);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.p-post-scope .related-card__tags,
.p-event-article-single .related-card__tags {
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.p-post-scope .related-card__tags {
  margin: 10px 0 0;
}

.p-event-article-single .related-card__tags {
  margin: 8px 0 0;
}

.p-post-scope .related-card__tag,
.p-event-article-single .related-card__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 8px;
  font-size: 12px;
  font-weight: var(--fw-bold);
  color: #fff;
  background: #111;
  border-radius: 6px;
  line-height: 1.4;
}

/* =========================================================
  p-event-article-single
========================================================= */
.p-event-article-single__breadcrumb {
  background: var(--white);
  padding: 40px 0 0;
}

.p-event-article-single__article {
  padding: 24px 0 80px;
}

@media (min-width: 1101px) {
  .p-event-article-single__article--content-form-side .p-event-article-single__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 460px);
    gap: 40px;
    align-items: start;
  }

  .p-event-article-single__article--content-form-side .p-event-article-single__document {
    margin-top: 32px;
  }
}

/* ---------- document / form ---------- */
.p-event-article-single__document {
  margin-top: 88px;
}

.p-event-article-single__document-inner {
  padding: 80px 64px;
  background: #fcf1f0;
  border-radius: 8px;
}

.p-event-article-single__document-title {
  margin: 0;
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.5;
  color: #111;
}

.p-event-article-single__document-text {
  margin-top: 24px;
  font-size: 16px;
  line-height: 2;
  color: #111;
}

.p-event-article-single__document-form {
  margin-top: 40px;
}

/* ---------- WPForms / form base ---------- */
.p-event-article-single__document-form .wpforms-container,
.p-event-article-single__content .wpforms-container,
.p-event-article-single__document-form form,
.p-event-article-single__content form {
  margin: 0;
  max-width: none;
}

.p-event-article-single__document-form .wpforms-form,
.p-event-article-single__content .wpforms-form {
  margin: 0;
}

.p-event-article-single__document-form .wpforms-field-container,
.p-event-article-single__content .wpforms-field-container {
  display: grid;
  gap: 24px;
}

.p-event-article-single__document-form .wpforms-field,
.p-event-article-single__content .wpforms-field {
  margin: 0;
  padding: 0;
}

.p-event-article-single__document-form .wpforms-field-label,
.p-event-article-single__content .wpforms-field-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  color: #111;
}

.p-event-article-single__document-form div.wpforms-container-full .wpforms-form .wpforms-required-label,
.p-event-article-single__content div.wpforms-container-full .wpforms-form .wpforms-required-label {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 34px !important;
  padding: 3px 4px !important;
  background-color: #e60012 !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  border-radius: 3px !important;
}

.p-event-article-single__document-form input[type="text"],
.p-event-article-single__document-form input[type="email"],
.p-event-article-single__document-form input[type="tel"],
.p-event-article-single__document-form input[type="number"],
.p-event-article-single__document-form input[type="url"],
.p-event-article-single__document-form textarea,
.p-event-article-single__document-form select,
.p-event-article-single__content input[type="text"],
.p-event-article-single__content input[type="email"],
.p-event-article-single__content input[type="tel"],
.p-event-article-single__content input[type="number"],
.p-event-article-single__content input[type="url"],
.p-event-article-single__content textarea,
.p-event-article-single__content select {
  width: 100%;
  min-height: 56px;
  padding: 14px 16px;
  border: 1px solid #d9d9d9;
  background: #fff;
  color: #111;
  font-size: 16px;
  line-height: 1.6;
  border-radius: 0;
  box-shadow: none;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
}

.p-event-article-single__document-form textarea,
.p-event-article-single__content textarea {
  min-height: 168px;
  resize: vertical;
}

.p-event-article-single__document-form input::placeholder,
.p-event-article-single__document-form textarea::placeholder,
.p-event-article-single__content input::placeholder,
.p-event-article-single__content textarea::placeholder {
  color: #b4b4b4;
  font-size: 16px;
  opacity: 1;
}

.p-event-article-single__document-form .wpforms-field-description,
.p-event-article-single__content .wpforms-field-description {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.7;
  color: #555;
}

/* ---------- checkbox / radio ---------- */
.p-event-article-single__document-form .wpforms-field-checkbox ul,
.p-event-article-single__document-form .wpforms-field-radio ul,
.p-event-article-single__content .wpforms-field-checkbox ul,
.p-event-article-single__content .wpforms-field-radio ul {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.p-event-article-single__document-form .wpforms-field-checkbox li,
.p-event-article-single__document-form .wpforms-field-radio li,
.p-event-article-single__content .wpforms-field-checkbox li,
.p-event-article-single__content .wpforms-field-radio li {
  margin: 0;
}

.p-event-article-single__document-form .wpforms-field-checkbox label,
.p-event-article-single__document-form .wpforms-field-radio label,
.p-event-article-single__content .wpforms-field-checkbox label,
.p-event-article-single__content .wpforms-field-radio label {
  display: inline-flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 16px;
  line-height: 1.7;
  color: #111;
  cursor: pointer;
}

.p-event-article-single__document-form .wpforms-field-checkbox input[type="checkbox"],
.p-event-article-single__document-form .wpforms-field-radio input[type="radio"],
.p-event-article-single__content .wpforms-field-checkbox input[type="checkbox"],
.p-event-article-single__content .wpforms-field-radio input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.p-event-article-single__document-form .wpforms-field-checkbox label span,
.p-event-article-single__document-form .wpforms-field-radio label span,
.p-event-article-single__content .wpforms-field-checkbox label span,
.p-event-article-single__content .wpforms-field-radio label span {
  position: relative;
  display: inline-block;
  padding-left: 40px;
}

.p-event-article-single__document-form .wpforms-field-checkbox label span::before,
.p-event-article-single__document-form .wpforms-field-radio label span::before,
.p-event-article-single__content .wpforms-field-checkbox label span::before,
.p-event-article-single__content .wpforms-field-radio label span::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 0;
  width: 24px;
  height: 24px;
  background: #fff;
  border: 1px solid #bfbfbf;
  box-sizing: border-box;
}

.p-event-article-single__document-form .wpforms-field-checkbox label span::before,
.p-event-article-single__content .wpforms-field-checkbox label span::before {
  border-radius: 2px;
}

.p-event-article-single__document-form .wpforms-field-radio label span::before,
.p-event-article-single__content .wpforms-field-radio label span::before {
  border-radius: 50%;
}

.p-event-article-single__document-form .wpforms-field-checkbox input[type="checkbox"]:checked + span::after,
.p-event-article-single__content .wpforms-field-checkbox input[type="checkbox"]:checked + span::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 7px;
  width: 6px;
  height: 12px;
  border-right: 2px solid #111;
  border-bottom: 2px solid #111;
  transform: rotate(45deg);
}

.p-event-article-single__document-form .wpforms-field-radio input[type="radio"]:checked + span::after,
.p-event-article-single__content .wpforms-field-radio input[type="radio"]:checked + span::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 10px;
  width: 10px;
  height: 10px;
  background: #e60012;
  border-radius: 50%;
}

/* ---------- privacy / disclaimer ---------- */
.p-event-article-single__document-form .wpforms-field.wpforms-field-checkbox,
.p-event-article-single__content .wpforms-field.wpforms-field-checkbox {
  display: block;
  width: 100%;
}

.p-event-article-single__document-form .wpforms-field.wpforms-field-checkbox fieldset,
.p-event-article-single__content .wpforms-field.wpforms-field-checkbox fieldset {
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.p-event-article-single__document-form .wpforms-disclaimer-description,
.p-event-article-single__content .wpforms-disclaimer-description {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 320px !important;
  max-height: 320px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  margin-top: 20px !important;
  padding: 20px 24px !important;
  box-sizing: border-box !important;
  border: 1px solid #d9d9d9 !important;
  background: #fff !important;
  position: relative;
  z-index: 1;
  font-size: 13px;
  line-height: 1.9;
  color: #111;
}

.p-event-article-single__document-form .wpforms-disclaimer-description p,
.p-event-article-single__content .wpforms-disclaimer-description p {
  margin: 0;
  white-space: normal;
  word-break: break-word;
}

.p-event-article-single__document-form .wpforms-disclaimer-description p + p,
.p-event-article-single__content .wpforms-disclaimer-description p + p {
  margin-top: 10px;
}

/* ---------- submit ---------- */
.p-event-article-single__document-form .wpforms-submit-container,
.p-event-article-single__content .wpforms-submit-container {
  display: block;
  clear: both;
  margin-top: 32px !important;
  text-align: center;
  position: relative;
  z-index: 2;
}

.p-event-article-single__document-form button.wpforms-submit,
.p-event-article-single__document-form input[type="submit"].wpforms-submit,
.p-event-article-single__content button.wpforms-submit,
.p-event-article-single__content input[type="submit"].wpforms-submit {
  position: relative !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  min-height: 56px;
  padding: 16px 56px 16px 32px;
  margin: 0 auto;
  border: 1px solid #030301 !important;
  border-radius: 999px !important;
  background: #030301 !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-decoration: none;
  box-shadow: none !important;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    opacity 0.18s ease;
}

.p-event-article-single__document-form button.wpforms-submit:hover,
.p-event-article-single__document-form input[type="submit"].wpforms-submit:hover,
.p-event-article-single__content button.wpforms-submit:hover,
.p-event-article-single__content input[type="submit"].wpforms-submit:hover {
  opacity: 1 !important;
  transform: translateX(2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12) !important;
}

.p-event-article-single__document-form button.wpforms-submit:active,
.p-event-article-single__document-form input[type="submit"].wpforms-submit:active,
.p-event-article-single__content button.wpforms-submit:active,
.p-event-article-single__content input[type="submit"].wpforms-submit:active {
  transform: translateX(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

.p-event-article-single__document-form button.wpforms-submit::after,
.p-event-article-single__document-form input[type="submit"].wpforms-submit::after,
.p-event-article-single__content button.wpforms-submit::after,
.p-event-article-single__content input[type="submit"].wpforms-submit::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 16px;
  width: 24px;
  height: 24px;
  background: #fff;
  border-radius: 50%;
  transform: translateY(-50%);
  transition: right 0.18s ease;
}

.p-event-article-single__document-form button.wpforms-submit::before,
.p-event-article-single__document-form input[type="submit"].wpforms-submit::before,
.p-event-article-single__content button.wpforms-submit::before,
.p-event-article-single__content input[type="submit"].wpforms-submit::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 24px;
  width: 6px;
  height: 6px;
  border-top: 2px solid #030301;
  border-right: 2px solid #030301;
  transform: translateY(-50%) rotate(45deg);
  z-index: 1;
  transition: right 0.18s ease;
}

.p-event-article-single__document-form button.wpforms-submit:hover::after,
.p-event-article-single__document-form input[type="submit"].wpforms-submit:hover::after,
.p-event-article-single__content button.wpforms-submit:hover::after,
.p-event-article-single__content input[type="submit"].wpforms-submit:hover::after {
  right: 13px;
}

.p-event-article-single__document-form button.wpforms-submit:hover::before,
.p-event-article-single__document-form input[type="submit"].wpforms-submit:hover::before,
.p-event-article-single__content button.wpforms-submit:hover::before,
.p-event-article-single__content input[type="submit"].wpforms-submit:hover::before {
  right: 21px;
}

/* =========================================================
  tmp_list / archive page only
========================================================= */
.p-post-scope--archive {
  background: #fff;
}

.p-post-scope--archive .p-post-archive-breadcrumb {
  padding: 24px 0 0;
  background: #fff;
}

.p-post-scope--archive .p-post-archive {
  padding: 38px 0 110px;
  background: #fff;
}

.p-post-scope--archive .p-post-archive__main {
  min-width: 0;
}

.p-post-scope--archive .p-post-cards.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px 20px;
}

.p-post-scope--archive .p-post-card {
  min-width: 0;
}

.p-post-scope--archive .p-post-card__thumb,
.p-post-scope--archive .p-post-card .post-thumbnail {
  display: block;
  aspect-ratio: 240 / 160;
  overflow: hidden;
  background: #f3f3f3;
}

.p-post-scope--archive .p-post-card__thumb-img,
.p-post-scope--archive .p-post-card .wp-post-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.p-post-scope--archive .p-post-card__body {
  margin-top: 10px;
}

.p-post-scope--archive .p-post-card__date,
.p-post-scope--archive .entry-date {
  display: block;
  font-size: 12px;
  line-height: 1.4;
  color: #8b8b8b;
}

.p-post-scope--archive .p-post-card__title,
.p-post-scope--archive .entry-title {
  margin: 8px 0 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

.p-post-scope--archive .p-post-card__title-link {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.p-post-scope--archive .p-post-card__meta {
  margin-top: 10px;
}

.p-post-scope--archive .p-post-tags,
.p-post-scope--archive .cat-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.p-post-scope--archive .p-post-tags__item {
  margin: 0;
}

.p-post-scope--archive .c-tag,
.p-post-scope--archive .cat-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 4px;
  background: #f3e9e7;
  color: #111;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
}

.p-post-scope--archive .p-pagination {
  margin-top: 56px;
}

.p-post-scope--archive .p-pagination .nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin: auto;
}

.p-post-scope--archive .p-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  min-height: 18px;
  color: #111;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease,
    opacity 0.2s ease;
}

.p-post-scope--archive .p-pagination .page-numbers.current {
  color: #e60213;
  pointer-events: none;
}

.p-post-scope--archive .p-pagination .page-numbers.dots {
  pointer-events: none;
  transform: none;
}

.p-post-scope--archive .p-pagination a.page-numbers:hover {
  color: var(--red);
  transform: translateY(-1px);
  opacity: 1;
}

.p-post-scope--archive .p-pagination__btn {
  width: 32px;
  height: 32px;
  min-width: 32px !important;
  border-radius: 50%;
  background: #e60213;
  color: #fff !important;
  border: 1px solid transparent;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.p-post-scope--archive .p-pagination__icon {
  font-size: 22px;
  line-height: 1;
  transform: translateY(-1px);
  transition: color 0.2s ease, transform 0.2s ease;
}

.p-post-scope--archive .p-pagination__btn:hover {
  background: #fff;
  color: var(--red) !important;
  border-color: var(--red);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  opacity: 1;
}

.p-post-scope--archive .p-pagination__btn:hover .p-pagination__icon {
  color: var(--red);
  transform: translateY(-1px) scale(1.05);
}

/* card hover */
.p-post-scope--archive .p-post-card__thumb:hover,
.p-post-scope--archive .p-post-card__title-link:hover {
  opacity: 0.85;
}

/* =========================================================
  share icons
========================================================= */
.p-post-scope .p-post-single__share,
.p-event-article-single__share {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.p-post-scope .p-post-single__share-label,
.p-event-article-single__share-label {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  color: #111;
  margin: 0;
}

.p-post-scope .p-post-single__share-list,
.p-event-article-single__share-list {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.p-post-scope .p-post-single__share-item,
.p-event-article-single__share-item {
  margin: 0;
}

.p-post-scope .p-post-single__share-link,
.p-event-article-single__share-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.p-post-scope .p-post-single__share-link:hover,
.p-event-article-single__share-link:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.p-post-scope .p-post-single__share-link img,
.p-event-article-single__share-link img {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.p-post-scope .p-post-single__share-link.is-copy,
.p-event-article-single__share-link.is-copy {
  appearance: none;
  -webkit-appearance: none;
}

/* =========================================================
  responsive
========================================================= */
@media (max-width: 1100px) {
  .p-post-scope .p-post-archive__layout,
  .p-post-scope .p-post-single__layout,
  .p-post-scope--archive .p-post-archive__layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .p-post-scope .related-posts__grid,
  .p-event-article-single .related-posts__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .p-post-scope .p-post-sidebar,
  .p-post-scope--archive .p-post-sidebar {
    position: sticky;
    top: 120px;
    max-width: 420px;
  }
}

@media (max-width: 767px) {
  .p-post-scope .p-post-archive-mv {
    padding: 44px 0 36px;
  }

  .p-post-scope .p-post-archive-mv__title {
    font-size: 28px;
  }

  .p-post-scope .p-post-archive {
    padding: 40px 0;
  }

  .p-post-scope--archive .p-post-archive {
    padding: 28px 0 72px;
  }

  .p-post-scope--archive .p-post-cards.posts-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .p-post-scope--archive .p-post-card__thumb,
  .p-post-scope--archive .p-post-card .post-thumbnail {
    aspect-ratio: 600 / 360;
  }

  .p-post-scope .entry-title,
  .p-event-article-single .entry-title {
    font-size: 24px;
  }

  .p-post-scope .entry-content > * + *,
  .p-event-article-single .entry-content > * + * {
    margin-top: 20px;
  }

  .p-post-scope .entry-content > h2 + *,
  .p-post-scope .entry-content > h3 + *,
  .p-post-scope .entry-content > h4 + *,
  .p-event-article-single .entry-content > h2 + *,
  .p-event-article-single .entry-content > h3 + *,
  .p-event-article-single .entry-content > h4 + * {
    margin-top: 14px;
  }

  .p-post-scope .entry-content h2,
  .p-event-article-single .entry-content h2 {
    font-size: 24px;
  }

  .p-post-scope .entry-content h3,
  .p-event-article-single .entry-content h3 {
    font-size: 20px;
    padding: 10px 12px;
  }

  .p-post-scope .entry-content h4,
  .p-event-article-single .entry-content h4 {
    font-size: 18px;
  }

  .p-post-scope .entry-content p,
  .p-post-scope .entry-content ul li,
  .p-post-scope .entry-content ol li,
  .p-post-scope .entry-content blockquote p,
  .p-post-scope .entry-content .wp-block-table th,
  .p-post-scope .entry-content .wp-block-table td,
  .p-post-scope .entry-content table th,
  .p-post-scope .entry-content table td,
  .p-event-article-single .entry-content p,
  .p-event-article-single .entry-content ul li,
  .p-event-article-single .entry-content ol li,
  .p-event-article-single .entry-content blockquote p,
  .p-event-article-single .entry-content .wp-block-table th,
  .p-event-article-single .entry-content .wp-block-table td,
  .p-event-article-single .entry-content table th,
  .p-event-article-single .entry-content table td {
    font-size: 15px;
  }

  .p-post-scope .tags-links a,
  .p-event-article-single .entry-meta .tags-links a,
  .p-event-article-single .p-event-article-single__terms a {
    font-size: 12px;
    padding: 3px 8px;
  }

  .p-post-scope .related-card__title {
    font-size: 13px;
  }

  .p-post-scope .related-card__tag {
    font-size: 10px;
    padding: 2px 6px;
  }

  .p-post-scope .p-toc__link,
  .p-post-scope .p-toc__sub-link {
    font-size: 14px;
  }

  .p-post-scope .entry-content .wp-block-button .wp-block-button__link,
  .p-event-article-single .entry-content .wp-block-button .wp-block-button__link {
    width: 100%;
  }

  .p-post-scope .entry-content .wp-block-table.is-style-atj-table-b th,
  .p-event-article-single .entry-content .wp-block-table.is-style-atj-table-b th {
    width: 140px;
  }

  .p-event-article-single__breadcrumb {
    padding-top: 24px;
  }

  .p-event-article-single__article {
    padding: 20px 0 56px;
  }

  .p-event-article-single__document-inner,
  .p-event-article-single .related-posts__inner {
    padding: 20px 16px 24px;
  }

  .p-event-article-single__document-title {
    font-size: 18px;
  }

  .p-event-article-single__document-text {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.8;
    text-align: left;
  }

  .p-event-article-single .related-posts__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .p-event-article-single .related-card__date {
    font-size: 10px;
  }

  .p-event-article-single .related-card__title {
    font-size: 12px;
  }

  .p-event-article-single .related-card__tag {
    font-size: 10px;
    padding: 2px 5px;
  }

  .p-event-article-single__document-form button.wpforms-submit,
  .p-event-article-single__document-form input[type="submit"].wpforms-submit,
  .p-event-article-single__content button.wpforms-submit,
  .p-event-article-single__content input[type="submit"].wpforms-submit {
    width: 100%;
    min-width: 0;
  }

  .p-event-article-single__document-form .wpforms-disclaimer-description,
  .p-event-article-single__content .wpforms-disclaimer-description {
    height: 240px !important;
    max-height: 240px !important;
    padding: 16px 18px !important;
  }

  .p-post-scope .p-post-sidebar,
  .p-post-scope--archive .p-post-sidebar {
    position: static;
    top: auto;
    max-width: none;
  }

  .p-post-scope .p-post-sidebar .wp-block-heading,
  .p-post-scope--archive .p-post-sidebar .wp-block-heading {
    font-size: 18px;
  }

  .p-post-scope .p-post-sidebar .wp-block-latest-posts > li,
  .p-post-scope--archive .p-post-sidebar .wp-block-latest-posts > li {
    grid-template-columns: 56px minmax(0, 1fr);
    padding: 12px;
  }

  .p-post-scope .p-post-sidebar .wp-block-latest-posts__featured-image,
  .p-post-scope--archive .p-post-sidebar .wp-block-latest-posts__featured-image {
    width: 56px;
    height: 56px;
  }

  .p-post-scope .p-post-sidebar .wp-block-latest-posts__post-title,
  .p-post-scope--archive .p-post-sidebar .wp-block-latest-posts__post-title {
    font-size: 14px;
  }

  .p-post-scope .p-post-sidebar .wp-block-latest-posts__post-date,
  .p-post-scope--archive .p-post-sidebar .wp-block-latest-posts__post-date {
    font-size: 10px;
  }

  .p-post-scope .p-post-single__share,
  .p-event-article-single__share {
    gap: 10px;
  }

  .p-post-scope .p-post-single__share-list,
  .p-event-article-single__share-list {
    gap: 10px;
  }

  .p-post-scope .p-post-single__share-link,
  .p-event-article-single__share-link {
    width: 42px;
    height: 42px;
  }

  .p-post-scope .p-post-single__share-link img,
  .p-event-article-single__share-link img {
    width: 42px;
    height: 42px;
  }

  .p-post-scope--archive .p-pagination .nav-links {
    gap: 14px;
  }

  .p-post-scope--archive .p-pagination .page-numbers {
    font-size: 14px;
  }
}
