.wpcf7 {
margin-block: var( --wp--preset--spacing--40, 1.5rem );
} .wpcf7-form p {
margin: 0 0 var( --wp--preset--spacing--40, 1.5rem );
}
.wpcf7-form p:last-child {
margin-bottom: 0;
}  .wpcf7-form label {
display: block;
color: var( --lastshot-ink, #1f2328 );
font-size: 0.9375rem;
font-weight: 700;
line-height: 1.6;
}
.wpcf7-form-control-wrap {
display: block;
margin-top: 0.4rem;
} .wpcf7-form label:has( [aria-required="true"] )::before {
content: "必須";
display: inline-block;
margin-right: 0.5rem;
padding: 0.1rem 0.45rem;
background-color: var( --lastshot-alert-soft, #fdf3f3 );
box-shadow: inset 0 0 0 1px var( --lastshot-alert, #b91c1c );
color: var( --lastshot-alert, #b91c1c );
font-size: 0.75rem;
font-weight: 700;
line-height: 1.5;
vertical-align: 0.05em;
} .wpcf7-form .wpcf7-list-item label::before {
content: none;
}  .wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form input[type="number"],
.wpcf7-form input[type="date"],
.wpcf7-form input[type="file"],
.wpcf7-form textarea,
.wpcf7-form select {
display: block;
box-sizing: border-box;
width: 100%;
min-height: 44px;
padding: 0.6rem 0.75rem;
border: 1px solid var( --lastshot-line-strong, #d5d9df );
border-radius: 0;
background-color: var( --lastshot-paper, #fff );
color: var( --lastshot-ink, #1f2328 );
font-family: inherit;
font-size: 1rem;
line-height: 1.6;
}
.wpcf7-form textarea {
min-height: 11rem;
resize: vertical;
} .wpcf7-form select {
padding-right: 0.5rem;
}
.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
color: var( --lastshot-muted, #5b6270 );
opacity: 1;
} .wpcf7-form input:hover,
.wpcf7-form textarea:hover,
.wpcf7-form select:hover {
border-color: var( --lastshot-muted, #5b6270 );
} .wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus,
.wpcf7-form input:focus-visible,
.wpcf7-form textarea:focus-visible,
.wpcf7-form select:focus-visible,
.wpcf7-form button:focus-visible {
outline: 2px solid var( --lastshot-cta, #c2410c );
outline-offset: 2px;
border-color: var( --lastshot-cta, #c2410c );
} .wpcf7-checkbox,
.wpcf7-radio,
.wpcf7-acceptance {
display: block;
margin-top: 0.4rem;
} .wpcf7-list-item {
display: block;
margin: 0;
}
.wpcf7-list-item label {
display: flex;
align-items: center;
gap: 0.6rem;
min-height: 44px;
font-weight: 400;
}
.wpcf7-list-item input[type="checkbox"],
.wpcf7-list-item input[type="radio"] {
flex: 0 0 auto;
width: 20px;
height: 20px;
margin: 0;
accent-color: var( --lastshot-main, #12355b );
}
.wpcf7-list-item-label {
font-size: 1rem;
line-height: 1.6;
} .wpcf7-list-item.first {
margin-left: 0;
}  .wpcf7-form .wpcf7-submit {
--lastshot-btn-arc: var( --lastshot-arc-cta, 18px );
display: inline-flex;
align-items: center;
justify-content: center;
box-sizing: border-box;
min-height: 48px;
padding: 0 2rem;
border: 0;
border-radius: var( --lastshot-btn-radius, 0 var( --lastshot-arc-cta, 18px ) 0 0 );
background-color: var( --lastshot-cta, #c2410c );
color: var( --lastshot-paper, #fff );
font-family: inherit;
font-size: 1rem;
font-weight: 700;
line-height: 1.3;
cursor: pointer;
}
.wpcf7-form .wpcf7-submit:hover,
.wpcf7-form .wpcf7-submit:focus {
background-color: var( --lastshot-ink, #1f2328 );
color: var( --lastshot-paper, #fff );
}
.wpcf7-form .wpcf7-submit:disabled {
background-color: var( --lastshot-muted, #5b6270 );
cursor: default;
} @media (max-width: 599px) {
.wpcf7-form .wpcf7-submit {
width: 100%;
}
}  .wpcf7-not-valid-tip {
display: flex;
align-items: flex-start;
gap: 0.4rem;
margin-top: 0.4rem;
color: var( --lastshot-alert, #b91c1c );
font-size: 0.875rem;
font-weight: 700;
line-height: 1.6;
}
.wpcf7-not-valid-tip::before {
content: "！";
flex: 0 0 auto;
display: inline-flex;
align-items: center;
justify-content: center;
width: 1.25rem;
height: 1.25rem;
background-color: var( --lastshot-alert, #b91c1c );
color: var( --lastshot-paper, #fff );
font-size: 0.75rem;
line-height: 1;
} .wpcf7-form .wpcf7-not-valid {
border: 2px solid var( --lastshot-alert, #b91c1c );
background-color: var( --lastshot-alert-soft, #fdf3f3 );
}  .wpcf7-response-output {
margin: var( --wp--preset--spacing--30, 1rem ) 0 0;
padding: 0.8rem 1rem;
border: 1px solid var( --lastshot-line-strong, #d5d9df );
border-top-width: 3px;
background-color: var( --lastshot-info-soft, #f5f6f8 );
color: var( --lastshot-ink, #1f2328 );
font-size: 0.9375rem;
font-weight: 700;
line-height: 1.7;
} .wpcf7 form.sent .wpcf7-response-output,
.wpcf7-mail-sent-ok {
border-color: var( --lastshot-main, #12355b );
border-top-color: var( --lastshot-main, #12355b );
background-color: var( --lastshot-main-soft, #f2f5f9 );
color: var( --lastshot-main, #12355b );
} .wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output,
.wpcf7-validation-errors,
.wpcf7-acceptance-missing,
.wpcf7-mail-sent-ng,
.wpcf7-spam-blocked {
border-color: var( --lastshot-alert, #b91c1c );
border-top-color: var( --lastshot-alert, #b91c1c );
background-color: var( --lastshot-alert-soft, #fdf3f3 );
color: var( --lastshot-alert, #b91c1c );
} .wpcf7 form.submitting .wpcf7-response-output {
border-color: var( --lastshot-muted, #5b6270 );
border-top-color: var( --lastshot-muted, #5b6270 );
background-color: var( --lastshot-info-soft, #f5f6f8 );
color: var( --lastshot-ink, #1f2328 );
} .wpcf7-spinner {
margin: 0 0 0 1rem;
background-color: var( --lastshot-main, #12355b );
} @media (prefers-reduced-motion: reduce) {
.wpcf7-spinner {
animation: none;
}
}