/*
Theme Name: ULTRA JAPAN 2025
Description: ULTRA JAPAN 2025特設メディアサイト - スポンサー価値最大化×初心者フレンドリー×購買導線強化を実現するレスポンシブテーマ
Author: livedoor Team
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ultra-japan
Tags: music, festival, edm, responsive, modern, parallax

*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', -webkit-system-font, sans-serif;
    line-height: 1.6;
    color: #003250;
    background:  transparent;
    min-height: 100vh;
	
}

/* Custom Properties */
:root {
    --primary-gradient: linear-gradient(135deg, #991b1b, #dc2626, #f87171);
    --primary-red-800: #991b1b;
    --primary-red-600: #dc2626;
    --primary-red-400: #f87171;
    --text-dark: #1f2937;
    --text-light: #f9fafb;
    --shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    font-weight: 900;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}



/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background: white;
    color: var(--primary-red-600);
}

/* Card Styles */
.card {
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Card variations */
.card.border-2 {
    border-style: solid;
}

/* Sponsor Highlight Area */
.sponsor-highlight {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: var(--shadow);
}

/* Age Verification Modal */
.age-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.age-modal-content {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    max-width: 400px;
    width: 90%;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero-content {
        width: 95%;
        padding: 1rem;
    }
    
    .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.5rem;
    }
    
    .hero-slider {
        height: 70vh;
    }
}

/* ========== Sponsor Section Styles ========== */
.sponsor-highlight.card {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.sponsor-highlight.card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.6s ease;
}

.sponsor-highlight.card:hover::before {
    transform: scale(1);
}

.sponsor-standard {
    position: relative;
    background: #f8fafc;
    transition: all 0.3s ease;
}

