/* =============================================================================
   Content Pages
   Shared styling for informational HTML-block pages (service/online,
   service/auction, service/offline, forwarding, and similar). WordPress strips
   inline <style> from these pages, so their reusable component styles live here.
   Page markup uses classes only.
   ============================================================================= */

/* -----------------------------------------------------------------------------
   Subsection — a titled block nested under a section <h3>. Reads as a child of
   the section, not a peer, so a long section keeps a clear two-level hierarchy.
   ----------------------------------------------------------------------------- */
.lc-subsection {
    margin-top: calc(var(--space) * 1.5);
}

.lc-subsection__title {
    margin: 0 0 calc(var(--space) * 0.5);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-bold);
    color: var(--color-accent);
}

/* -----------------------------------------------------------------------------
   Collapse — native <details>/<summary>, no JS. For edge-case detail that most
   readers skip (special paperwork lists, FAQ answers).
   ----------------------------------------------------------------------------- */
.lc-collapse {
    border: 1px solid var(--color-border-lighter);
    border-radius: 10px;
    overflow: hidden;
}

.lc-collapse + .lc-collapse {
    margin-top: calc(var(--space) * 0.75);
}

.lc-collapse > summary {
    list-style: none;
    cursor: pointer;
    padding: var(--space) calc(var(--space) * 1.25);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-bold);
    color: var(--color-text-primary);
}

.lc-collapse > summary::-webkit-details-marker {
    display: none;
}

.lc-collapse > summary::after {
    content: "+";
    font-size: 1.35em;
    line-height: 1;
    color: var(--color-text-secondary);
}

.lc-collapse[open] > summary::after {
    content: "\2212"; /* minus sign */
}

.lc-collapse > summary:hover {
    color: var(--color-accent-hover, var(--color-accent));
}

.lc-collapse-body {
    padding: 0 calc(var(--space) * 1.25) var(--space);
}

/* -----------------------------------------------------------------------------
   Fee tiles — parallel value cards so a "we charge whichever is highest"
   comparison reads at a glance instead of as a list of sentences.
   ----------------------------------------------------------------------------- */
.lc-fee-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space);
    margin: 0;
}

.lc-fee-tile {
    border: 1px solid var(--color-border-lighter);
    border-radius: 10px;
    padding: var(--space);
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
}

.lc-fee-tile__label {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    margin: 0 0 calc(var(--space) * 0.5);
}

.lc-fee-tile__value {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    color: var(--color-text-primary);
    margin: 0;
}

/* A muted note block for examples/footnotes below a component. */
.lc-fee-note {
    margin-top: var(--space);
    padding: var(--space) calc(var(--space) * 1.25);
    border-left: 3px solid var(--color-border-light);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.02);
    color: var(--color-text-secondary);
    font-size: var(--font-size-sm);
    line-height: 1.6;
}

/* -----------------------------------------------------------------------------
   Overview — a label/value definition list for a company or spec summary
   (About page 会社概要). Two columns on desktop, stacked on mobile.
   ----------------------------------------------------------------------------- */
.lc-overview {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 0;
    margin: 0 auto;
    max-width: 720px;
    border-top: 1px solid var(--color-border-lighter);
}

.lc-overview__label,
.lc-overview__value {
    padding: var(--space) calc(var(--space) * 1.25);
    border-bottom: 1px solid var(--color-border-lighter);
    font-size: var(--font-size-base);
    line-height: 1.6;
}

.lc-overview__label {
    font-weight: var(--font-weight-bold);
    color: var(--color-text-primary);
    white-space: nowrap;
}

.lc-overview__value {
    color: var(--color-text-secondary);
}

@media (max-width: 640px) {
    .lc-fee-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lc-overview {
        grid-template-columns: 1fr;
    }

    .lc-overview__label {
        padding-bottom: 0;
        border-bottom: none;
    }
}

/* -----------------------------------------------------------------------------
   Circle step — a numbered walkthrough step: gold SVG number badge beside a
   title, with an optional screenshot below (e.g. a How to Participate section).
   The number badge is inline SVG in the page markup.
   ----------------------------------------------------------------------------- */
.circle-step {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: var(--font-weight-bold);
    color: var(--color-text-primary);
}

.circle-step svg {
    flex-shrink: 0;
}

.step-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin-top: calc(var(--space) * 0.5);
    border: 1px solid var(--color-border-lighter);
    border-radius: 10px;
}
