@charset "utf-8";

/*=======================

共通

========================*/
/*共通
------------------------*/
/*section（共通）*/
.staffs_sec {
  position: relative;
}

/*section(奇数ver)*/
.staffs_sec:nth-of-type(2n-1) {
  background: #eee;
}

/*section（奇数ver-波模様画像）
.staffs_sec:nth-of-type(2n-1)::before {
  content: "";
  background: url(../img/sec_bg_deco01_grey.webp) repeat;
  position: absolute;
  left: 0;
  bottom: -15px;
  width: 100%;
  height: 15px;
  z-index: 2;
}

section(偶数ver-波模様画像)
.staffs_sec:nth-of-type(2n)::before {
  content: "";
  background: url(../img/sec_bg_deco01_white.webp) repeat;
  position: absolute;
  left: 0;
  bottom: -15px;
  width: 100%;
  height: 15px;
  z-index: 2;
}
*/

/*flexbox（2カラム・項目の見出し用）*/
.staffs_heading {
  /*flex*/
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  align-items: flex-end;
  gap: 20px 60px;
  /*other*/
  position: relative;
  box-sizing: border-box;
  max-width: 1366px;
  margin: 0 auto;
  padding: 0 20px;
}
.staffs_heading::after {
  content: "";
  position: absolute;
  width: 213px;
  height: 223px;
  background: url(../img/top/greeting_deco3.webp) no-repeat center / contain;
}

.staffs_heading_item {
  position: relative;
}
.staffs_heading_item::before {
  content: "";
  position: absolute;
  width: 210px;
  height: 196px;
  background: url(../img/top/greeting_deco2.webp) no-repeat center / contain;
}

.staffs_heading_img {
  z-index: 1;
}

/*flexbox（2カラム・同じ幅用）*/
.lower_flex02 > .lower_flex02_item {
  padding-top: 0; /*lower.cssの打ち消し*/
}

/*ドクター紹介
------------------------*/
/*flexbox（2カラム・項目の見出し用）*/
#doctor .staffs_heading::after {
  right: 50px;
  bottom: -130px;
}
#doctor .staffs_heading_item {
  width: 100%;
  max-width: 48%;
}
#doctor .staffs_heading_item::before {
  bottom: -80px;
  left: -65px;
}

/*お名前*/
#doctor .doctor_name_wrap {
  margin-bottom: 15px;
}
#doctor .doctor_ttl {
  /*position: relative;*/
  /*display: inline-block;*/
  line-height: 1.5;
  text-align: left;
}
#doctor .doctor_ttl > span {
  display: inline-block;
  padding: 0 8px;
  background-color: var(--color01);
  color: #fff;
  font-family: "M PLUS 1 Code", sans-serif; /*Kozuka Gothic Pr6N*/
  font-size: clamp(18px, 18 / 1200 * 100vw, 24px);
  text-align: center;
}
#doctor .doctor_name {
  display: inline-block;
  padding: 3px;
  color: #333;
  font-size: clamp(24px, 18 / 1200 * 100vw, 30px);
  font-weight: bold;
  line-height: 1.3;
  text-align: left;
}
#doctor .doctor_name span {
  font-size: clamp(20px, 18 / 1200 * 100vw, 24px);
  font-weight: 400;
}

/*ごあいさつ*/
#doctor .greeting_text {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
}

/*=======================

0〜1366px

========================*/
@media screen and (max-width: 1366px) {
}

/*=======================

0〜1200px

========================*/
@media screen and (max-width: 1200px) {
}

/*=======================

0〜1080px

========================*/
@media screen and (max-width: 1080px) {
}

/*=======================

0〜834px

========================*/
@media screen and (max-width: 834px) {
  /* 共通
  ----------------------*/
  .staffs_heading {
    /*flex*/
    flex-wrap: wrap;
  }

  /*ドクター紹介
  ----------------------*/
  /*flexbox（2カラム・項目の見出し用）*/
  #doctor .staffs_heading_item {
    max-width: 100%;
  }
  #doctor .staffs_heading_img {
    width: 100%;
  }
  #doctor .staffs_heading_item .doctor_ttl,
  #doctor .staffs_heading_item .list_dot {
    max-width: 480px;
    margin-right: auto;
    margin-left: auto;
  }
}

/*=======================

0〜667px

========================*/
@media screen and (max-width: 667px) {
  /*ドクター紹介
  ----------------------*/
  /*flexbox（2カラム・項目の見出し用）*/
  #doctor .staffs_heading::after {
    right: 0;
  }
  #doctor .staffs_heading_item::before {
    left: -20px;
    bottom: -102px;
  }
}
