@charset "UTF-8";

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

/* ========================================================================= */
/* object module */
/* ========================================================================= */

.o-m__onayami-content_data_answer {
  @media screen and (min-width: 1025px) {
    min-height: 508px;
  }
}

.o-m__onayami-content_answer_title {
  @media screen and (min-width: 1025px) {
    top: -100px;
  }
}

.o-m__onayami-content_data_theme {
  @media screen and (min-width: 1025px) {
    height: 170px;
  }
}

.o-m__onayami-content_answer_title img {
  padding: 0;
}

.o-c__panel-box_hidetext .f__common-text_annotation {
  display: inline-block;
}

.f-l__common-inner .o-c__panel-box_hidetext_indata + .f__common-text_annotation {
  margin-top: 35px;
}

/* ========================================================================= */
/*top独自のcss */
/*========================================================================== */
/*お悩みを解決できる機能 */

.p__top-function {
  padding: 0 0 70px;
  @media screen and (max-width: 768px) {
    padding: 0 0 50px;
  }
}

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

.p__top-function_content_data {
  background-color: var(--white);
  border-radius: 10px;
  padding: 50px 30px 30px;
  position: relative;
  &:nth-of-type(n+2) {
    margin-top: 50px;
  }
}

.p__top-function_content_data_2column {
  display: grid;
  grid-auto-rows: 1fr;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: min-content;
  gap: 20px 30px;
  grid-template-areas: "movie text";
  align-items: center;
  @media screen and (max-width: 768px) {
    grid-auto-rows: auto;
    grid-template-columns: 1fr;
    grid-template-areas: "movie" "text";
    align-items: initial;
  }
  @media screen and (max-width: 768px) {
    gap: 0;
  }
}

.p__top-function_content_data_movie {
  grid-area: movie;
  text-align: center;
  video {
    display: block;
    height: auto;
    object-fit: contain;
  }
}

.p__top-function_content_data_text {
  grid-area: text;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  @media screen and (max-width: 768px) {
    gap: 15px;
    padding: 20px;
  }
}

.p__top-function_content_data_title {
  font-size: 28px;
  font-weight: 700;
  color: var(--rseikyu-primary);
  @media screen and (max-width: 768px) {
    margin-bottom: 0;
    font-size: 20px;
    text-align: center;
  }
}

.p__top-function_content_data_subtitle {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  @media screen and (max-width: 768px) {
    font-size: 16px;
  }
}

.p__top-feature_content {
  margin-top: 20px;
  @media screen and (max-width: 576px) {
    padding-top: 20px;
  }
  .f__common-text_annotation {
    margin-top: 10px;
    @media screen and (max-width: 576px) {
      margin-top: 10px;
    }
  }
}

.p__top-feature_content_btn {
  text-align: center;
}

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

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

.p__top-feature_content_head_right {
  width: 635px;
  padding: 30px 0 0 30px;
  @media screen and (max-width: 576px) {
    width: 100%;
    padding: 20px 0 0 0;
  }
  h3 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.8;
    padding: 0 0 15px;
    @media screen and (max-width: 576px) {
      font-size: 16px;
      line-height: 24px;
    }
  }
}

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

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

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

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

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

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

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

.p__top-feature_content_data_text {
  margin-bottom: 20px;
}

.p__top-feature_content_data_text.no_bottom_image {
  margin-bottom: 0;
}

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

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

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

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

.p__top-feature_content_data_hide_list {
  padding: 15px 0 0;
  text-align: center;
  @media screen and (max-width: 576px) {
    padding: 0;
  }
}

.p__top-feature_content_data_hide_list_box {
  border-radius: 10px;
  overflow: hidden;
  opacity: 0;
  height: 0;
  padding: 0px 0 0px;
  transition: all ease 0.3s;
  display: flex;
  justify-content: space-between;
  @media screen and (max-width: 576px) {
    display: block;
  }
}

.p__top-feature_content_data_hide_list_box.active {
  overflow: visible;
  opacity: 100;
  height: auto;
  padding: 20px 0 0;
  margin-bottom: 15px;
  @media screen and (max-width: 576px) {
    padding: 0;
  }
}

