@charset "utf-8";

/* CSS Document */
/* PC・SPのオンオフ */
.pc {
  display: block;
}

.sp {
  display: none;
}

.pc {
  display: none !important;
}

.sp {
  display: block;
}

/*sp_navi*/
/*========= ナビゲーションのためのCSS ===============*/
.nav_arrow {
  display: none;
}

/*アクティブになったエリア*/
#g-nav.panelactive {
  /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
  position: fixed;
  z-index: 999;
  top: 0;
  width: 100%;
  height: 100vh;
}

/*丸の拡大*/
.circle-bg {
  position: fixed;
  z-index: 3;
  /*丸の形*/
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-image: url("../images/blue_bg_img.jpg");
  /*丸のスタート位置と形状*/
  transform: scale(0);
  /*scaleをはじめは0に*/
  right: -50px;
  top: calc(50% - 50px);
  /*50%から円の半径を引いた値*/
  transition: all .6s;
  /*0.6秒かけてアニメーション*/
}

.circle-bg.circleactive {
  transform: scale(50);
  /*クラスが付与されたらscaleを拡大*/
}

/*navの縦スクロール*/
#g-nav-list {
  display: none;
  /*はじめは表示なし*/
  /*ナビの数が増えた場合縦スクロール*/
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100vh;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

#g-nav.panelactive #g-nav-list {
  display: block;
  /*クラスが付与されたら出現*/
}

/*nav*/
#g-nav ul {
  opacity: 0;
  position: absolute;
  z-index: 999;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/*背景が出現後にナビゲーションを表示*/
#g-nav.panelactive ul {
  opacity: 1;
}

/* 背景が出現後にナビゲーション li を表示*/
#g-nav.panelactive ul li {
  animation-name: gnaviAnime;
  animation-duration: 1s;
  animation-delay: .2s;
  /*0.2 秒遅らせて出現*/
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes gnaviAnime {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}


/*listのレイアウト設定*/
#g-nav li {
  text-align: center;
  list-style: none;
}

#g-nav li a {
  color: #333;
  text-decoration: none;
  padding: 10px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: bold;
}


/*========= ボタンのためのCSS ===============*/
.openbtn {
  position: fixed;
  display: block;
  top: 5px;
  right: 5px;
  margin-right: 10px;
  z-index: 9999;
  /*ボタンを最前面に*/
  cursor: pointer;
  width: 50px;
  height: 50px;
}

/*×に変化*/
.openbtn span {
  display: inline-block;
  transition: all .4s;
  position: absolute;
  left: 14px;
  height: 3px;
  border-radius: 2px;
  background-color: #333;
  width: 45%;
}

.openbtn span:nth-of-type(1) {
  top: 15px;
}

.openbtn span:nth-of-type(2) {
  top: 23px;
}

.openbtn span:nth-of-type(3) {
  top: 31px;
}

.openbtn.active span:nth-of-type(1) {
  top: 18px;
  left: 18px;
  transform: translateY(6px) rotate(-45deg);
  width: 30%;
}

.openbtn.active span:nth-of-type(2) {
  opacity: 0;
}

.openbtn.active span:nth-of-type(3) {
  top: 30px;
  left: 18px;
  transform: translateY(-6px) rotate(45deg);
  width: 30%;
}

/*過去のスマホナビゲーション*/
.sp_navi {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 62px;
  font-size: 18px;
  font-weight: bold;
  z-index: 9998;
}

.sp_navi dt a {
  display: block;
  width: 42px;
  height: 42px;
  position: absolute;
  top: 9px;
  right: 10px;
  z-index: 9999999;
}

nav li {
  max-width: 300px;
  margin: 0 auto;
  text-align: center;
  border-left: none;
}

nav li:last-child {
  border-right: none;
}

.menu-btn {
  color: #333;
  cursor: pointer;
  z-index: 100;
  background-color: #FFFFFF;
  max-width: 42px;
  width: 42px;
}

.menu-btn i {
  display: block;
  font-size: 24px;
  text-align: center;
}

.menu-btn span {
  display: block;
  padding: 0 0 10px 0;
  font-size: 10px;
  text-align: center;
}

