@charset "UTF-8";

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

/* 明細リンク */

.p__top-introduction_link .o-c__btn-text_icon_arrow_bg {
  background-color: var(--rmeisai-primary);
  @media screen and (max-width: 576px) {
    top: 26%;
  }
}

/* ========================================================================= */
/*top独自のcss */
/*========================================================================== */
/*FV */

.p__top-fv {
  /*---------------------------------------------------------- */
  /* FV小さめ設定（h420px） */
  /*---------------------------------------------------------- */
  display: flex;
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
  background-color: var(--gray-bg-02);
  @media screen and (max-width: 768px) {
    height: auto;
  }
  @media screen and (max-width: 576px) {
    display: block;
    padding: 40px 0 81px;
  }
  &:before {
    content: "";
    position: absolute;
    top: -59px;
    left: calc(50% + 350px);
    width: 699px;
    height: 850px;
    transform: rotate(-10deg);
    background-image: url(/rakurakucloud/seikyu/assets/image/figure/fv_back_component.svg);
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 10;
    @media screen and (max-width: 1024px) {
      width: 640px;
      height: 640px;
      transform: rotate(-9deg);
      top: -100px;
      left: calc(50% + 100px);
    }
    @media screen and (max-width: 768px) {
      width: 460px;
      height: 460px;
      transform: rotate(20deg);
      top: auto;
      left: auto;
      bottom: -70px;
      right: -100px;
    }
    @media screen and (max-width: 576px) {
      bottom: 161px;
      right: -44px;
      width: 200px;
      height: 200px;
      transform: rotate(345deg);
    }
  }
  &:after {
    content: "";
    position: absolute;
    top: 0;
    right: calc(50% + 580px);
    width: 448px;
    height: 448px;
    background-image: url(/rakurakucloud/seikyu/assets/image/figure/fv_back_component_left.svg);
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 10;
    @media screen and (max-width: 768px) {
      display: none;
    }
  }
}

.p__top-fv_talent {
  position: absolute;
  top: 50px;
  left: calc(50% + 220px);
  width: 478px;
  padding-top: 10px;
  z-index: 100;
  @media screen and (max-width: 1024px) {
    width: 440px;
    left: calc(50% + 80px);
    top: 10px;
  }
  @media screen and (max-width: 768px) {
    top: auto;
    left: auto;
    bottom: -20px;
    right: -30px;
    width: 50vw;
  }
  @media screen and (max-width: 576px) {
    bottom: -120px;
    width: 273px;
    height: 332px;
    z-index: 130;
  }
  img {
    display: block;
    width: 100%;
    height: auto;
  }
}

.p__top-fv_note {
  margin: 0 auto;
  max-width: 1000px;
  @media screen and (max-width: 768px) {
    padding: 0 20px;
  }
  @media screen and (max-width: 576px) {
    padding: 70px 20px 0;
  }
}

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

.p__top-fv_block {
  @media screen and (max-width: 768px) {
    padding: 50px 25px 50px;
    width: 100%;
  }
  @media screen and (max-width: 576px) {
    padding: 0 20px 45px;
  }
  > * {
    position: relative;
    z-index: 10;
  }
}

/*以下、コピー部分は各ページ適宜調整 */
/*---------------------------------------------------------- */

.p__top-fv_block_copy {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.2;
  margin: 30px auto;
  @media screen and (max-width: 1024px) {
    font-size: 6vw;
    margin: 20px auto;
  }
  @media screen and (max-width: 768px) {
    font-size: min(8vw, 46px);
  }
  @media screen and (max-width: 576px) {
    line-height: 1;
    margin-bottom: 10px;
  }
}

.p__top-fv_block_copy_sub {
  font-size: 25px;
  line-height: 1;
  display: block;
  margin-bottom: 20px;
  @media screen and (max-width: 1024px) {
    font-size: 3.5vw;
    padding-bottom: 10px;
    margin-bottom: 10px;
  }
  @media screen and (max-width: 768px) {
    line-height: 1.4;
    margin-bottom: 0;
  }
  @media screen and (max-width: 576px) {
    font-size: 4.6vw;
    padding-bottom: 15px;
  }
}