.p__top-feature_content_data_hide_list_box dl {
  position: relative;
  background-color: var(--rseikyu-bg-sub-03);
  width: 30%;
  padding: 20px;
  line-height: 1.7;
  border-radius: 10px;
  @media screen and (max-width: 576px) {
    width: 100%;
    margin-bottom: 60px;
  }
  &:last-of-type {
    @media screen and (max-width: 576px) {
      margin-bottom: 0;
    }
  }
  &:after {
    content: "";
    display: block;
    position: absolute;
    top: auto;
    bottom: 116px;
    right: -39px;
    width: 34px;
    height: 34px;
    z-index: 10;
    background-image: url(/rakurakucloud/seikyu/assets/image/icon/icon_000_arrow_02.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: bottom;
    @media screen and (max-width: 576px) {
      transform: rotate(90deg);
      bottom: -45px;
      right: 45%;
    }
  }
  &:last-of-type:after {
    content: none;
  }
  dt {
    padding: 6px 0 0 0;
    margin-bottom: 5px;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    color: var(--rseikyu-primary);
    .icon_check {
      position: relative;
      top: 3px;
      display: inline-block;
      width: 21px;
      height: 21px;
      margin-right: 6px;
      background: var(--rseikyu-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: 6px;
        top: 7px;
        transform: rotate(135deg);
      }
    }
  }
  dd {
    text-align: left;
  }
}

.p__top-feature_content_data_hide_list .f__common-text_annotation {
  padding-top: 0;
}

/*他商材紹介 */

.p__top-feature_content_data_family {
  display: flex;
  justify-content: space-between;
  @media screen and (max-width: 576px) {
    display: block;
  }
}

.p__top-feature_content_data_family_box {
  width: 48%;
  @media screen and (max-width: 576px) {
    width: 100%;
  }
  &:first-of-type {
    @media screen and (max-width: 576px) {
      margin-bottom: 20px;
    }
  }
}

.p__top-feature_content_data_family_box_card {
  padding: 20px;
  border-radius: 10px;
  dl {
    display: flex;
    justify-content: center;
    align-items: center;
    dt img {
      width: 144px;
      @media screen and (max-width: 576px) {
        width: 85%;
      }
    }
    dd {
      width: 110px;
      height: 103px;
      margin-left: 23px; /*アイソレ */
      line-height: 20px;
      background-size: cover;
      text-align: center;
      font-weight: 700;
      flex-shrink: 0;
      @media screen and (max-width: 576px) {
        width: 108px;
        height: 100px;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center center;
        margin-left: 0;
      }
      .emblem_no1 {
        line-height: 32px;
        font-size: 26px;
        line-height: 1;
      }
      sup {
        display: block;
        margin-top: -4px;
      }
    }
  }
}

.p__top-feature_content_data_family_box_card.seisan {
  background-color: var(--rseisan-bg-sub-03);
  dd.emblem {
    padding: 12px 0 0;
    background-image: url("/rakurakucloud/seikyu/assets/image/figure/figure_laurel_seisan.svg");
    .emblem_no1,
    sup {
      color: var(--rseisan-primary);
    }
  }
}

.p__top-feature_content_data_family_box_card.meisai {
  background-color: var(--rmeisai-bg-sub-03);
  dd.emblem {
    padding: 25px 0 0;
    background-image: url("/rakurakucloud/seikyu/assets/image/figure/figure_laurel_meisai.svg");
    .emblem_no1,
    sup {
      color: var(--rmeisai-primary);
    }
  }
}

.p__top-feature_content_data_family_box_card ul {
  display: grid;
  justify-content: center;
  grid-gap: 5px;
  margin-top: 10px;
  li {
    position: relative;
    text-indent: 1.3em;
    @media screen and (max-width: 576px) {
      text-indent: 0em;
      padding-left: 1.3em;
    }
    &:before {
      content: "";
      width: 12px;
      height: 8px;
      border-radius: 0;
      background: none;
      position: absolute;
      top: 2px;
      left: 0;
      transform: rotate(135deg);
    }
  }
}

.p__top-feature_content_data_family_box_card.seisan ul {
  grid-template-columns: repeat(auto-fit, 300px);
  @media screen and (max-width: 576px) {
    grid-template-columns: repeat(auto-fit, 100%);
  }
  li:before {
    border-top: solid 2px var(--rseisan-primary);
    border-right: solid 2px var(--rseisan-primary);
  }
}

.p__top-feature_content_data_family_box_card.meisai ul {
  grid-template-columns: repeat(auto-fit, 270px);
  @media screen and (max-width: 576px) {
    grid-template-columns: repeat(auto-fit, 100%);
  }
  li:before {
    border-top: solid 2px var(--rmeisai-primary);
    border-right: solid 2px var(--rmeisai-primary);
  }
}

.p__top-feature_content_data {
  ._left_style {
    float: left;
    @media screen and (max-width: 576px) {
      float: none;
    }
  }
  ._right_style {
    float: right;
    @media screen and (max-width: 576px) {
      float: none;
    }
  }
  ._right_style._movie {
    position: relative;
    @media screen and (max-width: 1024px) {
      margin: 0 auto;
      width: 212px;
    }
    img {
      @media screen and (max-width: 1024px) {
        width: 212px;
        height: auto;
        margin: 0 auto;
        display: block;
      }
    }
    .p__top-reason_content_data_image_movie_contents {
      position: absolute;
      width: 247px;
      height: 158px;
      overflow: hidden;
      z-index: 2;
      bottom: 25px;
      left: 47px;
      @media screen and (max-width: 1024px) {
        width: 153px;
        height: 96px;
        overflow: hidden;
        z-index: 2;
        bottom: 20px;
        left: 30px;
        margin: 0 auto;
        position: absolute;
      }
      video {
        position: absolute;
        display: block;
        width: 113.5%;
        top: 0;
        left: -7%;
        margin: 0 auto;
        z-index: 1;
      }
    }
  }
}

.p__top-feature_content_data_clear.overflow {
  overflow: hidden;
}

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

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

.p__top-denshichobo-improve_list {
  display: flex;
  padding-top: 20px;
  @media screen and (max-width: 768px) {
    display: block;
  }
}

.p__top-denshichobo-improve_item {
  width: 48%;
  background: var(--white);
  border-radius: 15px;
  position: relative;
  padding-bottom: 30px;
  @media screen and (max-width: 768px) {
    width: 100%;
  }
  &:nth-child(2) {
    @media screen and (max-width: 768px) {
      margin-top: 49px;
    }
  }
}

.p__top-denshichobo-improve_jiima {
  width: 700px;
  max-width: 100%;
  background: var(--white);
  border: 1px solid #e5e5e5;
  border-radius: 15px;
  display: flex;
  align-items: center;
  padding: 34px 17px 34px 46px;
  margin: 10px auto 0;
  @media screen and (max-width: 576px) {
    display: block;
    width: 100%;
    border-radius: 10px;
    padding: 20px 20px 25px;
    margin-top: 20px;
  }
}

.p__top-denshichobo-improve_jiima_img {
  flex-shrink: 0;
  @media screen and (max-width: 576px) {
    text-align: center;
  }
  img {
    width: 78px;
    height: auto;
    @media screen and (max-width: 576px) {
      width: 81px;
    }
    &:nth-child(2) {
      margin-left: 7px;
      @media screen and (max-width: 576px) {
        margin-left: 15px;
      }
    }
  }
}

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

.p__top-denshichobo-improve_jiima_details_tit {
  font-size: 18px;
  font-weight: bold;
  @media screen and (max-width: 576px) {
    font-size: 14px;
    line-height: 1.43;
  }
}

.p__top-denshichobo-improve_jiima_details_txt {
  font-size: 14px;
  line-height: 1.6;
  margin-top: 7px;
  @media screen and (max-width: 576px) {
    font-size: 11px;
    line-height: 1.6;
    margin-top: 3px;
  }
}

/*導入効果 */

.p__top-benefits {
  .o-c__heading-lead {
    @media screen and (max-width: 576px) {
      text-align: left;
    }
  }
}

.p__top-benefits_content {
  background-color: var(--white);
  border-radius: 10px;
  padding: 45px;
  width: 850px;
  margin: 0 auto;
  text-align: center;
  @media screen and (max-width: 768px) {
    width: 100%;
    padding: 20px;
  }
}

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

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

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

.p__top-functions-btn {
  margin-top: 15px;
  @media screen and (max-width: 768px) {
    margin-top: 40px;
  }
}

.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(--rseikyu-primary);
  border-bottom: 1px solid var(--rseikyu-primary);
}

