/* タックスリファンドサービス */
.refund-content { font-size: 18px; line-height: 1.9; }
.refund-content > section + section { margin-top: 80px; }
.refund-content h2 { font-size: 32px; line-height: 1.5; font-weight: 700; margin-bottom: 28px; }
.refund-content h3 { font-size: 20px; line-height: 1.5; font-weight: 600; }

.refund-prose p + p { margin-top: 20px; }
.refund-icon { flex-shrink: 0; width: 40px; height: 40px; color: var(--brand); }
.refund-roles { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; padding: 32px 24px; margin: 32px 0 0; background: var(--detail-surface); border-radius: 12px; }
.refund-roles--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.refund-roles li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; font-size: 16px; font-weight: 600; }
.refund-roles li + li::before { content: ''; position: absolute; right: calc(100% + 5px); top: 20px; width: 18px; height: 1px; background: #b9bdb9; }
.refund-flow { padding: 40px; background: var(--detail-surface); border-radius: 12px; }
.refund-steps { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 0; margin: 0; }
.refund-steps li { display: grid; grid-template-columns: 28px 40px minmax(0, 1fr); align-items: start; gap: 20px; background: white; padding: 28px; border-radius: 8px; }
.refund-step-number { color: var(--brand-ink); font: 600 18px/1.7 Arial, sans-serif; }
.refund-steps p { margin-top: 12px; font-size: 16px; line-height: 1.85; }
.refund-methods { padding: 40px; background: #faf8f3; border-radius: 12px; }
.refund-content .refund-method-label { font-size: 16px; font-weight: 600; margin-bottom: 16px; }
.refund-options { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 0 0 28px; padding: 0; }
.refund-options li { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 16px; text-align: center; padding: 24px 12px; border-radius: 8px; background: white; font-size: 16px; font-weight: 600; line-height: 1.6; }
.refund-options .refund-icon { width: 32px; height: 32px; }
.refund-support-body { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: center; gap: 56px; }
.refund-support figure { margin: 0; }
.refund-support img { display: block; width: 100%; height: auto; }
.refund-operations { padding: 40px; background: var(--detail-surface); border-radius: 12px; }
.refund-source { margin-top: 40px; font-size: 16px; }
.refund-source a { text-decoration: underline; text-underline-offset: 4px; }
.refund-source a:hover { color: var(--brand-ink); }
.refund-source a:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
body[data-page="tax-refund"] .contact-band h2 { max-width: 760px; }
body[data-page="tax-refund"] .contact-band-description { max-width: 740px; margin-top: 16px; font-size: 18px; line-height: 1.9; }
body[data-page="tax-refund"] .contact-band .button { text-align: center; white-space: normal; }
@media (max-width: 1000px) {
 .refund-steps li { grid-template-columns: 28px minmax(0, 1fr); gap: 12px; padding: 24px; }
 .refund-steps li > .refund-icon { display: none; }
 .refund-flow, .refund-methods, .refund-operations { padding: 32px; }
 .refund-support-body { gap: 32px; }
}
@media (max-width: 767px) {
 .refund-content { font-size: 16px; }
 .refund-content > section + section { margin-top: 48px; }
 .refund-content h2 { font-size: 26px; margin-bottom: 24px; }
 .refund-content h3 { font-size: 20px; }
 .refund-roles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; padding: 24px 16px; }
 .refund-roles li + li::before { display: none; }
 .refund-roles li:last-child { grid-column: 1 / -1; }
 .refund-roles--four li:last-child { grid-column: auto; }
 .refund-flow, .refund-methods, .refund-operations { padding: 24px 20px; }
 .refund-steps { grid-template-columns: minmax(0, 1fr); }
 .refund-steps li { padding: 24px 16px; }
 .refund-options { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
 .refund-options li:last-child { grid-column: 1 / -1; }
 .refund-support-body { grid-template-columns: minmax(0, 1fr); gap: 28px; }
 .refund-support figure { max-width: 380px; margin-inline: auto; }
 body[data-page="tax-refund"] .contact-band-description { font-size: 16px; }
}

.refund-roles .refund-icon { width: 56px; height: 56px; object-fit: contain; }
.refund-roles li + li::before { top: 28px; }
@media (max-width: 767px) {
 .refund-roles .refund-icon { width: 48px; height: 48px; }
}

.refund-steps li { grid-template-columns: 28px 48px minmax(0, 1fr); }
.refund-steps li > .refund-icon { display: block; width: 48px; height: 48px; object-fit: contain; }
@media (max-width: 767px) {
 .refund-steps li { grid-template-columns: 24px 40px minmax(0, 1fr); gap: 12px; }
 .refund-steps li > .refund-icon { width: 40px; height: 40px; }
}

.refund-options .refund-icon { width: 48px; height: 48px; object-fit: contain; }
@media (max-width: 767px) {
 .refund-options .refund-icon { width: 40px; height: 40px; }
}

.refund-roles .refund-icon { width: 80px; height: 80px; }
.refund-roles li + li::before { top: 40px; }
@media (max-width: 767px) {
 .refund-roles .refund-icon { width: 64px; height: 64px; }
}
