body#posts .post__contents {
  padding-left: calc(30 / var(--spSize) * 100vw);
  padding-right: calc(30 / var(--spSize) * 100vw);
  padding-bottom: calc(200 / var(--spSize) * 100vw);
}
@media (768px <= width) {
  body#posts .post__contents {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max(380px, calc(38 * var(--oldrem)));
    -moz-column-gap: calc(7 * var(--oldrem));
         column-gap: calc(7 * var(--oldrem));
    padding-left: 0;
    padding-right: 0;
    padding-bottom: calc(11.29 * var(--oldrem));
  }}
@media (768px <= width) {
  body#posts .post__contents .wp-pagenavi {
    width: 100%;
    margin: 0;
  }}
body#posts .post__lists {
  display: grid;
  gap: calc(100 / var(--spSize) * 100vw) 0;
  margin-bottom: calc(100 / var(--spSize) * 100vw);
}
@media (768px <= width) {
  body#posts .post__lists {
    gap: 0;
    border-top: 1px solid var(--clr-lightYellow3);
    margin-bottom: calc(7.69 * var(--oldrem));
  }}
body#posts .post__item {
  border-bottom: 1px solid var(--clr-lightYellow3);
  padding-bottom: calc(10 / var(--spSize) * 100vw);
}
@media (768px <= width) {
  body#posts .post__item {
    padding: 40px 0;
    display: grid;
    grid-template-columns: 300fr 735fr;
    gap: 5.4545454545%;
    position: relative;
  }}
@media (hover: hover) and (width >= 768px) {
  body#posts .post__item {
    transition: all var(--speed) ease-in-out;
  }
  body#posts .post__item img,
  body#posts .post__item .noimage {
    transition: all 750ms cubic-bezier(0.43, 0.05, 0.17, 1);
  }
  body#posts .post__item figure {
    overflow: hidden;
  }
  body#posts .post__item:hover {
    opacity: 0.7;
  }}
body#posts .post__item figure {
  margin-bottom: 0;
}
@media (768px <= width) {
  body#posts .post__item figure {
    margin-bottom: 0;
  }}
body#posts .post__item img {
  aspect-ratio: 300/170;
  -o-object-fit: cover;
     object-fit: cover;
}
body#posts .post__item .noimage {
  background: #fff url(../images/common/logo-square.webp) center/auto 60% no-repeat;
  background-image: -webkit-image-set(url(../images/common/logo-square.webp) 1x, url(../images/common/logo-square@2x.webp) 2x);
  background-image: image-set(url(../images/common/logo-square.webp) 1x, url(../images/common/logo-square@2x.webp) 2x);
  background-color: #fff;
  aspect-ratio: 300/170;
}
body#posts .post__item .wrap {
  margin-top: calc(60 / var(--spSize) * 100vw);
  padding-bottom: calc(20 / var(--spSize) * 100vw);
  position: relative;
}
@media (768px <= width) {
  body#posts .post__item .wrap {
    margin-top: 0;
    padding-bottom: 0;
    position: static;
    display: grid;
    grid-template-rows: 30px auto 30px;
  }}
body#posts .post__item .category {
  color: var(--clr-blue);
  border: 1px solid var(--clr-blue);
  font-size: calc(1.2 * var(--oldrem));
  line-height: 25px;
  border-radius: 5px;
  width: calc(280 / var(--spSize) * 100vw);
  display: inline-block;
  text-align: center;
}
@media (768px <= width) {
  body#posts .post__item .category {
    width: auto;
    padding: 0 14px;
    justify-self: flex-start;
  }}
body#posts .post__item .title {
  font-size: calc(1.4 * var(--oldrem));
  font-family: var(--ff-shippori);
  font-weight: 500;
  line-height: 1.8333;
  margin-top: calc(20 / var(--spSize) * 100vw);
  margin-bottom: calc(30 / var(--spSize) * 100vw);
}
@media (768px <= width) {
  body#posts .post__item .title {
    font-size: calc(2.2 * var(--oldrem));
    margin-top: 10px;
    margin-bottom: auto;
  }}
body#posts .post__item .time {
  font-size: calc(1.2 * var(--oldrem));
  color: #999;
}
body#posts .post__item .arrow {
  position: absolute;
  right: 0;
  bottom: 0;
  width: calc(60 / var(--spSize) * 100vw);
  height: calc(60 / var(--spSize) * 100vw);
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px dotted #333;
}
@media (768px <= width) {
  body#posts .post__item .arrow {
    width: 60px;
    height: 40px;
    bottom: 15px;
  }}
/* ブログ一覧の枠を広げる（2026-09-11）PC表示のみ。
   .w_1600 は全ページ共通で 1000px のため、ここでは一覧ページ(body#posts)だけに
   上書きしている。パンくず・ページタイトル・本文の左右が揃うよう3つとも対象にする。 */
@media (768px <= width) {
  body#posts .w_1600 {
    margin-left: max(50% - 600px, calc(6 * var(--oldrem)));
    margin-right: max(50% - 600px, calc(6 * var(--oldrem)));
    max-width: 1200px;
  }}

/* 一覧の記事タイトル（2026-09-11）PC表示のみ。18px 相当に下げる。 */
@media (768px <= width) {
  body#posts .post__item .title {
    font-size: max(18px, calc(1.8 * var(--oldrem)));
  }}

/* 枠を1200pxに広げたぶんページタイトルが左へ寄り、ロゴ（下端133px）と
   重なる位置に来るため、上の余白を足して下げる（2026-09-11）PC表示のみ。 */
@media (768px <= width) {
  body#posts .pagetitle {
    padding-top: 130px;
  }}

/* 一覧の行はリンク全体に下線が付く。記事タイトルの下線が不要とのことで外す。
   同じ指定から出ているカテゴリ名・日付の下線も一緒に消える（2026-09-11）。 */
body#posts .post__item,
body#posts .post__item .title {
  text-decoration: none;
}

/* ══════════ 縦持ちタブレット（768〜1199px）の一覧（2026-09-12）══════════
   サイドバーに「380px以上」の下限があり、幅834pxだと本文348px・
   サイドバー380pxと逆転していた。1列に並べ替え、サイドバーを下に置く。
   横幅1200px以上（パソコン）の見え方は変えていない。 */
@media (768px <= width <= 1199px) {
  body#posts .post__contents {
    grid-template-columns: minmax(0, 1fr);
  }
  body#posts .post__side {
    min-width: 0;
    width: 100%;
    margin-top: calc(6 * var(--oldrem));
  }
}