.p__top-news_content_tab {
  .tab-panel[aria-hidden=false] {
    display: block;
  }
  .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;
  line-height: 1.6;
  &::before {
    margin-top: calc((1 - 1.6) * 0.3em);
  }
  &::after {
    margin-bottom: calc((1 - 1.6) * 0.7em);
  }
  &::before,
  &::after {
    content: "";
    display: block;
    width: 0;
    height: 0;
  }
}

.p__top-news_content_link_date {
  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%;
  line-height: 1.6;
  &::before {
    margin-top: calc((1 - 1.6) * 0.3em);
  }
  &::after {
    margin-bottom: calc((1 - 1.6) * 0.7em);
  }
  &::before,
  &::after {
    content: "";
    display: block;
    width: 0;
    height: 0;
  }
}

.p__top-news_content_link_title {
  color: var(--black);
  @media screen and (max-width: 576px) {
    width: 100%;
    font-size: 14px;
  }
  &:hover {
    color: var(--rseikyu-primary);
  }
}

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

/* ========================================================================= */
/* contact */
/* ========================================================================= */

.contact {
  background-color: var(--rseikyu-primary);
  position: relative;
  z-index: 0;
  text-align: center;
  color: var(--white);
  box-sizing: border-box;
  padding: 70px 0px;
  @media screen and (max-width: 768px) {
    padding: 30px 10px;
  }
  &:after {
    content: "";
    background-size: cover;
    background-position: 50% 100%;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    opacity: 0.2;
    background: url("/rakurakucloud/seikyu/assets/image/placeholder.png") no-repeat center/contain;
    /* background-image: url("/rakurakucloud/seikyu/lp/display/assets/image/cta_back_under.jpg"); */
    background-size: cover;
    background-position: 50% 100%;
  }
}

