@charset "utf-8";
/* -------------------------------------------
Common Style
------------------------------------------- */
a { transition: all ease-out .3s; }
main h1 {
    font-size: 1em;
    line-height: 1.4;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column-reverse;
    text-align: center;
}
main h1 span {
    font-size: 2em;
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    color: #006CFF;
}

/*FirstView*/
#FirstView {
    position: relative;
}
#FirstView h1 {
    font-size: 2em;
    line-height: 1.2;
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    color: #006CFF;
}
#FirstView h2 {
    font-weight: 500;
}
#FirstView a.link_btn {
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    padding: 1em 0;
    background: url(../images/icon-arrow01.svg) center right 1em no-repeat;
    background-size: 1.5em;
    color: #004771;
    border: solid 1px #004771;
    justify-content: center;
    transition: all ease-out .3s;
}
#FirstView a.link_btn:hover {
    background-color: #D3F7FF;
    background-position-x: right 0.5em;
}
#FirstView .video-wrapper {
    aspect-ratio: 16 / 9;
    position: absolute;
    top: 0%;
    right: 0%;
    width: 100%;
    height: 100vh;
    z-index: -1;
    opacity: 0.5;
} 
#FirstView .video-wrapper::before {
    content: "";
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    background: linear-gradient(0deg,rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.50) 20%);
} 
#FirstView .video-wrapper video {
    width: 100%; 
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

/*TopService*/
#TopService {
    position: relative;
}
#TopService header {
    position: relative;
    text-shadow: 0 0 10px #000 , 0 0 15px #000;
}
#TopService header h1 {
    text-align: left;
    color: #ffffff;
    position: absolute;
}
#TopService header h2 {
    color: #ffffff;
    position: absolute;
    line-height: 1.5;
}
#TopService header h1 span {
    color: #FFFFFF;
}
#TopService header ul {
    z-index: -1;
}
#TopService article ul {
    display: flex;
    flex-wrap: wrap;
}
#TopService article ul li a {
    box-sizing: border-box;
    position: relative;
}
#TopService article ul li a figure {
    position: relative;
    z-index: -1;
}
#TopService article ul li a .text_box {
    position: absolute;
    color: #FFFFFF;
    border: solid 2px #FFF;
    padding: 1em 1em 1.25em;
    font-size: 1.25em;
    font-weight: 500;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    width: 60%;
    text-align: center;
    transition: all ease-out .3s
}
#TopService article ul li:nth-last-of-type(1) a .text_box {
    padding: 1em 1em 1em;
}
#TopService article ul li a:hover .text_box {
    color: #222222;
    background: rgba(255,255,255,0.65);
    border-color: rgba(255,255,255,0.0);
}
#TopService article ul li a .text_box .detail_btn {
    position: absolute;
    display: block;
    line-height: 1;
    padding: 0.5em 1em;
    text-align: center;
    background: #FFFFFF;
    color: #006CFF;
    font-size: 0.7em;
    font-weight: 300;
    left: 50%;
    top: 5em;
    transform: translateX(-50%);
    border-radius: 2em;
    transition: all ease-out .3s
}
#TopService article ul li a:hover .text_box .detail_btn {
    background: #006CFF;
    color: #FFFFFF;
}

/*TopWorks*/
#TopWorks {
    position: relative;
}
#TopWorks h2 {
    text-align: center;
    font-weight: 500;
}
#TopWorks ul {
    display: flex;
    flex-wrap: wrap;
}
#TopWorks ul li {
    box-sizing: border-box;
    text-align: center;
}
#TopWorks ul li h3 {
    text-align: center;
    padding: 0 0.5em 0.25em;
    border-bottom: solid 2px #222222;
    margin-bottom: 1em;
    display: inline-block;
    font-weight: 500
}
#TopWorks ul li .works_info {
    display: flex;
    flex-direction: column-reverse;
    margin: 1em 2em 0.5em;
    text-align: left
}
#TopWorks ul li .works_info .works_tag {
    font-size: 0.75em;
}
#TopWorks ul li .works_info .works_tag span {
    display: inline-block;
    line-height: 1;
    padding: 0.25em 0.5em;
    margin-right: 0.5em
}
#TopWorks a.link_btn {
    font-size: 0.85em;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    padding: 0.25em;
    background: url(../images/icon-arrow01.svg) center right 1em no-repeat;
    background-size: 1.5em;
    color: #004771;
    border: solid 1px #004771;
    justify-content: center;
    transition: all ease-out .3s;
    margin: 0 2em;
}
#TopWorks a.link_btn:hover {
    background-color: #D3F7FF;
    background-position-x: right 0.5em;
}

