/**
 * 選挙ポスターお申し込みページ
 */

.page-poster-order .poster-order-stack {
    max-width: 840px;
}

.poster-order-intro {
    margin: 0 0 var(--site-gap-lg);
    line-height: 1.8;
    color: var(--home-muted);
    font-size: 0.95rem;
}

.poster-order-intro p {
    margin: 0 0 0.75rem;
}

.poster-order-intro a {
    color: #274a78;
}

.poster-order-form .contact-form__title {
    color: #00838f;
}

.poster-order-fieldset legend {
    font-size: 1.05rem;
    font-weight: 700;
    color: #00838f;
}

.poster-order-row {
    display: grid;
    gap: 14px;
}

@media (min-width: 640px) {
    .poster-order-row--party {
        grid-template-columns: 1fr auto;
        align-items: end;
    }

    .poster-order-row--officer {
        grid-template-columns: 1fr 1.4fr;
    }

    .poster-order-row--delivery {
        grid-template-columns: 1fr 1fr;
    }

    .poster-order-row--order {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .poster-order-row--ship {
        grid-template-columns: 160px 1fr;
    }
}

.poster-order-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    align-items: center;
    padding-bottom: 4px;
}

.poster-order-checkboxes__label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--home-text);
}

.poster-order-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 500;
}

.poster-order-date-row {
    margin-bottom: 14px;
}

.poster-order-date-row__label {
    margin: 0 0 8px;
    font-size: 0.92rem;
    font-weight: 600;
}

.poster-order-date-row__fields {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.poster-order-date-row__fields .contact-field {
    flex: 1 1 120px;
    min-width: 100px;
}

.poster-order-date-row__fields select,
.poster-order-form select {
    display: block;
    width: 100%;
    margin-top: 0;
    padding: 10px 12px;
    border: 1px solid #e2e6ec;
    border-radius: 6px;
    font-size: 0.95rem;
    background: #fff;
}

.poster-order-ship-note {
    margin: 8px 0 12px;
    font-size: 0.85rem;
    color: var(--home-muted);
}

.poster-order-delivery-other[hidden] {
    display: none;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.page-poster-order .contact-form__submit {
    min-width: 240px;
}
