* { margin: 0; padding: 0; }
body,html{
  font-size:12px;
  font-family: 'Sawarabi Gothic','Alata',sans-serif;
}
a{
	text-decoration: none;
	color:#000;
	-webkit-transition: all .3s ease;
	-moz-transition: all .3s ease;
	-o-transition: all .3s ease;
	transition: all .3s ease;
}
h1{
  font-size: 18px;
  font-weight: 100;
  float: left;
}
h2{
  font-size: 12px;
  font-weight: 100;
}
/*ローディングアニメ*/
.loaded{
  overflow-x:hidden;
}
#loader-bg {
	-moz-box-sizing: border-box;
	box-sizing: border-box;
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
  background: #fff;
  z-index: 9999;
}
#loader {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  width: 200px;
  height: 200px;
  margin-top: -3px;
  margin-left: -100px;
  text-align: center;
  color: #000;
  z-index: 99999;
}
/*Clear Fix*/
.cf:before,
.cf:after {
    content: " ";
    display: table;
}
.cf:after {
    clear: both;
}
.cf {
    *zoom: 1;
}
/*背景設定*/
.bgblue{
  padding: 20px;
}
.main{
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	position: relative;
	background-color: rgba(128, 237, 220, 0.5);
	width: 100%;
	height: 100%;
  text-align: center;
  
}
/*menu*/
#panel-btn{
  position: fixed;
  display:block;
  left:20px;
  top:20px;
  background: rgba(0, 0, 0, 0.05);
  height: 50px;
  width: 50px;
  margin:auto;
  transition: .5s ease;
  z-index: 55;
}
#panel-btn:hover{
  background: rgba(255, 255, 255, 0.1);
}
#panel-btn a{
	-moz-box-sizing: border-box;
	box-sizing: border-box;
  display: block;
  width: 100%;
  height: 100%;
}
#panel-btn-icon{
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 2px;
  margin: -1px 0 0 -15px;
  background: #000;
  transition: .2s;
}
#panel-btn-icon:before, #panel-btn-icon:after{
  display: block;
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 30px;
  height: 2px;
  background: #000;
  transition: .3s;
}
#panel-btn-icon:before{
  margin-top: -9px;
}
#panel-btn-icon:after{
  margin-top: 7px;
}
#panel-btn .close{
  background: transparent;
}
#panel-btn .close:before, #panel-btn .close:after{
  margin-top: 0;
}
#panel-btn .close:before{
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}
#panel-btn .close:after{
  transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
}
#panel{
	-moz-box-sizing: border-box;
	box-sizing: border-box;
  display: none;
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 90px;
  background: rgba(0, 255, 216,0.9);
  z-index: 54;
}
#panel ul{
	-moz-box-sizing: border-box;
	box-sizing: border-box;
  /* position: relative; */
  /* left:50%; */
  height: 90px;
  width: 100%;
  /* display: block;
  margin: 0 0 0 -351px; */
  /* text-align: center; */
  display:flex;
  justify-content: center;
  list-style: none;
}
#panel ul li{
  position: relative;
  list-style: none;
  display: table;
  height: 90px;
  width: 150px;
  font-size: 16px;
  float: left;
  font-weight:bolder;
}

#panel ul li a{
	-moz-box-sizing: border-box;
	box-sizing: border-box;
  display: table-cell;
  width: 100%;
  height: 100%;
  transition: .3s ease;
  text-align: center;
  vertical-align: middle;
  color: rgba(0, 0, 0, 0.8);
}
#panel ul li a:hover{
  color: #fff;
  opacity: 0.9;
  background: rgba(0, 230, 200, 0.8);
}
/*メインヴィジュアル*/
.mainvisualWrapper{
  position: relative;
  /* top:0;
  left: 0; */
  height: 900px;
  width: auto;
  overflow: hidden;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
}
video.mainvisual{
	-moz-box-sizing: border-box;
	box-sizing: border-box;
  position: absolute;
  top:0;
  height: auto;
  width: auto;
  min-height: 100%;
  min-width: 100%;
  transition: opacity 1.5s ease;
  -webkit-transition: opacity 1.5s ease;
  -moz-transition: opacity 1.5s ease;
  -ms-transition: opacity 1.5s ease;
  -o-transition: opacity 1.5s ease;
  opacity: 0;
  z-index: -100;
  background: url(../images/where_vid.jpg) no-repeat;
  background-size: cover;
}
.loaded .logo{
  opacity: 1;
  /* margin-left: -250px; */
}
.logo{
  position: relative;
  /* left: 50%;
  margin-left: -400px;
  margin-top:250px; */
  padding-top:40px;
  padding-bottom: 38px;
  height:122px;
  width: 500px;
  background-color: rgba(255, 255, 255, 0);
  text-align: center;
  z-index: 2;
  opacity: 0;
  transition: .8s ease;
}
.scrollbt{
  position: relative;
  /* left: 50%; */
  width: 50px;
  height: 50px;
  /* margin: 150px 0px 150px -25px; */
  background-color: rgba(255, 255, 255, 0.2);
  border-radius:25px ;
  transition: .8s ease;
}

