.p-greeting {
  position: relative;
}

.p-greetingIntro {
  padding-top: 60px;
  padding-bottom: 96px;
}

.p-greetingIntro__inner {
  width: min(850px, 100% - 52px);
  margin-inline: auto;
}

.p-greetingIntro__section {
  margin-left: -13px;
}

.p-greetingIntro__section--narrow {
  width: 100%;
}

.p-greetingIntro__section--narrow .p-greetingIntro__body {
  padding-top: 0;
}

.p-greetingIntro__section + .p-greetingIntro__section {
  margin-top: 48px;
}

.p-greetingIntro__head {
  display: flex;
  align-items: center;
  gap: 22px;
  padding-bottom: 19px;
  border-bottom: 1px solid rgba(143, 143, 143, 0.32);
}

.p-greetingIntro__eyebrow {
  width: 10px;
  height: 38px;
  flex-shrink: 0;
  background: var(--color-mint-dark);
}

.p-greetingIntro__title {
  margin: 0;
}

.p-greetingIntro__body {
  padding-top: 45px;
}

.p-greetingIntro__body > * + * {
  margin-top: 24px;
}

.p-greetingIntro__photo {
  width: min(594px, 100%);
  aspect-ratio: 594/360;
  overflow: hidden;
  border-radius: 5px;
  margin-block: 66px;
  margin-inline: auto;
}

.p-greetingIntro__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-greetingIntro__link {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

.p-greetingIntro__link a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(267px, 100%);
  min-height: 46px;
  padding: 10px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--color-mint-dark);
  text-decoration: none;
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.p-greetingIntro__link a p {
  transition: color 0.3s ease;
}

.p-greetingIntro__note {
  width: min(820px, 100%);
  margin: 56px auto 0;
  padding: 28px 32px 28px 36px;
  border: 1px solid #fd8a71;
  background: var(--color-paper);
}

.p-greetingIntro__note p + p {
  margin-top: 2px;
}

.p-greetingIntro__note a {
  display: inline-block;
  margin-top: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: transform 0.3s ease, color 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .p-greetingIntro__link a:hover,
  .p-greetingIntro__link a:focus-visible {
    background: #ffffff;
    border-color: var(--color-mint-dark);
    transform: scale(1.05);
  }
  .p-greetingIntro__link a:hover p,
  .p-greetingIntro__link a:focus-visible p {
    color: var(--color-mint-dark);
  }
  .p-greetingIntro__note a:hover,
  .p-greetingIntro__note a:focus-visible {
    transform: scale(1.05);
  }
}
@media (prefers-reduced-motion: reduce) {
  .p-greetingIntro__link a,
  .p-greetingIntro__note a {
    transition-duration: 0.01ms;
  }
  .p-greetingIntro__link a:hover,
  .p-greetingIntro__link a:focus-visible,
  .p-greetingIntro__note a:hover,
  .p-greetingIntro__note a:focus-visible {
    transform: none;
  }
}
.p-greetingCareer {
  box-sizing: border-box;
  min-height: 588px;
  padding-top: 40px;
  padding-bottom: 40px;
  background: #8f8f8f;
}

.p-greetingCareer__inner {
  width: min(1088px, 100% - 52px);
  margin-inline: auto;
}

.p-greetingCareer__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.p-greetingCareer__eyebrow {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border-radius: 4px;
  background: #82b8a8;
}

.p-greetingCareer__title {
  margin: 0;
}

.p-greetingCareer__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: min(854px, 100%);
}

.p-greetingCareer__row {
  display: grid;
  grid-template-columns: minmax(0, 543px) minmax(0, 303px);
  align-items: stretch;
  column-gap: 8px;
}

.p-greetingCareer__label {
  display: flex;
  align-items: center;
  min-height: 50px;
  padding: 8px 48px;
  background: rgba(131, 131, 131, 0.72);
}

.p-greetingCareer__value {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.92);
  text-align: center;
}

