/* ハロウィン業界サイト専用スタイルシート */

/* リセットCSS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ベースフォントとカラー設定 */
:root {
  --primary-orange: #FF6B35;
  --secondary-orange: #FF8C42;
  --accent-purple: #7B2CBF;
  --dark-purple: #5A189A;
  --text-dark: #2D1B69;
  --text-light: #F72585;
  --bg-light: #FFF8E7;
  --bg-white: #FFFFFF;
  --bg-dark: #240046;
  --gradient-halloween: linear-gradient(135deg, #FF6B35 0%, #7B2CBF 100%);
  --gradient-spooky: linear-gradient(135deg, #240046 0%, #7B2CBF 100%);
  --shadow-light: 0 4px 12px rgba(255, 107, 53, 0.1);
  --shadow-medium: 0 8px 24px rgba(123, 44, 191, 0.15);
  --shadow-strong: 0 12px 36px rgba(123, 44, 191, 0.2);
  --shadow-glow: 0 0 20px rgba(255, 107, 53, 0.3);
  --transition: all 0.3s ease;
}

body {
  font-family: 'Noto Sans JP', 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.7;
  color: var(--text-dark);
  background-color: var(--bg-white);
  font-size: 16px;
}

/* ヘッダー */
header, .header {
  background: var(--gradient-spooky);
  color: white;
  padding: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: var(--shadow-medium);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.8rem 2rem;
  min-height: 80px;
}

.logo {
  text-decoration: none;
  color: white;
  font-size: 1.8rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
  white-space: nowrap;
  margin-bottom: 0.5rem;
}

.logo:hover {
  text-shadow: var(--shadow-glow);
  transform: scale(1.05);
}

.logo-icon {
  font-size: 2rem;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

nav, .nav {
  display: flex;
  list-style: none;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  max-width: 100%;
  justify-content: flex-start;
  z-index: 10;
}

nav a, .nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  transition: var(--transition);
  font-size: 0.9rem;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

nav a::before, .nav a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-halloween);
  transition: left 0.3s ease;
  z-index: -1;
}

nav a:hover::before, .nav a:hover::before {
  left: 0;
}

nav a:hover, .nav a:hover {
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 5px;
  transition: var(--transition);
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 1001;
}

.hamburger:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(90deg);
}

/* メインコンテンツ */
main, .main-content {
  margin-top: 80px;
}

/* ヒーローセクション */
.hero {
  background: var(--gradient-spooky);
  color: white;
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  min-height: 70vh;
  max-width: 1400px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  line-height: 1.6;
  opacity: 0.95;
}

.cta-button {
  display: inline-block;
  background: var(--gradient-halloween);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: var(--transition);
  box-shadow: var(--shadow-medium);
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #FF8C42 0%, #F72585 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.cta-button:hover::before {
  opacity: 1;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-strong), var(--shadow-glow);
}

.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: var(--shadow-strong);
  transition: var(--transition);
}

.hero-image img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-strong), var(--shadow-glow);
}

/* コンテナ */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* 2カラムレイアウト - コンテンツセクション用 */
.content-section {
  padding: 3rem 0;
  background: white;
}

.content-section .container {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: start;
}

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

.article-content h2 {
  font-size: 2rem;
  color: var(--text-dark);
  margin: 2.5rem 0 1.5rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--primary-orange);
}

.article-content h2:first-child {
  margin-top: 0;
}

.article-content h3 {
  font-size: 1.5rem;
  color: var(--accent-purple);
  margin: 2rem 0 1rem 0;
}

.article-content p {
  font-size: 1.1rem;
  line-height: 1.9;
  margin-bottom: 1.5rem;
  color: #333;
}

.article-content ul, .article-content ol {
  margin: 1.5rem 0 1.5rem 2rem;
  line-height: 1.8;
}

.article-content li {
  margin-bottom: 0.8rem;
}

/* 右サイドナビ */
.sidebar {
  position: sticky;
  top: 100px;
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: var(--shadow-light);
}

.sidebar-ad {
  margin-bottom: 2rem;
  text-align: center;
  padding: 1rem;
  background: white;
  border-radius: 10px;
  box-shadow: var(--shadow-light);
}

.sidebar-ad img {
  max-width: 100%;
  height: auto;
}

.sidebar h3 {
  font-size: 1.3rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary-orange);
}

.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sidebar nav a {
  color: var(--text-dark);
  text-decoration: none;
  padding: 0.5rem;
  border-radius: 5px;
  transition: var(--transition);
  font-size: 0.95rem;
}