.p__top-fv_block_copy_sub_name {
  display: inline-block;
  font-size: 38px;
  text-indent: -0.5em;
  padding-bottom: 12px;
}

.p__top-fv_block_copy .sp-only {
  @media screen and (max-width: 768px) {
    display: block;
  }
}

.p__top-fv_block_balloon {
  display: table-cell;
  vertical-align: middle;
  margin: 0 auto 30px;
  max-width: 500px;
  padding: 10px 25px 7px;
  background: var(--rseikyu-primary);
  color: var(--white);
  text-align: center;
  font-size: 22px;
  line-height: 1;
  border-radius: 25px;
  @media screen and (max-width: 768px) {
    display: block;
    max-width: none;
    width: 100%;
    margin: 0 auto;
    padding: 8px 5px 5px 5px;
    font-size: 18px;
    white-space: inherit;
  }
}

.p__top-fv_block_point_item {
  position: relative;
  padding: 3px 30px 0 32px;
  margin-bottom: 5px;
  font-size: 18px;
  @media screen and (max-width: 768px) {
    font-size: 18px;
    padding: 0 0 0 20px;
  }
  @media screen and (max-width: 576px) {
    font-size: 14px;
  }
  &:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.3em;
    width: 21px;
    height: 21px;
    background: var(--rseikyu-primary);
    border-radius: 11px;
    @media screen and (max-width: 768px) {
      top: 0.1em;
      width: 14px;
      height: 14px;
      border-radius: 10px;
    }
  }
  &:after {
    content: "";
    position: absolute;
    left: 7px;
    top: calc(0.3em + 6px);
    width: 8px;
    height: 6px;
    border-top: solid 2px var(--white);
    border-right: solid 2px var(--white);
    transform: rotate(135deg);
    @media screen and (max-width: 768px) {
      top: calc(0.1em + 3px);
      left: 4px;
      width: 7px;
      height: 5px;
    }
  }
}

.p__top-fv_block_point {
  @media screen and (max-width: 768px) {
    display: block;
    padding: 10px 0 0;
  }
}

/*cta */

.p__top-cta {
  max-width: 940px;
  margin: 0px auto;
  position: relative;
  top: -42px;
  z-index: 500;
  display: flex;
  justify-content: space-around;
  @media screen and (max-width: 768px) {
    width: 100%;
  }
  @media screen and (max-width: 576px) {
    width: 100%;
    display: block;
    top: -30px;
    height: 0;
  }
  /*次のセクションがグリーンなため、応急処置 */
  + section {
    @media screen and (min-width: 577px) {
      margin-top: -85px;
      padding-top: 120px;
    }
    @media screen and (max-width: 576px) {
      padding-top: 140px;
    }
  }
}

/*introduction */

.p__top-introduction {
  padding: 40px 0 70px 0;
  @media screen and (max-width: 768px) {
    display: block;
    padding: 0 0 20px;
  }
  @media screen and (max-width: 576px) {
    display: block;
    padding: 0 0 50px;
  }
}

.p__top-introduction-logo {
  width: 144px;
  @media screen and (max-width: 576px) {
    width: 60%;
  }
}

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

.p__top-introduction_family_dl {
  position: relative;
  width: 320px;
  background-color: var(--white);
  border-radius: 10px;
  padding: 35px 0 20px;
  text-align: center;
  @media screen and (max-width: 768px) {
    width: 32%;
  }
  @media screen and (max-width: 576px) {
    padding: 3vw 0 1vw;
  }
  @media screen and (max-width: 576px) {
    width: 48%;
  }
  &:nth-of-type(1) {
    @media screen and (max-width: 576px) {
      left: 50%;
      transform: translateX(-50%);
      margin-bottom: 7vw;
    }
  }
  &:nth-of-type(2) {
    @media screen and (max-width: 576px) {
      float: left;
    }
  }
  &:nth-of-type(3) {
    @media screen and (max-width: 576px) {
      float: right;
    }
  }
  dt {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-block;
    color: var(--white);
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
    letter-spacing: 0.7px;
    padding: 10px 30px;
    border-radius: 100px;
    @media screen and (max-width: 576px) {
      padding: 0.3em 1em;
    }
  }
}

