
/* CSS Document */

/*==================================================

top-contents
=================================================*/

.top-image {
	width: 100%;
    max-width: 100%;
	position: relative;
    background-color: #000;
    background-image: url("../../images/topimg_bg.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.top-image .arrow {
    width: 65px;
    height: 52px;
    position: absolute;
	left: 50%;
    bottom: 5%;
	-webkit-transform: translate(-50%, 0); 
	transform: translate(-50%, 0);
    z-index: 1;
}
.top-image .arrow .sc {
    width: 100%;
    height: 22px;
    position: absolute;
    background-image: url("../../images/arrow_sc.png");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    left: 0;
    bottom: 0;
    z-index: 1;
    
    animation: arrow .6s ease-in infinite 0s alternate;
}
@keyframes arrow {
  0% {
    bottom: 10px;
  }
  100% {
    bottom: 0;
  }
}
.top-image .arrow .txt {
    width: 100%;
    height: 10px;
    position: absolute;
    background-image: url("../../images/txt_sc.png");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    top: 0;
    left: 0;
    z-index: 1;
    
    animation: arrow-txt 1.2s linear infinite 0s alternate;
}
@keyframes arrow-txt {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.top-image img {
    width: 100%;
	max-width: 100%;
	height: auto;
}
.top-image .head-photo {
    width: 100%;
    max-width: 1600px;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    padding: 80px 0 240px;
}
.top-image .head-photo .photo-l {
    width: 35%;
    max-width: 500px;
    position: relative;
}
.top-image .head-photo .photo-r {
    width: 38.5%;
    max-width: 525px;
    position: relative;
}
.top-image .head-photo .photo-b {
    width: 100%;
    max-width: 500px;
    position: relative;
    clip-path: inset(0 0 100% 0);
    transition: all 0.6s;
}
.top-image .head-photo.loaded .photo-b {
    clip-path: inset(0 0 0 0);
}

.top-image .head-photo .photo-m {
    width: 94%;
    max-width: 490px;
    position: relative;
    margin: 0 0 0 auto;
    clip-path: inset(0 100% 0 0);
    transition: all 0.6s 0.2s;
}

.top-image .head-photo.loaded .photo-m {
    clip-path: inset(0 0 0 0);
}
.top-image .head-photo .photo-r::before {
    content: " ";
	display: block;
    position: absolute;
    width: 4.28%;
    max-width: 21px;
    height: 100%;
    background-image: url("../../images/site_title.png");
    background-position: left top;
    background-repeat: no-repeat;
    background-size: contain;
    top: 0;
    left: 0;
    z-index: 1;
}

.top-image .head-photo .photo-s {
    width: 100%;
    max-width: 380px;
    position: relative;
    margin-top: 22vw;
    clip-path: inset(0 0 0 100%);
    transition: all 0.6s 0.3s;
}
.top-image .head-photo.loaded .photo-s {
    clip-path: inset(0 0 0 0);
}

.top-image .head-photo .over {
    width: 100%;
    height: 100%;
    position: absolute;
    overflow: hidden;
    top: 0;
    left: 0;
    z-index: 1;
}
.top-image .head-photo .photo-b .over {
    clip-path: inset(0 0 100% 0);
}
.top-image .head-photo .photo-m .over {
    clip-path: inset(0 100% 0 0);
}
.top-image .head-photo .photo-s .over {
    clip-path: inset(0 0 0 100%);
}

.top-image .head-photo.loaded .photo-b .over {
    animation: photo-view-b 8s ease-out infinite 3s normal;
}
.top-image .head-photo.loaded .photo-m .over {
    animation: photo-view-m 8s ease-out infinite 3.2s normal;
}
.top-image .head-photo.loaded .photo-s .over {
    animation: photo-view-s 8s ease-out infinite 3.3s normal;
}

@keyframes photo-view-b {
    0% {
        
    }
    33% {
        
    }
    50% {
        clip-path: inset(0 0 100% 0);
    }
    55% {
        clip-path: inset(0 0 0 0);
    }
    95% {
        clip-path: inset(0 0 0 0);
    }
    100% {
        clip-path: inset(100% 0 0 0);
    }
}
@keyframes photo-view-m {
    0% {
        
    }
    33% {
        
    }
    50% {
        clip-path: inset(0 100% 0 0);
    }
    55% {
        clip-path: inset(0 0 0 0);
    }
    95% {
        clip-path: inset(0 0 0 0);
    }
    100% {
        clip-path: inset(0 0 0 100%);
    }
}
@keyframes photo-view-s {
    0% {
        
    }
    33% {
        
    }
    50% {
        clip-path: inset(0 0 0 100%);
    }
    55% {
        clip-path: inset(0 0 0 0);
    }
    95% {
        clip-path: inset(0 0 0 0);
    }
    100% {
        clip-path: inset(0 100% 0 0);
    }
}

@media only screen and (min-width:1400px) {
    
    .top-image .head-photo .photo-s {
        margin-top: 300px;
    }
}

.top-image .txt-sp {
	width: 100%;
    max-width: 1700px;
    position: absolute;
    top: 55%;
    left: 50%;
	-webkit-transform: translate(-50%, -50%); 
	transform: translate(-50%, -50%);
    z-index: 2;
    padding: 0;
}
.top-image .txt-sp .txt-sk {
	width: 100%;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}
.top-image .txt-sp .txt-sk .inner  {
    width: 100%;
    height: 100%;
    position: absolute;
    background-image: url("../../images/title.png");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    clip-path: inset(0 100% 0 0);
    top: 0;
    left: 0;
    z-index: 1;
    
    transition: all 0.8s 1s;
}
.top-image .txt-sp.loaded .txt-sk .inner {
    clip-path: inset(0 0 0 0);
}

.top-image .txt-sp h1 {
    width: 80%;
    color: #FFF;
    font-size: clamp(2rem, 4vw, 4.5rem);
    letter-spacing: .15em;
    margin: 2% 0 0 8%;
}
.top-image .txt-sp h1 strong {
    color: #00fc81;
    font-size: clamp(2.4rem, 5vw, 5.5rem);
}


#top-concept {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}
#top-concept > div {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    margin-top: 80px;
}
#top-concept > div:nth-of-type(even) {
    flex-direction: row-reverse;
}
#top-concept > div .txt {
    width: 45%;
}
#top-concept > div .txt h1 {
    font-size: clamp(1.8rem, 2.6vw, 2.6rem);
}
#top-concept > div .txt h1 span {
    display: block;
    margin-top: 4%;
}
#top-concept > div .txt h1 img {
    width: 100%;
	max-width: 364px;
	height: auto;
}
#top-concept > div .txt p {
    font-size: clamp(1.4rem, 1.7vw, 1.8rem);
    text-align: left;
    line-height: 200%;
    margin-top: 1.6em;
}
#top-concept > div .txt p.nomt {
    margin-top: 0;
}
#top-concept > div .txt p span {
    display: block;
    color: #009081;
}
#top-concept > div .photo {
    width: 50%;
}

