main{
    overflow-x: hidden;
}

/* kv ---------------------------------------------------*/

.kv {
    background-image: url(../images/top/kv.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 100vh;
    width: 100%;
}

.kv_inner {
    color: #fff;
    display: flex;
    flex-flow: row-reverse;
    justify-content: center;
    gap: 9rem;
    align-items: start;
    padding-top: 3rem;
}

.kv_inner h1{
    font-size: 6.4rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    padding-top: 7rem;
    display: flex;
    flex-flow: row-reverse;
    gap: 2rem;
}

.kv_inner img{
    width: 45rem;
}

.kv_inner p{
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    padding-top: 7rem;
    padding-left: 6rem;
    display: flex;
    flex-flow: row-reverse;
    gap: 4rem;
}

.kv_inner h1 span,
.kv_inner p span{
    writing-mode: vertical-rl;
    text-orientation: upright;
    -webkit-text-orientation: upright;
    white-space: pre-wrap; 
}


/* about ---------------------------------------------------*/

.about{
    display: flex;
    flex-flow: row-reverse;
    background: var(--subBg);
}

.about_right{
    position: relative;
    flex: 1;
    display: flex;
    flex-flow: column;
}

.about_right_top{
    position: relative;
    padding: 12rem;
    display: flex;
    flex-flow: row-reverse;
    gap: 11rem;
    flex-grow: 1;
}

.about_right_text{
    display: flex;
    flex-flow: row-reverse;
    gap: 3rem;
}

.about_right_text span{
    font-size: 3.2rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    writing-mode: vertical-rl;
    text-orientation: upright;
    -webkit-text-orientation: upright;
    white-space: pre-wrap;
}

.about_right_bottom{
    height: 42rem;
    padding: 3.5rem 9.5rem 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: solid 2rem var(--blue);
    border-right: solid 2rem var(--blue);
    position: relative;
}

.about_right_bottom p{
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.8;
    letter-spacing: 0;
    text-align: justify;
}

.about_right_bottom .more_btn{
    position: absolute;
    bottom: 6rem;
    right: 10rem;
}

.about_right_bottom::after {
    content: "";
    position: absolute;
    left: -2rem;
    top: 0;
    width: 2rem;
    height: 100%;
    background-color: var(--blue);
    z-index: 10;
}

.about_right_bottom::before {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 2rem;
    background-color: var(--blue);
    z-index: 10;
}

.about_right_deco1{
    width: 100%;
    position: absolute;
    right: 0;
    top: 59rem;
}

.about_right_deco2{
    width: 26rem;
    position: absolute;
    right: 0;
    top: 67rem;
}

.about_left{
    flex: 1;
}

.about_left_content{
    position: relative;
}

.about_left_middle{
    height: 40rem;
    position: relative;
    display: flex;
    flex-flow: column;
    align-items: start;
    justify-content: center;
    gap: 2rem;
    padding: 7rem 7rem 7rem 10rem;
    border-top: solid 2rem var(--blue);
    border-right: solid 2rem var(--blue);
    border-left: solid 2rem var(--blue);
}

.about_left_content::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2rem;
    width: 100%;
    height: 2rem;
    background-color: var(--blue);
    z-index: 10;
}

.about_left_middle h3{
    color: var(--blue);
    background: #fff;
    font-size: 2.4rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
}

.about_left_middle p{
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.8;
    text-align: justify;
}

.about_left_deco1{
    width: 12rem;
    position: absolute;
    bottom: -2rem;
    left: 0;
}

