/* Dentist Page Styles */


/* About Section */
.dentist-about {
  width: 100%;
  padding: 5rem 0;
  position: relative;
  z-index: 2;
}

.dentist-about::after {
  content: '';
  position: absolute;
  top: 20rem;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 10rem;
  background-color: #FFF7EE;
  mask-image: url('../images/dentist/subtract.svg');
  mask-repeat: no-repeat;
  mask-position: bottom center;
  mask-size: cover;
  -webkit-mask-image: url('../images/dentist/subtract.svg');
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: bottom center;
  -webkit-mask-size: cover;
  z-index: -1;
  pointer-events: none;
}

.dentist-about__container {
  width: 100%;
  max-width: 75rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.dentist-about__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5rem;
}

/* Heading */
.dentist-about__heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
  white-space: nowrap;
}

.dentist-about__heading-main {
  font-family: 'Kiwi Maru', serif;
  font-weight: 500;
  font-size: 2rem;
  line-height: 1.4;
  letter-spacing: 0.2rem;
  color: #53545D;
  margin: 0;
}

.dentist-about__heading-sub {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 900;
  font-size: 1rem;
  line-height: 1.4;
  letter-spacing: 0.1rem;
  color: #14A0D2;
  margin: 0;
}

/* Content */
.dentist-about__content {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 5rem;
}

/* Text Area */
.dentist-about__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-width: 0;
}

.dentist-about__text-paragraph {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.6;
  color: #53545D;
  margin: 0;
}

.dentist-about__text-paragraph--highlight {
  font-weight: 700;
  color: #14A0D2;
}

.dentist-about__text-highlight {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 700;
  color: #14A0D2;
}

/* Image Area */
.dentist-about__image-wrapper {
  flex: 1;
  line-height: 0;
  display: flex;
  justify-content: flex-end;
  position: relative;
  min-width: 0;
  overflow: visible;
}

@media (max-width: 80rem) {
  .dentist-about__container {
    overflow: hidden;
  }
}

.dentist-about__image {
  position: relative;
  width: 100%;
  max-width: 33.125rem;
  aspect-ratio: 530 / 330;
  flex-shrink: 0;
}

.dentist-about__image-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1.25rem;
  display: block;
}

.dentist-about__image-deco {
  position: absolute;
  z-index: 10;
}

.dentist-about__image-deco--2 {
  bottom: -2rem;
  left: -3rem;
  width: 6.5625rem;
  height: 6.5625rem;
}

.dentist-about__image-deco--3 {
  top: 3rem;
  right: -3rem;
  width: 3.875rem;
  height: 3.875rem;
}

.dentist-about__image-deco-svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Responsive Design for About Section */
@media (max-width: 80rem) {
  .dentist-about__image-deco--2 {
    left: -1.5rem;
  }

  .dentist-about__image-deco--3 {
    right: -1.5rem;
  }
}

@media (max-width: 64rem) {
  .dentist-about__content {
    gap: 3rem;
  }

  .dentist-about__image-deco--2 {
    left: -1rem;
    width: 5.5rem;
    height: 5.5rem;
  }

  .dentist-about__image-deco--3 {
    right: -1rem;
    width: 3.25rem;
    height: 3.25rem;
  }
}

@media (max-width: 48rem) {
  .dentist-about {
    padding-top: 0;
  }

  .dentist-about::after {
    top: 6rem;
  }

  .dentist-about__inner {
    gap: 4rem;
  }

  .dentist-about__heading {
    gap: 0.5rem;
  }

  .dentist-about__heading-main {
    font-size: 1.75rem;
    letter-spacing: 0.175rem;
  }

  .dentist-about__heading-sub {
    font-size: 1rem;
    letter-spacing: 0.1rem;
  }

  .dentist-about__content {
    flex-direction: column-reverse;
    gap: 4rem;
  }

  .dentist-about__text {
    gap: 1.5rem;
  }

  .dentist-about__text-paragraph {
    font-size: 1rem;
  }

  .dentist-about__image-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .dentist-about__image {
    width: 100%;
    max-width: 100%;
  }

  .dentist-about__image-deco--2 {
    width: 3.25rem;
  }

  .dentist-about__image-deco--3 {
    width: 2.1875rem;
    top: 2rem;
    right: -0.5rem;
  }
}

