/* water_storage.php 専用CSS */

/* 水の備蓄ページ固有のスタイル */
.water-storage-page .intro-section {
  padding: 80px 0;
  background: white;
}

.water-storage-page .intro-text {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 15px;
  text-align: center;
}

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

.water-storage-page .intro-text p {
  font-size: 1.2rem;
  color: #666;
  line-height: 1.7;
  margin-bottom: 40px;
}

.water-storage-page .stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.water-storage-page .stat-item {
  text-align: center;
  padding: 25px;
  background: #f8f9fa;
  border-radius: 15px;
  border-left: 4px solid var(--primary-color);
  transition: all 0.3s ease;
}

.water-storage-page .stat-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.water-storage-page .stat-number {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.water-storage-page .stat-label {
  display: block;
  font-size: 0.9rem;
  color: var(--secondary-color);
  font-weight: 600;
}

/* 災害カテゴリーセクション */
.water-storage-page .disaster-categories {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.water-storage-page .disaster-categories h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

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

.water-storage-page .category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 15px;
}

.water-storage-page .category-card {
  background: white;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.water-storage-page .category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  transition: all 0.3s ease;
}

.water-storage-page .water-card::before {
  background: linear-gradient(90deg, #3498db, #2980b9);
}

.water-storage-page .category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.water-storage-page .category-card:hover::before {
  height: 8px;
}

.water-storage-page .category-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 2rem;
  color: white;
}

.water-storage-page .water-card .category-icon {
  background: linear-gradient(135deg, #3498db, #2980b9);
}

.water-storage-page .category-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.water-storage-page .category-content h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.water-storage-page .category-description {
  color: #666;
  line-height: 1.6;
  margin-bottom: 25px;
  flex: 1;
}

.water-storage-page .category-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 25px;
}

.water-storage-page .stat {
  text-align: center;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 10px;
}

.water-storage-page .stat .number {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.water-storage-page .stat .label {
  display: block;
  font-size: 0.9rem;
  color: #666;
}

.water-storage-page .category-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 25px;
}

.water-storage-page .feature {
  background: rgba(52, 152, 219, 0.1);
  color: #3498db;
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 0.85rem;
  font-weight: 500;
}

.water-storage-page .category-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--primary-color);
  font-weight: 600;
  margin-top: auto;
  padding-top: 15px;
}

.water-storage-page .category-link i {
  transition: transform 0.3s ease;
}

.water-storage-page .category-card:hover .category-link i {
  transform: translateX(5px);
}

/* タイムラインセクション */
.water-storage-page .disaster-timeline {
  padding: 80px 0;
  background: white;
}

.water-storage-page .disaster-timeline h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 60px;
  color: var(--secondary-color);
}

.water-storage-page .timeline-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 15px;
  position: relative;
}

.water-storage-page .timeline-container::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
}

.water-storage-page .timeline-item {
  position: relative;
  margin-bottom: 50px;
  padding-left: 80px;
}

.water-storage-page .timeline-item::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 10px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary-color);
  border: 4px solid white;
  box-shadow: 0 0 0 4px var(--primary-color);
}

.water-storage-page .timeline-time {
  position: absolute;
  left: -50px;
  top: 5px;
  background: var(--accent-color);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  min-width: 100px;
  text-align: center;
}

.water-storage-page .timeline-content {
  background: white;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.water-storage-page .timeline-content:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.water-storage-page .timeline-content h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.water-storage-page .timeline-content p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.water-storage-page .timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.water-storage-page .timeline-tags span {
  background: rgba(52, 152, 219, 0.1);
  color: #3498db;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* 水備蓄計算機セクション */
.water-storage-page .water-calculator {
  padding: 80px 0;
  background: #f8f9fa;
}

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

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

.water-storage-page .calculator-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.water-storage-page .input-group {
  display: flex;
  flex-direction: column;
}

.water-storage-page .input-group label {
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 8px;
}

.water-storage-page .input-group input,
.water-storage-page .input-group select {
  padding: 12px 15px;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

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

.water-storage-page .calculate-btn {
  width: 100%;
  padding: 15px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 30px;
}

.water-storage-page .calculate-btn:hover {
  background: #c0392b;
  transform: translateY(-2px);
}

.water-storage-page .calculator-results {
  background: #f8f9fa;
  padding: 25px;
  border-radius: 15px;
}

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

.water-storage-page .result-item:last-child {
  border-bottom: none;
}

.water-storage-page .result-value {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 1.1rem;
}

/* 商品推薦セクション */
.water-storage-page .product-recommendations {
  padding: 80px 0;
  background: white;
}

.water-storage-page .product-recommendations h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 60px;
  color: var(--secondary-color);
}

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

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

.water-storage-page .product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.water-storage-page .product-card.featured {
  border: 3px solid var(--accent-color);
  position: relative;
}

.water-storage-page .product-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;
}

.water-storage-page .product-image {
  position: relative;
  height: 200px;
}

.water-storage-page .product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.water-storage-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;
}

