/*---------------------------------

about.css

--------------------------------*/


/*---------------------------------
page_ttl
--------------------------------*/
/* スマホ用 750px以下に適用されるCSS */

#page_ttl .innr {
  background-color: #fff;
  background-image:
    url(../images/page_ttl_shadow_sp.webp),
    url(../images/about_page_ttl_sp.webp);
  background-position: 0 top, 0 top;
  background-repeat: no-repeat, no-repeat;
  background-size: contain, contain;
}

/* PC用 751px以上に適用されるCSS */
@media (min-width: 751px) {

  #page_ttl .innr {
    background-color: #fff;
    background-image:
      url(../images/page_ttl_shadow.webp),
      url(../images/about_page_ttl.webp);
    background-position: right 0, right 0;
    background-repeat: no-repeat, no-repeat;
    background-size: contain, contain;
  }
}


/*---------------------------------
navi
--------------------------------*/
/* スマホ用 750px以下に適用されるCSS */


/* PC用 751px以上に適用されるCSS */
@media (min-width: 751px) {

  .wrap {
    overflow: inherit;
  }

  .two-column_wrap .navi-sticky {
    position: sticky;
    top: 20px;
    /* スクロール時にビューポートの20px位置に達すると固定 */
  }
}




/*---------------------------------
message
--------------------------------*/
/* スマホ用 750px以下に適用されるCSS */


#message {
  margin-bottom: 10vw;
}

#message .innr {
  position: relative;
  width: 100%;
  height: 160vw;
}

#message .innr .n01 {
  position: absolute;
  top: 0;
  left: -2.666vw;
  width: 57.066vw;
  border-radius: 12px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

#message .innr .n02 {
  position: absolute;
  top: 19.733vw;
  left: 46.933vw;
  width: 35.733vw;
  border-radius: 12px;
}

#message .innr .n03 {
  position: absolute;
  bottom: 0;
  right: -2.666vw;
  width: 51.733vw;
  border-radius: 12px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

#message .innr .n04 {
  position: absolute;
  bottom: 18.666vw;
  right: 40.533vw;
  width: 34.666vw;
  border-radius: 12px;
}

#message .innr p {
  width: 80%;
  padding-top: 57vw;
  margin: 0 auto;
  font-size: 4.102vw;
  color: var(--main-color);
}

/* PC用 751px以上に適用されるCSS */
@media (min-width: 751px) {

#message {
  margin-bottom: 60px;
}

  #message .innr {
    height: 400px;
  }

  #message .innr .n01 {
    left: 0;
    width: 320px;
    border-radius: 20px;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
  }

  #message .innr .n02 {
    top: 160px;
    left: 220px;
    width: 200px;
    border-radius: 20px;
  }

  #message .innr .n03 {
    bottom: 30px;
    right: 0;
    width: 240px;
    border-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
  }

  #message .innr .n04 {
    bottom: 0;
    right: 190px;
    width: 160px;
    border-radius: 20px;
  }

  #message .innr p {
    width: 52%;
    padding-top: 10px;
    padding-right: 5%;
    margin: 0 0 0 auto;
    font-size: 1.125rem;
  }

}



/*---------------------------------
doctor
--------------------------------*/
/* スマホ用 750px以下に適用されるCSS */

#doctor .intro {
  background-color: #fff;
  border-radius: 12px;
  padding: 8vw 7.199vw;
  margin-bottom: 10vw;
}

#doctor .intro .name_area {
  padding-bottom: 2.666vw;
  margin-bottom: 10vw;
  border-bottom: 2px solid var(--main-color);
}

#doctor .intro .name_area h3 {
  display: table;
  width: 100%;
  color: var(--main-color);
}

#doctor .intro .name_area h3 span {
  display: table-cell;
}

#doctor .intro .name_area h3 .name {
  font-size: 6.153vw;
}

#doctor .intro .name_area h3 .en {
  font-size: 2.82vw;
  text-align: right;
  vertical-align: sub;
}


#doctor .intro .txt_area {
  font-size: 4.102vw;
}

#doctor .intro .fb.above {
  margin-bottom: 8vw;
}

#doctor .intro .history {
  margin-bottom: 10vw;
}

#doctor .intro .fb .img_area {
  width: 58.666vw;
  margin: 0 auto;
  padding-bottom: 10vw;
}

