/* インスタグラムリンク ---------------*/
.link_insta{
  padding-top: 24px;
}

.link_insta a{
  font-size: 1em;
  color: #333;
  font-weight: bold;
  text-decoration: none;
}

.link_insta a::before{
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 8px;
  background-image: url(../img/ico_Insta.svg);
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
}

.link_insta a:hover{
  text-decoration: underline;
}


/* ピックアップ ---------------*/
.pickup_item {
  display: grid;
  grid-template-columns: 300px 1fr 200px;
  grid-template-rows: auto auto auto 1fr;
  grid-template-areas:
    "cover   header  header"
    "cover   excerpt excerpt"
    "cover   gallery toc"
    "meta   gallery toc";
  gap: 24px 32px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
  background-color: #fefefe;
}

.pickup_item_cover {
  grid-area: cover;
}
.pickup_item_cover img {
  display: block;
  width: 100%;
  height: auto;
}
.pickup_item_meta {
  grid-area: meta;
  font-size: 0.75em;
  line-height: 1.6;
  color: #555;
}

.pickup_item_header {
  grid-area: header;
}
 .pickup_item_title {
  margin: 0;
  padding: 1em 0 0;
  line-height: 1.2;
  font-family: "Noto Serif JP", "游明朝体", "Yu Mincho", yumincho, "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
  font-size: 1.5em;
  font-weight: bold;
}
.pickup_item_title small {
  font-size: 0.65em;

  display: block;
  margin-top: 0.8em;
}
.pickup_item_excerpt {
  grid-area: excerpt;
  background-color: #faf5ee;
  padding: 20px;
  line-height: 1.8;
  font-size: 0.95em;
}

.pickup_item_gallery {
  grid-area: gallery;
  display: flex;
  gap: 8px;
}
.pickup_item_gallery img {
  display: block;
  width: 100%;
  height: auto;
}

.pickup_item_gallery span {
  display: block;
  font-size: 0.7em;
  font-weight: normal;
  text-align: center;
  margin-top: 0.5em;
}

.pickup_item_toc {
  grid-area: toc;
  font-size: 0.75em;
  line-height: 1.6;
}
.pickup_item_toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.pickup_item_toc li {
  margin-bottom: 1em;
}
 .pickup_item_chapter {
  font-weight: bold;
}



.e-note{
  font-size: 8px;
}

/* Swiperスライダー用カスタムCSS */
.pickup-swiper {
  position: relative;
  padding: 0 48px; /* ボタン分の余白を確保 */
}
/* .pickup-swiper .swiper-pagination {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  z-index: 10;
  display: block !important;
} */
.pickup-swiper .swiper-button-next,
.pickup-swiper .swiper-button-prev {
  color: #333;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex !important;
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  align-items: center;
  justify-content: center;
}
.pickup-swiper .swiper-button-next {
  right: -18px; /* スライダー外側に配置 */
  left: auto;
}
.pickup-swiper .swiper-button-prev {
  left: -18px; /* スライダー外側に配置 */
  right: auto;
}
.pickup-swiper .swiper-button-next:after,
.pickup-swiper .swiper-button-prev:after {
  font-size: 36px !important;
  color: #666;
}
@media (max-width: 767px) {
  .pickup-swiper {
    padding: 0 8px;
    position: relative;
  }
  .pickup-swiper .swiper-button-next,
  .pickup-swiper .swiper-button-prev {
    position: fixed !important;
    top: 50dvh !important;
    transform: translateY(-50%) !important;
    z-index: 1000 !important;
    display: flex !important;
  }
  .pickup-swiper.show-nav .swiper-button-next,
  .pickup-swiper.show-nav .swiper-button-prev {
    display: flex !important; /* ← JSでこのクラスを付与して表示 */
  }
  .pickup-swiper .swiper-button-next {
    right: 8px;
    left: auto;
  }
  .pickup-swiper .swiper-button-prev {
    left: 8px;
    right: auto;
  }

  .pickup_item {
    display: grid;
    grid-template-columns: 40% 1fr;
    grid-template-rows: auto auto auto auto auto;
    grid-template-areas:
    "cover header"
     "cover meta"
     "cover meta"
      "excerpt  excerpt"
      "gallery toc";
    gap: 24px;
    max-width: 100%;
    margin: 0 auto;
    padding: 24px 0;
    background-color: #fefefe;
  }

  .pickup_item_title { 
    font-size: 1em;
    line-height: 1.6;
  }
  .pickup_item_title small {
    font-size: 0.65em;
    margin-top: 0.6em;
    line-height: 1.6;
  }

  .pickup_item_gallery {
    flex-direction: column;
    gap: 8px;
  }
  .pickup_item_gallery span {
    font-size: 0.5em;
  }

  .pickup-swiper .swiper-pagination {
    position: absolute !important;
    left: 50% !important;
    bottom: 10px !important;
    transform: translateX(-50%) !important;
    z-index: 10 !important;
    display: block !important;
    opacity: 1;
    transition: none;
    pointer-events: auto;
  }
  .pickup-swiper.hide-pagination .swiper-pagination {
    opacity: 1;
    pointer-events: auto;
  }

  .pickup-swiper .swiper-button-next,
.pickup-swiper .swiper-button-prev {
  width: 52px;
  height: 52px;

}
.pickup-swiper .swiper-button-next {
  right: 8px; /* スライダー外側に配置 */
  left: auto;
}
.pickup-swiper .swiper-button-prev {
  left: 8px; /* スライダー外側に配置 */
  right: auto;
}
.pickup-swiper .swiper-button-next:after,
.pickup-swiper .swiper-button-prev:after {
  font-size: 28px !important;
  color: #666;
}
}
