.template_safe {
    position: relative;
    z-index: 1;
    padding: 100px 0;
}
.top_page .template_safe {
    padding: 0;
}
.template_safe_object1 {
    display: none;
}
.top_page .template_safe_object1 {
    display: block;
    width: 480px;
    bottom: -210px;
    left: 40px;
}
.template_safe_container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    background: #fff;
    border-radius: 500px;
    padding: 100px clamp(160px, calc((100vw / 1440) * 200), 200px);
}

.template_safe_item {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: clamp(40px, calc((100vw / 1440) * 50), 50px);
    margin-bottom: 70px;
}
.template_safe_item_image {
    width: calc(46% - 25px);
    height: 100%;
    object-fit: cover;
    overflow: hidden;
    border-radius: 20px;
    position: relative;
}
.template_safe_item_badge {
    width: 150px;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 10px;
    left: 10px;
    background: url('../../img/template_safe_item_badge1.svg') no-repeat center center / cover;
    color: var(--accent-green);
}
.template_safe_item:nth-of-type(3) .template_safe_item_badge {
    background: url('../../img/template_safe_item_badge2.svg') no-repeat center center / cover;
    color: var(--accent-orange);
}
.template_safe_item_badge_en {
    font-size: 24px;
    font-weight: 500;
}
.template_safe_item_badge_num {
    font-size: 62px;
    font-weight: 500;
    line-height: 0.9;
}

.template_safe_item_content {
    width: calc(54% - 25px);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 65px;
    flex-grow: 1;
}
.template_safe_item_content_head {
    width: 100%;
    border-radius: 40px;
    background: var(--accent-green);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    color: #fff;
    padding: 50px 20px;
    box-sizing: border-box;
    position: relative;
}
.template_safe_item:nth-of-type(3) .template_safe_item_content_head {
    background: var(--accent-orange);
}
.template_safe_item_title {
    width: fit-content;
    font-size: 32px;
    font-weight: bold;
    position: relative;
    letter-spacing: 0.05em;
}
.template_safe_item_content_head_object {
    width: 164px;
    height: auto;
    object-fit: contain;
    position: absolute;
    bottom: -7px;
    right: -17px;
    transform: translate(100%, 0%);
}
.template_safe_item:nth-of-type(3) .template_safe_item_content_head_object {
    bottom: -45px;
    right: -30px;
}
.template_safe_item_text {
    max-width: 300px;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.5;
    letter-spacing: 0.05em;
}
.template_safe_item:nth-of-type(3) .template_safe_item_text {
    max-width: 340px;
}
.template_safe_item_content_head_arrow {
    width: 80px;
    height: auto;
    object-fit: contain;
    position: absolute;
    bottom: 5px;
    right: 50%;
    transform: translate(50%, 100%);
}

