
@charset "UTF-8";
/*
  /rakurakucloud/seisan/base/css/page/p-top-0002.css
  TOPページFV以外用CSS
*/

/* -------------------------------------------------------------------------
  メリット
------------------------------------------------------------------------- */
.p-top-merit {
  padding: 80px 0 100px;
  @media screen and (max-width: 840px) {
    padding: 40px 0 50px;
  }
}
.p-top-merit-list {
  display: flex;
  flex-direction: column;
  gap: 72px;
  @media screen and (max-width: 840px) {
    gap: 48px;
  }
}
.p-top-merit-item {
  display: flex;
  align-items: center;
  @media screen and (max-width: 840px) {
    flex-direction: column;
    gap: 24px;
  }
}
.p-top-merit-item__body {
  flex: 1 1 46%;
  @media screen and (max-width: 840px) {
    text-align: center;
  }
}
/* AIセクションのメリットラベル（申請者・承認者・経理） */
.p-top-merit-item__label {
  position: relative;
  display: inline-block;
  background-color: var(--rseisan-primary);
  color: var(--white);
  font-size: 22px;
  font-weight: 700;
  border-radius: 30px;
  padding: 8px 22px 8px 87px;
  margin: 0 0 20px;
  letter-spacing: var(--letter-spacing-5percent);
  &::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    bottom: -12px;
    transform: translateY(-50%);
    width: 80px;
    height: 80px;
    background-color: var(--white);
    background-image: url("/rakurakucloud/seisan/base/image/top/illust-merit01.svg");
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 100%;
    border: 5px solid var(--rseisan-primary);
  }
  &.p-top-merit-item__label--02 {
    &::after {
      background-image: url("/rakurakucloud/seisan/base/image/top/illust-merit02.svg");
    }
  }
  &.p-top-merit-item__label--03 {
    &::after {
      background-image: url("/rakurakucloud/seisan/base/image/top/illust-merit03.svg");
    }
  }
  @media screen and (max-width: 840px) {
    font-size: 18px;
    padding: 8px 25px 8px 70px;
    &::after {
      width: 60px;
      height: 60px;
    }
  }
}
/* AIセクションのメリット見出し */
.p-top-merit-item-title {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--rseisan-primary);
  margin: 0 0 16px;
  letter-spacing: var(--letter-spacing-5percent);
  @media screen and (max-width: 840px) {
    font-size: 24px;
  }
}
/* AIセクションのメリットテキスト */
.p-top-merit-item__text {
  font-size: 18px;
  line-height: 1.9;
  color: var(--black);
  letter-spacing: var(--letter-spacing-5percent);
  @media screen and (max-width: 840px) {
    font-size: 14px;
  }
}
/* 協働AIシステムの説明図のラッパー */
.p-top-merit-item__figure {
  flex: 1 1 50%;
  border-radius: 16px;
  overflow: hidden;
}
/* 協働AIシステムの説明図の画像 */
.p-top-merit-item__image {
  width: 100%;
  height: auto;
}
.p-top-merit-button {
  margin: 80px 0 0;
  text-align: center;
  @media screen and (max-width: 840px) {
    margin: 40px 0 0;
  }
}

