@charset "UTF-8";

/* ════════════════════════════════════════
   greeting.css — 役員の挨拶ページ専用スタイル
════════════════════════════════════════ */

/* ページ全体 */
.page-greeting {
  background: #fff;
  color: var(--color-text);
}

.page-greeting main {
  padding: 88px 0 96px;
}

.page-greeting main .container {
  max-width: 900px;
}

/* ════ ページヒーロー ════ */
.greeting-hero {
  position: relative;
  width: 100%;
  max-width: 1920px;
  margin-left: auto;
  margin-right: auto;
  height: 320px;
  overflow: hidden;
}

.greeting-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
  filter: brightness(0.55);
}

@media (max-width: 768px) {
  .greeting-hero {
    height: 220px;
  }
}

@media (max-width: 480px) {
  .greeting-hero {
    height: 52vw;
  }
}

/* ════ ページタイトル ════ */
.greeting-page-title {
  padding: 52px 0 48px;
  text-align: center;
}

.greeting-page-title img {
  margin: 0 auto;
}

/* ════ 雪の結晶区切り ════ */
.section-divider {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 0 36px;
  margin: 0 auto;
}

.section-divider img {
  width: 228px;
}

.section-divider::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: #b5b5b5;
}

/* ════ 挨拶カード ════ */
.greeting-card {
  padding: 36px 0 36px;
  margin-bottom: 90px;
}
.greeting-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: #b5b5b5;
}

.greeting-card-inner {
  display: grid;
  grid-template-columns: 48% minmax(0, 1fr);
  gap: 10px;
  align-items: flex-start;
}

.greeting-photo-wrap {
  width: 100%;
}

.greeting-photo-wrap img {
  display: block;
  width: 55%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #d9dddd;
}

.greeting-text-wrap {
  min-width: 0;
  width: 100%;
  max-width: 100%;
}

.greeting-role {
  margin-top: 18px;
  margin-bottom: 2px;
  color: #111;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.greeting-name {
  margin-bottom: 22px;
  color: #111;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.greeting-bio {
  color: #111;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
  letter-spacing: 0em;
  margin-bottom: 16px;
}
.greeting-award {
  color: #111;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
  letter-spacing: 0em;
}

.greeting-message-title {
  margin-bottom: 6px;
  color: #111;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0em;
}

.greeting-message {
  width: 100%;
  color: #111;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0em;
  overflow-wrap: anywhere;
  word-break: normal;
  text-align: justify;
}

.greeting-message + .greeting-message {
  margin-top: 1em;
}

@media (max-width: 640px) {
  .page-greeting main {
    padding: 40px 0 72px;
  }

  .page-greeting main .container {
    max-width: 100%;
    padding-left: 22px;
    padding-right: 22px;
  }

  .section-divider {
    padding-bottom: 18px;
  }

  .section-divider img {
    width: 148px;
    max-width: 50%;
  }

  .greeting-card {
    padding: 24px 0 24px;
  }

  .greeting-card-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .greeting-photo-wrap {
    width: 100%;
    min-width: 0;
  }

  .greeting-photo-wrap > img {
    width: min(168px, 52vw);
  }

  .greeting-profile {
    margin-top: 18px;
  }

  .greeting-role {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.7;
  }

  .greeting-name {
    margin-bottom: 14px;
    font-size: 18px;
  }

  .greeting-bio {
    font-size: 15px;
    line-height: 1.75;
  }
  .greeting-award {
    font-size: 15px;
    line-height: 1.75;
  }

  .greeting-message-title {
    margin-bottom: 14px;
    font-size: 18px;
    line-height: 1.55;
  }

  .greeting-message {
    font-size: 15px;
    line-height: 1.95;
  }

  .greeting-text-wrap,
  .greeting-profile,
  .greeting-bio,
  .greeting-award,
  .greeting-message-title,
  .greeting-message {
    max-width: 100%;
    overflow-wrap: anywhere;
  }
}
