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

.about{
    padding: 10rem 0;
    border-bottom: solid 0.105rem #D9D9D9;
}

.about_content{
    position: relative;
    padding: 6rem 6rem 13rem;
}

.about_content h2{
    background: #fff;
    font-size: 3.2rem;
    font-weight: 500;
    width: fit-content;
    margin: auto;
    padding: 1.5rem 3rem;
}

.about_inner{
    display: flex;
    gap: 10rem;
    margin-top: 13rem;
}

.about_left{
    flex: 1;
}

.about_left h3{
    font-size: 2.6rem;
    font-weight: 500;
    line-height: 1.9;
    margin-bottom: 7rem;
}

.about_left img{
    width: 40rem;
}

.about_text{
    flex: 1.08;
}

.about_text p{
    line-height: 1.87;
}

.about_deco_top{
    width: 32rem;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.about_deco_bottom{
    width: 32rem;
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: -1;
}


/* philosophy ---------------------------------------------------*/

.philosophy {
    width: 100%;
    padding: 10rem 0;
    position: relative;
    min-height: 100vh;
}

.philosophy.horizontal-scroll-section.pc {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.philosophy.sp{
    display: none;
}

.sticky-wrapper {
    height: 100vh;
    display: flex;
    flex-flow: column;
    justify-content: center;
    position: relative;
}

.philosophy_content{
    display: grid;
    grid-template-columns: 1fr 110rem 1fr;
}

.philosophy_inner{
    grid-column: 2/4;
    display: flex;
    align-items: center;
    gap: 10rem;
}

.philosophy_img{
    flex: 1;
}

.philosophy_img {
    flex: 1;
    position: relative;
    height: 47rem;
}

.philosophy_btn {
    color: var(--mainColor);
    background-color: transparent; 
    font-size: 1.8rem;
    font-weight: 700;
    border: dashed 0.105rem var(--mainColor);
    border-radius: 10rem;
    width: 14rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 0.3rem;
    position: absolute;
    transform: translateX(-50%);
    left: 50%;
    overflow: hidden;
    z-index: 1;
    transition: color 0.5s, border-color 0.5s; 
}

.philosophy_btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    opacity: 1;
    transition: opacity 0.5s;
    z-index: -2;
}

.philosophy_btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #68C69F, #ABD6AF);
    opacity: 0;
    transition: opacity 0.5s;
    z-index: -1;
}

.philosophy_btn1 { 
    top: 20%; 
}

.philosophy_btn2 { 
    top: 50%; transform: translate(-50%, -50%); 
}

.philosophy_btn3 { 
    bottom: 15%; 
}

.philosophy_btn.is-active {
    color: #fff;
    border-color: transparent;
}

.philosophy_btn.is-active::before {
    opacity: 0;
}

.philosophy_btn.is-active::after {
    opacity: 1;
}

.sticky-wrapper > img {
    width: 35vw;
    height: auto;
    max-height: 85vh;
    object-fit: contain;
    flex-shrink: 0;
    padding-left: 5vw;
}

.swiper-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    flex: 1.27;
}

.swiper-wrapper {
    display: flex;
    flex-direction: row;
    gap: 6rem;
    will-change: transform;
}

.swiper-slide {
    flex: 0 0 42rem;
    width: 42rem;
}

.custom-pagination {
    display: flex;
    justify-content: start;
    gap: 1.5rem;
    margin-top: 4rem;
    width: 45%;
}

.pagination-dot {
    width: 0.8rem;
    height: 0.8rem;
    background-color: var(--subColor);
    border-radius: 50%;
    transition: all 0.3s ease;
    display: inline-block;
}

.pagination-dot.is-active {
    background-color: var(--mainColor);
}

.slide-content span{
    color: #fff;
    background: linear-gradient(to right, #68C69F, #ABD6AF);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    display: block;
    text-align: center;
    padding: 1rem;
    border-radius: 10rem;
}

.slide-content h2{
    color: var(--mainColor);
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.7;
    text-align: center;
    padding-bottom: 2rem;
    border-bottom: solid 0.105rem var(--mainColor);
    margin: 3rem 0;
}

.slide-content p{
    line-height: 1.8;
    text-align: justify;
}

.gradation_bg{
    content: "";
    display: block;
    height: 10rem;
    background: linear-gradient(to bottom, var(--mainBg), var(--subBg));
}


/* corporate ---------------------------------------------------*/

.corporate{
    background: var(--subBg);
    padding: 10rem 0;
}

.corporate_content{
    background: #fff;
    padding: 6rem 10rem;
    border-radius: 0.2rem;
}

.corporate_inner{
    display: flex;
    flex-flow: column;
    gap: 2.5rem;
}

.corporate_item{
    display: flex;
    padding: 0 1rem 2.5rem;
    border-bottom: solid 0.105rem var(--subColor);
    line-height: 1.8;
}

.corporate_label{
    color: var(--mainColor);
    font-weight: 500;
    width: 16rem;
    flex-shrink: 0;
}


@media (max-width: 1024px) {
    .about_inner{
        gap: 8rem;
    }

    .about_left h3{
        font-size: 2.2rem;
    }

    .philosophy.pc{
        display: none;
    }

    .philosophy.sp{
        display: block;
        min-height: fit-content;
    }

    .philosophy_content{
        display: flex;
        flex-flow: column;
        gap: 4rem;
    }

    .philosophy_item span{
        color: #fff;
        background: linear-gradient(to right, #68C69F, #ABD6AF);
        font-size: 1.8rem;
        font-weight: 700;
        letter-spacing: 0.03em;
        display: block;
        text-align: center;
        padding: 1rem;
        border-radius: 10rem;
    }

    .philosophy_item h2{
        color: var(--mainColor);
        font-size: 1.8rem;
        font-weight: 700;
        line-height: 1.7;
        text-align: center;
        padding-bottom: 2rem;
        border-bottom: solid 0.105rem var(--mainColor);
        margin: 3rem 0;
    }

    .philosophy_item p{
        font-size: 1.4rem;
        line-height: 1.8;
        text-align: justify;
    }
}


@media (max-width: 767px) {
    .about{
        padding: 6rem 0;
    }

    .about_content{
        padding: 6rem 5% 12rem;
        max-width: 100%;
    }

    .about_content h2{
        background: none;
        font-size: 2.2rem;
        width: 100%;
        display: flex;
        flex-flow: column;
        gap: 1rem;
        padding: 0;
    }

    .about_content h2 span{
        width: fit-content;
        display: block;
        background: #fff;
        padding: 1rem;
    }

    .about_inner{
        flex-flow: column;
        gap: 3rem;
        margin-top: 10rem;
    }

    .about_left h3{
        font-size: 2rem;
        text-align: center;
        margin-bottom: 4rem;
    }

    .about_left img{
        width: 28rem;
        margin: auto;
    }

    .philosophy.sp{
        padding: 6rem 0;
    }

    .philosophy .section_title{
        align-items: start;
    }

    .philosophy_item h2{
        margin: 2rem 0 2.5rem;
    }

    .gradation_bg{
        height: 6rem;
    }

    .corporate{
        padding: 6rem 0;
    }

    .corporate .section_title{
        align-items: start;
        margin-left: 5%;
    }

    .corporate_content{
        padding: 4rem 2rem;
    }

    .corporate_inner{
        gap: 2rem;
    }

    .corporate_item{
        flex-flow: column;
        padding: 0 0 2rem;
    }
}