/* ========================================
   共通スタイル
======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
}

/* ========================================
   コンテナ
======================================== */
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem;
}

/* ========================================
   ヘッダー
======================================== */
.header {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
}

.header h1 {
  color: #333;
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}

/* ========================================
   スタンプステータス
======================================== */
.stamp-status {
  display: inline-block;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: bold;
}

/* ========================================
   セクション共通
======================================== */
.section {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
}

.section h2 {
  color: #333;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

/* ========================================
   スタンプ帳レイアウト
======================================== */
.stamp-book {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

/* ========================================
   スタンプカード
======================================== */
.stamp-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  border: 2px dashed #ccc;
  border-radius: 12px;
  padding: 0.5rem;
  background: #fafafa;
  transition: transform 0.2s ease-in-out;
  min-height: 150px;
}

.stamp-card.acquired {
  border: 2px solid #4caf50;
  background: #f0fff0;
}

.stamp-card.acquired:hover {
  transform: scale(1.05);
}

.stamp-card.locked {
  opacity: 0.5;
}

.stamp-card img,
.stamp-card .placeholder {
  max-width: 80px;
  height: 80px;
  margin-bottom: 0.5rem;
  object-fit: contain;
}

.stamp-card .placeholder {
  background: #ddd;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 0.7rem;
  font-weight: bold;
}

.stamp-name {
  font-size: 0.85rem;
  color: #333;
  text-align: center;
  word-break: break-word;
  line-height: 1.3;
}

/* ========================================
   ボタン
======================================== */
.action-button {
  display: inline-block;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 1rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
  text-align: center;
}

.action-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

.action-button:active {
  transform: translateY(-1px);
}

/* ========================================
   情報セクション
======================================== */
.info-section {
  background: white;
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
}

.info-section h2 {
  color: #667eea;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.info-link {
  display: inline-block;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.info-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* ========================================
   アンケートセクション
======================================== */
.survey-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
}

.survey-section h2 {
  color: white;
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.survey-section p {
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.survey-link {
  display: inline-block;
  background-color: white;
  color: #667eea;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.survey-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* ========================================
   マップ表示
======================================== */
.map-section {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
}

.map-section h2 {
  color: #333;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

.map-container {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.map-container img {
  width: 100%;
  height: auto;
  display: block;
}

/* ========================================
   情報ボックス
======================================== */
.info-box {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-top: 1rem;
}

.info-box h3 {
  color: #667eea;
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.info-box ul {
  list-style: none;
  padding-left: 0;
}

.info-box li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: #555;
  line-height: 1.6;
}

.info-box li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #4caf50;
  font-weight: bold;
}

/* ========================================
   アニメーション
======================================== */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

@keyframes pop {
  0% { transform: scale(0.5); opacity: 0; }
  80% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); }
}

/* ========================================
   レスポンシブ対応
======================================== */
@media (max-width: 600px) {
  body {
    padding: 0.5rem;
  }

  .container {
    padding: 0.5rem;
  }

  .header {
    padding: 1rem;
  }

  .header h1 {
    font-size: 1.5rem;
  }

  .section {
    padding: 1rem;
  }

  .stamp-book {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 0.5rem;
  }

  .stamp-card img,
  .stamp-card .placeholder {
    max-width: 60px;
    height: 60px;
  }

  .stamp-name {
    font-size: 0.75rem;
  }

  .action-button {
    font-size: 1rem;
    padding: 0.9rem 1.5rem;
  }

  .stamp-status {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }

  .survey-section {
    padding: 1rem;
  }

  .survey-section h2 {
    font-size: 1.1rem;
  }

  .map-section {
    padding: 1rem;
  }
}
/* ========================================
   フッター（クレジット）
======================================== */
.footer {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 1.25rem;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-top: 2rem;
  font-size: 0.85rem;
  color: #666;
  line-height: 1.6;
}

.footer-title {
  font-weight: bold;
  color: #667eea;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.footer-credit {
  margin: 0.25rem 0;
}

.footer-credit strong {
  color: #333;
}

.footer-links {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid #e0e0e0;
}

.footer-link {
  color: #667eea;
  text-decoration: none;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #764ba2;
  text-decoration: underline;
}

@media (max-width: 600px) {
  .footer {
    font-size: 0.8rem;
    padding: 1rem;
  }
}