/* evacuation_guide.css - 避難行動ガイドページ専用スタイル */

/* ページラッパー */
.evacuation-guide-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #1a5490 0%, #2980b9 100%);
}

/* 概要セクション */
.evacuation-overview {
  padding: 60px 0;
  background: #fff;
  margin-bottom: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.evacuation-overview h2 {
  font-size: 2.5em;
  color: #1a5490;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
}

.section-description {
  font-size: 1.1em;
  line-height: 1.8;
  color: #666;
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.overview-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.overview-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: #e74c3c;
}

.overview-card i {
  font-size: 3em;
  color: #e74c3c;
  margin-bottom: 20px;
  display: block;
}

.overview-card h3 {
  font-size: 1.5em;
  color: #1a5490;
  margin-bottom: 20px;
  font-weight: 600;
}

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

.overview-card li {
  padding: 8px 0;
  padding-left: 25px;
  position: relative;
  color: #666;
  line-height: 1.6;
}

.overview-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #27ae60;
  font-weight: bold;
}

/* 商品推薦セクション */
.product-recommendations {
  padding: 60px 0;
  background: #f8f9fa;
  margin: 40px 0;
  border-radius: 12px;
}

.product-recommendations h2 {
  font-size: 2.5em;
  color: #1a5490;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.product-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.product-card.featured {
  border: 3px solid #e74c3c;
}

.product-card.featured::before {
  content: 'おすすめ';
  position: absolute;
  top: 15px;
  right: 15px;
  background: #e74c3c;
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9em;
  font-weight: 600;
  z-index: 2;
}

.product-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.rating {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(255, 193, 7, 0.9);
  color: white;
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 0.9em;
  font-weight: 600;
}

.product-info {
  padding: 30px;
}

.product-info h4 {
  font-size: 1.3em;
  color: #1a5490;
  margin-bottom: 15px;
  font-weight: 600;
}

.product-info p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.product-features {
  margin: 20px 0;
}

.product-features span {
  display: inline-block;
  background: #f8f9fa;
  color: #27ae60;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.9em;
  margin: 4px 8px 4px 0;
  border: 1px solid #27ae60;
}

.price-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 25px;
}

.price {
  font-size: 1.5em;
  color: #e74c3c;
  font-weight: 700;
}

.btn.primary-btn {
  background: linear-gradient(135deg, #1a5490, #2980b9);
  color: white;
  padding: 12px 24px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn.primary-btn:hover {
  background: linear-gradient(135deg, #2980b9, #1a5490);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* 避難原則セクション */
.evacuation-principles {
  padding: 100px 60px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  margin: 50px 0;
  border-radius: 30px;
  box-shadow: 0 20px 60px rgba(102, 126, 234, 0.15);
  position: relative;
  overflow: hidden;
}

.evacuation-principles::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><defs><radialGradient id="g1" cx="50%" cy="50%" r="50%"><stop offset="0%" style="stop-color:rgba(255,255,255,0.1)"/><stop offset="100%" style="stop-color:rgba(255,255,255,0)"/></radialGradient></defs><circle cx="100" cy="100" r="80" fill="url(%23g1)"/></svg>');
  background-size: 300px 300px;
  animation: float-bubble 20s ease-in-out infinite;
  opacity: 0.7;
}

.evacuation-principles::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #ff6b6b, #feca57, #48dbfb, #ff9ff3, #54a0ff);
  background-size: 200% 100%;
  animation: gradient-shift 8s ease-in-out infinite;
  border-radius: 30px 30px 0 0;
}

@keyframes float-bubble {
  0%, 100% { 
    transform: translate(0, 0) scale(1);
    opacity: 0.7;
  }
  33% { 
    transform: translate(50px, -30px) scale(1.1);
    opacity: 0.9;
  }
  66% { 
    transform: translate(-30px, 20px) scale(0.9);
    opacity: 0.8;
  }
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.evacuation-principles h2 {
  font-size: 3.2em;
  color: #ffffff;
  text-align: center;
  margin-bottom: 70px;
  font-weight: 900;
  position: relative;
  z-index: 3;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  letter-spacing: -1px;
  text-transform: none;
}

.evacuation-principles h2::before {
  content: '🚨';
  display: block;
  font-size: 0.6em;
  margin-bottom: 15px;
  animation: pulse-icon 2s ease-in-out infinite;
}

.evacuation-principles h2::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 6px;
  background: linear-gradient(90deg, #ff6b6b, #feca57, #48dbfb, #ff9ff3);
  border-radius: 3px;
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.3);
  animation: pulse-underline 3s ease-in-out infinite;
}

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

@keyframes pulse-underline {
  0%, 100% { 
    transform: translateX(-50%) scaleX(1);
    opacity: 0.8;
  }
  50% { 
    transform: translateX(-50%) scaleX(1.1);
    opacity: 1;
  }
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 35px;
  max-width: 1200px;
  margin: 0 auto;
}

.principle-card {
  background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
  padding: 50px 40px;
  border-radius: 25px;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.principle-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #e74c3c, #c0392b);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.principle-card:hover::before {
  transform: scaleX(1);
}

.principle-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(231, 76, 60, 0.15);
  border-color: #e74c3c;
}

.principle-icon {
  text-align: center;
  margin-bottom: 30px;
  position: relative;
}

.principle-icon i {
  font-size: 3.5em;
  color: #e74c3c;
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 4px rgba(231, 76, 60, 0.3));
  transition: all 0.3s ease;
}