.about_left_img1{
    height: 60rem;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.about_left_img2{
    height: 42rem;
    width: 100%;
    object-fit: cover;
    object-position: center;
}


/* partners ---------------------------------------------------*/

.partners{
    padding: 8rem 0 15rem;
    background: var(--subBg);
}

.partners .wrapper{
    position: relative;
}

.partners .section_title{
    position: absolute;
    top: 0;
    left: 0;
}

.partners_inner{
    display: flex;
    flex-flow: column;
    align-items: center;
    gap: 8rem;
    padding-top: 9.5rem;
}

.partners_content{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    font-size: 1.8rem;
    font-weight: 700;
}

.partners_bg{
    width: 82rem;
    position: absolute;
    bottom: 0;
    right: 0;
}

.partners_deco{
    width: 33rem;
    position: absolute;
    bottom: 0;
    left: 0;
}


/* business ---------------------------------------------------*/

.business{
    background: var(--blueBg);
    padding: 8rem 0;
}

.business .wrapper{
    position: relative;
}

.business .section_title{
    position: absolute;
    top: 0;
    right: 0;
}

.business_inner{
    display: flex;
    flex-flow: row-reverse;
    align-items: start;
    justify-content: start;
    gap: 16rem;
}

.business_inner h3{
    color: #fff;
    display: flex;
    flex-flow: row-reverse;
    gap: 4rem;
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    padding-top: 16rem;
}

.business_inner h3 span{
    writing-mode: vertical-rl;
    white-space: pre-wrap;
    white-space: nowrap;
}

.business_inner h3 span:first-child:not(.round_deco) {
    padding-top: 1.5rem;
}

.business_inner h3 span:nth-child(2){
    display: flex;
    align-items: center;
    gap: 1rem;
}

.business_content{
    color: var(--blue);
    background: var(--subBg);
    width: 50rem;
    border: solid 2rem var(--blue);
    border-radius: 0.5rem;
    position: relative;
    padding: 2rem 2rem 4rem;
}

.business_content img{
    width: 100%;
}

.business_content h4{
    color: var(--blue);
    font-size: 3.2rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin: 4rem auto 2rem;
    text-align: center;
}

.business_content p{
    width: 32rem;
    margin: auto;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.8;
}

.business_number{
    color: #fff;
    background: var(--blue);
    font-size: 7rem;
    font-weight: 800;
    height: 10rem;
    width: 10rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.swiper{
    margin: 8rem 0;
}

.swiper .business_content{
    width: auto;
    border: solid 1rem var(--blue);
    padding: 1.5rem 1.5rem 2.5rem;
}

.swiper .business_content h4{
    font-size: 2rem;
    margin: 2.5rem auto 1.5rem;
}

.swiper .business_content p{
    width: 24rem;
    font-size: 1.6rem;
}

.swiper .business_number{
    font-size: 4.6rem;
    height: 6.8rem;
    width: 6.8rem;
    padding-bottom: 0.5rem;
}

.swiper-button-prev,
.swiper-button-next {
    background: none ;
    color: transparent !important;
    height: 6.8rem;
    width: 6.8rem;
}

.swiper-button-next svg, 
.swiper-button-prev svg {
    display: none;
}

.swiper-button-prev::after,
.swiper-button-next::after {
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    content: "";
    display: block;
    height: 6.8rem;
    width: 6.8rem;
}

.swiper-button-prev::after {
    background-image: url('../images/top/swiper_arrow.svg');
    transform: scaleX(-1);
}

.swiper-button-next::after {
    background-image: url('../images/top/swiper_arrow.svg');
}

.swiper-button-disabled{
    opacity: 0!important;
}

.swiper-slide img {
    height: auto;
    width: 100%;
}

.business_top{
    width: 81rem;
    position: absolute;
    top: 0;
    right: 0;
}

.business_center{
    width: 62rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.business_bottom{
    width: 85rem;
    position: absolute;
    bottom: 0;
    left: 0;
}


/* news ---------------------------------------------------*/

.news{
    background: var(--subBg);
    border: solid 2rem var(--blue);
    padding: 8rem 0;
}

.news .wrapper{
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 7.5rem;
}

.news_inner{
    display: flex;
    flex-flow: column;
    gap: 6rem;
    padding-top: 10rem;
    min-width: 80rem;
}

.news_deco{
    width: 27rem;
    position: absolute;
    bottom: 0;
    left: 0;
}


@media (min-width: 1620px) {
    .about_right_top {
        gap: 14rem;
    }

    .about_right_text{
        gap: 4rem;
    }
}

@media (max-width: 1024px) {
    .kv{
        height: 85vh;
    }

    .kv_inner{
        gap: 0;
        padding-top: 20rem;
    }

    .kv_inner h1{
        font-size: 5rem;
    }

    .kv_inner img{
        width: 35rem;
    }

    .kv_inner p{
        font-size: 2rem;
    }

    .about_right_top{
        padding: 10rem 6rem;
        gap: 7rem;
    }

    .about_right_bottom{
        height: 40rem;
        padding: 0 6rem 2rem;
    }

    .about_right_bottom .more_btn{
        right: 6rem;
    }

    .about_right_deco2{
        width: 13rem;
    }

    .about_left_middle{
        padding: 0 6rem;
    }

    .about_left_deco1 {
        width: 10rem;
        left: -1.5rem;
    }

    .about_left_img1{
        height: 40rem;
    }

    .about_left_img2{
        height: 40rem;
    }

    .partners_inner{
        padding-top: 6rem;
    }

    .partners_content{
        flex-flow: column;
    }

    .business_inner {
        gap: 8rem;
    }

    .business_inner h3{
        padding-top: 10rem;
    }

    .business_content{
        width: 40rem;
    }

    .business_top,
    .business_bottom{
        width: 60%;
    }

    .news_inner{
        min-width: auto;
        padding-top: 6rem;
    }

    .news_deco{
        width: 20rem;
    }
}


@media (max-width: 767px) {
    .kv {
        background-image: url(../images/top/sp/kv.jpg);
        height: 90vh;
    }

    .kv_inner {
        gap: 1rem;
        padding-top: 18rem;
    }

    .kv_inner h1{
        font-size: 2.4rem;
        padding-top: 2rem;
        gap: 1rem;
    }

    .kv_inner img{
        width: 14rem;
    }

    .kv_inner p{
        font-size: 1.6rem;
        padding-top: 2rem;
        padding-left: 0;
        gap: 1rem;
    }


    /* about ---------------------------------------------------*/

    .about{
        flex-flow: column;
    }

    .about .section_title{
        writing-mode: vertical-rl;
        white-space: nowrap;
    }

    .about .section_title h2{
        font-size: 2.4rem;
        letter-spacing: 0.6rem;
        padding: 1rem 0.5rem;
    }

    .about .section_title span{
        padding: 0.5em 0.3rem;
    }

    .about_right{
        flex: auto;
        gap: 14rem;
        padding: 6rem 0;
    }

    .about_right_top{
        padding: 0 2rem;
        gap: 7rem;
        flex-grow: 0;
    }

    .about_right_text{
        gap: 2rem;
        padding-top: 4rem;
    }

    .about_right_text span{
        font-size: 2rem;
    }

    .about_right_bottom{
        display: block;
        border: none;
        height: auto;
        padding: 0 0 4rem;
        margin: 0 2rem;
    }

    .about_right_bottom p{
        font-size: 1.6rem;
        line-height: 2.4;
        padding: 0 3rem;
    }

    .about_right_bottom .more_btn{
        bottom: 0;
        right: 0;
    }

    .about_right_bottom::after,
    .about_right_bottom::before {
        display: none;
    }

    .about_right_deco1{
        top: 42rem;
    }

    .about_right_deco2{
        width: 13rem;
        right: -6.5rem;
        top: 36rem;
    }

    .about_left{
        flex: auto;
    }
    
    .about_left_content{
        position: relative;
        overflow: hidden;
    }
    
    .about_left_content::after {
        display: none;
    }
    
    .about_left_middle{
        height: 30rem;
        padding: 0 3rem 1rem;
        border: solid 1rem var(--blue);
    }
    
    .about_left_middle h3{
        padding: 0.5rem;
    }

    .about_left_middle p{
        font-size: 1.6rem;
    }

    .about_left_deco1{
        width: 7rem;
        bottom: -2rem;
        left: -1rem;
    }

    .about_left_img1{
        height: 24rem;
        width: 75%;
        margin-bottom: 4rem;
    }

    .about_left_img2{
        height: 24rem;
    }


    /* partners ---------------------------------------------------*/

    .partners{
        padding: 8rem 0;
    }

    .partners .section_title{
        position: static;
    }

    .partners_inner{
        gap: 8rem;
        padding-top: 0;
        margin-top: 4rem;
    }

    .partners_content{
        font-size: 1.6rem;
        align-items: start;
        gap: 4rem;
    }

    .partners_bg{
        width: 100%;
    }

    .partners_deco{
        width: 11rem;
        top: 2rem;
        bottom: auto;
        left: auto;
        right: 0;
    }


    /* business ---------------------------------------------------*/

    .business .section_title{
        position: static;
    }

    .business_inner{
        flex-flow: column;
        align-items: center;
        gap: 3rem;
    }

    .business_inner h3{
        gap: 3rem;
        font-size: 2.4rem;
        padding: 6rem 0 3rem;
        padding-right: 3rem;
    }
    
    .business_sp{
        display: flex;
        flex-flow: column;
        gap: 3rem;
        margin-bottom: 4rem;
    }

    .business_content{
        width: 100%;
        border: solid 1.5rem var(--blue);
        padding: 1.5rem 1.5rem 2.5rem;
    }

    .business_content h4{
        font-size: 2rem;
        margin: 2.5rem 0;
        padding: 0 1.5rem;
        text-align: left;
    }

    .business_content p{
        width: 100%;
        padding: 0 1.5rem;
        font-size: 1.6rem;
    }

    .business_number{
        font-size: 4.6rem;
        height: 6.8rem;
        width: 6.8rem;
        top: 1rem;
        right: 1rem;
    }

    .swiper{
        display: none;
    }

    .business_top{
        width: 100%;
    }

    .business_center{
        width: 100%;
    }

    .business_bottom{
        width: 100%;
    }


    /* news ---------------------------------------------------*/

    .news{
        border: solid 1rem var(--blue);
    }

    .news .wrapper{
        flex-flow: column;
        justify-content: start;
        gap: 4rem;
    }

    .news_inner{
        gap: 6rem;
        padding-top: 0;
        min-width: auto;
    }

    .news_deco{
        display: none;
    }

}