.contact-wrap {
  position: relative;
  z-index: 20;
  text-align: center;
  .form_area-box {
    background-color: var(--white);
    padding: 45px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 980px;
    box-sizing: border-box;
    margin: 0px auto;
    text-align: left;
    color: #4c4948;
    font-size: 16px;
    @media screen and (max-width: 768px) {
      padding: 10px;
    }
  }
  .cta_caption-box {
    position: relative;
    z-index: 20;
    display: inline-block;
    background-color: var(--white);
    color: var(--rseikyu-primary);
    text-align: center;
    line-height: 45px;
    border-radius: 30px;
    padding: 0px 20px;
    font-weight: bold;
    margin: 0px auto;
    &:after {
      content: "";
      position: absolute;
      z-index: 20;
      bottom: -8px;
      left: 50%;
      transform: translateX(-50%);
      width: 0;
      height: 0;
      border-style: solid;
      border-width: 8px 5px 0 5px;
      border-color: var(--white) transparent transparent transparent;
    }
  }
}

.contact.contact--bg {
  padding: 0;
  position: relative;
  @media screen and (max-width: 768px) {
    padding: 40px 20px;
  }
  &:after {
    opacity: 0.1;
  }
}

.contact-wrap.contact-wrap--flex {
  display: flex;
  justify-content: space-between;
  max-width: 1000px;
  margin: auto;
  border-radius: 10px;
  padding: 55px 0;
  @media screen and (max-width: 768px) {
    display: block;
    padding: 0;
  }
}

