
/* ===== キャンペーンページ専用CSS ===== */

/* ヒーローセクション */
#hero {
  height: 70vh;
  background: url('https://www.omocya-kaitori.jp/newitem5/wp-content/uploads/2025/04/campaign_bg.png') no-repeat bottom/cover;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  padding: 40px 50px;
  border-radius: 20px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 32px rgba(255, 255, 255, 0.25), 0 0 80px rgba(255, 255, 255, 0.4);
}

.hero-content h1 {
  color: #1a1a1a;
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-content p {
  color: #2a2a2a;
  font-size: 1.2rem;
  margin-bottom: 30px;
  line-height: 1.6;
  font-weight: 500;
  text-shadow: 0 0 8px rgba(255, 255, 255, 1), 0 0 16px rgba(255, 255, 255, 0.9), 0 0 24px rgba(255, 255, 255, 0.7), 0 0 32px rgba(255, 255, 255, 0.5);
}

/* キャンペーン情報セクション */
#campaigns {
  background: #f8f9fa;
  padding: 60px 0;
}

#campaigns .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

#campaigns h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 2rem;
  color: #E67E22;
  font-weight: bold;
}

.section-subtitle {
  text-align: center;
  margin-bottom: 40px;
  color: #666;
  font-size: 1.1rem;
}

/* フィルターボタン */
.campaign-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 24px;
  border: 2px solid #ddd;
  background: white;
  border-radius: 25px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  color: var(--jet);
}

.filter-btn:hover {
  border-color: #ff6600;
  color: #ff6600;
}

.filter-btn.active {
  background: #ff6600;
  color: white;
  border-color: #ff6600;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

/* カードグリッド */
.campaign-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 40px;
}

/* キャンペーンカード */
.campaign-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.campaign-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* カードバッジ */
.card-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--polynesian-blue);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
  z-index: 10;
}

.card-badge.new-badge {
  background: var(--engineering-orange);
}

/* カード画像 */
.card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.campaign-card:hover .card-image img {
  transform: scale(1.05);
}

/* カードコンテンツ */
.card-content {
  padding: 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 1.3rem;
  color: #333;
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.4;
}

.card-benefit {
  font-size: 1.5rem;
  color: #ff6600;
  font-weight: bold;
  margin-bottom: 20px;
}

.card-conditions {
  list-style: none;
  padding: 0;
  margin-bottom: 15px;
  flex: 1;
}

.card-conditions li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}

.card-conditions li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #4CAF50;
  font-weight: bold;
}

.card-notice {
  background: #fff3cd;
  padding: 10px 15px;
  border-radius: 6px;
  font-size: 0.85rem;
  color: #856404;
  margin-bottom: 20px;
  line-height: 1.4;
}

/* カードフッター */
.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid #eee;
  margin-top: auto;
}

.card-period {
  font-size: 0.9rem;
  color: #666;
  font-weight: 500;
}

.card-btn {
  background: #ff6600;
  color: white;
  padding: 10px 24px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

.card-btn:hover {
  background: #e55500;
  transform: scale(1.05);
}

/* 使い方ガイド */
.usage-guide {
  margin: 40px 0;
}

.usage-guide h3 {
  font-size: 1.5rem;
  margin-bottom: 30px;
  text-align: center;
  color: #0073E6;
}

.step-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 30px 0;
  flex-wrap: wrap;
  gap: 20px;
}

.step-item {
  flex: 1;
  min-width: 280px;
  background: #f8f9fa;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.step-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.step-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.step-number {
  background: var(--dodger-blue);
  color: white;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.3rem;
  margin-right: 15px;
  flex-shrink: 0;
}

.step-header h4 {
  font-size: 1.2rem;
  color: #333;
}

.step-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.step-content img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  margin: 15px 0;
  border-radius: 5px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.step-content img:hover {
  transform: scale(1.03);
}

.step-content p {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
  margin-top: auto;
}

