/*
  /rakurakucloud/mailmarketing/asset/css/page/p-lp-salesagency.css
  lp/salesagencyページ後読み込み用CSS
*/
.p-lp-salesagency {
  .m-panel-list {
    padding: 0 0 60px;
    @media screen and (max-width: 840px) {
      &:last-child {
        padding: 0;
      }
    }
  }
  .c-heading-lead {
    margin: auto auto 60px;
  }
  .m-cta-content {
    margin: 50px auto 0;
    @media screen and (max-width: 840px) {
      margin: 50px auto 0;
    }
  }
  .l-footer-copy {
    padding: 55px 0 70px;
    @media screen and (max-width: 840px) {
      padding: 20px 0 70px;
    }
  }
  .m-cta__inner {
    padding: 65px 0;
    @media screen and (max-width: 1024px) {
      min-height: 350px;
      padding: 40px 0;
    }
    .m-cta__image1-wrap {
      position: absolute;
      bottom: 16px;
    }
    .m-cta__column {
      gap: 25px;
    }
    .m-cta__image1-wrap {
      position: absolute;
      bottom: 13px;
    }
    .m-cta__image2-wrap {
      position: absolute;
      bottom: 12px;
    }
    @media screen and (max-width: 840px) {
      min-height: inherit;
      padding: 60px 0;
    }
  }
  .m-cta-content__text-large {
    font-size: 36px;
    line-height: 1.2;
    @media screen and (max-width: 840px) {
      font-size: 24px;
    }
  }
  .m-cta-content__text {
    margin: 0 0 30px;
  }
  .c-cta--simple .c-cta__link {
    padding: 29px 25px 27px;
    @media screen and (max-width: 600px) {
      padding: 23px 15px 27px;
    }
  }
  .m-cta-content__image1-wrap {
    &.m-cta-content__image1-wrap--2cta {
      bottom: -29px;
    }
  }
  .m-cta-content__image2-wrap {
    &.m-cta-content__image2-wrap--2cta {
      bottom: -21px;
    }
  }
}
/* そのお悩み「楽楽メールマーケティング」で解決できます！ */
.p-lp-salesagency-onayami__lead {
  text-align: center;
  font-size: 18px;
  line-height: 170%;
  @media screen and (max-width: 600px) {
    font-size: 16px;
  }
}
.p-lp-salesagency-onayami {
  position: relative;
}
.p-lp-salesagency-onayami-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 30px;
  padding: 50px 0 0;
  @media screen and (max-width: 1024px) {
    grid-template-columns: 1fr;
    padding: 0;
  }
  @media screen and (max-width: 1024px) {
    margin: 30px 0 0;
    gap: 30px;
  }
}
.p-lp-salesagency-onayami__balloon {
  position: relative;
  display: block;
  width: 313px;
  height: 74px;
  margin: 0 auto 56px;
  padding: 15px;
  font-size: 16px;
  line-height: 1.4;
  text-align: center;
  background-color: var(--gray-bg-01);
  border-radius: 10px;
  z-index: 10;
  &::after {
    display: block;
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    left: 50%;
    bottom: -12px;
    transform: translateX(-50%);
    border: 10px solid transparent;
    border-bottom-width: 0;
    border-top: 15px solid var(--gray-bg-01);
  }
}
.p-lp-salesagency-onayami-item {
  display: flex;
  flex-direction: column;
  max-width: 500px;
  margin: 0 auto;
}
.p-lp-salesagency-onayami__content {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 60px 30px 30px;
  text-align: center;
  background-color: var(--white);
  border-radius: 10px;
}
.p-lp-salesagency-onayami-content__title {
  margin: 0 0 20px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  @media screen and (max-width: 600px) {
    font-size: 18px;
  }
}
.p-lp-salesagency-onayami-content__title-normal {
  font-weight: normal;
}
.p-lp-salesagency-onayami__image-wrap {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
}
.p-lp-salesagency-onayami__text {
  flex: 1;
  padding: 10px;
  font-size: 16px;
  line-height: 1.7;
  text-align: left;
  background-color: var(--gray-bg-02);
  border-radius: 10px;
}
/* なぜ、商談の「質」が上がらないのか */
.p-lp-salesagency-why-top-list {
  display: grid;
  gap: 60px;
  grid-template-columns: 1fr 1fr;
  @media screen and (max-width: 1024px) {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0;
  }
}
.p-lp-salesagency-why-top-item {
  position: relative;
  border-radius: 10px;
  &:not(:last-of-type) {
    position: relative;
    border-radius: 10px;
  }
}
.p-lp-salesagency-why-top-item__label {
  position: absolute;
  top: -0;
  left: 0;
  width: 150px;
  height: 35px;
  padding: 5px;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--white);
  background-color: var(--gray-03);
  border-top-left-radius: 10px;
  border-bottom-right-radius: 10px;
}
.p-lp-salesagency-why-top-item__box {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 24px;
  align-items: center;
  padding: 30px;
  @media screen and (max-width: 600px) {
    grid-template-columns: 100px 1fr;
    padding: 40px 30px 30px;
  }
  @media screen and (max-width: 430px) {
    grid-template-columns: 1fr;
  }
}
.p-lp-salesagency-why-top-item__image {
  max-width: 180px;
  margin: 10px auto 0;
}
.p-lp-salesagency-why-top-item__label--problem {
  background-color: var(--gray-03);
}
.p-lp-salesagency-why-top-item__box-title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}
.p-lp-salesagency-why-top-item__box-text {
  font-size: 16px;
  line-height: 1.7;
}
.p-lp-salesagency-why-middle__icon {
  display: block;
  width: 62px;
  height: 49px;
  margin: 23px auto 8px;
}
.p-lp-salesagency-why-middle__title {
  margin: 0 0 50px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.7;
  text-align: center;
  @media screen and (max-width: 600px) {
    font-size: 18px;
    text-align: left;
  }
}
.p-lp-salesagency-why-bottom-title-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin: 0 0 20px;
  @media screen and (max-width: 840px) {
    gap: 20px;
  }
}
.p-lp-salesagency-why-bottom-item__title {
  display: grid;
  place-items: center;
  width: 100%;
  height: 54px;
  margin: 0 0 20px;
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  border-radius: 27px;
  background-color: var(--gray-03);
  @media screen and (max-width: 840px) {
    height: 40px;
    font-size: 20px;
  }
  @media screen and (max-width: 600px) {
    font-size: 16px;
  }
}
.p-lp-salesagency-why-bottom-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  @media screen and (max-width: 1024px) {
    grid-template-columns: 1fr;
  }
}
.p-lp-salesagency-why-bottom-item {
  &:first-of-type .p-lp-salesagency-why-bottom-item__content::after {
    content: "";
    position: absolute;
    top: 45%;
    right: -45px;
    width: 30px;
    height: 30px;
    background: url(/rakurakucloud/mailmarketing/asset/image/common/icon/icon_arrow-primary.svg) no-repeat no-repeat center center;
    transform: rotate(270deg);
    @media screen and (max-width: 1024px) {
      top: inherit;
      bottom: -45px;
      right: 47%;
      width: 30px;
      height: 30px;
      transform: rotate(0deg);
      z-index: 30;
    }
  }
}
.p-lp-salesagency-why-bottom-item__content {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 30px;
  border-radius: 10px;
  position: relative;
  background-color: var(--gray-bg-02);
  .p-lp-salesagency-why-bottom-item__heading {
    color: var(--black);
  }
}
.p-lp-salesagency-why-bottom-item__heading {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}
.p-lp-salesagency-why-bottom__image {
  display: block;
  width: 225px;
  height: 150px;
  margin: 0 auto;
}

