
.q-contact .p-form__agree input[type=checkbox] {
    display: none;
}

.q-contact .p-form__agree input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: none;
    font-family: "Noto Sans JP", "メイリオ", Meiryo, sans-serif;
}

.p-form__agree {
    width: fit-content;
    margin-inline: auto;
    margin-block-end: 80px;
    text-align: center;
}

@media (width <= 768px) {
.p-form__agree {
    margin-block-end: 60px;
}
}

.p-form__agree a {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.p-form__agree a:focus-visible {
    text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
.p-form__agree a:hover {
    text-decoration: none;
}
}

.q-contact .p-form__agree .mwform-checkbox-field input[type=checkbox] + span:after, 
.q-contact .p-form__agree .mwform-checkbox-field input[type=checkbox] + span:before {
    position: absolute;
    content: "";
    display: block;
    top: 50%;
}

.q-contact .p-form__agree .mwform-checkbox-field input[type=checkbox] + span:before {
    left: 6px;
    margin-top: -4px;
    width: 8px;
    height: 8px;
    background: #BD9C46;
    opacity: 0;
    border-radius: 50%;
}

.q-contact .p-form__agree .mwform-checkbox-field input[type=checkbox] + span:after {
    left: 0;
    margin-top: -10px;
    width: 16px;
    height: 16px;
    border: 2px solid #B4B4B4;
}

.q-contact .p-form__agree .mwform-checkbox-field input[type=checkbox]:checked + span:before {
    opacity: 1;
}

@media (max-width: 768px) {
.q-contact .p-form__agree .mwform-checkbox-field input[type=checkbox] + span {
    display: block;
    margin-bottom: 10px;
}
}

.q-contact .p-form__input-item a {
    font-weight: bold;
    color: #F52343;
    text-decoration: underline;
}

.contact-info_wrap{
    padding-bottom: 40px;
}
.contact-info_wrap .contact-info{
    padding: 20px;
    border: 1px solid #000;
}
.contact-info_wrap .contact-info .contact-info_inner{
    padding-left: 15px;
}
.contact-info_wrap .contact-info ._jp-l{
    margin-bottom: 15px;
    padding-left: 10px;
    padding-bottom: 2px;
    font-size: 1.5rem;
    line-height: 1.2;
    font-weight: 700;
    border-left: 5px solid #000;
}
.contact-info_wrap .contact-info ._jp-mb{
    font-weight: 700;
}
.contact-info_wrap .contact-info ._jp-s{
    font-size: 0.875rem;
    line-height: 1.2;
}
.contact-info_wrap .contact-info ._tel{
    text-decoration: none;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
}
.contact-info_wrap .contact-info ._tel:hover{
    opacity: 1;
}
@media (width > 768px) {
.contact-info_wrap .contact-info ._tel{
    pointer-events: none;
}
}