:root {
    --sub: #141b79;
    --sub1: #306ca9;
    --sub2: #5B3A50;
    --sub3: #44703E;
    --black: #332B30;
    --white: #f9f9f8;
    --white2: #fefefe;
}
.section.section_1{
    height: 35lvh;
    align-items: center;
    justify-content: flex-end;
}
.section_1_asset{
    position: absolute;
    height: 60lvh;
    top: 0;
    left: 15%;
    img{
        height: 100%;
        width: auto;
    }
}
.section_1_container{
    align-items: center;
    max-width: 1400px;
    padding: 40px 5%;
}
.section_1_title{
    font-size: 3.2rem;
    font-weight: 500;
}
.section_text_box{
    &.type_1{
        max-width: 800px;
        padding: 40px;
        align-items: flex-start;
        background: var(--white2);
        border-radius: 10px;
        gap: 10px;
    }
    &.type_2{
        padding: 40px;
        align-items: flex-start;
        gap: 10px;
        border-radius: 10px;
        border: 4px dotted var(--sub2);
        background: var(--white2);
    }
}
.section_text{
    &.type_2{
        font-size: 1.6rem;
        strong{
            font-size: 1.8rem;
            font-weight: 500;
            color: var(--sub);
        }
    }
    &.type_3{
        font-size: 1.8rem;
        font-weight: 500;
        color: var(--sub3);
    }
    &.type_4{
        font-size: 1.2rem;
    }
    &.type_5{
        font-size: 3.6rem;
        font-weight: 500;
        color: var(--sub3);
    }
    &.type_6{
        list-style: disc;
        list-style-position: inside;
        font-size: 1.6rem;
        padding-left: 1.5em;
        text-indent: -1.5em;
        a{
            font-weight: 500;
            color: var(--sub2);
            text-decoration: underline;
        }
    }
    &.type_7{
        font-size: 1.6rem;
        font-weight: 500;
    }
    &.type_8{
        font-size: 1.4rem;
        font-weight: 500;
        cursor: pointer;
    }
}
.section.section_2{
    padding-top: 40px;
}
.section_content_row{
    &.type_1{
        max-width: 1000px;
        grid-template-columns: 1fr 1.3fr;
        grid-template-rows: repeat(max-content, max-content);
        align-items: stretch;
        border-radius: 10px;
        overflow: hidden;
        border: 4px solid var(--sub3);
        background: var(--white2);
    }
}
.section_content_box{
    &.type_1{
        padding: 40px 30px;
        align-items: flex-start;
        justify-content: center;
        gap: 5px;
        &.box_1{
            border-right: 2px dashed var(--sub3);
        }
        &.box_2{
            align-items: center;
        }
    }
}
.section_form_container{
    max-width: 1000px;
    gap: 40px;
    align-items: center;
}
.content_title_box{
    padding: 20px;
}
.content_title{
    font-size: 2.4rem;
    font-weight: 500;
    color: var(--sub);
}
.content_title_asset{
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: -1;
    opacity: 0.4;
    img{
        width: 100%;
        height: auto;
    }
}
.form{
    align-items: center;
    gap: 10px;
}
.input_row{
    grid-template-columns: 1fr 2.5fr;
    grid-template-rows: repeat(max-content, max-content);
    align-items: flex-start;
    gap: 20px;
}
.input_box{
    align-items: center;
    &.type_1{
        max-width: 400px;
        padding: 15px 0;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
    }
    &.type_3{
        align-items: center;
        align-self: stretch;
        padding: 15px 0;
        gap: 10px;
    }
}
input,textarea{
    padding: 15px 10px;
    font-size: 1.6rem;
    border: none;
}
textarea{
    height: 16rem;
}
.input_alert{
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--white2);
    background: rgb(195, 9, 9);
    white-space: nowrap;
    padding: 0 3px 1px;
}
input.input_3{
    appearance: none;
    -webkit-appearance: none;
    display: block;
    width: 20px;
    height: 20px;
    padding: 0;
    cursor: pointer;
    border: 2px solid var(--black);
    &::before{
        content: "";
        position: absolute;
        width: 6px;
        height: 14px;
        border-bottom: 3px solid var(--sub3);
        border-right: 3px solid var(--sub3);
        transform: scale(0) rotate(45deg);
        right: 4px;
        top: -2px;
        transition: transform ease 0.15s;
    }
    &:checked::before{
        transform: scale(1) rotate(45deg);
    }
}
.submit_button{
    height: 60px;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--sub1);
    background: var(--sub);
    cursor: pointer;
    border-radius: 10px;
}
.submit_text{
    font-size: 1.8rem;
    color: var(--white2);
    font-weight: bold;
}

.error_box{
    padding: 40px;
    align-items: flex-start;
    border: 2px dashed rgb(201, 3, 3);
}
.error_text{
    font-size: 1.4rem;
    font-weight: 500;
    color: rgb(201, 3, 3);
}
@media all and (max-width: 1280px){
    .section_1_asset{
        left: 5%;
    }
}
@media all and (max-width: 960px){
    .section_1_asset{
        left: 0;
    }
}
@media all and (max-width: 768px){
    .section.section_1{
        height: 30lvh;
    }
    .section_1_asset{
        left: -30%;
        height: 50lvh;
    }
    .section_text{
        &.type_2,&.type_6,&.type_7{
            font-size: 1.4rem;
        }
        &.type_5{
            font-size: 2.8rem;
        }
        &.type_7{
            font-weight: bold;
        }
    }
    .section_text_box{
        &.type_1{
            padding: 20px;
        }
    }
    .section_content_row{
        &.type_1{
            grid-template-columns: 1fr 1.2fr;
        }
    }
    .input_row{
        grid-template-columns: 1fr;
        gap: 0;
    }
    .input_box{
        &.type_1{
            max-width: 250px;
        }
        &.type_3{
            padding: 5px 0 20px;
            justify-content: center;
        }
    }
    .form{
        gap: 0;
    }
}
@media all and (max-width: 450px){
    .section_content_row{
        &.type_1{
            grid-template-columns: 1fr;
        }
    }
    .section_content_box{
        &.type_1{
            padding: 20px;
            &.box_1{
                border-right: none;
                border-bottom: 2px dashed var(--sub3);
                align-items: center;
            }
        }
    }
    .section_text{
        &.type_5{
            font-size: 3.2rem;
        }
    }
    .content_title{
        font-size: 2rem;
    }
    .section_text_box{
        &.type_2{
            padding: 20px;
        }
    }
    .section_form_container{
        gap: 20px;
    }
    .section_1_title{
        font-size: 2.4rem;
    }
}
@media (any-hover: hover){
    .submit_text{
        transition: color ease 0.25s;
    }
    .submit_button{
        transition: background ease 0.25s;
        &:hover{
            background: var(--white2);
            .submit_text{
                color: var(--sub);
            }
        }
    }
}
