@charset "UTF-8";
/*
  /asset/css/object/module/m-price.css
  料金プランモジュール用CSS
*/
.m-price-content {
  width: 700px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  @media screen and (max-width: 840px) {
    width: 100%;
  }
  @media screen and (max-width: 600px) {
    width: 100%;
    display: block;
  }
}
.m-price-content__box {
  width: 43%;
  padding: 30px 20px 10px;
  border-radius: 10px;
  background: var(--white);
  @media screen and (max-width: 600px) {
    width: 80%;
    padding: 20px 10px 10px;
    margin: 0 auto;
  }
}
.m-price-content__plus {
  width: 14%;
  text-align: center;
  font-size: 50px;
  line-height: 1;
  display: grid;
  place-items: center;
  @media screen and (max-width: 600px) {
    width: 100%;
  }
}
.m-price-content-box-title {
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  color: var(--rsaikenkanri-primary);
  @media screen and (max-width: 600px) {
    font-size: 18px;
    padding: 0 0 5px;
  }
}
.m-price-content__box-amount {
  font-size: 40px;
  font-weight: 700;
  text-align: center;
  @media screen and (max-width: 600px) {
    font-size: 30px;
    line-height: 1;
  }
}
.m-price-content__box-text {
  font-size: 24px;
  font-weight: 500;
  @media screen and (max-width: 600px) {
    font-size: 18px;
  }
}
.m-price-content__box-tax {
  text-align: right;
  font-size: 14px;
}
.m-price-content__box-caption {
  margin: 0 0 0 10px;
  .u-text-annotation {
    margin: 0 0 0 -10px;
  }
}
.m-price-point {
  display: flex;
  justify-content: center;
  margin: 40px 0 0;
  @media screen and (max-width: 600px) {
    width: 88%;
    margin: 40px auto 0;
    padding: 0 5px;
  }
}
.m-price-cta {
  text-align: center;
  padding: 55px 0 0;
  display: flex;
  justify-content: center;
  @media screen and (max-width: 600px) {
    display: block;
  }
}
.m-price-note {
  display: flex;
  align-items: flex-start;
  margin: 30px 0 0;
  &::before {
    content: "※";
    flex-shrink: 0;
  }
}
.m-price-note__text {
  flex: 1;
  line-height: 1.6;
}
/*
料金プラン別(3カラム)
*/
.m-price-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
  align-items: stretch;
  @media screen and (max-width: 1024px) {
    grid-template-columns: repeat(2, 1fr);
  }
  @media screen and (max-width: 840px) {
    display: block;
  }
}
.m-price-item {
  text-align: center;
  border-radius: 10px;
  background: var(--white);
  @media screen and (max-width: 840px) {
    &:not(:last-child) {
      margin: 0 0 20px;
    }
  }
}
.m-price-item-title {
  font-size: 20px;
  font-weight: 700;
  padding: 20px 0 15px;
  border-radius: 10px 10px 0 0;
  background: var(--rsaikenkanri-primary);
  color: var(--white);
  @media screen and (max-width: 840px) {
    font-size: 20px;
    padding: 11px 0;
  }
}
.m-price-item__detail {
  position: relative;
  border-bottom: 1px solid var(--gray-bg-01);
  padding: 20px 25px;
  @media screen and (max-width: 840px) {
    padding: 25px 30px;
  }
  &:last-child {
    border-bottom: none;
  }
}
.m-price-item-head {
  font-size: 16px;
  font-weight: 700;
  color: var(--black);
  @media screen and (max-width: 840px) {
    margin: 0 0 5px;
  }
}
.m-price-item__text-large {
  font-size: 40px;
  font-weight: 700;
  z-index: 0;
  color: var(--rsaikenkanri-primary);
  @media screen and (max-width: 840px) {
    font-size: 30px;
  }
}
.m-price-item__text-medium {
  font-size: 30px;
  font-weight: 700;
}
.m-price-item__text-small {
  font-size: 24px;
  font-weight: 700;
  @media screen and (max-width: 840px) {
    font-size: 20px;
  }
}
.m-price-item__caption {
  font-size: 14px;
}
.m-price-item-note {
  font-size: 10px;
  text-align: left;
  margin: 10px 0 0;
}
.m-price-sub-list {
  text-align: left;
  line-height: 1.6;
  @media screen and (max-width: 840px) {
    font-size: 14px;
    line-height: 1.4;
  }
}
.m-price-sub-item {
  position: relative;
  font-size: 15px;
  font-weight: 700;
  padding: 0 0 0 28px;
  margin: 5px 0 0;
  &::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 16px;
    height: 16px;
    background: var(--rsaikenkanri-primary);
    border-radius: 11px;
  }
  &::after {
    content: "";
    width: 8px;
    height: 6px;
    border-top: solid 2px var(--white);
    border-right: solid 2px var(--white);
    display: block;
    position: absolute;
    left: 4px;
    top: 6px;
    transform: rotate(135deg);
  }
  &:first-child {
    margin: 0;
  }
}
.m-price-item__estimate {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
  flex-wrap: wrap;
  padding: 85px 25px 20px;
  @media screen and (max-width: 1024px) {
    padding: 25px 30px;
  }
}
.m-price-item__estimate-title {
  font-size: 24px;
  font-weight: 700;
}
.m-price-item__estimate-text {
  font-size: 18px;
  text-align: left;
  line-height: 1.5;
  margin: 10px 0 0;
}
.m-price-item__cta {
  width: 100%;
  margin: 20px 0 0;
  @media screen and (max-width: 840px) {
    width: 50%;
    margin: 20px auto 0;
  }
  @media screen and (max-width: 600px) {
    width: 100%;
    margin: 20px 0 0;
  }
}
/*
料金プラン別(2カラム)
*/
.m-price-list--cloumn2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 840px;
  margin: 60px auto 0;
  align-items: stretch;
  @media screen and (max-width: 840px) {
    width: 100%;
    display: block;
    margin: 0 auto;
  }
  .m-price-item {
    position: relative;
  }
  .m-price-item:nth-of-type(2) {
    @media screen and (max-width: 840px) {
      margin: 20px 0 0;
    }
  }
  .m-price-item__baloon {
    position: absolute;
    top: -65px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 60px);
    display: inline-block;
    background-color: var(--rsaikenkanri-accent);
    font-size: 13px;
    font-weight: 700;
    border-radius: 30px;
    padding: 10px 0 5px;
    &::after {
      position: absolute;
      display: block;
      content: "";
      width: 0;
      height: 0;
      left: 50%;
      bottom: -8px;
      transform: translateX(-50%);
      border: 6px solid transparent;
      border-bottom-width: 0;
      border-top: 10px solid var(--rsaikenkanri-accent);
    }
    @media screen and (max-width: 840px) {
      position: relative;
      top: auto;
      left: 0;
      margin: 20px auto 0;
      transform: none;
    }
    @media screen and (max-width: 600px) {
      font-size: 12px;
    }
  }
  .m-price-item__text-large {
    font-size: 48px;
    margin: 20px 0 0;
    @media screen and (max-width: 600px) {
      font-size: 30px;
      margin: 5px 0 0;
    }
  }
  .m-price-item__text-spacing {
    margin: 0 0 0 8px;
  }
  .m-price-item__text-medium {
    @media screen and (max-width: 600px) {
      line-height: 1;
    }
  }
  .m-price-item-head {
    font-size: 18px;
    @media screen and (max-width: 840px) {
      margin: 0;
    }
    @media screen and (max-width: 600px) {
      font-size: 16px;
    }
  }
  .m-price-item-label {
    font-size: 16px;
    color: var(--black);
    font-weight: 700;
  }
  .m-price-item__detail {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 300px;
    padding: 30px;
    text-align: center;
    border-bottom: 1px solid var(--gray-bg-01);
    @media screen and (max-width: 840px) {
      padding: 25px 30px 25px;
      min-height: auto;
    }
  }
  .m-price-item__text-box {
    margin: auto 0;
    padding: 40px 30px 30px;
    border-bottom: 1px solid var(--gray-bg-01);
    @media screen and (max-width: 600px) {
      padding: 30px 30px 25px;
    }
  }
  .m-price-item__text-normal {
    font-size: 20px;
    line-height: 1.5;
    margin: 10px 0 0;
    @media screen and (max-width: 600px) {
      font-size: 18px;
    }
  }
  .m-price-item__cta {
    display: flex;
    justify-content: center;
    padding: 40px 20px 30px;
    margin: 0;
    @media screen and (max-width: 600px) {
      padding: 40px 20px 30px;
    }
    .c-cta__link {
      width: 360px;
      font-size: 18px;
      padding: 34px 15px 24px 28px;
      @media screen and (max-width: 840px) {
        width: 400px;
        padding: 32px 40px 24px;
      }
      @media screen and (max-width: 600px) {
        width: 100%;
        padding: 24px 15px 17px;
      }
    }
    .c-cta__image {
      width: 40px;
    }
  }
}