.sponsor-standard:hover {
    background: white;
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.sponsor-standard img {
    filter: grayscale(20%);
    transition: filter 0.3s ease;
}

.sponsor-standard:hover img {
    filter: grayscale(0%);
}

/* ========== Artist Section Styles ========== */
.artist-stage-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Artist card hover effects */
.card.bg-white\/10 {
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.card.bg-white\/10:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Artist image styles */
.artist-image {
    position: relative;
    overflow: hidden;
}

.artist-image img {
    transition: transform 0.3s ease;
}

.card:hover .artist-image img {
    transform: scale(1.1);
}

/* Stage-specific colors */
.border-red-500 {
    border-color: #ef4444;
}

.border-purple-500 {
    border-color: #a855f7;
}

.border-green-500 {
    border-color: #22c55e;
}

/* ========== Button Enhancements ========== */
.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-outline.btn-sm:hover {
    transform: translateY(-2px);
}

/* ========== Gradient Text ========== */
.bg-gradient-to-r.bg-clip-text {
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========== Animation Utilities ========== */
@keyframes bounce-slow {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.animate-bounce-slow {
    animation: bounce-slow 2s ease-in-out infinite;
}

/* ========== Utility Classes ========== */
.backdrop-blur-sm {
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}

/* Border widths */
.border-2 {
    border-width: 2px;
}

.border-3 {
    border-width: 3px;
}

.border-4 {
    border-width: 4px;
}

/* ========== Sponsor Logo Animations ========== */
.sponsor-highlight img,
.sponsor-standard img {
    transition: transform 0.3s ease, filter 0.3s ease;
}

.sponsor-highlight:hover img {
    transform: scale(1.1);
}

/* ========== Section Backgrounds ========== */
.bg-gradient-to-br {
    background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}

.from-yellow-50 {
    --tw-gradient-from: #fef3c7;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(254, 243, 199, 0));
}

.to-white {
    --tw-gradient-to: #ffffff;
}

/* ========== Mobile Optimizations ========== */
@media (max-width: 768px) {
    .sponsor-standard {
        padding: 1rem;
    }
    
    .sponsor-standard h4 {
        font-size: 0.75rem;
    }
    
    .card.bg-white\/10 {
        padding: 1rem;
    }
    
    .artist-stage-badge {
        font-size: 0.75rem;
        padding: 0.375rem 1rem;
    }
}

/* ========== Loading States ========== */
.sponsors-loading,
.artists-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

.sponsors-loading::after,
.artists-loading::after {
    content: '';
    width: 50px;
    height: 50px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary-red-600);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* ========== Slider Dots ========== */
.slider-dot {
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background-color: white;
    transform: scale(1.2);
}

/*
.feedzy-rss {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
  gap: 2rem !important;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1rem;
}
*/
/* =========================
   共通設定
========================= */

/* The Vergeなどフィード見出しを非表示 */
.feedzy-rss .rss_header {
  display: none !important;
}

/* カード共通スタイル */
/* =========================
   カード内画像（スマホ用修正）
========================= */

/* 共通カード画像 */
.feedzy-rss .rss_item {
  background-color: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 0 !important;
}

/* Feedzyカード画像を横幅いっぱいにする */

.feedzy-rss .rss_image {
  width: 100% !important; /* 横幅いっぱい */
  height: 200px !important; /* 高さは任意 */
  overflow: hidden !important;
  position: relative !important;
  padding: 0 !important;
}

.feedzy-rss .rss_image span.fetched {
  display: block !important;
  width: 100% !important;  /* 横幅100% */
  height: 100% !important; /* 親の高さにフィット */
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;

}


/* ホバー影強調 */
.feedzy-rss .rss_item:hover {
  box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}

/* 画像表示 */
.feedzy-rss .rss_image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;

}

.feedzy-rss .rss_item .rss_image {
  margin-top: 0 !important;
}

.feedzy-rss .rss_item {
  margin-bottom: 2rem !important;
}

.feedzy-rss .rss_image span.fetched {
  display: block;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;

}

/* タイトルリンク */
.feedzy-rss .title a {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin: 1rem;
  text-decoration: none;
  display: block;
  transition: color 0.3s ease;
}

.feedzy-rss .title a:hover {
  color: #e11d48;
}

/* 日付 */
.feedzy-rss .rss_content small {
  font-size: 0.875rem;
  color: #6b7280;
  display: block;
  margin: 0 1rem 1rem 1rem;

}

/* 要約テキスト（残したい場合のみ表示） */
.feedzy-rss .rss_content p {
  font-size: 0.9rem;
  color: #333;
  line-height: 1.5;
  margin: 0 1rem 1rem 1rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}

/* 空要素非表示 */
.feedzy-rss .rss_item:empty {
  display: none !important;
}

/* =========================
   注目コンテンツ
========================= */

.feedzy-highlight .feedzy-rss {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1rem;
}



/* =========================
   スペシャルコンテンツ
========================= */

.feedzy-special.rss-grid .feedzy-rss > ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.feedzy-special .rss_item {
  background: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease;
}

.feedzy-special .rss_item:hover {
  box-shadow: 0 8px 18px rgba(0,0,0,0.1);
}

/* スペシャルコンテンツ画像 */
.feedzy-special .rss_image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}

.feedzy-special .rss_image span.fetched {
  display: block;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

/* タイトルリンク */
.feedzy-special .title a {
  font-size: 1rem;
  font-weight: 600;
  color: #1f2937;
  margin: 1rem;
  text-decoration: none;
  display: block;
  transition: color 0.3s ease;
}

.feedzy-special .title a:hover {
  color: #e60012;
}

/* 日付 */
.feedzy-special .rss_content small {
  font-size: 0.75rem;
  color: #6b7280;
  margin: 0 1rem 1rem 1rem;
}

/* 不要な画像(amp-imgなど)を非表示 */
.feedzy-special .rss_image amp-img,
.feedzy-special .rss_image img {
  display: none !important;
}

/* フィードソース・著者情報非表示 */
.feed-source,
.feed-author {
  display: none !important;
}

.aligncenter,
.wp-caption.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.wp-caption {
  float: none !important;
  display: block;
}


/* 背景共通wrapper */

/* 共通: 背景ベース */
.hero-bg-slide-pc,
.hero-bg-slide-sp {
  position: absolute; /* スクロールで流れる */
  top: 0;
  left: 0;
  width: 100%;
  min-height: 100vh; /* ビューポート高を確保 */
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  z-index: -1; /* 背面に配置 */
}

/* PC背景 */
.hero-bg-slide-pc {
  background-image: url('http://ultrajapan.livedoor.com/wp-content/uploads/2025/07/TOP_背景.png');
}

/* SP背景 */
.hero-bg-slide-sp {
  background-image: url('http://ultrajapan.livedoor.com/wp-content/uploads/2025/07/TOP空・グラデx2サイズ-scaled.png');
}

/* ロゴPC */
.logo-fixed-pc {
  position: absolute;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 10;
}

.logo-fixed-pc img {
  width: 50%; /* PC用ロゴサイズ */
  height: auto;
  display: block;
  margin: 0 auto;
}

/* ロゴSP */
.logo-fixed-sp {
  position: absolute; /* ← relative から変更 */
  top: 100px;
  left: 42%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 10;
}

.logo-fixed-sp img {
  width: 120%;  /* 必要に応じて80%など調整 */
  height: auto;
  display: inline-block;
  margin: 0 auto;
}



/* 全デバイス共通 */
.wpra-item {
  border-bottom: 1px solid #e5e7eb; /* Tailwind gray-200 相当 */
  padding-bottom: 0.75rem; /* Tailwind pt-3 相当 */
  margin-bottom: 0.75rem; /* 記事間余白 */
}


li.wpra-item.feed-item::marker {
  content: none !important;
  color: transparent !important;
}

li.wpra-item.feed-item {
  list-style-type: none !important;
}



@media (min-width: 768px) {
  #main-nav .nav-link {
    font-size: 0.7rem !important;
  }
}


#main-nav ul {
  flex-wrap: nowrap;
 
  white-space: nowrap;
}


.feedzy-rss .rss_content small {
  display: none !important;
}


/* ニュースだけデザイン変更 */

.feedzy-55c9f17baeb5c3ff5d923dadfa80abb3 .rss_item .title a {
  font-size: 16px;
}

.feedzy-55c9f17baeb5c3ff5d923dadfa80abb3 ul {
  background: transparent !important;
}

.feedzy-55c9f17baeb5c3ff5d923dadfa80abb3 .rss_item {
  background: transparent !important;
}
.feedzy-55c9f17baeb5c3ff5d923dadfa80abb3,
.feedzy-55c9f17baeb5c3ff5d923dadfa80abb3 * {
  box-shadow: none !important;
  filter: none !important;
}

.feedzy-55c9f17baeb5c3ff5d923dadfa80abb3,
.feedzy-55c9f17baeb5c3ff5d923dadfa80abb3 * {
  box-shadow: none !important;
  filter: none !important;
}

.feedzy-55c9f17baeb5c3ff5d923dadfa80abb3 .rss_item {
  border-bottom: none !important;
}

.feedzy-55c9f17baeb5c3ff5d923dadfa80abb3 .rss_item {
  border-bottom: 1px solid #ccc !important; /* 下線を強制適用 */
  display: block !important;
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 10px 0 !important;
}
.feedzy-55c9f17baeb5c3ff5d923dadfa80abb3 .rss_item {
  border-radius: 0 !important;
}

.feedzy-55c9f17baeb5c3ff5d923dadfa80abb3 .rss_item {
	 padding-top: 10px !important;
  padding-bottom: 10px !important;

  margin: 0 !important;
  border-bottom: 1px solid #ccc;
}

.feedzy-55c9f17baeb5c3ff5d923dadfa80abb3 .rss_item .title a {
  display: block;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .feedzy-55c9f17baeb5c3ff5d923dadfa80abb3 .rss_item .title a {
    font-size: 18px;
    line-height: 1.6; /* 行間を少し広げる（例: 1.6） */
  }
}

@media (min-width: 768px) {
  .bg-cut-overlay {
    position: absolute;
    top: 450px; /* main の padding-top に合わせる */
    left: 0;
    width: 100%;
    height: 100vh; /* 背景を覆う高さ */
    background-color: white;
    z-index: 0; /* 背景画像（z-index:-1）の上、main(z-10)の下 */
  }
}

.prose a {
  color: #2563eb; /* blue-600 */
  text-decoration: underline;
  transition: color 0.3s ease;
}

.prose a:hover {
  color: #1e3a8a; /* blue-800 */
}
