/* ====================
    Serviceセクション
==================== */
.service-fv {
    background-color: var(--background-keycolor);
}

.price .section-title {
    font-size: 60px;
}

.price .section__icon {
    width: 100px;
}

.service-fv__steps {
    display: flex;
    flex-direction: column;
    gap: 200px;
    width: 100%;
    padding-top: 50px;
}

.service-fv__step {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 50px;
}

.service-fv__step-number {
    font-size: 60px;
    font-weight: 300;
    line-height: 1;
    color: var(--main-color);
    padding-top: 50px;
}

.service-fv__step-content-box {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    gap: 50px;
    flex-direction: column;
}

.service-fv__step-text-box {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service-fv__step-title {
    font-size: 24px;
    font-weight: 500;
    line-height: 1.7;
    color: var(--text-color);
}

.service-fv__step-text {
    font-size: 14px;
    font-weight: 400;
    line-height: 2;
    color: #000000;
}

.service-fv__step-image {
    width: 274px;
    height: 224px;
    border-radius: 10px;
}

/* ====================
    Priceセクション
==================== */
.price {
    background-color: #F2F2F7;
}

.price__container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 50px;
}

.price .section__header {
    align-items: flex-start;
}

.section__title-and-icon {
    padding-bottom: 100px;
}

.price__description {
    font-size: 18px;
    margin-bottom: 0;
}

.price__cards {
    display: flex;
    flex-direction: column;
    gap: 100px;
    width: 100%;
}

.price__card {
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 50px;
    display: flex;
    flex-direction: column;
    flex-basis: calc(50% - 10px);
    max-width: 600px;
    border: 2px solid #00A69D;
}

.price__card-header {
    display: flex;
    align-items: center;
    padding-bottom: 20px;
    gap: 20px;
}

.price__card-icon {
    width: 40px;
    height: 60px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.price__card-icon--01 {
    background-image: url('/assets/images/leaves/leaf01_l.png');
}

.price__card-icon--02 {
    background-image: url('/assets/images/leaves/leaf02_l.png');
}

.price__card-icon--03 {
    background-image: url('/assets/images/leaves/leaf03_l.png');
}

.price__card-icon--04 {
    background-image: url('/assets/images/leaves/leaf04_l.png');
}

.price__card-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--main-color);
}

.price__card-subtitle {
    font-size: 16px;
    font-weight: 500;
    padding-bottom: 50px;
}

.price__card-body {
    display: flex;
    flex-direction: column;
}

.price__card-text {
    font-size: 20px;
    font-weight: 700;
    padding-bottom: 10px;
}

.price__card-price {
    font-size: 32px;
    font-weight: 700;
    padding-bottom: 50px;
}

.price__card-name {
    font-size: 14px;
    font-weight: 700;
}

.price__card-list {
    list-style-type: none;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.price__card-list li {
    font-size: 14px;
}

@media screen and (max-width: 768px) {
    .service-fv__step-title {
        font-size: 18px;
    }

    .price__container {
        padding: 0;
    }

    .price__card-title {
        font-size: 20px;
    }

    .price__cards {
        gap: 50px;
    }

    .price__card {
        padding: 20px;
    }

    .price__card-subtitle {
        font-size: 16px;
    }

    .price__card-text {
        font-size: 16px;
    }

    .price__card-price {
        font-size: 24px;
    }

    .price__card-list li {
        font-size: 12px;
    }

    .price__container {
        gap: 0;
    }

    .price__card-icon--01 {
        background-image: url('/assets/images/leaves/leaf01_s.png');
    }

    .price__card-icon--02 {
        background-image: url('/assets/images/leaves/leaf02_s.png');
    }

    .price__card-icon--03 {
        background-image: url('/assets/images/leaves/leaf03_s.png');
    }

    .price__card-icon--04 {
        background-image: url('/assets/images/leaves/leaf04_s.png');
    }

    .service-fv .section-subtitle {
        gap: 100px;
    }

    .service-fv__step-number {
        padding-top: 0px;
        font-size: 40px;
    }

    .service-fv .section-subtitle br {
        display: none;
    }
}

/* アニメーション設定 */
.service-fv .section-subtitle {
    padding-bottom: 0;
    position: relative;
    overflow: hidden;
    /* 子要素がはみ出さないように設定 */
    display: inline-block;
    /* 擬似要素を正確に配置するために必要 */
    color: transparent;
    /* 文字を非表示に */
    -webkit-text-stroke: 1px #00a69d;
    /* 文字の縁を表示 */
    letter-spacing: 0.1em;
}

.service-fv .section-subtitle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #00a69d 0%, #0062ff 70%, #1d2b53 100%);
    z-index: 1;
    animation: reveal-bg 2s cubic-bezier(0.8, 0, 0.2, 1) forwards;
}

.service-fv .section-subtitle span {
    position: relative;
    z-index: 2;
    animation: reveal-text 2s cubic-bezier(0.8, 0, 0.2, 1) 0.5s forwards;
    opacity: 0;
}

@keyframes reveal-bg {
    0% {
        width: 0;
        left: 0;
    }

    50% {
        width: 100%;
        left: 0;
        height: 100%;
        /* 高さを100%に維持 */
    }

    100% {
        width: 100%;
        left: 0;
        height: 3px;
        /* 高さを3pxに */
        top: calc(100% - 3px)
    }
}

@keyframes reveal-text {
    0% {
        opacity: 0;
    }

    100% {
        color: #1d2b53;
        opacity: 1;
        -webkit-text-stroke: 0;
        /* 縁取りを無効にする */
    }
}