/* =========================================
   Profile Page – profile.css
   ========================================= */

/* Greeting Section */
.profile-greeting {
  padding: 80px 0;
}

.profile-greeting__heading {
  text-align: center;
  margin-bottom: 64px;
}

.profile-greeting__en {
  display: block;
  font-family: var(--ff-en);
  font-size: 14px;
  color: var(--c-blue);
  letter-spacing: 0.1em;
  margin-bottom: 0;
}

.profile-greeting__jp {
  font-family: var(--ff-serif);
  font-size: 32px;
  color: var(--c-text);
  line-height: 1.6;
}

.profile-greeting__content {
  display: flex;
  gap: 64px;
  align-items: flex-start;
}

.profile-greeting__img-wrap {
  width: 460px;
  flex-shrink: 0;
}

.profile-greeting__img-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.profile-img-placeholder {
  width: 100%;
  aspect-ratio: 460 / 540;
  background-color: #e2e8f0;
}

.profile-greeting__info {
  flex-grow: 1;
  padding-top: 16px;
}

.profile-greeting__sub {
  font-size: 20px;
  font-weight: 700;
  color: var(--c-blue);
  margin-bottom: 12px;
}

.profile-greeting__name {
  font-family: var(--ff-serif);
  font-size: 32px;
  color: var(--c-text);
  margin-bottom: 16px;
}

.profile-greeting__ruby {
  font-family: var(--ff-sans);
  font-size: 20px;
  font-weight: 400;
  color: #666;
  margin-left: 8px;
}

.profile-greeting__qualifications {
  font-size: 16px;
  line-height: 1.8;
  color: #333333;
  margin-bottom: 24px;
}

.profile-greeting__line {
  border: none;
  border-top: 1px solid #d0dde8;
  margin-bottom: 32px;
}

.profile-greeting__text p {
  font-size: 16px;
  line-height: 2;
  color: #333333;
  margin-bottom: 24px;
}

.profile-greeting__text p:last-child {
  margin-bottom: 0;
}


/* History Section */
.profile-history {
  padding: 80px 0;
  background-color: #F7FBFE;
}

.profile-history__heading {
  text-align: center;
  margin-bottom: 48px;
}

.profile-history__en {
  display: block;
  font-family: var(--ff-en);
  font-size: 14px;
  color: #333333;
  letter-spacing: 0.1em;
  margin-bottom: 0;
}

.profile-history__jp {
  font-family: var(--ff-serif);
  font-size: 32px;
  color: var(--c-blue);
  letter-spacing: 0.1em;
}

.profile-history__table-wrap {
  max-width: 780px;
  margin: 0 auto;
}

.profile-history__table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.profile-history__table th {
  width: 234px;
  font-family: var(--ff-sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--c-blue);
  padding: 24px 0;
  vertical-align: middle;
  text-align: center;
  border-bottom: 1px dashed #d0dde8;
}

.profile-history__table td {
  font-family: var(--ff-sans);
  font-size: 16px;
  line-height: 1.8;
  color: #666666;
  padding: 24px 0 24px 32px;
  vertical-align: middle;
  border-bottom: 1px dashed #d0dde8;
}

.profile-history__table tr:last-child th,
.profile-history__table tr:last-child td {
  border-bottom: none;
}


/* Philosophy Section */
.profile-philosophy {
  padding: 120px 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.profile-philosophy__text {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.profile-philosophy__text p {
  font-size: 16px;
  line-height: 2;
  color: var(--c-text);
  margin-bottom: 40px;
}

.profile-philosophy__text p:last-child {
  margin-bottom: 0;
}

/* =========================================
   Activities Section
   ========================================= */

.profile-activities {
  margin-top: 64px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.profile-activity-box {
  background: var(--c-light-blue);
  padding: 32px 40px;
  border-radius: 12px;
}

.profile-activity-box__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--c-blue);
  margin: 0 0 16px;
  border-bottom: 1px solid rgba(74, 127, 167, 0.2);
  padding-bottom: 12px;
}

.profile-activity-box__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.profile-activity-box__list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  line-height: 1.8;
  color: var(--c-muted);
}

.profile-activity-box__list li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: var(--c-blue);
}

.profile-activity-box__text {
  line-height: 1.8;
  margin: 0;
  color: var(--c-muted);
}


/* =========================================
   Responsive
   ========================================= */
.profile-sp-br {
  display: none;
}

@media (max-width: 767px) {
  .profile-sp-br {
    display: block;
  }

  .profile-greeting {
    padding: 60px 0;
  }

  .profile-greeting__heading {
    text-align: left;
    margin-bottom: 40px;
  }

  .profile-greeting__jp {
    font-size: 26px;
  }

  .profile-greeting__name {
    font-size: 26px;
  }

  .profile-greeting__ruby {
    font-size: 16px;
  }

  .profile-greeting__content {
    flex-direction: column;
    gap: 40px;
  }

  .profile-greeting__img-wrap {
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
  }

  .profile-greeting__info {
    padding-top: 0;
  }

  .profile-history {
    padding: 60px 0;
  }

  .profile-history__heading {
    margin-bottom: 24px;
  }

  .profile-history__jp {
    font-size: 26px;
  }

  .profile-history__table th,
  .profile-history__table td {
    display: block;
    width: 100%;
    padding: 16px 0;
  }
  
  .profile-history__table th {
    padding-bottom: 8px;
    border-bottom: none;
    text-align: left;
  }

  .profile-history__table td {
    padding-top: 0;
    padding-left: 0;
  }

  .profile-philosophy {
    padding: 80px 0;
  }

  .profile-philosophy__text {
    text-align: left;
  }

  .profile-philosophy__text p {
    margin-bottom: 32px;
  }

  .profile-activity-box {
    padding: 24px 0;
  }
  .profile-activity-box__title {
    font-size: 20px;
  }
  .profile-activity-box__list li,
  .profile-activity-box__text {
    font-size: 16px;
  }
}