.water-storage-page .product-info {
  padding: 15px;
}

.water-storage-page .product-info h4 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

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

.water-storage-page .product-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 25px;
}

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

.water-storage-page .product-features i {
  color: var(--success-color);
}

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

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

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

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

.water-storage-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;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .water-storage-page .intro-section,
  .water-storage-page .disaster-categories,
  .water-storage-page .disaster-timeline,
  .water-storage-page .water-calculator,
  .water-storage-page .product-recommendations,
  .water-storage-page .expert-advice,
  .water-storage-page .cta-section {
    padding: 60px 0;
  }

  .water-storage-page .stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .water-storage-page .category-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .water-storage-page .timeline-container::before {
    left: 15px;
  }

  .water-storage-page .timeline-item {
    padding-left: 50px;
  }

  .water-storage-page .timeline-time {
    left: -30px;
    font-size: 0.8rem;
    min-width: 80px;
  }

  .water-storage-page .calculator-grid {
    grid-template-columns: 1fr;
  }

  .water-storage-page .product-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .water-storage-page .expert-profile {
    align-items: center;
  }

  .water-storage-page .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .water-storage-page .intro-text h2,
  .water-storage-page .disaster-categories h2,
  .water-storage-page .disaster-timeline h2,
  .water-storage-page .water-calculator h2,
  .water-storage-page .product-recommendations h2,
  .water-storage-page .expert-advice h2,
  .water-storage-page .cta-content h2 {
    font-size: 2rem;
  }

  .water-storage-page .category-card {
    padding: 20px;
  }

  .water-storage-page .category-stats {
    grid-template-columns: 1fr;
  }

  .water-storage-page .timeline-content {
    padding: 20px;
  }

  .water-storage-page .calculator-container {
    padding: 25px;
  }

  .water-storage-page .product-info {
    padding: 20px;
  }
}

/* 詳細セクションのスタイル */
.water-storage-page .detail-section {
  padding: 80px 0;
  background: white;
  margin: 0;
}

.water-storage-page .detail-section:nth-child(even) {
  background: #f8f9fa;
}

.water-storage-page .detail-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.water-storage-page .detail-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.water-storage-page .detail-text h2 {
  font-size: 2.5rem;
  margin-bottom: 25px;
  color: var(--secondary-color);
  font-weight: 700;
}

.water-storage-page .detail-text p {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.7;
  margin-bottom: 40px;
}

.water-storage-page .detail-features {
  margin-bottom: 40px;
}

.water-storage-page .detail-features .feature-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
  padding: 20px;
  background: white;
  border-radius: 15px;
  border-left: 4px solid var(--primary-color);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.water-storage-page .detail-section:nth-child(even) .detail-features .feature-item {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
}

.water-storage-page .detail-features .feature-item:hover {
  transform: translateX(5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.water-storage-page .detail-features .feature-item i {
  font-size: 2rem;
  color: var(--primary-color);
  flex-shrink: 0;
  margin-top: 5px;
}

.water-storage-page .detail-features .feature-text h4 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: var(--secondary-color);
  font-weight: 600;
}

.water-storage-page .detail-features .feature-text p {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

.water-storage-page .detail-tips {
  background: #f8f9fa;
  padding: 25px;
  border-radius: 15px;
  border-left: 4px solid var(--accent-color);
}

.water-storage-page .detail-section:nth-child(even) .detail-tips {
  background: white;
  border: 1px solid #e9ecef;
}

.water-storage-page .detail-tips h4 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--secondary-color);
  font-weight: 600;
}

.water-storage-page .detail-tips ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.water-storage-page .detail-tips li {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  font-size: 1rem;
  color: #666;
  line-height: 1.5;
}

.water-storage-page .detail-tips li::before {
  content: '✓';
  color: var(--primary-color);
  font-weight: bold;
  margin-right: 10px;
  font-size: 1.1rem;
}

.water-storage-page .detail-image {
  position: relative;
}

.water-storage-page .detail-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.water-storage-page .detail-img:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* カテゴリーカードリンクのスタイル */
.water-storage-page .category-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.water-storage-page .category-card-link:hover {
  text-decoration: none;
  color: inherit;
}

