/* ===== 若手作家一覧ページ ===== */

.young-artist-archive {
  margin: 48px 0;
  padding: 0 20px;
}

.young-artist-archive > .container {
  max-width: 1160px;
  margin: 0 auto;
}

.young-artist-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.young-artist-card {
  display: block;
  color: inherit;
  text-decoration: none;
}

.young-artist-thumb {
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: #f6f3ea;
}

.young-artist-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.young-artist-card:hover .young-artist-thumb img {
  transform: scale(1.03);
}

.young-artist-card .young-artist-name {
  margin-top: 10px;
  font-size: 15px;
  font-weight: bold;
}

.young-artist-card:hover .young-artist-name {
  text-decoration: underline;
}

.young-artist-card .young-artist-kana {
  font-size: 12px;
  color: #666;
  margin-top: 2px;
}

/* ===== Bootstrap tab-pane 表示制御（Bootstrap CSS 非ロード補完） ===== */

.tab-content > .tab-pane         { display: none; }
.tab-content > .tab-pane.active  { display: block; }

/* ===== 若手作家 個別プロフィールページ ===== */

.young-artist-intro-bar {
  background: #faf8f3;
  border-bottom: 1px solid #e0d8c8;
  padding: 24px 0;
  margin-bottom: 0;
}

.young-artist-intro-bar > .container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 16px;
}

.young-artist-title {
  font-size: 22px;
  margin: 0;
  font-weight: bold;
}

.young-artist-title .kana {
  font-size: 14px;
  font-weight: normal;
  color: #555;
  margin-left: 6px;
}

.young-artist-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.young-artist-links a {
  display: inline-block;
  padding: 5px 14px;
  border: 1px solid #999;
  font-size: 12px;
  color: #333;
  text-decoration: none;
  letter-spacing: 0.06em;
  transition: background 0.2s, color 0.2s;
}

.young-artist-links a:hover {
  background: #333;
  color: #fff;
  border-color: #333;
}

/* ===== gendai 情報タブ ===== */

.gendai-name-block { flex: 1; }

.gendai-name-sub {
  font-size: 13px;
  color: #777;
  margin-top: 2px;
  letter-spacing: 0.05em;
}