/*Woks_detail*/
.hide-area {
	display: none;
}
.modaal-content-container {
    display: flex;
    flex-wrap: wrap;
}
.modaal-content-container h3 {
    width: 100%;
    margin-bottom: 1em;
}
.modaal-content-container figure {
    display: flex;
    flex-wrap: wrap;
}
.modaal-content-container figure figcaption dl {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start
}
.modaal-content-container figure figcaption dl dt {
    box-sizing: border-box;
    width: 7em;
    text-align: center;
    background: #f5f5f5;
    padding: 0.25em 1em;
    border-radius: 3px;
    font-weight: 400;
    border-bottom: solid 1px #BBB;
}
.modaal-content-container figure figcaption dl dd {
    box-sizing: border-box;
    width: calc(100% - 7em);
    padding: 0.25em 0 0.25em 1.5em;
    margin-bottom: 1.5em;
    border-bottom: solid 1px #BBB;
}
.modaal-content-container .main-img {
    width: 100%;
    height: auto;
    margin-bottom: 1.5em;
    display: block;
}
.modaal-content-container .sub-img {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

/*TopRecruit*/
#TopRecruit {
    position: relative;
    display: flex;
    flex-wrap: wrap;
}
#TopRecruit h1 {
    text-align: left
}
#TopRecruit h2 {
    font-weight: 500;
    margin: 2em 0 1em;
}

#TopRecruit a.link_btn {
    box-sizing: border-box;
    display: inline-flex;
    flex-wrap: wrap;
    padding: 0.5em 3em 0.5em 1em;
    background: url(../images/icon-arrow02.svg) center right 1em no-repeat #004771;
    background-size: 1.25em;
    color: #ffffff;
    border: solid 1px #004771;
    justify-content: center;
    transition: all ease-out .3s;
    border-radius: 2em;
}
#TopRecruit a.link_btn:hover {
    color: #004771;
    background-color: #ffffff;
    background: url(../images/icon-arrow01.svg) center right 1em no-repeat;
    background-size: 1.25em;
    background-position-x: right 0.5em;
}

/*TopNews*/
#TopNews {
    background: #F3F4F5;
}
#TopNews header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between
}
#TopNews header h1 {
    flex-direction: row-reverse;
    align-items: center;
}
#TopNews header h1 span {
    font-weight: 400;
    color: #222222;
    margin-right: 0.5em;
}
#TopNews a.link_btn {
    font-size: 0.85em;
    box-sizing: border-box;
    display: inline-flex;
    flex-wrap: wrap;
    padding: 0.5em 3em 0.5em 1em;
    background: url(../images/icon-arrow03.svg) center right 1em no-repeat #ffffff;
    background-size: 1.25em;
    color: #222222;
    justify-content: center;
    transition: all ease-out .3s;
    border-radius: 2em;
}
#TopNews a.link_btn:hover {
    color: #222222;
    background-color: #dddddd;
    background-position-x: right 0.5em;
}
#TopNews dl {
    display: flex;
    flex-wrap: wrap;
}
#TopNews dl dt {
    font-size: 0.85em;
    width: 6em;
    color: #777777;
    padding: 1rem 0 1em 1em;
    border-bottom: dotted 1px #707070;
}
#TopNews dl dd {
    width: calc(100% - 7em);
    border-bottom: dotted 1px #707070;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
}
#TopNews dl a {
    box-sizing: border-box;
    display: block;
    padding: 0.5em 4em 0.5em 1em;
    background: url(../images/icon-arrow03.svg) center right 1em no-repeat;
    background-size: 1.25em;
    color: #222222;
    transition: all ease-out .3s;
}
#TopNews dl a:hover {
    background-position-x: right 0.5em;
    color: #888888;
}
#TopNews dl span {
    box-sizing: border-box;
    display: block;
    padding: 0.5em 4em 0.5em 1em;
}