/* レスポンシブ対応の詳細セクション */
@media (max-width: 768px) {
  .water-storage-page .detail-section {
    padding: 60px 0;
  }

  .water-storage-page .detail-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .water-storage-page .detail-text h2 {
    font-size: 2rem;
  }

  .water-storage-page .detail-text p {
    font-size: 1rem;
  }

  .water-storage-page .detail-image {
    order: -1;
  }

  .water-storage-page .detail-img {
    height: 300px;
  }

  .water-storage-page .detail-features .feature-item {
    padding: 15px;
    gap: 15px;
  }

  .water-storage-page .detail-features .feature-item i {
    font-size: 1.5rem;
  }

  .water-storage-page .detail-features .feature-text h4 {
    font-size: 1.1rem;
  }

  .water-storage-page .detail-features .feature-text p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .water-storage-page .detail-section {
    padding: 40px 0;
  }

  .water-storage-page .detail-content {
    gap: 30px;
    padding: 0 10px;
  }

  .water-storage-page .detail-text h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }

  .water-storage-page .detail-text p {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  .water-storage-page .detail-features {
    margin-bottom: 30px;
  }

  .water-storage-page .detail-features .feature-item {
    margin-bottom: 20px;
    padding: 12px 15px;
    gap: 12px;
  }

  .water-storage-page .detail-features .feature-item i {
    font-size: 1.3rem;
  }

  .water-storage-page .detail-features .feature-text h4 {
    font-size: 1rem;
    margin-bottom: 6px;
  }

  .water-storage-page .detail-features .feature-text p {
    font-size: 0.85rem;
  }

  .water-storage-page .detail-tips {
    padding: 20px;
  }

  .water-storage-page .detail-tips h4 {
    font-size: 1.1rem;
    margin-bottom: 12px;
  }

  .water-storage-page .detail-tips li {
    font-size: 0.9rem;
    margin-bottom: 8px;
  }

  .water-storage-page .detail-img {
    height: 250px;
    border-radius: 12px;
  }
}

/* Amazonアフィリエイト商品推薦エリア */
.water-storage-page .affiliate-products {
  margin-top: 40px;
  padding: 30px;
  background: #fff;
  border-radius: 15px;
  border: 2px solid #f39c12;
  position: relative;
}

.water-storage-page .detail-section:nth-child(even) .affiliate-products {
  background: #f8f9fa;
}

.water-storage-page .affiliate-products::before {
  content: 'PR';
  position: absolute;
  top: -8px;
  right: 20px;
  background: #f39c12;
  color: white;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 0.7rem;
  font-weight: 600;
}

.water-storage-page .affiliate-products h4 {
  font-size: 1.4rem;
  margin-bottom: 25px;
  color: var(--secondary-color);
  display: flex;
  align-items: center;
  gap: 10px;
}

.water-storage-page .affiliate-products h4::before {
  content: '🛒';
  font-size: 1.2rem;
}

.water-storage-page .affiliate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.water-storage-page .affiliate-item {
  display: flex;
  gap: 15px;
  padding: 20px;
  background: white;
  border-radius: 12px;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.water-storage-page .detail-section:nth-child(even) .affiliate-item {
  background: #fafafa;
}

.water-storage-page .affiliate-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  border-color: #f39c12;
}

.water-storage-page .affiliate-image {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
}

.water-storage-page .affiliate-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

.water-storage-page .affiliate-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.water-storage-page .affiliate-info h5 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--secondary-color);
  font-weight: 600;
  line-height: 1.3;
}

.water-storage-page .affiliate-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: #f39c12;
  margin-bottom: 8px;
}

.water-storage-page .affiliate-desc {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.4;
  margin-bottom: 15px;
  flex: 1;
}

.water-storage-page .affiliate-btn {
  background: #ff9900;
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.water-storage-page .affiliate-btn:hover {
  background: #e68900;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 153, 0, 0.3);
  color: white;
  text-decoration: none;
}

.water-storage-page .affiliate-btn i {
  font-size: 0.9rem;
}

/* アフィリエイトエリアのレスポンシブ対応 */
@media (max-width: 768px) {
  .water-storage-page .affiliate-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .water-storage-page .affiliate-products {
    padding: 20px;
    margin-top: 30px;
  }

  .water-storage-page .affiliate-products h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
  }

  .water-storage-page .affiliate-item {
    padding: 15px;
    gap: 12px;
  }

  .water-storage-page .affiliate-image {
    width: 70px;
    height: 70px;
  }

  .water-storage-page .affiliate-info h5 {
    font-size: 0.95rem;
  }

  .water-storage-page .affiliate-price {
    font-size: 1.1rem;
  }

  .water-storage-page .affiliate-desc {
    font-size: 0.8rem;
    margin-bottom: 12px;
  }

  .water-storage-page .affiliate-btn {
    padding: 6px 12px;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .water-storage-page .affiliate-products {
    padding: 15px;
    margin-top: 25px;
  }

  .water-storage-page .affiliate-products h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
  }

  .water-storage-page .affiliate-item {
    flex-direction: column;
    text-align: center;
    padding: 12px;
  }

  .water-storage-page .affiliate-image {
    align-self: center;
    width: 60px;
    height: 60px;
  }

  .water-storage-page .affiliate-info h5 {
    font-size: 0.9rem;
    margin-bottom: 6px;
  }

  .water-storage-page .affiliate-price {
    font-size: 1rem;
    margin-bottom: 6px;
  }

  .water-storage-page .affiliate-desc {
    font-size: 0.75rem;
    margin-bottom: 10px;
  }

  .water-storage-page .affiliate-btn {
    align-self: center;
    padding: 6px 10px;
    font-size: 0.8rem;
  }
} 