@charset "utf-8";
main * {
  box-sizing: border-box;
}
@media screen and (max-width: 767px) {
  main * {
    font-feature-settings: "palt";
    letter-spacing: 0.1em;
  }
}

.inner {
  width: calc(100% - 40px);
  margin-inline: auto;
}

sup {
  vertical-align: top;
  font-size: 12px;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 3em;
}

/* views */
.spView,
.spViewInb,
.tbView {
  display: none !important;
}
@media only screen and (max-width: 991px) {
  .tbView {
    display: block !important;
  }
}
@media only screen and (max-width: 768px) {
  .spView {
    display: block !important;
  }
  .spViewInb {
    display: inline-block !important;
  }
  .pcView {
    display: none !important;
  }
}

#btn_backTop {
  display: block;
  aspect-ratio: 1/1;
  width: 20%;
  max-width: 60px;
  max-height: 60px;
  position: fixed;
  right: 40px;
  bottom: 40px;
  z-index: 999;
  transition: opacity 0.8s;
}
#btn_backTop:not(.-act) {
  opacity: 0 !important;
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  user-select: none !important;
  pointer-events: none !important;
}
#btn_backTop.-act {
  opacity: 1 !important;
}
@media screen and (max-width: 767px) {
  #btn_backTop {
    width: 18vw;
    right: 0;
    bottom: 0;
    padding: 2vw;
  }
}

.js-scroll-trigger.-cmn {
  transition:
    transform 1s cubic-bezier(0.1, 0.66, 0.38, 0.88),
    opacity 1s cubic-bezier(0.1, 0.66, 0.38, 0.88);
  opacity: 0;
  transform: translateY(-40px);
}
.js-scroll-trigger.-cmn.-up {
  transform: translateY(40px);
}

.js-scroll-trigger.-cmn.is-active {
  opacity: 1;
  transform: translate(0, 0);
}

@keyframes fuwafuwa {
  0% {
    transform: translateY(-5%);
  }
  100% {
    transform: translateY(5%);
  }
}
@keyframes fuwafuwaX {
  0% {
    transform: translateX(4%);
  }
  100% {
    transform: translateX(-4%);
  }
}

/* pageNav
====================================== */
.pageNav {
  color: #fff;
  background-color: #efefef;
  padding: 15px 0;
}
.list_pageNav {
  width: calc(100% - 40px);
  max-width: 1100px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}
.list_item {
  position: relative;
  width: 100%;
  height: 46px;
  background-color: #fff;
  color: #765649 !important;
  border-radius: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.4s;
}
.list_item span {
  text-align: center;
  font-size: 19px;
  letter-spacing: -0.02em;
  line-height: 1.2;
  font-weight: 500;
  padding-bottom: 2px;
  display: flex;
  align-items: center;
}
.list_item span .cs {
  font-size: 14px;
  padding-bottom: 0;
  
}
.list_item.flowchart span {
  font-size: 16px;
}
.list_item::after {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 12px;
  margin: auto;
  content: "";
  width: 8px;
  height: 8px;
  border-top: 1px solid #765649;
  border-right: 1px solid #765649;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  transition: 0.4s;
}
.list_item.flowchart::after,
.list_item.lineup::after {
  right: 8px;
}
.list_item.column_list {
  pointer-events: none;
  background-color: #d1d1d1;
}
.list_item.column_list::after {
  content: none;
}
.list_item:hover {
  background-color: #765649;
  color: #fff !important;
  opacity: 1 !important;
}
.list_item:hover::after {
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
}

