

img {
    width: 100%;
    max-height: 600px;
}

.h1-box {
    margin: -3em 0 0 0.5em;
}

.fv-top img {
    object-fit: cover;
    max-height: 450px;
}

.fle > p {
    margin: 1em;
    font-size: 1.25em;
    line-height: 1.75;
}

.hed {
    margin: 3em 0.5em;
}

h2 {
    display: inline;
    color: var(--main-color);
    font-size: 32px;
    border-bottom: 2px solid var(--main-color);
}

.a1 {
    display: block;
    width: fit-content;
    background-color: var(--sub-color);
    border: 1px solid var(--main-color);
    padding: 24px 50px 24px 32px;
    font-weight: bold;
    max-width: 250px;
    position: relative;
    color: black;
    text-decoration: none;
    margin: 3em 0;
    border-left: 8px solid var(--main-color);
}

.a1:hover {
    color: white;
    background-color: var(--main-color);
    transition: all 0.5s;
}

.btn-g > a:hover::after {
    color: white;
}

.a2 {
    display: block;
    width: fit-content;
    background-color: var(--sub-color);
    border: 1px solid var(--main-color);
    padding: 24px 65px 24px 32px;
    font-weight: bold;
    max-width: 250px;
    position: relative;
    color: black;
    text-decoration: none;
    margin: 2em 0;
    border-left: 8px solid var(--main-color);
}

.a2:hover {
    color: white;
    background-color: var(--main-color);
    transition: all 0.5s;
}

.btn-g {
    width: fit-content;
    margin: 2em auto;
}

.btn-g > a::after {
    content: url(yz.svg);
    color: black;
    display: block;
    position: absolute;
    top: 24px;
    right: 25px;
}



.a-btn {
    background-image: url(case3.jpg);
    background-size: cover;
}

.b-btn {
    background-image: url(case4.jpg);
    background-size: cover;
}

.comm {
    height: 300px;
    max-width:640px;
    position: relative;
}

.comm:hover{
    filter: brightness(1.5);
}

.comm > a > .case {
    font-weight: bold;
    font-size: 50px;
    width: fit-content;
    height: fit-content;
    margin: auto 0.5em;
    color: var(--sub-color);
    padding-top: 100px;
    position: relative;
    text-shadow:2px 2px 3px black;
}

/*
.test > a::after {
    display: block;
    content: url(yazi.svg);
    transform: scale(0.65);
    position: absolute;
    top: 55%;
    right: -80%;
}
    */

.g > h2 {
    display: block;
    width: fit-content;
    margin: 2em 0.5em 1em 0.5em;
    border-bottom: #010F9E solid 2px; 
}

.inline-blue > span {
    display: inline;
    background-color: #010F9E;
    color: white;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.6;
}

.intor {
    color: var(--sub-color);
    width: fit-content;
    height: fit-content;
    font-size: 1.25em;
    margin: auto 0.5em;
    padding-left: 0.75em;
    text-shadow:2px 2px 3px black;
}

@media(min-width:640px) {
    .b-wr {
        display: flex;
        max-width: 1300px;
        margin: 6em auto;
        justify-content: space-evenly;
        align-items: center;
    }      

    .hed {
        max-width: 510px;
        margin: 0;
    }
    
    .hed >h2 {
        font-size: 2em;
    }

    .btn-g {
        margin: 0 0 0 auto;
    }

    .fle {
        flex-basis: 40%;
    }

    .fle p {
        margin: 0;
    }

    .btn {
        display: flex;
        max-width: 1300px;
        margin: 0 auto;
    }

    .a-btn {
        flex-grow: 1;
    }

    .b-btn {
        flex-grow: 1;
    }

    .b-wr .cs-btn {
        margin: 1em 0;
    }

    .g > h2 {
        font-size: 40px;
        font-weight: bold;
        margin: 1em auto ;
    }
}

@media(min-width:1000px) {
    .comm > a > .case {
        font-size: 4em;
    }
    
    /*
    .test > a::after {
        display: block;
        content: url(yazi.svg);
        transform: scale(0.65);
        position: absolute;
        top: 55%;
        right: -140%;
    }
        */

    .h1-box {
        margin: -3.5em 0 0 3em;
    }

    .h1-box > h1 {
        font-size: 48px;
        width: 690px;
        padding: 10px 5px;
    }


    .hed > h2 {
        font-size: 48px;
         font-weight: bold;
    }

    .g {
        margin: 8em 0;
    }
    
}