/* =====================================================
  Greeting Hero
===================================================== */
.greeting-hero {
  position: relative;
  padding: 170px 0 120px;
  overflow: hidden;
}

/* Background */
.greeting-hero-bg,
.greeting-hero-bg picture,
.greeting-hero-bg img {
  position: absolute;
  inset: 0;
}

.greeting-hero-bg {
  z-index: 0;
}

.greeting-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* Overlay */
.greeting-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;

  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,0.92) 0%,
      rgba(255,255,255,0.82) 42%,
      rgba(243,247,255,0.88) 100%
    );
}

/* Inner */
.greeting-hero-inner {
  position: relative;
  z-index: 2;

  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

/* Copy */
.greeting-hero-copy {
  max-width: 720px;
}

.greeting-hero-label {
  margin: 0 0 14px;

  color: #005eea;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.24em;
}

.greeting-hero-title {
  margin: 0;

  color: #3e302b;
  font-size: 48px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.5;
}

.greeting-hero-title::after {
  content: "";
  display: block;

  width: 58px;
  height: 2px;

  margin: 24px 0 0;

  background: #005eea;
}

.greeting-hero-lead {
  margin: 34px 0 0;

  color: #5b514d;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 2.1;
}

/* =====================================================
  Sticky Navigation
===================================================== */
.page-sticky-nav {
  position: sticky;
  top: 0;
  z-index: 1050;

  width: min(920px, calc(100% - 380px));
  height: 86px;

  margin-top: -34px;
  margin-right: auto;
  margin-left: calc(
    300px + (
      (
        100% - 300px - min(920px, calc(100% - 380px))
      ) / 2
    )
  );

  display: grid;
  grid-template-columns: repeat(6, 1fr);

  background: #fff;

  box-shadow:
    0 10px 32px rgba(0, 0, 0, 0.08);
}

.page-sticky-nav__item {
  position: relative;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;

  min-width: 0;
  padding: 10px 8px;

  color: #5b514d;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-align: center;
  text-decoration: none;

  transition: 0.25s ease;
}

.page-sticky-nav__item:not(:first-child)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22%;

  width: 1px;
  height: 56%;

  background: rgba(0, 0, 0, 0.06);
}

.page-sticky-nav__item img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.page-sticky-nav__item span {
  line-height: 1.4;
}

.page-sticky-nav__item:hover,
.page-sticky-nav__item.is-active {
  color: #005eea;
  background: #f3f7ff;
}

/* =====================================================
  Greeting Section
===================================================== */
.greeting-section {
  position: relative;
  padding: 110px 0 120px;
  background: #fff;
}

.greeting-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.greeting-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 70px;
  align-items: start;
}

/* Profile */
.greeting-profile {
  position: sticky;
  top: 110px;

  overflow: hidden;

  background: rgba(255,255,255,0.96);

  border: 1px solid rgba(0,94,234,0.12);
  border-radius: 30px;

  box-shadow:
    0 18px 40px rgba(0,42,102,0.08),
    0 2px 8px rgba(0,42,102,0.04);
}

.greeting-profile-image {
  position: relative;
  margin: 0;
  overflow: hidden;
}

.greeting-profile-image::before {
  content: "";
  display: block;
  padding-top: 118%;
}

.greeting-profile-image img {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;
  object-fit: cover;
}

.greeting-profile-body {
  padding: 34px 30px 36px;
}

.greeting-profile-position {
  margin: 0 0 10px;

  color: #005eea;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.greeting-profile-name {
  margin: 0;

  color: #3e302b;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.greeting-profile-name::after {
  content: "";
  display: block;

  width: 44px;
  height: 2px;

  margin: 22px 0 0;

  background: #005eea;
}

/* Focus */
.greeting-focus {
  margin-top: 30px;
}

.greeting-focus-title {
  margin: 0 0 14px;

  color: #5b514d;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.greeting-focus-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.greeting-focus-tags span {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 34px;
  padding: 7px 14px;

  color: #005eea;
  background: #fff;

  border: 1px solid rgba(0,94,234,0.24);
  border-radius: 999px;

  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

/* Content */
.greeting-content {
  display: grid;
  gap: 36px;
}

.greeting-message,
.greeting-career {
  padding: 48px 52px;

  background: rgba(255,255,255,0.96);

  border: 1px solid rgba(0,94,234,0.12);
  border-radius: 30px;

  box-shadow:
    0 18px 40px rgba(0,42,102,0.08),
    0 2px 8px rgba(0,42,102,0.04);
}

.greeting-block-head {
  margin-bottom: 28px;
}

.greeting-block-label {
  margin: 0 0 8px;

  color: #005eea;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.greeting-block-title {
  margin: 0;

  color: #3e302b;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.greeting-block-title::after {
  content: "";
  display: block;

  width: 46px;
  height: 2px;

  margin: 18px 0 0;

  background: #005eea;
}

/* Message */
.greeting-message-text p {
  margin: 0;

  color: #4f4641;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 2.15;
}

.greeting-message-text p + p {
  margin-top: 20px;
}

/* Career */
.greeting-career-list {
  margin: 0;
}

.greeting-career-list div {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 26px;

  padding: 18px 0;

  border-bottom: 1px dotted rgba(62,48,43,0.28);
}

.greeting-career-list div:first-child {
  border-top: 1px dotted rgba(62,48,43,0.28);
}

.greeting-career-list dt {
  color: #005eea;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.greeting-career-list dd {
  margin: 0;

  color: #3e302b;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

/* =====================================================
  Responsive
===================================================== */
@media (max-width: 1199px) {
  .page-sticky-nav {
    width: calc(100% - 300px);
    height: auto;

    margin-top: -34px;
    margin-right: 20px;
    margin-left: 280px;

    grid-template-columns: repeat(3, 1fr);
  }

  .page-sticky-nav__item {
    min-height: 74px;
  }

  .greeting-layout {
    grid-template-columns: 1fr;
  }

  .greeting-profile {
    position: relative;
    top: auto;
  }
}

@media (max-width: 767px) {
  .greeting-hero {
    padding: 122px 0 82px;
    min-height: 62vh;
  }

  .greeting-hero-inner,
  .greeting-inner {
    width: min(100% - 32px, 560px);
  }

  .greeting-hero-label {
    font-size: 12px;
  }

  .greeting-hero-title {
    font-size: 31px;
  }

  .greeting-hero-lead {
    margin-top: 26px;

    font-size: 14px;
    line-height: 1.95;
  }

  .greeting-hero-lead br {
    display: none;
  }

  .page-sticky-nav {
    display: none;
  }

  .greeting-section {
    padding: 76px 0 84px;
  }

  .greeting-layout {
    gap: 42px;
  }

  .greeting-profile {
    border-radius: 24px;
  }

  .greeting-profile-image::before {
    padding-top: 76%;
  }

  .greeting-profile-body {
    padding: 30px 24px 32px;
  }

  .greeting-profile-name {
    font-size: 26px;
  }

  .greeting-message,
  .greeting-career {
    padding: 34px 24px;
    border-radius: 24px;
  }

  .greeting-block-title {
    font-size: 24px;
  }

  .greeting-message-text p {
    font-size: 14px;
    line-height: 2;
  }

  .greeting-career-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .greeting-career-list dt,
  .greeting-career-list dd {
    font-size: 14px;
  }
}