.principle-card:hover .principle-icon i {
  transform: scale(1.1) rotate(5deg);
}

.principle-card h3 {
  font-size: 1.5em;
  color: #1a5490;
  text-align: center;
  margin-bottom: 25px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.principle-card p {
  color: #555;
  line-height: 1.8;
  margin-bottom: 25px;
  text-align: center;
  font-size: 1.05em;
}

.principle-points {
  list-style: none;
  padding: 0;
  background: linear-gradient(145deg, #f8f9fa, #e9ecef);
  border-radius: 16px;
  padding: 25px;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(231, 76, 60, 0.1);
}

.principle-points li {
  padding: 15px 12px;
  padding-left: 45px;
  position: relative;
  color: #444;
  line-height: 1.8;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border-radius: 12px;
  margin-bottom: 8px;
  background: linear-gradient(90deg, transparent, rgba(231, 76, 60, 0.02));
}

.principle-points li:last-child {
  margin-bottom: 0;
}

.principle-points li:hover {
  color: #1a5490;
  transform: translateX(8px) scale(1.02);
  background: linear-gradient(90deg, rgba(231, 76, 60, 0.08), rgba(231, 76, 60, 0.15));
  box-shadow: 0 4px 12px rgba(231, 76, 60, 0.15);
}

.principle-points li::before {
  content: '🔸';
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4em;
  transition: all 0.3s ease;
  animation: sparkle 2s ease-in-out infinite;
}

.principle-points li:hover::before {
  transform: translateY(-50%) scale(1.2) rotate(15deg);
  content: '🔥';
}

@keyframes sparkle {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; }
}

/* 避難タイミングセクション */
.evacuation-timing {
  padding: 80px 0;
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #2c3e50 100%);
  margin: 40px 0;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.evacuation-timing::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><path d="M0 10 Q25 0 50 10 T100 10 V20 H0 Z" fill="rgba(255,255,255,0.03)"/></svg>');
  background-size: 200px 40px;
  animation: wave 10s linear infinite;
}

@keyframes wave {
  0% { background-position-x: 0; }
  100% { background-position-x: 200px; }
}

.evacuation-timing h2 {
  font-size: 2.8em;
  color: #ffffff;
  text-align: center;
  margin-bottom: 60px;
  font-weight: 800;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 2;
}

.evacuation-timing h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #f39c12, #e67e22);
  border-radius: 2px;
}

