@charset "UTF-8";
/*
  /rakurakucloud/modulesite/asset/css/object/module/m-function-detail.css
  function詳細ページ用CSS
*/
/* c-heading-h2を使わない場合のh2クラス */
.m-function-detail-sub-head {
  text-align: center;
  font-size: clamp(23px, 2vw, 30px);
  font-weight: 700;
  line-height: 1.3;
  padding: 50px 0 40px;
}
/* ボックス */
.m-function-detail-card-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  @media screen and (max-width: 840px) {
    grid-template-columns: repeat(1, 1fr);
  }
}
.m-function-detail-card-item {
  display: block;
  position: relative;
  border-radius: 10px;
  padding: 35px;
  background-color: var(--white);
  min-height: 280px;
}
.m-function-detail-card-item-heading {
  font-size: clamp(20px, 2vw, 24px);
  color: var(--rmailmarketing-dark);
  font-weight: 700;
  line-height: 1.4;
  padding: 20px 0 0;
}
.m-function-detail-card-item-text {
  font-size: 16px;
  line-height: 170%;
  padding: 20px 0 0;
}
.m-function-detail-card-item__badge-wrap {
  @media screen and (max-width: 840px) {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
  }
}
.m-function-detail-card-item__logo-wrap {
  display: flex;
  justify-content: flex-start;
  width: 136px;
  height: auto;
  gap: 50px;
  margin: 10px 0 0;
  @media screen and (max-width: 840px) {
    gap: 10px;
  }
}
.m-function-detail-card-item__salesforce {
  color: #1990c7;
  font-size: 26px;
  font-weight: 700;
  line-height: 20px;
}
/* 他ページに移動ボタン */
.m-function-detail-button {
  max-width: 500px;
  width: 100%;
  margin: 50px auto 0;
}
.m-function-detail-button-text {
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  line-height: 120%;
}
.m-function-detail-button-link {
  text-align: center;
  margin: 20px 0 0;
}
/* CTAの上余白 */
.m-function-detail-cta {
  padding: 20px 0 0;
}
/* 導入事例 */
.m-function-detail-case {
  margin: 40px 0 0;
  @media screen and (max-width: 840px) {
    margin: 0;
  }
}
.m-function-detail-case-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  @media screen and (max-width: 840px) {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
.m-function-detail-case-item {
  display: flex;
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
}
.m-function-detail-case__inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0 24px;
  border-right: 1px solid var(--gray-bg-01);
  @media screen and (max-width: 840px) {
    border-right: none;
    padding: 15px;
  }
}
/* 最後の要素のボーダー削除 */
li {
  &:last-child {
    .m-function-detail-case__inner {
      border-right: none;
    }
  }
}
.m-function-detail-case__lead {
  font-size: clamp(18px, 2vw, 20px);
  font-weight: bold;
  line-height: 1.6;
  flex-grow: 1;
  @media screen and (max-width: 600px) {
    min-height: 100px;
  }
}
.m-function-detail-case__image-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 10px;
  margin: 20px 0 0;
}
.m-function-detail-case__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.m-function-detail-case__company {
  font-size: 16px;
  text-align: center;
  margin: 20px 0 0;
}
.m-function-detail-case__button-wrap {
  text-align: center;
  margin: auto 0 0;
  position: relative;
}
.m-function-detail-case__button {
  margin: 40px auto 0;
}
/* slick */
.m-function-detail-case .slick-dotted.slick-slider {
  margin: 0 0 50px;
}
.m-function-detail-case .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-function-detail-case .slick-prev,
.m-function-detail-case .slick-next {
  width: 45px;
  height: 45px;
  position: absolute;
  top: 42%;
  display: block;
  z-index: 10;
  @media screen and (max-width: 600px) {
    top: 54%;
    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-function-detail-case .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-function-detail-case .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-function-detail-case .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;
    }
  }
}
/* 活用シーン別機能紹介 */
.m-function-detail-scene {
  padding: 30px 0 0;
  @media screen and (max-width: 840px) {
    padding: 20px 0 0;
  }
}
.m-function-detail-scene-head {
  font-size: clamp(20px, 2vw, 24px);
  font-weight: bold;
  &:nth-child(n + 2) {
    margin: 50px 0 0;
    @media screen and (max-width: 840px) {
      margin: 30px 0 0;
    }
  }
}
.m-function-detail-scene-list {
  margin: 30px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 30px 20px;
  @media screen and (max-width: 840px) {
    flex-direction: column;
    margin: 15px 0 0;
    gap: 15px;
  }
}
.m-function-detail-scene-item {
  width: calc(50% - 10px);
  @media screen and (max-width: 840px) {
    width: 100%;
  }
}
.m-function-detail-scene-item__link {
  display: flex;
  align-items: center;
  gap: 0 20px;
  background-color: var(--white);
  border-radius: 10px;
  padding: 20px;
  color: var(--black);
  position: relative;
  transition: box-shadow 0.2s ease;
  @media screen and (max-width: 840px) {
    padding: 15px;
  }
  @media screen and (max-width: 600px) {
    gap: 0;
  }
  &::after {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    border-top: 2px solid var(--rmailmarketing-dark);
    border-right: 2px solid var(--rmailmarketing-dark);
    transform: rotate(45deg);
    margin: 0 0 0 16px;
  }
  &:hover {
    box-shadow: 0 4px 12px var(--gray-bg-01);
  }
}
.m-function-detail-scene-item__image-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 80px;
  background-color: var(--gray-bg-02);
  border-radius: 50%;
  margin: 0 auto;
  flex-shrink: 0;
  @media screen and (max-width: 600px) {
    width: 60px;
    height: 60px;
  }
}
.m-function-detail-scene-item__image {
  width: 60px;
  height: auto;
  @media screen and (max-width: 600px) {
    width: 40px;
  }
}
.m-function-detail-scene-item__text {
  font-size: clamp(14px, 2vw, 18px);
  font-weight: bold;
  margin: 0;
  flex-grow: 1;
  @media screen and (max-width: 600px) {
    padding: 0 0 0 10px;
  }
}
