/* underground_shelter.php 専用CSS */

/* 地下シェルターページ固有のスタイル */
.underground-shelter-page .shelter-overview {
  padding: 80px 0;
  background: white;
}

.underground-shelter-page .shelter-overview h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.underground-shelter-page .section-description {
  text-align: center;
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.underground-shelter-page .overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.underground-shelter-page .overview-card {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.3s ease;
  border-top: 4px solid var(--primary-color);
}

.underground-shelter-page .overview-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.underground-shelter-page .overview-card.protection {
  border-top-color: #e74c3c;
}

.underground-shelter-page .overview-card.life-support {
  border-top-color: #27ae60;
}

.underground-shelter-page .overview-card.infrastructure {
  border-top-color: #3498db;
}

.underground-shelter-page .overview-card i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.underground-shelter-page .overview-card.protection i {
  color: #e74c3c;
}

.underground-shelter-page .overview-card.life-support i {
  color: #27ae60;
}

.underground-shelter-page .overview-card.infrastructure i {
  color: #3498db;
}

.underground-shelter-page .overview-card h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.underground-shelter-page .overview-card ul {
  list-style: none;
  padding: 0;
  text-align: left;
}

.underground-shelter-page .overview-card li {
  padding: 8px 0;
  color: #666;
  border-bottom: 1px solid #eee;
}

.underground-shelter-page .overview-card li:last-child {
  border-bottom: none;
}

/* シェルタータイプセクション */
.underground-shelter-page .shelter-types {
  padding: 80px 0;
  background: #f8f9fa;
}

.underground-shelter-page .shelter-types h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 60px;
  color: var(--secondary-color);
}

.underground-shelter-page .tabs {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.underground-shelter-page .tab-buttons {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  gap: 10px;
  flex-wrap: wrap;
}

.underground-shelter-page .tab-btn {
  padding: 12px 25px;
  background: #f8f9fa;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  color: #666;
}

.underground-shelter-page .tab-btn.active,
.underground-shelter-page .tab-btn:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

.underground-shelter-page .tab-contents {
  position: relative;
}

.underground-shelter-page .tab-content {
  display: none;
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.underground-shelter-page .tab-content.active {
  display: block;
}

.underground-shelter-page .tab-content h3 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: var(--secondary-color);
  text-align: center;
}

.underground-shelter-page .type-content {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: center;
}

.underground-shelter-page .type-details p {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.7;
  margin-bottom: 25px;
}

.underground-shelter-page .type-details ul {
  list-style: none;
  padding: 0;
}

.underground-shelter-page .type-details li {
  padding: 10px 0;
  color: #666;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.underground-shelter-page .type-details li:last-child {
  border-bottom: none;
}

.underground-shelter-page .type-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 放射線計算機セクション */
.underground-shelter-page .radiation-calculator {
  padding: 80px 0;
  background: white;
}

.underground-shelter-page .radiation-calculator h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 60px;
  color: var(--secondary-color);
}

.underground-shelter-page .calculator-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
  background: #f8f9fa;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.underground-shelter-page .input-group {
  margin-bottom: 25px;
}

.underground-shelter-page .input-group label {
  display: block;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 8px;
}

.underground-shelter-page .input-group input,
.underground-shelter-page .input-group select {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.underground-shelter-page .input-group input:focus,
.underground-shelter-page .input-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.underground-shelter-page .results {
  background: white;
  padding: 25px;
  border-radius: 15px;
  margin-top: 30px;
}

.underground-shelter-page .result-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.underground-shelter-page .result-item:last-child {
  border-bottom: none;
}

.underground-shelter-page .result-item label {
  font-weight: 600;
  color: var(--secondary-color);
}

.underground-shelter-page .result-item span {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 1.1rem;
}

/* 建設ガイドセクション */
.underground-shelter-page .construction-guide {
  padding: 80px 0;
  background: #f8f9fa;
}

.underground-shelter-page .construction-guide h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 60px;
  color: var(--secondary-color);
}

.underground-shelter-page .guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.underground-shelter-page .guide-card {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.3s ease;
}

.underground-shelter-page .guide-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.underground-shelter-page .guide-card i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.underground-shelter-page .guide-card h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.underground-shelter-page .guide-card ul {
  list-style: none;
  padding: 0;
  text-align: left;
}

.underground-shelter-page .guide-card li {
  padding: 8px 0;
  color: #666;
  border-bottom: 1px solid #eee;
}

.underground-shelter-page .guide-card li:last-child {
  border-bottom: none;
}

