@charset "utf-8";
/* CSS Document */

img.arrow {
    height: 20px;
    width: auto;
}
.toppic img {
    width: 100%;
}
section {
    padding: 60px 0;
}
section h2.ttl {
    font-size: 20px;
    line-height: 2em;
    letter-spacing: 2px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
}
section h2.ttl:after {
    content: "";
    display: block;
    width: 5em;
    height: 3px;
    margin: 0 auto;
    background: linear-gradient(to right, #009c43, #009c43 50%, #1b5da8 50%);
}
#divs .flex {
    flex-direction: column;
    font-size: 16px;
}
#divs .flex div {
    text-align: center;
    position: relative;
}
#divs .flex div:nth-of-type(n+2) {
    margin-top: 50px;
}
#divs p {
    text-align: left;
    padding: 10px 0 3em;
}
#divs p + a {
    font-weight: 700;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

#news {
    background: #f6f6f6;
}
#news .box {
    background: #fff;
    height: 15em;
    overflow-y: scroll;
}
#news .news-inner {
    padding: 1.5em 3em 1.5em 1.5em;
}
#news .news-inner article {
    flex-direction: column;
}
#news .news-inner article:nth-of-type(n+2) {
    margin-top: 1em;
}
#news .news-inner time {
    color: #3268ad;
}
#news .viewmore {
    margin-top: 40px;
    text-align: center;
}
#news .viewmore a {
    font-weight: 700;
    letter-spacing: 2px;
}
#corpinfo {
    background: center center / cover no-repeat url(../img/top/company-bg-sp.jpg);
}
#corpinfo .flex {
    flex-direction: column;
}
#corpinfo .flex div {
    text-align: center;
}
#corpinfo .flex div:nth-of-type(n+2) {
    margin-top: 30px;
}
#corpinfo a {
    font-weight: 700;
}
#corpinfo a > img {
    width: 60vw;
}
#corpinfo p {
    margin-top: 1em;
    text-align: center;
}
#corpinfo p img.arrow {
    height: 20px;
    width: auto;
}
#recruit h2 + img {
    display: block;
    width: 70vw;
    max-width: 519px;
    margin: 0 auto;
}
#recruit .flex {
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}
#recruit .flex a {
    background: #eaeaea;
    width: 70vw;
    max-width: 300px;
    padding: 1em;
    font-size: 16px;
    font-weight: 700;
    position: relative;
    margin-top: 20px;
}
#recruit .flex a img {
    position: absolute;
    top: 50%;
    right: 1em;
    transform: translateY(-50%);
}
#link {
    background: #f6f6f6;
    
}
#link .flex {
    flex-direction: column;
    align-items: center;
}
#link .flex a {
    width: 50%;
}
#link .flex a:nth-of-type(n+2) {
    margin-top: 20px;
}
@media screen and (min-width: 768px) {
#news .news-inner article {
    flex-direction: row;
}
#news .news-inner time {
    width: 10em;
}
}

@media screen and (min-width: 1024px) {
    section {
        padding: 80px 0;
    }
    main {
        padding-top: 0;
    }
    header {
        background: rgba(255,255,255,0.8);
    }
    section h2.ttl {
        font-size: 30px;
        letter-spacing: 4px;
    }

    #divs .flex {
        flex-direction: row;
        justify-content: space-between;
    }
    #divs .flex > div {
        width: 32%;
        margin-top: 0 !important;
    }
    #corpinfo {
        background: center center / cover no-repeat url(../img/top/company-bg.jpg);
        padding: 100px 0;
    }
    #corpinfo .flex {
        flex-direction: row;
        justify-content: space-between;
        letter-spacing: 2px;
    }
    #corpinfo .flex > div {
        width: 23%;
        margin-top: 0 !important;
    }
    #corpinfo p {
        text-align: left;
    }
    #recruit h2 + img {
        display: block;
        width: 100%;
    }
    #recruit .flex {
        flex-direction: row;
        justify-content: center;
        margin-top: 60px;
    }
    #recruit .flex a {
        margin-top: 0;
        padding: 1.5em 0;
        text-align: center;
    }
    #recruit .flex a:nth-of-type(n+2) {
        margin-left: 20px;
    }
    #recruit .flex a img.arrow {
        position: static;
        top: auto;
        right: auto;
        transform: none;
        display: inline-block;
        vertical-align: middle;
        margin-left: 1em;
    }
    #link .flex {
        flex-direction: row;
        justify-content: center;
    }
    #link .flex > a {
        width: 210px;
    }
    #link .flex > a:nth-of-type(n+2) {
        margin-top: 0;
        margin-left: 50px;
    }
}