/* --------------------------------
 * BlankSlate reset cancellation
 * -------------------------------- */

.single-post .entry-content :where(
  h1, h2, h3, h4, h5, h6,
  p,
  ul, ol, li,
  dl, dt, dd,
  blockquote,
  pre, code,
  table, thead, tbody, tfoot, tr, th, td,
  figure, figcaption,
  hr
) {
  all: revert;
}

/* --------------------------------
 * Media
 * -------------------------------- */

.single-post .entry-content img {
  max-width: 100%;
  height: auto;
}

/* --------------------------------
 * Links
 * -------------------------------- */

.single-post .entry-content a {
  color: inherit;
  text-decoration: underline;
}


/* =============================================
   下層ページ
   ============================================= */

/* --------------------------------
 * 投稿（サポーター活動報告） - 2026/08/24追加
 * -------------------------------- */
/* アーカイブページ（home.php） */
.page-title.blog {
  aspect-ratio: 358 / 131;
  background-image: url("../images/blog/img-kv-title_blog-sp.png");
  background-image: image-set(
    url("../images/blog/img-kv-title_blog-sp.png") 1x,
    url("../images/blog/img-kv-title_blog-sp@2x.png") 2x
  );
}

.blog-card__thumb {
  width: 100%;
  height: auto;
  margin: 0;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  overflow: hidden;
}

.blog-card__thumb img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.blog-card__body {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.blog-card__date {
    margin: 8px 0;
    color: #00AAE8;
    font-family: "Zen Maru Gothic";
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 100%;
}

.blog-card__name {
    color: #005BAC;
    font-family: "Zen Maru Gothic";
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 180%;
}

/* 詳細ページ（single.php, entry.php） */
.l-single-2col {
  /* padding: 40px 0; */
  padding: 40px 16px;
  display: flex;
  flex-direction: column;
}

.l-single-2col > main {
    width: 100%;
    margin-bottom: 80px;
}

.l-single-2col > aside {
    width: 100%;
}

.l-single-header-post {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 32px;
}

.entry-title-post {
    padding-bottom: 32px;
    color: #005BAC;
    font-family: "Zen Maru Gothic";
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: 180%;
    border-bottom: 4px solid #00AAE8;
}

.buttons-archive-link {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-top: 72px;
}

.buttons-archive-link .button-archive-link {
    width: 100%;
    max-width: 302px;
}

.buttons-archive-link .button-archive-link a.archive-link {
    display: flex;
    width: 100%;
    padding: 16px 24px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    color: #FFF;
    text-align: center;
    font-family: "Zen Maru Gothic";
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    border-radius: 100px;
    background: #00AAE8;
    transition: box-shadow 0.3s ease;
}

.buttons-archive-link .button-archive-link a.archive-link:hover {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
}

/* aside */
.archive-aside-title {
  width: 100%;
  max-width: 506px;
  margin-inline: auto;
  margin-bottom: 32px;
  font-size: 0;
  aspect-ratio: 506 / 105;
  background-image: url("../images/blog/img-archive-title_blog.png");
  background-image: image-set(
    url("../images/blog/img-archive-title_blog.png") 1x,
    url("../images/blog/img-archive-title_blog@2x.png") 2x
  );
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.archive-aside-wrap {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 16px;
}

.blog-card-aside__thumb {
  width: 100%;
  height: auto;
  margin: 0;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  overflow: hidden;
}

.blog-card-aside__thumb img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.blog-card-aside__body {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.blog-card-aside__date {
    margin: 8px 0;
    color: #00AAE8;
    font-family: "Zen Maru Gothic";
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 100%;
}

.blog-card-aside__name {
    color: #005BAC;
    font-family: "Zen Maru Gothic";
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 180%;
}

@media (min-width: 768px) and (max-width: 1079px) {
  .l-single-2col {
    padding: 60px 16px;
    flex-direction: column;
  }

  .archive-aside-wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
  }
}

@media (min-width: 1080px) {
  .page-title.blog {
    max-width: 1120px;
    aspect-ratio: 112 / 18;
    background-image: url("../images/blog/img-kv-title_blog-pc.png");
    background-image: image-set(
      url("../images/blog/img-kv-title_blog-pc.png") 1x,
      url("../images/blog/img-kv-title_blog-pc@2x.png") 2x
    );
  }

  .l-single-2col {
    padding: 80px 0;
    flex-direction: row;
    justify-content: space-between;
  }
  
  .l-single-2col > main {
    width: 632px;
    flex-shrink: 0;
  }

  .l-single-2col > aside {
    width: 352px;
    flex-shrink: 0;
  }

  .entry-title-post {
    font-size: 40px;
  }

  .archive-aside-wrap {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 16px;
  }
}