.scrollbt a{
  display: block;
  width: 100%;
  height: 100%;
}

.scrollbt a:before {        /*白いひし型 */  
  content: "";
  display: table-cell;
	position: absolute;
  top: 50%;
  text-align: center;
  margin-top:-8px;
  margin-left:19px;
  width: 10px;
  height: 10px;
  border-bottom: solid 2px #000;
  border-right: solid 2px #000;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.scrollbt:hover{
  background-color: rgba(255, 255, 255, 0.4);
}
.loaded video.mainvisual{
  opacity: 1;
}
/*fb,twbttn*/
.inbt{
  position: fixed;
  margin: auto;
  right: 70px;
  top: 20px;
  background-color: rgba(0, 0, 0, 0.05);
  height: 50px;
  width: 50px;
  text-align: center;
  display: block;
  margin:0 auto;
  z-index: 55;
  transition: .5s ease;
}
/* .fbbt{
  position: fixed;
  margin: auto;
  right:70px;
  top: 20px;
  background-color: rgba(0, 0, 0, 0.05);
  height: 50px;
  width: 50px;
  text-align: center;
  display: block;
  margin:0 auto;
  z-index: 55;
  transition: .5s ease;
} */
.twbt{
  position: fixed;
  margin: auto;
  right:20px;
  top: 20px;
  background-color: rgba(0, 0, 0, 0.05);
  height: 50px;
  width: 50px;
  text-align: center;
  display: block;
  margin:0 auto;
  z-index: 55;
  transition: .5s ease;
}
.inbt a,.twbt a,.fbbt a{
  display: block;
  width: 100%;
  height: 100%;
}
.inbt:hover,.twbt:hover,.fbbt:hover{
  background-color: rgba(255, 255, 255, 0.1);
}
.title{
  padding-left: 50px;
  display: flex;
  flex-direction: column;
}
.title h1{
  font-size:28px;
  font-weight: bolder;
  position: relative;
}
.title h1::after{
  content: '';
  position: relative;
  display: block;
  width: 15px;
  padding: 0 0 2px 0;
  background-color: #000;
  margin: 20px 0px 30px;
}
/*news*/
#news{
  position: relative;
  left: 50%;
  margin: 150px 0 140px -40%;
  padding: 50px 0;
  width: 80%;
  height: auto;
  background-color: rgba(255, 255, 255, 0.9);
  text-align: left;
  font-size: 16px;
}
#news .wp_title{
	padding: 0 50px;
}
#news .wp_title li{
	list-style:none;
  display: block;
	margin-bottom: 20px;
}
#news .wp_title li:last-child{
	margin-bottom: 0px;
}
/*works*/
#works{
  position: relative;
  left: 50%;
  margin: 150px 0 140px -40%;
  padding: 50px 0;
  width: 80%;
  height: 400px;
  background-color: rgba(255, 255, 255, 0.9);
  text-align: left;
}

#works ul{
  padding-top: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
#works ul li{
  list-style:none;
  display: block;
  width: 180px;
  height: 180px;
  color: #fff;
  font-size: 18px;
  background-color: #000;
  margin-right: 60px;
  float: left;
  overflow: hidden;
  transition: 0.3s;
  z-index: 2;
}
#works ul li:last-child{
  margin-right: 0px;
}
#works ul li a{
  position: relative;
  display: table;
  width: 100%;
  height: 100%;
  color: #fff;
  font-size: 18px;
  z-index: 2;
  text-align: center;
  vertical-align: middle;

}
#works ul li a p{
  display: table-cell;
  z-index: 2;
  transition: 0.3s;
    margin: auto;
    text-align:center;
    vertical-align:middle;
    line-height:1.5em;

}
#works ul li a img{
  transition: all 0.5s ease;
  position: absolute;
  z-index: -1;
  top:0;
  left: 0;
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -o-transform: scale(1);
  -ms-transform: scale(1);
  opacity:0.6;
}
#works ul li a:hover img{
  z-index: -2;
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -o-transform: scale(1.1);
  -ms-transform: scale(1.1);
  opacity:1;
}
#works ul li a:hover p{
  opacity: 0;
}