.sidebar nav a:hover {
  background: var(--primary-orange);
  color: white;
  padding-left: 1rem;
}

.related-links {
  margin-top: 2rem;
}

.related-links ul {
  list-style: none;
  padding: 0;
}

.related-links li {
  margin-bottom: 0.8rem;
}

.related-links a {
  color: var(--text-dark);
  text-decoration: none;
  padding: 0.5rem;
  display: block;
  border-radius: 5px;
  transition: var(--transition);
  border-left: 3px solid var(--primary-orange);
  padding-left: 1rem;
}

.related-links a:hover {
  background: var(--bg-white);
  border-left-color: var(--accent-purple);
  transform: translateX(5px);
}

/* 概要セクション */
.overview {
  padding: 5rem 0;
  background: var(--bg-light);
  position: relative;
}

.overview::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-halloween);
}

.overview h2 {
  text-align: center;
  font-size: 2.5rem;
  color: var(--text-dark);
  margin-bottom: 3rem;
  position: relative;
}

.overview h2::after {
  content: '🎃';
  position: absolute;
  top: -10px;
  right: -50px;
  font-size: 2rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

.overview-content {
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.overview-content p {
  margin-bottom: 1.5rem;
}

/* 最新ニュースセクション */
.latest-news {
  padding: 5rem 0;
  background: white;
}

.latest-news h2 {
  text-align: center;
  font-size: 2.5rem;
  color: var(--text-dark);
  margin-bottom: 3rem;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.news-item {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: var(--shadow-light);
  border-left: 4px solid var(--primary-orange);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.news-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, rgba(255, 107, 53, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.news-item:hover::before {
  opacity: 1;
}

.news-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
  border-left-color: var(--accent-purple);
}

.news-item h3 {
  color: var(--text-dark);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  font-weight: bold;
}

.news-item p {
  color: #666;
  line-height: 1.6;
}

/* コンテンツグリッド */
.content-grid {
  padding: 5rem 0;
  background: var(--bg-light);
}

.content-grid h2 {
  text-align: center;
  font-size: 2.5rem;
  color: var(--text-dark);
  margin-bottom: 3rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-light);
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
  position: relative;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-halloween);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.card:hover::before {
  opacity: 0.1;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-strong), var(--shadow-glow);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: var(--transition);
}

.card:hover img {
  transform: scale(1.05);
}

.card-content {
  padding: 1.5rem;
  position: relative;
  z-index: 2;
}

.card-content h3 {
  font-size: 1.3rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.card-content p {
  color: #666;
  line-height: 1.5;
}

/* 予算プラン表示 */
.budget-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.plan {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: var(--shadow-light);
  border-top: 4px solid var(--primary-orange);
  transition: var(--transition);
}

.plan:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
  border-top-color: var(--accent-purple);
}

.plan h3 {
  color: var(--accent-purple);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.plan ul {
  list-style: none;
  padding: 0;
}

.plan li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.plan li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-orange);
  font-weight: bold;
}

/* フッター */
footer, .footer {
  background: var(--gradient-spooky);
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
  margin-bottom: 1rem;
  color: var(--secondary-orange);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--secondary-orange);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  opacity: 0.8;
}

/* レスポンシブデザイン */
@media (max-width: 1024px) {
  .content-section .container {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    margin-top: 3rem;
  }
}

@media (max-width: 768px) {
  nav, .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--gradient-spooky);
    flex-direction: column;
    padding: 1rem;
    box-shadow: var(--shadow-medium);
    z-index: 999;
  }

  nav.active, .nav.active {
    display: flex;
  }

  .hamburger {
    display: block;
  }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 3rem 1rem;
    gap: 2rem;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  .overview h2,
  .latest-news h2,
  .content-grid h2 {
    font-size: 2rem;
  }

  .container {
    padding: 0 1rem;
  }

  .news-grid,
  .grid {
    grid-template-columns: 1fr;
  }

  .overview h2::after {
    display: none;
  }

  .content-section .container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .sidebar {
    margin-top: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .cta-button {
    padding: 0.8rem 2rem;
    font-size: 1rem;
  }

  .news-grid,
  .grid,
  .budget-plans {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .card-content {
    padding: 1rem;
  }

  .article-content h2 {
    font-size: 1.6rem;
  }

  .article-content p {
    font-size: 1rem;
  }
}

/* スクロールバーのカスタマイズ */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
  background: var(--gradient-halloween);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gradient-spooky);
}

/* スムーススクロール */
html {
  scroll-behavior: smooth;
}
