/* ============================================
   YANAGASE TECH INC. - Top Page Styles
   ============================================ */

/* --- Hero --- */
.hero {
  width: 100%;
  height: 60vh;
  min-height: 400px;
  overflow: hidden;
  position: relative;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- We are --- */
.we-are {
  padding: 80px 0;
}

.we-are .container {
  display: flex;
  gap: 60px;
}

.we-are .section-title {
  flex-shrink: 0;
  width: 140px;
}

.we-are-content {
  flex: 1;
}

.we-are-content h3 {
  font-family: var(--font-en);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0;
  margin-bottom: 12px;
  color: var(--color-heading);
}

.we-are-content h3:not(:first-child) {
  margin-top: 32px;
}

.we-are-content p {
  font-size: 14px;
  line-height: 2;
  color: var(--color-text);
}

/* --- Projects --- */
.projects {
  padding: 80px 0;
  background: var(--color-bg-light);
}

.projects .section-title {
  text-align: center;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.project-card {
  background: var(--color-bg);
}

.project-card-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #ddd;
  overflow: hidden;
}

.project-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-card-body {
  padding: 20px;
}

.project-card-body h3 {
  font-size: 16px;
  font-weight: 900;
  margin-bottom: 8px;
  line-height: 1.5;
  color: var(--color-heading);
}

.project-card-body p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--color-text-light);
}

/* --- News --- */
.news {
  padding: 80px 0;
}

.news .container {
  display: flex;
  gap: 60px;
}

.news-left {
  flex-shrink: 0;
  width: 140px;
}

.news-left .section-title {
  margin-bottom: 16px;
}

.news-more a {
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: 0;
  color: var(--color-text);
  text-decoration: underline;
  transition: opacity 0.3s;
}

.news-more a:hover {
  opacity: 0.6;
}

.news-content {
  flex: 1;
}

.news-list {
  border-top: 1px solid var(--color-border);
}

.news-item {
  border-bottom: 1px solid var(--color-border);
}

.news-item a {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  transition: opacity 0.3s;
}

.news-item a:hover {
  opacity: 0.7;
}

.news-item-thumb {
  width: 100px;
  height: 70px;
  flex-shrink: 0;
  background: #ddd;
  overflow: hidden;
}

.news-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-item-body {
  flex: 1;
  min-width: 0;
}

.news-item-title {
  font-size: 15px;
  font-weight: 900;
  line-height: 1.7;
  margin-bottom: 4px;
  color: var(--color-heading);
}

.news-item-caption {
  font-size: 13px;
  line-height: 1.6;
  color: var(--color-text-light);
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-item-date {
  font-family: var(--font-en);
  font-size: 13px;
  color: var(--color-text-light);
  letter-spacing: 0;
}

/* --- Team --- */
.team {
  padding: 80px 0;
  background: var(--color-bg-light);
}

.team .section-title {
  text-align: center;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  max-width: 720px;
  margin: 0 auto;
}

.team-member {
  text-align: center;
}

.team-member-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: #ddd;
  margin: 0 auto 20px;
  overflow: hidden;
}

.team-member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-member-name {
  font-size: 17px;
  font-weight: 900;
  margin-bottom: 4px;
  color: var(--color-heading);
}

.team-member-role {
  font-family: var(--font-en);
  font-size: 13px;
  color: var(--color-text-light);
  letter-spacing: 0;
  margin-bottom: 16px;
}

.team-member-bio {
  font-size: 13px;
  line-height: 1.9;
  text-align: left;
  color: var(--color-text);
}

/* --- Company --- */
.company {
  padding: 80px 0;
}

.company .container {
  display: flex;
  gap: 60px;
}

.company .section-title {
  flex-shrink: 0;
  width: 140px;
}

.company-content {
  flex: 1;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.company-table th,
.company-table td {
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
  text-align: left;
  line-height: 1.8;
}

.company-table th {
  width: 100px;
  font-weight: normal;
  color: var(--color-text-light);
}

.company-map {
  margin-top: 24px;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #eee;
  border-radius: 4px;
  overflow: hidden;
}

.company-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* --- Contact --- */
.contact {
  padding: 80px 0;
  background: var(--color-bg-light);
}

.contact .container {
  display: flex;
  gap: 60px;
}

.contact .section-title {
  flex-shrink: 0;
  width: 140px;
}

.contact-content {
  flex: 1;
}

.contact-email {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-email-icon {
  font-size: 18px;
}

.contact-email a {
  font-family: var(--font-en);
  font-size: 16px;
  letter-spacing: 0;
  transition: opacity 0.3s;
}

.contact-email a:hover {
  opacity: 0.6;
}

/* ============================================
   Responsive - Top Page
   ============================================ */
@media (max-width: 768px) {
  /* Hero */
  .hero {
    height: 50vh;
    min-height: 280px;
  }

  /* We are */
  .we-are .container {
    flex-direction: column;
    gap: 24px;
  }

  .we-are .section-title {
    width: auto;
  }

  /* Projects */
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* News */
  .news .container {
    flex-direction: column;
    gap: 24px;
  }

  .news-left {
    width: auto;
    display: flex;
    align-items: baseline;
    gap: 24px;
  }

  .news-left .section-title {
    margin-bottom: 0;
  }

  .news-item-thumb {
    width: 80px;
    height: 56px;
  }

  /* Team */
  .team-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Company */
  .company .container {
    flex-direction: column;
    gap: 24px;
  }

  .company .section-title {
    width: auto;
  }

  .company-table th {
    width: 80px;
  }

  /* Contact */
  .contact .container {
    flex-direction: column;
    gap: 24px;
  }

  .contact .section-title {
    width: auto;
  }
}
