/* ---------------------------------------
    common
--------------------------------------- */
h2  {
    letter-spacing: 4px;
    text-align: center;
}

h2 img  {
    width: 23px;
}

h2 img.left {
    margin-right: 10px;
}

h2 img.right {
    margin-left: 10px;
}

/* ---------------------------------------
    font
--------------------------------------- */
h2 span.sub {
    display: block;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.4rem;
    color: #50a883;
}

/* ---------------------------------------
    mv
--------------------------------------- */
.mv {
    height: 660px;
}

/* ---------------------------------------
    news
--------------------------------------- */
article.news ul {
    list-style: none;
    max-width: 800px;
    margin: 0 auto;
}

article.news ul li  {
    padding: 16px 20px;
    border-top: 1px solid #ddd;
}

article.news ul li:last-child   {
    border-bottom: 1px solid #ddd;
}

article.news ul li span.title    {
    display: inline-block;
}

article.news ul li span.date    {
    margin-right: 30px;
}

article.news ul li span.category     {
    display: inline-block;
    background-color: #000;
    color: #fff;
    padding: 2px 10px;
    margin-right: 16px;
    width: 130px;
    text-align: center;
}

article.news ul li span.category.news    {
    background-color: #fff;
    color: #3f4344;
    border: 1px solid #3f4344;
}
/* ---------------------------------------
    vision
--------------------------------------- */
article.vision  {
    background-image: url(../img/top/vision_bk.jpg);
    background-size:cover;
    background-position: bottom;
    background-attachment: fixed;
    text-align: center;
    width: 100%;
    height: 680px;
    color: #fff;
    display: flex;
    align-items: center;
}

article.vision section h3   {
    font-size: 2.8rem;
    margin-bottom: 30px;
}

article.vision section p    {
    text-align: left;
    max-width: 850px;
    margin: 0 auto;
}
/* ---------------------------------------
    service
--------------------------------------- */
article.service div {
    display: flex;
    flex-direction: row;
    justify-content: space-around
}

article.service section {
    width: 40%;
}

article.service section img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

article.service section h3  {
    margin: 13px 0 10px;
}
/* ---------------------------------------
    articles
--------------------------------------- */
article.articles    {
    background-color: #f3f5f7;
}

article.articles ul {
    display: flex;
    flex-direction: row;
    justify-content: center;
    list-style: none;
    margin-bottom: 50px;
    width: 100%;
}

article.articles ul li  {
    width: 24%;
    font-weight: bold;
    margin: 0 20px;
}

article.articles ul li img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

article.articles ul li span.ymd {
    display: block;
    font-size: 1.4rem;
    margin: 5px 0;
}
/* ---------------------------------------
    other
--------------------------------------- */
article.other   {
    display: flex;
    flex-direction: row;
    align-items: center;
    overflow: hidden;
}

article.other section   {
    width: 50%;
    padding: 120px 0;
    color: #fff;
    overflow: hidden;
    transition:1s all;
    position: relative;
}

article.other section.recruit::after   {
    position: absolute;
    top: 0;
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background-image: url(../img/top/recruit_bk.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
    transition: all .8s;
    z-index: 1;
}

article.other section.recruit:hover::after  {
    transform:scale(1.2,1.2);
}

article.other section.company::after   {
    position: absolute;
    top: 0;
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background-image: url(../img/top/company_bk.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
    transition: all .8s;
    z-index: 1;
}

article.other section.company:hover::after  {
    transform:scale(1.2,1.2);
}

article.other section h2,
article.other section a    {
    z-index: 2;
    position: relative;
}

article.other section a.btn {
    border: 1px solid #fff;
    color: #fff;
}

/* ---------------------------------------
    animation
--------------------------------------- */
.fadeIn {
    opacity: 0;
    transition: 4s;
}
.fadeIn.is-show {
    opacity: 1;
}

/* ---------------------------------------
    responsive
--------------------------------------- */
@media screen and (min-width: 640px) {
    /* 幅が640px以上の場合 */
    article.articles ul li:first-child {
        margin-left: 0;
    }

    article.articles ul li:last-child {
        margin-right: 0;
    }
}

@media screen and (max-width: 770px) {
    /* ---------------------------------------
        news
    --------------------------------------- */
    article.news ul li span.title   {
        padding: 6px 0;
    }

    article.news ul li span.date    {
        margin-right: 15px;
    }
    /* ---------------------------------------
        other
    --------------------------------------- */
    article.other section   {
        padding: 50px 0;
    }    
}

@media screen and (max-width: 640px) {
    /* ---------------------------------------
        mv
    --------------------------------------- */
    .mv {
        height: calc(100vh - 67px);
    }
    /* ---------------------------------------
        news
    --------------------------------------- */
    article.news ul li  {
        padding: 16px 10px;
    }
    /* ---------------------------------------
        vision
    --------------------------------------- */
    article.vision  {
        height: 1020px;
    }

    article.vision section p    {
        line-height: 1.8;
    }

    /* ---------------------------------------
        service
    --------------------------------------- */
    article.service div {
        flex-direction: column;
    }

    article.service section {
        width: 100%;
        margin-bottom: 40px;
    }

    article.service section:last-child  {
        margin-bottom: 0;
    }

    article.service section h3  {
        font-size: 2.2rem;
        padding: 0 10px;
    }

    article.service section p   {
        padding: 0 10px;
    }
    /* ---------------------------------------
        articles
    --------------------------------------- */
    article.articles ul {
        flex-wrap: wrap;
        margin-bottom: 0;
        justify-content: space-between;
    }

    article.articles ul li  {
        width: 47%;
        margin: 0 0 40px 0;
    }

    article.articles ul li:last-child   {
        margin-bottom: 0;
    }

    article.articles ul li img  {
        height: 170px;
    }
    /* ---------------------------------------
        articles
    --------------------------------------- */
    article.other   {
        flex-direction: column;
    }

    article.other section   {
        width: 100%;
    }

}