#doctor .intro .txt_area dl dt.sub_ttl {
  font-size: 4.615vw;
  color: var(--sub-color);
  position: relative;
  padding-left: 4vw;
  margin-bottom: 3.2vw;
}

#doctor .intro .txt_area dl dt.sub_ttl::before {
  content: "";
  border-radius: 50%;
  border: 2px solid var(--sub-color);
  width: 2.666vw;
  height: 2.666vw;
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto 0;
  left: 0;
}

#doctor .intro .history dl dd dl dd {
  margin-bottom: 2.666vw;
}

/* PC用 751px以上に適用されるCSS */
@media (min-width: 751px) {

  #doctor .intro {
    border-radius: 20px;
    padding: 60px 50px;
    margin-bottom: 50px;
  }

  #doctor .intro .name_area {
    padding-bottom: 18px;
    margin-bottom: 40px;
  }

  #doctor .intro .name_area h3 .name {
    font-size: 30px;
  }

  #doctor .intro .name_area h3 .en {
    font-size: .8125rem;
  }


  #doctor .intro .txt_area {
    font-size: 1rem;
  }

  #doctor .intro .fb {
    display: flex;
    justify-content: space-between;
  }

  #doctor .intro .fb.above {
    flex-direction: row-reverse;
    margin-bottom: 50px;
  }

  #doctor .intro .fb .img_area {
    width: 320px;
    margin: 0;
    padding-bottom: 0;
  }

  #doctor .intro .fb .greeting {
    width: calc(100% - 380px);
  }

  #doctor .intro .txt_area dl dt.sub_ttl {
    font-size: 18px;
    padding-left: 15px;
    margin-bottom: 15px;
  }

  #doctor .intro .txt_area dl dt.sub_ttl::before {
    width: 10px;
    height: 10px;
  }

  #doctor .intro .history,
  #doctor .intro .license {
    width: 47%;
    margin-bottom: 0;
  }

  #doctor .intro .history dl dd dl {
    display: table;
    width: 100%;
  }

  #doctor .intro .history dl dd dl dt,
  #doctor .intro .history dl dd dl dd {
    display: table-cell;
    margin-bottom: 0;
  }

  #doctor .intro .history dl dd dl dt {
    width: 22%;
  }

  #doctor .intro .history dl dd dl dd {
    width: 78%;
  }

}




/*---------------------------------
facility
--------------------------------*/
/* スマホ用 750px以下に適用されるCSS */

#facility dl {
  border-radius: 12px;
  border: 2px solid var(--sub-color);
  margin-bottom: 5.333vw;
}

#facility dl dt {
  background-color: var(--sub-color);
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  color: #fff;
  font-size: 4.615vw;
  position: relative;
  line-height: 1.6;
  min-height: 24vw;
  display: flex;
  align-items: center;
  justify-content: center;
}

#facility dl dt::after {
  font-size: 18.666vw;
  font-family: "Inter", sans-serif;
  color: rgba(255, 255, 255, .30);
  position: absolute;
  bottom: -8.799vw;
  right: 5.333vw;
}

#facility dl.n01 dt::after {
  content: "01";
  right: 8vw;
}

#facility dl.n02 dt::after {
  content: "02";
}

#facility dl.n03 dt::after {
  content: "03";
}

#facility dl.n04 dt::after {
  content: "04";
}

#facility dl dd {
  padding: 5.333vw 5.333vw 6.666vw;
  font-size: 4.102vw;
}

/* PC用 751px以上に適用されるCSS */
@media (min-width: 751px) {
  #facility dl {
    border-radius: 20px;
    display: table;
    width: 100%;
    margin-bottom: 20px;
  }

  #facility dl dt,
  #facility dl dd {
    display: table-cell;
  }

  #facility dl dt {
    width: 34%;
    border-top-left-radius: 18px;
    border-bottom-left-radius: 18px;
    border-top-right-radius: 0;
    font-size: 1.25rem;
    vertical-align: middle;
    padding: 22px 0 22px 50px;
    min-height: fit-content;
    display: table-cell;
    align-items: inherit;
    justify-content: inherit;
  }

  #facility dl dt::after {
    font-size: 80px;
    bottom: -40px;
    right: 20px;
  }

  #facility dl.n01 dt::after {
    right: 30px;
  }

  #facility dl dd {
    vertical-align: middle;
    padding: 22px 40px;
    font-size: 1rem;
  }

}