#top-concept .button-g {
    margin-top: 60px;
}

#top-concept img {
    width: 100%;
	max-width: 100%;
	height: auto;
}

#top-worker {
    width: 100%;
    background-color: #e1edf2;
    margin: 80px auto 0;
}
#top-worker .inner {
    width: 100%;
    max-width: 1600px;
    position: relative;
    margin: 0 auto;
}
#top-worker .inner .txt {
    width: 50%;
    margin: 0 0 0 auto;
    padding: 8% 5%;
}
#top-worker .inner .txt h1 {
    color: #00c57e;
    font-size: clamp(1.8rem, 2.6vw, 2.6rem);
}
#top-worker .inner .txt h1 span {
    display: block;
    margin-top: 4%;
}
#top-worker .inner .txt p {
    line-height: 220%;
    padding: 5% 0;
}
#top-worker .inner .txt h1 img {
    width: 100%;
	max-width: 485px;
	height: auto;
}
#top-worker .inner .photo {
    width: 50%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}
#top-worker .inner .photo img {
    width: 100%;
	height: 100%;
    object-fit: cover;
    object-position: center center;
}

#top-project {
    width: 100%;
    max-width: 1600px;
    position: relative;
    color: #FFF;
    background: linear-gradient(0deg, #003949, #001208);
    margin: 80px auto 0;
}
#top-project > h1 {
    width: 90%;
    max-width: 620px;
    position: relative;
    text-align: center;
    margin: 0 auto;
    z-index: 2;
    padding-top: 6%;
}
#top-project > h2 {
    width: 90%;
    position: relative;
    text-align: center;
    font-size: clamp(2rem, 5vw, 5rem);
    margin: .4em auto;
    z-index: 2;
}
#top-project > p {
    width: 90%;
    position: relative;
    text-align: center;
    margin: 0 auto;
    z-index: 2;
}
#top-project .inner {
    width: 100%;
    position: relative;
    display: flex;
    flex-flow: row wrap;
    z-index: 2;
}
#top-project .inner .txt {
    width: 50%;
    padding: 5% 6%;
}
#top-project .inner .txt p {
    margin: 5% 0;
}