/* 「楽楽メールマーケティング」が解決 */
.p-lp-salesagency-solution {
  .c-heading-lead {
    margin: 0 0 30px;
  }
}
.p-lp-salesagency-solution-item {
  border-radius: 10px;
  padding: 50px;
  margin: 40px 0 0;
  background-color: var(--white);
  @media screen and (max-width: 600px) {
    padding: 50px 20px 25px;
  }
}
.p-lp-salesagency-solution-item__column {
  display: grid;
  gap: 50px;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  @media screen and (max-width: 840px) {
    display: block;
    text-align: center;
  }
}
.p-lp-salesagency-solution-list {
  margin: 0 0 50px;
}
.p-lp-salesagency-solution-item-title {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.3;
  @media screen and (max-width: 600px) {
    font-size: 20px;
  }
}
.p-lp-salesagency-solution-item__text {
  font-size: 16px;
  line-height: 1.7;
  margin: 30px 0 0;
  @media screen and (max-width: 840px) {
    text-align: left;
  }
}
.p-lp-salesagency-solution-item__image {
  max-width: 510px;
}
.p-lp-salesagency-solution__heading-h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  @media screen and (max-width: 600px) {
    font-size: 20px;
  }
  &::before,
  &::after {
    content: "";
    width: 50px;
    height: 1px;
    background-color: var(--black);
    @media screen and (max-width: 600px) {
      width: 30px;
    }
  }
}
.p-lp-salesagency-solution-step {
  position: relative;
  margin: 40px 0 0;
  z-index: 0;
  .c-circle-number {
    @media screen and (max-width: 1024px) {
      top: -22px;
      width: 50px;
      height: 50px;
      padding: 12px 0 0;
      font-size: 22px;
    }
  }
}
.p-lp-salesagency-solution-step-list {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;
  @media screen and (max-width: 1024px) {
    display: block;
    width: 60%;
    padding: 0;
    margin: 0 auto;
  }
  @media screen and (max-width: 600px) {
    width: 100%;
  }
  .c-circle-number {
    @media screen and (max-width: 1024px) {
      top: -22px;
      width: 50px;
      height: 50px;
      padding: 12px 0 0;
      font-size: 22px;
    }
  }
}
.p-lp-salesagency-solution-step-item {
  position: relative;
  display: flex;
  flex-direction: column;
  width: calc((100% - 60px) / 3);
  @media screen and (max-width: 1024px) {
    width: 100%;
    max-width: 345px;
    height: auto;
    min-height: 0;
    margin: 30px auto 0;
  }
  &::after {
    @media screen and (max-width: 1024px) {
      content: "";
      display: block;
      position: absolute;
      top: 100%;
      left: 49%;
      width: 29px;
      height: 50px;
      z-index: 10;
      transform: rotate(90deg);
      background: url(/rakurakucloud/mailmarketing/asset/image/common/icon/icon-arrow-simple.svg) no-repeat bottom/contain;
    }
  }
  &:nth-child(n + 2) {
    @media screen and (max-width: 1024px) {
      margin: 60px auto 0;
    }
  }
  &:last-of-type .p-lp-salesagency-solution-step-item-box::after {
    content: none;
  }
}
@media screen and (max-width: 1024px) {
  .p-lp-salesagency-solution-step-item:last-of-type::after {
    content: none;
  }
}
.p-lp-salesagency-solution-step-item-box {
  position: relative;
  flex: 1;
  padding: 60px 20px 20px;
  border-radius: 10px;
  background: var(--white);
  @media screen and (max-width: 1024px) {
    width: 100%;
    line-height: 1.3;
    padding: 40px 20px;
    margin: 0 auto;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
  }
  &::after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    right: -30px;
    width: 30px;
    height: 30px;
    z-index: 10;
    transform: translateY(-50%);
    background: url(/rakurakucloud/mailmarketing/asset/image/common/icon/icon-arrow-simple.svg) no-repeat bottom/contain;
    @media screen and (max-width: 1024px) {
      content: none;
    }
  }
}
.p-lp-salesagency-solution-step-item-box__title {
  margin: 0 0 20px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.7;
  text-align: center;
  color: var(--black);
}
.p-lp-salesagency-solution-step-item-box__text {
  min-height: 80px;
  font-size: 16px;
  line-height: 1.7;
}
.p-lp-salesagency-solution-step-item-box__image-wrap {
  max-width: 200px;
  margin: 0 auto 20px;
}
.p-lp-salesagency-solution-step-item-box-point {
  min-height: 214px;
  padding: 15px;
  background-color: var(--gray-bg-02);
  border-radius: 10px;
}
.p-lp-salesagency-solution-step-item-box-point__title {
  display: block;
  padding: 0 0 5px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--rmailmarketing-dark);
  border-bottom: 1px solid var(--gray-bg-01);
}
.p-lp-salesagency-solution-step-item-box-point-item {
  position: relative;
  padding: 0 0 10px 28px;
  font-size: 16px;
  line-height: 1.3;
  text-align: left;
  &:first-of-type {
    margin: 10px 0 0 0;
  }
  &:last-of-type {
    padding: 0 0 0 28px;
  }
  &::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    background: var(--rmailmarketing-dark);
    border-radius: 11px;
  }
  &::after {
    content: "";
    position: absolute;
    top: 7px;
    left: 5px;
    width: 10px;
    height: 7px;
    border-radius: 0;
    background: none;
    border-top: solid 2px var(--white);
    border-right: solid 2px var(--white);
    display: block;
    transform: rotate(135deg);
  }
}
/* 手厚いアフターフォローで初心者も安心！ */
.p-lp-salesagency-achievement {
  .c-heading-lead {
    margin: 0 auto 30px;
    @media screen and (max-width: 1024px) {
      text-align: center;
    }
    @media screen and (max-width: 600px) {
      text-align: left;
    }
  }
  .p-lp-salesagency-fv-company__laurel-wrap {
    margin: 0 auto 50px;
    @media screen and (max-width: 1024px) {
      flex-wrap: wrap;
    }
    @media screen and (max-width: 600px) {
      flex-direction: column;
    }
  }
  .p-lp-salesagency-fv-company__laurel {
    width: 210px;
    padding: 0 20px;
    flex: inherit;
  }
  .p-lp-salesagency-fv-company__laurel--large {
    width: 250px;
  }
  .p-lp-salesagency-fv-company__text-normal {
    line-height: 1.3;
    .p-lp-salesagency-fv-company__text-normal-small {
      display: block;
      font-size: 12px;
      line-height: 1.7;
      font-weight: 700;
      text-align: center;
    }
  }
}
.p-lp-salesagency-result {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
  justify-items: center;
  margin: 0 0 20px;
  @media screen and (max-width: 600px) {
    grid-template-columns: 1fr;
  }
}
.p-lp-salesagency-result__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--gray-bg-02);
  padding: 30px;
  border-radius: 10px;
  max-width: 580px;
  @media screen and (max-width: 840px) {
    max-width: none;
  }
}
.p-lp-salesagency-result__head {
  display: flex;
  align-items: center;
  gap: 0 20px;
  flex-shrink: 0;

  @media screen and (max-width: 1024px) {
    justify-content: flex-start;
  }
}
.p-lp-salesagency-result__icon-wrap {
  width: 100px;
  flex-shrink: 0;
}
.p-lp-salesagency-result__label {
  width: fit-content;
  padding: 2px 10px;
  font-size: 14px;
  border-radius: 5px;
  background-color: var(--white);
}
.p-lp-salesagency-result__title-wrap {
  display: flex;
  justify-content: center;
  flex-direction: column;
  min-height: 100px;
  gap: 5px 0;
}
.p-lp-salesagency-result-title {
  display: block;
  font-size: clamp(22px, 1.8vw, 30px);
  color: var(--rmailmarketing-dark);
  font-weight: bold;
}
.p-lp-salesagency-result__text-box {
  padding: 10px 0 0;
}
.p-lp-salesagency-result__strong {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.7;
}
.p-lp-salesagency-result__text {
  font-size: 16px;
  line-height: 1.7;
  padding: 10px 0 0;
}
.p-lp-salesagency-result__note {
  line-height: 1.3;
}
/*
  営業代行との比較
*/
.p-lp-salesagency-comparison {
  .c-heading-lead {
    margin: 0 auto;
  }
  display: flex;
  justify-content: center;
  align-content: center;
  flex-direction: column;
  padding: 50px 0;
  border-radius: 10px;
  background: var(--white);
  @media screen and (max-width: 1280px) {
    margin: 0 20px;
    padding: 50px 20px;
  }
}
.p-lp-salesagency-comparison__inner {
  display: table;
  max-width: 1000px;
  width: 100%;
  padding: 30px 0 0;
  align-self: center;

  @media screen and (max-width: 1280px) {
    padding: 50px 10px;
  }

  @media screen and (max-width: 840px) {
    display: block;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    padding: 55px 0 0;
  }
}
.p-lp-salesagency-comparison-wrap {
  display: table;
  max-width: 1200px;
  width: 100%;
  border-collapse: separate;
  border-spacing: 5px 0;

  @media screen and (max-width: 840px) {
    min-width: 600px;
    width: 100%;
  }
}
.p-lp-salesagency-comparison__thead {
  background-color: var(--gray-bg-02);
}
.p-lp-salesagency-comparison__th {
  font-size: 16px;
  font-weight: bold;
  padding: 15px 0px;
  border-bottom: 1px solid var(--gray-bg-01);
  @media screen and (max-width: 840px) {
    font-size: 14px;
  }
  &:first-of-type {
    width: 30%;
    padding: 15px 30px 15px;
    text-align: center;
  }
  &:nth-child(2) {
    width: 28%;
  }

  &:nth-child(3) {
    width: 40%;
    color: var(--white);
  }
  &.p-lp-salesagency-comparison__th--rmm {
    position: relative;
    padding: 0;
    background-color: var(--rmailmarketing-primary);
  }

  &.p-lp-salesagency-comparison__th--gray01 {
    background: var(--gray-bg-01);
  }
}
.p-lp-salesagency-comparison__accent {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  color: var(--black);
  text-align: center;
  background: var(--rmailmarketing-accent);
  border-radius: 50px;
  width: 50px;
  height: 50px;
  top: -16px;
  left: -15px;

  @media screen and (max-width: 600px) {
    left: -28px;
  }
}
.p-lp-salesagency-comparison__tr {
  border-bottom: 1px solid var(--gray-bg-01);
  padding: 15px;
  vertical-align: middle;
}
.p-lp-salesagency-comparison__td {
  font-size: 16px;
  padding: 15px;
  vertical-align: middle;
  text-align: center;
  border-bottom: 1px solid var(--gray-bg-01);
  @media screen and (max-width: 840px) {
    font-size: 14px;
  }
}

.p-lp-salesagency-comparison__title {
  position: relative;
  text-align: center;
}
/* cta */
.p-lp-salesagency-cta-list {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 8px 24px;
  justify-content: center;
  margin: 20px auto 0;
  @media screen and (max-width: 840px) {
    grid-template-columns: 1fr;
    gap: 8px;
    width: fit-content;
    margin-inline: auto;
  }
}
.p-lp-salesagency-cta-item {
  position: relative;
  display: block;
  padding: 0 0 0 28px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--white);
  &::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    background: var(--rmailmarketing-dark);
    border-radius: 11px;
    @media screen and (max-width: 840px) {
      flex-shrink: 0;
    }
  }
  &::after {
    content: "";
    position: absolute;
    top: 7px;
    left: 5px;
    width: 10px;
    height: 7px;
    border-radius: 0;
    background: none;
    border-top: solid 2px var(--white);
    border-right: solid 2px var(--white);
    display: block;
    transform: rotate(135deg);
  }
  @media screen and (max-width: 840px) {
    align-items: flex-start;
    gap: 12px;
    width: 200px;
  }
}