.p__top-introduction_family_dl_seisan {
  background-color: var(--rseisan-primary);
}

.p__top-introduction_family_dl_meisai {
  background-color: var(--rmeisai-primary);
}

.p__top-introduction_family_dl_seikyu {
  background-color: var(--rseikyu-primary);
}

.p__top-introduction_heading_h2 {
  font-size: 24px;
  line-height: 1.7;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  @media screen and (max-width: 576px) {
    font-size: 5vw;
    line-height: 1.6;
  }
}

.p__top-introduction_link {
  text-align: right;
  padding-top: 20px;
  font-weight: 700;
  @media screen and (max-width: 576px) {
    width: 100%;
    text-align: center;
  }
  .o-c__btn-text {
    @media screen and (max-width: 576px) {
      text-align: left;
      margin-top: 20px;
    }
  }
  a {
    color: var(--rmeisai-primary);
    text-decoration: none;
    &:hover {
      color: var(--rmeisai-primary);
    }
  }
}

.p__top-introduction_achievement {
  text-align: center;
  margin-bottom: 30px;
}

.p__top-introduction_achievement_inner {
  display: inline-block;
  @media screen and (max-width: 768px) {
    display: block;
  }
  .f__common-text_annotation {
    text-align: left;
  }
}

.p__top-introduction_achievement_emblem {
  padding: 0 65px 10px;
  margin-bottom: 20px;
  display: inline-block;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  background-image: url("/rakurakucloud/seikyu/assets/image/figure/figure_laurel_seikyu_left.svg"), url("/rakurakucloud/seikyu/assets/image/figure/figure_laurel_seikyu_right.svg");
  background-repeat: no-repeat, no-repeat;
  background-position: left center, right center;
  background-size: contain;
  @media screen and (max-width: 1024px) {
    padding: 20px 65px;
    font-size: min(2.3vw, 20px);
  }
  @media screen and (max-width: 768px) {
    padding: 0;
    background: none;
    font-size: 16px;
  }
  @media screen and (max-width: 576px) {
    font-size: 15px;
  }
}

.p__top-introduction_achievement_emblem_record {
  font-size: 30px;
  line-height: 1.3;
  @media screen and (max-width: 1024px) {
    font-size: min(3.2vw, 28px);
  }
  @media screen and (max-width: 768px) {
    padding: 10px 55px 5px;
    background-image: url("/rakurakucloud/seikyu/assets/image/figure/figure_laurel_seikyu_left.svg"), url("/rakurakucloud/seikyu/assets/image/figure/figure_laurel_seikyu_right.svg");
    background-repeat: no-repeat, no-repeat;
    background-position: left center, right center;
    background-size: contain;
    font-size: 18px;
    margin-bottom: 15px;
  }
  br {
    @media screen and (min-width: 1025px) {
      display: none;
    }
  }
  ._big {
    font-size: 58px;
    color: var(--rseikyu-primary);
    padding: 0 3px;
    @media screen and (max-width: 1024px) {
      font-size: min(5vw, 48px);
    }
    @media screen and (max-width: 768px) {
      font-size: 40px;
    }
    @media screen and (max-width: 576px) {
      font-size: 32px;
    }
  }
}

.p__top-about_heading_h3 {
  font-size: 24px;
  font-weight: 700;
  padding-bottom: 25px;
  @media screen and (max-width: 576px) {
    text-align: center;
    font-size: 16px;
    line-height: 1.7;
  }
}

.p__top-about-logo {
  width: 180px;
  margin-right: 23px; /* アイソレ */
}