.result-icon {
  font-size: 4rem;
  color: #4CAF50;
  text-align: center;
  margin: 20px 0;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-arrow {
  font-size: 3rem;
  color: var(--dodger-blue);
  align-self: center;
  flex-shrink: 0;
}

/* アコーディオン（重要なお知らせ） */
.important-notice {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  margin: 20px auto;
  max-width: 1200px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.notice-header {
  background: #fff3e0;
  padding: 20px 30px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
  user-select: none;
}

.notice-header:hover {
  background: #ffe0b2;
}

.notice-header h3 {
  margin: 0;
  font-size: 1.5rem;
  color: var(--jet); /* 修正 */
  display: flex;
  align-items: center;
  gap: 10px;
}

.alert-icon {
  font-size: 1.5rem;
  animation: pulse 2s infinite;
}

.expand-icon {
  font-size: 1.5rem;
  color: #ff6600;
  transition: transform 0.3s ease;
  font-weight: bold;
}

.notice-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out;
  background: #fafafa;
}

.notice-content.show {
  max-height: 2000px;
  transition: max-height 0.5s ease-in;
}

.notice-inner {
  padding: 30px;
}

.notice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

/* Q&Aセクション（このページ用の見た目） */
.qa-container {
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.qa-header {
  text-align: center;
  margin-bottom: 30px;
}

.qa-header h2 {
  font-size: 2rem;
  color: #E67E22;
  font-weight: bold;
  margin-bottom: 10px;
}

.qa-header p {
  color: #666;
  font-size: 0.9rem;
}

.qa-item {
  background: #ffffff;
  border-left: 4px solid #ff6600;
  margin-bottom: 15px;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.qa-item:hover {
  background: #f0f0f0;
}

.question {
  display: flex;
  align-items: flex-start;
  font-size: 1.2rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 12px;
}

.q-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: #ff6600;
  color: white;
  font-weight: bold;
  border-radius: 50%;
  margin-right: 10px;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.answer {
  margin-left: 34px;
  color: var(--jet);
  font-size: 1.1rem;
  line-height: 1.6;
}

.answer ul {
  list-style: none;
  margin: 8px 0 0 0;
  padding: 0;
}

.answer li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 8px;
  line-height: 1.6;
}

.answer li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #27ae60;
  font-weight: bold;
}

/* キャンペーンページ専用 追加 */
#coupon-code {
  margin-top: 100px;
}

/* 「クリックで詳細を表示」表示制御 */
.notice-header::after {
  content: "クリックで詳細を表示";
  font-size: 0.8rem;
  color: #999;
  margin-left: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.notice-header:hover::after {
  opacity: 1;
}

/* レスポンシブ対応（ページ専用） */
@media (max-width: 768px) {
  .hero-content {
    padding: 30px 25px;
    margin: 0 15px;
  }

  .hero-content h1 { font-size: 2rem; }
  .hero-content p { font-size: 1rem; }

  .campaign-cards-grid { grid-template-columns: 1fr; gap: 20px; }

  .campaign-filters {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
    padding-bottom: 10px;
  }
  .filter-btn { flex-shrink: 0; }

  .card-title { font-size: 1.1rem; }
  .card-benefit { font-size: 1.3rem; }
  .card-image { height: 180px; }

  .usage-guide h3 { font-size: 1.5rem; }

  .step-container { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); margin: 20px 0; }
  .step-item { width: 100%; max-width: 400px; margin: 10px auto; }

  .notice-header { padding: 15px 20px; }
  .notice-header h3 { font-size: 1.5rem; }
  .notice-inner { padding: 20px; }
  .notice-grid { grid-template-columns: 1fr; gap: 15px; }
  .expand-icon { font-size: 1.3rem; }

  .qa-header h2 { font-size: 2rem; }
  .qa-item { padding: 15px; }
  .question { font-size: 1rem; }
  .answer { font-size: 0.9rem; margin-left: 30px; }
  .q-mark { width: 20px; height: 20px; font-size: 0.8rem; }

  .container { padding: 0 10px; }
  section { padding: 40px 0; }

  .important-notice { padding: 25px 20px; }

  #coupon-code h2 { font-size: 2rem; }
}

/* アニメーション（このページで使用） */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}