@charset "UTF-8";
/*
  /rakurakucloud/jidootai/asset/css/page/p-scene-ec.css
  scene/ec.phpページFV以外用CSS
*/

/*
  課題→解決（m-onayami-case を静的4カラムで流用）
*/
.c-button-sub{
  max-width: 220px;
}
.p-scene-ec-kadai {
  .m-onayami-case-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0 20px;
    @media screen and (max-width: 840px) {
      display: grid;
      grid-template-columns: 1fr;
    }
  }
  .m-onayami__solution-large {
    font-size: 20px;
  }
  .m-onayami-case-content-item {
    background-color: transparent;
    min-height: 0;
    padding: 0;
  }
  .m-onayami__solution-link {
    position: revert;
    padding: 50px 25px 50px;
    &::after {
      display: none;
    }
    .p-scene-ec-kadai__more{
      position: absolute;
      bottom: 20px;
      left: 50%;
      transform: translateX(-50%);
    }
  }
}
.p-scene-ec-kadai__more {
  position: relative;
  display: inline-block;
  margin: 10px 0 0;
  color: var(--rjidootai-primary);
  font-size: 14px;
  font-weight: bold;
  &::before {
    content: "";
    position: absolute;
    top: 50%;
    right: -25px;
    width: 18px;
    height: 18px;
    border-radius: 100%;
    transform: translateY(-50%);
    background-color: var(--rjidootai-primary);
  }
  &::after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    right: -19px;
    width: 6px;
    height: 6px;
    margin: auto;
    transform: translateY(-70%) rotate(45deg);
    transition: all 0.3s ease;
    border-right: 2px solid var(--white);
    border-bottom: 2px solid var(--white);
  }
}

/*
  REASON（m-merit を流用し、c-circle-number でREASONラベル付与・左右配置）
*/
.p-scene-ec-reason {
  .m-merit-item:nth-child(even) {
    @media screen and (min-width: 841px) {
      .m-merit-item__detail {
        order: 2;
      }
      .m-merit-item__image-wrap {
        order: 1;
      }
    }
  }
  @media screen and (max-width: 840px) {
    .m-merit-item:first-child {
      margin: 0 0 0;
    }
  }
}

/*
  連携可能モール・受注・在庫管理システム一覧（ページ固有ロゴグリッド）
*/
.p-scene-ec-logo {
  padding: 40px 30px;
  margin: 30px 0 0;
  background-color: var(--white);
  border-radius: 10px;
  @media screen and (max-width: 840px) {
    padding: 25px 15px;
    margin: 0 0 0;
  }
}
.p-scene-ec-logo-list {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 30px 15px;
  align-items: center;
  @media screen and (max-width: 1024px) {
    grid-template-columns: repeat(6, 1fr);
  }
  @media screen and (max-width: 840px) {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px 10px;
  }
  @media screen and (max-width: 600px) {
    grid-template-columns: repeat(3, 1fr);
  }
}
.p-scene-ec-logo-item {
  text-align: center;
  font-size: 15px;
  font-weight: bold;
  &.p-scene-ec-logo-item--small{
    font-size: 12px;
  }
}
.p-scene-ec-logo-item__image {
  max-width: 100%;
  height: auto;
}

/*
  導入企業様の声（m-voice-single を流用：導入前の課題／導入後の効果）
*/
.p-scene-ec-voice {
  padding: 40px;
  margin: 30px 0 0;
  border-radius: 10px;
  @media screen and (max-width: 840px) {
    padding: 25px 20px;
    margin: 0 0 0;
  }
}
.p-scene-ec-voice .m-voice-single {
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: none;
}
.p-scene-ec-voice-definition {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 15px;
  margin: 20px 0 0;
}
.p-scene-ec-voice-definition__term {
  padding: 4px 10px;
  background-color: var(--white);
  border-radius: 5px;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
}
.p-scene-ec-voice-definition__description {
  font-size: 14px;
  align-self: center;
}
.p-scene-ec-voice__link {
  display: inline-block;
  position: relative;
  margin: 15px 0 0;
  padding: 0 0 0 20px;
  color: var(--rjidootai-primary);
  font-size: 14px;
  font-weight: bold;
  text-decoration: underline;
  &::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 8px;
    height: 8px;
    transform: translateY(-50%) rotate(45deg);
    border-top: 2px solid var(--rjidootai-primary);
    border-right: 2px solid var(--rjidootai-primary);
  }
  &:hover {
    text-decoration: none;
  }
}
.p-scene-ec-voice .m-voice-single-point-list {
  padding: 0;
  border-left: none;
}

/*
  よくあるご質問 その他リンクボタン
*/
.p-scene-ec-faq__btn {
  margin: 30px 0 0;
  text-align: center;
}
