.l_footer_pagetop {
  text-align: right;
  margin-top: 30px;
}
.l_footer_pagetop a {
  font-size: 12px;
  display: inline-block;
  padding: 5px 5px 5px 20px;
  border-radius: 2px;
  border: 1px solid #ccc;
  color: #666;
  background: #fff;
  position: relative;
}
.l_footer_pagetop a::before {
  content: '';
  width: 5px;
  height: 8px;
  background-image: url(/theme2025/clinic/img/icon_arrow.svg);
  transform: rotate(-90deg);
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  top: 36%;
  opacity: .5;
  margin-left: -10px;
}

.l_footer {
  background: #fff;
  margin-top: 20px;
  border-top: 1px solid #ccc;
  padding: 20px 0 40px;
}

.l_footer_nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-size: 0;
}

.l_footer_nav ul li {
  line-height: 1;
  font-size: 13px;
  display: flex;
  align-items: center;
}

.l_footer_nav ul li a {
  color: #666;
}

.l_footer_nav ul li:after {
  content: " | ";
  margin: 0 5px;
}

.l_footer_nav ul li:last-child:after {
  content: none;
}

.l_footer_copyright {
  font-size: 12px;
  color: #999;
  text-align: right;
  margin-top: 15px;
}

@media screen and (max-width:767px) {
  .l_footer {
    margin-top: 0;
    padding: 10px 0 10px;
  }
  .l_footer_pagetop {
    text-align: center;
    margin-top: 0;
    background: #fff;
    padding: 10px 3%;
    border-top: 1px solid #ccc;
  }
  .l_footer_pagetop a {
    width: 100%;
    font-size: 13px;
    display: block;
    padding: 8px 0;
  }

  .l_footer_nav ul {
    justify-content: center;
  }
  .l_footer_nav ul li {
    line-height: 1.2;
    padding: 5px 0;
    font-size: 12px;
  }
  .l_footer_copyright {
    font-size: 10px;
    text-align: center;
    margin-top: 10px;
  }
}

/* appoint_page */
footer a:hover {
  text-decoration: none;
}
@media screen and (max-width:1080px) {
  .l_footer_copyright {
    background: #fff;
    height: unset;
    line-height: unset;
    position: unset;
  }
}