/*profile*/
#profile{
  position: relative;
  left: 50%;
  margin: 150px 0 50px -40%;
  padding: 50px 0 50px 0;
  width: 80%;
  height: auto;
  background-color: rgba(255, 255, 255, 0.9);
  text-align: left;
  font-size: 14px;
}
.prf_cont{
  padding: 0 50px;
  line-height: 1.8em;
  word-wrap: break-word;
}
.prf_cont a,.wp_title a,#works a{
	font-weight: bold;
	position: relative;
	display: inline-block;
	transition: .3s;
}
.prf_cont a::after,.wp_title a::after,#works a::after{
	position: absolute;
	bottom: .3em;
	left: 0;
	content: '';
	width: 100%;
	height: 1px;
	background: rgb(0, 255, 216);
	opacity: 0;
	transition: .3s;
}
.prf_cont a:hover,.wp_title a:hover,#works a:hover {
	color: rgb(0, 255, 216);
}
.prf_cont a:hover::after ,.wp_title a:hover::after,#works a:hover::after {
	bottom: 0;
	opacity: 1;
}
.mb_hid{
    font-size: 12px;
}

.line_g{
  position: relative;
  display: block;
  width: 100%;
  padding: 0 0 1px 0;
  background-color: #eeeeee;
  margin: 30px 0px 40px 0px;
}

/* contact */
#contact{
  position: relative;
  left: 50%;
  margin: 150px 0 140px -40%;
  padding: 30px 0;
  width: 80%;
  height: auto;
  background-color: rgba(255, 255, 255, 0.9);
  text-align: left;
}
#contact div a.comp_sent{
  width:160px;
    font-size:16px;
    font-weight:bolder;
    text-decoration:none;
    display:block;
    text-align:center;
    padding:8px 0 10px;
  background-color: rgba(0, 0, 0, 0.1);
  margin: 20px auto 0px;
  transition: .5s ease;
}
#contact div a.comp_sent:hover{
  background-color: rgba(255, 255, 255, 0.7);
}
#contact ul{
  position: absolute;
  bottom: 0px;
  right: 0px;
}
#contact ul li{
  position: relative;
  list-style: none;
  float: left;
  background-color: rgba(0, 0, 0, 0.1);
  height: 40px;
  width: 40px;
  margin: auto;
  text-align: center;
  display: block;
  z-index: 55;
  transition: .5s ease;
}
#contact ul li a{
  display: block;
  width: 100%;
  height: 100%;
}

#contact ul li a:hover{
	bottom: 0;
	opacity: 0.6;
}
#contact ul li:hover{
  background-color: rgba(255, 255, 255, 0.7);
}
#contact ul li .arrow{
  width: 100%;
  padding:12px 0;
  margin:0 auto;
}
/* フッター */
.footer_wrap{
  position: relative;
  width: 80%;
  height:30px;
  margin:0 auto;
  display: block;
  padding: 60px 0 35px;
  z-index: 2;
}
.copyright{
  display: table-cell;
  position: absolute;
  bottom: 35px;
  width: 100%;
  text-align: center;
  vertical-align: middle;
}
.pagetop{
  display: none;
  position: fixed;
  margin: auto;
  right:20px;
  bottom: 20px;
  background-color: rgba(0, 0, 0, 0.1);
  height: 50px;
  width: 50px;
  text-align: center;
  margin:0 auto;
  transition: .5s ease;
  z-index: 55;
  transition: .1s ease;
}
.pagetop a{
  display: block;
  width: 50px;
  height: 50px;
}
.pagetop:hover{
  background-color: #fff;
}
.arrow{
  width: 100%;
  padding:15px 0;
  margin:0 auto;
}
/* instagram feed */
.insta-container{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  margin: 0;
  padding: 0;
  align-self: center;
}
.insta-container li{
  margin: 0;
  padding: 10px;
  width: 33.3%;
  height: 33.3%;
  background-color: rgba(255, 255, 255, 0);
  box-sizing: border-box;
}
.insta-container li a{
  position:relative;
  display: flex;
  width: auto;
  height: 333px;
  text-align: center;
  vertical-align: middle;
  align-items: center;
  justify-content: center;
}
.insta-photo{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: cover no-repeat;
}


@media screen and (max-width:1000px){
  #works{
    height: auto;
  }
  .title{
    padding-left: 30px;
  }
  #works ul{
    position: relative;
    /* left: 50%;
    margin-left: -120px; */
    width: 240x;
    height: auto;
  }
  #works ul li{
    width: 240px;
    height: 120px;
    margin: 0 0 40px 0;
    float: inherit;
  }
  #works ul li:last-child{
    margin-bottom: 0px;
  }
  #works ul li a img{
    top:-20%;
    -webkit-transform: scale(2);
    -moz-transform: scale(2);
    -o-transform: scale(2);
    -ms-transform: scale(2);
  }
  #works ul li a:hover img{
    -webkit-transform: scale(2.1);
    -moz-transform: scale(2.1);
    -o-transform: scale(2.1);
    -ms-transform: scale(2.1);
  }
  #profile{
  height: auto;}
  .prf_cont{
    padding: 0 30px;}
}

