/* 記事詳細ページ専用スタイル */

.niseko-single {
}

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

.single-content {
  display: grid;
  grid-template-columns: 759px 320px;
  gap: 0;
  align-items: start;
  margin: 0 90px;
}

/* 記事メインコンテンツ */
.single-article {
  position: relative;
  padding: 0 50px;
}

.article-header {
}

.article-category {
  position: absolute;
  top: -2px;
  left: 24px;
  background: var(--season-color);
  padding: 4px 16px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0.04em;
}

.article-category.black {
  background: #000;
  color: #fff;
}

.article-title {
  margin-top: 56px;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.43;
  letter-spacing: 0.02em;
}

.article-tags {
  margin-top: 16px;
  display: flex;
  gap: 10px;
}

.article-tag {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.43;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: #000;
  transition: color 0.3s ease;
}

.article-tag:hover {
  color: var(--season-color);
}

.article-featured-image {
  position: relative;
  margin-top: 20px;
  width: 100%;
  aspect-ratio: 659/440;
  overflow: hidden;
}

.article-featured-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 659/440;
  object-fit: cover;
}

.image-date {
  position: absolute;
  bottom: 0;
  right: 0;
  background: var(--season-color);
  padding: 4px 12px;
  font-family: "Unbounded", sans-serif;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.08em;
}

.article-writer {
  margin-top: 22px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 22px;
}

.article-writer-title-imgBox {
  position: absolute;
  top: -10px;
  left: 4px;
}

.article-writer-title-imgBox img {
  width: 72px;
  height: auto;
}

.article-writer-avatar {
  position: relative;
}

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

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

.article-writer-content {
  flex: 1;
  position: relative;
}

.article-writer-name {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.33;
  letter-spacing: 0.03em;
}

.article-writer-excerpt {
  margin-top: 6px;
  font-weight: 500;
  line-height: 1.625;
  letter-spacing: 0.04em;
}

.article-writer-bottom {
  border-top: 1px dashed #000;
  margin-top: 22px;
  padding-top: 28px;
  padding-bottom: 36px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 22px;
}

.article-writer-bottom .article-writer-excerpt {
  font-size: 12px;
  line-height: 1.33;
  letter-spacing: 0.04em;
}

.article-writer-actions {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  gap: 10px;
}

.article-writer-btn {
  position: relative;
  width: 260px;
  height: 40px;
  background: white;
  border: 1px solid #000;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 30px;
  font-size: 14px;
  letter-spacing: 0.04em;
  border-radius: 24px;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.article-writer-btn.season-color {
  border: 1px solid var(--season-color);
  background: var(--season-color);
}

.article-writer-btn:hover {
  opacity: 0.7;
}

.article-writer-btn-arrow {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
}

.article-content {
  margin-top: 20px;
  padding: 20px 0 33px;
  border-top: 1px dashed #000;
  line-height: 1.8;
}

.article-content h1 {
  position: relative;
  padding-left: 23px;
  padding-bottom: 14px;
  overflow: hidden;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.42;
  letter-spacing: 0.04em;
}

.article-content h1::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 6px;
  width: 25px;
  height: 25px;
  background: var(--season-color);
  border-radius: 50%;
}

.article-content h2 {
  position: relative;
  padding-left: 16px;
  padding-bottom: 14px;
  overflow: hidden;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.45;
}

.article-content h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 6px;
  height: 30px;
  background: var(--season-color);
}

.article-content h3 {
  position: relative;
  padding-left: 16px;
  padding-bottom: 14px;
  overflow: hidden;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.44;
}

.article-content h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background: var(--season-color);
}

.article-h3 {
  font-size: 18px;
  font-weight: 500;
  color: #000;
  margin: 25px 0 15px 0;
  position: relative;
  padding-left: 20px;
}

.article-h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: #ff6400;
  border-radius: 50%;
}

.article-content p {
  font-weight: 500;
  line-height: 1.75;
}

.article-content p + p {
  margin-top: 14px;
}

.article-content img {
  max-width: 100%;
  height: auto;
}

.article-content blockquote {
  background: #ffefe5;
  padding: 20px 22px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.43;
}

.article-content ul {
  padding-left: 18px;
}

.article-content li {
  font-weight: 500;
  line-height: 1.75;
}

.article-content li::marker {
  content: "・";
  color: var(--season-color);
}

.article-quote {
  background: #fffef5;
  border: none;
  padding: 20px;
  margin: 30px 0;
  font-style: italic;
  color: #333;
  width: 660px;
  height: 100px;
  display: flex;
  align-items: center;
}

/* 推奨記事 */
.recommended-articles {
  margin-top: 28px;
}

.recommended-header {
  text-align: center;
  margin-bottom: 30px;
  position: relative;
}

.recommended-title {
  font-size: 22px;
  font-weight: 500;
  color: #000;
  margin: 0;
}

.recommended-grid {
  margin: 28px auto 0;
  width: fit-content;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 35px;
}

.recommended-item {
  background: white;
  border: 1px solid #000;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.recommended-item:hover {
  transform: translateY(-5px);
}

.recommended-category {
  background: #ff6400;
  color: white;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 500;
  border-radius: 4px;
  display: inline-block;
  margin: 15px;
}

.recommended-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

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

.recommended-item-title {
  font-size: 16px;
  font-weight: 500;
  color: #000;
  margin: 15px;
  line-height: 1.4;
}

.recommended-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 15px;
  font-size: 12px;
  color: #666;
}

.recommended-date {
  font-size: 12px;
  color: #666;
}

.recommended-author {
  display: flex;
  align-items: center;
  gap: 8px;
}

.recommended-author .author-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  overflow: hidden;
}

.recommended-author .author-name {
  font-size: 12px;
  color: #666;
}

/* レスポンシブデザイン */
@media (max-width: 1024px) {
  .single-content {
    grid-template-columns: 1fr;
    gap: 30px;
    margin: 0 20px;
  }

  .single-article {
    width: 100%;
    height: auto;
  }

  .single-sidebar {
    width: 100%;
    margin-top: 0;
  }

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

@media (max-width: 768px) {
  .niseko-single {
    padding: 0;
  }

  .single-container {
    padding: 0;
  }

  .breadcrumbs {
    padding: 20px;
  }

  .single-content {
    margin: 0;
  }

  .single-article {
    width: 100%;
    height: auto;
  }

  .article-header {
    padding: 20px;
  }

  .article-title {
    font-size: 24px;
    width: 100%;
    height: auto;
  }

  .article-featured-image {
    width: 100%;
    height: 250px;
  }

  .article-content {
    padding: 20px;
  }

  .article-h2 {
    font-size: 20px;
    width: 100%;
    height: auto;
  }

  .article-h3 {
    font-size: 18px;
  }

  .article-content p {
    width: 100%;
    height: auto;
  }

  .article-image {
    width: 100%;
    height: 250px;
  }

  .article-list {
    width: 100%;
    height: auto;
  }

  .article-quote {
    width: 100%;
    height: auto;
  }

  .article-author {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .article-author .author-bio {
    width: 100%;
    height: auto;
  }

  .article-author-bottom {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .article-author-bottom .author-bio {
    width: 100%;
    height: auto;
  }

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

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

  .sidebar-form,
  .sidebar-column,
  .sidebar-info,
  .sidebar-makers,
  .sidebar-radio,
  .sidebar-recruitment {
    padding: 20px;
  }
}
