/* ============================================
   Hero Section
   ============================================ */
.hero-section {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  object-position: center;
}

/* ============================================
   NEWS Section
   ============================================ */
.news-section {
  background-color: var(--wedo-gray-bg);
  padding: 3rem 1rem;
  position: relative;
}

.news-container {
  max-width: 1100px;
  margin: 0 auto;
}

.news-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.25rem 0;
}

.news-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--wedo-border-gray);
  border: 1px solid var(--wedo-black);
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--wedo-black);
  padding: 0.5rem 2rem;
  font-family: 'Roboto', sans-serif;
  min-width: 160px;
  width: fit-content;
}

.news-date {
  font-size: 18px;
  color: var(--wedo-black);
  font-family: 'Roboto', sans-serif;
  min-width: 140px;
}

.news-title {
  font-size: 18px;
  color: var(--wedo-black);
  line-height: 1.8;
  font-family: 'Roboto', 'Noto Sans JP', sans-serif;
}

.news-divider {
  width: 100%;
  height: 1px;
  background-color: var(--wedo-black);
}

.news-link {
  position: absolute;
  bottom: 1rem;
  right: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 14px;
  color: var(--wedo-black);
  transition: color 0.3s ease;
}

.news-link:hover {
  color: var(--wedo-vibrant-blue);
}

.news-arrow {
  width: 37px;
  height: 7px;
  flex-shrink: 0;
  stroke: currentColor;
}

.news-link:hover .news-arrow {
  opacity: 0.7;
}

/* ============================================
   Navigation Sections
   ============================================ */
.nav-sections {
  padding: 4rem 0;
  background-color: #ffffff;
}

.nav-sections-container {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 5rem;
}

.section-card:last-child {
  margin-bottom: 0;
}

.section-text h2 {
  font-size: 36px;
  margin-bottom: 0.75rem;
  line-height: 1.3;
  font-weight: 700;
  font-family: 'M PLUS 1p', 'Noto Sans JP', sans-serif;
}

.section-subtitle {
  font-size: 18px;
  color: #718096;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.section-description {
  font-size: 16px;
  color: #718096;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.section-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.5rem;
  background-color: #ffffff;
  border: 2px solid var(--wedo-vibrant-blue);
  color: var(--wedo-vibrant-blue);
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.section-btn:hover {
  background-color: var(--wedo-vibrant-blue);
  color: #ffffff;
}

.section-image {
  /* background-color: #e2e8f0; */
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a0aec0;
  height: 320px;
  font-size: 16px;
}

.section-image picture img{
  border: solid 1px #000000;
}
/* ============================================
   CTA Section
   ============================================ */
.cta-section {
  background-color: var(--wedo-gray-bg);
  padding: 3.5rem 1rem;
}

.cta-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  position: relative;
}

.cta-block {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.cta-label {
  font-size: 16px;
  color: var(--wedo-black);
  margin-bottom: 1.25rem;
  font-family: 'Roboto', 'Noto Sans JP', sans-serif;
}

.cta-link {
  font-size: 16px;
  color: var(--wedo-black);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: opacity 0.3s ease;
  font-family: 'Roboto', 'Noto Sans JP', sans-serif;
  line-height: 1.8;
}

.cta-link:hover {
  opacity: 0.7;
}

.cta-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  background-color: var(--wedo-vibrant-blue);
  color: #ffffff;
  font-size: 16px;
  border-radius: 9999px;
  transition: background-color 0.3s ease;
  font-family: 'Roboto', 'Noto Sans JP', sans-serif;
}

.cta-contact-btn:hover {
  background-color: var(--wedo-deep-blue);
}

.cta-divider-vertical {
  display: none;
  width: 1px;
  background-color: var(--wedo-black);
  align-self: stretch;
  min-height: 100px;
}

.cta-divider-horizontal {
  display: none;
  width: 100%;
  height: 1px;
  background-color: var(--wedo-black);
}

/* ============================================
   Responsive Design - Mobile First
   ============================================ */

/* Tablet & Desktop (768px and up) */
@media (min-width: 768px) {
  .news-section {
    padding: 3rem 1.5rem;
  }

  .news-row {
    flex-direction: row;
    align-items: center;
    gap: 0;
  }

  .news-date {
    font-size: 20px;
    margin-left: 4rem;
  }

  .news-title {
    font-size: 20px;
    flex: 1;
    margin-left: 4rem;
  }

  .news-link {
    right: 2rem;
  }

  .section-card {
    grid-template-columns: 1fr 1fr;
  }

  .section-text h2 {
    font-size: 42px;
  }

  .cta-container {
    flex-direction: row;
    gap: 0;
  }

  .cta-block {
    width: 50%;
  }

  .cta-divider-vertical {
    display: block;
  }

  .cta-divider-horizontal {
    display: none;
  }
}

/* Desktop (1024px and up) */
@media (min-width: 1024px) {
  .news-section {
    padding: 3rem 2rem;
  }

  .news-link {
    right: 2.5rem;
  }

  .nav-sections {
    padding: 4rem 2rem;
  }
}

/* Extra Small Screens (320px - iPhone SE) */
@media (max-width: 374px) {
  .hero-image {
    object-position: center;
    min-height: 300px;
  }

  .news-badge {
    font-size: 12px;
    padding: 0.4rem 1.5rem;
    min-width: 120px;
  }

  .news-date {
    font-size: 16px;
    min-width: 110px;
  }

  .news-title {
    font-size: 16px;
    line-height: 1.6;
  }

  .news-link {
    font-size: 12px;
    right: 1rem;
    bottom: 0.75rem;
  }

  .section-text h2 {
    font-size: 28px;
  }

  .section-subtitle {
    font-size: 16px;
  }

  .section-description {
    font-size: 14px;
  }

  .section-image {
    height: auto;
    /* height: 240px; */
  }

  .cta-label {
    font-size: 14px;
  }

  .cta-link {
    font-size: 14px;
  }

  .cta-contact-btn {
    font-size: 14px;
    padding: 0.65rem 1.5rem;
  }
}

/* Small Screens (375px - 440px) */
@media (min-width: 375px) and (max-width: 440px) {
  .hero-image {
    object-position: center;
  }
}

/* Medium+ Screens (441px and up - iPhone 16 Pro Max) */
@media (min-width: 441px) {
  .hero-image {
    object-position: center;
  }
}

/* Very Large Screens */
@media (min-width: 1440px) {
  .hero-image {
  }
}


@media (max-width: 640px) {
  .section-image {
    height: auto;
  }
}