/* -------------------------------------------------------------------------
  機能グリッド
------------------------------------------------------------------------- */
.p-top-function-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: start;
  gap: 20px;
  margin: 0 auto;
}
/* 機能グリッドのアイテム（アコーディオン） */
.p-top-function-item {
  background-color: var(--white);
  border-radius: 8px;
  text-align: center;
  height: 100%;
  /* 展開中の項目がある間は、横並びの項目が引き伸ばされないよう高さを内容に合わせる */
  .p-top-function-list:has(.p-top-function-item__detail[open]) & {
    height: auto;
  }
}
.p-top-function-item__detail {
  position: relative;
  height: 100%;
}
.p-top-function-item__summary {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 0 42px;
  cursor: pointer;
  height: 100%;
  /* 開閉矢印（閉：下向き / 開：上向き） */
  &::after {
    content: "";
    position: absolute;
    bottom: 24px;
    left: 50%;
    width: 10px;
    height: 10px;
    margin: 0 0 0 -5px;
    transform: rotate(45deg);
    border-right: 2px solid var(--rseisan-primary);
    border-bottom: 2px solid var(--rseisan-primary);
  }
  &:hover {
    &::after {
      transition: var(--transition);
      bottom: 21px;
    }
  }
  .p-top-function-item__detail[open] & {
    padding: 20px 0 8px;
    &::after {
      bottom: 20px;
      transform: translateY(50%) rotate(-135deg);
    }
    &:hover {
      &::after {
        bottom: 23px;
      }
    }
  }
  @media screen and (max-width: 600px) {
    position: relative;
    flex-direction: row;
    gap: 10px;
    padding: 10px 34px 10px 20px;
    &::after {
      top: 45%;
      right: 12px;
      bottom: auto;
      left: auto;
      margin: 0;
      transform: translateY(-50%) rotate(45deg);
    }
    .p-top-function-item__detail[open] & {
      padding: 10px 34px 10px 20px;
      &::after {
        top: 22px;
        bottom: auto;
      }
    }
  }
}
/* 左上のAIラベル（閉：角の三角形 / 開：左上にはみ出す丸いマーク） */
.p-top-function-item__label {
  position: absolute;
  top: 0;
  left: 0;
  width: 53px;
  height: 53px;
  padding: 8px 0 0 8px;
  border-radius: 8px 0 0 0;
  clip-path: polygon(0 0, 100% 0, 0 100%);
  /* Figma：放射状グラデーション（中心は右上寄り・外側ほど濃い青） */
  background: radial-gradient(ellipse 132% 132% at 65% -8%, #55d7f5 0%, var(--rseisan-primary) 52%, #1e50c3 95%);
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  text-align: left;
  letter-spacing: var(--letter-spacing-5percent);
  @media screen and (max-width: 600px) {
    width: 36px;
    height: 36px;
    padding: 5px 0 0 5px;
    font-size: 11px;
  }
}
/* 展開部分 */
.p-top-function-item__body {
  padding: 0 20px 42px;
  text-align: left;
  @media screen and (max-width: 600px) {
    padding: 0 12px 12px;
  }
}
.p-top-function-item__text {
  font-size: 14px;
  line-height: 1.5;
  color: var(--black);
  @media screen and (max-width: 600px) {
    font-size: 12px;
    line-height: 1.3;
  }
}
/* 詳しく見るリンク（c-buttonをこのカード用に調整） */
.p-top-function-item__more {
  padding: 5px 0 0;
  text-align: center;
  .c-button {
    margin: 0;
  }
}
.p-top-function-item__name {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--black);
  letter-spacing: var(--letter-spacing-5percent);
  @media screen and (max-width: 600px) {
    justify-content: flex-start;
    min-height: 0;
    text-align: left;
    font-size: 12px;
  }
}
.p-top-function-item__icon {
  width: 74px;
  height: 74px;
  @media screen and (max-width: 840px) {
    width: 40px;
    height: 40px;
  }
}
.p-top-function__note {
  margin: 20px 0 0;
  font-size: 12px;
  text-align: right;
  color: var(--gray-02);
}
.p-top-function-button {
  margin: 40px 0 0;
  text-align: center;
  @media screen and (max-width: 840px) {
    margin: 30px 0 0;
  }
}
.p-top-function__more {
  text-align: center;
  margin: 30px 0 0;
}
.p-top-function__more-button {
  display: inline-block;
  color: var(--rseisan-primary);
  font-size: 18px;
  font-weight: 700;
}
@media screen and (max-width: 1024px) {
  .p-top-function-list {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media screen and (max-width: 840px) {
  .p-top-function-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .p-top-function-item__icon {
    width: 40px;
    height: 40px;
  }
  .p-top-function__note {
    text-align: left;
  }
}
@media screen and (max-width: 600px) {
  .p-top-function-list {
    grid-template-columns: 1fr 1fr;
  }
  .p-top-function-item {
    /* 開いた項目以外は、JSが保持した閉じた状態の高さに固定する（未設定時はautoのまま） */
    .p-top-function-list:has(.p-top-function-item__detail[open]) &:not(:has(.p-top-function-item__detail[open])) {
      height: var(--function-item-height, auto);
    }
  }
  .p-top-function-item--more {
    display: none;
    .p-top-function-list.is-open & {
      display: block;
    }
    .p-top-function-item__summary {
      .p-top-function-item__detail[open] & {
        &::after {
          top: 50%;
          bottom: auto;
          transform: translateY(-50%) rotate(-135deg);
        }
      }
    }
  }
}
.p-top-function__more {
  &.is-close {
    display: none;
  }
}

/* -------------------------------------------------------------------------
  料金
------------------------------------------------------------------------- */
.p-top-price {
  padding: 0;
}
.p-top-price__card {
  max-width: 410px;
  margin: 0 auto;
  background-color: var(--rseisan-bg-sub-03);
  border-radius: 12px;
  padding: 50px 20px;
  text-align: center;
}
/* 料金文字 */
.p-top-price__amount {
  font-size: 26px;
  font-weight: 700;
  color: var(--black);
}
/* 数字 */
.p-top-price__num {
  font-size: 60px;
  line-height: 1;
  color: var(--rseisan-primary);
  padding: 0 6px;
}
/* 税表示 */
.p-top-price__tax {
  font-size: 16px;
}
/* 料金体系の注釈 */
.p-top-price__note {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--gray-02);
  text-align: center;
  @media screen and (max-width: 840px) {
    text-align: left;
  }
}
/* CTA */
.p-top-price__cta {
  margin: 40px 0 0;
  text-align: center;
  .c-cta {
    margin: 0 auto;
  }
  @media screen and (max-width: 840px) {
    margin: 30px 0 0;
  }
}
@media screen and (max-width: 840px) {
  .p-top-price__card {
    padding: 36px 16px;
  }
  .p-top-price__num {
    font-size: 44px;
  }
}


/* -------------------------------------------------------------------------
  導入事例
------------------------------------------------------------------------- */
.p-top-case-card-list-wrap {
  position: relative;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  @media screen and (max-width: 840px) {
    padding: 0;
  }
}
.p-top-case-card-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 40px 20px;
  margin: 50px 0 0;
  @media screen and (max-width: 840px) {
    grid-template-columns: 1fr;
    gap: 24px;
    margin: 30px 0 0;
  }
}
.p-top-case-card {
  position: relative;
  grid-column: span 2;
  @media screen and (max-width: 840px) {
    grid-column: revert;
    padding: 0 5px;
    &:not(.slick-active) {
      opacity: 0.5;
      pointer-events: none;
    }
  }
}
.p-top-case-card__link {
  display: flex;
  flex-direction: column;
  color: var(--black);
  background-color: var(--white);
  border: 1px solid var(--gray-bg-01);
  border-radius: 10px;
  height: 100%;
  @media screen and (max-width: 840px) {
    position: relative;
    grid-column: span 2;
  }
  &:hover {
    box-shadow: var(--card-new-shadow-hover);
    .p-top-case-card__arrow {
      transform: translateY(-50%) translateX(3px);
    }
  }
}
.p-top-case-card--lg {
  grid-column: span 3;
  @media screen and (max-width: 840px) {
    grid-column: auto;
  }
}
.p-top-case-card__visual {
  position: relative;
  aspect-ratio: 380 / 201;
  border-radius: 10px 10px 0 0;
  overflow: hidden;
}
.p-top-case-card--lg .p-top-case-card__visual {
  aspect-ratio: 584 / 250;
  @media screen and (max-width: 840px) {
    aspect-ratio: 380 / 201;
  }
}
.p-top-case-card__photo {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.p-top-case-card__photo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  &.p-top-case-card__photo-image--lotte {
    object-position: 0px -30px;
  }
  &.p-top-case-card__photo-image--imabari {
    transform: scale(1.2);
    object-position: 0px 5px;
  }
  @media screen and (max-width: 840px) {
    &.p-top-case-card__photo-image--lotte {
      object-position: 0px 10px;
      transform: scale(1.2);
    }
  }
}
.p-top-case-card__visual:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, transparent 0%, rgba(50, 50, 50, 0.8) 100%);
}
.p-top-case-card__logo {
  position: absolute;
  z-index: 2;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  background-color: var(--white);
  border-radius: 0 0 40px 40px;
  padding: 5px 30px;
  @media screen and (max-width: 840px) {
    top: -7px;
    padding: 5px 30px;
    height: 55px;
  }
}
/* 事例ロゴ画像 */
.p-top-case-card__logo-image {
  display: block;
  width: auto;
  height: auto;
  max-width: 110px;
  max-height: 38px;
  object-fit: contain;
  @media screen and (max-width: 840px) {
    max-width: 90px;
    max-height: 34px;
  }
}
.p-top-case-card__result {
  position: absolute;
  z-index: 2;
  left: 20px;
  bottom: 12px;
  color: var(--white);
  font-weight: 700;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}
