@charset "UTF-8";

/* ==========================================================================
   p-top.css
   ========================================================================== */

.p__top-more-benefit {
  background: #fff;
}

.p__top-more-benefit_heading {
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 30px;
  @media screen and (max-width: 768px) {
    font-size: 22px;
  }
}

.p__top-more-benefit .payment-flow {
  display: grid;
  grid-template-columns: 1fr 3fr 1fr;
  gap: 100px;
  @media screen and (max-width: 1024px) {
    gap: 80px;
  }
  @media screen and (max-width: 860px) {
    grid-template-columns: 1fr 4fr 1fr;
  }
  @media screen and (max-width: 768px) {
    grid-template-columns: 1fr;
    gap: 60px;
  }
}

.p__top-more-benefit .payment-flow__item {
  border-radius: 10px;
  padding: 30px 20px;
  position: relative;
  @media screen and (max-width: 1024px) {
    padding: 20px 10px;
  }
}

/*真ん中のカラム個別設定 */

.p__top-more-benefit .payment-flow__item--system {
  display: flex;
  justify-content: center;
  align-items: center;
  @media screen and (max-width: 768px) {
    display: block;
    text-align: center;
  }
}

.p__top-more-benefit .payment-flow__item--system .o-c__list-check {
  @media screen and (max-width: 768px) {
    text-align: left;
    display: inline-block;
  }
}

.p__top-more-benefit .payment-flow__item--system .payment-flow__icon {
  margin: 0 30px 0 0;
  flex-shrink: 0;
  @media screen and (max-width: 1024px) {
    margin: 0 15px 0 0;
  }
  @media screen and (max-width: 768px) {
    margin: 0 auto 10px;
  }
}

.p__top-more-benefit .payment-flow__label {
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 10px;
  @media screen and (max-width: 768px) {
    margin-bottom: 5px;
  }
}

.p__top-more-benefit .payment-flow__icon {
  margin: 0px auto;
}

.p__top-more-benefit .payment-flow__icon--circle {
  background-color: #fff;
  border-radius: 60px;
  width: 116px;
  height: 116px;
  display: grid;
  place-items: center;
}

.p__top-more-benefit .payment-flow__caption {
  width: 90px;
  text-align: center;
  font-size: 15px;
  position: absolute;
  left: -100px;
  top: calc(50% - 30px);
  color: var(--rmeisai-primary);
  font-weight: bold;
  @media screen and (max-width: 1024px) {
    width: 70px;
    left: -80px;
  }
  @media screen and (max-width: 768px) {
    width: 100%;
    height: 50px;
    top: -60px;
    left: 0;
    font-size: 16px;
    text-align: left;
    padding: 15px 0 0 calc(50% - 100px);
  }
  &::before {
    content: "";
    position: absolute;
    top: calc(50% + 30px);
    left: 0;
    width: calc(100% + 2px);
    height: 1px;
    background-color: var(--rmeisai-primary);
    transform: translateY(-50%);
    @media screen and (max-width: 768px) {
      top: 0;
      left: 50%;
      width: 1px;
      height: 100%;
      transform: translateX(-50%);
    }
  }
  &::after {
    content: "";
    position: absolute;
    top: calc(50% + 30px);
    right: 0;
    width: 20px;
    height: 20px;
    border-top: 1px solid var(--rmeisai-primary);
    border-right: 1px solid var(--rmeisai-primary);
    transform: translateY(-50%) rotate(45deg);
    @media screen and (max-width: 768px) {
      top: auto;
      bottom: 4px;
      left: 50%;
      right: auto;
      width: 25px;
      height: 25px;
      transform: translateX(-50%) rotate(135deg);
    }
  }
}

.p__top-more-benefit .f__common-text_annotation {
  margin: 10px 0 0;
}

.p__top-feature .o-c__heading-h3 {
  font-size: 22px;
}

.p__top-feature .o-c__heading-h3 em {
  font-size: 28px;
  font-weight: 700;
  color: var(--rmeisai-primary);
  background: linear-gradient(transparent 75%, var(--rmeisai-accent) 75%);
  background-position: 0 1.3em !important;
}

.p__top-feature .o-c__heading-h3 span {
  font-size: 10px;
  color: var(--rmeisai-primary);
}

.p__top-feature .o-c__list-check._size_m li {
  line-height: 1.4;
}

.p__top-feature_content_head {
  background: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0 50px;
  padding: 30px 0;
  margin: 30px 0 60px;
  border-radius: 10px;
  @media screen and (max-width: 576px) {
    flex-direction: column;
    gap: 20px;
    padding: 20px 0;
  }
}

