.hero img {
    -o-object-position: 27% 50%;
    object-position: 27% 50%
}

.service-list,
.decoration-list {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 20px;
    padding: 0 .5em
}

.service-text,
.decoration-text {
    font-size: .875rem;
    margin-top: 20px
}

.service-info li,
.decoration-info li {
    font-size: .75rem;
    color: #d7b85f;
    margin-top: 5px;
    display: flex;
    gap: 2px
}

.service-info li:before,
.decoration-info li:before {
    content: "*";
    line-height: 1.9
}

.service-info a,
.decoration-info a {
    color: #d7b85f
}

.service-info a:hover,
.decoration-info a:hover {
    color: rgb(186.8, 150.6075, 46.7)
}

.service-line,
.decoration-line {
    height: 60px;
    width: 50%;
    margin-right: 50%;
    margin-bottom: -1px;
    grid-column: 1/span 2;
    border-left: 1px dotted #c7b299;
    border-bottom: 1px dotted #c7b299;
    border-radius: 0 0 0 20px
}

.service-item,
.decoration-item {
    position: relative;
    padding: 40px 10% 100px;
    margin-bottom: -1px
}

.service-content,
.decoration-content {
    margin-top: 20px
}

.service-icon,
.decoration-icon {
    position: absolute;
    top: -30px;
    left: 10%;
    width: 40px;
    height: 40px;
    background: #fff;
    padding: 10px;
    margin-left: -10px
}

.service-icon img,
.decoration-icon img {
    width: 100%;
    filter: grayscale(0%)
}

.service-step,
.decoration-step {
    margin-bottom: 20px;
    color: #000;
    font-size: 1rem
}

.service .item-1,
.decoration .item-1 {
    order: 1
}

.service .item-2,
.decoration .item-2 {
    order: 2
}

.service .item-3,
.decoration .item-3 {
    order: 4
}

.service .item-4,
.decoration .item-4 {
    order: 3;
    border-top: 1px dotted #c7b299;
    border-left: 1px dotted #c7b299;
    border-bottom: 1px dotted #c7b299;
    border-radius: 20px 0 0 20px
}

.service .item-5,
.decoration .item-5 {
    order: 5
}

.service .item-6,
.decoration .item-6 {
    order: 6
}

.service .item-7,
.decoration .item-7 {
    order: 8
}

.service .item-8,
.decoration .item-8 {
    order: 7;
    border-top: 1px dotted #c7b299
}

.service .item-2,
.service .item-6,
.decoration .item-2,
.decoration .item-6 {
    border-top: 1px dotted #c7b299;
    border-right: 1px dotted #c7b299;
    border-bottom: 1px dotted #c7b299;
    border-radius: 0 20px 20px 0
}

.service .item-8:after {
    content: "";
    position: absolute;
    top: -5px;
    left: 0px;
    border-right: 5px solid #c7b299;
    border-top: 5px solid rgba(0, 0, 0, 0);
    border-bottom: 5px solid rgba(0, 0, 0, 0)
}

.service .item-7,
.service .item-8 {
    padding-bottom: 0
}

.decoration .item-6 {
    border-right: none;
    border-bottom: none;
    border-radius: 0
}

.decoration .item-6:after {
    content: "";
    position: absolute;
    top: -5px;
    right: 0px;
    border-left: 5px solid #c7b299;
    border-top: 5px solid rgba(0, 0, 0, 0);
    border-bottom: 5px solid rgba(0, 0, 0, 0)
}

.decoration .item-5,
.decoration .item-6 {
    padding-bottom: 0
}

.fee-wrap {
    display: flex;
    gap: 5vw
}

.fee-block {
    flex: 2;
    margin: auto
}

.fee-img {
    flex: 1;
    min-height: 500px
}

.fee-img img {
    width: 100%;
    height: 100%;
object-fit: contain;
    object-position: center;
}

.fee-content {
    margin-top: 40px;
    padding: 40px 0;
    border-top: 1px dotted #c7b299;
    border-bottom: 1px dotted #c7b299
}

.fee-text {
    font-size: .875rem;
    margin-bottom: 10px
}

.fee-text:last-child {
    margin-bottom: 0
}

.fee-info li {
    font-size: .75rem;
    color: #d7b85f;
    margin-top: 5px;
    display: flex;
    gap: 2px
}

.fee-info li:before {
    content: "*";
    line-height: 1.9
}

.fee-list {
    margin-top: 5vw;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px
}

.fee-list-left {
    display: flex;
    flex-direction: column;
    gap: 40px
}

.fee-list-right {
    display: flex;
    flex-direction: column;
    justify-content: space-between
}

.fee-icon {
    width: -moz-fit-content;
    width: fit-content;
    padding: 12px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    margin-bottom: 15px
}

.fee-icon img {
    width: 26px;
    filter: grayscale(0%)
}

.fee-subtitle {
    font-size: 1rem;
    color: #000;
    margin-bottom: 10px
}

