@charset "utf-8";

html.fp-enabled,
html.fp-enabled body {
  height: 100%;
  overflow: hidden;
}

html.fp-enabled body {
  overscroll-behavior: none;
}

html.fp-enabled #container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  margin: 0;
  z-index: 1;
}

html.fp-enabled .main {
  float: none;
  width: 100%;
  margin: 0;
}

html.fp-enabled section.stageBase {
  box-sizing: border-box;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  position: relative;
  overflow: hidden;
  height: calc(var(--fp-vh, 1vh) * 100);
}

html.fp-enabled .section_inner,
html.fp-enabled #sec_mv .section_inner {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  height: 100%;
  overflow: visible;
}

#pageNav {
  top: 50%;
  right: 14px;
  width: 16px;
  margin: 0;
  padding: 0;
  transform: translateY(-50%);
  position: fixed;
  z-index: 20;
}

#pageNav ul {
  width: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#pageNav ul li {
  width: 12px;
  height: 12px;
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
}

#pageNav ul li a {
  width: 8px;
  height: 8px;
  display: block;
  border: 1px solid #ccc;
  border-radius: 50%;
  background: transparent;
  text-indent: -999px;
  overflow: hidden;
}

#pageNav ul li.activeStage a {
  border-color: #e8381b;
  background-color: rgba(232, 56, 27, 0.85);
}

#pageDown {
  left: 0;
  bottom: 10px;
  width: 100%;
  height: 36px;
  margin: 0;
  text-align: center;
  position: fixed;
  z-index: 20;
  pointer-events: none;
}

#pageDown a {
  width: 14px;
  height: 14px;
  margin: 0 auto;
  display: block;
  border-right: 2px solid #e8381b;
  border-bottom: 2px solid #e8381b;
  transform: rotate(45deg);
  pointer-events: auto;
}

@media screen and (max-width: 768px) {
  html.fp-enabled .section_inner,
  html.fp-enabled #sec_mv .section_inner {
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  html.fp-enabled #sec_mv .page_container .lang {
    position: fixed;
    top: 8px;
    right: 8px;
    left: auto;
    z-index: 30;
    margin: 0;
  }

  html.fp-enabled #sec_mv .banner {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 28px;
    width: auto;
    text-align: center;
  }

  html.fp-enabled #sec_mv .banner img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  #pageNav {
    right: 6px;
  }

  #pageNav ul li {
    margin-bottom: 6px;
  }

  html.fp-enabled .page_container {
    box-sizing: border-box;
    max-width: 100%;
  }

  html.fp-enabled img {
    max-width: 100%;
  }

  html.fp-enabled .logo img,
  html.fp-enabled #sec_mv h1 img {
    width: auto;
    max-width: 70%;
  }

  html.fp-enabled #sec_network .clinic_ul li img,
  html.fp-enabled #sec_okinawa .photo ul li img,
  html.fp-enabled #sec_mri .image_wrap li img,
  html.fp-enabled #sec_pet .img02 ul li img {
    max-width: 100%;
    height: auto;
  }
}

@media screen and (max-width: 768px) and (max-height: 700px) {
  html.fp-enabled h1 {
    font-size: 22px;
  }

  html.fp-enabled h2 {
    font-size: 16px;
  }

  html.fp-enabled #sec_pet .img02 {
    height: auto;
    min-height: 180px;
  }
}
