@charset "UTF-8";
/*
  /rakurakucloud/jidootai/asset/css/object/module/m-form-step.css
  ステップフォームページ設置用フォームCSS
*/

:root {
    /* HubSpot Define custom styling for embedded forms using CSS */
    /* Global（システム設定されている設定値） Variables */
    --hsf-global__font-family:
      /* すべての要素のフォントファミリーを設定 */
      "Noto Sans JP", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, Meiryo, YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, sans-serif;
    --hsf-global__font-size:
      /* すべての要素のフォントサイズを設定 */
      16px;
    --hsf-global__color:
      /* すべての要素のデフォルトのテキスト色を設定 */
      var(--black);
    --hsf-global-error__color:
      /* エラーの色を設定 */
      #d93025;

    /* Row（行） Variables */
    --hsf-row__horizontal-spacing:
      /* 行間の水平間隔を設定 */
      0;
    --hsf-row__vertical-spacing:
      /* 行間の垂直間隔を設定 */
      15px;
    --hsf-module__vertical-spacing:
      /* モジュール間の垂直間隔を設定 */
      15px;

    /* Button（ボタン各種） Variables */
    /*
    --hsf-button__font-family: すべてのボタンのフォントファミリーを設定;
    --hsf-button__font-size: すべてのボタンのフォントサイズを設定;
    --hsf-button__color: #fff; すべてのボタンのテキスト色を設定;
    --hsf-button__background-image: すべてのボタンの背景画像を設定 ;
    */
    --hsf-button__background-color:
      /* すべてのボタンの背景色を設定 */
      var(--rjidootai-primary);
    --hsf-button__border-radius:
      /* すべてのボタンの境界の半径を設定 */
      5px;
    --hsf-button__padding:
      /* すべてのボタンのパディングを設定 */
      20px 0 22px 0;
    --hsf-button__box-shadow:
      /* すべてのボタンのボックスシャドウを設定 */
      none;
    --hsf-button__width:
      /* すべてのボタンの幅 */
      187px;
    --hsf-button__height:
      /* すべてのボタンの高さ */
      63px;

    /* Rich Text (リッチテキスト)Variables */
    /*
    --hsf-richtext__font-family: リッチテキスト要素のフォントファミリーを設定 ;
    --hsf-richtext__font-size: リッチテキスト要素のフォントサイズを設定 ;
    --hsf-richtext__color: テキスト要素のテキスト色を設定 ;
    */

    /* Heading（見出し） Variables */
    /*
    --hsf-heading__font-family: フォームの見出しのフォントファミリーを設定 ;
    --hsf-heading__color: フォームの見出しのテキストの色を設定 ;
    --hsf-heading__text-shadow: フォームの見出しのテキストシャドウを設定 ;
    */

    /* Background（背景） Variables */
    /*
    --hsf-background__background-image: フォームの背景画像を設定 ;
    --hsf-background__background-size: 背景サイズを設定 ;
    --hsf-background__background-position: 背景の位置を設定 ;
    --hsf-background__background-repeat: 背景の繰り返し動作を設定 ;
    --hsf-background__border-style: フォームの境界線のスタイルを設定 ;
    --hsf-background__border-color: フォームの境界線の色を設定 ;
    --hsf-background__border-radius: フォームの境界線の半径を設定 ;
    --hsf-background__border-width: フォームの境界線の幅を設定 ;
    */
    --hsf-background__background-color:
      /* フォームの背景色を設定 */
      transparent;
    --hsf-background__padding:
      /* フォームのパディングを設定  */
      0 0 20px;

    /* Error Alert（エラーアラート） Variables */
    /*
    --hsf-erroralert__font-family: エラーアラートのフォントファミリーを設定 ;
    --hsf-erroralert__color: エラーアラートのテキストの色を設定 ;
    */
    --hsf-erroralert__font-size:
      /* エラーアラートのフォントサイズを設定 */
      14px;

    /* Info Alert（情報アラート） Variables */
    /* --hsf-infoalert__font-family: 情報アラートのフォントファミリーを設定 ;  */
    --hsf-infoalert__font-size:
      /* 情報アラートのフォントサイズを設定 */
      14px;
    --hsf-infoalert__color:
      /* 情報アラートのテキストの色を設定 */
      #d93025;

    /* Field Input（フィールド） Variables */
    /*
    --hsf-field-label__font-family: フィールドラベルのフォントファミリーを設定 ;
    --hsf-field-description__font-family: フィールドの説明のフォントファミリーを設定 ;
    --hsf-field-footer__font-family: フィールドフッターのフォントファミリーを設定;
    --hsf-field-footer__color: フッター文字色;
    --hsf-field-input__font-family: 入力欄フォント;
    --hsf-field-input__color: 入力欄文字色;
    */
    --hsf-field-label__font-size:
      /* フィールドラベルのフォントサイズを設定 */
      16p;
    --hsf-field-label__color:
      /* フィールドラベルのテキスト色を設定 */
      var(--black);
    --hsf-field-label-requiredindicator__color:
      /* フィールドラベルの必須インジケータの色を設定 */
      #fff;
    --hsf-field-description__color:
      /* フィールドの説明のテキストの色を設定 */
      var(--black);
    --hsf-field-input__background-color:
      /* フィールド入力の背景色を設定 */
      var(--white);
    --hsf-field-input__placeholder-color:
      /* フィールド入力のプレースホルダーの色を設定 */
      var(--gray-08);
    --hsf-field-input__border-color:
      /* フィールド入力の境界線の色を設定 */
      var(--gray-08);
    --hsf-field-input__border-width:
      /* フィールド入力の境界線の幅を設定 */
      1px;
    --hsf-field-input__border-style:
      /* フィールド入力の境界線のスタイルを設定 */
      solid;
    --hsf-field-input__border-radius:
      /* フィールド入力の境界半径を設定 */
      10px;
    --hsf-field-input__padding:
      /* フィールド入力のパディングを設定 */
      20px;

    /* Field Textarea（フィールドテキストエリア） Variables */
    /*
    --hsf-field-textarea__font-family: テキストエリアフォント;
    --hsf-field-textarea__color: テキストエリアのテキストの色を設定 ;
    */
    --hsf-field-textarea__background-color:
      /* テキストエリアの背景色を設定 */
      var(--white);
    --hsf-field-textarea__placeholder-color:
      /* テキストエリア内のプレースホルダーテキストの色を設定 */
      var(--gray-08);
    --hsf-field-textarea__border-color:
      /* テキストエリアの境界線の色を設定 */
      var(--gray-08);
    --hsf-field-textarea__border-width:
      /* テキストエリアの境界線の幅を設定 */
      1px;
    --hsf-field-textarea__border-style:
      /* テキストエリアの境界線のスタイルを設定 */
      solid;
    --hsf-field-textarea__border-radius:
      /* テキストエリアの境界半径を設定 */
      10px;
    --hsf-field-textarea__padding:
      /* テキストエリアのパディングを設定 */
      20px;

    /* Field Checkbox（フィールドチェックボックス） Variables */
    --hsf-field-checkbox__padding:
      /* フォームのチェックボックス内のパディングを設定 */
    ;
    --hsf-field-checkbox__background-color:
      /* チェックボックスの背景色を設定 */
      var(--white);
    --hsf-field-checkbox__color:
      /* チェックボックスのテキストの色を設定 */
      var(--rjidootai-primary);
    --hsf-field-checkbox__border-color:
      /* チェックボックスの境界線の色を設定 */
      var(--gray-08);
    --hsf-field-checkbox__border-width:
      /* チェックボックスの境界線の幅を設定 */
      1px;
    --hsf-field-checkbox__border-style:
      /* チェックボックスの境界線の幅を設定 */
      solid;




    /* Field Radio（フィールドラジオ）Variables */
    /*
    --hsf-field-radio__padding: ラジオボタンのパディングを設定;
    --hsf-field-radio__background-color: ラジオボタンの背景色を設定;
    --hsf-field-radio__color: ラジオボタンのテキスト色を設定;
    --hsf-field-radio__border-color: ラジオボタンの境界線の色を設定;
    --hsf-field-radio__border-width: ラジオボタンの境界線の幅を設定;
    --hsf-field-radio__border-style: ラジオボタンの境界線のスタイルを設定;
    */
  }

  .hs-form-html {

    /* 入力項目のラベル周りと必須マーク書き換えの設定 */
    .hsfc-FieldLabel {
      position: relative;
      font-weight: bold;
    }

    .hsfc-FieldLabel>span:nth-child(1) {
      display: flex;

      span.hsfc-FieldLabel__RequiredIndicator {
        background-color: var(--rjidootai-primary);
        border-radius: 5px;
        background-size: 100%;
        padding: 5px 8px 6px;
        line-height: 1;
        width: 40px;
        height: 23px;
        white-space: nowrap;
        font-size: 0;
        text-align: center;
        display: block;
        order: 1;
        margin-right: 5px;
      }

      span.hsfc-FieldLabel__RequiredIndicator::after {
        content: "必須";
        display: inline;
        font-size: 12px;
        text-align: center;
        color: #fff;
      }

      span:not(.hsfc-FieldLabel__RequiredIndicator) {
        order: 2;
        margin-top: 2px;
      }
    }

    /* エラーテキストの装飾設定 */
    .hsfc-ErrorAlert {
      position: relative;
    }

    .hsfc-ErrorAlert::before {
      content: "";
      display: inline-block;
      width: 22px;
      height: 22px;
      background-image: url(/rakurakucloud/jidootai/asset/image/common/figure/icon-error.svg);
      background-size: cover;
      background-repeat: no-repeat;
      vertical-align: bottom;
      margin-right: 5px;
    }

    /* 個人情報の文言 */
    .hsfc-RichText {
      font-size: 13px;
      line-height: 1.2;
    }

    /* input要素の状態変化による装飾設定 */
    input:focus {
      border-color: var(--rjidootai-primary) !important;
    }
    input:-internal-autofill-selected {
      background-color: #FFF5E6;
    }
    input[aria-required="true"][aria-invalid="true"] {
      border-style: solid !important;
      border-color: #d93025 !important;
    }

    input[aria-required="true"][aria-invalid="false"].hsfc-TextInput.valid-input {
      position: relative !important;
    }

    input[aria-required="true"][aria-invalid="false"].hsfc-TextInput.valid-input::before {
      content: "";
      position: absolute;
      top: 19px;
      right: 20px;
      width: 25px;
      height: 25px;
      background: #00cc44;
      border-radius: 50%;
      z-index: 999;
      display: block;
    }

    input[aria-required="true"][aria-invalid="false"].hsfc-TextInput.valid-input::after {
      content: "";
      position: absolute;
      top: 25px;
      right: 27px;
      width: 9px;
      height: 7px;
      border-left: 2px solid #fff;
      border-bottom: 2px solid #fff;
      transform: rotate(-45deg);
      z-index: 999;
      display: block;
    }

    /* セレクトボタン要素周りの設定 */
    [data-hsfc-id=Renderer] .hsfc-DropdownInput__Caret>span {
      content: '';
      display: inline-block;
      position: absolute;
      top: 25px;
      right: 25px;
      width: 10px;
      height:10px;
      z-index: 0;
      border-top: none;
      border-left: 2px solid var(--rjidootai-primary);
      border-right: none;
      border-bottom: 2px solid var(--rjidootai-primary);
      transform: rotate(-45deg);
    }

    /* 各ボタン要素周りの設定 */
    .hsfc-NavigationRow__Buttons {
      gap: 10px;
    }

    button {
      height: 63px;
      box-sizing: border-box !important;
      position: relative;
      transform: translateY(0) !important;
      border: 1px solid var(--rjidootai-primary) !important;
    }

    button[type="submit"] {
      width: 260px !important;
      background-color: var(--rjidootai-cta) !important;
      border: 1px solid var(--rjidootai-cta) !important;
      transition: transform .2s ease-out, background-color .2s linear, box-shadow .2s;
    }

    button[type="submit"]:hover {
      width: 260px !important;
      background-color: var(--white) !important;
      color: var(--rjidootai-cta) !important;
    }
    .hsfc-Button[disabled] {
      background-color: var(--gray-bg-01);
      border: 1px solid var(--gray-bg-01)!important;
      filter: brightness(100%)!important;
    }
    button.hsfc-Button.button-item--next {
      text-indent: -35px;
    }

    button[type="submit"]::after,
    button.hsfc-Button.button-item--next::before {
      position: absolute;
      top: 50%;
      right: 20px;
      content: "";
      display: block;
      width: 12px;
      height: 12px;
      border-radius: 0;
      background: none;
      border-top: solid 2px var(--white);
      border-right: solid 2px var(--white);
      transform: translateY(-50%) translateX(0) rotate(45deg);
      transition: transform .3s;
    }

    /* button[type="submit"]::after,
    button.hsfc-Button.button-item--next::after {
      content: "";
      position: absolute;
      top: calc(50% - 8px);
      right: 0;
      width: 15px;
      height: 15px;
      background: url(/asset/image/common/icon_arrow-orange.svg) left center no-repeat;
      background-size: 100%;
      transform: translateX(-100px);
      opacity: 0;
    } */

    button.hsfc-Button.button-item--previous {
      background-color: #fff;
      color: var(--black) !important;
      border: 1px solid var(--gray-08) !important;
      width: 127px;
      padding: 20px 0 22px 20px;
      &:focus{
        background-color: var(--gray-09);
      }
    }

    button.hsfc-Button.button-item--previous::before {
      position: absolute;
      top: 50%;
      left: 20px;
      content: "";
      display: block;
      width: 12px;
      height: 12px;
      border-radius: 0;
      background: none;
      border-top: solid 2px var(--gray-08);
      border-left: solid 2px var(--gray-08);
      transform: translateY(-50%) translateX(0) rotate(-45deg);
      transition: transform .3s;
    }
    button.hsfc-Button.button-item--previous:hover {
      background-color: #fff;
    }
    button.hsfc-Button.button-item--previous:hover::before {
      transform: translateY(-50%) translateX(-5px) rotate(-45deg);
      border-top: solid 2px var(--gray-08);
      border-left: solid 2px var(--gray-08);
    }

    /* button.hsfc-Button.button-item--previous::after {
      content: "";
      position: absolute;
      top: calc(50% - 8px);
      left: 0;
      width: 15px;
      height: 15px;
      background: url(/asset/image/common/icon_arrow-gray-hover-left.svg) left center no-repeat;
      background-size: 100%;
      transform: translateX(70px);
      opacity: 0;
    } */
    button.hsfc-Button.button-item--next:hover {
      background: #fff !important;
      color: var(--rjidootai-primary) !important;
      border: 1px solid var(--rjidootai-primary) !important;
      filter: none;
    }
    button.hsfc-Button[disabled].button-item--next:hover {
      color: var(--white) !important;
      background-color: var(--gray-bg-01) !important;
      border: 1px solid var(--gray-bg-01) !important;
      cursor: not-allowed;
    }
  
    button.hsfc-Button.button-item--next:hover::before {
      transform: translateY(-50%) translateX(5px) rotate(45deg);
      border-top: solid 2px var(--rjidootai-primary);
      border-right: solid 2px var(--rjidootai-primary);
    }

    button.hsfc-Button[disabled].button-item--next:hover::before{
      transform: translateY(-50%) rotate(45deg);
      border-top: solid 2px var(--white);
      border-right: solid 2px var(--white);
    }

    button[type="submit"]:hover::after {
      border-top: solid 2px var(--rjidootai-cta);
      border-right: solid 2px var(--rjidootai-cta);
    }
    button.hsfc-Button.button-item--previous:hover {
      background-color: #fff;
    }
    button.hsfc-Button.button-item--previous:hover::before {
      transform: translateY(-50%) translateX(-5px) rotate(-45deg);
      border-top: solid 2px var(--gray-08);
      border-left: solid 2px var(--gray-08);
    }

    @media (hover: hover) {

      button[type="submit"]:hover {
        background: #fff !important;
        color: var(--rjidootai-cta) !important;
        border: 1px solid var(--rjidootai-cta) !important;
        cursor: pointer;
      }
     

      /* button.hsfc-Button.button-item--next:hover::after {
        transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1) 0.1s;
        transform: translateX(-35px);
        opacity: 1;
      } */
      

      /* button.hsfc-Button.button-item--previous:hover::after {
        transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1) 0.1s, opacity 0.6s ease 0.1s;
        transform: translateX(15px);
        opacity: 1;
      } */
    }

    /* チェックノックス要素周りの設定 */
    .hsfc-CheckboxInput {
      width: 20px;
      height: 20px;
    }

    @media screen and (max-width:430px) {
      button[type="submit"] {
        padding: 0 30px 0 10px;
        line-height: 1.2;
        width: 100% !important;
        ;
      }

      button[type="submit"]:hover {
        width: 100% !important;
        ;
      }

      .hsfc-NavigationRow__Buttons {
        flex-direction: initial !important;
      }

      .hsfc-TextareaInput {
        padding: 10px;
        line-height: 1.2;
        min-height: 6em;
      }
    }
  }
  .m-form-ai-col2-form .hs-form-html button.hsfc-Button.button-item--next,.m-form-ai-col2-form .hs-form-html button[type="submit"].hsfc-Button{
    background: var(--rjidootai-ai-gradation);
    border: none !important;
  }
  .m-form-ai-col2-form .hs-form-html button.hsfc-Button.button-item--next:hover,.m-form-ai-col2-form .hs-form-html button[type="submit"].hsfc-Button:hover{
  background: var(--white) !important;
  color: var(--rjidootai-ai-primary) !important;
  border: 1px solid var(--rjidootai-ai-primary) !important;
  }
  .m-form-ai-col2-form .hs-form-html button.hsfc-Button.button-item--next:hover::before,.m-form-ai-col2-form .hs-form-html button[type="submit"].hsfc-Button:hover::after{
    border-top: solid 2px var(--rjidootai-ai-primary);
    border-right: solid 2px var(--rjidootai-ai-primary);
  }
  .m-form-note{
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    margin: 0 0 10px;
  }