.service {
    margin-top: 80px;
}

.services-renewed {
    padding: 100px 0;
    background-color: #ffffff;
}

.service-block {
    display: flex;
    align-items: center;
    margin-bottom: 80px;
    gap: 40px;
    flex-wrap: wrap;
}

.service-block.reverse {
    flex-direction: row-reverse;
}

.service-image {
    flex: 1 1 45%;
    max-width: 500px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 12px;
}


.service-text {
    flex: 1 1 50%;
    padding: 10px;
}

.service-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.service-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.3s ease;
    border: 1px solid var(--primary-color);
}

.service-link:hover {
    background-color: transparent;
    color: var(--primary-color);
}

@media (max-width: 768px) {

    .service-block,
    .service-block.reverse {
        flex-direction: column;
        text-align: left;
    }

    .service-image,
    .service-text {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .service-image {
        aspect-ratio: 16 / 9;
    }
}

.stance-section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.4rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
}

.stance-item {
    position: relative;
    background: #e2dcdc50;
    padding: 40px;
    margin-bottom: 60px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.stance-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 9.5rem;
    font-weight: 700;
    color: rgba(224, 32, 32, 0.062);
    pointer-events: none;
    user-select: none;
    font-family: 'Segoe UI', sans-serif;
}

.stance-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.stance-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

@media (max-width: 768px) {
    .stance-section {
        padding: 60px 20px;
    }

    .stance-title {
        font-size: 1.3rem;
    }

    .stance-text {
        font-size: 1rem;
    }

    .stance-number {
        font-size: 3.5rem;
        top: 10px;
        right: 10px;
    }
}



/* プロセスセクション*/
.process-section {
    padding: 100px 0;
}

.process-flow {
    display: flex;
    justify-content: space-between;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.process-flow::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 40px;
    right: 40px;
    height: 2px;
    background-color: rgba(224, 32, 32, 0.2);
    z-index: 0;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    width: 25%;
    z-index: 1;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

.process-step:nth-child(1) {
    animation-delay: 0.1s;
}

.process-step:nth-child(2) {
    animation-delay: 0.3s;
}

.process-step:nth-child(3) {
    animation-delay: 0.5s;
}

.process-step:nth-child(4) {
    animation-delay: 0.7s;
}

.step-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(224, 32, 32, 0.3);
}

.step-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.step-description {
    font-size: 0.9rem;
    color: #666;
    max-width: 200px;
}

/* アニメーション */
@keyframes slideInLeft {
    from {
        transform: translateX(100px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* レスポンシブ対応 */
@media (max-width: 992px) {
    .feature-inner {
        flex-direction: column;
    }

    .feature-sidebar {
        width: 100%;
        height: 80px;
    }

    .step-number {
        font-size: 4rem;
        transform: rotate(0);
    }

    .feature-title {
        margin-top: 15px;
    }

    .process-flow {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
    }

    .process-flow::before {
        top: 30px;
        left: 30px;
        width: 2px;
        height: calc(100% - 60px);
        right: auto;
    }

    .process-step {
        flex-direction: row;
        text-align: left;
        width: 100%;
        gap: 20px;
    }

    .step-circle {
        margin-bottom: 0;
    }

    .step-content {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .step-description {
        max-width: none;
    }
}

@media (max-width: 768px) {

    .services-card {
        flex-direction: column;
        height: auto;
    }

    .services-card a {
        flex-direction: column;
    }

    .services-card-image {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
        overflow: hidden;
    }

    .services-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .services-content {
        padding: 16px 20px;
    }

    .services-title {
        font-size: 1.4rem;
        margin: 0;
    }

    .services-description {
        font-size: 1rem;
        line-height: 1.6;
    }

    .feature-card {
        transform: rotate(0) !important;
    }

    .feature-main {
        padding: 30px 25px;
    }

    .feature-title {
        font-size: 1.8rem;
        transform: skewX(0);
    }

    .feature-subtitle {
        font-size: 1.1rem;
        transform: skewX(0);
    }

    .feature-description {
        font-size: 1rem;
    }

}

@media (max-width: 576px) {

    .features-section,
    .process-section {
        padding: 60px 0;
    }
}