@charset "UTF-8";

/* ==========================================================================
   footer.css
   ========================================================================== */

.f-l__footer {
  border-top: 1px solid #FFF;
  padding: 30px 0;
  @media screen and (max-width: 860px) {
    padding: 20px 10px;
  }
  @media screen and (max-width: 576px) {
    padding: 20px 0;
  }
}

.f-l__footer-head {
  padding: 0 0 30px;
  @media screen and (max-width: 576px) {
    padding: 0 0 20px;
  }
}

.f-l__footer-head_title {
  display: flex;
  padding: 0 0 20px;
  border-bottom: 1px solid var(--gray-bg-01);
  justify-content: space-between;
  @media screen and (max-width: 576px) {
    padding: 0 0 15px;
  }
}

.f-l__footer-head_title a {
  display: block;
  width: 152px;
  height: 48px;
  @media screen and (max-width: 576px) {
    width: 115px;
    height: 35px;
  }
}

.f-l__footer-head_title a img {
  width: 100%;
  height: auto;
}

.f-l__footer-head_title p {
  height: 48px;
  display: grid;
  align-items: flex-end;
  text-align: right;
  @media screen and (max-width: 576px) {
    height: 35px;
    font-size: 12px;
  }
}

.f-l__footer-head_tel {
  padding: 20px 0 0;
  @media screen and (max-width: 576px) {
    padding: 15px 0 0;
  }
}

.f-l__footer-head_tel_list {
  display: flex;
  justify-content: right;
  @media screen and (max-width: 576px) {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
  }
}

.f-l__footer-head_tel_item {
  margin-left: 15px;
  @media screen and (max-width: 576px) {
    width: 50%;
    margin: 0 0 10px;
  }
}

.f-l__footer-head_tel_place {
  display: inline-block;
  background-color: var(--rmeisai-primary);
  color: #FFF;
  padding: 2px 6px 1px;
  text-align: center;
  border-radius: 15px;
  font-size: 12px;
  @media screen and (max-width: 576px) {
    width: 50px;
  }
}

.f-l__footer-head_tel_number {
  display: inline-block;
  font-size: 14px;
  padding: 0 0 0 3px;
}

.f-l__footer-head_tel_number a {
  color: var(--black);
  text-decoration: none;
}

.f-l__footer-head_team {
  color: var(--rmeisai-primary);
  font-weight: 700;
  @media screen and (max-width: 576px) {
    margin-bottom: 15px;
  }
}

.f-l__footer-link {
  padding: 20px 0;
  display: flex;
  @media screen and (max-width: 576px) {
    display: block;
    padding: 0 0 20px;
    overflow: hidden;
  }
}

.f-l__footer-link_list {
  margin-right: 15px;
  @media screen and (max-width: 576px) {
    width: 49%;
    float: left;
  }
  @media screen and (max-width: 576px) {
    margin-right: 0;
  }
  &:last-child {
    margin: 0;
  }
}

.f-l__footer-link_list a {
  display: block;
  position: relative;
  padding: 0 0 10px 15px;
  font-size: 14px;
  color: var(--black);
  text-decoration: none;
  @media screen and (max-width: 576px) {
    padding: 0 0 7px 12px;
    font-size: 12px;
  }
  &:before {
    position: absolute;
    z-index: 1;
    display: block;
    content: "";
    width: 8px;
    height: 8px;
    top: 5px;
    left: 0;
    margin: auto;
    transform: rotate(45deg);
    transition: all ease .3s;
    border-top: 2px solid var(--rmeisai-primary);
    border-right: 2px solid var(--rmeisai-primary);
    @media screen and (max-width: 576px) {
      width: 6px;
      height: 6px;
      top: 4px;
    }
  }
  &:hover {
    color: var(--rmeisai-primary);
  }
}

.f-l__footer-link_list_inner {
  width: 430px;
  display: flex;
  @media screen and (max-width: 576px) {
    width: 100%;
  }
}

.f-l__footer-link_list_sub {
  padding: 0 0 0 15px;
  @media screen and (max-width: 576px) {
    padding: 0 0 10px 15px;
  }
}

.f-l__footer-link_list_sub li {
  padding: 0 0 7px;
  @media screen and (max-width: 576px) {
    padding: 0 0 7px;
  }
}

.f-l__footer-link_list_sub li a {
  font-size: 12px;
  padding: 0 0 0 10px;
  @media screen and (max-width: 576px) {
    font-size: 10px;
    padding: 0 0 0 10px;
  }
  &:before {
    position: absolute;
    z-index: 1;
    display: block;
    content: "";
    width: 6px;
    height: 6px;
    top: 3px;
    left: 0;
    margin: auto;
    transform: rotate(180deg);
    transition: all ease .3s;
    border-top: 2px solid var(--gray-08);
    border-right: 2px solid var(--gray-08);
    @media screen and (max-width: 576px) {
      width: 5px;
      height: 5px;
      border-top: 1px solid var(--gray-08);
      border-right: 1px solid var(--gray-08);
    }
  }
}

.f-l__footer-link_list_sub._width_170 {
  width: 170px;
  @media screen and (max-width: 576px) {
    width: 45%;
  }
}

.f-l__footer-link_list_sub._width_260 {
  width: 260px;
  @media screen and (max-width: 576px) {
    width: 55%;
  }
}

.f-l__footer-cta {
  display: flex;
  justify-content: center;
  text-align: center;
}

.f-l__footer-cta .o-c__btn-link._orange {
  margin: 0px 10px;
  @media screen and (max-width: 576px) {
    min-width: 50px;
    margin: 0px 5px;
    padding: 15px 30px 12px 20px;
  }
}

#floating_pagetop {
  position: relative;
  display: block;
  width: 50px;
  height: 50px;
  position: fixed;
  right: 20px;
  bottom: -60px;
  z-index: 950;
  padding: 0.75em 0.8em;
  background: var(--rmeisai-primary);
  border: 2px solid #fff;
  border-radius: 10px;
  opacity: 0.8;
  text-align: center;
  -webkit-transition: bottom 0.25s cubic-bezier(1, 0, 0, 1);
  transition: bottom 0.25s cubic-bezier(1, 0, 0, 1);
  @media screen and (max-width: 767px) {
    right: 10px;
  }
  &:hover {
    opacity: 0.5;
  }
  &:after {
    position: absolute;
    z-index: 1;
    display: block;
    content: "";
    width: 12px;
    height: 12px;
    top: 50%;
    left: 50%;
    bottom: auto;
    margin: auto;
    transform: translateY(-30%) translateX(-50%) rotate(-45deg);
    transition: all ease .3s;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
  }
}

.show_floater_pagetop #floating_pagetop {
  bottom: 20px;
  @media screen and (max-width: 1024px) {
    bottom: 6em;
  }
  @media screen and (max-width: 768px) {
    bottom: 110px;
  }
  @media screen and (max-width: 576px) {
    bottom: 6em;
  }
}