.open {
  transition: all .5s;
  visibility: visible;
  opacity: 1;
  z-index: 10;
}

.menu-btn span::after {
  content: attr(data-txt-menu);
}

.open span::after {
  content: attr(data-txt-close);
}

.menu-btn.close {
  background-color: #fff;
  color: #333;
}

.img {
  max-width: 100%;
}

/* mainここから */

.title_topics {
  padding-bottom: 40px;
  text-align: center;
}

.title_topics p {
  text-align: center;
  font-size: 14px;
}

.topics_img {
  display: flex;
  justify-content: center;
}

.topics_img img {
  width: 87%;
}

.title_topics h2 {
  padding-bottom: 40px;
  font-size: 24px;
}

h5 {
  padding-bottom: 18px;
}

#section_topics {
  display: flex;
  flex-direction: column;
  font-family: Arial;
  padding: 80px 24px 80px;
}

#covid-19 {
  background-image: url(../images/covid19_bg.jpg);
  background-repeat: repeat;
  background-position: center left;
  object-fit: cover;
  padding: 80px 24px 80px;
}

#covid-19 h2 {
  font-size: 20px;
  text-align: center;
  color: #333;
}

#covid-19 p {
  color: #333;
  font-size: 14px;
  padding-top: 24px;
  padding-bottom: 24px;
}

#section_medical {
  background-color: #EEFAFC;
}

#section_medical h2 {
  text-align: center;
  padding-top: 80px;
  font-size: 20px;
}

.section_medical__img {
  padding: 40px 24px 80px;
}

.section_medical__img li {
  text-align: center;
  list-style: none;
}

.section_medical__img img {
  max-width: 240px;
  width: 100%;
  text-align: center;
}

.title_medical__care {
  display: flex;
  justify-content: center;
  padding-top: 24px;
}

.detail_img {
  text-align: center;
}

.detail_img img {
  max-width: 160px;
  width: 100%;
  padding-bottom: 0px;
}


#section_free__treatment {
  background-image: url("../images/blue_bg_img.jpg");
  object-fit: cover;
  list-style: none;
}

.title_free__treatment {
  text-align: center;
  padding: 80px 24px 0px 24px;
  font-size: 16px;
}

.free_treatment {
  padding: 60px 24px 80px;
}

.title_free__img li {
  text-align: center;
  padding-bottom: 60px;
  max-width: 240px;
  width: 100%;
  margin: 0 auto;
  list-style: none;
}

.title_free__txt {
  font-size: 16px;
  text-align: left;
  padding-bottom: 60px;
}

.title_free__pic img {
  width: 100%;
  max-width: 160px;
  height: auto;
}

.title_free__pic {
  text-align: center;
}

.section_advice__topics {
  text-align: center;
}

#section_advice h2 {
  text-align: center;
  margin-top: 20px;
}

#section_advice ul li {
  text-align: center;
  padding-bottom: 30px;
  margin-top: 20px;
}

.section_advice__img li {
  list-style: none;
}

.section_advice__img p {
  text-align: left;
}

#section_access {
  background-color: #fff;
}

#section_access h2 {
  text-align: center;
  font-size: 20px;
  padding-top: 60px;
  padding-bottom: 60px;
}

.section_advice__txt img {
  width: 250px;
}

.section_advice__img img {
  width: 250px;
  text-align: center;
}


iframe {
  max-width: 100%;
}

.back_icon {
  text-align: right;
}

.back_icon img {
  width: 24%;
  padding-top: 80px;
}

/*footer*/
#footer_sentense {
  background-color: #6ec8da;
  padding-top: 40px;
  text-align: center;
}

.footer_nav img {
  max-width: 300px;
  width: 100%;
}

.footer_txt {
  color: #FFF;
  line-height: 1.8;
  padding-top: 24px;
  padding-bottom: 24px;
}

.dl_txt {
  color: #FFF;
  padding-bottom: 24px;
}

.dl_txt dd {
  padding-bottom: 10px;
}

.tel,
.fax {
  color: #FFF;
  padding-left: 8px;
}

small {
  color: #FFF;
  text-align: center;
}

