/*
Theme Name: jrockfest_v9
Version: 1.0.0
Description: Created with Groove
*/

@charset "UTF-8";

.band-card {
    /* 1. 基本設定 */
    position: relative;
    /* padding: 30px; */ /* 内側の余白をしっかり取る */
    background-color: #000; /* 背景は黒 */
    color: #fff;
    text-align: center;
    /* margin-bottom: 30px; */

    /* 2. ボーダーの土台を作る */
    /* 線の太さをここで決めます（例: 20px） */
    border: 20px solid transparent; 

    /* 3. SVGをボーダーに適用する */
    border-image-source: url('assets/img/frame.svg');
    
    /* 4. 四隅の切り抜き（スライス）設定 */
    /* 100 くらいが、飾りのパーツを綺麗に残せる目安です。デザインを見て微調整してください */
    border-image-slice: 15; 
    
    /* 5. 辺の線をどう埋めるか */
    border-image-repeat: stretch; /* 線を真っ直ぐ伸ばす */
    
    /* 6. はみ出し設定（もし飾りが外に飛び出させたい場合） */
    border-image-outset: 0;
}

/* 画像が枠に被らないように調整 */
.artist-image-container {
    width: 90%;
    margin: 0 auto 15px;
}

.artist-image-container img {
    width: 100%;
    height: auto;
}

/* WP-PostRatingsの表示をボタン風に改造 */
.post-ratings {
    width: 100% !important;
    padding: 10px 0 !important;
}

/* ハート画像を消して「VOTE」という文字のボタンにする */
.post-ratings img {
    display: none !important; /* 元の画像を隠す */
}

.post-ratings a {
    display: block !important;
    background-color: #ff0000 !important; /* 赤色 */
    color: #fff !important;
    text-decoration: none !important;
    font-weight: bold !important;
    padding: 12px 0 !important;
    border-radius: 999px !important;
    text-align: center !important;
    width: 100% !important;
}

.post-ratings a:before {
    content: "VOTE"; /* ボタンに表示する文字 */
    letter-spacing: 2px;
}

/* 余計なテキスト（平均点など）を消す */
.post-ratings-loading, .post-ratings-image + span {
    display: none !important;
}



/* ローディングロゴの光彩演出 */
#loading-logo {
    filter: drop-shadow(0 0 8px rgba(255,255,255,0.1));
    animation: loading-pulse 2s infinite alternate ease-in-out;
}

@keyframes loading-pulse {
    0% { filter: drop-shadow(0 0 5px rgba(255,255,255,0.2)); }
    100% { filter: drop-shadow(0 0 20px rgba(255,0,0,0.5)); } /* 鼓動するように赤く光る */
}

/* ローディング中は背景を固定 */
body.loading {
    height: 100vh;
    overflow: hidden;
}

.btn-vote_befor {
    background-color: #000000a8;
    border: 1px solid rgb(174 174 174 / 40%);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}


/* ガンダムバナー */
.gundam-banner {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  font-family: sans-serif;
}

/* 共通 */
.banner-box {
  transform: skewX(-10deg);
  padding: clamp(12px, 2vw, 24px) clamp(16px, 3vw, 40px);
  font-weight: bold;
  line-height: 1.6;
}

.banner-box-inner {
  transform: skewX(10deg);
}

/* 上 */
.banner-top {
  background: #000;
  color: #fff;
  font-size: clamp(14px, 2vw, 22px);
  width: 85%;          /* ←追加：幅を狭める */
  margin-left: 0;      /* 左寄せ */
}

/* 下 */
.banner-bottom {
  background: #fff;
  color: #000;
  font-size: clamp(14px, 2vw, 22px);
  width: 90%;
  margin-left: clamp(10px, 5vw, 60px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* スマホ最適化 */
@media (max-width: 600px) {
  .banner-bottom {
    width: 95%;
    margin-left: 5%;
  }
}
#modal {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

#modal.active {
  opacity: 1;
  pointer-events: auto;
}

#modal .modal-content {
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

#modal.active .modal-content {
  transform: scale(1);
}

.slider-wrap {
  width: 100%;
  overflow: hidden;
  margin-bottom: 50px;
}

#sliderTrack {
  display: flex;
}

.slide-item {
  flex: 0 0 auto;
}

/* PC：6枚 */
@media (min-width: 1025px) {
  .slide-item {
    width: calc(100vw / 6);
  }
}

/* タブレット：4枚 */
@media (max-width: 1024px) {
  .slide-item {
    width: calc(100vw / 4);
  }
}

/* スマホ：3枚 */
@media (max-width: 768px) {
  .slide-item {
    width: calc(100vw / 3);
  }
}

.slide-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

  body { 

   }
   .pg-1 {
      background-image: url('assets/img/fv_image_main_001.jpg'); 
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #ffffff;
   }


/* PC用 */
.pg-2 {
  background-image: url('assets/img/fv_image_main_003.jpg'); 
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #ffffff;
}

/* スマホ */
@media screen and (max-width: 768px) {
  .pg-2 {
    background-image: url('assets/img/fv_image_main_003_sp.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll !important;
  }
}
  .gold-gradient {
    background: linear-gradient(to bottom, #fcebb6 0%, #cda85f 50%, #8b6914 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .artist-frame {
    position: relative;
    border: 1px solid #cda85f;
    padding: 8px;
    background: rgba(0,0,0,0.6);
  }
  .artist-frame::before, .artist-frame::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    border: 1px solid #cda85f;
  }
  .artist-frame::before {
    top: -4px;
    left: -4px;
    border-right: none;
    border-bottom: none;
  }
  .artist-frame::after {
    bottom: -4px;
    right: -4px;
    border-left: none;
    border-top: none;
  }
  .artist-frame-inner {
    border: 1px solid rgba(205, 168, 95, 0.5);
    height: 100%;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .btn-vote {
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.05) 100%);
    border: 1px solid rgba(255,255,255,0.4);
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
  }
  .text-shadow {
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
  }
  .text-shadow-glow {
    text-shadow: 0 0 10px rgba(255,255,255,0.5), 0 0 20px rgba(255,255,255,0.3);
  }
/* 初期状態：透明で20px下に配置 */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease-out;
}

/* 画面内に入った時の状態：不透明で元の位置へ */
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
.vote-btn {
  width: 120px;
  height: 120px;
  background: radial-gradient(circle at 30% 30%, #ff4d6d, #d90429);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 0 20px rgba(255,0,100,0.6);
}
.slide-votes {
    position: fixed;
    bottom: 10px;
    right: 20px;
    left: auto;
    transform: none;
    z-index: 1000;
    background-color: #ffffff;
    color: #927444;
    padding: 10px;
    text-align: right;
    transform: skewX(-10deg);
    padding: 10px 40px 10px 15px;
    right: -20px;
}

#totalVotes {
  display: inline-block;
  height: 1em;
  transform-origin: center;
}