:root{
    --main: #fefefe;
    --sub: #264a9e;
    --sub2: #00a0e9;
    --sub3: #cfcfcf;
    --text: #2d2726;
}
.section_content_container{
    padding: 0 40px 40px;
    &.type_1{
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        grid-template-rows: repeat(max-content, max-content);
        gap: 40px;
        align-items: stretch;
        &::before,&::after{
            content: "";
            position: absolute;
            background: var(--sub3);
        }
        &::before{
            width: 100vw;
            height: 1px;
            bottom: 0;
            left: 40px;
        }
        &::after{
            width: 1px;
            height: calc(100% + 120px);
            bottom: 0;
            right: 0;
        }
    }
}
.section_content_box{
    &.type_1{
        &.box_1{
            align-items: flex-start;
            gap: 20px;
        }
        &.box_2{
            align-items: center;
            justify-content: center;
            gap: 20px;
        }
    }
}
.section_text{
    &.type_1{
        font-size: 1.6rem;
        padding-left: 20px;
        border-left: 4px solid var(--sub2);
    }
    &.type_2{
        font-size: 1.8rem;
        color: var(--main);
        font-weight: 600;
    }
    &.type_3{
        font-size: 2rem;
        font-weight: bold;
        border-bottom: 2px solid var(--sub2);
        position: relative;
        &::before{
            content: "";
            position: absolute;
            width: 50px;
            height: 20px;
            clip-path: polygon(0 0, 50% 100%, 100% 0);
            background: var(--sub2);
            bottom: -20px;
            left: calc(50% - 25px);
        }
    }
    &.type_4{
        font-size: 1.6rem;
        &.text_1{
            font-weight: bold;
        }
    }
    &.type_5{
        font-size: 1.6rem;
        font-weight: bold;
        color: var(--sub);
        text-decoration: underline;
    }
}
.section_content_title_box{
    align-items: center;
    justify-content: center;
    padding: 20px;
    margin-bottom: 20px;
    background: var(--sub);
    &::before{
        content: "";
        position: absolute;
        width: 100%;
        height: calc(100% - 20px);
        left: 0;
        bottom: 10px;
        border-top: 1px solid var(--main);
        border-bottom: 1px solid var(--main);
        pointer-events: none;
    }
}
.section_content_title{
    &.type_1{
        font-size: 2.4rem;
        font-weight: 500;
        color: var(--sub);
        margin-bottom: 20px;
    }
    &.type_2{
        font-size: 1.6rem;
        color: var(--main);
        span{
            font-size: 2.4rem;
            font-weight: bold;
            color: var(--main);
        }
    }
}
.section_text_row{
    grid-template-columns: 180px 1fr;
    grid-template-rows: repeat(max-content, max-content);
    border-bottom: 1px solid var(--sub3);
}
.section_text_box{
    &.type_1{
        padding: 40px;
        background: var(--sub2);
        gap: 10px;
        align-items: center;
        &::before{
            content: "";
            position: absolute;
            inset: 10px;
            border: 1px solid var(--main);
        }
    }
    &.type_2{
        padding: 20px;
        align-items: flex-start;
        gap: 5px;
        &.box_1::before,&.box_1::after{
            content: "";
            position: absolute;
        }
        &.box_1::before{
            width: 1px;
            height: 20px;
            background: var(--sub3);
            bottom: 0;
            right: 0;
        }
        &.box_1::after{
            width: 40%;
            height: 1px;
            background: var(--sub);
            bottom: -1px;
            left: 0;
        }
    }
}
.section_map_container{
    height: 100%;
    min-height: 300px;
    overflow: hidden;
}
.section_map{
    width: 100%;
    height: 100%;
}
.section_image{
    &.type_1{
        aspect-ratio: 3 / 2;
        background: url(/assets/img/v_16.webp);
        background-size: cover;
    }
}
.sub_text_box{
    align-items: flex-start;
}

@media all and (max-width: 1280px){

}
@media all and (max-width: 960px){
    .section_content_container{
        &.type_1{
            grid-template-columns: 1fr;
        }
    }
}
@media all and (max-width: 768px){
    .section_content_container{
        padding: 0 20px 20px;
        &.type_1{
            &::after{
                height: calc(100% + 80px);
            }
            &::before{
                left: 20px;
            }
        }
    }
    .section_content_title{
        &.type_1{
            font-size: 2rem;
        }
        &.type_2{
            font-size: 1.4rem;
            span{
                font-size: 2rem;
            }
        }
    }
}
@media all and (max-width: 450px){
    .section_content_container{
        padding-left: 0;
        &.type_1{
            gap: 20px;
        }
    }
    .section_content_title{
        &.type_1{
            font-size: 1.6rem;
            font-weight: bold;
            margin-bottom: 10px;
        }
    }
    .section_text{
        &.type_1{
            font-size: 1.4rem;
            padding-left: 10px;
            border-left: 2px solid var(--sub2);
        }
        &.type_2,&.type_4,&.type_5{
            font-size: 1.4rem;
        }
        &.type_3{
            font-size: 1.6rem;
        }
    }
    .section_text_box{
        &.type_1{
            padding: 40px 20px
        }
        &.type_2{
            padding: 10px;
            &.box_1{
                max-width: 180px;
                border-bottom: 1px solid var(--sub3);
            }
        }
    }
    .section_text_row{
        grid-template-columns: 1fr;
    }
    .section_map_container{
        min-height: 200px;
    }
}
