@charset "UTF-8";

/* ==========================================================================
   foundation/layout/footer.css
   ========================================================================== */

.f-l__footer {
  border-top: 1px solid var(--white);
  padding: 30px 0;
  @media screen and (max-width: 576px) {
    padding: 20px 0 50px 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;
  }
  a {
    display: block;
    width: 152px;
    height: 48px;
    @media screen and (max-width: 576px) {
      width: 115px;
      height: 35px;
    }
    img {
      width: 100%;
      height: auto;
    }
  }
  p {
    height: 48px;
    display: grid;
    align-items: flex-end;
    text-align: right;
    @media screen and (max-width: 576px) {
      height: 35px;
      font-size: 12px;
      text-align: left;
    }
  }
}

.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(--rseikyu-primary);
  color: var(--white);
  padding: 2px 6px 1px;
  text-align: center;
  border-radius: 15px;
  font-size: 12px;
  @media screen and (max-width: 576px) {
    min-width: 50px;
  }
}

.f-l__footer-head_tel_number {
  display: inline-block;
  font-size: 14px;
  padding: 0 0 0 3px;
  a {
    color: var(--black);
    text-decoration: none;
  }
}

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

.f-l__footer-link_list {
  margin-right: 180px;
  @media screen and (max-width: 576px) {
    margin-right: 0;
  }
  &:last-child {
    margin: 0;
  }
  &:nth-child(3) {
    @media screen and (max-width: 576px) {
      clear: both;
    }
  }
  &:nth-child(1),
  &:nth-child(2) {
    @media screen and (max-width: 576px) {
      width: 50%;
      float: left;
    }
  }
  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;
    }
    &:hover {
      color: var(--rseikyu-primary);
    }
    &: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 0.3s;
      border-top: 2px solid var(--rseikyu-primary);
      border-right: 2px solid var(--rseikyu-primary);
      @media screen and (max-width: 576px) {
        width: 6px;
        height: 6px;
        top: 4px;
      }
    }
  }
}

.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;
  }
  li {
    padding: 0 0 7px;
    @media screen and (max-width: 576px) {
      padding: 0 0 7px;
    }
    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 0.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;
  @media screen and (max-width: 576px) {
    display: block;
  }
  .o-c__btn-link._orange {
    margin: 0px 10px;
    @media screen and (max-width: 576px) {
      min-width: 250px;
      margin: 0px auto 20px;
      padding: 15px 30px 12px 20px;
    }
    &:last-child {
      @media screen and (max-width: 576px) {
        margin: 0px auto;
      }
    }
  }
}