/* -------------------------------------------
MediaQuery
------------------------------------------- */
/*SmartPhone*/
@media screen and (max-width:767px) {
    .sp_elm { display: block; }
    .pc_elm { display: none; }
    
    /*FirstView*/
    #FirstView {
        position: relative;
        width: 100%;
        overflow: hidden;
        margin-bottom: 96px;
        background: url(../images/webp/firstview-sp.webp) no-repeat top center;
        background-size: contain;
    }
    #FirstView h1 {
        font-size: 3em;
        position: relative;
        top: 48px;
        left: 6%;
    }
    #FirstView .upper_contents {
        position: relative;
        top: 48px;
        left: 6%;
    }
    #FirstView .upper_contents h2 {
        line-height: 1.4;
        margin: 1rem 0;
    }
    #FirstView .upper_contents p {
        width: 60%
    }
    #FirstView .lower_contents {
        margin: 38vw 6% 0;
        display: flex;
        flex-direction: column-reverse;
    }
    #FirstView .lower_contents h2 {
        margin-bottom: 1em;
        margin-top: 0;
    }
    #FirstView .lower_contents h3 {
        font-size: 1.5em;
        font-weight: 500;
        margin-bottom: 1rem;
    }
    #FirstView .lower_contents ul {
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        margin-top: 2em;
        justify-content: space-between;
    }
    #FirstView .lower_contents ul li {
        width: 48%;
        margin-bottom: 1em;
    }
    #FirstView .lower_contents .picture_box {
        margin-top: 0;
        margin-bottom: 3em
    }
    #FirstView .lower_contents .picture_box img {
        width: 165%;
        max-width: none;
        transform: translateX(-14%)
    }
    
    /*TopService*/
    #TopService {
        position: relative;
        margin-bottom: 128px;
    }
    #TopService header h1 {
        position: absolute;
        left: 6%;
        top: 64px;
    }
    #TopService header h2 {
        font-size: 1.75em;
        font-weight: 600;
        position: absolute;
        left: 6%;
        top: 160px;
    }
    #TopService article ul li {
        margin-top: 2px;
    }
    #TopService article ul li a .text_box {
        position: absolute;
        color: #FFFFFF;
        border: solid 2px #FFF;
        padding: 1em 1em 1.25em;
        font-size: 1.25em;
        font-weight: 500;
        left: 15vw;
        top: 7vw;
        transform: translate(-0%,-0%);
        width: 60vw;
        text-align: center;
        transition: all ease-out .3s
    }
    
    /*TopWorks*/
    #TopWorks {
        position: relative;
        margin-bottom: 96px;
    }
    #TopWorks header {
        margin-bottom: 32px;
    }
    #TopWorks header h1 {
        margin-bottom: 2em;
    }
    #TopWorks header h2 {
        font-size: 1.25em;
        font-weight: 600;
    }
    #TopWorks ul {
        flex-direction: row;
        flex-wrap: wrap;
        margin: 0 1% 0;
        justify-content: space-between;
    }
    #TopWorks ul li {
        width: 49.5%;
        margin-bottom: 2em;
    }
    #TopWorks ul li .works_info {
        margin: 1em 1em 0.5em;
    }
    #TopWorks ul li .works_info h4 {
        margin-top: 0.5em;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    #TopWorks ul li .link_btn {
        line-height: 1.25;
        font-size: 0.75em;
        text-align: left;
        justify-content: flex-start;
        padding: 0.5em 3em 0.5em 1.5em;
    }
    
    /*Woks_detail*/
    .modaal-content-container {
        flex-direction: column;
    }
    .modaal-content-container h3 {
        font-size: 1.5em;
    }
    .modaal-content-container figure {
        flex-direction: column-reverse;
    }
    .modaal-content-container .sub-img {
        flex-direction: row;
        justify-content: space-between;
        margin-bottom: 2em;
    }
    .modaal-content-container .sub-img li {
        width: 48%;
        margin-bottom: 4%
    }    
    /*TopRecruit*/
    #TopRecruit {
        position: relative;
        background: #E5FFFF;
        display: flex;
        flex-wrap: wrap;
        flex-direction: column-reverse;
        padding-bottom: 64px;
    }
    #TopRecruit header {
        position: absolute;
        top: 64px;
        left: 6%;
    }
    #TopRecruit .contents_box,#TopRecruit .picture_box {
        margin: 0 6%;
    }
    #TopRecruit .contents_box h2 {
        font-size: 5.9vw;
        font-weight: 500;
    }
    #TopRecruit .contents_box p.btn {
        text-align: center;
        margin-top: 3em;
    }
    #TopRecruit .picture_box {
        margin-top: 176px
    }
    
    /*TopNews*/
    #TopNews {
        position: relative;
        padding: 64px 6%;
    }
    #TopNews header {
        margin-bottom: 2em
    }
 
}

