.p-staff-career {
  max-width: 100%;
}
.p-staff-career__date {
  padding-right: 1.5em;
  font-weight: var(--font-weight-regular);
  white-space: nowrap;
}
@media screen and (max-width: 575px) {
  .p-staff-career__date {
    padding-right: 1em;
  }
}

.p-staff-dentist {
  margin-bottom: 100px;
}
@media screen and (max-width: 1280px) {
  .p-staff-dentist {
    margin-bottom: 50px;
  }
}
.p-staff-dentist__body {
  display: flex;
  flex-flow: row-reverse;
  gap: 50px;
  align-items: flex-start;
}
@media screen and (max-width: 1000px) {
  .p-staff-dentist__body {
    flex-flow: column;
    gap: 0;
  }
}
.p-staff-dentist__image {
  width: 440px;
  border-radius: 70px;
}
@media screen and (max-width: 1280px) {
  .p-staff-dentist__image {
    width: 350px;
  }
}
@media screen and (max-width: 1000px) {
  .p-staff-dentist__image {
    margin: 0 auto;
  }
}
@media screen and (max-width: 750px) {
  .p-staff-dentist__image {
    border-radius: 30px;
  }
}
.p-staff-dentist__content {
  flex: 1;
}
.p-staff-dentist__header {
  display: flex;
  gap: 60px;
  align-items: center;
  margin-bottom: 40px;
}
@media screen and (max-width: 1280px) {
  .p-staff-dentist__header {
    gap: 30px;
  }
}
@media screen and (max-width: 1000px) {
  .p-staff-dentist__header {
    flex-flow: column;
    margin-top: -40px;
  }
}
@media screen and (max-width: 575px) {
  .p-staff-dentist__header {
    gap: 20px;
    margin-bottom: 20px;
  }
}
.p-staff-dentist__name {
  display: flex;
  flex-flow: column;
  gap: 25px;
  align-items: center;
  justify-content: center;
  width: 260px;
  height: 260px;
  font-size: 1.8rem;
  text-align: center;
  background-color: #dcefc8;
  background-image: radial-gradient(#cfe8b4 3px, transparent 5px), radial-gradient(#cfe8b4 3px, transparent 5px);
  background-position: 0 0, 10px 10px;
  background-size: 20px 20px;
  border-radius: 50%;
}
:where([data-theme=forest]) .p-staff-dentist__name {
  background-color: #fde9d2;
  background-image: radial-gradient(#fde0c1 3px, transparent 5px), radial-gradient(#fde0c1 3px, transparent 5px);
}

@media screen and (max-width: 1280px) {
  .p-staff-dentist__name {
    width: 200px;
    height: 200px;
  }
}
@media screen and (max-width: 1000px) {
  .p-staff-dentist__name {
    border: 10px solid #fff;
  }
}
@media screen and (max-width: 575px) {
  .p-staff-dentist__name {
    gap: 5px;
    width: 150px;
    height: 150px;
    font-size: 1.4rem;
    border-width: 5px;
  }
}
.p-staff-dentist__name span:last-child {
  font-family: var(--font-family-kiwi);
  font-size: 2.7rem;
  letter-spacing: 0.2em;
}
@media screen and (max-width: 1280px) {
  .p-staff-dentist__name span:last-child {
    font-size: 2.2rem;
  }
}
@media screen and (max-width: 575px) {
  .p-staff-dentist__name span:last-child {
    font-size: 1.8rem;
  }
}
.p-staff-dentist__subTitle {
  flex: 1;
  font-size: 3.6rem;
  line-height: 1.75;
}
@media screen and (max-width: 1000px) {
  .p-staff-dentist__subTitle {
    font-size: 3rem;
  }
}
@media screen and (max-width: 575px) {
  .p-staff-dentist__subTitle {
    font-size: 6.5vw;
  }
}
.p-staff-dentist__text {
  line-height: 2.5;
}
.p-staff-dentist__profile {
  --border-color: #a8dde1;
  --accent-color: #52bbf7;
  padding: 35px 0;
  margin-top: 110px;
  border-top: 2px dashed var(--border-color);
  border-bottom: 2px dashed var(--border-color);
}
:where([data-theme=forest]) .p-staff-dentist__profile {
  --border-color: #c9e1a8;
  --accent-color: #2f7627;
}

@media screen and (max-width: 575px) {
  .p-staff-dentist__profile {
    margin-top: 50px;
  }
}
.p-staff-dentist__profileItem {
  display: flex;
}
@media screen and (max-width: 575px) {
  .p-staff-dentist__profileItem {
    flex-flow: column;
    gap: 10px;
  }
}
.p-staff-dentist__profileItem:not(:last-child) {
  margin-bottom: 30px;
}
.p-staff-dentist__profileTitle {
  width: 6.5em;
  font-family: var(--font-family-kiwi);
  font-size: 2.2rem;
  line-height: 1.5;
  color: var(--accent-color);
}
.p-staff-dentist__profileContent {
  flex: 1;
}
.p-staff-dentist__profileContent dt {
  float: left;
  width: 5.5em;
  font-weight: var(--font-weight-normal);
}
.p-staff-dentist__profileContent dd {
  padding-left: 5.5em;
}
.p-staff-dentist__profileContent ul {
  padding-left: 1.5em;
  list-style: disc outside;
}

.p-staff-director {
  margin-bottom: 100px;
}
@media screen and (max-width: 1280px) {
  .p-staff-director {
    margin-bottom: 50px;
  }
}
.p-staff-director__body {
  display: flex;
  gap: 40px 65px;
  align-items: flex-start;
  margin-bottom: 120px;
}
@media screen and (max-width: 1280px) {
  .p-staff-director__body {
    -moz-column-gap: 32px;
         column-gap: 32px;
  }
}
@media screen and (max-width: 1000px) {
  .p-staff-director__body {
    flex-flow: column;
  }
}
@media screen and (max-width: 575px) {
  .p-staff-director__body {
    margin-bottom: 50px;
  }
}
.p-staff-director__thumb {
  position: relative;
  width: 610px;
  max-width: 100%;
  padding-bottom: 165px;
  margin-top: 20px;
}
@media screen and (max-width: 1280px) {
  .p-staff-director__thumb {
    width: 400px;
  }
}
@media screen and (max-width: 1000px) {
  .p-staff-director__thumb {
    margin: 0 auto;
  }
}
@media screen and (max-width: 575px) {
  .p-staff-director__thumb {
    padding-bottom: 100px;
  }
}
.p-staff-director__image {
  border-radius: 75px;
}
@media screen and (max-width: 750px) {
  .p-staff-director__image {
    border-radius: 30px;
  }
}
.p-staff-director__name {
  position: absolute;
  right: 0;
  bottom: 0;
  box-sizing: content-box;
  display: flex;
  flex-flow: column;
  gap: 25px;
  align-items: center;
  justify-content: center;
  width: 260px;
  height: 260px;
  font-size: 1.8rem;
  text-align: center;
  border: 10px solid #fff;
  border-radius: 50%;
}
@media screen and (max-width: 1280px) {
  .p-staff-director__name {
    width: 200px;
    height: 200px;
  }
}
@media screen and (max-width: 575px) {
  .p-staff-director__name {
    gap: 5px;
    width: 150px;
    height: 150px;
    font-size: 1.4rem;
    border-width: 5px;
  }
}
.p-staff-director__name span:last-child {
  font-family: var(--font-family-kiwi);
  font-size: 2.7rem;
  letter-spacing: 0.2em;
}
@media screen and (max-width: 1280px) {
  .p-staff-director__name span:last-child {
    font-size: 2.2rem;
  }
}
@media screen and (max-width: 575px) {
  .p-staff-director__name span:last-child {
    font-size: 1.8rem;
  }
}
.p-staff-director__name rt {
  position: relative;
  top: -1em;
  transform: translateY(-1em);
}
.p-staff-director__inner {
  flex: 1;
}
.p-staff-director__subTitle {
  margin-bottom: 60px;
  font-family: var(--font-family-kiwi);
  font-size: 3.6rem;
  line-height: 1.75;
  color: #254a66;
}
@media screen and (max-width: 750px) {
  .p-staff-director__subTitle {
    margin-bottom: 20px;
    font-size: 6.5vw;
  }
}
.p-staff-director__text {
  line-height: 2.5;
}
.p-staff-director__text + .p-staff-director__text {
  margin-top: 2em;
}

.p-staff-message {
  padding-bottom: 100px;
}
@media screen and (max-width: 575px) {
  .p-staff-message {
    padding-bottom: 40px;
  }
}
.p-staff-message__text {
  margin-bottom: 115px;
  font-family: var(--font-family-kiwi);
  font-size: 2.3rem;
  text-align: center;
}
@media screen and (max-width: 575px) {
  .p-staff-message__text {
    margin-bottom: 40px;
    font-size: 5vw;
  }
}

.p-staff-mv {
  background-image: url("../../images/staff/mv_01.jpg");
}

.p-staff-policy {
  padding: 205px 0;
  margin-bottom: 120px;
  text-align: center;
}
@media screen and (max-width: 1280px) {
  .p-staff-policy {
    padding: 100px 0;
    margin-bottom: 60px;
  }
}
.p-staff-policy__title {
  margin-bottom: 50px;
  font-family: var(--font-family-kiwi);
  font-size: 4rem;
}
@media screen and (max-width: 1000px) {
  .p-staff-policy__title {
    font-size: 3rem;
  }
}
@media screen and (max-width: 750px) {
  .p-staff-policy__title {
    margin-bottom: 20px;
    font-size: 4.25vw;
  }
}
.p-staff-policy__title span {
  display: inline-block;
  padding: 0 1em;
  color: #52bbf7;
  letter-spacing: 0.15em;
  background: #fff;
  border-radius: 100px;
}
:where([data-theme=forest]) .p-staff-policy__title span {
  color: #2f7627;
}

.p-staff-policy__text {
  line-height: 2.69;
}
@media screen and (max-width: 750px) {
  .p-staff-policy__text {
    text-align: left;
  }
}

.p-staff-profile {
  display: flex;
  flex-wrap: wrap;
  gap: 90px 40px;
}
@media screen and (max-width: 750px) {
  .p-staff-profile {
    gap: 50px;
  }
}
.p-staff-profile__box {
  --title-width: 156;
  --title-height: 60;
  --border-width: 2px;
  display: grid;
  grid-template-rows: auto 1fr;
  width: calc(50% - 20px);
}
@media screen and (max-width: 1000px) {
  .p-staff-profile__box {
    width: 100%;
  }
}
.p-staff-profile__box:nth-child(1) {
  --box-color: #75c248;
}
:where([data-theme=forest]) .p-staff-profile__box:nth-child(1) {
  --box-color: #e58e50;
}

.p-staff-profile__box:nth-child(2) {
  --box-color: #75c248;
}
:where([data-theme=forest]) .p-staff-profile__box:nth-child(2) {
  --box-color: #e58e50;
}

.p-staff-profile__box:nth-child(3) {
  --box-color: #e58e50;
}
:where([data-theme=forest]) .p-staff-profile__box:nth-child(3) {
  --box-color: #fbc750;
}

.p-staff-profile__box--wide {
  width: 100%;
}
.p-staff-profile__title {
  position: relative;
  z-index: 2;
  width: calc(var(--title-width) * 1px);
  height: calc(var(--title-height) * 1px);
  margin-bottom: calc(var(--border-width) * -1);
  overflow: hidden;
  font-family: var(--font-family-kiwi);
  font-size: 2.2rem;
  color: var(--box-color);
  container-type: inline-size;
}
@media screen and (max-width: 575px) {
  .p-staff-profile__title {
    font-size: 2rem;
  }
}
.p-staff-profile__title > span {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 100%;
  padding: 0.5em 0.5em 0.2em;
  line-height: 1.3;
  text-align: center;
}
.p-staff-profile__title > span > small {
  font-size: 1.9rem;
}
.p-staff-profile__title::before {
  --w: var(--title-width) / 2;
  --size: ((var(--w) * var(--w)) + (var(--title-height) * var(--title-height))) / (var(--title-height) * 2) * 2px;
  position: absolute;
  top: 0;
  left: 50%;
  z-index: -1;
  width: calc(var(--size));
  height: calc(var(--size));
  content: "";
  background-color: #fff;
  border-width: var(--border-width);
  border-radius: 50%;
  transform: translateX(-50%);
}
.p-staff-profile__body {
  position: relative;
  padding: 40px;
  background: #fff;
  border-bottom: var(--border-width) solid var(--box-color);
}
.p-staff-profile__body::before {
  position: absolute;
  top: 0;
  right: 0;
  width: calc(100% - var(--title-width) * 1px + var(--border-width) / 2);
  height: var(--border-width);
  content: "";
  background-color: var(--box-color);
}
@media screen and (max-width: 575px) {
  .p-staff-profile__body {
    padding: 20px 4vw;
  }
}
.p-staff-profile__body ul {
  padding-left: 1.5em;
  list-style: outside disc;
}
.p-staff-profile__boxRow {
  display: flex;
  gap: 20px 40px;
}
.p-staff-profile__boxRow > * {
  flex: 1;
}
@media screen and (max-width: 1000px) {
  .p-staff-profile__boxRow {
    flex-flow: column;
  }
}

.p-staff-staff {
  margin-bottom: 170px;
}
@media screen and (max-width: 1280px) {
  .p-staff-staff {
    margin-bottom: 90px;
  }
}
.p-staff-staff__title {
  margin-bottom: 100px;
}
.p-staff-staff__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 100px;
}
.p-staff-staff__item {
  position: relative;
  display: grid;
  grid-template-areas: "image title content";
  grid-template-columns: auto auto 1fr;
}
@media screen and (max-width: 1000px) {
  .p-staff-staff__item {
    grid-template-areas: "image content" "title content";
    grid-template-columns: auto 1fr;
  }
}
@media screen and (max-width: 575px) {
  .p-staff-staff__item {
    grid-template-areas: "image" "title" "content";
    grid-template-columns: 1fr;
  }
}
.p-staff-staff__itemTitle {
  -ms-grid-row: 1;
  -ms-grid-column: 2;
  --size: 260px;
  position: relative;
  top: 0;
  box-sizing: content-box;
  display: flex;
  flex-flow: column;
  grid-area: title;
  gap: 25px;
  align-items: center;
  justify-content: center;
  width: var(--size);
  height: var(--size);
  font-size: 1.8rem;
  text-align: center;
  border-radius: 50%;
  transform: translateX(-9%);
}
@media screen and (max-width: 1280px) {
  .p-staff-staff__itemTitle {
    --size: 200px;
  }
}
@media screen and (max-width: 1000px) {
  .p-staff-staff__itemTitle {
    margin-right: auto;
    margin-left: auto;
    transform: translateY(-15%);
  }
}
@media screen and (max-width: 750px) {
  .p-staff-staff__itemTitle {
    --size: 180px;
    gap: 5px;
    font-size: 1.4rem;
  }
}
@media screen and (max-width: 575px) {
  .p-staff-staff__itemTitle {
    --size: 150px;
    gap: 5px;
    font-size: 1.4rem;
  }
}
.p-staff-staff__itemTitle::before {
  position: absolute;
  inset: -10px;
  content: "";
  border: 10px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
}
@media screen and (max-width: 575px) {
  .p-staff-staff__itemTitle::before {
    inset: -5px;
    border-width: 5px;
  }
}
.p-staff-staff__itemTitle span:last-child {
  font-family: var(--font-family-kiwi);
  font-size: 2.7rem;
  letter-spacing: 0.3em;
}
@media screen and (max-width: 1280px) {
  .p-staff-staff__itemTitle span:last-child {
    font-size: 2.2rem;
  }
}
@media screen and (max-width: 575px) {
  .p-staff-staff__itemTitle span:last-child {
    font-size: 1.8rem;
  }
}
.p-staff-staff__itemImage {
  -ms-grid-row: 1;
  -ms-grid-column: 1;
  grid-area: image;
  width: 320px;
  aspect-ratio: 1/1.21;
  border-radius: 65px;
  -o-object-fit: cover;
     object-fit: cover;
}
@media screen and (max-width: 1280px) {
  .p-staff-staff__itemImage {
    width: 300px;
    margin: 0 auto;
  }
}
@media screen and (max-width: 1000px) {
  .p-staff-staff__itemImage {
    width: 280px;
  }
}
@media screen and (max-width: 834px) {
  .p-staff-staff__itemImage {
    width: 260px;
  }
}
@media screen and (max-width: 750px) {
  .p-staff-staff__itemImage {
    width: 220px;
    border-radius: 30px;
  }
}
@media screen and (max-width: 575px) {
  .p-staff-staff__itemImage {
    width: 260px;
  }
}
.p-staff-staff__itemContent {
  -ms-grid-row: 1;
  -ms-grid-column: 3;
  grid-area: content;
  padding-top: 70px;
  margin-left: 20px;
}
@media screen and (max-width: 1000px) {
  .p-staff-staff__itemTitle {
    -ms-grid-row: 2;
    -ms-grid-column: 1;
  }
  .p-staff-staff__itemImage {
    -ms-grid-row: 1;
    -ms-grid-column: 1;
  }
  .p-staff-staff__itemContent {
    -ms-grid-row: 1;
    -ms-grid-row-span: 2;
    -ms-grid-column: 2;
  }
}
@media screen and (max-width: 575px) {
  .p-staff-staff__itemTitle {
    -ms-grid-row: 2;
    -ms-grid-column: 1;
  }
  .p-staff-staff__itemImage {
    -ms-grid-row: 1;
    -ms-grid-column: 1;
  }
  .p-staff-staff__itemContent {
    -ms-grid-row: 3;
    -ms-grid-row-span: 1;
    -ms-grid-column: 1;
  }
}
@media screen and (max-width: 1000px) {
  .p-staff-staff__itemContent {
    padding-top: 40px;
  }
}
@media screen and (max-width: 575px) {
  .p-staff-staff__itemContent {
    padding-top: 0;
  }
}
.p-staff-staff__itemText {
  line-height: 2.5;
}
.p-staff-staff__profile {
  display: flex;
  margin-top: 55px;
}
@media screen and (max-width: 1280px) {
  .p-staff-staff__profile {
    flex-flow: column;
    gap: 10px;
  }
}
@media screen and (max-width: 575px) {
  .p-staff-staff__profile {
    margin-top: 20px;
  }
}
.p-staff-staff__profileTitle {
  width: 4.5em;
  font-family: var(--font-family-kiwi);
  font-size: 2.2rem;
  line-height: 1.5;
  color: #52bbf7;
}
:where([data-theme=forest]) .p-staff-staff__profileTitle {
  color: #2f7627;
}

.p-staff-staff__profileList {
  flex: 1;
}
.p-staff-staff__profileItemTitle {
  float: left;
  width: 5.5em;
  font-weight: var(--font-weight-normal);
}
.p-staff-staff__profileItemText {
  padding-left: 5.5em;
}

/* 11/27 追記 */
.p-staff-recruit{
  margin: 0 auto;
}
.p-staff-recruit__Item {
  display: flex;
  --border-color: #a8dde1;
  --accent-color: #52bbf7;
  padding: 35px 0;
  border-top: 2px dashed var(--border-color);
  margin: 0;
}
.p-staff-recruit__Item:last-child {
  border-bottom: 2px dashed var(--border-color);
}
@media screen and (max-width: 575px) {
  .p-staff-recruit__Item {
    flex-flow: column;
  }
}
.p-staff-recruit__Title {
  width: 15.5em;
  font-family: var(--font-family-kiwi);
  font-size: 2.2rem;
  font-weight: normal;
  line-height: 1.5;
  color: var(--accent-color);
}