:root {
    --bld-navy: #2e0e0e;
    --bld-blue: #147ab8;
    --bld-text: #2b1717;
    --bld-muted: #7d6161;
    --bld-line: #e0d1d1;
    --bld-bg: #f6f8fa;
    --bld-soft: #e8f2f7
}

.delivery-archive,
.delivery-single {
    /* background: var(--bld-bg); */
    color: var(--bld-text);
    /* font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; */
    padding-bottom: 64px
}

.delivery-archive>.breadcrumbs,
.delivery-single>.breadcrumbs {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem
}

.delivery-single .single-contents {
    display: block
}

.delivery-single .single-contents-inner {
    width: 100%
}

.delivery-container {
    max-width: 1200px;
    margin: 0 auto
}

.delivery-breadcrumb {
    display: flex;
    gap: 10px;
    align-items: center;
    color: var(--bld-muted);
    font-size: 13px;
    margin-bottom: 42px
}

.delivery-breadcrumb a:hover {
    color: var(--first-color)
}

.delivery-hero h1,
.delivery-detail__header h1 {
    color: var(--bld-navy);
    font-size: 36px;
    line-height: 1.4;
    margin: 0 0 12px
}

.delivery-hero p {
    color: var(--bld-muted);
    font-size: 15px;
    margin: 0
}

.delivery-filter {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
    gap: 24px;
    align-items: end;
    background: #fff;
    border: 1px solid var(--bld-line);
    border-radius: 10px;
    padding: 28px;
    margin-top: 44px
}

.delivery-filter__field {
    display: flex;
    flex-direction: column;
    gap: 10px
}

.delivery-filter label {
    font-weight: 700;
    color: var(--bld-navy)
}

.delivery-filter select {
    height: 52px;
    border: 1px solid var(--bld-line);
    border-radius: 6px;
    background: #fff;
    padding: 0 42px 0 16px;
    font-size: 15px
}

.delivery-filter select:disabled {
    background: #f0f2f4;
    color: #8b949b
}

.delivery-filter__actions {
    display: flex;
    align-items: center;
    gap: 14px
}

.delivery-filter button,
.delivery-empty a {
    border: 0;
    border-radius: 26px;
    background: var(--first-color);
    color: #fff;
    font-weight: 700;
    padding: 16px 28px;
    white-space: nowrap;
    cursor: pointer
}

.delivery-filter__actions a {
    color: var(--bld-muted);
    font-size: 14px;
    text-decoration: underline
}

.delivery-results__head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin: 56px 0 22px
}

.delivery-results__head h2,
.delivery-section>h2,
.delivery-related>h2 {
    color: var(--bld-navy);
    font-size: 26px;
    margin: 0
}

.delivery-results__head p {
    color: var(--bld-muted);
    margin: 0
}

.delivery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px
}

.delivery-card {
    background: #fff;
    border: 1px solid var(--bld-line);
    border-radius: 10px;
    overflow: hidden;
    transition: transform .2s, box-shadow .2s
}

.delivery-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(14, 31, 46, .1)
}

.delivery-card__link {
    display: block;
    height: 100%
}

.delivery-card__image {
    aspect-ratio: 318/190;
    background: var(--bld-soft);
    margin: 16px;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bld-muted)
}

.delivery-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.delivery-card__body {
    padding: 0 18px 18px
}

.delivery-card__maker {
    color: var(--first-color);
    font-size: 13px;
    font-weight: 700;
    margin: 0 0 6px
}

.delivery-card__model {
    color: var(--bld-text);
    font-size: 21px;
    margin: 0 0 13px
}

.delivery-card__summary {
    color: var(--bld-muted);
    font-size: 14px;
    margin: 0 0 12px
}

.delivery-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-size: 13px
}

.delivery-card__footer span {
    color: var(--first-color);
    font-weight: 700
}

.delivery-card--v2 .delivery-date {
    display: block;
    color: var(--bld-muted);
    font-size: 12px;
    margin-bottom: 7px
}

.delivery-card--v2 .delivery-card__details {
    border-top: 1px solid var(--bld-line);
    margin-top: 12px;
    padding-top: 8px
}

.delivery-card--v2 .delivery-card__details p {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 12px;
    line-height: 1.5;
    margin: 0;
    padding: 4px 0
}

.delivery-card--v2 .delivery-card__details p>span:first-child {
    color: var(--bld-muted);
    flex: none
}