@media screen and (min-width:768px) and (max-width:1024px) {
    /*FirstView*/
    #FirstView {
        position: relative;
        width: 100%;
        overflow: hidden;
        margin-bottom: 96px;
        background: url(../images/webp/firstview-pc.webp) no-repeat top -15vh center;
        background-size: 280%;
    }
    #FirstView h1 {
        font-size: 3em;
        position: relative;
        top: 48px;
        left: 6%;
    }
    #FirstView .upper_contents {
        position: relative;
        top: 48px;
        left: 6%;
    }
    #FirstView .lower_contents {
        margin: 30vw 6% 0;
        display: flex;
        flex-direction: column-reverse;
    }
    #FirstView .lower_contents h2 {
        margin-bottom: 1em;
        margin-top: 3em;
    }
    #FirstView .lower_contents h3 {
        font-size: 1.5em;
        font-weight: 500;
        margin-bottom: 1rem;
    }
    #FirstView .lower_contents ul {
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        margin-top: 2em;
        justify-content: space-between;
    }
    #FirstView .lower_contents ul li {
        width: 48%;
        margin-bottom: 1em;
    }
    #FirstView .lower_contents .picture_box {
        margin-top: 0;
        margin-bottom: 0;
    }
    #FirstView .lower_contents .picture_box img {
        width: 150%;
        max-width: none;
        transform: translateX(-8%)
    }
    
    /*TopService*/
    #TopService {
        position: relative;
        margin-bottom: 128px;
    }
    #TopService header {
        height: 50vh;
        overflow: hidden;
        margin-bottom: 0.2%;
    }
    #TopService header h1 {
        position: absolute;
        left: 6%;
        top: 64px;
    }
    #TopService header h2 {
        font-size: 1.75em;
        font-weight: 600;
        position: absolute;
        left: 6%;
        top: 160px;
    }
    #TopService article ul {
        justify-content: space-between;
    }
    #TopService article ul li {
        width: 33%;
    }
    #TopService article ul li:nth-of-type(2) {
        border-left:  solid 2px #FFF;
        border-right:  solid 2px #FFF;
    }
    #TopService article ul li a .text_box {
        font-size: 1em;
    }
    
    
    /*TopWorks*/
    #TopWorks {
        position: relative;
        margin-bottom: 96px;
    }
    #TopWorks header {
        margin-bottom: 32px;
    }
    #TopWorks header h1 {
        margin-bottom: 2em;
    }
    #TopWorks header h2 {
        font-size: 1.25em;
        font-weight: 600;
    }
    #TopWorks ul {
        flex-direction: row;
        flex-wrap: wrap;
        margin: 0 1% 0;
        justify-content: center;
    }
    #TopWorks ul li {
        width: 24.25%;
        margin-bottom: 3em;
        margin-right: 1%;
        font-size: 0.85em;
    }
    #TopWorks ul li:nth-of-type(4n) {
        margin-right: 0;
    }
    #TopWorks ul li .link_btn {
        padding-left: 1em;
        font-size: 0.75em;
        text-align: left;
        justify-content: flex-start;
    }
    
    /*Woks_detail*/
    .modaal-content-container {
        flex-direction: column;
    }
    .modaal-content-container h3 {
        font-size: 1.75em;
    }
    .modaal-content-container figure {
        flex-direction: column-reverse;
    }
    .modaal-content-container .main-img img {
        width: 100%;
    }
    .modaal-content-container .sub-img {
        flex-direction: row;
        margin-bottom: 1em;
    }
    .modaal-content-container .sub-img li {
        width: 31%;
        margin: 0 3.5% 3.5% 0; 
    }
    .modaal-content-container .sub-img li:nth-of-type(3n) {
        margin-right: 0;
    }    
    /*TopRecruit*/
    #TopRecruit {
        position: relative;
        background: #E5FFFF;
        display: flex;
        flex-wrap: wrap;
        flex-direction: column-reverse;
        padding-bottom: 64px;
    }
    #TopRecruit header {
        position: absolute;
        top: 64px;
        left: 6%;
    }
    #TopRecruit .contents_box,#TopRecruit .picture_box {
        margin: 0 6%;
    }
    #TopRecruit .contents_box h2 {
        font-size: 1.75em;
        font-weight: 500;
    }
    #TopRecruit .contents_box p.btn {
        text-align: center;
        margin-top: 3em;
    }
    #TopRecruit .picture_box {
        margin-top: 176px
    }
    
    /*TopNews*/
    #TopNews {
        position: relative;
        padding: 64px 6%;
    }
    #TopNews header {
        margin-bottom: 2em
    }


}