.p-top-case-card__result-label {
  display: block;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: var(--letter-spacing-5percent);
  @media screen and (max-width: 840px) {
    font-size: 18px;
  }
}
.p-top-case-card__result-main {
  display: block;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: var(--letter-spacing-5percent);
}
/* 大きめの数字 */
.p-top-case-card__result-num {
  font-size: 60px;
  line-height: 1;
  @media screen and (max-width: 840px) {
    font-size: 34px;
  }
}
.p-top-case-card--lg .p-top-case-card__result-num.p-top-case-card__result-num--upper {
  font-size: 40px;
}
.p-top-case-card--lg .p-top-case-card__result-label {
  font-size: 26px;
  @media screen and (max-width: 840px) {
    font-size: 18px;
  }
}
.p-top-case-card--lg .p-top-case-card__result-main {
  font-size: 26px;
  @media screen and (max-width: 840px) {
    font-size: 18px;
  }
}
.p-top-case-card--lg .p-top-case-card__result-num {
  font-size: 60px;
  @media screen and (max-width: 840px) {
    font-size: 34px;
  }
}
/* カード内のメタ情報 */
.p-top-case-card__meta {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  padding: 16px 76px 18px 20px;
}
/* カード右下の矢印アイコン */
.p-top-case-card__arrow {
  position: absolute;
  top: 50%;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 30px;
  background-color: var(--rseisan-bg-sub-03);
  transform: translateY(-50%);
  transition: transform 0.3s ease;
  &::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    transform: translate(-70%, -50%) rotate(45deg);
    border-top: 2px solid var(--rseisan-primary);
    border-right: 2px solid var(--rseisan-primary);
  }
}
.p-top-case-button {
  margin: 50px 0 0;
  text-align: center;
  @media screen and (max-width: 840px) {
    margin: 30px 0 0;
  }
}
.p-top-case-card__company {
  font-size: 16px;
  font-weight: 700;
  color: var(--black);
  letter-spacing: var(--letter-spacing-5percent);
  @media screen and (max-width: 840px) {
    font-size: 15px;
  }
}
/* カード内のチップスのラッパー */
.p-top-case-card-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: auto 0 0;
}
/* カード内のチップス */
.p-top-case-card-tag-item {
  font-size: 10px;
  font-weight: 700;
  line-height: 1.8;
  border-radius: 60px;
  padding: 2px 12px;
  letter-spacing: var(--letter-spacing-5percent);
}
/* カード内のチップス（カテゴリー） */
.p-top-case-card-tag-item--category {
  background-color: var(--rseisan-primary);
  color: var(--white);
}
/* カード内のチップス（人数） */
.p-top-case-card-tag-item--size {
  background-color: var(--rseisan-primary);
  color: var(--white);
}
/* 停止・再生ボタン */
.p-top-case-card-list-wrap .slick-pause {
  display: none;
  @media screen and (max-width: 840px) {
    display: block;
    margin: 0 auto;
    left: -60px;
    bottom: 4px;
  }
}

