/* Vayu 記事末回遊棚 v2：復旧はこのファイルと functions.php 冒頭の require を外す。 */
.vayu-related-shelf{
  max-width:900px;
  margin:68px auto 16px;
  padding-top:22px;
  border-top:1px solid #dedfd7;
  color:#3f4742;
}
.vayu-related-shelf__header{margin:0 0 22px}
.vayu-related-shelf__eyebrow{
  margin:0 0 7px;
  color:#84917d;
  font-family:"Josefin Sans",sans-serif;
  font-size:10px;
  letter-spacing:.2em;
}
#body_wrap .post_content .vayu-related-shelf h2.vayu-related-shelf__heading{
  display:block!important;
  min-height:0!important;
  margin:0;
  padding:0!important;
  border:0!important;
  background:none!important;
  box-shadow:none!important;
  color:#455048!important;
  font-size:19px!important;
  font-weight:500!important;
  line-height:1.6!important;
  letter-spacing:.06em!important;
  text-align:left!important;
  position:static!important;
  transform:none!important;
}
#body_wrap .post_content .vayu-related-shelf h2.vayu-related-shelf__heading::before,
#body_wrap .post_content .vayu-related-shelf h2.vayu-related-shelf__heading::after{
  content:none!important;
  display:none!important;
}
.vayu-related-shelf__grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
}
.vayu-related-shelf__item{min-width:0;margin:0}
.vayu-related-shelf__link{
  display:block;
  height:100%;
  color:inherit!important;
  text-decoration:none!important;
  background:transparent!important;
  box-shadow:none!important;
}
.vayu-related-shelf__image-wrap{
  display:block;
  overflow:hidden;
  aspect-ratio:4/3;
  border-radius:2px;
  background:#eef0ea;
}
.vayu-related-shelf__image{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .45s ease,opacity .45s ease;
}
.vayu-related-shelf__body{display:block;padding:14px 2px 0}
.vayu-related-shelf__type{
  display:block;
  margin:0 0 7px;
  color:#8b9787;
  font-family:"Josefin Sans",sans-serif;
  font-size:9px;
  letter-spacing:.16em;
}
.vayu-related-shelf__title{
  display:block;
  color:#3f4942;
  font-size:14px;
  font-weight:600;
  line-height:1.65;
}
.vayu-related-shelf__note{
  display:block;
  margin-top:8px;
  color:#747b75;
  font-size:11.5px;
  line-height:1.75;
}
.vayu-related-shelf__more{
  display:block;
  margin-top:11px;
  color:#87917f;
  font-size:10.5px;
  letter-spacing:.05em;
}
.vayu-related-shelf__link:hover .vayu-related-shelf__image{transform:scale(1.025);opacity:.94}
.vayu-related-shelf__link:focus-visible{outline:2px solid #8fa286;outline-offset:5px}

/* 本文に残る旧1本カードは削除せず、v2稼働記事だけ画面上で隠す。 */
.vayu-related-shelf-v2-active .vayu-next-reading,
.vayu-related-shelf-v2-active .vayu-next-reading-line{display:none!important}

@media(max-width:780px){
  .vayu-related-shelf__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .vayu-related-shelf__item:last-child:nth-child(3){grid-column:1/-1;max-width:calc(50% - 11px)}
}
@media(max-width:600px){
  .vayu-related-shelf{margin-top:52px;padding-top:18px}
  .vayu-related-shelf__header{margin-bottom:16px}
  .vayu-related-shelf__heading{font-size:17px}
  .vayu-related-shelf__grid{display:block}
  .vayu-related-shelf__item{padding:14px 0;border-bottom:1px solid #e3e5de}
  .vayu-related-shelf__item:first-child{padding-top:0}
  .vayu-related-shelf__item:last-child:nth-child(3){max-width:none}
  .vayu-related-shelf__link{display:grid;grid-template-columns:112px minmax(0,1fr);gap:14px;align-items:start}
  .vayu-related-shelf__image-wrap{aspect-ratio:4/3}
  .vayu-related-shelf__body{padding:0}
  .vayu-related-shelf__note{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}
  .vayu-related-shelf__more{margin-top:7px}
}
@media(prefers-reduced-motion:reduce){
  .vayu-related-shelf__image{transition:none}
}

/* v2の回遊棚がある記事では、SWELL標準の前後記事リンクを出さない（vayu-wb-pn：復旧はこの1ブロックを消す） */
.vayu-related-shelf-v2-active .l-articleBottom .p-pnLinks{display:none!important}