@media screen and (min-width: 1367px) {
  .p-greetingIntro {
    padding-top: clamp(60px, 60px + (100vw - 1366px) * 0.0359, 72px);
    padding-bottom: clamp(96px, 96px + (100vw - 1366px) * 0.0479, 112px);
  }
  .p-greetingIntro__inner {
    width: min(clamp(850px, 850px + (100vw - 1366px) * 0.2994, 950px), 100% - 52px);
  }
  .p-greetingIntro__body {
    padding-top: clamp(45px, 45px + (100vw - 1366px) * 0.0269, 54px);
  }
  .p-greetingIntro__body > * + * {
    margin-top: clamp(24px, 24px + (100vw - 1366px) * 0.012, 28px);
  }
  .p-greetingIntro__photo {
    width: min(clamp(594px, 594px + (100vw - 1366px) * 0.1976, 660px), 100%);
    margin-block: clamp(66px, 66px + (100vw - 1366px) * 0.0269, 75px);
  }
  .p-greetingIntro__note {
    width: min(clamp(820px, 820px + (100vw - 1366px) * 0.2395, 900px), 100%);
    margin-top: clamp(56px, 56px + (100vw - 1366px) * 0.0239, 64px);
    padding: clamp(28px, 28px + (100vw - 1366px) * 0.012, 32px) clamp(32px, 32px + (100vw - 1366px) * 0.0239, 40px) clamp(28px, 28px + (100vw - 1366px) * 0.012, 32px) clamp(36px, 36px + (100vw - 1366px) * 0.0239, 44px);
  }
  .p-greetingCareer {
    min-height: clamp(588px, 588px + (100vw - 1366px) * 0.1557, 640px);
    padding-top: clamp(40px, 40px + (100vw - 1366px) * 0.0239, 48px);
    padding-bottom: clamp(40px, 40px + (100vw - 1366px) * 0.0239, 48px);
  }
  .p-greetingCareer__inner {
    width: min(clamp(1088px, 1088px + (100vw - 1366px) * 0.2754, 1180px), 100% - 52px);
  }
  .p-greetingCareer__head {
    margin-bottom: clamp(20px, 20px + (100vw - 1366px) * 0.012, 24px);
  }
  .p-greetingCareer__list {
    width: min(clamp(854px, 854px + (100vw - 1366px) * 0.2275, 930px), 100%);
    gap: clamp(6px, 6px + (100vw - 1366px) * 0.003, 7px);
  }
  .p-greetingCareer__row {
    grid-template-columns: minmax(0, clamp(543px, 543px + (100vw - 1366px) * 0.1707, 600px)) minmax(0, clamp(303px, 303px + (100vw - 1366px) * 0.0808, 330px));
    column-gap: clamp(8px, 8px + (100vw - 1366px) * 0.006, 10px);
  }
  .p-greetingCareer__label {
    min-height: clamp(50px, 50px + (100vw - 1366px) * 0.0179, 56px);
    padding-inline: clamp(48px, 48px + (100vw - 1366px) * 0.0239, 56px);
  }
  .p-greetingCareer__value {
    min-height: clamp(50px, 50px + (100vw - 1366px) * 0.0179, 56px);
    padding-inline: clamp(16px, 16px + (100vw - 1366px) * 0.012, 20px);
  }
}
@media screen and (max-width: 1365px) and (min-width: 1025px) {
  .p-greetingIntro {
    padding-top: calc(72px - (100vw - 1025px) * 0.0353);
    padding-bottom: calc(88px + (100vw - 1025px) * 0.0235);
  }
  .p-greetingIntro__inner {
    width: min(clamp(760px, 760px + (100vw - 1025px) * 0.2647, 850px), 100% - clamp(52px, 72px - (100vw - 1025px) * 0.0588, 72px));
  }
  .p-greetingIntro__section {
    margin-left: calc((100vw - 1025px) * -0.0382);
  }
  .p-greeting .p-contactSchedule__inner {
    width: min(clamp(760px, 760px + (100vw - 1025px) * 0.2588, 848px), 100% - clamp(52px, 72px - (100vw - 1025px) * 0.0588, 72px));
  }
  .p-greeting .p-contactAppointment {
    margin-left: calc((100vw - 1025px) * -0.0294);
  }
  .p-greeting .p-contactSchedule .p-calendarEmbed {
    height: calc(420px + (100vw - 1025px) * 0.6471);
  }
}
@media screen and (max-width: 1024px) {
  .p-greetingIntro {
    padding-top: 72px;
    padding-bottom: 88px;
  }
  .p-greetingIntro__inner {
    width: min(760px, 100% - 72px);
  }
  .p-greetingIntro__section {
    margin-left: 0;
  }
  .p-greetingIntro__section--narrow,
  .p-greetingIntro__note {
    width: min(760px, 100%);
  }
  .p-greeting .p-contactSchedule__inner {
    width: min(760px, 100% - 72px);
  }
  .p-greetingCareer__row {
    grid-template-columns: minmax(0, 1fr) 260px;
    column-gap: 10px;
  }
}
@media screen and (max-width: 600px) {
  .p-greetingIntro__inner,
  .p-greetingCareer__inner {
    width: calc(100% - 40px);
  }
  .p-greetingIntro {
    padding-top: 56px;
    padding-bottom: 72px;
  }
  .p-greetingIntro__head {
    gap: 14px;
    padding-bottom: 16px;
  }
  .p-greetingIntro__eyebrow {
    width: 8px;
    height: 28px;
  }
  .p-greetingIntro__body {
    padding-top: 22px;
  }
  .p-greetingIntro__photo {
    margin-top: 40px;
  }
  .p-greetingIntro__note {
    margin-top: 40px;
    padding: 24px 18px 24px 22px;
  }
  .p-greetingCareer {
    padding-top: 56px;
    padding-bottom: 56px;
  }
  .p-greetingCareer__head {
    gap: 10px;
    margin-bottom: 22px;
  }
  .p-greetingCareer__eyebrow {
    width: 16px;
    height: 16px;
  }
  .p-greetingCareer__row {
    grid-template-columns: 1fr;
    row-gap: 10px;
  }
  .p-greetingCareer__label {
    min-height: 0;
    padding: 14px 18px;
  }
  .p-greetingCareer__value {
    justify-content: flex-start;
    text-align: left;
  }
}
.p-greeting .p-lowerFv--greeting .p-lowerFv__heading {
  padding-top: 10px;
  flex: 0 1 auto;
}

