/* Company Info Page Styles */

/* ========================================
   Hero Section
   ======================================== */
.company-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 1503 / 401;
  background-image: url('../img/company/hero.jpg');
  background-size: cover;
  background-position: center;
  overflow: visible; /* 縦線がはみ出せるように */
}

/* Vertical Line - starts below title, extends below hero */
.company-hero-line {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: calc(50% + 70px); /* タイトル下端より下から開始 */
  bottom: -98px; /* ヒーロー下端から98px下まで */
  width: 1px;
  background-color: var(--color-text);
}

.company-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.30);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.company-hero-title {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 400;
  letter-spacing: 3px;
  line-height: 54px;
  color: #fff;
  margin-bottom: 10px;
}

.company-hero-subtitle {
  font-family: var(--font-serif-jp);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 1.35px;
  line-height: 22px;
  color: #fff;
}

/* ========================================
   Vision Section
   ======================================== */
.company-vision {
  background-color: #fff;
  padding: 128px 40px 80px; /* 縦線(98px) + 余白(30px) = 128px */
  text-align: center;
}

.company-vision-title {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 400;
  letter-spacing: 3px;
  line-height: 50px;
  margin-bottom: 20px;
}

.company-vision-subtitle {
  font-family: var(--font-serif-jp);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 1.35px;
  line-height: 22px;
  margin-bottom: 60px;
}

.company-vision-content {
  max-width: 800px;
  margin: 0 auto;
}

.company-vision-catchphrase {
  font-family: var(--font-serif-jp);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 1.8px;
  line-height: 46px;
  margin-bottom: 50px;
}

.company-vision-text {
  text-align: center;
}

.company-vision-text p {
  font-family: var(--font-serif-jp);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 1.2px;
  line-height: 29px;
  margin-bottom: 24px;
}

.company-vision-text p:last-child {
  margin-bottom: 0;
}

.pc-only {
  display: inline;
}

.sp-only {
  display: none;
}

/* ========================================
   Images Section
   ======================================== */
.company-images {
  display: grid;
  grid-template-columns: 667fr 398fr;
  gap: 35px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px 50px;
}

.company-image-item img {
  width: 100%;
  height: 506px;
  object-fit: cover;
}

/* ========================================
   Company Info Section
   ======================================== */
.company-info {
  background-color: #fff;
  padding: 50px 40px 80px;
  max-width: 900px;
  margin: 0 auto;
}

.company-info-title {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 400;
  letter-spacing: 3px;
  line-height: 50px;
  text-align: center;
  margin-bottom: 12px;
}

.company-info-subtitle {
  font-family: var(--font-serif-jp);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 1.35px;
  line-height: 22px;
  text-align: center;
  margin-bottom: 50px;
}

.company-info-table {
  border-top: 1px solid #ddd;
}

.company-info-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  border-bottom: 1px solid #ddd;
  padding: 28px 20px;
}

.company-info-label {
  font-family: var(--font-sans-jp);
  font-size: 14px;
  font-weight: 400;
  line-height: 36.5px;
  color: var(--color-text);
}

.company-info-value {
  font-family: var(--font-sans-jp);
  font-size: 14px;
  font-weight: 400;
  line-height: 28px;
  color: var(--color-text);
}

/* ========================================
   Map Section
   ======================================== */
.company-map {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px 80px;
}

.company-map iframe {
  width: 100%;
  aspect-ratio: 1100 / 506;
}

/* ========================================
   Responsive - Tablet (max-width: 1024px)
   ======================================== */
@media (max-width: 1024px) {
  .company-hero-title {
    font-size: 40px;
  }

  .company-vision-catchphrase {
    font-size: 24px;
  }

  .company-images {
    gap: 20px;
    padding: 0 30px 80px;
  }

}

/* ========================================
   Responsive - Mobile (max-width: 768px)
   ======================================== */
@media (max-width: 768px) {
  .company-hero {
    aspect-ratio: 377 / 217;
  }

  .company-hero-line {
    top: calc(50% + 50px); /* SP: タイトル下端より下から開始 */
    bottom: -54px; /* SP: ヒーロー下端から54px下まで */
  }

  .company-hero-title {
    font-size: 32px;
    letter-spacing: 2.4px;
  }

  .company-hero-subtitle {
    font-size: 14px;
    letter-spacing: 1.05px;
    line-height: 19px;
  }

  .company-vision {
    padding: 79px 24px 60px; /* 縦線(54px) + 余白(25px) = 79px */
  }

  .company-vision-title {
    font-size: 32px;
    letter-spacing: 2.4px;
    line-height: 50px;
  }

  .company-vision-subtitle {
    font-size: 14px;
    letter-spacing: 1.05px;
    margin-bottom: 40px;
  }

  .company-vision-catchphrase {
    font-size: 20px;
    letter-spacing: 1.5px;
    line-height: 35px;
    margin-bottom: 40px;
  }

  .company-vision-text {
    text-align: left;
  }

  .company-vision-text p {
    font-size: 15px;
    letter-spacing: 1.125px;
    line-height: 28px;
  }

  .pc-only {
    display: none;
  }

  .sp-only {
    display: inline;
  }

  .company-images {
    grid-template-columns: 203fr 121fr;
    gap: 10px;
    padding: 0 20px 30px;
  }

  .company-image-item img {
    height: 154px;
  }

  .company-info {
    padding: 30px 20px 60px;
  }

  .company-info-title {
    font-size: 32px;
    letter-spacing: 2.4px;
    line-height: 50px;
  }

  .company-info-subtitle {
    font-size: 14px;
    letter-spacing: 1.05px;
    margin-bottom: 40px;
  }

  .company-info-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 20px 0 20px 20px;
  }

  .company-info-label {
    font-size: 14px;
    color: var(--color-text-light);
  }

  .company-info-value {
    font-size: 14px;
  }

  .company-map {
    padding: 0 20px 60px;
  }

  .company-map iframe {
    aspect-ratio: 334 / 187;
  }
}

/* ========================================
   Responsive - Small Mobile (max-width: 480px)
   Figma SP design is 375px - 768px values are correct
   ======================================== */
