@charset "UTF-8";
/*
  /rakurakucloud/mailmarketing/asset/css/object/module/m-effect.css
  導入効果モジュール用CSS
*/
.m-effect {
  position: relative;
  @media screen and (max-width: 1280px) {
    padding: 0 15px;
  }
  @media screen and (max-width: 840px) {
    padding: 0;
  }
}
.m-effect-button {
  margin: 0 0 1px;
  @media screen and (max-width: 840px) {
    .js-slick-effect-button {
      display: none;
    }
  }
}
.m-effect-button__text {
  position: relative;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  padding: 10px 0 25px;
  transition: all 0.3s;
  &:after {
    position: absolute;
    content: "";
    display: block;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--gray-bg-01);
  }
  &:hover {
    color: var(--rmailmarketing-dark);
  }
}
.m-effect-detail {
  background-color: var(--white);
  border-radius: 10px;
}
.m-effect-detail-item {
  border-radius: 10px;
  padding: 50px 70px 0px;
  @media screen and (max-width: 840px) {
    padding: 30px 15px;
  }
}
.m-effect-detail__wrap {
  text-align: center;
  @media screen and (max-width: 600px) {
    text-align: left;
  }
}
.m-effect-detail-heading {
  position: relative;
  display: inline-block;
  font-size: 24px;
  padding: 0 0 20px;
  line-height: 1.3;
  font-weight: bold;
  @media screen and (max-width: 840px) {
    font-size: 20px;
    margin: 0;
  }
}
.m-effect-detail__text {
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 10px;
}
.m-effect-detail__strong-large {
  font-size: 50px;
  @media screen and (max-width: 840px) {
    font-size: 30px;
  }
}
.m-effect-detail__image {
  max-width: 600px;
  width: 100%;
  margin-inline: auto;
  padding: 10px 0 0;
}
.m-effect-detail__image.m-effect-detail__image--sp {
  display: none;
}
/* slick */
.m-effect-button .slick-track {
  transform: none !important;
  left: 0 !important;
}
.m-effect-button__text.slick-current:after {
  bottom: 0;
  height: 5px;
  background-color: var(--rmailmarketing-dark);
}

.m-effect .slick-dotted.slick-slider {
  margin: 0 0 52px;
}
.m-effect .slick-dots {
  bottom: -35px;
  li {
    width: 9px;
    height: 9px;
    margin: 4px;
    button {
      width: 9px;
      height: 9px;
      &::before {
        content: "";
        width: 9px;
        height: 9px;
        border-radius: 4px;
        background: var(--rmailmarketing-dark);
        opacity: 0.2;
      }
    }
    &.slick-active button:before {
      background: var(--rmailmarketing-dark);
      opacity: 1;
    }
  }
}
.m-effect .slick-prev,
.m-effect .slick-next {
  width: 45px;
  height: 45px;
  position: absolute;
  top: 35%;
  display: block;
  z-index: 10;
  &::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 45px;
    height: 45px;
    border-radius: 30px;
    background-color: var(--rmailmarketing-dark);
  }
  &::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: 30px;
    height: 30px;
    position: absolute;
    top: 65%;
    display: block;
    z-index: 10;
    &::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 30px;
      height: 30px;
      border-radius: 30px;
      background-color: var(--rmailmarketing-dark);
    }
    &::after {
      position: absolute;
      z-index: 10;
      display: block;
      content: "";
      width: 8px;
      height: 8px;
      border-bottom: 2px solid var(--white);
      border-left: 2px solid var(--white);
      transition: all ease 0.3s;
    }
  }
}
.m-effect .slick-next {
  @media screen and (max-width: 840px) {
    right: -12px;
  }
  &::after {
    top: 11px;
    right: 12px;
    transform: rotate(-135deg);
  }
}
.m-effect .slick-prev {
  @media screen and (max-width: 840px) {
    left: -12px;
  }
  &::after {
    top: 11px;
    left: 12px;
    transform: rotate(45deg);
  }
}

.m-effect__controls {
  position: relative;
  top: -46px;
  left: -80px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.m-effect__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-effect__toggle.is-paused {
  background: url(/rakurakucloud/mailmarketing/asset/image/common/icon/icon-play-blue.svg) no-repeat no-repeat center center;
}
/* アクセシビリティ用フォーカス */
.m-effect__toggle:focus-visible {
  outline: 3px solid var(--rmailmarketing-dark);
  outline-offset: 4px;
}