@media screen and (max-width: 1100px) {

    .service-line,
    .decoration-line {
        position: absolute;
        left: 20px;
        border: none;
        width: 1px;
        height: 100%;
        border-left: 1px dotted #c7b299
    }

    .service-list,
    .decoration-list {
        grid-template-columns: repeat(1, 1fr);
        gap: 60px;
        padding: 60px 0;
        margin-top: 30px
    }

    .service .item-1,
    .service .item-2,
    .service .item-3,
    .service .item-4,
    .service .item-5,
    .service .item-6,
    .service .item-7,
    .service .item-8,
    .decoration .item-1,
    .decoration .item-2,
    .decoration .item-3,
    .decoration .item-4,
    .decoration .item-5,
    .decoration .item-6,
    .decoration .item-7,
    .decoration .item-8 {
        border: none;
        border-radius: 0;
        order: 0
    }

    .service .item-1:after,
    .service .item-2:after,
    .service .item-3:after,
    .service .item-4:after,
    .service .item-5:after,
    .service .item-6:after,
    .service .item-7:after,
    .service .item-8:after,
    .decoration .item-1:after,
    .decoration .item-2:after,
    .decoration .item-3:after,
    .decoration .item-4:after,
    .decoration .item-5:after,
    .decoration .item-6:after,
    .decoration .item-7:after,
    .decoration .item-8:after {
        content: none
    }

    .service-item,
    .decoration-item {
        display: grid;
        grid-template-columns: 40px 1fr;
        padding: 0;
        gap: 40px
    }

    .service-icon,
    .decoration-icon {
        position: static
    }
}

@media screen and (max-width: 900px) {
    .fee-img {
        min-height: 0
    }

    .fee-wrap {
        flex-direction: column;
        gap: 40px
    }

    .fee-block {
        margin: 0
    }

    .fee-list {
        grid-template-columns: repeat(1, 1fr);
        margin-top: 40px
    }

    .fee-list-right {
        gap: 40px
    }
}

@media screen and (max-width: 640px) {

    .service-line,
    .decoration-line {
        left: 15px
    }

    .service-list,
    .decoration-list {
        padding: 40px 0;
        gap: 40px
    }

    .service-item,
    .decoration-item {
        gap: 20px;
        grid-template-columns: 30px 1fr
    }

    .service-icon,
    .decoration-icon {
        width: 30px;
        height: 30px
    }

    .service-content,
    .decoration-content {
        margin-top: 13px
    }

    .fee-content {
        padding: 30px 0
    }

    .fee-list {
        gap: 30px
    }

    .fee-list-left,
    .fee-list-right {
        gap: 30px
    }

    .fee-icon {
        padding: 10px
    }

    .fee-icon img {
        width: 20px
    }

}
.design-fee-shared {
    display: flex;
    align-items: center;
    margin: 8px 0 10px;
}

.design-fee-list {
    width: 105px;
    line-height: 1.6;
    flex-shrink: 0;
}

.design-fee-divider {
    width: 1px;
    height: 58px;
    background-color: #aaa;
    margin: 0 16px;
    flex-shrink: 0;
}

.design-fee-price {
    white-space: nowrap;
}

/* 預售屋與設計費統一排版 */
.presale-fee-row,
.design-fee-shared {
    display: flex;
    align-items: center;
}

.presale-fee-name,
.design-fee-list {
    width: 130px;
    flex-shrink: 0;
    font-size: .875rem;
}

.presale-fee-price,
.design-fee-price {
    font-size: .875rem;
}

.presale-fee-divider,
.design-fee-divider {
    display: block;
    width: 1px;
    background-color: #aaa;
    margin: 0 16px;
    flex-shrink: 0;
}

.presale-fee-divider {
    height: 18px;
}

.design-fee-divider {
    height: 58px;
}

.design-fee-list {
    line-height: 1.6;
}

.presale-fee-price,
.design-fee-price {
    white-space: nowrap;
}

.design-fee-shared {
    margin: 8px 0 20px;
}
@media screen and (min-width: 901px) {
    .fee-list {
        display: flex !important;
        align-items: stretch;
        gap: 40px;
    }

    .fee-list-left,
    .fee-list-right {
        width: calc(50% - 20px);
        flex: 0 0 calc(50% - 20px);
    }
}
.design-fee-note {
    font-size: .75rem;
    color: #d7b85f;
    margin-top: 5px;
    margin-bottom: 25px;
}
.fee-note-text {
    font-size: .875rem;
    line-height: 1.5;
}
@media screen and (max-width: 640px) {
.presale-fee-row,
.design-fee-shared {
    align-items: center;
}

.presale-fee-name,
.design-fee-list {
    width: 100px;
    white-space: nowrap;
    flex-shrink: 0;
}

.presale-fee-divider,
.design-fee-divider {
    display: block;
    width: 1px;
    height: auto;
    align-self: stretch;
    margin: 0 10px;
}

    .presale-fee-price,
    .design-fee-price {
        white-space: normal;
        line-height: 1.5;
        flex: 1;
        min-width: 0;
        overflow-wrap: anywhere;
        word-break: break-word;
        letter-spacing: 0;
    }

    .fee-item,
    .fee-text,
    .fee-list-left,
    .fee-list-right {
        min-width: 0;
        max-width: 100%;
        overflow-wrap: anywhere;
        word-break: break-word;
    }
}