.p-greeting .p-lowerFv--greeting .p-lowerFv__title {
  font-size: 32px;
  font-weight: 500;
  line-height: 1.25;
}

.p-greeting .p-lowerFv--greeting .p-lowerFv__visual {
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  height: 403px;
  margin-top: 0;
}

.p-greeting .p-lowerFv--greeting .p-lowerFv__visual img {
  object-position: center center;
}

.p-greeting .p-lowerFv--greeting {
  overflow-x: clip;
}

@supports not (overflow: clip) {
  .p-greeting .p-lowerFv--greeting {
    overflow-x: hidden;
  }
}
@media screen and (min-width: 1367px) {
  .p-greeting .p-lowerFv__inner {
    width: min(1496px, 100% - 30px);
  }
  .p-greeting .p-lowerFv__panel {
    width: min(1286px, 100% - 194px);
  }
  .p-greeting .p-lowerFv__body {
    gap: clamp(40px, 40px + (100vw - 1366px) * 0.04, 62px);
  }
  .p-greeting .p-lowerFv__heading {
    flex: 0 1 clamp(460px, 460px + (100vw - 1366px) * 0.06, 493px);
  }
  .p-greeting .p-lowerFv__lead {
    flex: 0 0 clamp(223px, 223px + (100vw - 1366px) * 0.04, 245px);
  }
  .p-greeting .p-lowerFv--greeting .p-lowerFv__heading {
    padding-top: clamp(10px, 10px + (100vw - 1366px) * 0.01, 16px);
  }
  .p-greeting .p-lowerFv--greeting .p-lowerFv__visual {
    height: clamp(403px, 403px + (100vw - 1366px) * 0.08, 447px);
  }
}
@media screen and (max-width: 1365px) and (min-width: 1025px) {
  .p-greeting .p-lowerFv__panel {
    width: min(1142px, 83.6017569546vw);
  }
  .p-greeting .p-lowerFv__body {
    gap: clamp(24px, 24px + (100vw - 1025px) * 0.0471, 40px);
  }
  .p-greeting .p-lowerFv--greeting .p-lowerFv__visual {
    height: clamp(320px, 320px + (100vw - 1025px) * 0.2441, 403px);
  }
}
@media screen and (max-width: 1024px) {
  .p-greeting .p-lowerFv__panel,
  .p-greeting .p-lowerFv--greeting .p-lowerFv__panel {
    width: 100%;
  }
}
@media screen and (max-width: 768px) {
  .p-greeting .p-lowerFv--greeting .p-lowerFv__panel {
    min-height: 0;
    padding-top: 42px;
    padding-right: 0;
    padding-bottom: 30px;
    padding-left: 26px;
  }
  .p-greeting .p-lowerFv--greeting .p-lowerFv__title {
    font-size: 28px;
  }
  .p-greeting .p-lowerFv--greeting .p-lowerFv__visual {
    width: auto;
    margin-inline: 0;
    height: 320px;
  }
}
@media screen and (max-width: 600px) {
  .p-greeting .p-lowerFv--greeting .p-lowerFv__panel {
    padding-top: 32px;
    padding-right: 0;
    padding-bottom: 24px;
    padding-left: 18px;
  }
  .p-greeting .p-lowerFv--greeting .p-lowerFv__title {
    font-size: 24px;
  }
  .p-greeting .p-lowerFv--greeting .p-lowerFv__visual {
    width: auto;
    margin-inline: 0;
    height: 220px;
  }
}