.p__top-feature_content_head_left {
  width: 160px;
  height: 158px;
  color: var(--rmeisai-primary);
  font-size: 14px;
  line-height: 17px;
  background-image: url(/rakurakucloud/meisai/assets/image/figure/figure_laurel_meisai.svg);
  background-size: cover;
  padding: 40px 0 0;
  text-align: center;
}

.p__top-feature_content_head_left_big {
  position: relative;
  display: block;
  font-size: 28px;
  line-height: 28px;
  font-weight: 700;
  right: -6px;
}

.p__top-feature_content_head_left_big sup {
  top: 0 !important;
}

.p__top-feature_content_head_left_small {
  font-size: 14px;
  line-height: 14px;
  font-weight: normal;
}

.p__top-feature_content_head_left_no1 {
  display: block;
  font-size: 38px;
  line-height: 42px;
  font-weight: 700;
}

.p__top-feature_content_head_left sup {
  position: relative;
  line-height: 10px;
  top: -12px;
  font-weight: normal;
}

.p__top-feature_content_head_right h3 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.8;
  @media screen and (max-width: 576px) {
    font-size: 16px;
    line-height: 1.6;
    text-align: center;
  }
}

.p__top-feature_content_head_right_item {
  position: relative;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--gray-07);
  margin: 0 0 10px 0;
  padding: 0 30px 10px 10px;
  @media screen and (max-width: 576px) {
    flex-direction: column;
    align-items: flex-start;
  }
}

.p__top-feature_content_head_right_item dt {
  font-size: 22px;
  font-weight: 700;
  text-indent: 25px;
  width: 9.5em;
  position: relative;
  &:before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(0, -50%);
    width: 21px;
    height: 21px;
    background: var(--rmeisai-primary);
    border-radius: 11px;
  }
  &:after {
    content: "";
    position: absolute;
    left: 5px;
    top: 33%;
    width: 8px;
    height: 6px;
    border-top: solid 2px #FFF;
    border-right: solid 2px #FFF;
    transform: rotate(135deg) translate(0, -33%);
  }
}

.p__top-feature_content_head_right_item dd {
  font-size: 32px;
  font-weight: 700;
  color: var(--rmeisai-primary);
}

.p__top-feature_content_head_right_item dd em {
  font-size: 46px;
}

.p__top-feature_content_head_right_item dd .f__common-text_annotation, .p__top-feature_content_head_right_item dd ._default-fontcolor {
  color: var(--black);
}

.p__top-feature_content_title {
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 20px 0;
}

.p__top-feature_content_list {
  display: grid;
  grid-auto-flow: column;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  @media screen and (max-width: 576px) {
    display: block;
  }
}

.p__top-feature_content_list_item {
  position: relative;
  background-color: #fff;
  border-radius: 10px;
  padding: 45px 16px 16px;
  @media screen and (max-width: 576px) {
    width: 100%;
    margin: 0 0 35px;
    padding: 40px 20px 15px 20px;
  }
}

.p__top-feature_content_list_title {
  font-size: 17.5px;
  font-weight: 700;
  line-height: 1.6;
  font-feature-settings: "halt";
  color: var(--rmeisai-primary);
  text-align: center;
}

.p__top-feature_content_list_icon {
  background-color: var(--rmeisai-bg-sub-03);
  width: 120px;
  height: 120px;
  border-radius: 60px;
  margin: 0 auto;
  display: grid;
  place-items: center;
}

.p__top-feature_content_list_icon img {
  width: 90px;
  height: auto;
}

.p__top-feature_content_list_figure img {
  display: block;
  width: auto;
  height: 120px;
  margin: 0 auto;
}

.p__top-feature_content_list_check {
  padding: 15px 0 0 0;
}

.p__top-feature_content_data_list_box {
  height: auto;
  padding: 0;
  margin: 10px auto 0 5px;
  @media screen and (max-width: 576px) {
    padding: 0;
    margin: 10px auto;
  }
}

.p__top-feature_note {
  padding: 20px 0 0;
  @media screen and (max-width: 576px) {
    padding: 0;
  }
}

.p__top-feature_note_text {
  font-size: 10px;
}

.p__top-reason_content {
  margin-top: 20px;
}

.p__top-reason_content_head {
  display: flex;
  padding: 0 0 30px;
  @media screen and (max-width: 576px) {
    display: block;
    padding: 0 0 20px;
  }
}

.p__top-reason_content_head_left {
  width: 365px;
  @media screen and (max-width: 576px) {
    display: block;
    width: 90%;
    margin: 0px auto;
  }
}

.p__top-reason_content_head_right {
  width: 635px;
  padding: 30px 0 0 30px;
  @media screen and (max-width: 576px) {
    width: 100%;
    padding: 20px 0 0 0;
  }
}

