/* ここにindex.htmlのstyleタグ内のCSSをすべて移植 */
// ... CSS内容 ... 

/* ====== ベース設定 ====== */
body {
  /* メインサイトのbodyスタイルを継承するため、ここでは上書きしない */
  line-height: 1.7;
}
.container {
  max-width: 700px;
  margin: 0 auto;
  padding: 20px 8px 40px 8px;
  /* メインサイトとの統合のため背景を調整 */
  background: transparent;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ====== 改善されたヒーローエリア ====== */
.hero-section-enhanced {
  position: relative;
  background: linear-gradient(135deg, #FFB6D5 0%, #FFD1E3 50%, #ffd89b 100%);
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: 0 10px 40px rgba(255, 182, 213, 0.25);
}

.hero-bg-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="15" fill="rgba(255,255,255,0.1)" /><circle cx="80" cy="80" r="20" fill="rgba(255,255,255,0.1)" /></svg>') no-repeat;
  background-size: cover;
  opacity: 0.3;
  animation: floatAnimation 20s ease-in-out infinite;
}

@keyframes floatAnimation {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 3rem 1.5rem;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.9);
  color: #D81B60;
  padding: 0.5rem 1.5rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: bold;
  margin-bottom: 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  animation: slideDown 0.8s ease-out;
}

.hero-title {
  font-size: clamp(2rem, 7vw, 3.5rem);
  color: #fff;
  font-weight: 900;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(216, 27, 96, 0.3);
  animation: slideUp 0.8s ease-out 0.2s both;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 0.8em;
  display: block;
  color: #fff;
  margin-top: 0.5rem;
}

.hero-description {
  font-size: clamp(1rem, 3vw, 1.25rem);
  color: rgba(255,255,255,0.95);
  margin-bottom: 2rem;
  animation: slideUp 0.8s ease-out 0.4s both;
  line-height: 1.6;
}

/* 大型カウントダウン */
.countdown-large {
  background: rgba(255,255,255,0.95);
  border-radius: 1.5rem;
  padding: 1.5rem;
  margin: 2rem auto;
  max-width: 500px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  animation: slideUp 0.8s ease-out 0.6s both;
}

.countdown-label {
  font-size: 1.1rem;
  color: #D81B60;
  font-weight: bold;
  margin-bottom: 1rem;
}