#top-project .inner-bg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}
#top-project .inner-bg > div {
    width: 50%;
    height: 100%;
    position: absolute;
    overflow: hidden;
    top: 0;
    filter: grayscale(40%) opacity(70%);
    z-index: 1;
    transition: all .2s;
}
#top-project .inner-bg > div:nth-of-type(2) {
    top: 0;
    right: 0;
}
#top-project .inner-bg .photo .in-p {
    width: 100%;
    height: 100%;
    position: absolute;
    background-image: url("../../images/pj_p1.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: auto 110%;
    top: 0;
    z-index: 1;
}
#top-project .inner-bg div:nth-of-type(2) .in-p {
    background-image: url("../../images/pj_p2.jpg");
    background-position: center bottom;
    top: 0;
    right: 0;
}

#top-project .inner-bg.bg1 #bg1 {
    width: 100%;
    filter: grayscale(0%) opacity(100%);
}
#top-project .inner-bg.bg1 #bg2 {
    width: 0;
}

#top-project .inner-bg.bg2 #bg1 {
    width: 0;
}
#top-project .inner-bg.bg2 #bg2 {
    width: 100%;
    filter: grayscale(0%) opacity(100%);
}
#top-project img {
    width: 100%;
	max-width: 100%;
	height: auto;
}

#top-about {
    width: 100%;
    position: relative;
    background-color: #eef3f5;
    margin: 80px auto 0;
}
#top-about h1 {
    width: 90%;
    max-width: 800px;
    color: #00c57e;
    font-size: clamp(1.8rem, 2.6vw, 2.6rem);
    text-align: center;
    line-height: 140%;
    margin: 0 auto;
    padding-top: 60px;
}
#top-about h1 span {
    display: block;
    margin-top: 4%;
}
#top-about h1 img {
    width: 100%;
	max-width: 485px;
	height: auto;
}
#top-about .inner {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    margin: 0 auto;
}
#top-about .inner .txt {
    width: 48%;
    background-color: #FFF;
    margin-top: 60px;
    padding: 5% 4%;
}
#top-about .inner .txt h2 {
    width: 100%;
    max-width: 355px;
    color: #009081;
    font-size: clamp(1.6rem, 2.2vw, 2.2rem);
    text-align: center;
    line-height: 140%;
    margin: 0 auto;
}
#top-about .inner .txt h2 span {
    display: block;
    margin-top: 4%;
}
#top-about .inner .txt p {
    text-align: center;
    padding: 5%;
}
#top-about .inner .txt .button-g {
    margin: 0 auto;
}
#top-about img {
    width: 100%;
	max-width: 100%;
	height: auto;
}

