@charset "utf-8";

/* ==================================================================
	index.css
	
=================================================================== */

/* --------------------------------
   □ intro
--------------------------------*/
#intro {
    max-width: 808px;
    margin-bottom: 120px;
}

#intro .flexbox {
/*  margin-bottom: 100px; */
}

#intro h2.title {
    writing-mode: vertical-rl;    
    font-size: 181.25%;
    letter-spacing: 0.3em;
    line-height: 1.8;
    margin-bottom: 0;
}

#intro .readtxt {
    max-width: 605px;
    letter-spacing: 0.03em;
}

#intro .readtxt p {
    font-size: 93.75%;
    line-height: 2;
    margin-bottom: 2em;
}

    #intro .readtxt p:last-child {
        margin-bottom: 0;
    }

#intro .movie {
    margin-bottom: 0;
}

/* --------------------------------
   □ works
--------------------------------*/
#works {
    margin-bottom: 90px;
    overflow: hidden;
}

#works .swiper-container {
    margin: 0 calc(50% - 50vw);
    padding: 0 calc(50vw - 50%);
}

#works .swiper-wrapper {
    
}

#works .swiper-slide {
	position: relative;
}

#works .swiper-slide a{
    display: block;        
    margin: auto;
    color: #fff;
}

#works .swiper-slide .image {
	margin-bottom: 20px;
}

#works .swiper-slide .image img{
    width: 100%;   
    height: auto;
    object-fit: cover;
    max-height: 400px;
}

#works .swiper-slide .caption {
    text-align: left;
    position: relative;
    padding-left: 40px;
}

    #works .swiper-slide .caption:before {
        content:"";
        display: inline-block;
        width: 1px;
        height: calc(100% + 50px);
        background-color: #fff;
        position: absolute;
        bottom: 0px;
        left: 20px;        
    }

#works .swiper-slide .caption dl {
}

#works .swiper-slide .caption dt {
    margin-bottom: 12px;
}

#works .swiper-slide .caption dd {
    font-size: 87.5%;
}

#works .swiper-button-prev, 
#works .swiper-button-next {
    position: static;
    width: 17px;
    height: 30px;
    display: inline-block;
    transition: 1.5s all;    
    margin-top: 85px;
}

    #works .swiper-button-prev:hover, 
    #works .swiper-button-next:hover {
         transform: scale(1.2,1.2);
         transition: 0.5s all;
    }

#works .swiper-button-prev{
    background: url("../../images/common/prev.svg") no-repeat;    
    margin-right: 33px;
}

#works .swiper-button-next{
    background: url("../../images/common/next.svg") no-repeat;
}

#works .swiper-container .swiper-pagination{
    display: none;            
}

#works .buttonStyle.viewAll {
    display: inline-block;
    float: right;
    margin-top: 65px;
}

/* --------------------------------
   □ service
-------------------------------- */
#service {
    margin-bottom: 146px;
}

#service .box{
    margin-bottom: 40px;
}

#service a {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    max-width: 100%;
    height: 280px;
    background-color: rgba(42,52,64,0.5);
    transition: all 0.8s 0s ease;
}

    #service a:hover {
        background-color: #2D3440;
    }

#service a .image {
    max-width: 400px;
    width: calc( 100% - 68%);
    height: 100%;
    box-sizing: border-box;    
}

#service a .image img {
    object-fit: contain   
}

#service a .explain {
    max-width: 600px;
    width: 49%;
    padding-left: 63px;
    box-sizing: border-box;
}

#service a .explain dt {
    font-size: 162.5%;
    margin-bottom: 20px;
}

#service a .explain dd {
    line-height: 2;
}

#service a .readMore {
    width: 228px;
    width: 19%;
    box-sizing: border-box;
}

#service a .readMore span {
    box-sizing: border-box;
    display: inline-block;
    padding: 23px 60px;
    text-decoration: none;
    transition: all 300ms 0s ease;
    position: relative;
}

    #service a .readMore span:before {
        position: absolute;
        content: "";
        top: 50%;
        right: 20%;
        width: 8px;
        height: 8px;
        margin-top: -5px;
        border-top: 2px solid #fff;
        border-right: 2px solid #fff;
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
        z-index: 1;
        transition: all 300ms 0s ease;
    }

        #service a:hover .readMore span:before {
            right: 10%;
        }