.p__top-about_content_text {
  display: flex;
  justify-content: center;
  margin-bottom: 26px;
  @media screen and (max-width: 576px) {
    display: block;
    padding-left: 0;
  }
}

.p__top-about_content_text_image {
  width: 230px;
  padding-top: 30px;
  @media screen and (max-width: 576px) {
    width: 220px;
    margin: 5px auto 30px;
  }
}

.p__top-about_content_text_copy {
  padding-left: 30px;
  @media screen and (max-width: 576px) {
    padding-left: 0;
  }
  p {
    font-size: 16px;
    line-height: 1.7;
    span {
      font-weight: 700;
    }
  }
}

.p__top-about_content_figure img {
  @media screen and (max-width: 1024px) {
    height: auto;
  }
}

.p__top-bnr {
  padding: 40px 0;
  @media screen and (max-width: 768px) {
    padding: 30px 20px 15px;
  }
  @media screen and (max-width: 576px) {
    padding: 30px 20px 15px;
  }
}

.p__top-bnr_inner {
  width: 1100px;
  margin: 0px auto;
  display: flex;
  justify-content: space-between;
  @media screen and (max-width: 1024px) {
    width: 100%;
    padding: 0 20px;
  }
  @media screen and (max-width: 768px) {
    width: 100%;
    display: block;
  }
  @media screen and (max-width: 576px) {
    width: 100%;
    display: block;
    padding: 0;
  }
}

.p__top-bnr_content {
  width: 346px;
  height: 126px;
  border-radius: 10px;
  transition: all ease 0.3s;
  @media screen and (max-width: 1024px) {
    width: 32%;
  }
  @media screen and (max-width: 768px) {
    width: 346px;
    margin: 0 auto 15px;
  }
  @media screen and (max-width: 576px) {
    width: 100%;
  }
  &:hover {
    @media screen and (min-width: 769px) {
      box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
    }
  }
}

.p__top-bnr_content_link {
  width: 346px;
  height: 126px;
  border-radius: 10px;
  padding: 6px;
  background-color: var(--rseikyu-primary);
  display: block;
  position: relative;
  text-decoration: none;
  @media screen and (max-width: 1024px) {
    width: 100%;
  }
  @media screen and (max-width: 576px) {
    width: 100%;
  }
  &:after {
    position: absolute;
    z-index: 1;
    display: block;
    content: "";
    width: 12px;
    height: 12px;
    border-top: 2px solid white;
    border-right: 2px solid white;
    top: 0;
    right: 15px;
    bottom: 0;
    margin: auto;
    transform: rotate(45deg);
    transition: all ease 0.3s;
  }
}

.p__top-bnr_content_link_inner {
  width: 334px;
  height: 114px;
  border-radius: 7px;
  @media screen and (max-width: 1024px) {
    width: 100%;
  }
  @media screen and (max-width: 576px) {
    width: 100%;
  }
}

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

.p__top-bnr_content_text_title_balloon {
  font-size: 14px;
  background-color: var(--white);
  border-radius: 15px;
  display: inline-block;
  color: var(--rseikyu-primary);
  padding: 8px 15px 5px;
  line-height: 1;
  margin-bottom: 10px;
  font-weight: 700;
}

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

.p__top-bnr_content_text_sub {
  font-size: 14px;
  display: block;
  @media screen and (max-width: 1024px) {
    font-size: 12px;
  }
  @media screen and (max-width: 576px) {
    font-size: 14px;
  }
}

.p__top-bnr_content._invoice {
  @media screen and (max-width: 576px) {
    margin-bottom: 15px;
  }
  .p__top-bnr_content_link {
    background-color: var(--rseikyu-primary);
    color: var(--white);
    text-align: center;
  }
  .p__top-bnr_content_link_inner {
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 15px 0 0 100px;
  }
  .p__top-bnr_content_image {
    width: 121px;
    height: 136px;
    position: absolute;
    bottom: 0;
    left: 10px;
  }
}