@media screen and (max-width: 768px) {
	/* 768px以下用（タブレット／スマートフォン用）の記述 */
  .loaded {
    background: url(../images/where_vid.jpg) #fff no-repeat center center scroll;
    background-size:cover; }

  video.mainvisual { display: none; }
  #profile{
	  height: auto;
    font-size: 12px;
  }
  #panel{
	  -moz-box-sizing: border-box;
	box-sizing: border-box;
	width: 100%;
	height: auto;
	z-index: 54;
  }
  #panel ul{
	  -moz-box-sizing: border-box;
	box-sizing: border-box;
    height: 450px;
    width: 100%;
    display: block;
    margin: auto;
    padding-top: 90px;
    left:0;
  }
  #panel ul li{
	  -moz-box-sizing: border-box;
	box-sizing: border-box;
    position: relative;
    list-style: none;
    display: table;
    height: 90px;
    width: 100%;
  }

  #panel ul li a{
    display: table-cell;
    width: 100%;
    height: 100%;
    transition: .3s ease;
    text-align: center;
    vertical-align: middle;
    color: rgba(0, 0, 0, 0.8);
  }
  #panel ul li a:hover{
    color: #fff;
    opacity: 0.9;
    background: rgba(0, 230, 200, 0.8);
  }
  .mb_hid{
    display: none;}
}
@media screen and (max-width: 480px) {
#loader {
   top: 40%;
}
  .loaded .logo{
    opacity: 1;
    /* margin-left: -140px; */
  }
 
  .logo img{
    width: 75%;
  }
  .bgblue{
	  	-moz-box-sizing: border-box;
	box-sizing: border-box;
    padding: 0px;
	overflow: hidden;
  }
  .main{
    background-color: rgba(129, 238, 222, 0);
  }
  .mainvisualWrapper{
    height: 680px;
  }
  .logo{
    position: relative;
    /* left: 50%;
    margin-left: -220px;
    margin-top:120px; */
    padding-top:50px;
    padding-bottom: 10px;
    height:100px;
    /* width: 280px; */
    width: 100%;
    /* text-align: center; */
    z-index: 2;
    background-color: rgba(255, 255, 255, 0.4);
  }
  /* .scrollbt{
    margin :100px 0px 100px -25px;
  } */
  
 #panel{
	 -moz-box-sizing: border-box;
	box-sizing: border-box;
	width: 100%;
	height: auto;
	z-index: 54;
}
#panel ul{
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	height: 250px;
	width: 100%;
	display: block;
	margin: auto;
	padding-top: 90px;
	left:0;
}  
#panel ul li{
	font-size: 14px;
	height: 50px;
}

	#news{
	  -moz-box-sizing: border-box;
	box-sizing: border-box;
    position: relative;
    left: 50%;
    margin: 50px 0 150px -50%;
    padding: 50px 0;
    width: 100%;
    height: auto;
    background-color: rgba(255, 255, 255, 0.9);
    text-align: left;
  }
  #works{
	  -moz-box-sizing: border-box;
	box-sizing: border-box;
    position: relative;
    left: 50%;
    margin: 50px 0 150px -50%;
    padding: 50px 0;
    width: 100%;
    height: auto;
    background-color: rgba(255, 255, 255, 0.9);
    text-align: left;
  }
  #works ul{
    padding-top: 10px;
  }
  #profile{
	  -moz-box-sizing: border-box;
	box-sizing: border-box;
    position: relative;
    left: 50%;
    margin: 150px 0 50px -50%;
    width: 100%;
    height: auto;
    font-size: 12px;
  }
  .mb_hid{
    display: none;
  }

  #contact{
	  -moz-box-sizing: border-box;
	box-sizing: border-box;
    position: relative;
    left: 50%;
    margin: 150px 0 50px -50%;
    padding: 50px 0;
    width: 100%;
    height: auto;
    background-color: rgba(255, 255, 255, 0.9);
    text-align: left;
  }

 video.mainvisual{
	-moz-box-sizing: border-box;
	box-sizing: border-box;
  width: 100%;
  }
  .insta-container{
    flex-direction: column;
    flex-wrap: nowrap;
  }
  .insta-container li{

    width: 100%;
    height: 100%;
  }

}