.delivery-card--v2 .delivery-card__details p>span:last-child {
    text-align: right
}

.delivery-card--v2 .delivery-card__details .comment {
    display: block
}

.delivery-card--v2 .delivery-card__details .comment span {
    display: block;
    text-align: left
}

.delivery-card--v2 .delivery-card__more {
    display: block;
    color: var(--first-color);
    font-size: 13px;
    font-weight: 700;
    text-align: right;
    margin-top: 12px
}

.delivery-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 52px
}

.delivery-pagination .page-numbers {
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--bld-line);
    border-radius: 21px;
    background: #fff;
    color: var(--first-color)
}

.delivery-pagination .current {
    background: var(--first-color);
    color: #fff;
    border-color: var(--first-color)
}

.delivery-empty {
    text-align: center;
    background: #fff;
    border: 1px solid var(--bld-line);
    border-radius: 10px;
    padding: 64px 24px
}

.delivery-empty h2 {
    color: var(--bld-navy);
    margin-top: 0
}

.delivery-empty p {
    color: var(--bld-muted);
    margin-bottom: 28px
}

/* .delivery-detail__header {
    margin-bottom: 38px
} */

.delivery-detail__lead {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
    gap: 70px;
    align-items: start
}

.delivery-detail__image {
    /* aspect-ratio: 700/460; */
    background: var(--bld-soft);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bld-muted);
    margin: 0
}

.delivery-detail__image img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.delivery-facts h2 {
    color: var(--bld-navy);
    font-size: 24px;
    margin: 0 0 24px
}

.delivery-facts dl {
    margin: 0
}

.delivery-facts dl div {
    display: grid;
    grid-template-columns: 130px 1fr;
    border-bottom: 1px solid var(--bld-line);
    padding: 16px 0
}

.delivery-facts dt,
.delivery-profile dt {
    color: var(--bld-muted);
    font-size: 13px;
    font-weight: 700
}

.delivery-facts dd,
.delivery-profile dd {
    margin: 0
}

/* .delivery-section {
    margin-top: 58px
} */

.delivery-section>h2 {
    margin-bottom: 20px
}

.delivery-profile {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px 80px;
    background: #fff;
    border: 1px solid var(--bld-line);
    border-radius: 10px;
    padding: 38px 40px;
    margin: 0
}

.delivery-profile dd {
    font-size: 17px;
    margin-top: 8px
}

.delivery-reason {
    background: #fff;
    border: 1px solid var(--bld-line);
    border-radius: 10px;
    padding: 28px 40px;
    line-height: 1.9
}

.delivery-reason p {
    margin: 0
}

.delivery-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    background: var(--bld-navy);
    border-radius: 10px;
    color: #fff;
    padding: 40px 72px;
    /* margin-top: 58px */
}

.delivery-cta p {
    font-size: 22px;
    font-weight: 700;
    margin: 0
}

.delivery-cta a {
    background: var(--first-color);
    border-radius: 28px;
    padding: 17px 42px;
    font-weight: 700;
    white-space: nowrap
}

.delivery-related {
    margin-top: 66px
}

.delivery-related>h2 {
    margin-bottom: 24px
}

.delivery-back {
    text-align: center;
    margin: 52px 0 0
}

.delivery-back a {
    color: var(--first-color);
    font-weight: 700
}

.delivery-showcase {
    max-width: 1200px;
    margin: 0 auto;
    padding: 56px 24px;
    color: var(--bld-text);
    font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif
}

.delivery-showcase__head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px
}

.delivery-showcase__head h2 {
    color: var(--bld-navy);
    font-size: 28px;
    margin: 0
}

.delivery-showcase__head>a {
    color: var(--first-color);
    font-weight: 700
}

.delivery-showcase__track {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px
}

.delivery-showcase .delivery-card__image {
    margin: 12px
}

.delivery-showcase .delivery-card__body {
    padding: 0 14px 15px
}

.delivery-showcase .delivery-card__model {
    font-size: 18px
}

.delivery-showcase .delivery-card__footer {
    align-items: flex-start;
    flex-direction: column
}

.delivery-showcase__controls {
    display: none
}

@media(max-width:900px) {
    .delivery-filter {
        grid-template-columns: 1fr 1fr
    }

    .delivery-filter__actions {
        grid-column: 1/-1
    }

    .delivery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .delivery-detail__lead {
        grid-template-columns: 1fr;
        gap: 34px
    }
}

