@charset "utf-8";

.page-header{
    background:url('../img/company.jpg') center center/cover no-repeat;
}

.page-header-inner h1::before{
    content: 'COMPANY';
}


/* message */

#message{
    position:relative;
}

#top-img{
    background:url('../img/tonosaki.jpg') top center/cover no-repeat;
    width:68%;
    height:800px;
}

#top-text{
    background:#fff;
    position:absolute;
    top:7vw;
    right:8vw;
    width:40vw;
    -webkit-box-shadow:1px 1px 3px #222728;
            box-shadow:1px 1px 3px #222728;
    padding:50px 4vw;
}

#top-text h3{
    font-size:20px;
    color:#20215a;
    margin:26px 0 10px;
    font-weight:800;
    line-height:1.5;
}

#top-text h3:first-of-type{
    margin-top:0;
}

#top-text > p{
    margin-bottom:15px;
    line-height:26px;
}

.top-name{
    width:180px;
    margin-left:auto;
}

.top-name small{
    font-size:14px;
    font-weight:800;
    margin-right:10px;  
}

.top-name p{
    display:inline-block;
    font-size:22px;
    font-weight:800;
}

/* philosophy */

.philo-container{
    width:60vw;
    margin-left:auto;
    padding-bottom:40px;
}

.philo-header p:first-child{
    display: inline-block;
    font-size:25px;
    font-weight:800;
    letter-spacing: 5px;
    font-family: 'pier-regular';
}

.philo-header{
    margin-bottom:50px;
}

.philo-header p span{
    display:inline-block;
    width:226px;
    border-bottom:1px solid #222728;
    margin:0 20px;
}

.philo-header h3{
    display:inline-block;
    letter-spacing: 2px;
    font-size:26px;
    font-weight:800;
}

.philo-header h3 span{
    color:#87b828;
}

.philo-header p:nth-of-type(2){
    margin-left:320px;
    margin-top:16px;
}

/* about */

#about{
    background-color:#e9eef4;
    padding:1px 0;
    position: relative;
}

#kyoryoku{
    padding:1px 0;
    position: relative;
}

#about table,
#kyoryoku table{
    width:1200px;
    margin:60px auto;
}

#about table p,
#kyoryoku table p{
    line-height:26px;
}

#about table tr,
#kyoryoku table tr{    
    border-bottom:1px solid #222728;
}

#about table td,
#kyoryoku table td{
    font-weight:800;
    padding:30px;
}

#about table td:first-of-type,
#kyoryoku table td:first-of-type{
    width:320px;
}

#about table td iframe{
    width:100%;
    margin-top:20px;
}

#about table td p span,
#kyoryoku table td p span{
    display: inline-block;
    width: 140px;
}

#about table td p a,
#kyoryoku table td p a{
    color:#20215a;
    text-decoration: underline;
    -webkit-transition:0.2s ease;
    -o-transition:0.2s ease;
    transition:0.2s ease;
}

#about table td p a:hover,
#kyoryoku table td p a:hover{
    opacity: 0.6;
}

.about-bg{
    position: absolute;
    -webkit-transform:rotate(90deg);
        -ms-transform:rotate(90deg);
            transform:rotate(90deg);
    -webkit-transform-origin:left;
        -ms-transform-origin:left;
            transform-origin:left;
    top:220px;
    left:95vw;
    width:100%;
}

.about-bg p{
    font-family: 'pier-regular';
    font-size:110px;
    color:#20215a;
    letter-spacing: 12px;
    opacity:0.05;
}

/* boad-member */

.board-container{
    width: 1200px;
    margin:0 auto;
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
}

.member{
    width:30%;
}

.member small{
    display:block;
    margin-top:16px;
    font-size:14px;
    font-weight:800;
    color:#808080;
}

.member h3{
    margin:8px 0 10px;
    font-size:20px;
    font-weight:800;
}

.member p{
    line-height:22px;
    font-size:15px;
}


/* group */

.slick-prev:before,
.slick-next:before {
  color: #000 !important;
}

.g-slide-container{
    width:1200px;
    margin:0 auto;
    padding-bottom:60px;
}

.slider-for{
    width:100%;
    margin-bottom:20px;
}

.slide{
    display:-webkit-box!important;
    display:-ms-flexbox!important;
    display:flex!important;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
}

.g-img{
    width:60%;
}

.g-desc{
    width:38%;
}
.g-desc h4{
    font-size:20px;
    font-weight:800;
    margin-top:20px;
    margin-bottom:10px;
}

.g-desc address{
    font-size:14px;
    line-height:20px;
}

.g-desc .view-more{
    margin-top:20px;
    margin-right:0;
}

@media screen and (max-width:1600px){
    #top-text{
        top:10vw;
    }

	#top-text > p{
        font-size:15px;
        line-height:20px;
    }

    .philo-container{
        width:72vw;
    }

    .about-bg p{
        font-size:90px;
    }
}

@media screen and (max-width:1366px){
    #top-img{
        width:76%;
    }

    .philo-header p span{
        width:100px;
    }

    .philo-header p:nth-of-type(2){
        margin-left:180px;
    }

    .board-container,
    .g-slide-container,
    #about table{
        width: 1000px;
    }     

    #about table td:first-of-type,
    #kyoryoku table td:first-of-type{
        width:220px;
    }

    .about-bg{
        display: none;
    }
}

@media screen and (max-width:1200px){
    #top-img{
        width:80%;
    }

    #top-text{
        top:12vw;
        right:5vw;
        width:48vw;
        padding:50px 3vw;
    }

    .philo-container{
        width:80vw;
        margin:0 auto;
    }    
}

@media screen and (max-width:1000px){
    #top-img{
        background:url('../img/tonosaki.jpg') top left/cover no-repeat;
        width:100%;
        height:500px;
    }

    #top-text{
        position: static;
        width:82vw;
        margin:20px auto;
    }

    .philo-container{
        width:90vw;
    } 

    .philo-header h3{
        letter-spacing: 1px;
        font-size:22px;
    }    

    .board-container,
    .g-slide-container,
    #about table,
    #kyoryoku table{
        width: 96vw;
    }

    #about table td:first-of-type,
    #kyoryoku table td:first-of-type{
        width:8vw;
    }

    #about table td,
    #kyoryoku table td{
        padding:15px;
    }
}

@media screen and (max-width:768px){
    #top-text{
        padding:40px 5vw;
    }

    .philo-header p:first-child{
        font-size:16px;
    }

    .philo-header h3{
        display:block;
        margin-top:20px;
        font-size:24px;
        line-height:30px;
    }

    .philo-header p:nth-of-type(2){
        margin-left:0px;
        margin-top:16px;
        line-height:20px;
    }

    #about table td p span,
    #kyoryoku table td p span{
        display: block;
        font-size:12px;
        line-height:12px;
        margin-top:12px;
    }

    .board-container{		
		display:block;
    }
	
	.member{
        width:90vw;
        margin:0 auto 30px;
    }
    
    .slick-prev:before,
    .slick-next:before,
    .slick-arrow {
    display: none;
    }

    .slick-next{
        right:0!important;
    }

    .slide{
        display:block!important;
    }

    .g-img,
    .g-desc{
        width:90vw;
        margin:0 auto;
    }
}