.p__top-reason_content_head_right h3 {
  font-size: 24px;
  font-weight: 700;
  line-height: 40px;
  padding: 0 0 15px;
  @media screen and (max-width: 576px) {
    font-size: 16px;
    line-height: 24px;
  }
}

.p__top-reason_content_head_right_text {
  font-size: 14px;
  line-height: 24px;
  @media screen and (max-width: 576px) {
    font-size: 14px;
    line-height: 22px;
  }
}

.p__top-reason_content_data {
  background-color: #fff;
  border-radius: 10px;
  padding: 50px 35px 35px;
  margin-bottom: 40px;
  position: relative;
  @media screen and (max-width: 576px) {
    padding: 40px 20px 30px;
  }
  &:last-child {
    margin: 0;
  }
}

.p__top-reason_content_data_circle {
  background-color: var(--rmeisai-bg-sub-03);
  width: 62px;
  height: 62px;
  border-radius: 32px;
  text-align: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -30px;
  color: var(--rmeisai-primary);
  padding: 10px 0 0;
  font-weight: 700;
  line-height: 1.2;
}

.p__top-reason_content_data_circle_text {
  font-size: 10px;
}

.p__top-reason_content_data_circle_num {
  font-size: 24px;
}

.p__top-reason_content_data_image {
  width: 37%;
  @media screen and (max-width: 576px) {
    width: 100%;
  }
}

.p__top-reason_content_data_detail {
  width: 60%;
  @media screen and (max-width: 576px) {
    width: 100%;
  }
}

.p__top-reason_content_data_title {
  padding: 0 0 15px;
  @media screen and (max-width: 576px) {
    padding: 25px 0 15px;
  }
}

.p__top-reason_content_data_title_sub {
  font-size: 16px;
  font-weight: 700;
  color: var(--rmeisai-primary);
  @media screen and (max-width: 576px) {
    font-size: 16px;
    padding: 0 0 10px;
  }
}

.p__top-reason_content_data_title_main {
  font-size: 24px;
  font-weight: 700;
  @media screen and (max-width: 576px) {
    font-size: 18px;
  }
}

.p__top-reason_content_data_text {
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
}

.p__top-reason_content_data_text_note {
  font-size: 10px;
}

.p__top-reason_content_data_text_btn {
  margin-top: 10px;
  @media screen and (max-width: 576px) {
    text-align: center;
  }
}

.p__top-reason_content_data_hide_list {
  padding: 20px 0 0;
  text-align: center;
}

.p__top-reason_content_data_hide_list_box {
  height: auto;
  padding: 0;
  margin: 15px auto 0 5px;
  @media screen and (max-width: 576px) {
    padding: 0;
    margin: 0 auto;
  }
}

.p__top-reason_content_data_hide_list_box li {
  position: relative;
  padding: 6px 0 0 25px;
  text-align: left;
  &:first-child {
    margin-bottom: 10px;
  }
  &:before {
    content: "";
    position: absolute;
    left: 0;
    top: 15px;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background: var(--rmeisai-primary);
    border-radius: 11px;
  }
  &:after {
    position: absolute;
    display: block;
    content: "";
    width: 6px;
    height: 6px;
    top: 2px;
    left: 5px;
    bottom: -1px;
    margin: auto;
    transform: rotate(45deg);
    transition: all ease 0.3s;
    border-top: 2px solid white;
    border-right: 2px solid white;
    z-index: 10;
  }
}

.p__top-reason_content_data ._left_style {
  float: left;
  @media screen and (max-width: 576px) {
    float: none;
  }
}

.p__top-reason_content_data ._right_style {
  float: right;
  @media screen and (max-width: 576px) {
    float: none;
  }
}

.p__top-reason_content_data_clear {
  overflow: hidden;
}

.p__top-reason_note {
  padding-bottom: 30px;
}

.p__top-reason_note_text {
  font-size: 10px;
}

.p__top-benefits_content {
  background-color: #fff;
  border-radius: 10px;
  padding: 45px;
  width: 850px;
  margin: 0 auto;
  @media screen and (max-width: 576px) {
    width: 100%;
    padding: 20px;
  }
}

.p__top-benefits_content_image {
  width: 597px;
  margin: 0 auto;
  @media screen and (max-width: 576px) {
    width: 100%;
    height: auto;
  }
}

.p__top-benefits_note {
  width: 850px;
  margin: 0 auto;
  @media screen and (max-width: 576px) {
    width: 100%;
  }
}

.p__top-benefits_note_text {
  font-size: 10px;
  padding: 15px 0 0;
}

.p__top-flow_content {
  width: 560px;
  margin: 0 auto;
  @media screen and (max-width: 576px) {
    width: 100%;
  }
}

.p__top-flow_content_video {
  width: 100%;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  padding-top: 20.8%;
  aspect-ratio: 16 / 9;
}

