/* ========================================
   Services Top Page (page-services)
   ======================================== */


.services-hero__bg-text {
    position: absolute;
    top: 10px;
    left: 0;
    font-size: 100px;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.03);
    z-index: 1;
    pointer-events: none;
    white-space: nowrap;
    letter-spacing: 0.02em;
    line-height: 1;
}

.services-hero__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.services-hero__title {
    font-size: 36px;
    font-weight: 700;
    
    line-height: 1.3;
}

/* Hero Decorative Elements - X Lines */
.services-hero__decor {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.services-hero__decor-line {
    position: absolute;
    width: 1px;
    height: 300%;
    background: linear-gradient(180deg, 
        transparent 0%, 
        rgba(197, 166, 110, 0.4) 30%, 
        rgba(197, 166, 110, 0.4) 70%, 
        transparent 100%);
    transform-origin: center center;
}

.services-hero__decor-line--1 {
    right: 35%;
    top: -100%;
    transform: rotate(35deg);
}

.services-hero__decor-line--2 {
    right: 30%;
    top: -100%;
    transform: rotate(-35deg);
}

/* Hero Images */
.services-hero__images {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    display: none;
    gap: 16px;
    z-index: 3;
}

.services-hero__image-item {
    width: 180px;
    height: 240px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    background: #ddd;
}

.services-hero__image-item:nth-child(2) {
    margin-top: 50px;
}

.services-hero__image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Service Sections Common */
.services-section {
    padding: 80px 0;
    background-color: #fff;
}

.services-section--alt {
    background-color: #fff;
}

.services-section__divider {
    border: none;
    border-top: 1px solid #e5d9c5;
    margin: 0 auto;
    max-width: 1200px;
}

.services-section__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.services-section__card {
    background: #fff;
    border-radius: 16px;
}

.services-section__button-wrap {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.services-section__content {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    flex-direction: column;
}

.services-section__content.services-section--reverse {
    flex-direction: column;
}

.services-section__text {
    flex: 1;
}

.services-section__image {
    flex: none;
    max-width: 100%;
    width: 100%;
}

.services-section__image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
}

.services-section__title {
    font-size: 36px;
    font-weight: 700;
    
    margin-bottom: 16px;
    line-height: 1.4;
}

.services-section__desc {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 24px;
}

/* Flow Images */
.services-section__flow {
    margin-bottom: 24px;
    width: 100%;
}

.services-section__flow-img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Service Icons */
.services-section__icons {
    display: flex;
    gap: 25px;
    margin-bottom: 24px;
    flex-wrap: nowrap;
}

.services-section__icons--6 {
    max-width: 100%;
}

.services-section__icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
}

.services-section__icon-circle {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: #fffdf5;
    border: 1px solid #e5d9c5;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.services-section__icon-circle img {
    width: 34px;
    height: 34px;
}

.services-section__icon-item:not(:last-child)::after {
    content: '→';
    position: absolute;
    top: 32px;
    right: -18px;
    transform: translateY(-50%);
    color: #f28a5f;
    font-size: 16px;
    font-weight: bold;
}

.services-section__icon-item span {
    font-size: 11px;
    color: #666;
    text-align: center;
    white-space: nowrap;
}

/* Service Button */


/* Phases (Section 4) */
.services-section__phases {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.services-section__phase-card {
    flex: 1;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.services-section__phase-header {
    background: #fdfaf2;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.services-section__phase-num {
    font-size: 11px;
    font-weight: 800;
    color: #e58d20;
}

.services-section__phase-name {
    font-size: 18px;
    font-weight: 700;
    
}

.services-section__phase-body {
    padding: 20px;
    flex: 1;
}

.services-section__phase-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.services-section__phase-list li {
    font-size: 13px;
    
    font-weight: 500;
    position: relative;
    padding-left: 20px;
}

.services-section__phase-list li::before {
    content: '✔';
    color: #e58d20;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
}

/* Spot Support Section */
.services-spot {
    padding: 80px 0;
    background-color: #ffffff;
}

.services-spot__container {
    max-width: 1200px;
    margin: 0 auto;
}

.services-spot__title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    
    margin-bottom: 60px;
}

.services-spot__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.services-spot__item {
    background: #fff;
    border-radius: 12px;
    padding: 20px 15px 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.services-spot__image {
    width: 100%;
    aspect-ratio: 3 / 2;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 16px;
}

.services-spot__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.services-spot__body {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.services-spot__label {
    font-weight: 700;
    
    text-align: center;
    margin-bottom: 12px;
    line-height: 1.4;
    font-size: 1.2rem !important;
}

.services-spot__desc {
    color: #888;
    line-height: 1.6;
       font-size: 0.9rem !important;
}

/* Responsive */

/* PC版 (Auto-converted to min-width) */
@media screen and (min-width: 960px) {


    .services-hero__title {
        font-size: 42px;
    }


    .services-hero__bg-text {
        font-size: 180px;
    }


    .services-hero__images {
        display: flex;
    }


    .services-section {
        padding: 80px 0;
    }


    .services-section__content {
        flex-direction: initial;
        gap: 50px;
    }


    .services-section__content.services-section--reverse {
        flex-direction: row-reverse;
    }


    .services-section__image {
        flex: 0 0 590px;
        max-width: 590px;
        width: initial;
    }


    .services-spot {
        padding: 100px 0;
    }


    .services-spot__grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .services-hero {
        padding: 50px 0 70px;
    }

    .services-hero__title {
        font-size: 28px;
    }

    .services-hero__bg-text {
        font-size: 60px;
        top: 0;
    }

    .services-section {
        padding: 60px 0;
    }

    .services-section__title {
        font-size: 24px;
    }


    .services-section__icons {
        gap: 12px;
    }

    .services-section__icon-item img {
        width: 36px;
        height: 36px;
    }

    .services-section__icon-item span {
        font-size: 10px;
    }

    .services-section__btn {
        font-size: 14px;
        padding: 10px 18px;
    }

    .services-section__data-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-spot {
        padding: 60px 0;
    }

    .services-spot__title {
        font-size: 24px;
        margin-bottom: 30px;
    }

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

@media (max-width: 480px) {
    .services-spot__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* Keep the people in the upper part of the diamond hero visible. */
@media (min-width: 960px) {
    .page-services .subpage__eyecatch-photo {
        transform: translateY(28%);
    }
}
