@charset "UTF-8";

/* ==========================================================================
   case.css
   ========================================================================== */

.o-m__case-list {
  position: relative;
}

.o-m__case-list .swiper-wrapper {
  @media screen and (max-width: 576px) {
    padding: 0 0 30px;
  }
}

.o-m__case-list_slide {
  border-left: 1px solid var(--gray-bg-02);
  padding: 20px;
  @media screen and (max-width: 576px) {
    padding: 20px 0px;
  }
}

.o-m__case-list_slide.swiper-slide-next, .o-m__case-list_slide.swiper-slide-prev {
  opacity: 0.5;
}

.o-m__case-list_slide_logo {
  display: block;
  margin: 0 auto;
  max-width: 170px;
  max-height: 45px;
  width: auto;
  height: auto;
}

.o-m__case-list_slide_title {
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  color: var(--rmeisai-primary);
  padding: 30px 0;
  @media screen and (max-width: 576px) {
    font-size: 14px;
    padding: 20px 0;
  }
}

.o-m__case-list_slide_photo {
  display: block;
  margin: 0 auto;
  width: 300px;
  height: auto;
  @media screen and (max-width: 576px) {
    width: 180px;
  }
}

.o-m__case-list_slide_company {
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  padding: 25px 0 20px;
  @media screen and (max-width: 576px) {
    font-size: 16px;
    padding: 20px 0 15px;
  }
}

.o-m__case-list_slide_company span {
  font-size: 16px;
  @media screen and (max-width: 576px) {
    font-size: 12px;
  }
}

.o-m__case-list_slide_point {
  display: flex;
  margin-bottom: 15px;
  @media screen and (max-width: 576px) {
    display: block;
    margin-bottom: 15px;
    padding: 0 50px;
  }
}

.o-m__case-list_slide_point span {
  font-size: 18px;
  font-weight: 700;
  color: var(--rmeisai-primary);
  min-width: 150px;
  display: grid;
  place-items: center;
  @media screen and (max-width: 576px) {
    font-size: 16px;
    min-width: 0px;
    display: block;
    place-items: left;
  }
}

.o-m__case-list_slide_point ul {
  border-left: 1px solid var(--rmeisai-primary);
  padding: 5px 0 2px 15px;
  @media screen and (max-width: 576px) {
    border: none;
    padding: 5px 0 2px 5px;
  }
}

.o-m__case-list_slide_point ul li {
  position: relative;
  line-height: 24px;
  padding: 0 0 0 20px;
  @media screen and (max-width: 576px) {
    position: relative;
    line-height: 24px;
    padding: 0 0 0 20px;
    font-size: 12px;
  }
  &:before {
    content: "";
    width: 8px;
    height: 8px;
    background-color: var(--rmeisai-primary);
    border-radius: 5px;
    position: absolute;
    left: 0;
    top: 6px;
    @media screen and (max-width: 576px) {
      content: "";
      width: 10px;
      height: 7px;
      border-radius: 0;
      background: none;
      border-top: solid 2px var(--rmeisai-primary);
      border-right: solid 2px var(--rmeisai-primary);
      display: block;
      position: absolute;
      transform: rotate(135deg);
    }
  }
}

.o-m__case-list_slide_link {
  padding: 25px 0 0;
  text-align: center;
  @media screen and (max-width: 576px) {
    padding: 15px 0 0;
  }
}

.o-m__case-pager_box {
  position: absolute;
  height: 0;
  width: 39.7%;
  padding: 30px 0 0;
  text-align: center;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  @media screen and (max-width: 1024px) {
    width: 60%;
  }
  @media screen and (max-width: 576px) {
    width: 100%;
  }
}

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

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

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

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

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