/* 機器・設備セクション */
.underground-shelter-page .shelter-equipment {
  padding: 80px 0;
  background: white;
}

.underground-shelter-page .shelter-equipment h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 60px;
  color: var(--secondary-color);
}

.underground-shelter-page .equipment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.underground-shelter-page .equipment-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.underground-shelter-page .equipment-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.underground-shelter-page .equipment-card.featured {
  border: 3px solid var(--accent-color);
  position: relative;
}

.underground-shelter-page .equipment-card.featured::before {
  content: 'おすすめ';
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--accent-color);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 2;
}

.underground-shelter-page .equipment-image {
  position: relative;
  height: 200px;
}

.underground-shelter-page .equipment-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.underground-shelter-page .rating {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.9);
  padding: 5px 10px;
  border-radius: 15px;
  font-weight: 600;
  color: #f39c12;
}

.underground-shelter-page .equipment-info {
  padding: 25px;
}

.underground-shelter-page .equipment-info h4 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.underground-shelter-page .equipment-info p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.underground-shelter-page .equipment-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 25px;
}

.underground-shelter-page .equipment-features span {
  font-size: 0.9rem;
  color: var(--success-color);
  display: flex;
  align-items: center;
  gap: 8px;
}

.underground-shelter-page .equipment-features i {
  color: var(--success-color);
}

.underground-shelter-page .price-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.underground-shelter-page .price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color);
}

/* 専門家のアドバイスセクション */
.underground-shelter-page .expert-advice {
  padding: 80px 0;
  background: #f8f9fa;
}

.underground-shelter-page .expert-advice h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 60px;
  color: var(--secondary-color);
}

.underground-shelter-page .expert-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: start;
}

.underground-shelter-page .expert-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.underground-shelter-page .expert-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--accent-color);
  margin-bottom: 20px;
}

.underground-shelter-page .expert-info h3 {
  font-size: 1.3rem;
  margin-bottom: 5px;
  color: var(--secondary-color);
  text-align: center;
}

.underground-shelter-page .expert-info p {
  font-size: 0.9rem;
  color: #666;
  text-align: center;
}

.underground-shelter-page .expert-quote {
  background: white;
  padding: 30px;
  border-radius: 15px;
  border-left: 4px solid var(--accent-color);
}

.underground-shelter-page .expert-quote p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #555;
  margin: 0;
  font-style: italic;
}

/* CTAセクション */
.underground-shelter-page .cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary-color), #c0392b);
  color: white;
  text-align: center;
}

.underground-shelter-page .cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: white;
}

.underground-shelter-page .cta-content p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

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

.underground-shelter-page .cta-buttons .btn {
  padding: 15px 30px;
  font-size: 1.1rem;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.underground-shelter-page .cta-buttons .primary-btn {
  background: white;
  color: var(--primary-color);
}

.underground-shelter-page .cta-buttons .primary-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.underground-shelter-page .cta-buttons .secondary-btn {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.underground-shelter-page .cta-buttons .secondary-btn:hover {
  background: white;
  color: var(--primary-color);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .underground-shelter-page .shelter-overview,
  .underground-shelter-page .shelter-types,
  .underground-shelter-page .radiation-calculator,
  .underground-shelter-page .construction-guide,
  .underground-shelter-page .shelter-equipment,
  .underground-shelter-page .expert-advice,
  .underground-shelter-page .cta-section {
    padding: 60px 0;
  }

  .underground-shelter-page .overview-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .underground-shelter-page .type-content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .underground-shelter-page .guide-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .underground-shelter-page .equipment-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .underground-shelter-page .expert-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
    padding: 25px;
  }

  .underground-shelter-page .expert-profile {
    align-items: center;
  }

  .underground-shelter-page .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .underground-shelter-page .shelter-overview h2,
  .underground-shelter-page .shelter-types h2,
  .underground-shelter-page .radiation-calculator h2,
  .underground-shelter-page .construction-guide h2,
  .underground-shelter-page .shelter-equipment h2,
  .underground-shelter-page .expert-advice h2,
  .underground-shelter-page .cta-content h2 {
    font-size: 2rem;
  }

  .underground-shelter-page .overview-card,
  .underground-shelter-page .guide-card {
    padding: 20px;
  }

  .underground-shelter-page .tab-content {
    padding: 25px;
  }

  .underground-shelter-page .calculator-container {
    padding: 25px;
  }

  .underground-shelter-page .equipment-info {
    padding: 20px;
  }
} 