/**
 * File Name: service-shareholders.css
 * 2026-07-03 | Final Check
 */

/* ==============================================================================
 * SHAREHOLDERS SECTION (主要株主)
 * ============================================================================== */
.p-shareholders-section {
  width: 100%;
  padding: 50px 20px 70px 20px;
  background-color: #eeeeee;
  box-sizing: border-box;
  font-family: "Helvetica Neue", Arial, "BIZ UDPGothic", "Meiryo", sans-serif;
}

.p-shareholders-section *,
.p-shareholders-section *::before,
.p-shareholders-section *::after {
  box-sizing: border-box;
}

.p-shareholders-section__container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.p-shareholders-section__main-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #333333;
  text-align: center;
  margin: 0 0 45px 0;
  padding-bottom: 12px;
  position: relative;
  letter-spacing: 0.05em;
}

.p-shareholders-section__main-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background-color: #00b386;
}

.p-shareholders-section__list {
  display: flex;
  flex-direction: column;
  gap: 45px;
  width: 100%;
}

.p-shareholders-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.p-shareholders-card__logo-wrap {
  width: 100%;
  max-width: 240px;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 12px;
}

.p-shareholders-card__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.p-shareholders-card__name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1e50a2;
  margin: 0 0 12px 0;
  line-height: 1.4;
}

.p-shareholders-card__desc {
  font-size: 0.85rem;
  color: #333333;
  line-height: 1.65;
  margin: 0;
  text-align: justify;
}

/* ==============================================================================
 * MEDIA QUERIES
 * ============================================================================== */

/* スマホ横向き（低画面高） */
@media screen and (max-height: 500px) and (orientation: landscape) {
  .p-shareholders-section {
    padding: 30px 20px 40px 20px;
  }
  .p-shareholders-section__main-title {
    margin-bottom: 25px;
  }
  .p-shareholders-section__list {
    flex-direction: row;
    align-items: flex-start;
    gap: 30px;
  }
  .p-shareholders-card {
    flex: 1;
  }
  .p-shareholders-card__logo-wrap {
    height: 60px;
  }
}

/* タブレット・標準PCサイズ */
@media screen and (min-width: 768px) and (min-height: 501px) {
  .p-shareholders-section {
    padding: 60px 40px 90px 40px;
  }
  .p-shareholders-section__main-title {
    font-size: 1.55rem;
    margin-bottom: 55px;
  }
  .p-shareholders-section__list {
    flex-direction: row;
    align-items: flex-start;
    gap: 60px;
  }
  .p-shareholders-card {
    flex: 1;
  }
  .p-shareholders-card__logo-wrap {
    margin-bottom: 16px;
    height: 80px;
  }
  .p-shareholders-card__name {
    font-size: 1rem;
    margin-bottom: 14px;
  }
  .p-shareholders-card__desc {
    font-size: 0.9rem;
  }
}

/* 大型デスクトップサイズ */
@media screen and (min-width: 1024px) and (min-height: 501px) {
  .p-shareholders-section {
    padding: 70px 40px 100px 40px;
  }
}