.countdown-display {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.countdown-item {
  text-align: center;
}

.countdown-number {
  display: block;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  color: #D81B60;
  background: linear-gradient(45deg, #D81B60, #ff9cc2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.countdown-unit {
  font-size: 0.875rem;
  color: #666;
  font-weight: bold;
}

/* クイックナビ */
.quick-nav {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
  animation: slideUp 0.8s ease-out 0.8s both;
}

.quick-nav-btn {
  padding: 1rem 2rem;
  border-radius: 2rem;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.quick-nav-btn.primary {
  background: #fff;
  color: #D81B60;
}

.quick-nav-btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(216, 27, 96, 0.3);
}

.quick-nav-btn.secondary {
  background: rgba(255,255,255,0.2);
  color: #fff;
  border: 2px solid #fff;
}

.quick-nav-btn.secondary:hover {
  background: rgba(255,255,255,0.3);
  transform: translateY(-3px);
}

/* スケジュール情報 */
.schedule-info {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 1rem;
  background: rgba(255,255,255,0.05);
  border-radius: 1rem;
  margin-bottom: 2rem;
}

.schedule-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
}

.schedule-icon {
  font-size: 1.5rem;
}

.schedule-text {
  font-weight: bold;
  font-size: 0.9rem;
}

/* アニメーション */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* モバイル対応 */
@media (max-width: 640px) {
  .hero-content {
    padding: 2rem 1rem;
  }
  
  .countdown-display {
    gap: 0.5rem;
  }
  
  .quick-nav {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .quick-nav-btn {
    width: 100%;
    justify-content: center;
  }
  
  .schedule-info {
    flex-direction: column;
    gap: 0.75rem;
  }
}

/* ====== カウントダウンメッセージ（フッター用） ====== */
.countdown-message {
  background: linear-gradient(90deg, #FFB6D5 0%, #FFD1E3 100%);
  color: #D81B60;
  border-radius: 16px;
  padding: 18px 10px 12px 10px;
  text-align: center;
  font-size: 1.18em;
  font-weight: bold;
  margin: 18px 0 18px 0;
  box-shadow: 0 2px 12px rgba(255, 182, 213, 0.13);
  letter-spacing: 1.2px;
  animation: fadeInPop 1.2s cubic-bezier(.68,-0.55,.27,1.55);
}
.countdown-text {
  font-size: 1.25em;
  color: #C2185B;
  animation: blink 1.2s infinite alternate;
}
@keyframes fadeInPop {
  0% { opacity: 0; transform: scale(0.9); }
  80% { opacity: 1; transform: scale(1.05); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes blink {
  0% { opacity: 1; }
  100% { opacity: 0.7; }
}

/* ====== 投票リード ====== */
.vote-lead-section {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(255, 182, 213, 0.13);
  padding: 18px 12px 20px 12px;
  margin-bottom: 26px;
  text-align: center;
}
.vote-lead-section img {
  border-radius: 10px;
  margin-bottom: 10px;
  box-shadow: 0 2px 8px rgba(255, 182, 213, 0.10);
}
.vote-lead-title {
  font-weight: bold;
  color: #D81B60;
  margin-bottom: 8px;
  font-size: 1.1em;
}
.vote-lead-btn {
  display: inline-block;
  background: linear-gradient(90deg, #FF69B4 0%, #FFB6D5 100%);
  color: #fff;
  font-weight: bold;
  padding: 12px 32px;
  border-radius: 24px;
  text-decoration: none;
  font-size: 1.1em;
  margin: 10px 0 6px 0;
  box-shadow: 0 2px 8px rgba(255, 182, 213, 0.18);
  transition: filter 0.2s;
}
.vote-lead-btn:hover {
  filter: brightness(1.08);
}
.vote-lead-note {
  color: #C2185B;
  font-size: 0.98em;
}

/* ====== プロフィールカード ====== */
.profile-section {
  margin-bottom: 28px;
}
.profile-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(255, 182, 213, 0.13);
  padding: 22px 16px 18px 16px;
  text-align: center;
}
.profile-image-container {
  width: 120px;
  height: 120px;
  margin: 0 auto 10px auto;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(255, 182, 213, 0.18);
}
.profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profile-name {
  font-size: 1.3em;
  color: #D81B60;
  margin: 10px 0 8px 0;
  font-weight: bold;
}
.profile-info {
  font-size: 1em;
  color: #444;
  margin-bottom: 10px;
}
.mb-20 { margin-bottom: 20px; }
.follow-box {
  /* 新しいスタイルはインラインで定義されているため、ここでは削除 */
}
.profile-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 10px;
}
.link-button {
  background: linear-gradient(90deg, #FF69B4 0%, #FFB6D5 100%);
  color: #fff;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 1em;
  box-shadow: 0 2px 8px rgba(255, 182, 213, 0.13);
  transition: filter 0.2s;
}
.link-button:hover {
  filter: brightness(1.08);
}

/* ====== SNSギャラリー ====== */
.sns-section {
  margin-bottom: 28px;
}
.sns-gallery {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(255, 182, 213, 0.13);
  padding: 18px 12px 20px 12px;
  text-align: center;
}
.gallery-title {
  color: #D81B60;
  font-size: 1.1em;
  font-weight: bold;
  margin-bottom: 12px;
}
.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.gallery-item {
  width: 90px;
  text-align: center;
}
.gallery-item-image {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(255, 182, 213, 0.10);
  margin-bottom: 4px;
}
.gallery-label {
  font-size: 0.95em;
  color: #C2185B;
}

/* ====== 審査項目 ====== */
.judge-section {
  margin-bottom: 28px;
}

/* ====== 改善されたミッションセクション ====== */
.missions-container {
  margin: 3rem 0;
}

.missions-header {
  text-align: center;
  margin-bottom: 3rem;
}

.missions-title {
  font-size: clamp(2rem, 5vw, 2.5rem);
  color: #ff6b9d;
  font-weight: 900;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.missions-title::before,
.missions-title::after {
  content: '✨';
  position: absolute;
  font-size: 1.5rem;
  animation: sparkle 2s ease-in-out infinite;
}

.missions-title::before {
  left: -2rem;
}

.missions-title::after {
  right: -2rem;
}

.missions-subtitle {
  font-size: 1.2rem;
  color: #fff;
  opacity: 0.9;
}

/* 進捗インジケーター */
.progress-indicator {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2rem 0;
  position: relative;
}

.progress-line {
  position: absolute;
  top: 50%;
  left: 10%;
  right: 10%;
  height: 4px;
  background: rgba(255,255,255,0.2);
  transform: translateY(-50%);
  z-index: 1;
}

.progress-step {
  position: relative;
  z-index: 2;
  width: 50px;
  height: 50px;
  background: #ff6b9d;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: bold;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(255,107,157,0.3);
  transition: all 0.3s;
}

.progress-step.completed {
  background: #4CAF50;
  transform: scale(1.1);
}

.progress-step:hover {
  transform: scale(1.15);
}

/* 改善されたミッションカード */
.mission-card-enhanced {
  background: rgba(255,255,255,0.95);
  border-radius: 2rem;
  padding: 0;
  margin-bottom: 3rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: all 0.3s;
}

.mission-card-enhanced:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.mission-card-header {
  background: linear-gradient(135deg, #ff6b9d 0%, #ff9cc2 100%);
  padding: 2rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.mission-card-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 200px;
  height: 200px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
}

.mission-number-large {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 4rem;
  font-weight: 900;
  opacity: 0.3;
  line-height: 1;
}

.mission-icon-large {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.mission-title-enhanced {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.mission-description {
  font-size: 1.1rem;
  opacity: 0.95;
}

.mission-card-body {
  padding: 2rem;
  color: #333;
}

/* タイマーボックス改善 */
.timer-box-enhanced {
  background: linear-gradient(135deg, #FFE4EC 0%, #FFD1E3 100%);
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 2rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(255,182,213,0.2);
}

.timer-number-large {
  font-size: 3rem;
  font-weight: 900;
  color: #D81B60;
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.timer-text-enhanced {
  font-size: 1.2rem;
  color: #C2185B;
  font-weight: bold;
}

/* ステップボックス改善 */
.steps-container {
  display: grid;
  gap: 1.5rem;
}

.step-box-enhanced {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  background: #f8f9fa;
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.step-box-enhanced::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #ff6b9d;
  transition: all 0.3s;
}

.step-box-enhanced:hover {
  background: #fff;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transform: translateX(5px);
}

.step-box-enhanced:hover::before {
  width: 8px;
}

.step-icon-enhanced {
  background: linear-gradient(135deg, #ff6b9d 0%, #ff9cc2 100%);
  color: #fff;
  font-weight: bold;
  border-radius: 1rem;
  min-width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 12px rgba(255,107,157,0.3);
}

.step-content {
  flex: 1;
}

.step-title {
  font-size: 1.2rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 0.5rem;
}

.step-description {
  color: #666;
  line-height: 1.6;
}

/* チェックリスト */
.checklist-container {
  background: #FFF0F5;
  border-radius: 1rem;
  padding: 1.5rem;
  margin-top: 2rem;
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
  cursor: pointer;
  transition: all 0.3s;
}

.checklist-item:hover {
  transform: translateX(5px);
}

.checklist-checkbox {
  width: 24px;
  height: 24px;
  border: 2px solid #ff6b9d;
  border-radius: 0.375rem;
  position: relative;
  transition: all 0.3s;
}

.checklist-checkbox.checked {
  background: #ff6b9d;
}

.checklist-checkbox.checked::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-weight: bold;
}

.checklist-text {
  color: #333;
  font-size: 1.1rem;
}

.checklist-text.checked {
  text-decoration: line-through;
  opacity: 0.6;
}

/* CTA（Call to Action）ボタン */
.mission-cta {
  text-align: center;
  margin-top: 2rem;
}

.mission-cta-button {
  display: inline-block;
  background: linear-gradient(135deg, #ff6b9d 0%, #ff9cc2 100%);
  color: #fff;
  padding: 1rem 3rem;
  border-radius: 3rem;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2rem;
  box-shadow: 0 6px 20px rgba(255,107,157,0.3);
  transition: all 0.3s;
}

.mission-cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255,107,157,0.4);
}

/* アニメーション */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.mission-card-enhanced:nth-child(odd) {
  animation: slideInLeft 0.8s ease-out;
}

.mission-card-enhanced:nth-child(even) {
  animation: slideInRight 0.8s ease-out;
}

/* モバイル対応 */
@media (max-width: 640px) {
  .progress-step {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .mission-card-header {
    padding: 1.5rem;
  }
  
  .mission-number-large {
    font-size: 3rem;
  }
  
  .mission-icon-large {
    font-size: 2.5rem;
  }
  
  .mission-title-enhanced {
    font-size: 1.5rem;
  }
  
  .timer-number-large {
    font-size: 2.5rem;
  }
  
  .step-box-enhanced {
    padding: 1rem;
  }
  
  .mission-cta-button {
    padding: 0.875rem 2rem;
    font-size: 1.1rem;
  }
}

/* ====== 例文集 ====== */
.example-section {
  background: #FFF0F5;
  border-radius: 10px;
  padding: 10px 12px;
  margin-top: 10px;
}
.example-header {
  color: #D81B60;
  font-size: 1em;
  font-weight: bold;
  margin-bottom: 8px;
}
.example-tweet {
  background: #fff;
  border-radius: 8px;
  padding: 8px 10px;
  margin-bottom: 8px;
  box-shadow: 0 1px 4px rgba(255, 182, 213, 0.08);
}
.tweet-type {
  color: #C2185B;
  font-weight: bold;
  font-size: 0.95em;
}

/* ====== プレミアム ====== */
.premium-section {
  margin-bottom: 28px;
}
.premium-special {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(255, 182, 213, 0.13);
  padding: 18px 12px 20px 12px;
  text-align: center;
}
.premium-price {
  color: #D81B60;
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 10px;
}

/* ====== 君斗りんく ====== */
.kimitolink-section {
  margin-bottom: 28px;
}
.kimitolink-image-container {
  width: 100%;
  max-width: 400px;
  margin: 0 auto 10px auto;
}
.kimitolink-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 10px;
}
.kimitolink-button {
  background: linear-gradient(90deg, #FF69B4 0%, #FFB6D5 100%);
  color: #fff;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 1em;
  box-shadow: 0 2px 8px rgba(255, 182, 213, 0.13);
  transition: filter 0.2s;
}
.kimitolink-button:hover {
  filter: brightness(1.08);
}

/* ====== QRセクション ====== */
.qr-section {
  margin-bottom: 28px;
  text-align: center;
}
.qr-placeholder {
  width: 180px;
  height: 180px;
  margin: 0 auto 10px auto;
  background: #FFF0F5;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(255, 182, 213, 0.10);
}
.template-box {
  background: #FFF0F5;
  border-radius: 10px;
  padding: 10px 12px;
  margin-top: 10px;
  text-align: left;
  display: inline-block;
  max-width: 100%;
}
.template-content {
  color: #C2185B;
  font-size: 0.98em;
  line-height: 1.7;
}

/* ====== フッターCTA ====== */
.footer-cta {
  /* インラインスタイルで定義 */
}

/* ====== 汎用 ====== */
.text-center { text-align: center; }
.highlight { color: #D81B60; font-weight: bold; }

/* ====== ミッションカード（Mission3、Mission4用） ====== */
.mission-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(255, 182, 213, 0.13);
  padding: 0;
  margin-bottom: 26px;
  overflow: hidden;
}

.mission-header {
  background: linear-gradient(135deg, #ff6b9d 0%, #ff9cc2 100%);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mission-number {
  background: rgba(255,255,255,0.3);
  color: #fff;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: bold;
}

.mission-title {
  color: #fff;
  font-size: 1.3rem;
  font-weight: bold;
  margin: 0;
}

.mission-content {
  padding: 1.5rem;
  color: #333;
}

.step-box {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.75rem;
  margin-bottom: 1rem;
  background: #f8f9fa;
  border-radius: 0.5rem;
}

.step-icon {
  background: #ff6b9d;
  color: #fff;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: bold;
  flex-shrink: 0;
}

.target-post-container {
  text-align: center;
  margin: 1.5rem 0;
}

.target-post-image {
  max-width: 100%;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.url-text {
  font-family: monospace;
  font-size: 0.9rem;
  word-break: break-all;
  color: #333;
}

.url-text a {
  color: #1565c0;
  text-decoration: none;
}

.url-text a:hover {
  text-decoration: underline;
}

/* モバイル対応 - フォローボックス */
@media (max-width: 600px) {
  .follow-box .follow-item {
    width: 100% !important;
    max-width: 300px;
  }
}

/* ====== レスポンシブ ====== */
@media (max-width: 600px) {
  .container {
    padding: 8px 2px 24px 2px;
  }
  .profile-card, .sns-gallery, .mission-card, .premium-special {
    padding: 12px 4px 12px 4px;
  }
  .gallery-grid {
    gap: 6px;
  }
  .gallery-item, .gallery-item-image {
    width: 70px;
    height: 70px;
  }
  .profile-image-container {
    width: 80px;
    height: 80px;
  }
  .qr-placeholder {
    width: 120px;
    height: 120px;
  }
}