@charset "UTF-8";

/*
  /rakurakucloud/asset/css/object/module/m-case.css
  導入事例３カラム
  ※※楽楽クラウド用にルール緩和で作ったものなので流用禁止※※
*/

.o-m__case-list {
  display: flex;
  justify-content: space-between;
  @media screen and (max-width: 600px) {
    padding: 20px 0px;
  }
}

.o-m__case-list_logo {
  max-width: 170px;
  width: auto;
  height: auto;
  max-height: 42px;
}

.o-m__case-list_logo-wrap {
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.o-m__case-list_title {
  display: grid;
  place-content: center;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  color: var(--rcloud-primary);
  padding: 30px 0;
  height: 105px;
  @media screen and (max-width: 600px) {
    height: inherit;
    padding: 20px 0;
  }
}

.o-m__case-list_photo {
  display: block;
  margin: 0 auto;
  width: 310px;
  height: auto;
  border-radius: 10px;
  @media screen and (max-width: 600px) {
    width: 180px;
  }
}

.o-m__case-list_company {
  display: grid;
  place-content: center;
  height: 80px;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  padding: 15px;
  @media screen and (max-width: 600px) {
    font-size: 16px;
    padding: 20px 0 15px;
  }
}

.o-m__case-list_point {
  padding: 0 15px 10px;
  @media screen and (max-width: 600px) {
    padding: 0 0 10px;
  }
}

.o-m__case-list_link {
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: -70px;
  transform: translate(-50%, -50px);
  width: 100%;
  padding: 25px 0 0;
  text-align: center;
  @media screen and (max-width: 1024px) {
    position: inherit;
    left: inherit;
    right: inherit;
    bottom: inherit;
    transform: none;
  }
}

.o-m__case-list_link a {
  color: var(--rcloud-primary);
}

.o-m__case-list_link_link {
  @media screen and (max-width: 600px) {
    padding: 15px 0 0;
  }
}

.o-m__case_item {
  position: relative;
  width: 310px;
}

.o-m__case_item:not(:last-of-type)::after {
  content: '';
  position: absolute;
  right: -6%;
  top: 0;
  width: 1px;
  height: 100%;
  background: #e5e5e5;
  @media screen and (max-width: 1024px) {
    content: none;
  }
}

.o-m__case_item.swiper-slide {
  width: 310px;
  height: 560px;
  @media screen and (max-width: 1024px) {
    height: auto;
  }
}

.o-m__case_link {
  padding: 30px 0 0;
  text-align: center;
  @media screen and (max-width: 600px) {
    padding: 15px 0 0;
  }
}

.o-m__case_pager_box {
  position: absolute;
  height: 0;
  width: 80%;
  padding: 30px 0 0;
  text-align: center;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  @media screen and (max-width: 600px) {
    width: 100%;
  }
}

.o-m__case .swiper-pagination,
.o-m__case .swiper-button-prev,
.o-m__case .swiper-button-next {
  display: none;
  position: absolute;
}

.o-m__case .swiper-container {
  @media screen and (max-width: 1024px) {
    width: 80%;
    margin: 0 auto;
  }
  @media screen and (max-width: 600px) {
    width: 90%;
    margin: 0 auto;
  }
}

.o-m__case .swiper-pagination {
  @media screen and (max-width: 1024px) {
    display: block !important;
    bottom: -25px !important;
  }
}

.o-m__case .swiper-pagination-bullet-active {
  @media screen and (max-width: 1024px) {
    opacity: 1;
    background: var(--rcloud-primary) !important;
  }
}

.o-m__case .swiper-button-prev {
  @media screen and (max-width: 1024px) {
    position: inherit;
    display: block;
    background-image: none !important;
    width: 45px !important;
    height: 45px !important;
    top: 365px !important;
  }
  &::before {
    @media screen and (max-width: 1024px) {
      content: "";
      width: 45px;
      height: 45px;
      border-radius: 30px;
      background-color: var(--rcloud-primary);
      position: absolute;
      left: 0px;
    }
  }
  &::after {
    @media screen and (max-width: 1024px) {
      position: absolute;
      z-index: 1;
      display: block;
      content: "";
      width: 15px;
      height: 15px;
      top: 50%;
      left: 50%;
      bottom: auto;
      margin: auto;
      transform: translateY(-50%) translateX(-30%) rotate(45deg);
      transition: all ease .3s;
      border-bottom: 2px solid white;
      border-left: 2px solid white;
    }
  }
}

.o-m__case .swiper-button-next {
  @media screen and (max-width: 1024px) {
    position: inherit;
    display: block;
    background-image: none !important;
    width: 45px !important;
    height: 45px !important;
    top: 365px !important;
  }
  &::before {
    @media screen and (max-width: 1024px) {
      content: "";
      width: 45px;
      height: 45px;
      border-radius: 30px;
      background-color: var(--rcloud-primary);
      position: absolute;
      right: 0;
    }
  }
  &::after {
    @media screen and (max-width: 1024px) {
      position: absolute;
      z-index: 1;
      display: block;
      content: "";
      width: 15px;
      height: 15px;
      top: 50%;
      left: 50%;
      bottom: auto;
      margin: auto;
      transform: translateY(-50%) translateX(-70%) rotate(45deg);
      transition: all ease .3s;
      border-top: 2px solid white;
      border-right: 2px solid white;
    }
  }
}