@media(max-width:600px) {
    .delivery-page {
        padding: 104px 16px 72px
    }

    .delivery-breadcrumb {
        font-size: 11px;
        margin-bottom: 28px;
        overflow: hidden;
        white-space: nowrap
    }

    .delivery-hero h1,
    .delivery-detail__header h1 {
        font-size: 26px
    }

    .delivery-filter {
        grid-template-columns: 1fr;
        padding: 20px 16px;
        gap: 18px;
        margin-top: 30px
    }

    .delivery-filter__actions {
        grid-column: auto;
        flex-direction: column;
        align-items: stretch
    }

    .delivery-filter button {
        width: 100%
    }

    .delivery-filter__actions a {
        text-align: center
    }

    .delivery-results__head {
        margin-top: 38px
    }

    .delivery-results__head h2,
    .delivery-section>h2,
    .delivery-related>h2 {
        font-size: 21px
    }

    .delivery-grid {
        grid-template-columns: 1fr;
        gap: 20px
    }

    .delivery-card__image {
        aspect-ratio: 334/158
    }

    .delivery-detail__lead {
        gap: 28px
    }

    .delivery-detail__image {
        aspect-ratio: 358/240
    }

    .delivery-facts dl {
        background: #fff;
        border: 1px solid var(--bld-line);
        border-radius: 9px;
        padding: 6px 18px
    }

    .delivery-facts dl div {
        grid-template-columns: 110px 1fr
    }

    /* .delivery-section {
        margin-top: 40px
    } */

    .delivery-profile {
        grid-template-columns: 1fr 1fr;
        gap: 28px 20px;
        padding: 24px 18px
    }

    .delivery-reason {
        padding: 24px 18px
    }

    .delivery-cta {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        padding: 30px 22px
    }

    .delivery-cta p {
        font-size: 18px
    }

    .delivery-cta a {
        text-align: center
    }

    .delivery-related .delivery-grid article:nth-child(n+3) {
        display: none
    }
}

@media(max-width:600px) {
    .delivery-showcase {
        padding: 40px 16px
    }

    .delivery-showcase__head {
        align-items: flex-start
    }

    .delivery-showcase__head h2 {
        font-size: 22px
    }

    .delivery-showcase__head>a {
        font-size: 13px
    }

    .delivery-showcase__track {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        overscroll-behavior-inline: contain;
        padding-bottom: 4px
    }

    .delivery-showcase__track::-webkit-scrollbar {
        display: none
    }

    .delivery-showcase__track>.delivery-card {
        flex: 0 0 calc((100% - 12px)/2);
        scroll-snap-align: start
    }

    .delivery-showcase .delivery-card__image {
        aspect-ratio: 1/1;
        margin: 8px
    }

    .delivery-showcase .delivery-card__body {
        padding: 0 9px 12px
    }

    .delivery-showcase .delivery-card__maker {
        font-size: 11px
    }

    .delivery-showcase .delivery-card__model {
        font-size: 15px
    }

    .delivery-showcase .delivery-card__summary,
    .delivery-showcase .delivery-card__footer {
        font-size: 11px
    }

    .delivery-showcase .delivery-card__footer span {
        display: none
    }

    .delivery-showcase__controls {
        display: flex;
        justify-content: flex-end;
        gap: 8px;
        margin-top: 16px
    }

    .delivery-showcase__controls button {
        width: 42px;
        height: 42px;
        border: 1px solid var(--bld-line);
        border-radius: 50%;
        background: #fff;
        color: var(--first-color);
        font-size: 18px;
        cursor: pointer
    }
}

@media(max-width:600px) {

    .delivery-archive,
    .delivery-single {
        padding-bottom: 40px
    }

    .delivery-archive>.breadcrumbs,
    .delivery-single>.breadcrumbs {
        padding: 0 2rem
    }

    /* .delivery-archive>.delivery-container,
    .delivery-single>.delivery-container {
        padding-left: 1rem;
        padding-right: 1rem
    } */
}

.delivery-showcase .deliverys,
.delivery-showcase .deliverys-inner,
.delivery-showcase .deliverys-swiper {
    width: 100%;
    min-width: 0;
    max-width: 100%
}

.delivery-showcase .deliverys-swiper .swiper-slide>img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
    object-position: center
}

.archive-header.delivery-hero {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.article-thumbnail {
    max-width: unset;
}

.single-contents-inner article {
    gap: 3rem;
}