: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: #67A7C5;
    --hsf-button__border-color: #67A7C5;
    --hsf-field-input__font-family: 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'メイリオ', Meiryo, Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
    --hsf-field-input__font-size: 14px;
    --hsf-field-input__background-color: #FFFFFF;
}

.formbox.hubspot-form {
    height: auto !important;
}

/* 全体の幅を設定 */
.hsfc-Step,.hsfc-Step__Content {
    max-width: 800px;
    height: auto !important;
    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;
    text-underline-offset: 1px;
}

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

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

/* 電話番号入力欄の設定 */
.hsfc-PhoneInput input.hsfc-TextInput {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

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

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

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

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

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

/* チェックボックスの選択肢テキスト */
.hsfc-CheckboxInput + span {
    font-weight: 400 !important;
}

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

/* ボタンの詳細設定 */
.hsfc-Button {
    display: block;
    margin-left: auto !important;
    margin-right: auto !important;
    font-weight: 400 !important;
    border-radius: 6px !important;
}

/* ボタンのホバー時 */
.hsfc-Button:hover {
    color: #FFFFFF !important;
    background-color: #3071A9 !important;
    border-color: #285e8e !important;
}

/* 必須インジケータ（アスタリスク）を非表示 */
.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: #67A7C5;
    color: #FFFFFF;
}

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

/* 契約への同意　余白なし */
.hsfc-NavigationRow {
    margin-top: 0px !important;
}