.template_contact {
    padding: 100px 30px;
    background: url('../../img/template_contact_bg.svg') no-repeat center top / cover;
}
.template_contact_text {
    width: fit-content;
    max-width: 520px;
    margin: 0 auto;
    font-size: 18px;
    font-weight: bold;
    line-height: 2;
    letter-spacing: 0.05em;
    margin-bottom: 50px;
}
.template_contact_inner {
    max-width: 1040px;
    margin: 0 auto 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}
.template_contact_item {
    width: calc(50% - 15px);
    min-height: 200px;
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
}
.template_contact_item_inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(20px, calc((100vw /900) * 30), 30px);
}
.template_contact_item_icon {
    width: auto;
    height: clamp(50px, calc((100vw / 900) * 60), 60px);
}
.template_contact_item_title {
    font-size: clamp(22px, calc((100vw / 900) * 25), 25px);
    font-weight: bold;
    letter-spacing: 0.05em;
}
.template_contact_item_num {
    font-size: 30px;
    font-weight: 600;
    letter-spacing: 0.05em;
}
.template_contact_item_note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.template_contact_item_note span {
    display: block;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--base-gray);
}
.template_contact_item_note span:nth-of-type(2) {
    font-size: 17px;
}
.template_contact_item_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_contact_item_arrow_img {
    width: 16px;
    object-fit: contain;
    transition: all 0.3s ease;
}
@media (any-hover: hover) {
    .template_contact_item:hover .template_contact_item_arrow {
        background: var(--color-text);
    }
    .template_contact_item:hover .template_contact_item_arrow_img {
        filter: brightness(0) invert(1) saturate(0);
    }
}

@media screen and (max-width: 767px) {
    .template_contact {
        padding: 50px 30px;
        background: var(--accent-green);
    }
    .template_contact_text {
        max-width: 100%;
        font-size: 14px;
        margin-bottom: 30px;
    }
    .template_contact_inner {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 30px;
    }
    .template_contact_item {
        width: 100%;
        min-height: 150px;
    }
    .template_contact_item_inner {
        gap: 20px;
    }
    .template_contact_item_icon {
        height: 30px;
    }
    .template_contact_item_title {
        font-size: 15px;
    }
    .template_contact_item_num {
        font-size: 20px;
    }
    .template_contact_item_note {
        gap: 2px;
    }
    .template_contact_item_note span {
        font-size: 12px;
    }
    .template_contact_item_note span:nth-of-type(2) {
        font-size: 15px;
    }
    .template_contact_item_arrow {
        width: 30px;
    }
    .template_contact_item_arrow_img {
        width: 12px;
    }
}