@charset "utf-8";

/*Top*/
@keyframes zoomUp {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.15); /* 拡大率 */
  }
}
.add-animation {
  /*animation: zoomUp 10s linear 0s normal both;*/
}
main { text-align: left; }
main h1 {
    line-height: 1;
}
article { position: relative;}

/*FirstView*/
#FirstView {
    width: 100%;
    margin: auto;
    padding: 0 0;
}
#FirstView .video-wrapper {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
  width: 100%;
} 
#FirstView .video-wrapper::before {
    content: "";
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    background-color: rgba(9, 2, 108, 0.15);
} 
#FirstView .video-wrapper video {
    width: 100%; 
    height: 100%;
    object-fit: cover;
    object-position: bottom center;
}
.video-content {
    margin: 0;
    position: absolute; /* 絶対配置 */
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
}
#FirstView .video-content h1 span {
    font-size: 5vw;
    color: #fff;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.125em;
    font-family: "Oswald", sans-serif;
}
.eachTextAnime span{opacity: 0;}
.eachTextAnime.appeartext span{ animation:text_anime_on 1s ease-out forwards; }
@keyframes text_anime_on {
	0% {opacity:0;}
	100% {opacity:1;}
}

/*Introduction*/
#Introduction {
    border-left: solid 1px #004a7a;
}

/*AboutUs*/
#AboutUs h1 {
    line-height: 1.8;
    font-weight: 600;
    margin-bottom: 1em;
}
#AboutUs .AboutUs_contents_wrap {
    width: 85%;
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    position: relative;
}
#AboutUs .AboutUs_contents_wrap .AboutUs_contents {
    display: flex;
    flex-wrap: wrap;
    position: relative;
}
#AboutUs h2 {
    color: #004a7a;
    line-height: 1.25;
    font-weight: 800;
    font-family: "Oswald", sans-serif;
}

/*Service*/
#Service .Service_list {
    display: flex;
    flex-wrap: wrap;
}
#Service .Service_list li {
    overflow: hidden;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    background: #FFFFFF;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}
#Service .Service_list li a {
    display: flex;
    flex-direction: column-reverse;
    color: #222222;
}
#Service .Service_list li a img {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    transition: all .3s ease-out;
}
#Service .Service_list li a .Service_list_detail {
    padding: 2rem;
}
#Service .Service_list li a h2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 1em;
}
#Service .Service_list li a:hover figure img {
    transform: scale(1.05);
}
#Service .Service_list li a:hover .Service_list_detail img {
    transform: translateX(0.5em);
}

/*Works*/
#Works h2 {
    text-align: center;
    color: #004a7a;
    font-weight: 600;
    line-height: 1.2;
}
#Works h2 span {
    font-size: 0.7em;
    font-weight: 400;
    font-family: "Oswald", sans-serif;
}
#Works .Works_list {
    display: flex;
    flex-wrap: wrap;
}


/* -------------------------------------------
MediaQuery
------------------------------------------- */
/*SmartPhone*/
@media screen and (max-width:767px) {
    main h1 { margin-bottom: 1em; }
    
    /*FirstView*/
    #FirstView .video-wrapper {
      aspect-ratio: 1 / 1;
    }    
    #FirstView .video-content h1 span {
        font-size: 8vw;
    }
    
    /*Introduction*/
    #Introduction {
        margin-left: 9%;
        padding-top: 56px;
        padding-bottom: 80px;
    }

    /*AboutUs*/
    #AboutUs .AboutUs_contents_wrap {
        flex-direction: column-reverse;
        padding-bottom: 5rem;
    }
    #AboutUs .AboutUs_contents_wrap .AboutUs_contents {
        margin-top: 3rem;
    }
    #AboutUs h2 {
        font-size: 4rem;
    }

    /*Service*/
    #Service {
        width: 85%;
        margin: auto;
        padding-bottom: 3rem;
    }
    #Service .Service_list li {
        margin-bottom: 3em;
    }

    /*Works*/
    #Works {
        width: 85%;
        margin: auto;
    }
    #Works .Works_list {
        flex-direction: row;
        justify-content: space-between;
        margin-top: 2rem;
        margin-bottom: 2rem;
    }
    #Works .Works_list li {
        width: 48%;
        margin-bottom: 4%;
    }
    
        
}

@media screen and (min-width:768px) and (max-width:1024px) {
    /*FirstView*/
    #FirstView .video-wrapper {
      aspect-ratio: 4 / 3;
    }    
    #FirstView .video-content h1 span {
        font-size: 8vw;
    }
    
    /*Introduction*/
    #Introduction {
        margin-left: 9%;
        padding-top: 56px;
        padding-bottom: 80px;
    }

    /*AboutUs*/
    #AboutUs .AboutUs_contents_wrap {
        flex-direction: column-reverse;
        padding-bottom: 5rem;
    }
    #AboutUs .AboutUs_contents_wrap .AboutUs_contents {
        margin-top: 3rem;
    }
    #AboutUs h2 {
        font-size: 6rem
    }

    /*Service*/
    #Service {
        width: 85%;
        margin: auto;
        padding-bottom: 3rem;
    }
    #Service .Service_list {
        justify-content: space-between;
    }
    #Service .Service_list li {
        width: 48%;
    }
    #Service .Service_list li h2 {
        font-size: 1.25rem;
    }

    /*Works*/
    #Works {
        width: 85%;
        margin: auto;
    }
    #Works .Works_list {
        flex-direction: row;
        margin-top: 2rem;
        margin-bottom: 2rem;
    }
    #Works .Works_list li {
        width: 31%;
        margin-bottom: 3.5%;
        margin-right: 3.5%;
    }
    #Works .Works_list li:nth-of-type(3n) {
        margin-right: 0;
    }
    
        
}
/*Tablet*/
@media screen and (max-width:1024px) {

}

/*Desktop*/
@media screen and (min-width:768px) {
}

@media screen and (min-width:1025px) {
    main { font-size: 0.9rem; }
    #FirstView {
    }
    #FirstView .video-wrapper {
        height: 85vh;
        max-height: 1080px;
    }
    
    /*Introduction*/
    #Introduction {
        margin-left: 9%;
        padding-top: 96px;
        padding-bottom: 128px;
    }

    /*AboutUs*/
    #AboutUs .AboutUs_contents_wrap h1 {
    }
    #AboutUs .AboutUs_contents_wrap {
        flex-direction: row-reverse;
        margin: 0 5%;
        width: 85%;
        max-width: none;
        justify-content:flex-end;
        align-items: center;
        padding-bottom: 160px;
    }
    #AboutUs .AboutUs_contents_wrap .AboutUs_contents {
        width: 49%;
    }
    #AboutUs h2 {
        font-size: 6rem;
        margin-right: 6rem;
    }

    /*Service*/
    #Service {
        width: 85%;
        margin: 0 5%;
        padding-bottom: 96px;
    }
    #Service .Service_list {
        justify-content: space-between;
    }
    #Service .Service_list li {
        width: 48%;
    }
    #Service .Service_list li h2 {
        font-size: 1.5rem;
    }

    /*Works*/
    #Works {
        width: 85%;
        margin: 0 5%;
    }
    #Works .Works_list {
        flex-direction: row;
        margin-top: 3rem;
        margin-bottom: 2rem;
    }
    #Works .Works_list li {
        width: 22%;
        margin-bottom: 4%;
        margin-right: 4%;
    }
    #Works .Works_list li:nth-of-type(4n) {
        margin-right: 0;
    }
    
    

}