/* =========================================================================
  CTA帯
/* ================================================================ */
.m-cta {
  @media screen and (max-width: 840px) {
    padding: 0 20px;
  }
}
.m-cta__wrap {
  max-width: 1100px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin: 0 auto;
  @media screen and (max-width: 1024px) {
    flex-wrap: wrap;
  }
  @media screen and (max-width: 840px) {
    display: block;
  }
}
/* CTAの見出し */
.m-cta-heading__head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  @media screen and (max-width: 840px) {
    justify-content: center;
  }
}
.m-cta-heading-title {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--rseisan-primary);
  letter-spacing: var(--letter-spacing-5percent);
  @media screen and (max-width: 840px) {
    font-size: 24px;
  }
}
.m-cta-heading__image {
  flex-shrink: 0;
  width: 130px;
  height: auto;
  @media screen and (max-width: 840px) {
    width: 90px;
  }
}
/* CTAの見出し下のテキスト */
.m-cta-heading__text {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--black);
  margin: 12px 0 0;
  letter-spacing: var(--letter-spacing-5percent);
  @media screen and (max-width: 840px) {
    text-align: center;
  }

  & > span {
    display: inline-block;
  }
}
.m-cta-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  @media screen and (max-width: 840px) {
    flex-direction: column;
    gap: 10px;
    margin: 20px 0 0;
  }
}
.m-cta-item {
  @media screen and (max-width: 840px) {
    width: 100%;
  }
}

/* -------------------------------------------------------------------------
  FAQ
------------------------------------------------------------------------- */
.o-m__faq-content_list {
  max-width: 1100px;
  margin: 0 auto;
}
.o-m__faq-content_item {
  position: relative;
  background-color: var(--white);
  border-radius: 10px;
  padding: 0 0 20px;
  margin: 0 0 10px;
  cursor: pointer;
}
.o-m__faq-content_item_icon_ball {
  display: inline-block;
  position: absolute;
  top: 27px;
  right: 27px;
  width: 18px;
  height: 18px;
  background-color: var(--rseisan-primary);
  border-radius: 9px;
  transition: var(--transition);
}
.o-m__faq-content_item_icon_ball:before {
  content: "";
  position: absolute;
  left: 5px;
  top: 9px;
  width: 8px;
  height: 2px;
  background-color: var(--white);
  transform: translateY(-50%);
}
.o-m__faq-content_item_icon_ball:after {
  content: "";
  position: absolute;
  left: 9px;
  top: 5px;
  width: 2px;
  height: 8px;
  background-color: var(--white);
  transform: translateX(-50%);
}
.o-m__faq-content_item_icon_ball._js_open:after {
  display: none;
}
.o-m__faq-content_item_label {
  display: block;
  position: relative;
  font-size: 16px;
  padding: 25px 50px 0 60px;
}
.o-m__faq-content_item_label:before {
  content: "Q";
  position: absolute;
  left: 30px;
  top: 22px;
  font-size: 22px;
  color: var(--rseisan-primary);
}
.o-m__faq-content_item_answer {
  width: 95%;
  height: 0;
  margin: 0 auto;
  padding: 0 25px 0 45px;
  opacity: 0;
  overflow: hidden;
  background-color: var(--rseisan-bg-sub-03);
  border-radius: 10px;
  transition: var(--transition);
}
.o-m__faq-content_item_answer._js_open {
  height: auto;
  margin: 15px auto 0;
  padding: 25px 25px 25px 45px;
  opacity: 1;
  visibility: visible;
}
.o-m__faq-content_item_answer_title {
  position: relative;
  font-size: 16px;
  font-weight: 700;
  padding: 0 0 10px;
  color: var(--rseisan-primary);
}
.o-m__faq-content_item_answer_title:before {
  content: "A";
  position: absolute;
  left: -25px;
  top: -3px;
  font-size: 22px;
  font-weight: 500;
  color: var(--rseisan-primary);
}
.o-m__faq-content_item_answer_detail {
  font-size: 14px;
  line-height: 1.6;
}
@media screen and (min-width: 841px) {
  .o-m__faq-content_item:hover .o-m__faq-content_item_icon_ball {
    transform: rotate(90deg);
  }
}
@media screen and (max-width: 600px) {
  .o-m__faq-content_item_label {
    font-size: 14px;
    padding: 17px 38px 2px 35px;
  }
  .o-m__faq-content_item_label:before {
    left: 13px;
    top: 13px;
  }
  .o-m__faq-content_item_icon_ball {
    top: 50%;
    right: 15px;
  }
  .o-m__faq-content_item_answer {
    width: 93%;
    padding: 0 15px 0 40px;
  }
  .o-m__faq-content_item_answer._js_open {
    margin: 10px auto 0;
    padding: 20px 20px 20px 40px;
  }
}

