/* ===========================================
   page-profile about-imgs
   =========================================== */

.page-profile .page-contents {
  display: flex;
  flex-direction: column;
  gap: var(--gap-lg, 20px);
}

.page-profile .about-imgs {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
}

.page-profile .about-imgs .img {
  width: 300px;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  flex: 0 1 300px;
}

@media (min-width: 890px) {
  .page-profile .page-contents {
    flex-direction: row;
    align-items: flex-start;
    gap: var(--gap-lg, 20px);
  }

  .page-profile .table {
    flex: 1;
    max-width: calc(100% - 320px);
  }

  .page-profile .about-imgs {
    flex-direction: column;
    flex-wrap: nowrap;
    flex-shrink: 0;
    width: 300px;
    align-self: flex-start;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .page-profile .about-imgs .img {
    width: 300px;
    max-width: 300px;
    flex: 0 0 auto;
  }
}
/* ===========================================
   page-greeting
   =========================================== */
.page-greeting .greeting-text {
  color: var(--text-strong-color);
  font-size: 16px;
  line-height: 1.6;
}

.page-greeting .greeting-text::after {
  content: '';
  display: table;
  clear: both;
}

.page-greeting .greeting-photo {
  width: 100%;
  max-width: 342px;
  margin: 0 auto 32px;
}

.page-greeting .greeting-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.page-greeting .greeting-text p {
  margin: 0;
}

.page-greeting .greeting-text p + p {
  margin-top: 1.6em;
}

.page-greeting .greeting-name {
  text-align: right;
  margin-top: 2em;
  font-size: 16px;
  line-height: 1.6;
  clear: both;
}

.page-greeting .greeting-name span {
  margin-left: 1em;
  font-size: 22px;
  font-weight: var(--weight-bold);
}

@media (min-width: 768px) {
  .page-greeting .greeting-photo {
    float: right;
    width: 280px;
    max-width: none;
    margin: 0 0 32px 32px;
  }
}

@media (min-width: 890px) {
  .page-greeting .greeting-photo {
    width: 342px;
  }
}

/* ===========================================
   page-staff
   =========================================== */
.page-staff .staff-card {
  flex-direction: column;
  gap: 40px;
  display: flex;
}

.page-staff .staff-profile {
  flex-direction: column;
  align-items: center;
  gap: 32px;
  display: flex;
}

.page-staff .staff-photo {
  aspect-ratio: 1;
  flex-shrink: 0;
  width: 100%;
  max-width: 342px;
  overflow: hidden;
}

.page-staff .staff-photo img {
  object-fit: cover;
  object-position: center top;
  width: 100%;
  height: 100%;
  display: block;
}

.page-staff .staff-summary {
  flex-direction: column;
  gap: 32px;
  width: 100%;
  display: flex;
}

.page-staff .staff-role {
  color: var(--text-strong-color);
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}

.page-staff .staff-name {
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 17px;
  margin: 7px 0 0;
  display: flex;
}

.page-staff .staff-name-ja {
  font-size: 22px;
  font-weight: var(--weight-bold);
  color: var(--text-strong-color);
  line-height: 1.4;
}

.page-staff .staff-name-en {
  color: #525252;
  letter-spacing: 0.04em;
  font-size: 14px;
  line-height: 1.4;
}

.page-staff .staff-meta-list {
  flex-direction: column;
  gap: 16px;
  margin: 0;
  display: flex;
}

.page-staff .staff-meta-item {
  background-color: #f6f6f6;
  margin: 0;
  padding: 16px;
}

.page-staff .staff-meta-item .staff-meta-label {
  font-size: 15px;
  font-weight: var(--weight-bold);
  color: var(--text-strong-color);
  margin: 0 0 9px;
  line-height: 1.5;
}

.page-staff .staff-meta-item .staff-meta-value {
  color: var(--text-strong-color);
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
}

.page-staff .staff-stories {
  flex-direction: column;
  gap: 28px;
  margin: 0;
  display: flex;
}

.page-staff .staff-story {
  margin: 0;
}

.page-staff .staff-story-title {
  font-size: 17px;
  font-weight: var(--weight-bold);
  color: #000;
  margin: 0 0 12px;
  line-height: 1.5;
}

.page-staff .staff-story-text {
  color: var(--text-strong-color);
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}

.page-staff .staff-story-text + .staff-story-text {
  margin-top: 0;
}

@media (min-width: 768px) {
  .page-staff .staff-profile {
    flex-direction: row;
    align-items: center;
  }

  .page-staff .staff-photo {
    width: 280px;
    max-width: none;
  }

  .page-staff .staff-summary {
    flex: 1;
    min-width: 0;
  }
}

@media (min-width: 890px) {
  .page-staff .staff-photo {
    width: 342px;
  }
}
