.post_content .led-rental-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 16px;
    row-gap: 0;
    margin-block: 12px 0;
}

.post_content .led-rental-actions > a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    max-width: 100%;
    margin: 0;
    text-align: left;
    transition: background-color .2s, color .2s;
}

.post_content .led-rental-actions > .led-rental-primary {
    padding: 9px 12px;
    font-size: 18px;
    line-height: 1.45;
    text-decoration: none;
}

.post_content .led-rental-actions > .led-rental-secondary {
    font-size: 15px;
    line-height: 1.5;
    text-decoration: underline;
    text-underline-offset: .18em;
}

.post_content .led-rental-actions .led-ic {
    flex: none;
}

.post_content .led-rental-actions > a:focus-visible {
    outline: 2px solid var(--led-deep, #06316f);
    outline-offset: 3px;
}

.post_content .led-rental-actions > .led-rental-primary .led-phrase {
    display: inline-block;
    white-space: nowrap;
}

.post_content .r24-home #usage-proposals .optical-intro .led-rental-actions {
    flex-direction: column;
    align-items: flex-start;
    row-gap: 8px;
}

@media (min-width: 1000px) {
    .post_content .led-rental-actions.led-rental-actions--before-image {
        display: none;
    }
}

@media (max-width: 599px) {
    html body .post_content .r24-home #usage-proposals .optical-intro > .optical-invitation {
        display: flex !important;
    }
}

.post_content .r24-home .r33-scene-box > a.r33-scene-estimate {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    color: var(--led-deep, #06316f);
    font-size: 15px;
    text-decoration: underline;
    text-underline-offset: .18em;
}

.post_content .r24-home .r33-scene-box > .r33-scene-cta + .r33-scene-estimate {
    margin-top: 8px;
}

.post_content .r24-home .r33-scene-box > a.r33-scene-estimate .led-ic {
    flex: none;
}

.post_content .r24-home .r33-scene-box > a.r33-scene-estimate:focus-visible {
    outline: 2px solid var(--led-deep, #06316f);
    outline-offset: 3px;
}

/* Keep the consultation title and choices on the same starting line on wide screens. */
html.r36 #body_wrap.page-id-23 #main_content > .l-mainContent__inner {
    padding-top: 40px !important;
}

html.r36 #body_wrap.page-id-23 #main_content .l-mainContent__inner > .c-pageTitle {
    padding-top: 0 !important;
    margin-bottom: 0 !important;
}

html.r36 #body_wrap.page-id-23 #main_content .c-pageTitle > .c-pageTitle__inner {
    float: none;
    margin: 0;
    padding: 0 !important;
}

html.r36 #body_wrap.page-id-23 .post_content > .wp-block-group.led-section,
html.r36 #body_wrap.page-id-23 .post_content > .wp-block-group.led-section > .wp-block-group__inner-container {
    padding-top: 0 !important;
}

html.r36 #body_wrap.page-id-23 .post_content .led-entrance {
    margin-top: 0 !important;
    border-top: 0;
}

html.r36 #body_wrap.page-id-23 .post_content .led-entrance > li {
    padding-block: 22px;
}

html.r36 #body_wrap.page-id-23 .post_content .led-entrance > li:first-child {
    padding-top: 0;
}

html.r36 #body_wrap.page-id-23 .post_content .led-entrance p + p {
    margin-top: 10px !important;
}

html.r36 #body_wrap.page-id-23 #main_content .l-mainContent__inner > .post_content {
    margin-top: 0;
}

@media (min-width: 1000px) {
    html.r36 #body_wrap.page-id-23 #main_content > .l-mainContent__inner {
        display: grid;
        grid-template-columns: var(--r36-head-col) minmax(0, var(--r36-read));
        column-gap: var(--r36-col-gap);
        align-items: start;
        width: var(--r36-fw);
        margin-inline: auto;
    }

    html.r36 #body_wrap.page-id-23 #main_content .l-mainContent__inner > .c-pageTitle {
        width: auto !important;
        margin: 0 !important;
    }

    html.r36 #body_wrap.page-id-23 .post_content {
        min-width: 0;
    }

    html.r36 #body_wrap.page-id-23 .post_content > :is(.wp-block-group.led-section, .ia1009-final-actions) {
        width: 100% !important;
        padding-left: 0 !important;
    }

    html.r36 #body_wrap.page-id-23 .post_content > .wp-block-group.led-section > .wp-block-group__inner-container {
        padding-left: 0 !important;
    }
}

@media (max-width: 999px) {
    html.r36 #body_wrap.page-id-23 #main_content > .l-mainContent__inner {
        padding-top: 24px !important;
    }

    html.r36 #body_wrap.page-id-23 #main_content .l-mainContent__inner > .post_content {
        margin-top: 24px;
    }
}

@media (max-width: 599px) {
    html.r36 #body_wrap.page-id-23 #contact-prefill-note {
        margin-bottom: 16px !important;
    }

    html.r36 #body_wrap.page-id-23 .post_content .led-entrance > li {
        padding-bottom: 16px;
    }

    html.r36 #body_wrap.page-id-23 .post_content .led-entrance > li + li {
        padding-top: 16px;
    }

    html.r36 #body_wrap.page-id-23 .post_content .led-entrance > li:nth-child(-n+2) p[data-led-body] {
        line-height: 1.7;
    }

    html.r36 #body_wrap.page-id-23 .post_content .led-entrance a.led-entrance-link {
        max-width: 100%;
        padding-inline: 14px;
    }
}

/* 単一選択欄は矢印と枠の右端に余白を取り、文字と矢印を離す。 */
:is(#contact-demo .led-field, #led-estimate-r27 .field) select:not([multiple], [size]) {
    appearance: none;
    padding-inline-end: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m2 4 4 4 4-4' fill='none' stroke='%23163144' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px 12px;
}

#contact-demo .led-field select:not([multiple], [size]) {
    padding-block: 10px;
    padding-inline-start: 17px;
}

@media (max-width: 359px) {
    html.r36 #body_wrap #contact-demo .led-field select:not([multiple], [size]) {
        font-size: 16px !important;
        font-feature-settings: "palt";
        padding-inline-start: 11px;
    }
}

#led-estimate-r27 .field select:not([multiple], [size]) {
    padding-inline-end: 40px !important;
}

#led-estimate-r27.led-estimate-r27 select#quote-type {
    padding-right: 34px !important;
}

@media (forced-colors: active) {
    :is(#contact-demo .led-field, #led-estimate-r27 .field) select:not([multiple], [size]) {
        appearance: auto;
        padding-inline-end: 13px;
        background-image: none;
    }

    #contact-demo .led-field select:not([multiple], [size]) {
        padding-inline-start: 13px;
    }

    #led-estimate-r27 .field select:not([multiple], [size]) {
        padding-inline-end: 28px !important;
    }

    #led-estimate-r27.led-estimate-r27 select#quote-type {
        padding-right: 20px !important;
    }
}