.contact-wrap .form_area-box.form_area-box--column {
  padding: 30px;
  box-shadow: inherit;
  max-width: 500px;
  margin: 0;
  @media screen and (max-width: 768px) {
    max-width: inherit;
    width: 100%;
  }
  @media screen and (max-width: 576px) {
    padding: 15px;
  }
  /*========================================================================= */
  /*構造 */
  /*========================================================================== */
  /*全体 */
  /*---------------------------------------------------------- */
  .hs-form {
    margin: 0 auto;
  }
  /*行 */
  /*---------------------------------------------------------- */
  .hs-form {
    > fieldset {
      margin: 0;
      padding: 0;
      max-width: 1000px;
      .field {
        margin-bottom: 5px;
      }
    }
  }
  /*========================================================================= */
  /*テキスト */
  /*========================================================================== */
  /*入力見出し */
  /*---------------------------------------------------------- */
  .hs-form-field {
    > label {
      width: 100%;
      position: relative;
      cursor: default;
      display: flex;
      flex-direction: row-reverse;
      align-items: center;
      justify-content: flex-end;
      margin-bottom: 5px;
      padding-top: 8px;
      color: var(--rseikyu-primary);
      font-weight: 700;
      line-height: 1.3;
      text-align: left;
      @media screen and (max-width: 768px) {
        align-items: baseline;
      }
      > span {
        font-size: 15px;
        font-weight: bold;
        color: var(--black);
        @media screen and (max-width: 768px) {
          width: calc(100% - 32px);
        }
      }
    }
    .hs-form-required {
      min-width: 32px;
      color: var(--black);
      background-color: var(--rseikyu-accent);
      font-size: 73%;
      border-radius: 5px;
      padding: 2px 4px;
      margin: -2px 4px 0 4px;
      @media screen and (max-width: 768px) {
        position: relative;
        top: -2px;
        font-size: 10px;
        width: 32px;
        line-height: 1.4;
        text-align: center;
      }
    }
  }
  /*errorメッセージ */
  /*---------------------------------------------------------- */
  .hs-form-field {
    .hs-error-msg {
      font-size: 12px;
      color: var(--form-error-color);
      padding-left: 0px;
      text-align: left;
    }
  }
  .hs_error_rollup .hs-main-font-element {
    display: inline-block;
    font-size: 12px;
    border: 1px solid var(--form-error-color);
    color: var(--form-error-color);
    padding: 5px 10px;
    cursor: default;
    background-color: white;
    margin-top: 10px;
    margin-bottom: 10px;
    border-radius: 3px;
  }
  /*legendタグ用 */
  /*---------------------------------------------------------- */
  .hs-form fieldset legend {
    display: block;
    margin-left: 150px;
    font-size: 19.5px;
    line-height: 1;
    color: var(--black);
  }
  .hs-form.stacked legend {
    margin-left: 0;
  }
  .hs-form .hs-field-desc {
    color: var(--gray-06);
    margin: 0px 0px 5px 150px;
    font-size: 10px;
    line-height: 12px;
  }
  /*個人情報許可テキスト部分 */
  /*---------------------------------------------------------- */
  .legal-consent-container .hs-richtext,
  .hs-legaltext {
    margin-top: 10px;
    margin-bottom: 3px;
    line-height: 16px;
    font-size: 11px;
    color: var(--black);
    text-align: center;
    text-align: left;
  }
  /*その他テキスト */
  /*---------------------------------------------------------- */
  .hs-addtxt,
  .hs-addtxt-gray {
    font-size: 11px;
    text-align: center;
    line-height: 1.4;
    margin-bottom: 1em;
  }
  .hs-fieldtype-select .hs-input,
  .hs-fieldtype-textarea .hs-input,
  .hs-fieldtype-text .hs-input,
  .hs-fieldtype-date .hs-input {
    display: inline-block;
    width: 100% !important;
    height: 45px;
    padding: 3px 10px;
    background-color: white;
    font-size: 16px;
    line-height: 18px;
    font-weight: normal;
    color: var(--black);
    border-radius: 3px;
    border: 1px solid var(--gray-08);
    box-sizing: border-box;
  }
  .hs-input::placeholder {
    color: var(--form-placeholder);
  }
  .hs-input:focus {
    border: 2px solid var(--black);
    outline: 0;
  }
  /*error */
  /*---------------------------------------------------------- */
  .hs-input.error {
    border-color: var(--form-error-border);
    -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: var(--form-error-bg);
  }
  /*select */
  /*---------------------------------------------------------- */
  select.hs-input {
    -webkit-appearance: none;
    -moz-appearance: none;
    -o-appearance: none;
    appearance: none;
    cursor: pointer;
    &:focus {
      z-index: 3;
      width: 100%;
      border: 1px solid var(--form-error-border);
      border: 1px solid -webkit-focus-ring-color;
      background: var(--form-error-bg);
      outline-offset: -2px;
    }
    option {
      cursor: pointer;
      background-color: white;
      font-size: 16px;
    }
  }
  /*矢印 */
  .hs-fieldtype-select > .input {
    position: relative;
    &:after {
      position: absolute;
      display: block;
      content: "";
      width: 6px;
      height: 6px;
      border-top: 1px solid var(--form-select-border);
      border-right: 1px solid var(--form-select-border);
      right: 15px;
      top: calc(50% - 3px);
      transform: rotate(135deg);
    }
  }
  /*radio・checkbox　共通 */
  /*---------------------------------------------------------- */
  input[type=radio],
  input[type=checkbox] {
    -webkit-appearance: none;
    -moz-appearance: none;
    -o-appearance: none;
    appearance: none;
    cursor: pointer;
    position: relative;
    display: block;
    float: left;
    /*IE 専用 */
  }
  input[type=radio],
  input[type=checkbox] {
    @media all and (-ms-high-contrast: none) {
      position: relative;
      top: 3px;
      float: left;
    }
  }
  .hs-fieldtype-checkbox .input ul li,
  .hs-fieldtype-radio .input ul li {
    margin-bottom: 10px;
    margin-right: 10px;
    padding-left: 30px;
    /*IE 専用 */
  }
  .hs-fieldtype-checkbox .input ul li,
  .hs-fieldtype-radio .input ul li {
    @media all and (-ms-high-contrast: none) {
      padding-left: 0;
    }
  }
  .hs-form-radio label,
  .hs-form-checkbox label {
    display: block;
    cursor: pointer;
  }
  .hs-form-radio label > span,
  .hs-form-checkbox label > span {
    font-size: 16px;
    margin-left: -5px;
    /*IE 専用 */
  }
  .hs-form-radio label > span,
  .hs-form-checkbox label > span {
    @media all and (-ms-high-contrast: none) {
      margin-left: 0;
    }
  }
  /*radio */
  /*---------------------------------------------------------- */
  .hs-form-radio {
    label input[type=radio] {
      vertical-align: middle;
      border: none;
      width: auto;
      &:before {
        background-color: var(--white);
        border: 1px solid var(--form-placeholder);
        box-sizing: border-box;
        border-radius: 50%;
        width: 20px;
        height: 20px;
        left: -30px;
        top: 0px;
      }
      &:after {
        background-color: var(--form-radio);
        border-radius: 50%;
        opacity: 0;
        width: 12px;
        height: 12px;
        left: -26px;
        top: 4px;
      }
      &:focus {
        border: none;
      }
      &:before,
      &:after {
        content: "";
        display: block;
        position: absolute;
      }
      &:checked:before {
        border-color: var(--form-radio);
      }
      &:checked:after {
        opacity: 1;
      }
    }
    label:hover input[type=radio]:after {
      background-color: var(--form-radio-bg);
    }
  }
  /*checkbox */
  /*---------------------------------------------------------- */
  .hs-form-checkbox {
    label input[type=checkbox] {
      vertical-align: middle;
      border: none;
      &:before {
        background-color: var(--white);
        border-radius: 0%;
        border: 1px solid var(--form-placeholder);
        width: 20px;
        height: 20px;
        top: 0px;
        left: -30px;
        border-radius: 3px;
      }
      &:after {
        opacity: 0;
        height: 7px;
        width: 14px;
        top: 5px;
        left: -27px;
        border-bottom: 3px solid white;
        border-left: 3px solid white;
        transform: rotate(-45deg);
      }
      &:focus {
        border: none;
      }
      &:before,
      &:after {
        content: "";
        display: block;
        position: absolute;
        /* position: relative; */
      }
      &:checked:before {
        background-color: var(--form-radio);
        border-color: var(--form-radio);
      }
      &:checked:after {
        opacity: 1;
      }
    }
    label:hover input[type=checkbox]:checked:before {
      background-color: var(--form-radio-bg);
    }
  }
  /*送信ボタン */
  /*---------------------------------------------------------- */
  .hs-button {
    outline: 0;
    text-decoration: none;
    position: relative;
    text-align: center;
    display: block;
    padding: 24px 20px 22px;
    border-radius: 4px;
    font-size: 22px;
    background: var(--rseikyu-cta);
    color: var(--white);
    margin: 20px auto;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 500px;
    font-weight: bold;
    line-height: 1.4;
    border: 3px solid var(--white);
    border-radius: 1000px;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
    @media screen and (max-width: 768px) {
      font-size: 18px;
      padding: 14px 20px;
    }
    &:hover {
      box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.2);
      background-color: var(--white);
      border: 3px solid var(--rseikyu-cta);
      color: var(--rseikyu-cta);
      transform: scale(1.03);
    }
  }
}

