:root {
    --main: #fefefe;
    --sub: #264a9e;
    --sub2: #00a0e9;
    --sub3: #cfcfcf;
    --text: #2d2726;
}
.section.section_1{
    width: 100%;
    height: 125lvh;
    padding-top: 200px;
    align-items: flex-end;
}
.section_1_container{
    height: 100%;
    &.type_1{
        width: 250px;
        align-items: center;
        justify-content: center;
    }
    &.type_2{
        flex: 1;
        align-items: flex-start;
    }
}
.section_1_content_box{
    &.type_1{
        padding-bottom: 80px;
        padding-right: 5%;
        align-items: flex-start;
        justify-content: space-between;
    }
    &.type_2{
        flex: 1;
        background: url(/assets/img/v_1_1.webp);
        background-size: cover;
        background-position: bottom left;
    }
}
.section_1_text_box{
    align-items: flex-start;
    gap: 10px;
}
.section_1_title{
    font-size: 1.8rem;
    line-height: 1.8em;
}
.section_1_text{
    &.type_1{
        font-size: 6.4rem;
        color: var(--sub3);
        line-height: 1;
    }
}
.scroll_content_box{
    width: 1px;
    height: 30lvh;
    background: var(--sub3);
}
.scroll_content_text{
    position: absolute;
    font-size: 1.2rem;
    color: var(--sub3);
    bottom: 0;
    left: 5px;
    writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
}
.scroll_arrow_box{
    height: 100%;
    overflow: hidden;
}
.scroll_arrow{
    height: 100%;
    animation: for_scroll 5s ease infinite;
}
@keyframes for_scroll{
    0%{
        transform: translateY(-100%);
        background: var(--text);
    }
    50%{
        background: var(--sub2);
    }
    100%{
        transform: translateY(100%);
        background: var(--text);
    }
}
.section_content_container{
    &.type_1{
        padding: 0 40px 40px;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(max-content, max-content);
        gap: 40px;
        &::before,&::after{
            content: "";
            position: absolute;
            background: var(--sub3);
            z-index: -1;
        }
        &::before{
            width: 1px;
            height: calc(100% + 80px + 20lvh);
            right: 0;
            top: 0;
        }
        &:after{
            width: 100vw;
            height: 1px;
            bottom: 0;
            left: 40px;
        }
    }
    &.type_2{
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        grid-template-rows: repeat(max-content, max-content);
        gap: 40px;
        padding: 0 40px;
    }
    &.type_3{
        grid-template-columns: 1fr 2fr;
        grid-template-rows: repeat(max-content, max-content);
        &::before{
            content: "";
            position: absolute;
            width: 1px;
            height: calc(100% + 20lvh);
            background: var(--sub3);
            bottom: 0;
            right: 0;
        }
    }
}
.section_content_column{
    &.type_1{
        align-items: flex-end;
        gap: 40px;
    }
}
.section_asset_container{
    position: absolute;
    z-index: -1;
    &.type_1{
        width: 30vw;
        height: calc(100% - 15lvh);
        background: var(--sub3);
        border-top: 1px solid var(--sub3);
        border-bottom: 1px solid var(--sub3);
        bottom: 0;
        right: 0;
    }
}
.section_image_box{
    &.type_1{
        flex: 1;
        aspect-ratio: 1;
        background-color: var(--sub3);
        &::before{
            content: "";
            position: absolute;
            inset: 5px;
            border: 1px solid var(--main);
        }
        img{
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }
}
.section_text_box{
    &.type_1{
        flex: 2;
        padding: 20px 0;
        gap: 10px;
        align-items: flex-start;
        border-bottom: 1px solid var(--sub3);
    }
}
.section_content_title{
    &.type_1{
        font-size: 2rem;
        color: var(--sub);
    }
}
.section_content_box{
    &.type_1{
        padding: 40px 20px;
        background: var(--text);
        align-items: center;
        justify-content: space-between;
        transition: background ease 0.25s;
        &::before,&::after{
            content: "";
            position: absolute;
            background: var(--main);
        }
        &::before{
            height: 100%;
            width: 1px;
            left: 10px;
            top: 0;
        }
        &::after{
            width: 100%;
            height: 1px;
            left: 0;
            bottom: 20px;
        }
    }
    &.type_2{
        &.box_1{
            padding-right: 40px;
            align-items: flex-start;
            gap: 20px;
        }
        &.box_2{
            padding-top: 20px;
        }
    }
}
.section_text{
    &.type_1{
        font-size: 1.4rem;
    }
    &.type_2{
        font-size: 1.8rem;
        color: var(--main);
    }
}
.section_arrow_box{
    overflow: hidden;
    align-items: center;
    &.type_1{
        width: 60px;
        aspect-ratio: 3 / 1;
        background: var(--main);
        border-radius: 100vh;
    }
}
.section_arrow{
    transform: translateX(100%);
    &.type_1{
        width: 50%;
        text-align: center;
        font-size: 2.8rem;
    }
}
.section_news_row{
    padding: 40px 0;
    border-bottom: 1px solid var(--sub3);
    align-items: flex-start;
    gap: 40px;
    &:first-of-type{
        border-top: 1px solid var(--sub3);
    }
}
.section_news_box{
    &.type_1{
        padding: 5px 0;
    }
    &.type_2{
        width: 150px;
        padding: 5px 15px;
        align-items: center;
        border: 1px solid var(--sub);
    }
    &.type_3{
        flex: 1;
        padding: 5px 0;
    }
}
.section_news_text{
    &.type_1,&.type_3{
        font-size: 1.6rem;
        transition: color ease 0.25s;
    }
    &.type_2{
        font-size: 1.4rem;
        color: var(--sub);
    }
    &.type_3{
        font-weight: bold;
    }
}
.section.section_2{
    padding-top: 120px;
}
.text_box_anchor{
    overflow: hidden;
    align-items: center;
    &.type_1{
        width: 60px;
        aspect-ratio: 3 / 1;
        background: var(--sub);
        border-radius: 100vh;
        align-self: flex-end;
    }
}
.text_box_arrow{
    transform: translateX(100%);
    &.type_1{
        width: 50%;
        text-align: center;
        font-size: 2.8rem;
        color: var(--main);
    }
}

.page_loader{
    position: fixed;
    height: 100lvh;
    top: 0;
    left: 0;
    z-index: 13;
    background: var(--main);
    pointer-events: none;
    align-items: center;
    justify-content: center;
    &.active{
        opacity: 0;
        transition: opacity ease 0.5s;
        transition-delay: 0.8s;
    }
}
.loader_box{
    max-width: 200px;
    align-items: center;
    &.active{
        opacity: 0;
        transition: opacity ease 0.5s;
        transition-delay: 0.35s;
    }
}
.loader_text{
    font-size: 1.6rem;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
}

@media all and (max-width: 1280px){
    .section_1_container{
        &.type_1{
            width: 200px;
        }
    }
    .section_1_title{
        font-size: 1.6rem;
        line-height: 1.6em;
    }
    .section_1_text{
        &.type_1{
            font-size: 5.4rem;
        }
    }
    .section_content_container{
        &.type_2{
            gap: 20px;
        }
    }
    .section_content_column{
        &.type_1{
            gap: 20px;
        }
    }
    .section_content_title{
        &.type_1{
            font-size: 1.8rem;
        }
    }
    .section_text{
        &.type_2{
            font-size: 1.6rem;
        }
    }
}
@media all and (max-width: 960px){
    .section.section_1{
        padding-top: 180px;
    }
    .section_1_container{
        &.type_1{
            width: 160px;
        }
    }
    .section_1_content_box{
        &.type_1{
            flex-direction: column;
            gap: 40px;
            padding-bottom: 60px;
        }
    }
    .section_1_title{
        padding-left: 3px;
    }
    .section_content_container{
        &.type_1{
            padding: 0 20px 20px;
            gap: 20px;
            &::after{
                left: 20px;
            }
        }
        &.type_2{
            padding: 0 20px;
        }
        &.type_3{
            grid-template-columns: 1fr;
            gap: 20px;
        }
    }
    .section_text_box{
        &.type_1{
            flex: 1.2;
            padding: 10px 0;
        }
    }
    .section_content_box{
        &.type_2{
            &.box_1{
                flex-direction: row;
                align-items: flex-end;
            }
            &.box_2{
                padding-top: 0;
                padding-left: 20px;
            }
        }
    }
    .section_text{
        &.type_1{
            font-size: 1.2rem;
        }
    }
}
@media all and (max-width: 959px){
    .section.section_1{
        padding-top: 160px;
    }
    .section_1_container{
        &.type_1{
            width: 140px;
        }
    }
}
@media all and (max-width: 768px){
    .section.section_1{
        height: 80lvh;
    }
    .section_1_container{
        &.type_1{
            justify-content: flex-end;
        }
    }
    .section_1_text{
        &.type_1{
            font-size: 4.2rem;
        }
    }
    .section.section_2{
        padding-top: 80px;
    }
    .section_content_container{
        &.type_1{
            grid-template-columns: 1fr;
        }
    }
    .section_text_box{
        &.type_1{
            flex: 2;
        }
    }
    .section_news_row{
        gap: 20px;
        padding: 30px 0;
    }
    .section_news_box{
        &.type_2{
            width: 100px;
        }
    }
    .section_news_text{
        &.type_1,&.type_3{
            font-size: 1.4rem;
        }
        &.type_2{
            font-size: 1.2rem;
        }
    }
}
@media all and (max-width: 450px){
    .section.section_1{
        padding-top: 120px;
    }
    .section_1_container{
        &.type_1{
            width: 60px;
        }
    }
    .section_1_text{
        &.type_1{
            font-size: 3.2rem;
        }
    }
    .section_1_title{
        font-size: 1.4rem;
    }
    .section_1_content_box{
        &.type_1{
            padding-bottom: 40px;
        }
    }
    .section_content_container{
        &.type_1{
            padding: 0 0 20px;
            &:after{
                left: 0;
            }
        }
        &.type_2{
            padding: 0 10px 0 0;
            gap: 10px;
        }
    }
    .section_text_box{
        &.type_1{
            flex: 1.6;
            padding-right: 10px;
        }
    }
    .section_content_title{
        &.type_1{
            font-size: 1.6rem;
        }
    }
    .section_content_box{
        &.type_2{
            &.box_1{
                padding-right: 10px;
            }
            &.box_2{
                padding: 0;
            }
        }
    }
    .text_box_arrow{
        &.type_1{
            font-size: 2rem;
        }
    }
    .section_news_row{
        gap: 10px;
        flex-wrap: wrap;
        padding: 20px 0;
    }
    .section_news_box{
        &.type_3{
            flex-basis: 200px;
        }
    }
    .section_content_column{
        &.type_1{
            flex-direction: column;
            align-items: flex-start;
            gap: 5px;
        }
    }
    .section_image_box{
        &.type_1{
            max-width: 250px;
            aspect-ratio: 3 / 2;
        }
    }
}

@media (any-hover: hover){
    .section_content_box.type_1:hover{
        background: var(--sub);
    }
    .section_arrow{
        transition: transform ease 0.25s, color ease 0.25s;
        transform: translateX(0);
    }
    .section_content_box.type_1:hover .section_arrow{
        transform: translateX(100%);
        color: var(--sub2);
    }
    .section_news_row:hover .section_news_text{
        &.type_1,&.type_3{
            color: var(--sub);
        }
    }
    .text_box_anchor{
        &.type_1{
            background: var(--text);
            transition: background ease 0.25s;
        }
    }
    .text_box_arrow{
        transition: transform ease 0.25s;
        transform: translateX(0);
    }
    .section_content_column.type_1:hover .text_box_anchor.type_1{
        background: var(--sub);
    }
    .section_content_column.type_1:hover .text_box_anchor .text_box_arrow{
        transform: translateX(100%);
    }
}
