@import url("menu.css");

.title{
	font-size: 22px;
	text-align: center;
	font-family: 'Roboto', sans-serif;
	letter-spacing: 6px;
}
.border{
	width: 100%;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    border: solid #fff 20px;
    z-index: 200;
    box-sizing: border-box;
}
#main-image {
    width: 100%;
    height: 100vh;
    position: relative;
    z-index: 100;
    background-color: #fff;
}

.logo {
    display: none;
    font-size: 29px;
    letter-spacing: 0.3em;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    -webkit- transform: translateY(-50%) translateX(-50%);
    z-index: 20;
}
#main-image .logo-fade {

    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100vh;
    text-align: center;
}
#main-image .logo-fade .logo-bg{
	background-color: #fff;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100vh;
}
.full div {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 100vh;
    margin: 0;
}

#scroll {
    width: 100%;
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    padding-top: 90px;
    margin: 0 auto;
    font-size: 13px;
    font-size: .75rem;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .32em;
    display: block;
    -webkit-transition: all .5s;
    transition: all .5s;
    opacity: 1;
    
}
#scroll p {
    font-size: .6rem;
    line-height: 1.125em;
    color: #fff;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100px;
    margin: 0 auto;
    font-family: 'Roboto', sans-serif;
}
#scroll-bar {
    width: 1px;
    height: 100%;
    overflow: hidden;
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    margin: 0 auto;
    background-color: #d7d7d7;
}
#scroll-bar-in {
    height: 80%;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    background-color: #143659;
    -webkit-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0);
    -webkit-animation-name: hero-scroll;
    animation-name: hero-scroll;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-timing-function: cubic-bezier(.645,.045,.355,1);
    animation-timing-function: cubic-bezier(.645,.045,.355,1);
    -webkit-animation-duration: 1.6s;
    animation-duration: 1.6s;
}
@-webkit-keyframes hero-scroll {
  0% {
    -webkit-transform:translateY(-100%);
    transform:translateY(-100%);
  }
  80% {
    -webkit-transform:translateY(200%);
    transform:translateY(200%);
  }
}
@keyframes hero-scroll {
  0% {
    -webkit-transform:translateY(-100%);
    transform:translateY(-100%);
  }
  
  80% {
    -webkit-transform:translateY(200%);
    transform:translateY(200%);
  }
}
#top-works{
    margin: 60px auto 160px;
}
#insta{
	margin: 160px auto;
	
}
.top-works-content{
display: flex;
justify-content:space-between;
margin: 100px 0;
flex-wrap: wrap;
}
.works-p{
	width: 250px;
	height: 250px;
	
}
.works-p a{
        width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    z-index: 1;
}
.works-p:hover{
    opacity: 0.8;
}
.works-more-btn{
	text-align: center;
}
.btnarrow4{
    /*矢印と下線の基点とするためrelativeを指定*/
	position: relative;
    /*形状*/
    display: inline-block;
	padding: 0 45px;
    color: #333;
    text-decoration: none;
    outline: none;
    font-family: 'Roboto', sans-serif;
    letter-spacing: 2px;
    font-size: 14px;
}
.btnarrow4:hover{
	opacity: 0.7;
}
/*矢印と下線の形状*/
.btnarrow4::before{
    content: '';
    /*絶対配置で下線の位置を決める*/
	position: absolute;
    bottom:-8px;
    left:0%;
    /*下線の形状*/    
    width: 100%;
    height: 1px;
	background:#333;
    /*アニメーションの指定*/
    transition: all .3s;
}

.btnarrow4::after{
    content: '';
    /*絶対配置で矢印の位置を決める*/
	position: absolute;
    bottom:-3px;
    right:0;
    /*矢印の形状*/    
    width: 15px;
    height:1px;
	background:#333;
    transform: rotate(35deg);
    /*アニメーションの指定*/
    transition: all .3s;
}

/*hoverした際の移動*/
.btnarrow4:hover::before{
    left:5%;
}

.btnarrow4:hover::after{
    right:-5%;
}
#insta{
	text-align: center;
}
.top-insta-title{
    margin: 0 0 60px;
}
#sb_instagram #sbi_load{
    margin: 40px 0 0 0;
}
.news{
    margin: 100px 0 150px;
}
.news p{
margin: 0px 0 1px;
width: 100%;
   
    padding: 20px;
    box-sizing: border-box;
    color: #fff;
    
    font-size: 14px;
    background-color: rgba(102,102,102,0.7);
    
    line-height: 1.4;
}
.news a{
    color: #fff;
}
.news a:hover{
    opacity: 0.7;
}
#sb_instagram .sbi_photo{
    background-position: center;
    background-size: cover;
}
#sb_instagram .sbi_photo img{
    display: none;
}
@media screen and (max-width: 479px) {
    .top-works-content{
        padding: 0 10px;
    box-sizing: border-box;
   display: block;
    }
    .works-p{
        width: 100%;
        margin: 0 0 10px;
    }
    .intern{
        font-size: 13px;
    }

}