.gendai-info {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.gendai-portrait {
  flex-shrink: 0;
  width: 130px;
}

.gendai-portrait img {
  display: block;
  width: 130px;
  height: 130px;
  object-fit: cover;
  border-radius: 50%;
}

.gendai-bio-career { flex: 1; }

.gendai-bio {
  font-size: 14px;
  line-height: 1.9;
  color: #333;
}

.gendai-career { margin-top: 32px; }

.gendai-section-title {
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 0.1em;
  border-bottom: 1px solid #ddd;
  padding-bottom: 6px;
  margin-bottom: 12px;
}

.gendai-career-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.gendai-career-table th { width: 4em; padding: 5px 12px 5px 0; font-weight: normal; color: #888; white-space: nowrap; vertical-align: top; }
.gendai-career-table td { padding: 5px 0; line-height: 1.6; }

/* ===== タブ（Bootstrap CSS 非ロード補完） ===== */

.young-artist-tabs {
  list-style: none;
  padding: 0 20px;
  margin: 0 auto;
  max-width: 1160px;
  border-bottom: 2px solid #c8b99a;
  overflow: hidden;
}

.young-artist-tabs > li {
  float: left;
  margin-bottom: -2px;
}

.young-artist-tabs > li > a {
  display: block;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: #666;
  padding: 10px 24px;
  text-decoration: none;
  background: transparent;
  border: none;
  border-radius: 0;
}

.young-artist-tabs > li > a:hover {
  color: #333;
}

.young-artist-tabs > li.active > a,
.young-artist-tabs > li.active > a:hover,
.young-artist-tabs > li.active > a:focus {
  color: #333;
  border-bottom: 2px solid #333;
  margin-bottom: -2px;
  font-weight: bold;
}

.young-artist-tab-content {
  max-width: 1160px;
  margin: 0 auto;
  padding: 32px 20px;
}

.tab-no-content {
  color: #999;
  font-size: 13px;
  padding: 48px 0;
  text-align: center;
}

/* ===== 動画グリッド ===== */

.young-artist-video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.video-item .video-embed {
  position: relative;
  padding-top: 56.25%;
  overflow: hidden;
  background: #000;
}

.video-item .video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-item .video-title {
  margin-top: 8px;
  font-size: 13px;
  color: #333;
}

/* ===== 作品ギャラリー（tab-content 内の二重 padding 打消し） ===== */

.young-artist-tab-content .gendai-works-gallery {
  margin-top: 32px;
  padding: 0;
}

/* ===== 作品ギャラリー サムネイル正方形表示 ===== */

.gendai-works-gallery .thumb-gallery-image {
  aspect-ratio: 1;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8%;
  overflow: hidden;
}

.gendai-works-gallery .thumb-gallery-image img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

/* ===== 動画（情報タブ内） ===== */

.gendai-video { margin-top: 40px; }

/* ===== 展覧会タブ ===== */

.gendai-tab-list .exhibition-item { margin-bottom: 0; }

/* ===== ニュースタブ ===== */

.gendai-tab-news { display: flex; flex-direction: column; gap: 1px; }

.gendai-tab-news .news-item a {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #eee;
  text-decoration: none;
  color: inherit;
}

.gendai-tab-news .news-thumb { flex-shrink: 0; width: 80px; height: 60px; overflow: hidden; }
.gendai-tab-news .news-thumb img { width: 100%; height: 100%; object-fit: cover; }

.gendai-tab-news .news-date { font-size: 12px; color: #999; margin-bottom: 4px; }
.gendai-tab-news .news-title { font-size: 14px; color: #333; line-height: 1.5; }

/* ===== 代表作グリッド（情報タブ上部）===== */

.gendai-featured-works {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  margin-bottom: 48px;
}

.featured-work-item { position: relative; }

.featured-work-img {
  aspect-ratio: 1;
  overflow: hidden;
  background: #f0f0f0;
}

.featured-work-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.featured-work-item:hover .featured-work-img img { transform: scale(1.03); }

.featured-work-caption {
  padding: 10px 4px 4px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.featured-work-title {
  font-size: 13px;
  color: #222;
  line-height: 1.4;
}

.featured-work-year {
  font-size: 11px;
  color: #888;
}

@media screen and (max-width: 640px) {
  .gendai-featured-works {
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    margin-bottom: 32px;
  }
}

/* ===== 記事タブ ===== */

.gendai-tab-articles { display: flex; flex-direction: column; gap: 0; }

.gendai-tab-articles .article-item a {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid #e8e8e8;
  text-decoration: none;
  color: inherit;
  align-items: flex-start;
}
.gendai-tab-articles .article-item a:hover { background: #fafafa; }

.gendai-tab-articles .article-thumb { flex: 0 0 120px; }
.gendai-tab-articles .article-thumb img { width: 120px; height: 90px; object-fit: cover; display: block; }
.gendai-tab-articles .article-text { flex: 1; }
.gendai-tab-articles .article-date { font-size: 12px; color: #888; margin-bottom: 6px; }
.gendai-tab-articles .article-title { font-size: 15px; font-weight: 600; color: #333; line-height: 1.5; margin-bottom: 6px; }
.gendai-tab-articles .article-excerpt { font-size: 13px; color: #666; line-height: 1.6; }

/* プロダクトタブ — 追加スタイル */
.gendai-tab-products .product-info { padding: 4px 0; }
.gendai-tab-products .product-price { font-size: 12px; color: #555; margin-top: 4px; }
.gendai-tab-products .product-soldout { font-size: 11px; color: #c00; margin-top: 2px; }

/* ===== プロダクトタブ ===== */

.gendai-tab-products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gendai-tab-products .product-item > a,
.gendai-tab-products .product-item > div {
  display: block;
  text-decoration: none;
  color: inherit;
}

.gendai-tab-products .product-thumb { aspect-ratio: 1; overflow: hidden; margin-bottom: 8px; }
.gendai-tab-products .product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gendai-tab-products .product-title { font-size: 13px; color: #333; line-height: 1.4; }

/* ===== book アーカイブ ===== */

.book-archives > .container {
  max-width: 1160px;
  margin: 32px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.book-archives .item { display: block; }

.book-archives .item a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.book-archives .item .image {
  position: relative;
  aspect-ratio: 3 / 4;
  background: #f4f0e8 center/contain no-repeat;
  overflow: hidden;
}

.book-archives .item .title {
  font-size: 13px;
  color: #333;
  margin-top: 8px;
  line-height: 1.5;
}

.book-archives .item.is-soldout .image { opacity: 0.6; }

@media screen and (max-width: 768px) {
  .book-archives > .container { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

/* ===== gendai book SOLD OUT ===== */

.gendai-book-img-wrap {
  position: relative;
  overflow: hidden;
}

.gendai-soldout-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  background: rgba(0, 0, 0, 0.55);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.gendai-soldout-overlay-text {
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-align: center;
  line-height: 1.4;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.gendai-soldout-overlay-text small {
  display: block;
  font-size: 13px;
  font-weight: normal;
  letter-spacing: 0.1em;
  margin-top: 6px;
  opacity: 0.9;
}

.gendai-soldout-btn {
  display: inline-block;
  padding: 10px 40px;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 0.14em;
  color: #aaa;
  border: 1px solid #ccc;
  background: #f0f0f0;
  cursor: default;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

/* ===== レスポンシブ ===== */

@media screen and (max-width: 768px) {
  .young-artist-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .gendai-info {
    flex-direction: column;
    gap: 24px;
  }

  .gendai-portrait { width: 100px; }
  .gendai-portrait img { width: 100px; height: 100px; }

}

@media screen and (max-width: 480px) {
  .young-artist-archive {
    padding: 0 12px;
  }

  .young-artist-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .young-artist-tabs > li > a {
    padding: 8px 12px;
    font-size: 12px;
    letter-spacing: 0.04em;
  }

  .young-artist-video-grid {
    grid-template-columns: 1fr;
  }

  .gendai-tab-products {
    grid-template-columns: repeat(2, 1fr);
  }
}
