/* ニセコホームページ専用スタイル */
.niseko-home {
  background-color: #ebe6e1;
  min-height: 100vh;
  font-family: "Zen Kaku Gothic Antique", -apple-system, BlinkMacSystemFont, sans-serif;
  color: #000;
}

/* ヘッダー */
.header-index-text {
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.04em;
}

/* サイドナビゲーション */
.side-nav {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nav-item {
  position: relative;
  left: -34px;
  width: 184px;
  height: 46px;
  background: var(--season-color);
  color: #000;
  padding: 12px 18px;
  text-decoration: none;
  font-weight: 500;
  text-align: right;
  border-radius: 0 23px 23px 0;
  transition: left 0.3s ease;
}

.nav-item:hover {
  left: 0;
}

/* ヒーローセクション */
.hero-section {
  position: relative;
  height: 648px;
}

.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-content {
  flex: 1;
  text-align: center;
  position: relative;
}

.main-title {
  font-size: 72px;
  font-weight: 700;
  margin: 0 0 40px 0;
  letter-spacing: 0.05em;
}

.hero-illustration {
  position: relative;
  margin: 0 auto;
}

/* ニュースティッカー */
.news-ticker-section {
  overflow: hidden;
}

.news-ticker-contentBox {
  padding: 18px 0;
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
}

.news-ticker-wrapper {
  position: relative;
  white-space: nowrap;
  display: flex;
}

.news-ticker-content {
  min-width: 1280px;
  white-space: nowrap;
  display: flex;
  justify-content: space-around;
  gap: 16px;
  margin-left: 16px;
  animation: scroll-left 20s linear infinite;
}

.news-ticker-contentBox:hover .news-ticker-content {
  animation-play-state: paused;
}

.news-ticker-content-item {
  display: inline-block;
  color: #000;
  line-height: 1.25;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: color 0.3s ease;
}

.news-ticker-content-item:hover {
  color: var(--season-color);
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

.news-ticker-gallery-wrapper {
  overflow: hidden;
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.news-ticker-gallery {
  display: flex;
  gap: 10px;
}

@keyframes scroll-gallery {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

.news-ticker-gallery-item {
  width: 194px;
  height: 136px;
  padding: 10px;
  border: 2px solid #000;
  overflow: hidden;
  background: white;
  flex-shrink: 0;
}

.news-ticker-gallery-item--info {
  margin-left: -40px;
  padding: 0;
  border: none;
  background: none;
}

.news-ticker-gallery-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 174/116;
  object-fit: cover;
}

/* PICK UP! セクション */
.pickup-section {
  padding: 60px 0;
}

.pickup-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 90px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 20px;
  align-items: start;
}

.pickup-left {
  position: relative;
  background: white;
  border: 2px solid #000;
  border-radius: 15px;
  color: #000;
  text-decoration: none;
  overflow: hidden;
  height: 631px;
  display: flex;
  flex-direction: column;
}

.pickup-content {
  flex: 1;
  display: flex;
}

.pickup-header {
  position: relative;
  flex: 1;
  border-right: 2px solid #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pickup-header-imgBox img {
  width: 84.5px;
  height: auto;
}

.pickup-header-date {
  position: absolute;
  padding: 4px 12px;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--season-color);
  font-family: "Unbounded", sans-serif;
  font-size: 10px;
  color: #000;
}

.pickup-article {
  position: relative;
  width: 585px;
  display: flex;
  flex-direction: column;
}

.pickup-article-info {
  flex: 1;
  padding: 36px 26px 16px;
}

.pickup-cat {
  position: absolute;
  top: -2px;
  left: 24px;
  display: block;
  background: var(--season-color);
  color: white;
  padding: 4px 12px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 15px;
}

.pickup-title {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.27;
  letter-spacing: 0.039em;
}

.pickup-tags {
  margin-top: 4px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pickup-tag {
  font-size: 12px;
  line-height: 1.17;
}

.pickup-article-image {
  width: 100%;
  height: 390px;
  overflow: hidden;
}

.pickup-article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pickup-writer {
  position: relative;
  height: 108px;
  padding: 0 24px 0;
  display: flex;
  align-items: center;
  gap: 16px;
  border-top: 2px solid #000;
  overflow: hidden;
}

.pickup-writer-title-imgBox {
  position: absolute;
  top: 12px;
  left: 26px;
}

.pickup-writer-title-imgBox img {
  width: 58px;
  height: auto;
}

.pickup-writer-avatar-imgBox {
  margin-top: 10px;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  border: 1px solid #000;
  overflow: hidden;
}

.pickup-writer-avatar-imgBox img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.pickup-writer-content {
  position: relative;
}

.pickup-writer-name {
  font-weight: 500;
  line-height: 1.175;
}

.pickup-writer-excerpt {
  width: 454px;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.43;
  letter-spacing: 0.04em;
}

.pickup-arrowBox::before {
  content: "";
  position: absolute;
  border: 28px solid var(--season-color);
  border-top-color: transparent;
  border-left-color: transparent;
  height: 0;
  width: 0;
  bottom: 0;
  right: 0;
}

.pickup-arrow {
  position: absolute;
  bottom: 15px;
  right: 20px;
  transition: all 0.3s ease;
}

.pickup-left:hover .pickup-arrow {
  transform: translateX(10px);
}

.pickup-right {
  width: 320px;
}

/* COLUMN セクション */
.column-section {
  background: #ebe6e1;
  padding: 0;
}

.articles-card-grid {
  position: relative;
  max-width: 1280px;
  width: fit-content;
  margin: 48px auto 0;
  padding: 0 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-content: center;
  gap: 35px;
}

.more-btn-container {
  text-align: center;
  margin-top: 50px;
}

/* INFORMATION セクション */
.information-section {
  padding: 80px 0;
}

.info-cards-grid {
  max-width: 1280px;
  width: fit-content;
  margin: 40px auto 0;
  padding: 0 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 35px;
}

/* THE SAIKO MAKERS セクション */
.makers-section {
  padding: 0 0 80px;
}

.makers-carousel {
  max-width: 1280px;
  margin: 50px auto 0;
  padding: 0 20px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 30px;
}

.carousel-btn {
  background: #ff6400;
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 24px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s ease;
  flex-shrink: 0;
}

.carousel-btn:hover {
  background: #e55a00;
}

.makers-slider {
  display: flex;
  gap: 0;
  overflow-x: visible;
  scroll-behavior: smooth;
  padding-top: 11px;
  flex: 1;
}

/* レスポンシブデザイン */
@media (max-width: 1024px) {
  .side-nav {
    display: none;
  }

  .pickup-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .info-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .membership-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .main-title {
    font-size: 48px;
  }

  .articles-grid {
    grid-template-columns: 1fr;
  }

  .info-cards-grid {
    grid-template-columns: 1fr;
  }

  .banner-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-categories {
    flex-direction: column;
    align-items: center;
  }

  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
}
