@charset "UTF-8";

/* ==========================================================================
   p-price-fv.css
   ========================================================================== */

/* partial override */
/* ========================================================================= */

.o-m__breadcrumb-list {
  @media screen and (max-width: 576px) {
    display: block;
    padding: 8px 12px 9px;
  }
}

.o-m__breadcrumb-list_link {
  @media screen and (max-width: 576px) {
    display: inline;
    margin: 0 5px 0 0;
  }
  &:after {
    @media screen and (max-width: 576px) {
      position: static;
      display: inline-block;
      margin: 0 0 0 5px;
    }
  }
}

/* ========================================================================= */
/* price独自のcss */
/* ========================================================================= */

/*FV */
/*---------------------------------------------------------- */

.p__price-fv.f-l__common-section {
  padding: 70px 0 90px;
}

.p__price-fv .o-m__price-note {
  padding: 20px 0 0;
  width: 700px;
  margin: 0px auto;
  @media screen and (max-width: 768px) {
    width: 100%;
  }
}

.p__price-fv .o-m__price-note_text {
  font-size: 10px;
}

.p__price-section_head {
  font-size: 18px;
  line-height: 1.6;
  width: 700px;
  margin: 0 auto;
  margin-bottom: 30px;
  text-align: center;
  @media screen and (max-width: 768px) {
    width: 100%;
    text-align: left;
  }
  @media screen and (max-width: 576px) {
    padding: 0;
    font-size: 16px;
    background: none;
  }
}

.p__price-section_head p {
  padding-top: 15px;
}

/*CTA */
/*---------------------------------------------------------- */

.p__price-cta {
  position: relative;
  z-index: 500;
  display: flex;
  height: 85px;
  justify-content: space-around;
}

.p__price-cta .o-c__cta-link_orange {
  position: absolute;
  top: -42px;
  @media screen and (max-width: 576px) {
    top: -30px;
  }
}

/*料金(適用の場合モジュール化お願いします) */
/*---------------------------------------------------------- */

.p__price-plan {
  margin: -110px 0 0;
}

.p__price-plan_wrap {
  padding: 80px 0 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  @media screen and (max-width: 768px) {
    display: block;
  }
}

.p__price-plan_box {
  background: var(--rmeisai-bg-sub-03);
  border-radius: 10px;
  width: calc((100% - 40px) / 2);
  text-align: center;
  @media screen and (max-width: 768px) {
    width: 100%;
  }
}

.p__price-plan_box._js_open .p__price-plan_hidetext {
  height: auto;
  opacity: 1;
  padding: 25px 20px;
  @media screen and (max-width: 768px) {
    padding: 20px;
  }
  @media screen and (max-width: 576px) {
    display: block;
    position: fixed;
    z-index: 2000;
    top: 25%;
    left: 5%;
    width: 90%;
  }
}

.p__price-plan_box._js_open .p__price-plan_hidetext_title {
  @media screen and (max-width: 576px) {
    font-size: 18px;
    font-weight: 700;
    color: var(--rmeisai-primary);
    padding: 0 0 10px;
    text-align: left;
    display: block;
    line-height: 1.4;
  }
}

.p__price-plan_box._js_open .p__price-plan_hidetext_close {
  @media screen and (max-width: 576px) {
    display: block;
    position: absolute;
    top: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
    border-radius: 15px;
    background-color: var(--rmeisai-primary);
  }
  &:before {
    @media screen and (max-width: 576px) {
      transform: rotate(45deg);
    }
  }
}

.p__price-plan_box._js_open .p__price-plan_hidetext_close:after, .p__price-plan_box._js_open .p__price-plan_hidetext_close:before {
  @media screen and (max-width: 576px) {
    content: "";
    background-color: #fff;
    width: 3px;
    height: 14px;
    line-height: 0;
    position: absolute;
    top: 8px;
    left: 14px;
    transform: rotate(-45deg);
  }
}

.p__price-plan_box._js_open .o-c__btn-text_icon_plus_bg:after {
  display: none;
}

.p__price-plan_box._js_open:after {
  @media screen and (max-width: 576px) {
    content: "";
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
  }
}

.p__price-plan_innerover {
  padding: 0 20px 20px;
}

.p__price-plan_inner {
  padding: 30px 0 20px;
}

.p__price-plan_inner ul {
  list-style: none;
}

.p__price-plan_inner li {
  text-align: left;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
  position: relative;
  padding: 0 0 0 28px;
  &::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.1em;
    width: 18px;
    height: 18px;
    background: var(--rmeisai-primary);
    border-radius: 9px;
  }
  &::after {
    content: '';
    width: 8px;
    height: 6px;
    border-top: solid 2px #FFF;
    border-right: solid 2px #FFF;
    display: block;
    position: absolute;
    left: 5px;
    top: calc(0.1em + 5px);
    transform: rotate(135deg);
  }
}

.p__price-plan .o-c__btn-text {
  margin-top: 15px;
}

.p__price-plan .o-c__btn-text a {
  color: var(--rmeisai-primary);
  text-decoration: none;
}

.p__price-plan_hidetext {
  height: 0;
  opacity: 0;
  padding: 0 20px;
  background-color: #fff;
  border-radius: 10px;
  text-align: left;
  transition: all ease 0.3s;
  font-size: 16px;
  line-height: 1.7;
  @media screen and (max-width: 768px) {
    font-size: 15px;
  }
  @media screen and (max-width: 576px) {
    font-size: 14px;
    height: auto;
    opacity: 1;
    display: none;
  }
}

.p__price-plan_hidetext p + p {
  padding-top: 10px;
}

.p__price-plan_hidetext_title {
  display: none;
}

.p__price-plan_hidetext_close {
  display: none;
}

.p__price-plan_hidetext ul {
  list-style: none;
}

.p__price-plan_hidetext li {
  text-align: left;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
  position: relative;
  padding: 0 0 0 28px;
  &::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.1em;
    width: 18px;
    height: 18px;
    background: var(--rmeisai-primary);
    border-radius: 9px;
  }
  &::after {
    content: '';
    width: 8px;
    height: 6px;
    border-top: solid 2px #FFF;
    border-right: solid 2px #FFF;
    display: block;
    position: absolute;
    left: 5px;
    top: calc(0.1em + 5px);
    transform: rotate(135deg);
  }
}

.p__price-plan_h3 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  background-color: var(--rmeisai-primary);
  padding: 20px 0 15px;
  border-radius: 10px 10px 0 0;
  text-align: center;
  @media screen and (max-width: 768px) {
    font-size: 18px;
  }
}

.p__price-plan_price-text {
  position: relative;
  font-size: 40px;
  font-weight: 700;
  color: var(--rmeisai-primary);
  @media screen and (max-width: 768px) {
    font-size: 36px;
  }
}

.p__price-plan_price-text small {
  font-size: 24px;
  @media screen and (max-width: 768px) {
    font-size: 20px;
  }
}

.p__price-plan_price-text_note {
  color: var(--black);
  font-weight: 500;
  font-size: 11px;
  padding: 0 0 0 10px;
}

.p__price-plan_lead {
  font-size: 18px;
  padding: 20px 0 0;
  text-align: center;
  @media screen and (max-width: 768px) {
    font-size: 16px;
  }
}

.p__price-plan_text {
  font-size: 14px;
  padding: 20px 0 0;
  text-align: left;
}

.p__price-plan_plus {
  font-size: 50px;
  color: var(--rmeisai-primary);
  text-align: center;
}

.p__price-plan_m15 {
  margin: 15px 0 0;
}

.p__price-plan_m40 {
  margin: 40px 0 0;
}
