@charset "UTF-8";

/* ===========================================
   Base
=========================================== */
.page-channel {
  padding-bottom: 10rem;
  padding-top: 0;
  color: #333;
}

/* Heading */
.channel-heading-design {
  position: relative;
  margin-bottom: 3rem;
  padding-left: 1rem;
}
.channel-heading-design .en {
  display: block;
  font-size: 5rem;
  font-weight: 900;
  line-height: 0.8;
  color: #f0f0f0;
  letter-spacing: 0.05em;
  position: relative;
  z-index: 1;
}
.channel-heading-design .jp {
  display: inline-block;
  font-size: 1.8rem;
  font-weight: bold;
  color: #333;
  position: absolute;
  top: 50%;
  left: 1.5rem;
  transform: translateY(-20%);
  z-index: 2;
  padding-left: 1rem;
  border-left: 4px solid #ff9ccb;
}

/* ===========================================
   PICKUP SLIDER
=========================================== */
.channel-pickup-area {
  margin-bottom: 5rem;
}

/* Main Slider */
.main-swiper {
  margin-bottom: 1.5rem;
  width: 100%;
  border-radius: 0;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  z-index: 1;
}
.channel-main-item {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  cursor: pointer;
  overflow: hidden;
}
.channel-main-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.channel-main-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 3rem 1.5rem 1.5rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: #fff;
}
.channel-main-title {
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 1.4;
  text-shadow: 1px 1px 0 #333;
}

/* Thumbnails */
.thumb-swiper {
  width: 100%;
  /* 上下の枠線が見切れないよう余白確保 */
  padding: 4px 0;
  overflow: hidden !important;
}

.channel-thumb-item {
  aspect-ratio: 16 / 9;
  border-radius: 0;
  /* 透明な枠線 */
  border: 4px solid transparent;
  box-sizing: border-box;
  transition: opacity 0.3s, border-color 0.3s;
  cursor: pointer;
  opacity: 0.4; /* 非アクティブは薄く */

  /* ★拡大・縮小なし */
  transform: none !important;
  filter: none;
  width: 100%;
  display: block;
}
.channel-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ★アクティブサムネイル (枠線のみ) */
.swiper-slide-active .channel-thumb-item {
  border-color: #ff9ccb; /* ピンク枠 */
  opacity: 1; /* 明るく */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}

/* ===========================================
   TABS & LIST & MODAL
=========================================== */
.channel-tabs {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 4rem;
  position: relative;
}
.channel-tabs::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: #ddd;
  z-index: -1;
}
.channel-tab {
  font-size: 1.6rem;
  font-weight: bold;
  color: #999;
  cursor: pointer;
  padding-bottom: 1rem;
  transition: 0.3s;
  position: relative;
  border-bottom: 3px solid transparent;
}
.channel-tab:hover {
  color: #ff9ccb;
}
.channel-tab.is-active {
  color: #333;
  border-bottom-color: #ff9ccb;
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 1.5rem 1.25rem;
}
@media (min-width: 768px) {
  .channel-grid {
    gap: 2.5rem 2rem;
  }
}
.js-filter-item {
/*   visibility: hidden; */
}
.channel-card {
  cursor: pointer;
  display: block;
  position: relative;
}
.channel-card__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  margin-bottom: 1rem;
  overflow: hidden;
  border: 1px solid #eee;
  transition: 0.3s;
}
.channel-card:hover .channel-card__thumb {
  border-color: #ff9ccb;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.channel-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.shine-effect {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.6) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  pointer-events: none;
  z-index: 2;
}
.channel-card:hover .shine-effect {
  animation: shine 0.6s linear forwards;
}
@keyframes shine {
  0% {
    left: -100%;
  }
  100% {
    left: 200%;
  }
}
.channel-card__title {
  font-size: 1.4rem;
  font-weight: bold;
  color: #333;
  line-height: 1.5;
  margin-bottom: 0.3rem;
}
.channel-card__meta {
  font-size: 1.1rem;
  color: #888;
}
.channel-archive-link {
  margin-top: 6rem;
  text-align: center;
}
.archive-btn {
  display: inline-block;
  padding: 1.2rem 4rem;
  background: #fff;
  color: #333;
  font-weight: bold;
  text-decoration: none;
  border: 1px solid #333;
  border-radius: 0;
  transition: 0.2s;
  font-size: 1.2rem;
}
.archive-btn:hover {
  background: #333;
  color: #fff;
}

/* MODAL */
.channel-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.channel-modal.is-open {
  display: block;
}
.channel-modal__overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
}
.channel-modal__window {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 50rem;
  max-height: 85vh;
  background: #fff;
  border: 4px solid #ff9ccb;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.channel-modal__close {
  position: absolute;
  top: 0;
  right: 0;
  width: 5rem;
  height: 5rem;
  background: #ff9ccb;
  border: none;
  cursor: pointer;
  z-index: 100;
}
.channel-modal__close::before,
.channel-modal__close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2.5rem;
  height: 2px;
  background: #fff;
  transform: translate(-50%, -50%) rotate(45deg);
}
.channel-modal__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}
.channel-modal__close:hover {
  background: #ff5e62;
}
.channel-modal__scroll-area {
  overflow-y: auto;
  width: 100%;
  height: 100%;
  -webkit-overflow-scrolling: touch;
}
.channel-modal__header-img {
  width: 100%;
  aspect-ratio: 16 / 9;
}
.channel-modal__header-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.channel-modal__body {
  padding: 3rem;
}
.channel-modal__title {
  font-size: 2.2rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 1.5rem;
}
.channel-modal__meta-row {
  font-size: 1.5rem;
  font-weight: bold;
  color: #ff5e62;
  margin-bottom: 2rem;
}
.channel-modal__desc {
  font-size: 1.5rem;
  line-height: 1.8;
  margin-bottom: 3rem;
  color: #555;
}
.channel-modal__actions {
  text-align: center;
}
.channel-link-text {
  font-size: 1.3rem;
  color: #999;
  text-decoration: underline;
  margin-top: 1.5rem;
  display: block;
}

/* Rich Button */
.channel-rich-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-decoration: none;
  width: 100%;
  max-width: 30rem;
  height: 6.5rem;
  margin: 0 auto;
  border-radius: 60px;
  background: linear-gradient(90deg, #ff5e9a, #bd34fe);
  border: 4px solid #ffffff;
  box-shadow: 0 6px 0 #9c27b0, 0 15px 25px rgba(156, 39, 176, 0.3);
  color: #fff;
  transition: all 0.2s cubic-bezier(0.25, 1, 0.5, 1);
  overflow: hidden;
}
.channel-rich-btn .btn-text {
  position: relative;
  z-index: 2;
  font-size: 1.8rem;
  font-weight: bold;
  letter-spacing: 0.1em;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.1);
  line-height: 1;
}
.channel-rich-btn:hover {
  transform: translateY(4px);
  box-shadow: 0 2px 0 #9c27b0, 0 5px 10px rgba(156, 39, 176, 0.2);
}
.channel-rich-btn .btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-20deg);
  z-index: 1;
  animation: btnShine 3s infinite;
}
@keyframes btnShine {
  0% {
    left: -100%;
  }
  20% {
    left: 200%;
  }
  100% {
    left: 200%;
  }
}
.modal-particle {
  position: fixed;
  width: 10px;
  height: 10px;
  background: #ff9ccb;
  pointer-events: none;
  z-index: 10000;
}