.small_area {
  padding-bottom: 24px;
}


/*PC*/
@media (min-width: 768px) {

  /* ナビゲーション */
  .nav_arrow {
    display: block;
  }

  /*変えた*/
  .openbtn {
    display: none;
  }

  nav {
    width: 100%;
    z-index: 9999;
  }

  nav {
    display: block;
  }

  .nav_arrow {
    background-image: url("../images/polygon.png");
    background-repeat: no-repeat;
    background-position: center top 45px;
    background-size: 10px;
  }

  nav ul {
    max-width: 100%;
    text-align: center;
    display: flex;
  }

  nav li {
    display: inline-block;
    position: relative;
  }

  nav li a {
    display: table;
    padding: 0 21px 0 23px;
    vertical-align: middle;
    color: #333333;
    font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
    font-size: 16px;
    font-weight: 400;
    text-align: center;
    letter-spacing: 1px;
    height: 50px;
    margin-bottom: 10px;
  }

  a {
    text-decoration: none;
  }

  ul,
  li {
    list-style: none;
    margin: 0;
  }

  .nav_arrow em {
    color: #0a49f8;
    font-family: Arial, bold;
  }

  /*main*/
  .clinic_detail__waiting {
    text-align: center;
  }

  .title_topics h2 {
    font-size: 28px;
  }

  .title_covid {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  #covid-19 h2 {
    font-size: 28px;
  }

  #covid-19 p {
    text-align: center;
    font-size: 20px;
  }

  #section_topics {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 0 auto;
    max-width: 960px;
    padding-top: 120px;
    padding-bottom: 160px;
  }

  .title_topics {
    line-height: 1.5;
  }

  .title_topics h5 {
    text-align: center;
    font-size: 24px;
  }

  .title_topics p {
    text-align: left;
    font-size: 16px;
  }

  .topics_img img {
    width: 70%;
  }

  .medical_pic__img li img {
    width: 366.29px;
    height: 335.54px;
  }

  .detail_img img {
    width: 100%;
    max-width: 320px;
    height: auto;
    padding-bottom: 160px;
  }

  .title_free__img {
    display: flex;
    justify-content: space-around;
    padding-bottom: 80px;
    margin: 0 auto;
    gap: 40px;
  }

  .title_free__img li {
    padding-bottom: 0px;
    max-width: 320px;
    width: 100%;
  }

  .title_free__txt {
    text-align: left;
    padding-bottom: 80px;
    margin: 0 auto;
    max-width: 720px;
  }

  .blurTrigger {
    display: flex;
    justify-content: center;
  }

  .title_free__treatment {
    padding-top: 120px;
    font-size: 24px;
  }

  .free_treatment {
    padding: 80px 160px 160px;
  }

  .title_free__pic {
    text-align: center;
  }

  .title_free__pic img {
    width: 100%;
    max-width: 320px;
    height: auto;
  }

  #section_medical h2 {
    padding-top: 120px;
    font-size: 24px;
  }

  .section_medical__img {
    padding: 80px 160px 0px 160px;
  }

  .title_medical__care {
    font-size: 24px;
    padding-top: 40px;
  }

  .section_advice__topics img {
    width: 100%;
  }

  .section_advice__img li {
    margin-left: 120px;
  }

  .section_advice__txt img {
    height: auto;
  }

  .section_advice__txt h2 {
    width: 450px;
    height: 100px;
    margin-left: 250px;
    padding-top: 60px;
  }

  #section_access h2 {
    padding-top: 80px;
    padding-bottom: 80px;
    font-size: 28px;
  }

  .back_icon img {
    width: 12%;
    padding-top: 120px;
  }

  /*footer*/
  #footer_sentense {
    padding-top: 80px;
  }

  .footer_nav {
    display: flex;
    justify-content: space-around;
    padding-bottom: 40px;
  }

  .footer_nav img {
    min-height: 60px;
    height: 100%;
  }


  .footer_txt {
    margin: 0;
    padding: 0;
  }


  .dl_txt dd {
    padding-top: 8px;
    padding-bottom: 20px;
  }

  small {
    text-align: center;
  }
}