@charset "utf-8";

/* ====================================================================================
   Features Page
==================================================================================== */

/* --- Intro --- */
.features-intro {
    padding: 100px 0 80px;
    text-align: center;
}

.features-intro .intro-accent {
    display: block;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #9dd4a0, #f9d56e, #f9a08c);
    margin: 0 auto 35px;
    border-radius: 2px;
}

.features-intro h3 {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    line-height: 1.8;
    margin-bottom: 30px;
    letter-spacing: 0.1em;
}

.features-intro .intro-desc {
    font-size: 17px;
    line-height: 2.4;
    color: #666;
    margin: 0 auto;
}

/* --- Step Section --- */
.feature-step {
    padding: 90px 0;
}

.feature-step:nth-child(odd) {
    background: #FAF8F5;
}

.feature-step .inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
}

.feature-step:nth-child(even) .inner {
    flex-direction: row-reverse;
}

.feature-step .step-content {
    flex: 1;
    min-width: 0;
}

.feature-step .step-image {
    width: 40%;
    flex-shrink: 0;
}

.feature-step .step-image img {
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

/* Step badge */
.step-badge {
    display: inline-block;
    padding: 5px 22px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.15em;
    margin-bottom: 18px;
    color: #fff;
}

.step-1 .step-badge {
    background: #9dd4a0;
}

.step-2 .step-badge {
    background: #f9d56e;
    color: #776a2e;
}

.step-3 .step-badge {
    background: #f9a08c;
}

/* Step title */
.feature-step .step-title {
    font-size: 25px;
    font-weight: 700;
    color: #333;
    line-height: 1.6;
    margin-bottom: 25px;
    letter-spacing: 0.05em;
}

/* Step description */
.feature-step .step-desc {
    font-size: 16px;
    line-height: 2.4;
    color: #666;
    margin-bottom: 30px;
}

/* Step list */
.feature-step .step-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-step .step-list li {
    padding: 16px 0 16px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    line-height: 2.0;
    font-size: 15px;
    color: #666;
    position: relative;
}

.feature-step .step-list li:last-child {
    border-bottom: none;
}

.feature-step .step-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 24px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.step-1 .step-list li::before {
    background: #9dd4a0;
}

.step-2 .step-list li::before {
    background: #f9d56e;
}

.step-3 .step-list li::before {
    background: #f9a08c;
}

.feature-step .step-list li b {
    font-weight: 700;
    color: #333;
    font-size: 16px;
}

/* --- Closing --- */
.features-closing {
    padding: 90px 0;
    text-align: center;
    background: #fff;
}

.features-closing .closing-box {
    margin: 0 auto;
    padding: 50px 60px;
    border-radius: 16px;
    background: #FAF8F5;
    border: 1px solid #e8e3dc;
}

.features-closing .closing-box p {
    font-size: 16px;
    line-height: 2.4;
    color: #666;
}

/* --- Detail Links --- */
.features-links {
    padding: 80px 0;
    background: #FAF8F5;
}

.features-links h3 {
    text-align: center;
    font-size: 22px;
    color: #333;
    margin-bottom: 35px;
    letter-spacing: 0.1em;
}

.features-links .link-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.features-links .link-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 20px;
    background: #fff;
    border-radius: 10px;
    font-size: 16px;
    color: #666;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    border-bottom: 3px solid transparent;
    font-family: 'Noto Sans JP', sans-serif;
    letter-spacing: 0.05em;
}

.features-links .link-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border-bottom-color: #87c1b9;
    color: #333;
}

/* --- Responsive --- */
@media screen and (max-width: 900px) {
    .features-intro {
        padding: 60px 0 50px;
    }

    .features-intro h3 {
        font-size: 22px;
        line-height: 1.6;
    }

    .features-intro .intro-desc {
        font-size: 14px;
        line-height: 2;
    }

    .feature-step {
        padding: 50px 0;
    }

    .feature-step .inner {
        display: block;
    }

    .feature-step:nth-child(even) .inner {
        flex-direction: column;
    }

    .feature-step .step-image {
        width: 85%;
        margin: 30px auto 0;
    }

    .feature-step .step-title {
        font-size: 18px;
        line-height: 1.5;
    }

    .feature-step .step-desc {
        font-size: 14px;
        line-height: 2;
    }

    .feature-step .step-list li {
        font-size: 14px;
        line-height: 1.8;
    }

    .feature-step .step-list li b {
        font-size: 14px;
    }

    .features-closing .closing-box {
        padding: 30px 25px;
    }

    .features-closing .closing-box p {
        font-size: 14px;
        line-height: 2;
    }

    .features-links h3 {
        font-size: 20px;
        line-height: 1.5;
    }

    .features-links .link-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .features-links .link-card {
        padding: 20px 15px;
        font-size: 13px;
        line-height: 1.6;
    }
}

@media screen and (max-width: 480px) {
    .features-links .link-grid {
        grid-template-columns: 1fr;
    }
}
