@charset "utf-8";

/* ============================================================
   カレイドスコープ カスタムCSS
   ============================================================ */


/* ヒーローオーバーレイ（スライドショーの上に重ねるテキスト）
---------------------------------------------------------------------------*/
#hero-overlay {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to bottom, rgba(6,20,60,0.4), rgba(6,20,60,0.75));
}

.hero-content {
  text-align: center;
  padding: 0 20px;
}

/* サイトロゴ（グラデーションテキスト） */
#site-logo {
  font-size: 4rem;
  font-weight: bold;
  letter-spacing: 0.35em;
  background: linear-gradient(135deg, #00f5ff, #bf5fff, #ff6ec7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 15px;
  line-height: 1.2;
}

.hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.25em;
  padding: 0 !important;
}


/* ガラスUI（共通パーツ）
---------------------------------------------------------------------------*/
.glass-box {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 16px;
  padding: 30px;
}


/* サイト紹介セクション
---------------------------------------------------------------------------*/
.intro-box {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  line-height: 2;
}

.intro-box p {
  padding: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 1.2em;
}

.intro-box p:last-child {
  margin-bottom: 0;
}


/* 注目作品セクション
---------------------------------------------------------------------------*/
.pickup-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.pickup-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}

/* サムネイルエリア */
.pickup-thumb {
  position: relative;
  height: 200px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 15px;
}

/* 注目作品サムネイル画像 */
.pickup-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.4s ease;
}

.pickup-card:hover .pickup-thumb img {
  transform: scale(1.04);
}

.pickup-thumb::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 70%;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  pointer-events: none;
}

/* バッジとスコアをグラデーションの上に出す */
.pickup-badge,
.pickup-score {
  position: relative;
  z-index: 1;
}

/* PICK UPバッジ */
.pickup-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: linear-gradient(135deg, #ff6ec7, #bf5fff);
  color: #fff;
  font-size: 0.7rem;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.1em;
}

/* 注目作品のスコア */
.pickup-score {
  margin-left: auto;
  color: #ffd200;
  font-size: 1.3rem;
  font-weight: bold;
}

/* 注目作品テキストエリア */
.pickup-body {
  padding: 20px 25px 25px;
}

.pickup-body h3 {
  font-size: 1.4rem !important;
  font-weight: bold;
  margin: 10px 0 10px;
  letter-spacing: 0.05em;
}

.pickup-body p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  padding: 0 !important;
  margin-bottom: 15px;
  line-height: 1.8;
}

/* インラインタグ（注目作品用） */
.tag-inline {
  display: inline-block;
  font-size: 0.72rem;
  padding: 3px 12px;
  border-radius: 20px;
  border: 1px solid currentColor;
  letter-spacing: 0.05em;
}


/* 作品一覧グリッド
---------------------------------------------------------------------------*/
.works-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

/* 作品カード */
.work-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.work-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 245, 255, 0.2);
}

/* カードサムネイル */
.card-thumb {
  position: relative;
  height: 130px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 10px;
}

/* サムネイル画像 */
.card-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.4s ease;
}

.work-card:hover .card-thumb img {
  transform: scale(1.06);
}

/* 画像の上に暗めのグラデーションをかけてスコアを読みやすく */
.card-thumb::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 65%;
  background: linear-gradient(transparent, rgba(0,0,0,0.72));
  pointer-events: none;
}

/* カードスコア */
.card-score {
  position: relative;
  z-index: 1;
  margin-left: auto;
  color: #ffd200;
  font-size: 0.85rem;
  font-weight: bold;
}

/* カードテキストエリア */
.card-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* ジャンルタグ（カード内） */
.card-genre {
  display: inline-block;
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border-radius: 12px;
  border: 1px solid currentColor;
  margin-bottom: 8px;
  align-self: flex-start;
}

/* 作品タイトル */
.card-title {
  font-size: 0.95rem !important;
  font-weight: bold;
  margin-bottom: 8px;
  line-height: 1.4;
  letter-spacing: 0.03em;
}