/* Message Section */
.dentist-message {
  width: 100%;
  padding: 5rem 0;
  background: linear-gradient(180deg, #E9FEFF 9.01%, #FFF 72.5%);
  position: relative;
  z-index: 1;
  margin-top: -22rem;
  padding-top: 27rem;
}

.dentist-message__container {
  width: 100%;
  max-width: 75rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.dentist-message__inner {
  display: flex;
  align-items: flex-start;
  gap: 5rem;
}

/* Image Area */
.dentist-message__image-wrapper {
  flex: 1;
  line-height: 0;
  min-width: 0;
}

.dentist-message__image {
  position: relative;
  width: 100%;
  max-width: 33.125rem;
  aspect-ratio: 1;
}

.dentist-message__image-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1.25rem;
  display: block;
}

.dentist-message__image-photo--2 {
  display: none;
}

/* PC表示のみ画像を重ねて切り替え可能にする */
@media (min-width: 768px) {
  .dentist-message__image-photo {
    position: absolute;
    top: 0;
    left: 0;
  }

  .dentist-message__image-photo--1 {
    z-index: 2;
  }

  .dentist-message__image-photo--2 {
    display: block;
    z-index: 1;
    opacity: 0;
  }
}

/* Content Area */
.dentist-message__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5rem;
  min-width: 0;
}

/* Heading */
.dentist-message__heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  text-align: center;
  white-space: nowrap;
}

.dentist-message__heading-main {
  font-family: 'Kiwi Maru', serif;
  font-weight: 500;
  font-size: 2rem;
  line-height: 1.4;
  letter-spacing: 0.2rem;
  color: #53545D;
  margin: 0;
}

.dentist-message__heading-sub {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 900;
  font-size: 1rem;
  line-height: 1.4;
  letter-spacing: 0.1rem;
  color: #14A0D2;
  margin: 0;
}