#top-etc {
    width: 100%;
    position: relative;
    background-color: #eef3f5;
    margin: 80px auto 0;
    padding-top: 80px;
}
#top-etc .inner {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    margin: 0 auto;
}
#top-etc .inner .txt {
    width: 48%;
    background-color: #FFF;
    padding: 5% 4%;
}
#top-etc .inner .txt h2 {
    width: 100%;
    max-width: 355px;
    color: #009081;
    font-size: clamp(1.6rem, 2.2vw, 2.2rem);
    text-align: center;
    line-height: 140%;
    margin: 0 auto;
}
#top-etc .inner .txt h2 span {
    display: block;
    margin-top: 4%;
}
#top-etc .inner .txt p {
    text-align: center;
    padding: 5%;
}
#top-etc .inner .txt .icon-b {
    width: 100%;
    max-width: 450px;
    display: block;
    color: #009081;
    font-size: clamp(1.6rem, 2vw, 2rem);
    text-align: center;
    text-decoration: none;
    border: 2px solid #eef3f5;
    background-color: #eef3f5;
    background-image: url("../../images/icon1.png");
    background-position: left 28px center;
    background-repeat: no-repeat;
    background-size: 13.333%;
    border-radius: 60px;
    margin: 0 auto 6%;
    padding: 1.6em 1em;
    
    transition: all 0.3s;
}
#top-etc .inner > div:nth-of-type(1) a:nth-of-type(2) {
    background-image: url("../../images/icon2.png")!important;
     margin: 0 auto;
}
#top-etc .inner > div:nth-of-type(2) a:nth-of-type(1) {
    background-image: url("../../images/icon3.png")!important;
}
#top-etc .inner > div:nth-of-type(2) a:nth-of-type(2) {
    background-image: url("../../images/icon4.png")!important;
     margin: 0 auto;
}
#top-etc .inner .txt .icon-b:hover {
    opacity: 1;
    background-color: #FFF;
}
#top-etc img {
    width: 100%;
	max-width: 100%;
	height: auto;
}

.txt .button-g {
    max-width: 240px;
    font-size: clamp(1.2rem, 1.4vw, 1.4rem);
    margin: 0;
    padding: 1em 1em;
}
.txt .button-g::before {
    height: 1.3em;
    right: 7%;
}