.contact {
  .hs-button {
    margin-bottom: 10px;
  }
  .cta_flextitle {
    color: var(--white);
    font-size: 30px;
    font-weight: bold;
    border-top: 5px double var(--white);
    border-bottom: 5px double var(--white);
    padding: 18px 0;
    @media screen and (max-width: 768px) {
      font-size: 22px;
      border-top: none;
      border-bottom: none;
      padding: 0;
    }
  }
  .headline.headline--contact {
    width: 45%;
    padding: 0;
    flex-shrink: 0;
    margin-right: 3%;
    @media screen and (max-width: 768px) {
      width: 100%;
      margin-right: 0;
    }
  }
}

.contact-listwrap {
  text-align: left;
  border: 1px solid var(--white);
  padding: 25px 30px 30px;
  margin: 30px 0 35px;
  border-radius: 10px;
  @media screen and (max-width: 768px) {
    display: none;
  }
}

.contact-listtext {
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  line-height: 1.6;
}

.contact-item {
  font-size: 16px;
  list-style: disc;
  list-style-position: inside;
}

.contact .headline p.section_read.section_read--flex {
  font-size: 18px;
  text-align: center;
  padding-top: 25px;
  @media screen and (max-width: 768px) {
    font-size: 14px;
    padding-top: 20px;
    margin-bottom: 20px;
  }
}

