@charset "UTF-8";
/*main-page css*/
/* --hero image--*/
.hero-image{
    background-image: url(../images/top/main-img1.jpg);
    background-size: cover;
    background-position: center center;
    height: 650px;
}
.hero-copy{
    width: 85px;
    height: 650px;
    float: right;
    margin: 0 100px 0 auto;
    padding: 45px 14px 0 0;
    -webkit-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    -o-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
    background-color:rgba(255,255,255,0.5)
}
.copy-t{
    font-size: 2.2rem;
    letter-spacing: 0.5em;
    line-height: 1.5em;
}
/* --news-- */
.news-unit p{
    color: black;
}
.news-unit a{
    display: flex;
    border-bottom: solid 1px #707070;
    padding: 10px 0 10px;
    align-items: center;  
}
figure{
    width: 30%;
    text-align: center;
}
figure img{
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
}
.news-text{
    width: 100%;
    display: flex;
    justify-content: space-between;
}
.index{
    display: flex;
}
.news2{
    width: auto;
    padding: 0 10px;
}
.news3{
    width: 80%;
    padding-left: 10px;
}
.news4{
    display: flex;
}
.list-text {
    text-align: right;
    padding: 20px 0 40px;
}
.news-a:hover{
    background-color: #ebedf2;
}
.text-a:hover span{
    color: #496499;
}
/* --work&product--*/
.seconder{
    max-width: 960px;
    margin: 80px auto 100px;
}
.common{
    display: flex;
    justify-content: space-between;
    margin-bottom: 100px;
}
.common-list{
    position: relative;
    width: calc(50% - 20px);
    overflow: hidden;
}
.square{
    position: relative;
    margin: 0 auto;
    overflow: hidden;
}
.square::before{
    content: "";
    position: absolute;
    z-index: 1;
    width: 60%;
    height: 100%;
    background-color: rgba(41,56,85,0.8);
    transform: skewX(27deg);
    transform-origin: 100% 100%
}
.common-a {
    display: flex;
}
.common-a:hover{
    opacity: 0.8;
}
.common-img{
    width: 100%;
    height: 100%;
}
.common-title{
    position: absolute;
    top:45%;
    left:17px;
    color: #fff;
    font-size: 2.8rem;
    z-index: 2;
}
.common-p{
    position: absolute;
    top: 80%;
    left: 20px;
    display: flex;
    z-index: 2;
}
.common-icon{
    position: absolute;
    left: 112px
}

/*ｓｐスタイル*/
/*960以下*/
@media screen and (min-width:768px) and (max-width:960px){
    
    .seconder{
        padding: 0 20px;
    }
    .common {
        padding: 20px 0;
    }
}
    
@media screen and (max-width: 768px) {
     .hero-image{
        width: 100%;
        height: 400px;
    }
    .hero-copy{
        width: 62px;
        height: 400px;
        margin: 0 20px 0 auto;
        padding-top: 10px;
    }
    .copy-t{
        font-size: 1.6rem;
        letter-spacing: 0.5em;
    }
    figure {
        width: 60%;
    }
    .news3{
        width: 100%;
    }
    .news4{
        align-items: center;
    }
    .news4 span{
        display: none;
    }
    .index{
        display: block;
        width: 100%;
    }
    .list-text{
        padding-right: 20px;
    }
    .common-title{
        font-size: 2rem;
        left:15px;
    }
    .common{
        display: block;
    }
    .common-list {
        width: calc(100% - 50px);
        margin: 0 25px 30px;
    }
    .common-p{
      top: 70%;  
    }
    .seconder {
        margin: 50px auto 50px;
    }
}