.p__top-flow_content_video img, .p__top-flow_content_video iframe {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.p__top-news_content_list {
  display: flex;
  justify-content: center;
}

.p__top-news_content_item {
  width: 115px;
}

.p__top-news_content_item_button {
  width: 100%;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  display: inline-block;
  padding: 0 20px 10px;
  line-height: 1;
  color: var(--gray-05);
  border-bottom: 1px solid var(--gray-05);
}

.p__top-news_content_item_button[aria-selected="true"] {
  color: var(--rmeisai-primary);
  border-bottom: 1px solid var(--rmeisai-primary);
}

.p__top-news_content_tab .tab-panel[aria-hidden="false"] {
  display: block;
}

.p__top-news_content_tab .tab-panel[aria-hidden="true"] {
  display: none;
}

.p__top-news_content_link {
  display: flex;
  padding: 20px;
  border-bottom: 1px solid var(--gray-bg-01);
  font-size: 16px;
  text-decoration: none;
  @media screen and (max-width: 576px) {
    display: block;
    padding: 15px;
  }
}

.p__top-news_content_link_date {
  display: inline-block;
  width: 15%;
  color: var(--gray-05);
  @media screen and (max-width: 576px) {
    width: 100%;
    font-size: 14px;
    padding: 0 0 5px;
  }
}

.p__top-news_content_link_title {
  display: inline-block;
  width: 85%;
  color: var(--black);
  @media screen and (max-width: 576px) {
    width: 100%;
    font-size: 14px;
  }
}

.p__top-news_content_link:hover .p__top-news_content_link_title {
  color: var(--rmeisai-primary);
}

.p__top-news_content_btn {
  text-align: center;
  padding: 30px 0 0;
}

.p__top-chohyo_list {
  display: contents;
}

.p__top-chohyo_list-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 650px;
  margin: 0 auto;
  @media screen and (max-width: 768px) {
    width: 100%;
    gap: 10px;
  }
}

.p__top-chohyo_list li {
  background: var(--rmeisai-bg-sub-03);
  color: var(--rmeisai-primary);
  padding: 15px;
  border-radius: 10px;
  width: 200px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  @media screen and (max-width: 768px) {
    padding: 10px 0;
    width: calc((100% - 20px) / 3);
    font-size: 14px;
  }
}

.p__top-chohyo_etc {
  font-size: 18px;
  @media screen and (max-width: 768px) {
    font-size: 14px;
  }
}

.hs-form-field > label {
  display: flex !important;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: flex-end;
}

.hs-input.error {
  border-color: #ffdadf !important;
  -webkit-box-shadow: 0 0 3px rgba(171, 41, 32, 0.25);
  -moz-box-shadow: 0 0 3px rgba(171, 41, 32, 0.25);
  box-shadow: 0 0 3px rgba(171, 41, 32, 0.25);
  background: #fff1f3;
}

.hs_error_rollup .hs-main-font-element {
  display: inline-block;
  font-size: 12px;
  border: 1px solid #ed6c56;
  color: #ed6c56;
  padding: 5px 10px;
  cursor: default;
  background-color: white;
  margin-top: 10px;
  margin-bottom: 10px;
  border-radius: 3px;
}

/* ========================================================================= */
/*経理部だけで簡単に導入できる */
/*========================================================================== */

.p__top-keiribu__list {
  display: grid;
  grid-template-columns: 1fr 100px 1fr;
  width: 530px;
  margin: 0 auto 30px;
  @media screen and (max-width: 768px) {
    grid-template-columns: 1fr;
    width: 100%;
    margin: 0 auto 20px;
  }
}

.p__top-keiribu__item {
  border-radius: 10px;
  padding: 30px 20px;
  position: relative;
  @media screen and (max-width: 1024px) {
    padding: 20px 10px;
  }
}

.p__top-keiribu__item--plus {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.p__top-keiribu__item--meisai {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #267d00;
}

.p__top-keiribu__label {
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  @media screen and (max-width: 768px) {
    margin-bottom: 5px;
  }
}

.p__top-keiribu__plus {
  display: inline-block;
  position: relative;
  width: 100px;
  height: 100px;
  &::before {
    width: 44px;
    height: 5px;
  }
  &::after {
    width: 5px;
    height: 44px;
  }
}

.p__top-keiribu__plus::before, .p__top-keiribu__plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background-color: var(--rmeisai-primary);
  transform: translate(-50%, -50%);
}

/*横線 */
/*縦線 */

.p__top-keiribu__icon {
  margin: 0px auto;
}

.p__top-keiribu__logo {
  width: 144px;
}

.p__top-keiribu_annotation .f__common-text_annotation {
  margin-bottom: 0px;
}