/* -------------------------------------------------------------------------
  資料請求フォーム（o-m__lp-form）※HubSpot生成markup
------------------------------------------------------------------------- */
.o-m__lp-form {
  background-color: var(--rseisan-primary);
}
.o-m__lp-form-content {
  width: 100%;
  text-align: center;
}
.o-m__lp-form-content_form {
  width: 700px;
  margin: 0 auto;
  background-color: var(--gray-bg-02);
  padding: 40px 32px;
  text-align: left;
  border-radius: var(--border-radius-24px);
  @media screen and (max-width: 840px) {
    border-radius: var(--border-radius-12px);
  }
}
.o-m__lp-form-content_form label {
  display: block;
  position: relative;
  width: max-content;
  font-weight: 700;
  font-size: 14px;
  padding: 1px 0 8px 0;
}
.o-m__lp-form-content_form label .hs-form-required {
  position: absolute;
  top: 0;
  right: -38px;
  background-color: #caecff;
  color: var(--rseisan-primary);
  font-size: 12px;
  padding: 3px 4px;
  border-radius: 4px;
}
.o-m__lp-form-content_form .hs-error-msg {
  display: inline-block;
  position: relative;
  font-size: 12px;
  border-radius: 3px;
  background-color: var(--form-error-color);
  color: var(--white);
  padding: 2px 7px 1px;
  margin: 0 0 15px;
  text-align: left;
}
.o-m__lp-form-content_form .hs_prefecture,
.o-m__lp-form-content_form .hs_how_to_know {
  position: relative;
}
.o-m__lp-form-content_form .hs_prefecture:after,
.o-m__lp-form-content_form .hs_how_to_know:after {
  content: "";
  position: absolute;
  right: 18px;
  top: 43px;
  width: 7px;
  height: 7px;
  border-left: 2px solid var(--rseisan-primary);
  border-bottom: 2px solid var(--rseisan-primary);
  transform: rotate(-45deg);
}
.o-m__lp-form-content_form .input {
  display: block;
  padding: 0 0 24px;
  margin: 0;
}
.o-m__lp-form-content_form .input input[type="text"],
.o-m__lp-form-content_form .input input[type="email"],
.o-m__lp-form-content_form .input input[type="tel"],
.o-m__lp-form-content_form .input textarea,
.o-m__lp-form-content_form .input select {
  width: 100% !important;
  background-color: var(--white);
  border: 1px solid #c1c2c3;
  border-radius: 8px;
  padding: 7px 10px;
}
.o-m__lp-form-content_form .input input[type="text"]:focus,
.o-m__lp-form-content_form .input input[type="email"]:focus,
.o-m__lp-form-content_form .input input[type="tel"]:focus,
.o-m__lp-form-content_form .input textarea:focus,
.o-m__lp-form-content_form .input select:focus {
  border-color: var(--rseisan-primary);
  background-color: var(--rseisan-bg-sub-03);
}
.o-m__lp-form-content_form .input input.error,
.o-m__lp-form-content_form .input textarea.error,
.o-m__lp-form-content_form .input select.error {
  border-color: var(--form-error-border);
  background-color: var(--form-error-bg);
}
.o-m__lp-form-content_form .hs-richtext {
  font-size: 12px;
  text-align: center;
  padding: 10px 0 20px;
}
.o-m__lp-form-content_form .hs-richtext a {
  color: var(--rseisan-primary);
  text-decoration: underline;
}
.o-m__lp-form-content_form .actions {
  position: relative;
  width: 300px;
  margin: 0 auto;
  text-align: center;
}
.o-m__lp-form-content_form .actions:after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  right: 25px;
  bottom: 0;
  width: 10px;
  height: 10px;
  margin: auto;
  transform: rotate(45deg);
  border-top: 2px solid var(--white);
  border-right: 2px solid var(--white);
}
.o-m__lp-form-content_form .actions .hs-button {
  display: inline-block;
  width: 100%;
  height: 60px;
  margin: 0 auto;
  background-color: var(--rseisan-cta);
  border: 2px solid var(--rseisan-cta);
  border-radius: 50px;
  text-align: center;
  color: var(--white);
  font-size: 18px;
  font-weight: bold;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.o-m__lp-form-content_form .actions .hs-button:focus-visible {
  outline: 2px solid var(--rseisan-primary);
  outline-offset: 3px;
}
.o-m__lp-form-content_form .actions .hs-button:focus {
  outline: 2px solid var(--rseisan-primary);
  outline-offset: 3px;
}
.o-m__lp-form-content_form .actions .hs-button:focus:not(:focus-visible) {
  outline: none;
}
.o-m__lp-form-content_form .actions .hs-button:active {
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.12);
}
.o-m__lp-form-content_form .actions .hs-button:disabled,
.o-m__lp-form-content_form .actions .hs-button[disabled] {
  opacity: 0.65;
  cursor: not-allowed;
}
.o-m__lp-form-content_form .actions .hs-button:not(:disabled):not([disabled]):hover {
  background-color: var(--white) !important;
  color: var(--rseisan-cta) !important;
}
.o-m__lp-form-content_form .actions:hover:after {
  border-top-color: var(--rseisan-cta);
  border-right-color: var(--rseisan-cta);
}
.o-m__lp-form-content_comment {
  margin: 15px 0 0;
  text-align: center;
}
@media screen and (max-width: 840px) {
  .o-m__lp-form-content {
    padding: 0;
  }
  .o-m__lp-form-content_form {
    width: 100%;
    padding: 24px 15px;
  }
}