.p__top-bnr_content._denshi {
  a:hover {
    color: var(--rseikyu-primary);
  }
  .p__top-bnr_content_link {
    background-color: var(--rseikyu-bg-sub-01);
    &:after {
      border-top: 2px solid var(--rseikyu-primary);
      border-right: 2px solid var(--rseikyu-primary);
    }
  }
  .p__top-bnr_content_link_inner {
    background-color: var(--white);
    padding: 13px 0 0 105px;
    @media screen and (max-width: 576px) {
      padding: 13px 0 0 105px;
    }
  }
  .p__top-bnr_content_image {
    width: 121px;
    height: 136px;
    position: absolute;
    bottom: 0;
    left: -5px;
    @media screen and (max-width: 576px) {
      left: 0px;
    }
  }
  .p__top-bnr_content_text_title {
    line-height: 26px;
    color: var(--rseikyu-primary);
    @media screen and (max-width: 1024px) {
      line-height: 24px;
    }
    @media screen and (max-width: 576px) {
      line-height: 26px;
    }
  }
  .p__top-bnr_content_text_sub {
    color: var(--black);
    font-size: 15px;
    line-height: 20px;
    text-indent: -0.5em;
  }
}

.p__top-bnr_content._denshi {
  @media screen and (max-width: 576px) {
    margin-bottom: 15px;
  }
}

.p__top-bnr_content._payment_request .p__top-bnr_content_link {
  background-color: var(--rseikyu-bg-sub-02);
  color: var(--white);
}

.p__top-bnr_content._payment_request {
  .p__top-bnr_content_link_inner {
    background-color: var(--rseikyu-primary);
    padding: 15px 0 0 120px;
  }
  .p__top-bnr_content_image {
    width: 99px;
    height: 91px;
    position: absolute;
    bottom: 17px;
    left: 17px;
  }
  .p__top-bnr_content_text_title {
    line-height: 30px;
    @media screen and (max-width: 1024px) {
      line-height: 24px;
    }
    @media screen and (max-width: 576px) {
      line-height: 30px;
    }
  }
  .p__top-bnr_content_text_title_sub {
    display: block;
    font-size: 16px;
    line-height: 20px;
  }
}

.p__top-fv_content {
  position: relative;
  display: flex;
  align-items: flex-end;
  align-self: center;
  margin: 0 auto;
  width: 1200px;
  padding: 0 0 15px 0;
  @media screen and (max-width: 1150px) {
    width: calc(100% - 40px);
  }
  @media screen and (max-width: 768px) {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding: 0 0 85px 0;
  }
  @media screen and (max-width: 576px) {
    padding: 0;
  }
  > * {
    position: relative;
    z-index: 10;
  }
}

.p__top-fv_device {
  position: relative;
  z-index: 110;
  @media screen and (max-width: 768px) {
    padding-left: 25px;
  }
}

.p__top-fv_device_text_wrap {
  position: absolute;
  top: -75px;
  right: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--rseikyu-bg-main);
  border-radius: 100%;
  width: 112px;
  height: 112px;
  z-index: 120;
  @media screen and (max-width: 1024px) {
    top: -20px;
    right: 22px;
    width: 72px;
    height: 72px;
  }
}

.p__top-fv_device_text {
  color: var(--white);
  font-size: 26px;
  font-weight: bold;
  line-height: 1.2;
  background-color: var(--rseikyu-bg-main);
  border-radius: 100%;
  text-align: center;
  @media screen and (max-width: 1024px) {
    font-size: 18px;
  }
}

.p__top-fv_device_image {
  position: relative;
  width: 390px;
  transform: translateY(-10px);
  @media screen and (max-width: 1024px) {
    width: 292px;
    top: 30px;
  }
  @media screen and (max-width: 768px) {
    width: 342px;
    transform: translateY(0);
    top: 0;
  }
  img {
    filter: drop-shadow(24px 20px 28px rgba(0, 0, 0, 0.05)) drop-shadow(10px 8px 12px rgba(0, 0, 0, 0.04)) drop-shadow(3px 3px 10px rgba(0, 0, 0, 0.08));
  }
}