/* 作品説明 */
.card-desc {
  font-size: 0.73rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  flex: 1;
  padding: 0 !important;
  margin-bottom: 12px;
}


/* レビューボタン
---------------------------------------------------------------------------*/
.btn-review {
  display: inline-block;
  font-size: 0.78rem;
  padding: 6px 14px;
  border-radius: 20px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.35);
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: 0.3s;
  align-self: flex-start;
}

.btn-review:hover {
  background: rgba(0, 245, 255, 0.12);
  border-color: #00f5ff;
  color: #00f5ff !important;
}


/* ネオンカラークラス
---------------------------------------------------------------------------*/
.neon-cyan   { color: #00f5ff; border-color: #00f5ff; }
.neon-pink   { color: #ff6ec7; border-color: #ff6ec7; }
.neon-purple { color: #bf5fff; border-color: #bf5fff; }
.neon-green  { color: #39ff14; border-color: #39ff14; }
.neon-orange { color: #ff9f43; border-color: #ff9f43; }
.neon-gray   { color: #a8a8c0; border-color: #a8a8c0; }


/* ジャンルタグセクション
---------------------------------------------------------------------------*/
.genre-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.genre-tag {
  display: inline-block;
  padding: 8px 22px;
  border: 1px solid rgba(0, 245, 255, 0.45);
  border-radius: 25px;
  color: #00f5ff;
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  transition: 0.3s;
}

.genre-tag:hover {
  background: rgba(0, 245, 255, 0.12);
  border-color: #00f5ff;
  color: #00f5ff !important;
  box-shadow: 0 0 18px rgba(0, 245, 255, 0.3);
}


/* レビュー方針セクション
---------------------------------------------------------------------------*/
.policy-box {
  max-width: 680px;
  margin: 0 auto;
}

.policy-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.policy-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.policy-item:first-child {
  padding-top: 0;
}

.policy-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  width: 44px;
  text-align: center;
  line-height: 1;
  padding-top: 4px;
}

.policy-item h3 {
  font-size: 1.05rem !important;
  font-weight: bold;
  color: #00f5ff;
  margin-bottom: 6px !important;
  border-bottom: none !important;
  padding-left: 0 !important;
  letter-spacing: 0.05em;
}

.policy-item p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  padding: 0 !important;
}


/* フッター
---------------------------------------------------------------------------*/
footer {
  background: rgba(6, 20, 60, 0.98) !important;
  border-top: 1px solid rgba(0, 245, 255, 0.2);
  padding: 50px 0 30px !important;
}

.footer-inner {
  text-align: center;
}

.footer-logo {
  font-size: 2rem;
  font-weight: bold;
  letter-spacing: 0.3em;
  background: linear-gradient(135deg, #00f5ff, #bf5fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.footer-tagline {
  color: rgba(255,255,255,0.45);
  font-size: 0.82rem;
  letter-spacing: 0.15em;
  padding: 0 !important;
  margin-bottom: 25px;
}


/* ============================================================
   レビューページ
   ============================================================ */

/* ヘッダーをスライドショーなしに */
.review-page header {
  height: auto !important;
}

#review-header {
  padding: 28px 0;
  text-align: center;
}

#review-header a {
  font-size: 1.4rem;
  font-weight: bold;
  letter-spacing: 0.25em;
  background: linear-gradient(135deg, #00f5ff, #bf5fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
}

/* コンテンツ余白をホームより小さく */
.review-page #contents {
  padding: 40px 100px 100px;
}

/* 作品バナー */
.review-banner {
  position: relative;
  border-radius: 16px;
  margin-bottom: 36px;
  overflow: hidden;
}

.review-banner img {
  width: 100%;
  height: auto;
  display: block;
}

/* 画像なし版（放課後プラネタリウム用） */
.review-banner.no-image {
  display: flex;
  align-items: flex-end;
  padding: 30px 40px;
  min-height: 300px;
}

/* サムネイルリンク */
.card-thumb-link {
  display: block;
  text-decoration: none;
  cursor: pointer;
}

/* バナー下部にグラデーションオーバーレイ */
.review-banner::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 75%;
  background: linear-gradient(transparent, rgba(6,20,60,0.92));
  pointer-events: none;
}

/* バナー上のテキスト */
.review-banner-overlay {
  position: absolute;
  bottom: 30px; left: 40px;
  z-index: 1;
}

.review-banner.no-image .review-banner-overlay {
  position: relative;
  bottom: auto; left: auto;
}

.review-work-title {
  font-size: 2.5rem !important;
  font-weight: bold;
  letter-spacing: 0.05em;
  line-height: 1.3;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}

.review-genre-tag {
  display: inline-block;
  font-size: 0.78rem;
  padding: 4px 14px;
  border-radius: 20px;
  border: 1px solid currentColor;
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}

/* スコアブロック */
.review-score-block {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-bottom: 28px;
}

/* 総合スコア（大きな数字） */
.review-total {
  text-align: center;
  flex-shrink: 0;
}

.total-number {
  display: block;
  font-size: 5.5rem;
  font-weight: bold;
  line-height: 1;
  background: linear-gradient(135deg, #00f5ff, #bf5fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.total-unit {
  font-size: 1.5rem;
  background: linear-gradient(135deg, #00f5ff, #bf5fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.total-label {
  display: block;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin-top: 6px;
  letter-spacing: 0.15em;
}

/* 星評価 */
.review-stars {
  font-size: 1.8rem;
  letter-spacing: 3px;
  margin: 8px 0 4px;
  line-height: 1;
}

.star-on  { color: #ffd200; }
.star-half { color: #ffd200; opacity: 0.45; }
.star-off  { color: rgba(255,255,255,0.18); }

/* 4軸スコアバー */
.score-bars {
  flex: 1;
}

.score-bar-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.score-bar-row:last-child {
  margin-bottom: 0;
}

.bar-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  width: 5.5em;
  flex-shrink: 0;
}

.bar-track {
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #00f5ff, #bf5fff);
  border-radius: 3px;
}

.bar-num {
  font-size: 0.9rem;
  color: #00f5ff;
  width: 2.5em;
  text-align: right;
  flex-shrink: 0;
}

/* レビュー本文 */
.review-body {
  margin-bottom: 30px;
  line-height: 2;
}

.review-body p {
  padding: 0 0 18px !important;
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
}

.review-body p:last-child {
  padding-bottom: 0 !important;
}

/* 前後ナビ */
.review-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
}

.review-nav a {
  display: inline-block;
  padding: 10px 24px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 25px;
  font-size: 0.85rem;
  text-decoration: none;
  color: rgba(255,255,255,0.75);
  transition: 0.3s;
  white-space: nowrap;
}

.review-nav a:hover {
  border-color: #00f5ff;
  color: #00f5ff !important;
  background: rgba(0,245,255,0.08);
}

.nav-back {
  border-color: rgba(0,245,255,0.35) !important;
  color: #00f5ff !important;
}

.nav-back:hover {
  background: rgba(0,245,255,0.15) !important;
}


/* レスポンシブ対応
---------------------------------------------------------------------------*/

/* タブレット（〜1200px） */
@media screen and (max-width: 1200px) {
  .works-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* タブレット小・スマホ横（〜800px） */
@media screen and (max-width: 800px) {
  #site-logo {
    font-size: 2.5rem;
  }

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

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

  /* レビューページ */
  .review-page #contents {
    padding: 30px 0 60px;
  }

  .review-banner {
    height: 240px;
    border-radius: 8px;
  }

  .review-work-title {
    font-size: 1.8rem !important;
  }

  .review-score-block {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  .review-total {
    display: flex;
    align-items: baseline;
    gap: 8px;
  }

  .total-number {
    font-size: 4rem;
  }
}

/* スマホ（〜480px） */
@media screen and (max-width: 480px) {
  #site-logo {
    font-size: 1.8rem;
    letter-spacing: 0.2em;
  }

  .hero-sub {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
  }

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

  .genre-tags {
    gap: 8px;
  }

  .genre-tag {
    font-size: 0.78rem;
    padding: 6px 16px;
  }
}