.timing-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 35px;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.timing-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid transparent;
  position: relative;
}

.timing-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #f39c12, #e67e22, #d35400, #e74c3c);
  border-radius: 20px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.timing-card:hover::before {
  opacity: 1;
}

.timing-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.timing-card h3 {
  background: linear-gradient(135deg, #e67e22, #d35400);
  color: white;
  padding: 25px 30px;
  margin: 0;
  font-size: 1.5em;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.timing-card h3::before {
  content: '';
  position: absolute;
  top: 0;
  right: -50px;
  width: 100px;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: skewX(-25deg);
  transition: right 0.6s ease;
}

.timing-card:hover h3::before {
  right: 100%;
}

.timing-card h3 i {
  margin-right: 10px;
}

.timing-content {
  padding: 30px;
}

.timing-content h4 {
  color: #e74c3c;
  font-size: 1.2em;
  margin-bottom: 20px;
  font-weight: 600;
}

.timing-checklist {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.timing-checklist li {
  padding: 10px 0;
  padding-left: 25px;
  position: relative;
  color: #666;
  line-height: 1.6;
  border-bottom: 1px solid #eee;
}

.timing-checklist li:last-child {
  border-bottom: none;
}

.timing-checklist li::before {
  content: '⚠️';
  position: absolute;
  left: 0;
}

.timing-note {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 8px;
  padding: 15px;
  margin-top: 20px;
}

.timing-note strong {
  color: #e74c3c;
}

/* 持ち出し品セクション */
.emergency-kit {
  padding: 80px 0;
  background: linear-gradient(135deg, #27ae60 0%, #2ecc71 50%, #27ae60 100%);
  margin: 40px 0;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.emergency-kit::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 20"><circle cx="10" cy="10" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="30" cy="10" r="1.5" fill="rgba(255,255,255,0.08)"/><circle cx="50" cy="10" r="1" fill="rgba(255,255,255,0.06)"/></svg>');
  background-size: 120px 40px;
  animation: float 15s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.emergency-kit h2 {
  font-size: 2.8em;
  color: #ffffff;
  text-align: center;
  margin-bottom: 60px;
  font-weight: 800;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 2;
}

.emergency-kit h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #ffffff, rgba(255, 255, 255, 0.7));
  border-radius: 2px;
}

.kit-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 35px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.kit-category {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 3px solid transparent;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.kit-category:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.kit-category h3 {
  background: linear-gradient(135deg, #e74c3c, #d63031);
  color: white;
  padding: 20px;
  margin: 0;
  font-size: 1.3em;
  font-weight: 600;
}

.kit-category h3 i {
  margin-right: 10px;
}

.kit-items {
  padding: 20px;
}

.kit-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
  align-items: center;
}

.kit-item:last-child {
  border-bottom: none;
}

.item-name {
  font-weight: 600;
  color: #1a5490;
}

.item-quantity {
  background: #27ae60;
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.9em;
  font-weight: 600;
  text-align: center;
}

.item-note {
  font-size: 0.9em;
  color: #666;
  font-style: italic;
}

/* 避難経路セクション */
.evacuation-route {
  padding: 80px 0;
  background: linear-gradient(135deg, #8e44ad 0%, #9b59b6 50%, #8e44ad 100%);
  margin: 40px 0;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.evacuation-route::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M20,20 Q50,10 80,20 T20,80 Q50,90 80,80" stroke="rgba(255,255,255,0.05)" stroke-width="2" fill="none"/></svg>');
  background-size: 200px 200px;
  animation: pathMove 20s ease-in-out infinite;
}

@keyframes pathMove {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.7; }
}

.evacuation-route h2 {
  font-size: 2.8em;
  color: #ffffff;
  text-align: center;
  margin-bottom: 60px;
  font-weight: 800;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 2;
}

.evacuation-route h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #ffffff, rgba(255, 255, 255, 0.7));
  border-radius: 2px;
}

.route-check-steps {
  margin-bottom: 50px;
}

.route-step {
  display: flex;
  align-items: flex-start;
  margin-bottom: 40px;
  gap: 30px;
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #1a5490, #2980b9);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  font-weight: 700;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.step-content h3 {
  color: #1a5490;
  font-size: 1.4em;
  margin-bottom: 15px;
  font-weight: 600;
}

.step-content p {
  color: #666;
  line-height: 1.7;
  margin-bottom: 15px;
}

.step-checklist {
  list-style: none;
  padding: 0;
}

.step-checklist li {
  padding: 8px 0;
  padding-left: 25px;
  position: relative;
  color: #666;
  line-height: 1.6;
}

.step-checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #27ae60;
  font-weight: bold;
}

.route-tips {
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.route-tips h3 {
  color: #1a5490;
  font-size: 1.6em;
  text-align: center;
  margin-bottom: 30px;
  font-weight: 600;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.tip-card {
  background: #f8f9fa;
  padding: 30px 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.tip-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.tip-card i {
  font-size: 2.5em;
  color: #e74c3c;
  margin-bottom: 15px;
}

.tip-card h4 {
  color: #1a5490;
  font-size: 1.2em;
  margin-bottom: 15px;
  font-weight: 600;
}

.tip-card p {
  color: #666;
  line-height: 1.6;
  font-size: 0.95em;
}

/* 避難所生活セクション */
.shelter-life {
  padding: 80px 0;
  background: linear-gradient(135deg, #34495e 0%, #2c3e50 50%, #34495e 100%);
  margin: 40px 0;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.shelter-life::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 50"><polygon points="0,25 50,10 100,25 150,40 200,25 200,50 0,50" fill="rgba(255,255,255,0.03)"/></svg>');
  background-size: 400px 100px;
  animation: shelter 25s linear infinite;
}

@keyframes shelter {
  0% { background-position-x: 0; }
  100% { background-position-x: 400px; }
}

.shelter-life h2 {
  font-size: 2.8em;
  color: #ffffff;
  text-align: center;
  margin-bottom: 60px;
  font-weight: 800;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 2;
}

.shelter-life h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #3498db, #2980b9);
  border-radius: 2px;
}

.shelter-rules h3,
.shelter-tips h3,
.special-needs h3 {
  color: #1a5490;
  font-size: 1.8em;
  margin-bottom: 30px;
  font-weight: 600;
}

.rules-grid,
.needs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-bottom: 50px;
}

.rule-card,
.need-card {
  background: #f8f9fa;
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  text-align: center;
}

.rule-card:hover,
.need-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.rule-icon i,
.need-card i {
  font-size: 2.5em;
  color: #e74c3c;
  margin-bottom: 15px;
}

.rule-card h4,
.need-card h4 {
  color: #1a5490;
  font-size: 1.2em;
  margin-bottom: 20px;
  font-weight: 600;
}

.rule-card ul {
  list-style: none;
  padding: 0;
  text-align: left;
}

.rule-card li {
  padding: 5px 0;
  color: #666;
  line-height: 1.5;
}

.need-card p {
  color: #666;
  line-height: 1.6;
  text-align: left;
}

.tips-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.tip-section {
  background: #f8f9fa;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.tip-section h4 {
  color: #1a5490;
  font-size: 1.3em;
  margin-bottom: 20px;
  font-weight: 600;
}

.tip-section h4 i {
  margin-right: 10px;
  color: #e74c3c;
}

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

.tip-section li {
  padding: 8px 0;
  padding-left: 25px;
  position: relative;
  color: #666;
  line-height: 1.6;
}

.tip-section li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #e74c3c;
  font-weight: bold;
}

/* CTAセクション */
.cta-section {
  padding: 60px 0;
  background: linear-gradient(135deg, #1a5490, #2980b9);
  margin: 40px 0;
  border-radius: 12px;
  text-align: center;
}

.cta-content h2 {
  color: white;
  font-size: 2.2em;
  margin-bottom: 20px;
  font-weight: 700;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1em;
  margin-bottom: 40px;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn.secondary-btn {
  background: transparent;
  color: white;
  border: 2px solid white;
  padding: 12px 24px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn.secondary-btn:hover {
  background: white;
  color: #1a5490;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
  .evacuation-guide-page {
    padding: 0 15px;
  }
  
  .evacuation-overview h2,
  .product-recommendations h2,
  .evacuation-principles h2,
  .evacuation-timing h2,
  .emergency-kit h2,
  .evacuation-route h2,
  .shelter-life h2 {
    font-size: 2em;
  }
  
  .overview-grid,
  .product-grid,
  .principles-grid,
  .timing-container,
  .kit-categories,
  .rules-grid,
  .tips-container,
  .needs-grid,
  .tips-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .overview-card,
  .principle-card,
  .timing-card,
  .kit-category,
  .rule-card,
  .tip-section,
  .need-card,
  .tip-card {
    padding: 20px;
  }
  
  .product-info {
    padding: 20px;
  }
  
  .price-info {
    flex-direction: column;
    gap: 15px;
  }
  
  .btn.primary-btn {
    width: 100%;
    text-align: center;
  }
  
  .route-step {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  
  .step-number {
    margin: 0 auto;
  }
  
  .kit-item {
    grid-template-columns: 1fr;
    gap: 10px;
    text-align: center;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 300px;
  }
}

/* ダークモード対応（オプション） */
@media (prefers-color-scheme: dark) {
  .evacuation-guide-page {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
  }
  
  .overview-card,
  .product-card,
  .principle-card {
    background: #2d3748;
    color: #e2e8f0;
  }
  
  .overview-card h3,
  .product-info h4,
  .principle-card h3 {
    color: #90cdf4;
  }
  
  .section-description,
  .overview-card li,
  .product-info p,
  .principle-card p,
  .principle-points li {
    color: #cbd5e0;
  }
}

/* 避難原則セクション拡張スタイル */
.evacuation-principles .principle-card {
  position: relative;
}

.evacuation-principles .principle-card::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57, #ff9ff3);
  background-size: 300% 300%;
  border-radius: 27px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s ease;
  animation: gradient-rotate 4s ease-in-out infinite;
}

.evacuation-principles .principle-card:hover::after {
  opacity: 1;
}

@keyframes gradient-rotate {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* リストアイテムの拡張アニメーション */
.evacuation-principles .principle-points li {
  cursor: pointer;
}

.evacuation-principles .principle-points li::after {
  content: '✨';
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%) scale(0);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  opacity: 0;
}

.evacuation-principles .principle-points li:hover::after {
  transform: translateY(-50%) scale(1);
  opacity: 1;
}

/* アイコンの拡張アニメーション */
.evacuation-principles .principle-icon {
  position: relative;
}

.evacuation-principles .principle-icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(231, 76, 60, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  animation: pulse-ring 3s ease-in-out infinite;
}

@keyframes pulse-ring {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
  }
}

/* タイトルのタイピング効果 */
.evacuation-principles h3 {
  position: relative;
  overflow: hidden;
}

.evacuation-principles .principle-card:hover h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, #ff6b6b, #4ecdc4);
  animation: typewriter 0.8s ease-out;
}

@keyframes typewriter {
  from { width: 0; }
  to { width: 100%; }
}

/* レスポンシブ用の追加調整 */
@media (max-width: 768px) {
  .evacuation-principles {
    padding: 60px 30px;
    margin: 30px 0;
  }
  
  .evacuation-principles h2 {
    font-size: 2.2em;
    margin-bottom: 50px;
  }
  
  .principles-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .principle-card {
    padding: 35px 25px;
  }
} 