/* -------------------------------------------------------------------------
  導入効果
------------------------------------------------------------------------- */
.p-top-benefits__box {
  background-color: var(--rseisan-bg-sub-03);
  border-radius: 20px;
  padding: 40px;
  @media screen and (max-width: 840px) {
    padding: 24px 16px;
  }
}
.p-top-benefits__figure {
  max-width: 590px;
  margin: 0 auto;
}
.p-top-benefits__image {
  display: block;
  width: 100%;
  height: auto;
}
.p-top-benefits__note {
  margin: 16px 0 0;
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
  color: var(--gray-02);
}

/* -------------------------------------------------------------------------
  自動化を実現
------------------------------------------------------------------------- */
.p-top-auto-box {
  max-width: 100%;
  background-color: var(--white);
  border-radius: 10px;
  padding: 60px 40px;
  margin: 48px auto 0;
  @media screen and (max-width: 840px) {
    padding: 30px 16px;
    margin: 30px auto 0;
  }
}
.p-top-auto-lead {
  text-align: center;
}
.p-top-auto-lead__label {
  display: inline-block;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.8;
  color: var(--rseisan-primary);
  @media screen and (max-width: 840px) {
    font-size: 18px;
  }
}
.p-top-auto-lead-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--letter-spacing-5percent);
  margin: 6px 0 0;
  @media screen and (max-width: 840px) {
    font-size: 22px;
  }
}
/* 比較（システム導入のハードル / 「楽楽精算」なら） */
.p-top-compare {
  text-align: center;
  margin: 40px auto 0;
}
.p-top-compare__image {
  width: auto;
  @media screen and (max-width: 600px) {
    width: 100%;
  }
}
/* さまざまな運用に柔軟に対応 */
.p-top-auto-operation {
  margin: 40px 0 0;
  text-align: center;
}
.p-top-auto-operation-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--letter-spacing-5percent);
  margin: 0 0 30px;
  @media screen and (max-width: 840px) {
    font-size: 22px;
  }
}
.p-top-operation-list {
  display: flex;
  justify-content: center;
  width: max-content;
  margin: 0 auto;
  border-left: 1px solid var(--rseisan-primary);
  @media screen and (max-width: 840px) {
    flex-direction: column;
    width: max-content;
    max-width: 100%;
    border-left: none;
  }
}
.p-top-operation-item {
  padding: 10px 40px;
  border-right: 1px solid var(--rseisan-primary);
  @media screen and (max-width: 840px) {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 10px 0;
    border-right: none;
    text-align: left;
  }
}
.p-top-operation-item__title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--rseisan-primary);
  letter-spacing: var(--letter-spacing-5percent);
  @media screen and (max-width: 840px) {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    width: 130px;
    padding: 8px 0;
    border-right: 1px solid var(--rseisan-primary);
    font-size: 18px;
  }
}
.p-top-operation-item__text {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  margin: 8px 0 0;
  @media screen and (max-width: 840px) {
    margin: 0;
    font-size: 14px;
    letter-spacing: var(--letter-spacing-3percent);
  }
}
/* お客様の声（事例バナー） */
.p-top-voice {
  max-width: 900px;
  margin: 40px auto 0;
}
.p-top-voice__label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-04);
  /* テキストの右横に伸びる直線 */
  &::after {
    content: "";
    flex: 1;
    height: 1px;
    background-color: var(--gray-06);
  }
}
.p-top-voice__wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 15px 0 0;
  @media screen and (max-width: 600px) {
    display: block;
    margin: 20px 0 0;
  }
}
.p-top-voice__photo {
  flex-shrink: 0;
  width: 151px;
  @media screen and (max-width: 600px) {
    width: 100%;
  }
}
.p-top-voice__photo-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
  @media screen and (max-width: 600px) {
    height: 104px;
    object-fit: cover;
  }
}
.p-top-voice__body {
  flex: 1 1 auto;
  @media screen and (max-width: 600px) {
    margin: 16px 0 0;
  }
}
.p-top-voice__company {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.8;
  color: var(--black);
}
.p-top-voice__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--letter-spacing-5percent);
  margin: 6px 0 0;
  @media screen and (max-width: 840px) {
    margin: 2px 0 0;
  }
}
.p-top-voice__text {
  font-size: 15px;
  line-height: 1.8;
  margin: 6px 0 0;
  @media screen and (max-width: 840px) {
    margin: 10px 0 0;
  }
}
.p-top-voice__more {
  flex-shrink: 0;
  @media screen and (max-width: 840px) {
    margin: 20px 0 0;
    text-align: center;
  }
}
/* 専任サポート 01/02/03 */
.p-top-flow-list {
  display: flex;
  flex-direction: column;
  gap: 60px;
  max-width: 900px;
  margin: 80px auto 0;
  @media screen and (max-width: 840px) {
    margin: 60px auto 0;
  }
}
.p-top-flow-item {
  position: relative;
  background-color: var(--rseisan-bg-sub-03);
  border-radius: 20px;
  padding: 40px 130px 40px 130px;
  &:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, 100%);
    border: 24px solid transparent;
    border-bottom-width: 0;
    border-top: 16px solid var(--rseisan-bg-sub-03);
  }
  @media screen and (max-width: 840px) {
    padding: 40px 20px 80px;
  }
}
.p-top-flow-item__num {
  position: absolute;
  top: -30px;
  left: 40px;
  font-size: 65px;
  font-weight: 700;
  line-height: 1;
  color: var(--rseisan-bg-sub-02);
  @media screen and (max-width: 840px) {
    font-size: 50px;
    left: 20px;
  }
}
.p-top-flow-item__body {
  max-width: 610px;
}
.p-top-flow-item__title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--rseisan-primary);
  letter-spacing: var(--letter-spacing-5percent);
  @media screen and (max-width: 840px) {
    font-size: 20px;
  }
}
.p-top-flow-item__text {
  font-size: 18px;
  line-height: 1.8;
  margin: 18px 0 0;
  @media screen and (max-width: 840px) {
    font-size: 15px;
  }
}
.p-top-flow-item__figure {
  position: absolute;
  right: 20px;
  bottom: -20px;
  width: 120px;
  @media screen and (max-width: 840px) {
    right: 10px;
    width: 80px;
  }
  &.p-top-flow-item__figure--large {
    bottom: -60px;
    width: 190px;
  }
}
.p-top-flow-item__image {
  display: block;
  width: 100%;
  height: auto;
}
.p-top-auto__more {
  text-align: center;
  margin: 40px 0 0;
  @media screen and (max-width: 600px) {
    margin: 60px 0 0;
  }
}

