:root {
    --hsf-field-label__font-size: 14px;
    --hsf-field-label__font-family: 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'メイリオ', Meiryo, Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
    --hsf-default-background__padding: 15px;
    --hsf-button__font-family: 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'メイリオ', Meiryo, Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
    --hsf-button__font-size: 18px;
    --hsf-button__padding: 12px 55px;
    --hsf-button__color: #FFFFFF;
    --hsf-button__background-color: #E54290;
    --hsf-button__border-color: #E54290;
    --hsf-field-input__font-family: 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'メイリオ', Meiryo, Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
    --hsf-field-input__font-size: 14px;
}

/* 全体の幅を設定 */
.hsfc-Step,.hsfc-Step__Content {
    max-width: 640px;
    margin: auto;
    padding: 0;
}

/* 全体の書体を設定 */
.hsfc-RichText {
    font-family: 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'メイリオ', Meiryo, Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif !important;
}

/* 項目テキスト以外の文字サイズ設定 */
.hsfc-FieldDescription {
    font-size: 14px !important;
    line-height: 1.4 !important;
    font-weight: 400;
}

/* 項目テキスト以外のリンクの設定 */
.hsfc-FieldDescription a {
    color: #428bca !important;
    text-decoration: none !important;
    background: none !important;
    text-underline-offset: 1px;
}

/* ホバー時のみ下線表示 */
.hsfc-FieldDescription a:hover {
    text-decoration: underline !important;
    background: none !important;
}

/* 電話番号の高さ設定 */
.hsfc-PhoneInput__FlagAndCaret {
    height: 12px;
}

/* バリデーションエラーメッセージの設定 */
.hsfc-ErrorAlert {
    font-size: 14px !important;
    line-height: 1.4;
    color: #CC0000;
    font-size: 14px;
}

/* 項目タイトルの詳細設定 */
.hsfc-FieldLabel {
    font-weight: 700;
    line-height: 1.4;
}

/* 項目タイトルの中央揃え */
.hsfc-FieldLabel > span {
    display: flex;
    align-items: center;
}

/* 入力欄の詳細設定 */
.hsfc-TextInput {
    height: 34px !important;
    font: inherit !important;
    font-size: 14px !important;
    line-height: 1.4;
    background-color: #FFFFFF  !important;
    border: 1px solid #ccc  !important;
    border-radius: 4px;
}

/* 入力欄ボーダーの設定 */
.hsfc-TextInput:focus {
    border-color: #66afe9 !important;
    outline: 0 !important;
    box-shadow: 0 0 8px rgba(102, 175, 233, .6) !important;
}

/* ラジオボタンのテキスト詳細設定 */
.hsfc-RadioInput + span {
    font-weight: 400;
}

/* ボタンの詳細設定 */
.hsfc-NavigationRow__Buttons:has(>*:only-child) .hsfc-Button {
    display: block;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    line-height: 1.33;
    border-radius: 6px;
}

/* ボタンのホバー時 */
.hsfc-NavigationRow__Buttons:has(>*:only-child) .hsfc-Button:hover {
    background-color: #83a2b2;
    border-color: #83a2b2;
    transform: translateY(0);
}

/* 必須インジケータ（アスタリスク）を非表示 */
.hsfc-FieldLabel__RequiredIndicator {
    font-size: 0;
}

/* 必須ラベルを追加 */
.hsfc-FieldLabel__RequiredIndicator::after {
    content: "必須";
    font-size: 11px;
    font-weight: 300;
    line-height: 1.4;
    display: inline-block;
    padding: 1px 4px;
    margin-left: 5px;
    border-radius: 3px;
    background: #E54290;
    color: #FFFFFF;
}

/* ボーダーラインの追加 */
.hsfc-Row {
    padding-bottom: 20px;
    border-bottom: dotted 1px #CCC;
}

/* 一番目のボーダーラインを非表示 */
.hsfc-Row:first-child {
    border-bottom: none;
}