@media only screen and (max-width: 1024px) {
  .list_pageNav {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media only screen and (max-width: 768px) {
  .pageNav {
    position: relative;
    padding-top: 52px;
    overflow: visible;
  }
  .pageNav {
    color: #fff;
    background-color: #efefef;
    padding: 24px 0;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 0px 30px;
  }
  /* .pageNav::before {
    content: "MENU";
    position: absolute;
    left: 50%;
    top: -29px;
    transform: translateX(-50%);
    width: 164px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #efefef;
    color: #765649;
    font-size: 16px;
    letter-spacing: 0.12em;
    font-weight: bold;
    -webkit-clip-path: polygon(12% 0, 88% 0, 100% 100%, 0 100%);
    clip-path: polygon(12% 0, 88% 0, 100% 100%, 0 100%);
    z-index: 2;
  } */
  .pageNav::after {
    content: "";
    position: absolute;
    left: calc(50% + 38px);
    top: -20px;
    transform: rotate(45deg);
    width: 8px;
    height: 8px;
    border-right: 2px solid #765649;
    border-bottom: 2px solid #765649;
    z-index: 3;
  }

  .list_pageNav {
    width: calc(100% - 60px);
    max-width: 1000px;
    margin-inline: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .list_item {
    position: relative;
    width: 100%;
    height: 46px;
    background-color: #fff;
    color: #765649;
    border-radius: 100px;
    padding-inline: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.4s;
  }
  .list_item span {
    text-align: center;
    font-size: 15px;
    letter-spacing: 0.04em;
    line-height: 1.2;
  }
  .list_item::after {
    content: none;
  }
}

/* ======================
   SP bottom fixed menu
====================== */
.pageNav_tab {
  display: none;
}

@media only screen and (max-width: 768px) {
  .pageNav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    border-top: 10px solid #ff0000;
    background-color: #efefef;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 0px 30px;
    transform: translateY(calc(100% - 10px));
    transition: transform 0.35s ease;
    padding: 24px 0;
  }
  .pageNav.is-open {
    transform: translateY(0);
  }
  .pageNav::before,
  .pageNav::after {
    content: none !important;
  }
  .pageNav_tab {
    position: absolute;
    left: 50%;
    top: -39px;
    transform: translateX(-50%);
    width: 188px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url("../img/common/tab_shape.png") no-repeat top center /
      contain;
    color: #fff;
    font-size: 16px;
    letter-spacing: 0.12em;
    font-weight: bold;
    border: 0;
    padding: 0;
    cursor: pointer;
    z-index: 2;
  }
  .pageNav_tab::after {
    content: "";
    position: absolute;
    right: 40px;
    top: 16px;
    transform: rotate(-135deg);
    width: 8px;
    height: 8px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transition: transform 0.35s ease;
  }
  .pageNav.is-open .pageNav_tab::after {
    top: 11px;
    transform: rotate(45deg);
  }
  .pageNav_tab {
    -webkit-tap-highlight-color: transparent;
  }
}
#footer .footerMainArea .container {
  padding-bottom: 30px;
}

/* hospitalsmodal
============================================== */
#hospitalsmodal h2 {
  line-height: 1.46;
}
#hospitalsmodal li.vet {
  text-align: center;
  font-weight: bold;
  color: #e60012;
  font-size: 25px;
}
#hospitalsmodal li.vet.black {
  color: #48494a;
}
.guidance-lead {
  color: #e60012;
  text-align: center;
  font-weight: 500;
  line-height: 2 !important;
  letter-spacing: 0.02em; 
  margin-top: 18px; 
}
#hospitalsmodal .linkbtns {
  text-align: center;
}
#hospitalsmodal .linkbtns p {
  margin-top: 10px;
  line-height: 1.4;
}
#hospitalsmodal .innerbox > p.hospitalsmodal_comp {
  font-size: 22px;
  line-height: 1.6;
  text-align: center;
  margin: 24px auto 0;
  font-weight: 500;
}

@media only screen and (max-width: 768px) {
  #hospitalsmodal h2 {
    font-size: 13px;
    font-size: clamp(1.3rem, 0.441rem + 2.29vw, 2.2rem);
  }
  #hospitalsmodal li.vet {
    font-size: 13px;
    font-size: clamp(1.3rem, -0.131rem + 3.817vw, 2.8rem);
  }
  #hospitalsmodal .linkbtns p {
    margin-top: 5px;
  }
  #hospitalsmodal .innerbox > p.hospitalsmodal_comp {
    font-size: 14px;
    margin: 10px auto 0;
  }
}

@media only screen and (max-width:768px) {
  #btn_backTop {
    bottom: 10px;
  }

}