/*Tablet*/
@media screen and (max-width:1024px) {
}

/*Desktop*/
@media screen and (min-width:768px) {
    .sp_elm { display: none; }
    .pc_elm { display: block; }

}

@media screen and (min-width:1025px) {
    .sp_elm { display: none; }
    .pc_elm { display: block; }
    
    /*FirstView*/
    #FirstView {
        position: relative;
        width: 100%;
        margin-bottom: 96px;
        overflow-x: hidden;
        background: url('../images/firstview-pc.svg') top 50% right 10%;
        background-size: 180%;
    }
    #FirstView h1 {
        font-size: 4em;
        position: relative;
        top: 48px;
        left: 6%;
    }
    #FirstView .upper_contents {
        position: relative;
        top: 48px;
        left: 6%;
    }
    #FirstView .upper_contents h2 {
        font-size: 2em;
        line-height: 1.4;
        margin: 1rem 0;
    }
    #FirstView .upper_contents p {
        width: 60%;
        font-size: 1.25em;
    }
    #FirstView .lower_contents {
        margin: 250px 6% 0;
        display: flex;
        flex-direction: row-reverse;
        justify-content: space-between;
        align-items: flex-end;
        width: 88%;
    }
    #FirstView .lower_contents h2 {
        margin-bottom: 1em;
        margin-top: 7em;
    }
    #FirstView .lower_contents h3 {
        font-size: 1.5em;
        font-weight: 500;
        margin-bottom: 1rem;
    }
    #FirstView .lower_contents ul {
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        margin-top: 2em;
        justify-content: space-between;
    }
    #FirstView .lower_contents ul li {
        width: 48%;
        margin-bottom: 1em;
    }
    #FirstView .lower_contents .picture_box {
        transform-origin: top center;
        transform: translateX(-10%);
        max-width: 640px;
    }
    
    /*TopService*/
    #TopService {
        position: relative;
        margin-bottom: 128px;
    }
    #TopService header {
        overflow: hidden;
        margin-bottom: 0.2%;
    }
    #TopService header h1 {
        position: absolute;
        left: 6%;
        top: 64px;
    }
    #TopService header h2 {
        font-size: 1.75em;
        font-weight: 600;
        position: absolute;
        left: 6%;
        top: 160px;
    }
    #TopService article ul {
        justify-content: space-between;
    }
    #TopService article ul li {
        width: 33.2%;
    }
    #TopService article ul li:nth-of-type(2) {
        border-left:  solid 2px #FFF;
        border-right:  solid 2px #FFF;
    }
    #TopService article ul li a .text_box {
        box-sizing: border-box;
        position: absolute;
        color: #FFFFFF;
        border: solid 2px #FFF;
        padding: 1em 1em 1.25em;
        font-size: 1.25em;
        font-weight: 500;
        left: 6.7vw;
        top: 7.5vw;
        transform: translate(-0%,-0%);
        width: 19.8vw;
        text-align: center;
        transition: all ease-out .3s
    }
    
    /*TopWorks*/
    #TopWorks {
        position: relative;
        margin-bottom: 96px;
    }
    #TopWorks header {
        margin-bottom: 32px;
    }
    #TopWorks header h1 {
        margin-bottom: 3em;
    }
    #TopWorks header h2 {
        font-size: 1.75em;
        font-weight: 600;
    }
    #TopWorks ul {
        flex-direction: row;
        flex-wrap: wrap;
        margin: 0 6% 0;
        justify-content: center;
    }
    #TopWorks ul li {
        width: 24.25%;
        margin-bottom: 3em;
        margin-right: 1%;
    }
    #TopWorks ul li:nth-of-type(4n) {
        margin-right: 0;
    }
    #TopWorks ul li .link_btn {
        padding-left: 1em;
        font-size: 0.75em;
        text-align: left;
        justify-content: flex-start;
    }
    
    /*Woks_detail*/
    .modaal-content-container {
        flex-direction: row;
    }
    .modaal-content-container h3 {
        font-size: 1.75em;
    }
    .modaal-content-container figure {
        width: 100%;
        flex-direction: row-reverse;
        justify-content: space-between
    }
    .modaal-content-container figure figcaption {
        width: 48%;
    }
    .modaal-content-container figure .pictarea {
        width: 48%;
    }
    .modaal-content-container .main-img img {
        width: 100%;
    }
    .modaal-content-container .sub-img {
        flex-direction: row;
        margin-bottom: 1em;
    }
    .modaal-content-container .sub-img li {
        width: 22.75%;
        margin: 0 3% 3% 0; 
    }
    .modaal-content-container .sub-img li:nth-of-type(4n) {
        margin-right: 0;
    }
    
    /*TopRecruit*/
    #TopRecruit {
        position: relative;
        background: #E5FFFF;
        display: flex;
        flex-wrap: wrap;
        flex-direction: row-reverse;
        padding-bottom: 118px;
        justify-content: space-between;
    }
    #TopRecruit header {
        position: absolute;
        top: 128px;
        left: 56%;
    }
    #TopRecruit .contents_box {
        margin: 0 6% 0 0;
        width: 38%;
        position: relative;
        top: 160px
    }
    #TopRecruit .picture_box {
        margin: 0 0 0 6%;
        width: 45%;
    }
    #TopRecruit .contents_box h2 {
        font-size: 1.75em;
        font-weight: 500;
    }
    #TopRecruit .contents_box p.btn {
        text-align: left;
        margin-top: 3em;
    }
    #TopRecruit .picture_box {
        margin-top: 118px
    }
    
    /*TopNews*/
    #TopNews {
        margin: 128px 10%;
        position: relative;
        padding: 64px 6%;
    }
    
    #TopNews header {
        margin-bottom: 2em
    }
}

