.offmeshi-referral-page .referral-campaign {
    margin: 32px auto 0;
    text-align: center;
}
.offmeshi-referral-page .referral-campaign__badge { display: inline-block; padding: 7px 16px; border-radius: 24px; background: #e8f5e6; color: #44af35; font-size: 14px; font-weight: 700; line-height: 1.6; }
.offmeshi-referral-page .referral-campaign__lead { display: block; margin-top: 18px; font-size: 16px; font-weight: 700; }
.offmeshi-referral-page .referral-campaign__benefit { display: flex; justify-content: center; align-items: baseline; gap: 6px; color: #44af35; line-height: 1.15; }
.offmeshi-referral-page .referral-campaign__amount { color: #44af35; font-size: 54px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: lining-nums; }
.offmeshi-referral-page .referral-campaign__unit { color:#2b2b2b; font-size: clamp(20px, 4vw, 28px); font-weight: 700; }
.offmeshi-referral-page .referral-campaign__caption { display: block; margin-top: 16px; font-size: 16px; font-weight: 700; }
@media (min-width: 768px) {
    .offmeshi-referral-page .referral-campaign { display: grid; grid-template-columns: repeat(3, max-content); justify-content: center; align-items: baseline; column-gap: 4px; row-gap: 18px; }
    .offmeshi-referral-page .referral-campaign__badge { grid-column: 1 / -1; justify-self: center; }
    .offmeshi-referral-page .referral-campaign__lead,
    .offmeshi-referral-page .referral-campaign__caption { margin-top: 0; }
}
.offmeshi-referral .form__list { width: min(640px, calc(100% - 40px)); margin: 0 auto 48px; }
.offmeshi-referral .heading_lv3 { font-size: 20px; margin-bottom: 24px; }
.offmeshi-referral [hidden] { display: none !important; }
.offmeshi-referral .referral-note { font-size: 14px; margin: 10px 0; line-height: 1.8; }
.offmeshi-referral .referral-label { display: block; font-size: 16px; font-weight: 700; margin: 0 auto 10px; cursor: default; }
.offmeshi-referral .form__list:has(> .referral-terms) > .referral-note { margin: -10px 28px 30px; }
.offmeshi-referral .referral-other { margin: 8px 0 0; }
.offmeshi-referral .referral-other-label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.offmeshi-referral .referral-other > p { margin: 0; }
.offmeshi-referral .referral-other > p > br { display: none; }
.offmeshi-referral .form__item:has(> [data-other-for]) > p:not(.referral-label) { margin-bottom: 0; }
.offmeshi-referral .form__item:has(> [data-other-for]) > p > br:last-child { display: none; }
.offmeshi-referral :is(input, select, summary):focus-visible { outline: 2px solid #008040; outline-offset: 3px; }
.offmeshi-referral .referral-other { margin-left: 28px; }
.offmeshi-referral .referral-other .wpcf7-free-text { width: min(450px, 100%); }
.offmeshi-referral .wpcf7-form-control.radio { display: flex; flex-direction: column; gap: 8px; }
.offmeshi-referral .wpcf7-form-control.radio label { margin: 0; font-weight: 400; cursor: pointer; }
.offmeshi-referral #order-date,
.offmeshi-referral #referral-employees { width: 50%; min-width: min(200px, 100%); }
.offmeshi-referral .form__item:has(> .error-message[data-error-for$="-consent"]) { margin-bottom: 12px; }
.offmeshi-referral .form__item:has(> .error-message[data-error-for$="-consent"]) > p { margin: 0; }
.offmeshi-referral .form__item:has(> .error-message[data-error-for$="-consent"]) > p > br:last-child { display: none; }

/* 共通FAQの外観を使用し、利用条件にはQ・Aの装飾を表示しない。 */
.offmeshi-referral .referral-terms.faq_list__wrapper { margin: 56px 0 24px; }
.offmeshi-referral .referral-terms .faq_list { padding: 0; margin: 0; list-style: none; }
.offmeshi-referral .referral-terms .faq_list details { background-color: #fff; border-radius: 8px; overflow: hidden; }
.offmeshi-referral .referral-terms .faq_list summary { cursor: pointer; background-color:#fff; }
.offmeshi-referral .referral-terms .faq_list details summary::before { top: 50%; }
.offmeshi-referral .referral-terms .faq_list summary .question_heading { padding-left: 0; padding-right: 16px; margin: 0; font-weight: 700; line-height: 1.8; }
.offmeshi-referral .referral-terms .faq_list summary .question_heading::before,
.offmeshi-referral .referral-terms .faq_list .text_box::before { display: none; }
.offmeshi-referral .referral-terms .faq_list .text_box { padding: 20px 16px; }
.offmeshi-referral .referral-terms .referral-terms-list {  margin: 0; list-style: disc; }

.offmeshi-referral .referral-terms .referral-terms-list > li { background: transparent; border-radius: 0; margin-bottom: 12px; font-size: 14px; line-height: 1.8; }
.offmeshi-referral .referral-terms .referral-terms-list > li:last-child { margin-bottom: 0; }
@media (min-width: 768px) {
    .offmeshi-referral .referral-terms .faq_list .text_box { padding: 24px; }
    .offmeshi-referral .referral-terms .referral-terms-list > li { font-size: 16px; }
}