.template_safe_item_content_wrap {
    width: 100%;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.template_safe_item_content_links {
    width: calc(50% - 10px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    padding: 0 20px 20px;
    box-sizing: border-box;
    background-image: repeating-linear-gradient(
        to right,
        var(--light-gray) 0px,
        var(--light-gray) 10px,
        transparent 10px,
        transparent 15px
    );
    background-position: bottom;
    background-size: 100% 2px;
    background-repeat: no-repeat;
}
.template_safe_item_content_links p {
    font-size: 18px;
    font-weight: bold;
    line-height: 1.1;
    letter-spacing: 0.05em;
}
.template_safe_item_content_arrow {
    width: 36px;
    aspect-ratio: 1;
    flex-shrink: 0;
    border: 2px solid var(--color-text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.template_safe_item_content_arrow_img {
    width: 16px;
    object-fit: contain;
    transition: all 0.3s ease;
}
@media (any-hover: hover) {
    .template_safe_item_content_links:hover .template_safe_item_content_arrow {
        background: var(--color-text);
    }
    .template_safe_item_content_links:hover .template_safe_item_content_arrow_img {
        filter: brightness(0) invert(1) saturate(0);
    }
}

.template_safe_faq {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 70px;
    background: var(--light-gray);
    padding: 70px 40px;
    box-sizing: border-box;
    border-radius: 20px;
}
.template_safe_faq_inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
}
.template_safe_faq_title {
    font-size: 24px;
    font-weight: bold;
}
.template_safe_faq_text {
    font-size: 16px;
    font-weight: bold;
    line-height: 1.5;
}
.template_safe .template_safe_faq .components_btn {
    margin: 0;
}

.template_safe .components_btn {
    margin: 70px auto 0;
}

@media screen and (max-width: 1200px) {
    .top_page .template_safe_object1 {
        width: 380px;
        bottom: -160px;
    }
    .template_safe_container {
        border-radius: 300px;
        padding: 100px clamp(100px, calc((100vw / 1200) * 140), 140px);
    }
    .template_safe_item_content_links {
        padding: 0 10px 10px;
    }
    .template_safe_item_content_links p {
        font-size: 16px;
    }
    .template_safe_item_content_arrow {
        width: 30px;
    }
    .template_safe_item_content_arrow_img {
        width: 12px;
    }
    .template_safe_item_content_head_object {
        width: 120px;
    }
    .template_safe_item:nth-of-type(3) .template_safe_item_content_head_object {
        width: 120px;
        bottom: -35px;
        right: -20px;
    }
}

@media screen and (max-width: 1024px) {
    .template_safe_container {
        border-radius: 200px;
        padding: 100px 100px;
    }
    .template_safe_item {
        gap: 20px;
    }
}

@media screen and (max-width: 959px) {
    .top_page .template_safe_object1 {
        width: 280px;
        bottom: -115px;
        left: 20px;
    }
    .template_safe_container {
        padding: 50px 30px;
        border-radius: 130px;
    }
    .template_safe_item {
        width: 100%;
        flex-direction: column;
        gap: 30px;
        margin-bottom: 30px;
    }
    .template_safe_item_image {
        width: 100%;
        max-width: 800px;
        margin: 0 auto;
    }
    .template_safe_item_content {
        width: 100%;
        max-width: 800px;
        margin: 0 auto;
        gap: 45px;
    }
    .template_safe_item_content_head {
        padding: 30px 20px;
    }
    .template_safe_item_title {
        width: 100%;
        text-align: center;
        font-size: 24px;
    }
    .template_safe_item:nth-of-type(3) .template_safe_item_content_head_object,
    .template_safe_item_content_head_object {
        right: 80px;
    }
    .template_safe_item_text {
        max-width: 530px;
    }
    .template_safe_item:nth-of-type(3) .template_safe_item_text {
        max-width: 530px;
    }
    .template_safe_item_content_head_arrow {
        width: 50px;
    }
    .template_safe .components_btn {
        margin: 30px auto 0;
    }
}

@media screen and (max-width: 767px) {
    .template_safe {
        padding: 50px 0 70px;
    }
    .top_page .template_safe_object1 {
        width: 200px;
        bottom: -115px;
        left: 20px;
    }
    .template_safe_item_title {
        font-size: 20px;
    }
    .template_safe_item:nth-of-type(3) .template_safe_item_content_head_object,
    .template_safe_item_content_head_object {
        width: 70px;
        right: 30px;
        bottom: unset;
        top: -28px;
    }
    .template_safe_item:nth-of-type(3) .template_safe_item_content_head_object {
        top: -34px;
        right: 28px;
    }
    .template_safe_item_text {
        max-width: 530px;
    }
    .template_safe_item_content_head_arrow {
        width: 50px;
    }

    .template_safe_item_badge {
        width: 110px;
        top: 20px;
        left: 20px;
    }
    .template_safe_item_badge_en {
        font-size: 15px;
    }
    .template_safe_item_badge_num {
        font-size: 36px;
    }
    .template_safe_item_content_head {
        border-radius: 20px;
        gap: 10px;
        padding: 20px;
    }
    .template_safe_item_text {
        font-size: 14px;
    }
    .template_safe_item_content_wrap {
        max-width: 270px;
        flex-direction: column;
        gap: 10px;
    }
    .template_safe_item_content_links {
        width: 100%;
    }
    .template_safe_item_content {
        gap: 35px;
    }
    .template_safe_item_content_links p {
        font-size: 14px;
    }
    .template_safe_faq {
        flex-direction: column;
        gap: 20px;
        padding: 30px 20px;
    }
    .template_safe_faq_title {
        font-size: 18px;
    }
    .template_safe_faq_text {
        font-size: 14px;
    }

    .template_safe_item_content_links:nth-of-type(2) {
        order: 4;
    }
    .template_safe_item_content_links:nth-of-type(4) {
        order: 5;
    }
}