form{
    display: flex;
    flex-direction: column;
    gap: 1.2rem;    
    width: 95%;
    max-width: 360px;
}
.hs_submit{
    display: none;
}

/* error message  */
.hbspt-form form ul{
    list-style: none;
    margin: 0;
    margin-top: 0.8rem;
    padding: 0;
}

.hbspt-form form ul label{
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: -0.0225rem;
    display: flex;
    color: var(--red-0, #FF595E);
    position: relative;
    line-height: normal;
    font-family: 'Noto Sans JP', sans-serif !important;
}
/* error message end */

.hbspt-form form > div {

}
.hbspt-form form .hs-form-field > label{
    display: flex;
}
.hbspt-form form .hs-form-field > label span{
    color: var(--black, #252729);
    font-family: "Noto Sans JP";
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    display: flex;
    gap: 8px;
}
.hbspt-form form .hs-form-field > label span::after{
    display: flex;
    width: 24px;
    height: 16px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 3px;
    background: var(--red-0, #FF595E);
    color: var(--white, #FFF);
    text-align: center;
    font-size: 10px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    content: "必須";
    
}
.hbspt-form form .hs-form-field > label .hs-form-required{
    display: none !important;
}
.hbspt-form form .hs_contact_detail span{
    height: 18px;
}
.hbspt-form form .hs_contact_detail span::after{
    display: none !important;
}
.hbspt-form form .hs_contact_detail span::before{
    /* content: 'お問い合わせ詳細';
    visibility: visible;
    font-size: 1.4rem;
    display: flex;
    line-height: 120%;
    color: var(--black, #252729);

    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    display: flex;
    width: 100%; */
}

.hs-custom-style>div input:not([type=image]):not([type=submit]):not([type=button]):not([type=radio]):not([type=checkbox]):not([type=file]), 
.hs-custom-style fieldset input:not([type=image]):not([type=submit]):not([type=button]):not([type=radio]):not([type=checkbox]):not([type=file]) {
    display: flex;
    max-width: 360px;
    width: 100%;
    padding: 10px 8px 9px 8px;
    align-items: center;
    gap: 10px;

    border-radius: 3px;
    border: 1px solid var(--gray-30, #DCDEE0);
    background: var(--white, #FFF);
}

.hbspt-form form .hs_privacypolicy{

}
.hbspt-form form .hs_privacypolicy .input ul .hs-form-booleancheckbox input{
    width: fit-content;
}
.hbspt-form form .hs_privacypolicy .input ul .hs-form-booleancheckbox label{
    justify-content: center;
}
.hbspt-form form .hs_privacypolicy .input ul .hs-form-booleancheckbox input{
    width: fit-content;
}
.hbspt-form form .hs_privacypolicy .input ul .hs-form-booleancheckbox label span{
    color: var(--black, #252729);

    font-family: "Noto Sans JP";
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 200%; /* 24px */
}
.hbspt-form form .hs_privacypolicy .input ul .hs-form-booleancheckbox label .hs-form-required{
    display: none;
}
.hbspt-form form .hs-richtext p a,
.hbspt-form form .hs-richtext p span{
    background-color: transparent;
    mix-blend-mode: multiply;

    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 200%;
}
.hbspt-form form .hs_privacypolicy .hs-field-desc{
    background: transparent;
    text-align: left;
    color: var(--black, #252729);
    font-size: 12px;
}
.hbspt-form form .hs_privacypolicy .hs-field-desc a{
    text-decoration: none;
    color: var(--blue, #0974e8);
    font-size: 12px;
    cursor: pointer;
}
.hbspt-form form .hs_privacypolicy .hs-field-desc a:hover{
    transition: all .3s;
    opacity: .5;
}

.hbspt-form form .hs-fieldtype-textarea {
    
}
.hbspt-form form .hs-fieldtype-textarea .input{
    display: flex;
}
.hbspt-form form .hs-fieldtype-textarea .input textarea{
    height: 80px;
    resize: none;
    margin-top: 0.8rem;
}
.hbspt-form form .hs-form-radio-display {
    color: var(--black, #252729) !important;
}
/* hs_recaptcha css update : 25/12/24 */
/* custom hubspot form recaptcha style */
.hbspt-form form .hs_recaptcha{
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    margin-top: 10px;
}