/* --------------------------------
   □ news
-------------------------------- */
#news {
    margin-bottom: 140px; 
}

#news .flexbox {
    align-items: flex-start;
    flex-wrap: nowrap;
}

#news h3 {
    width: 7%;
    min-width: 86px;
    height: 100%;
}

#news ul.newslist {
    max-width: 1018px;
    width: 83%; 
}

#news ul.newslist li {
    text-align: left;    
    border-top: 1px solid #EFEFEF;
    position: relative;
    transition: all 0.8s 0s ease;
}

    #news ul.newslist li:hover {
        background-color: #2D3440;
    }  

    #news ul.newslist li:before {
        position: absolute;
        content: "";
        top: 50%;
        right: 2%;
        width: 8px;
        height: 8px;
        margin-top: -5px;
        border-top: 2px solid #fff;
        border-right: 2px solid #fff;
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
        z-index: 1;
        transition: all 300ms 0s ease;
    }

    #news ul.newslist li:hover:before {		
        right: 1%;
    }

#news ul.newslist li:last-child { 
    border-bottom: 1px solid #EFEFEF;
} 

#news ul.newslist li a {
    display: block;
    padding: 28px 40px 28px 10px;
}

#news ul.newslist li dl {
}

#news ul.newslist li dl dt {
    width: 20%;
    min-width: 205px;
    font-weight: 700;
    padding-right: 12px;
    float: left;
}

#news ul.newslist li dl dt span {
    border-radius:14px;       
    font-size: 81.25%;
    line-height: 1;
    display: inline-block;      
    padding: 6.5px 17px;
    margin-left: 18px;
    text-align: center;
    border: 1px solid #FFFFFF;
    box-sizing: border-box;
}

#news ul.newslist li dl dd {
    padding-left: 217px;
}
 
#news .toList {
    padding-top: 13px;
}

#news .toList a {    
    padding: 0;
}

    #news .toList a:hover {    
        opacity: 0.7; 
    }

#news .toList a span {
    position: relative;
    padding: 10px 0 10px 40px;
}

    #news .toList a span:after {
        position: absolute;
        content: "";
        background: url(../../images/index/list.svg) no-repeat;
        background-size: contain;
        width: 20px;
        height: 20px;    
        top: 50%;
        right: auto;
        left: 10px;
        margin-top: -10px;
        border: none;
        transform: none;
        z-index: 1;
        transition: all 300ms 0s ease;
    }

    #news .toList a span:before {
        content: none;
    }

/* --------------------------------
   □ links
-------------------------------- */
#links {   
}

#links .flexbox div {
    position: relative;
    overflow: hidden;
    height: 369px;
    width: 50%;
}

#links .flexbox div:after {
    position: absolute;
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    background: url(../../images/index/recruit.jpg) no-repeat center center;
    background-size: cover;
    transition: 1s all;
}

    #links .flexbox div.company:after {    
        background: url(../../images/index/company.jpg) no-repeat center center;
        background-size: cover;
        transition: 0.5s all;
    }

    #links .flexbox div:hover:after {
        transform: scale(1.2,1.2);
        transition: 0.5s all;       
    }

#links .flexbox div a {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 1;
    height: 369px;
    width: 100%;
}

#links .flexbox div a h3 {
    margin-bottom: 0;
}

    #links .flexbox div a h3:after {
        content: none;     
    }

#links .flexbox div a h3 .en {
    letter-spacing: 0.1em;
}

#links .flexbox div a h3 small {
    padding-bottom: 0;
    font-size: 100%;
}

@media (max-width: 1300px) and 
(min-width: 768px) {
    #intro .flexbox {
    /*  margin-bottom: 100px; */
        width: auto;
        margin-left: 2%;
        margin-right: 2%;
    }
    
    #service a {
        height: auto;
    }
    
    #service a .explain {
        padding: 20px 10px 20px 40px;
    }
    
    #service a .readMore span {
        padding: 23px 60px 23px 0;
    }
}
	

