/* ========================================
   SUMUKA エリアページ専用CSS
   naha.html, urasoe.html など
   ======================================== */

/* コンテナ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ========================================
   ヒーローセクション
   ======================================== */
.area-hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.area-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #1a3a4a 0%, #2d5a6b 50%, #1a3a4a 100%);
  z-index: 1;
}

.area-hero-bg::after {
  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"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
  background-size: 50px 50px;
  opacity: 0.3;
}

.area-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
}

.area-hero-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  letter-spacing: 8px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 15px;
}

.area-hero-title {
  font-size: 48px;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.1em;
}

.area-hero-line {
  width: 60px;
  height: 2px;
  background: #E61E4D;
  margin: 0 auto 30px;
}

.area-hero-description {
  font-size: 16px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
}

.area-hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 600;
  color: #fff;
}

.stat-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 1px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.3);
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  letter-spacing: 2px;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  animation: scrollLine 1.5s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  50.1% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ========================================
   セクション共通
   ======================================== */
.section-title {
  font-size: 32px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 10px;
  color: #1a3a4a;
}

.section-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  text-align: center;
  color: #999;
  letter-spacing: 3px;
  margin-bottom: 50px;
}

/* ========================================
   エリア特徴セクション
   ======================================== */
.area-features {
  padding: 100px 0;
  background: #fff;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.feature-card {
  text-align: center;
  padding: 40px 25px;
  background: #f9f9f9;
  border-radius: 12px;
  transition: all 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 40px;
  margin-bottom: 20px;
}

.feature-title {
  font-size: 18px;
  font-weight: 600;
  color: #1a3a4a;
  margin-bottom: 15px;
}

.feature-description {
  font-size: 14px;
  line-height: 1.8;
  color: #666;
}

/* ========================================
   物件一覧セクション
   ======================================== */
.area-properties {
  padding: 100px 0;
  background: #f5f5f5;
}

.properties-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.property-card {
  display: block;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.property-image {
  position: relative;
  height: 220px;
  background: #ddd;
  overflow: hidden;
}

.property-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667 0%, #888 100%);
  color: #fff;
  font-size: 14px;
}

.property-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 6px 12px;
  background: #E61E4D;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
}

.property-info {
  padding: 25px;
}

.property-location {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: #888;
  margin-bottom: 10px;
}

.location-icon {
  font-size: 14px;
}

.property-name {
  font-size: 22px;
  font-weight: 600;
  color: #1a3a4a;
  margin-bottom: 12px;
}

.property-specs {
  display: flex;
  gap: 15px;
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
}

.property-price {
  margin-bottom: 15px;
}

.price-amount {
  font-size: 24px;
  font-weight: 700;
  color: #E61E4D;
}

.price-unit {
  font-size: 14px;
  color: #888;
}

.property-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feature-tag {
  padding: 5px 12px;
  background: #f0f0f0;
  border-radius: 20px;
  font-size: 12px;
  color: #666;
}

/* 単一物件用グリッド */
.properties-grid-single {
  max-width: 700px;
  margin: 0 auto;
}

.property-card-featured .property-info {
  padding: 30px;
}

.property-description {
  margin-top: 15px;
  font-size: 14px;
  line-height: 1.8;
  color: #666;
}

/* ========================================
   マップセクション
   ======================================== */
.area-map {
  padding: 100px 0;
  background: #fff;
}

.map-container {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.map-container iframe {
  display: block;
}

.map-legend {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #666;
}

.legend-icon {
  font-size: 20px;
}

/* ========================================
   CTAセクション
   ======================================== */
.area-cta {
  padding: 100px 0;
  background: linear-gradient(135deg, #1a3a4a 0%, #2d5a6b 100%);
  text-align: center;
  color: #fff;
}

.cta-title {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 20px;
}

.cta-description {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
}

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

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
}

.cta-btn-primary {
  background: #E61E4D;
  color: #fff;
}

.cta-btn-primary:hover {
  background: #D70466;
  transform: translateY(-2px);
}

.cta-btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.cta-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
}

.cta-note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

/* ========================================
   レスポンシブ
   ======================================== */
@media screen and (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
  
  .area-hero {
    min-height: 500px;
  }
  
  .area-hero-title {
    font-size: 36px;
  }
  
  .area-hero-description {
    font-size: 14px;
  }
  
  .area-hero-stats {
    gap: 20px;
  }
  
  .stat-number {
    font-size: 22px;
  }
  
  .section-title {
    font-size: 26px;
  }
  
  .area-features,
  .area-properties,
  .area-map,
  .area-cta {
    padding: 70px 0;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .feature-card {
    padding: 30px 20px;
  }
  
  .properties-grid {
    grid-template-columns: 1fr;
  }
  
  .property-image {
    height: 200px;
  }
  
  .map-legend {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .cta-title {
    font-size: 22px;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

@media screen and (max-width: 480px) {
  .area-hero-title {
    font-size: 28px;
  }
  
  .area-hero-stats {
    flex-direction: column;
    gap: 15px;
  }
  
  .stat-divider {
    width: 40px;
    height: 1px;
  }
  
  .property-info {
    padding: 20px;
  }
  
  .property-name {
    font-size: 20px;
  }
  
  .price-amount {
    font-size: 20px;
  }
}
