@charset "utf-8";
/* ファーストビュー--------------------------------------------------------------- */
.first-view {
    background-image: url(../img/about/about_mv.jpg);
}
/* --------------------------------------------------------------- */


/*  セクションの大枠--------------------------------------------------------------- */
.section-container {
    display: flex;
    flex-direction: column;
    gap: 200px;

    margin: 200px 0 ;
}

.about-item {
    display: flex;
    align-items: center;

    width: 93%;
}
.right-item {
    justify-content: space-between;
    margin: 0 0 0 auto;
}
.left-item {
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 7%;
    margin: 0 auto 0 0;
}

@media (max-width:800px) {
    .section-container {
        gap: 100px;
        margin: 50px 0;
    }
    .about-item {
        flex-direction: column-reverse;
        width: 100%;
    }
    .right-item,
    .left-item {
        justify-content: flex-start;
        gap: 50px;
        margin: auto;
    }
}
/* --------------------------------------------------------------- */

/* テキストエリア--------------------------------------------------------------- */
.about-item .text-area {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 3rem;

    width: 40%;
    max-width: 407px;
}

.about-item h2 {
    font-family: var(--serif-text);
    font-size: 2.3rem;
    line-height: 1.3; 
}
.about-item .desc {
    line-height: 2;
}

.about-item .link-area {
    display: flex;
    justify-content: space-between;

    border-bottom: .5px solid var(--txt-white);

    font-size: .9rem;
    transition: all .2s;

    margin: 1rem 0 0 0; 
}

.about-item .more {
    font-family: var(--en-text);
    font-size: .8rem;
}

.about-item .more i {
    margin: 0 0 0 1rem;
}

.about-item .link-area:hover {
    color: var(--hover-green);
    border-bottom: .5px solid var(--hover-green);
}
@media(max-width:800px) {
    .about-item .text-area {
        width: 80%;
        max-width: none;
    }

    .about-item h3 {
        font-size: 2rem;
    }
}

@media(max-width:600px) {
    .about-item .text-area {
        gap: 2rem;
    }
    .about-item h3 {
        font-size: 1.5rem;
    }
}
/* --------------------------------------------------------------- */


/* スライダー--------------------------------------------------------------- */
 .infinite-slider {
    width: 55%;
    overflow: hidden;
 }

 .sd-track {
    display: flex;
    gap: 1.5rem;

    width: calc(200%);
    animation: scroll 20s linear infinite;
 }
 .slide {
    flex-shrink: 0;
    width: 25%;
    min-width: 315px;
 }

 .slide img {
    width: 100%;
    height: auto;
    display: block;
 } 

 /* アニメーション */
 @keyframes scroll {
    0%{
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
    
 } 
 @media(max-width:800px) {
    .infinite-slider {
        width: 100%;
    } 
    .slide {
        max-width: 315px;
        min-width: auto;
    }
 }
@media (max-width: 600px){
    .sd-track {
        gap: 1rem;
    }
}

/* --------------------------------------------------------------- */

/* 関連企業--------------------------------------------------------------- */
.groups {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5rem;
}

.group-company-area {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    width: 75%;
}

.groups h3 {
    background: var(--btn-green);
    border-radius: 50px;

    text-align: center;
    line-height: 2;
    font-size: 1.1rem;
}

.company-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.company-item {
    display: flex;
    flex-direction: column;
    gap: 1rem;

    width: 90%;
    margin: 0 auto;

}

.company-item .top {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: flex-end;
    gap: 10%;
}
.company-item .text-area {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 60%;
}
.company-item h4 {
    font-size: 1.25rem;
}

.company-item img {
    max-width: 160px;
    width: 20%;
}

.company-item .bottom {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;

    padding: .5rem;
    
    font-size: .9rem;
    border-bottom: .5px solid var(--txt-white);
    transition: all .2s;
}

.company-item:hover .bottom{
    color: var(--hover-green);
    border-bottom: .5px solid var(--hover-green);
}

@media(max-width:800px) {
    .group-company-area {
        width: 90%;
    }
}

@media(max-width:600px) {
    .company-item .top {
        flex-direction: column-reverse;
        gap: 3rem;
    }
    .company-item .text-area {
        width: 100%;
    }
    .company-item {
        width: 100%;
        padding: .5rem;
    }
    .company-item img {
        width: 30%;
        max-width: 120px;
    }
}
/* --------------------------------------------------------------- */