/* -------------------------------------------------------------------------
  支払業務をまとめて
------------------------------------------------------------------------- */
.p-top-integration__figure {
  margin: 40px auto 0;
  text-align: center;
}
.p-top-integration__image {
  width: auto;
  @media screen and (max-width: 600px) {
    width: 100%;
  }
}
.p-top-integration-button {
  text-align: center;
  margin: 90px 0 0;
  @media screen and (max-width: 600px) {
    margin: 30px 0 0;
  }
}

/* -------------------------------------------------------------------------
  会計ソフト・カード連携
------------------------------------------------------------------------- */
.p-top-linkage-box {
  background-color: var(--rseisan-bg-sub-03);
  border-radius: 10px;
  padding: 60px;
  margin: 0 0 40px;
  @media screen and (max-width: 840px) {
    padding: 30px 16px;
  }
}
.p-top-linkage-box__head {
  text-align: center;
  margin: 0 0 40px;
}
.p-top-linkage-box__title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--rseisan-primary);
  letter-spacing: var(--letter-spacing-5percent);
}
.p-top-linkage-box__title-sub {
  display: block;
  font-size: 18px;
  line-height: 1.8;
}
.p-top-linkage-point {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 20px 0 0;
  background-color: var(--white);
  border-radius: 60px;
  padding: 6px 20px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  text-align: left;
  @media screen and (max-width: 840px) {
    display: flex;
    align-items: flex-start;
    border-radius: 16px;
    padding: 16px;
  }
  @media screen and (max-width: 600px) {
    flex-direction: column;
    align-items: center;
  }
}
.p-top-linkage-point__label {
  flex-shrink: 0;
  background-color: var(--rseisan-primary);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  border-radius: 40px;
  padding: 1px 10px 2px;
}
.p-top-software-list {
  columns: 4;
  column-gap: 20px;
  @media screen and (max-width: 1024px) {
    columns: 3;
  }
  @media screen and (max-width: 600px) {
    columns: 2;
  }
}
.p-top-software-item {
  position: relative;
  break-inside: avoid;
  padding: 0 0 0 24px;
  font-size: 16px;
  line-height: 2.4;
  @media screen and (max-width: 600px) {
    line-height: 1.6;
  }
  &::before {
    content: "";
    position: absolute;
    top: 1.1em;
    left: 6px;
    width: 6px;
    height: 6px;
    border-radius: 100%;
    background-color: var(--rseisan-primary);
    @media screen and (max-width: 600px) {
      top: 0.65em;
    }
  }
}
.p-top-linkage-box__more {
  text-align: center;
  margin: 40px 0 0;
}
.p-top-credit-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  @media screen and (max-width: 840px) {
    grid-template-columns: repeat(2, 1fr);
  }
  @media screen and (max-width: 600px) {
    grid-template-columns: 1fr;
  }
}
.p-top-credit-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  background-color: var(--white);
  border-radius: 10px;
  padding: 20px;
}
.p-top-credit-item__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 187px;
  max-width: 100%;
  height: 54px;
}
.p-top-credit-item__logo-image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
}
.p-top-credit-item__name {
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
  color: var(--black);
}
.p-top-credit-item__note {
  display: block;
  font-size: 10px;
  line-height: 1.7;
  margin: 4px 0 0;
}
.p-top-linkage__note {
  font-size: 20px;
  line-height: 1.5;
  text-align: center;
  letter-spacing: var(--letter-spacing-5percent);
  @media screen and (max-width: 840px) {
    font-size: 15px;
  }
}


