@charset "UTF-8";
/*
  /rakurakucloud/mailmarketing/asset/css/object/module/m-casestudy.css
  導入事例用CSS
*/
.m-casestudy-item {
  border-radius: 10px;
  background-color: var(--white);
  padding: 24px 45px 20px;
  @media screen and (max-width: 600px) {
    padding: 10px 10px 20px;
  }
}
.m-casestudy-item-title {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 700;
  min-height: 76px;
  @media screen and (max-width: 1024px) {
    min-height: inherit;
  }
  @media screen and (max-width: 600px) {
    font-size: 16px;
  }
}
.m-casestudy-item__image-wrap {
  margin: 0 0 16px;
  border-radius: 10px;
  overflow: hidden;
}
.m-casestudy-item__image {
  display: block;
  width: 100%;
  height: auto;
}
.m-casestudy-item__text {
  font-size: 18px;
  text-align: center;
  @media screen and (max-width: 600px) {
    font-size: 14px;
  }
}
.m-casestudy-item__content-wrap {
  display: grid;
  grid-template-columns: 130px 1fr;
  align-items: center;
  margin: 20px 0 0 0;
  &:last-of-type {
    .m-casestudy-item__content-title {
      color: var(--rmailmarketing-dark);
    }
    .m-casestudy-item__content-text {
      &::before {
        content: "";
        background: var(--rmailmarketing-dark);
      }
    }
  }
  @media screen and (max-width: 600px) {
    grid-template-columns: 1fr;
    margin: 10px 0 0 0;
  }
}
.m-casestudy-item__content-title {
  margin: 0;
  padding: 5px 10px;
  white-space: nowrap;
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-03);
}
.m-casestudy-item__content-list {
  padding: 5px 10px;
  border-left: 1px solid var(--gray-bg-01);
  @media screen and (max-width: 600px) {
    border-left: none;
  }
}
.m-casestudy-item__content-text {
  margin: 0;
  padding: 0 0 0 27px;
  position: relative;
  font-size: 14px;
  &::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gray-06);
    @media screen and (max-width: 600px) {
      left: 0;
    }
  }
  &:not(:last-of-type) {
    margin: 0 0 10px;
  }
  @media screen and (max-width: 600px) {
    padding: 0 0 0 20px;
  }
}

/* slick */
.js-slick-slider-casestudy .slick-slide {
  opacity: 0.5;
  transition: all 0.3s ease;
  @media screen and (max-width: 1024px) {
    opacity: 1;
  }
}
.js-slick-slider-casestudy .slick-center {
  opacity: 1;
}
.m-casestudy .slick-prev,
.m-casestudy .slick-next {
  width: 45px;
  height: 45px;
  position: absolute;
  top: 42%;
  display: block;
  z-index: 10;
  @media screen and (max-width: 840px) {
    top: 34%;
    width: 30px;
    height: 30px;
  }
  &::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 45px;
    height: 45px;
    border-radius: 30px;
    background-color: var(--rmailmarketing-dark);
    @media screen and (max-width: 840px) {
      width: 30px;
      height: 30px;
    }
  }
  &::after {
    position: absolute;
    z-index: 10;
    display: block;
    content: "";
    width: 15px;
    height: 15px;
    border-bottom: 2px solid var(--white);
    border-left: 2px solid var(--white);
    transition: all ease 0.3s;
    @media screen and (max-width: 840px) {
      width: 10px;
      height: 10px;
    }
  }
}
.m-casestudy .slick-next {
  right: 259px;
  @media screen and (max-width: 1024px) {
    right: 2%;
  }
  @media screen and (max-width: 840px) {
    right: 0;
  }
  &::after {
    top: 15px;
    right: 18px;
    transform: rotate(-135deg);
    @media screen and (max-width: 840px) {
      top: 10px;
      right: 11px;
    }
  }
}
.m-casestudy .slick-prev {
  left: 259px;
  @media screen and (max-width: 1024px) {
    left: 2%;
  }
  @media screen and (max-width: 840px) {
    left: 0;
  }
  &::after {
    top: 15px;
    left: 18px;
    transform: rotate(45deg);
    @media screen and (max-width: 840px) {
      top: 10px;
      left: 11px;
    }
  }
}
.m-casestudy .slick-dots {
  bottom: -35px;
  li {
    width: 8px;
    height: 8px;
    margin: 4px;
    button {
      width: 8px;
      height: 8px;
      &::before {
        content: "";
        width: 8px;
        height: 8px;
        border-radius: 4px;
        background: var(--rmailmarketing-dark);
        opacity: 0.2;
      }
    }
    &.slick-active button:before {
      background: var(--rmailmarketing-dark);
      opacity: 1;
    }
  }
}
.m-casestudy__controls {
  position: relative;
  top: -29px;
  left: -100px;
  display: flex;
  justify-content: center;
  align-items: center;
  @media screen and (max-width: 600px) {
    left: -120px;
  }
}
.m-casestudy__toggle {
  position: relative;
  width: 46px;
  height: 46px;
  border: none;
  background: url(/rakurakucloud/mailmarketing/asset/image/common/icon/icon-pause-gray.svg) no-repeat center center;
  background-size: 46px 46px;
  cursor: pointer;
  padding: 0;
}

