@charset "UTF-8";

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

.f-l__footer {
  border-top: 1px solid var(--white);
  padding: 30px 0;
  @media screen and (max-width: 768px) {
    padding: 20px 0;
  }
}

.f-l__footer-head {
  padding: 0 0 30px;
  @media screen and (max-width: 768px) {
    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: flex-start;
  align-items: center;
  @media screen and (max-width: 768px) {
    padding: 0 0 15px;
  }
  a {
    display: block;
    width: 152px;
    height: 48px;
    @media screen and (max-width: 768px) {
      width: 115px;
      height: 35px;
    }
    img {
      width: 100%;
      height: auto;
    }
  }
  .rcloud-logo {
    font-size: 18px;
    line-height: 18px;
    text-indent: 10px;
    font-weight: 700;
    @media screen and (max-width: 768px) {
      font-size: 14px;
      line-height: 14px;
    }
  }
  p {
    height: 48px;
    display: grid;
    align-items: flex-end;
    text-align: right;
    @media screen and (max-width: 768px) {
      height: 35px;
      font-size: 12px;
    }
  }
}

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

.f-l__footer-link_list {
  margin-right: 30px;
  @media screen and (max-width: 768px) {
    margin-right: 0;
  }
  &:first-child {
    white-space: nowrap;
  }
  &:last-child {
    margin: 0;
  }
  &:nth-child(3),
  &:nth-child(4) {
    @media screen and (max-width: 768px) {
      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: 768px) {
      padding: 0 0 7px 12px;
      font-size: 12px;
    }
    &:hover {
      color: var(--rseisan-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 .3s;
      border-top: 2px solid var(--rseisan-primary);
      border-right: 2px solid var(--rseisan-primary);
      @media screen and (max-width: 768px) {
        width: 6px;
        height: 6px;
        top: 4px;
      }
    }
  }
}

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

.f-l__footer-link_list_sub {
  padding: 0 0 0 15px;
  @media screen and (max-width: 768px) {
    padding: 0 0 10px 15px;
  }
  li {
    padding: 0 0 7px;
    @media screen and (max-width: 768px) {
      padding: 0 0 7px;
    }
    a {
      font-size: 12px;
      padding: 0 0 0 10px;
      @media screen and (max-width: 768px) {
        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: 768px) {
          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: 768px) {
    width: 45%;
  }
}

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

.f-l__footer-cta {
  display: flex;
  justify-content: center;
  text-align: center;
  .o-c__btn-link._orange {
    margin: 0px 10px;
    @media screen and (max-width: 768px) {
      min-width: 50px;
      margin: 0px 5px;
      padding: 15px 30px 12px 20px;
    }
  }
}