/* -------------------------------------------------------------------------
  SP下部固定CTA＋ページトップボタン
------------------------------------------------------------------------- */
.o-m__cta-floating-bottom {
  position: fixed;
  z-index: var(--z-index-front);
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 15px 0;
  background-color: rgba(0, 125, 204, 0.8);
  transform: translateY(101%);
  transition: 0.3s;
  &.is-show {
    transform: translateY(0);
  }
  @media screen and (max-width: 840px) {
    padding: 15px;
  }
  @media screen and (max-width: 600px) {
    padding: 10px;
  }
}
.o-m__cta-floating-bottom_link {
  display: flex;
  justify-content: space-between;
  width: 1000px;
  margin: 0 auto;
  @media screen and (max-width: 840px) {
    width: 100%;
  }
}
.o-m__cta-floating-bottom_link_item {
  width: 48%;
  .o-c__cta-link_orange_capture,
  .o-c__cta-link_border_capture {
    left: 20px;
    width: 70px;
  }
  @media screen and (max-width: 840px) {
    width: 49%;
  }
}

/* ページトップボタン */
.o-c__btn-scltop {
  position: fixed;
  z-index: var(--z-index-pagetop);
  right: 30px;
  bottom: -60px;
  width: 50px;
  height: 50px;
  border-radius: var(--border-radius-12px);
  background-color: rgba(0, 125, 204, 0.8);
  text-decoration: none;
  transition: var(--transition);
  &.show_feature_floater {
    bottom: 30px;
    @media screen and (max-width: 840px) {
      right: 10px;
      bottom: 75px;
    }
  }
  @media screen and (max-width: 840px) {
    right: 10px;
  }
}
.o-c__btn-scltop_inner {
  display: block;
  position: relative;
  width: 100%;
  height: 50px;
  &::after {
    content: "";
    display: block;
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    bottom: auto;
    width: 12px;
    height: 12px;
    margin: auto;
    transform: translateY(-30%) translateX(-50%) rotate(-45deg);
    transition: var(--transition);
    border-top: 2px solid var(--white);
    border-right: 2px solid var(--white);
  }
}