.m-casestudy__toggle.is-paused {
  background: url(/rakurakucloud/mailmarketing/asset/image/common/icon/icon-play-blue.svg) no-repeat no-repeat center center;
}
/* アクセシビリティ用フォーカス */
.m-casestudy__toggle:focus-visible {
  outline: 3px solid var(--rmailmarketing-dark);
  outline-offset: 4px;
}

/* カルーセルなしの導入事例（spカルーセルあり） */
.m-casestudy-static {
  padding: 50px 20px;
  @media screen and (max-width: 840px) {
    padding: 40px 20px 0;
  }
}
.m-casestudy-static__inner {
  max-width: 1200px;
  margin: 0 auto;
}
.m-casestudy-static-list {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: stretch;
  @media screen and (max-width: 840px) {
    flex-direction: column;
    min-height: 480px;
  }
}
.m-casestudy-static-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--gray-bg-01);
  padding: 0 20px;
  gap: 20px 0;
  @media screen and (max-width: 840px) {
    border: none;
    padding: 0;
    gap: 20px;
  }
}
.m-casestudy-static-item:first-child {
  border-left: none;
  padding-left: 0;
}
.m-casestudy-static__item:last-child {
  padding-right: 0;
}
.m-casestudy-static-title {
  font-size: 20px;
  font-weight: bold;
  line-height: 1.5;
  min-height: 100px;
  @media screen and (max-width: 840px) {
    min-height: auto;
  }
}
.m-casestudy-static__image-wrap {
  width: 100%;
}
.m-casestudy-static__image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}
.m-casestudy-static__company-name {
  text-align: center;
  font-size: 20px;
  font-weight: bold;
}
.m-casestudy-static__content {
  display: flex;
  flex-direction: column;
  gap: 20px 0;
}
.m-casestudy-static__row {
  display: flex;
  font-size: 0.9rem;
}
.m-casestudy-static__label {
  flex: 0 0 70px;
  color: var(--gray-03);
  font-weight: bold;
  font-size: 16px;
  border-right: 1px solid var(--gray-bg-01);
}
.m-casestudy-static__detail {
  flex: 1;
  margin-left: 10px;
}
.m-casestudy-static-sublist {
  list-style: none;
  padding: 0 0 0 10px;
}
.m-casestudy-static-subitem {
  position: relative;
  padding-left: 15px;
  margin: 0 0 5px;
  line-height: 1.4;
  &::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #ccc;
  }
}
.m-casestudy-static-subitem--blue::before {
  background-color: var(--rmailmarketing-dark);
}
/* slick */
.m-casestudy-static .slick-dotted.slick-slider {
  margin: 0 0 50px;
}
.m-casestudy-static .slick-initialized .slick-slide {
  display: flex;
  flex-direction: column;
}
.js-slick-casestudy-static .slick-slide {
  opacity: 0.5;
  transition: all 0.3s ease;
  @media screen and (max-width: 1024px) {
    opacity: 1;
  }
}
.js-slick-casestudy-static .slick-center {
  opacity: 1;
}
.m-casestudy-static .slick-prev,
.m-casestudy-static .slick-next {
  width: 45px;
  height: 45px;
  position: absolute;
  top: 42%;
  display: block;
  z-index: 10;
  @media screen and (max-width: 600px) {
    top: 34%;
    width: 25px;
    height: 25px;
  }
  &::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 45px;
    height: 45px;
    border-radius: 30px;
    background-color: var(--rmailmarketing-dark);
    @media screen and (max-width: 600px) {
      width: 30px;
      height: 30px;
    }
  }
  &::after {
    position: absolute;
    z-index: 10;
    display: block;
    content: "";
    width: 15px;
    height: 15px;
    border-bottom: 2px solid var(--white);
    border-left: 2px solid var(--white);
    transition: all ease 0.3s;
    @media screen and (max-width: 600px) {
      width: 8px;
      height: 8px;
    }
  }
}
.m-casestudy-static .slick-next {
  right: 259px;
  @media screen and (max-width: 1024px) {
    right: 2%;
  }
  @media screen and (max-width: 600px) {
    right: 0;
  }
  &::after {
    top: 15px;
    right: 18px;
    transform: rotate(-135deg);
    @media screen and (max-width: 600px) {
      top: 11px;
      right: 7px;
    }
  }
}
.m-casestudy-static .slick-prev {
  left: 259px;
  @media screen and (max-width: 1024px) {
    left: 2%;
  }
  @media screen and (max-width: 600px) {
    left: 0;
  }
  &::after {
    top: 15px;
    left: 18px;
    transform: rotate(45deg);
    @media screen and (max-width: 600px) {
      top: 11px;
      left: 12px;
    }
  }
}
.m-casestudy-static .slick-dots {
  bottom: -50px;
  li {
    width: 8px;
    height: 8px;
    margin: 4px;
    button {
      width: 8px;
      height: 8px;
      &::before {
        content: "";
        width: 8px;
        height: 8px;
        border-radius: 4px;
        background: var(--rmailmarketing-dark);
        opacity: 0.2;
      }
    }
    &.slick-active button:before {
      background: var(--rmailmarketing-dark);
      opacity: 1;
    }
  }
}