@media only screen and
(max-width : 767px) {
	
    /* --------------------------------
       □ intro
    -------------------------------- */ 
    #intro {
        margin: 0 2% 80px;
    }
    
    #intro h2.title {
        writing-mode: inherit;
        font-size: 137.5%;
        letter-spacing: 0.05em;
        margin-bottom: 30px;
    }
    
    #intro .readtxt p {
        font-size: 87.5%;
    }
    
    #intro .flexbox {
        /*  margin-bottom: 57px; */
    }
    
    #intro .movie {
        margin-left: -6%;
        margin-right: -6%;
    }
    
    /* --------------------------------
       □ works
    -------------------------------- */ 
    #works {
        margin-bottom: 84px;
    }
    
    #works .swiper-container .swiper-slide {
       
    }
    
    #works .swiper-slide .caption:before {    
        height: calc(100% + 45px);
    }
    
    #works .swiper-slide .caption dt {
        font-size: 87.5%;
        margin-bottom: 8px;
    }

    #works .swiper-slide .caption dd {
        font-size: 75%;
    }
    
    #works .swiper-button-prev, #works .swiper-button-next {
        width: 17px;
        height: 30px;
        margin: 0;
        position: absolute;
        top: 20%;
    }
    
    #works .buttonStyle.viewAll {
        margin-top: 50px;
    }
    
    /* --------------------------------
       □ service
    -------------------------------- */
    #service {
        margin-bottom: 46px;
    }
    
    #service a {
        height: auto;
        flex-direction: column;
    }  
    
    #service a .image {
        width: auto;
    }

    #service a .explain {
        width: auto;
        padding: 23px 20px 13px;
    }
    
    #service a .explain dt {
        font-size: 137.5%;
        margin-bottom: 15px;
    }
    
    #service a .explain dd {
        font-size: 81.25%;
    }
    
    #service a .readMore {
        width: 100%;
        text-align: left;
        padding: 0;
        margin-bottom: 34px;
    }
    
    #service a .readMore span {
        padding: 0 50px 0 20px;
        font-size: 81.25%;
    }
    
    #service .box {
        margin-bottom: 37px;
    }    
        
    /* --------------------------------
       □ news
    -------------------------------- */
    #news {
        margin-bottom: 66px;
    }

    #news h3, #news ul.newslist {
        width: auto;
    }
        
    #news ul.newslist li a {
        padding: 28px 26px 28px 0px;
    }
    
    #news ul.newslist li dl dt {
        padding-right: 0;
        float: none;
        width: auto;
        font-size: 87.5%;
        margin-bottom: 14px;
    }

    #news ul.newslist li dl dt span {
        font-size: 68.75%;   
        padding: 4px 16px;
    }

    #news ul.newslist li dl dd {	
        font-size: 87.5%;
        padding-left: 0;
    }
    
    #news .toList {
        padding-top: 38px;
    }

    #news .toList a {       
        width: 100%;
        height: 58px;
        padding: 18px 20px;        
        border: 1px solid #fff;
    }
    
    	#news .toList a:hover {
            opacity: 0.7;
        }
    
    #news .toList a span {
        position: static;
        display: inline;
        padding: 10px 26px;
    }
    
        #news .toList a span:after {    
            left: 20px;
            width: 13px;
            height: 13px;
            margin-top: -7px;
        }
    
        #news .toList a span:before {
            content: "";           
        }
        
        #news .toList a:hover span:before {		
            right: 5%;
        }
    
    /* --------------------------------
       □ links
    -------------------------------- */
    #links {     
    }
    
    #links .flexbox div, #links .flexbox div a {
        height: 265px;
        width: 100%;
    }
    
    #links .flexbox div a h3 .en {
        font-size: 200%;
    }    
        
    #links .flexbox div a h3 small {
        font-size: 87.5%;
    }
    
}

	