@media only screen and (min-width:1px) and (max-width: 768px) {
	
	.top-image {
        width: 100%;
        overflow: hidden;
	}
    .top-image .head-photo {
        width: 100%;
        max-width: 1600px;
        display: flex;
        flex-flow: row wrap;
        justify-content: space-between;
        align-items: center;
        margin: 0 auto;
        padding: 8% 0 25%;
    }
    .top-image .head-photo .photo-l {
        width: 40%;
    }
    .top-image .head-photo .photo-r {
        width: 42%;
        max-width: 525px;
        position: relative;
    }
    
    #top-concept > div {
        flex-direction: column;
        margin-top: 10%;
    }
    #top-concept > div:nth-of-type(even) {
        flex-direction: column;
    }
    #top-concept > div .txt {
        width: 100%;
    }
    #top-concept > div .txt h1 span {
        display: block;
    }
    #top-concept > div .txt p {
        margin-top: 1.6em;
    }
    #top-concept > div .txt p.nomt {
        margin-top: 0;
    }
    #top-concept > div .txt p span {
        display: inline-block;
        color: #009081;
    }
    #top-concept > div .photo {
        width: 100%;
        margin-top: 6%;
    }

    #top-concept .button-g {
        margin-top: 6%;
    }
    
    #top-worker {
        width: 100%;
        margin: 10% auto 0;
    }
    
    #top-worker .inner .txt {
        width: 100%;
        margin: 0 0 0 auto;
        padding: 10% 5%;
    }
    #top-worker .inner .txt p {
        line-height: 220%;
        padding: 5% 0;
    }
    #top-worker .inner .txt h1 {
        text-align: center;
    }
    #top-worker .inner .txt h1 span {
        display: block;
        margin-top: 4%;
    }
    #top-worker .inner .txt h1 img {
        width: 100%;
        max-width: 300px;
        height: auto;
    }
    #top-worker .inner .photo {
        width: 100%;
        max-height: 300px;
        overflow: hidden;
        height: initial;
        height: auto;
        
        position: relative;
        top: 0;
        left: 0;
        z-index: 1;
    }
    #top-worker .inner .photo img {
        width: 100%;
        height: auto;
        display: block;
        margin-top: -8%;
    }
    
    #top-project {
        margin: 8% auto 0;
    }
    #top-project > h1 {
        padding-top: 8%;
    }
    #top-project > p {
        margin: 0 auto 6%;
        z-index: 2;
    }
    #top-project .inner {
        width: 100%;
        position: relative;
        display: flex;
        flex-flow: row wrap;
        z-index: 2;
    }
    #top-project .inner .txt {
        width: 100%;
        text-align: center;
        padding: 0 5% 6%;
    }
    #top-project .inner .txt p {
        margin: 5% 0;
    }
    #top-project .inner .txt .button-g {
        margin: 0 auto;
    }

    #top-project .inner-bg {
        width: 100%;
        height: 100%;
        position: absolute;
        display: none;
    }
    
    #top-about {
        width: 100%;
        position: relative;
        background-color: #eef3f5;
        margin: 8% auto 0;
    }
    #top-about h1 {
        width: 90%;
        max-width: 800px;
        color: #00c57e;
        font-size: clamp(1.8rem, 2.6vw, 2.6rem);
        text-align: center;
        line-height: 140%;
        margin: 0 auto;
        padding-top: 6%;
    }
    #top-about h1 span {
        display: block;
        margin-top: 4%;
    }
    #top-about h1 img {
        width: 100%;
        max-width: 300px;
        height: auto;
    }
    #top-about .inner {
        width: 100%;
        max-width: 1200px;
        display: block;
        margin: 0 auto;
    }
    #top-about .inner .txt {
        width: 90%;
        background-color: #FFF;
        margin: 6% auto 0;
        padding: 6% 5%;
    }
    #top-about .inner .txt h2 {
        width: 100%;
        margin: 0 auto;
    }
    #top-about .inner .txt h2 span {
        display: block;
        margin-top: 4%;
    }
    #top-about .inner .txt p {
        text-align: center;
        padding: 5%;
    }
    #top-about .inner .txt .button-g {
        margin: 0 auto;
    }
    
    #top-etc {
        width: 100%;
        margin: 8% auto 0;
        padding-top: 8%;
    }
    #top-etc .inner {
        width: 100%;
        max-width: 1200px;
        display: block;
        margin: 0 auto;
    }
    #top-etc .inner .txt {
        width: 90%;
        background-color: #FFF;
        margin: 0 auto 0;
        padding: 6% 5%;
    }
    #top-etc .inner > div:nth-of-type(2) {
        margin-top: 6%;
    }
    #top-etc .inner .txt h2 {
        width: 100%;
        margin: 0 auto;
    }
    #top-etc .inner .txt h2 span {
        display: block;
        margin-top: 4%;
    }
    #top-etc .inner .txt p {
        text-align: center;
        padding: 5%;
    }
    #top-etc .inner .txt .icon-b {
        background-position: left 15px center;
        background-size: 13%;
        padding: 1.2em 1em;

        transition: all 0.3s;
    }
    
}

@media only screen and (min-width:1px) and (max-width: 568px) {
	

}
	
@media only screen and (min-width:1px) and (max-width: 480px) {
	

}