.contact-listswrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 25px;
}

.contact-document {
  width: 150px;
  flex-shrink: 0;
  margin-left: 10px;
  @media screen and (max-width: 768px) {
    display: none;
  }
}

.contact .form_comment-box {
  font-size: 10px;
  text-align: center;
  padding: 0;
}

.p-top_onayami-content_data_answer {
  padding: 45px 0px 20px;
}

/* ========================================================================= */
/* お悩みセクション用 */
/* ========================================================================= */

.p__top-onayami {
  .o-m__onayami--case {
    position: relative;
    @media screen and (max-width: 576px) {
      padding: 0;
    }
  }
  .onayami-case__wrap {
    padding: 50px 0 20px;
    @media screen and (max-width: 768px) {
      padding: 0px;
    }
    &::after {
      @media screen and (max-width: 768px) {
        content: "";
        position: absolute;
        top: 0;
        left: -20px;
        display: block;
        background-color: var(--gray-bg-02);
        width: calc(100% + var(--inner-side-padding));
        height: calc(100% + var(--inner-height-padding));
        z-index: -1;
      }
    }
  }
  .onayami-case-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 30px;
    @media screen and (max-width: 768px) {
      display: block;
      gap: 0;
    }
  }
  .onayami-case__content {
    --triangle-height: 15px;
    --triangle-width: 20px;
    position: relative;
    padding: 20px 20px 30px;
    background-color: var(--gray-bg-02);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    height: 100%;
    &::after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 50%;
      border-style: solid;
      border-width: var(--triangle-height) calc(var(--triangle-width) / 2) 0 calc(var(--triangle-width) / 2);
      border-color: var(--gray-bg-02) transparent transparent;
      transform: translate(-50%, 100%);
    }
  }
  .onayami-case__content.p__top-.onayami-case__content--mb {
    margin: 0 0 30px;
  }
  .onayami-case__image-wrap {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
    background-color: var(--gray-bg-02);
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .onayami-case-content-title {
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    padding: 10px;
    border-radius: 70px;
    margin: auto;
    z-index: 2;
  }
  .onayami-case-content-list {
    display: flex;
    flex-direction: column;
    flex: 1;
    list-style: none;
    padding: 0;
    margin: 35px 0 0;
  }
  .onayami-case-content-item {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--white);
    font-size: 16px;
    font-weight: bold;
    min-height: 100px;
    padding: 15px 20px;
    border-radius: 10px;
    flex: 1; /* これで白い背景の高さが揃います */
    &:not(:last-of-type) {
      margin-bottom: 10px;
    }
  }
}

.c-circle-number {
  width: 68px;
  height: 68px;
  border-radius: 32px;
  text-align: center;
  position: absolute;
  left: 50%;
  top: -33px;
  padding: 18px 0 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  transform: translateX(-50%);
  background: var(--rseikyu-bg-sub-03);
  color: var(--rseikyu-primary);
  z-index: 10;
  @media screen and (max-width: 768px) {
    width: 58px;
    height: 58px;
    left: 50%;
    transform: translateX(-50%);
    top: -27px;
    padding: 12px 0 0;
    font-size: 22px;
  }
}