/* Intro Text */
.dentist-message__intro {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.dentist-message__intro-paragraph {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.6;
  color: #53545D;
  margin: 0;
}

/* Sections */
.dentist-message__sections {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.dentist-message__section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.dentist-message__section-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  width: 100%;
  box-sizing: border-box;
}

.dentist-message__section-heading--type1 {
  background-color: #FBE5CB;
}

.dentist-message__section-heading--type2 {
  background-color: #DFD2C2;
}

.dentist-message__section-heading-text {
  font-family: 'Kiwi Maru', serif;
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.4;
  letter-spacing: 0.125rem;
  color: #53545D;
  margin: 0;
  flex: 1;
}

.dentist-message__section-text {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.dentist-message__section-paragraph {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.6;
  color: #53545D;
  margin: 0;
}

.dentist-message__section-highlight {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 700;
}

.dentist-message__section-highlight--color1 {
  color: #B78A57;
}

.dentist-message__section-highlight--color2 {
  color: #857766;
}

/* Signature */
.dentist-message__signature {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.dentist-message__signature-img {
  width: 8.5625rem;
  height: 2.5rem;
  display: block;
}

/* Section Image (SP only) */
.dentist-message__section-image {
  display: none;
}

.dentist-message__section-image-inner {
  position: relative;
  width: 100%;
  border-radius: 1.25rem;
  overflow: hidden;
  line-height: 0;
}

.dentist-message__section-image-photo {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 1.25rem;
}

/* Responsive Design for Message Section */
@media (max-width: 64rem) {
  .dentist-message {
    margin-top: -18rem;
    padding-top: 23rem;
  }

  .dentist-message__inner {
    gap: 3rem;
  }

  .dentist-message__content {
    gap: 3.75rem;
  }

  .dentist-message__sections {
    gap: 2.5rem;
  }

  .dentist-message__section {
    gap: 1.75rem;
  }
}

@media (max-width: 48rem) {
  .dentist-message {
    padding: 3.75rem 0;
    margin-top: -48rem;
    padding-top: 51.75rem;
    background: linear-gradient(180deg, #E9FEFF 9.01%, #FFF 72.5%);
  }

  .dentist-message__inner {
    flex-direction: column;
    gap: 4rem;
  }

  .dentist-message__image-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    order: -1;
  }

  .dentist-message__image {
    width: 100%;
    max-width: 100%;
  }

  .dentist-message__content {
    gap: 4rem;
  }

  .dentist-message__heading {
    gap: 0.5rem;
  }

  .dentist-message__heading-main {
    font-size: 1.75rem;
    letter-spacing: 0.175rem;
  }

  .dentist-message__heading-sub {
    font-size: 1rem;
    letter-spacing: 0.1rem;
  }

  .dentist-message__intro {
    gap: 0.75rem;
  }

  .dentist-message__intro-paragraph {
    font-size: 1rem;
  }

  .dentist-message__sections {
    gap: 2.5rem;
  }

  .dentist-message__section {
    gap: 2rem;
  }

  .dentist-message__section-heading {
    width: 100%;
    padding: 0.5rem 1rem;
  }

  .dentist-message__section-heading-text {
    font-size: 1.125rem;
    letter-spacing: 0.1125rem;
  }

  .dentist-message__section-text {
    gap: 0.75rem;
  }

  .dentist-message__section-paragraph {
    font-size: 1rem;
  }

  .dentist-message__signature {
    align-self: flex-end;
  }

  .dentist-message__signature-img {
    width: 8.5625rem;
    height: 2.5rem;
  }

  .dentist-message__section-image {
    display: block;
  }
}

/* Job Section */
.dentist-job {
  width: 100%;
  padding: 8rem 0 13rem;
  position: relative;
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .dentist-job {
    position: relative;
    z-index: 100;
  }

}

.footer-section {
  width: 100%;
  position: relative;
  padding: 0;
  overflow: hidden;
  z-index: 3;
  background: #fff;
}

.dentist-job::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 100%;
  background: linear-gradient(180deg, #FFEFDD 0%, #FFF 100%);
  z-index: -1;
}

.dentist-job__container {
  width: 100%;
  max-width: 75rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.dentist-job__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

/* Illustration */
.dentist-job__illustration {
  width: 100%;
  max-width: 50rem;
  margin-bottom: -1.2rem;
  position: relative;
  z-index: 2;
}

.dentist-job__illustration-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Job Box */
.dentist-job__box {
  background-color: #FFFFFF;
  border: 2px solid #F3E7D9;
  border-radius: 1.25rem;
  padding: 3rem;
  width: 100%;
  max-width: 50rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  position: relative;
  z-index: 1;
}

/* Heading */
.dentist-job__heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}

.dentist-job__heading-main {
  font-family: 'Kiwi Maru', serif;
  font-weight: 500;
  font-size: 1.6875rem;
  line-height: 1.4;
  letter-spacing: 0.16875rem;
  color: #14A0D2;
  margin: 0;
}

.dentist-job__heading-sub {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 900;
  font-size: 1rem;
  line-height: 1.4;
  letter-spacing: 0.1rem;
  color: #14A0D2;
  margin: 0;
}

/* List */
.dentist-job__list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.dentist-job__item {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.dentist-job__item-content {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.dentist-job__item-label {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.6;
  color: #53545D;
  width: 12.5rem;
  flex-shrink: 0;
}

.dentist-job__item-marker {
  color: #14A0D2;
}

.dentist-job__item-value {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.6;
  color: #53545D;
  flex: 1;
  min-width: 0;
}

.dentist-job__item-highlight {
  color: #14A0D2;
}

.dentist-job__item-border {
  width: 100%;
  height: 1px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='1'%3E%3Cline x1='0' y1='0' x2='100%25' y2='0' stroke='%23D9D9D9' stroke-width='1' stroke-dasharray='4,4'/%3E%3C/svg%3E");
}

/* Button */
.dentist-job__button-wrapper {
  display: flex;
  justify-content: center;
}

.dentist-job__button {
  position: relative;
  width: 15.625rem;
  height: 3.125rem;
  background-color: #14A0D2;
  border-radius: 2.1875rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem 0 1.5rem;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.dentist-job__button:hover {
  background-color: #1189B8;
}

.dentist-job__button-text {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.4;
  letter-spacing: 0.05rem;
  color: #FFFFFF;
}

.dentist-job__button-arrow {
  width: 1.25rem;
  height: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dentist-job__button-arrow-img {
  width: 100%;
  height: 100%;
  display: block;
}

/* Responsive Design for Job Section */
@media (max-width: 48rem) {
  .dentist-job {
    padding: 3.75rem 0 13rem;
  }

  .dentist-job__illustration {
    margin-bottom: -2rem;
  }

  .dentist-job__box {
    padding: 2rem 1.5rem;
    gap: 2rem;
  }

  .dentist-job__heading {
    gap: 0.5rem;
  }

  .dentist-job__heading-main {
    font-size: 1.5rem;
    letter-spacing: 0.15rem;
  }

  .dentist-job__heading-sub {
    font-size: 1rem;
    letter-spacing: 0.1rem;
  }

  .dentist-job__list {
    gap: 1.25rem;
  }

  .dentist-job__item {
    gap: 1.25rem;
  }

  .dentist-job__item-content {
    flex-direction: column;
    gap: 0.75rem;
  }

  .dentist-job__item-label {
    width: 12.5rem;
    font-size: 1rem;
  }

  .dentist-job__item-value {
    font-size: 1rem;
  }

  .dentist-job__button {
    width: 15.625rem;
    height: 3.125rem;
  }
}

/* Contents Section */
.dentist-contents {
  width: 100%;
  padding: 5rem 0;
}

.dentist-contents__container {
  width: 100%;
  max-width: 75rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.dentist-contents__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5rem;
}

/* Images Section */
.dentist-contents__images {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  line-height: 0;
}

.dentist-contents__image-worker1 {
  position: relative;
  flex: 1;
  height: 25rem;
  border-radius: 1.25rem;
  overflow: hidden;
}

.dentist-contents__image-worker1-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dentist-contents__image-worker2 {
  position: relative;
  flex: 1;
  height: 25rem;
  border-radius: 1.25rem;
  overflow: hidden;
}

.dentist-contents__image-worker2-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Text Section */
.dentist-contents__text {
  width: 100%;
  max-width: 50rem;
}

.dentist-contents__text-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.dentist-contents__text-paragraph {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.6;
  color: #53545D;
  text-align: center;
  margin: 0;
}

.dentist-contents__text-highlight {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 700;
  color: #14A0D2;
}

/* Other Positions Section */
.dentist-contents__other {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  width: 100%;
  max-width: 50rem;
}

.dentist-contents__other-heading {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.6;
  color: #53545D;
  text-align: center;
  margin: 0;
}

/* Buttons */
.dentist-contents__buttons {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
}

.dentist-contents__button {
  position: relative;
  width: 15.625rem;
  height: 3.125rem;
  background-color: #14A0D2;
  border-radius: 2.1875rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem 0 1.5rem;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.dentist-contents__button:hover {
  background-color: #1189B8;
}

.dentist-contents__button-text {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.4;
  letter-spacing: 0.05rem;
  color: #FFFFFF;
}

.dentist-contents__button-arrow {
  width: 1.25rem;
  height: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dentist-contents__button-arrow-img {
  width: 100%;
  height: 100%;
  display: block;
}

/* Responsive Design */
@media (max-width: 65rem) {
  .dentist-contents__images {
    gap: 1.25rem;
  }

  .dentist-contents__image-worker1,
  .dentist-contents__image-worker2 {
    height: auto;
    aspect-ratio: 500 / 400;
  }
}

@media (max-width: 52.5rem) {
  .dentist-contents__text,
  .dentist-contents__other {
    width: 100%;
  }
}

@media (max-width: 48rem) {
  .dentist-contents {
    padding-top: 5rem;
    padding-bottom: 6rem;
  }

  .dentist-contents__inner {
    gap: 4rem;
  }

  .dentist-contents__images {
    flex-direction: column;
    gap: 1.5rem;
  }

  .dentist-contents__image-worker1,
  .dentist-contents__image-worker2 {
    width: 100%;
    height: 25rem;
  }

  .dentist-contents__other {
    gap: 1.5rem;
  }

  .dentist-contents__other-heading {
    font-size: 1.125rem;
  }

  .dentist-contents__buttons {
    flex-direction: column;
    gap: 0.75rem;
  }

  .dentist-contents__button {
    width: 15.625rem;
    height: 3.125rem;
  }

  .dentist-job__illustration {
    margin-bottom: -1rem;
  }
}

@media (max-width: 30rem) {
  .dentist-job__illustration {
    margin-bottom: -0.5rem;
  }
}