.c-circle-number__text {
  font-size: 10px;
  display: block;
}

.p__top-onayami .js-slick-slider.slick-initialized {
  display: block;
  width: 100%;
  outline: none;
  .slick-list,
  .slick-track {
    width: 100%;
    outline: none;
  }
}

.p__top-onayami {
  .onayami-case-item {
    @media screen and (max-width: 768px) {
      width: 100%;
      padding: 40px 10px 20px;
      box-sizing: border-box;
    }
  }
  .onayami-case__wrap .slick-prev,
  .onayami-case__wrap .slick-next {
    @media screen and (max-width: 768px) {
      display: block;
      background-image: none;
      width: 35px;
      height: 35px;
      top: 230px;
      z-index: 310;
    }
  }
  .onayami-case__wrap .slick-prev:before,
  .onayami-case__wrap .slick-next:before {
    @media screen and (max-width: 768px) {
      content: "";
      width: 35px;
      height: 35px;
      border-radius: 30px;
      background-color: var(--rseikyu-primary);
      position: absolute;
      top: 0;
      left: 0;
      opacity: 1;
    }
  }
  .onayami-case__wrap .slick-prev:after,
  .onayami-case__wrap .slick-next:after {
    @media screen and (max-width: 768px) {
      position: absolute;
      z-index: 1;
      display: block;
      content: "";
      width: 10px;
      height: 10px;
      top: 50%;
      left: 50%;
      transition: all ease 0.3s;
    }
  }
  .onayami-case__wrap .slick-prev {
    @media screen and (max-width: 768px) {
      left: 0;
    }
    &:after {
      @media screen and (max-width: 768px) {
        border-bottom: 2px solid var(--white);
        border-left: 2px solid var(--white);
        transform: translateY(-50%) translateX(-30%) rotate(45deg);
      }
    }
  }
  .onayami-case__wrap .slick-next {
    @media screen and (max-width: 768px) {
      right: 0;
    }
    &:after {
      @media screen and (max-width: 768px) {
        border-top: 2px solid var(--white);
        border-right: 2px solid var(--white);
        transform: translateY(-50%) translateX(-70%) rotate(45deg);
      }
    }
  }
}

.p__top-function_title.o-m__onayami-content_answer_title {
  @media screen and (max-width: 1024px) {
    top: -110px;
  }
  @media screen and (max-width: 1024px) and (max-width: 576px) {
    top: -80px;
  }
}

.p__top-logo-isolation {
  display: inline-flex;
  align-items: center;
  padding: 20px;
  line-height: 0;
  vertical-align: middle;
}

/* セキュリティ対策（o-m__panel / o-c__panel-box を流用） */

.p__top-security_list.o-m__panel-listdata_column {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  @media screen and (max-width: 576px) {
    grid-template-columns: 1fr;
  }
}

.p__top-security_list .o-c__panel-box {
  margin-bottom: 0;
  padding: 30px;
  cursor: default;
}

.p__top-security_list .o-c__panel-box_head_icon {
  margin: 0 auto 10px;
  @media screen and (max-width: 576px) {
    width: 95px;
    height: 95px;
  }
  img {
    @media screen and (max-width: 576px) {
      width: 70px;
    }
  }
}

.p__top-security_mark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  height: 95px;
  margin: 10px auto;
  @media screen and (max-width: 576px) {
    gap: 12px;
  }
  img {
    width: auto;
    height: 80px;
    @media screen and (max-width: 576px) {
      height: 64px;
    }
  }
}

.p__top-security_title {
  margin: 0 0 10px;
  color: var(--rseikyu-primary);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  @media screen and (max-width: 576px) {
    font-size: 18px;
  }
}

.p__top-security_text.o-c__panel-box_lead {
  padding: 0;
  font-size: 15px;
  line-height: 1.8;
  text-align: left;
  @media screen and (max-width: 576px) {
    padding: 0;
    font-size: 14px;
  }
}

.p__top-security_more {
  margin: 30px 0 0;
  font-size: 16px;
  line-height: 1.7;
  text-align: center;
  @media screen and (max-width: 576px) {
    font-size: 14px;
    text-align: left;
  }
}

.p__top-security_more_link {
  color: var(--rseikyu-primary);
  font-weight: 700;
  text-decoration: underline;
  &:hover {
    text-decoration: none;
  }
}
