/*
Tutorial Name: Modernize Your Site: Building a YouTube Video Background 
Author: Samuel Dalusung
*/


/* GENERAL STYLES
================================================== */
html {
    height:100%
}
.spview {
	display:none;
}

body {
    font:15px/23px 'Raleway',sans-serif;
    margin:0;
    padding:0;
    height:100%;
    width:100%;
    -webkit-font-smoothing:antialiased;
    -webkit-text-size-adjust:100%;
	background:url(../images/bg-top.jpg) no-repeat;
	-moz-background-size:cover;
background-size:cover;
}


img {
	border:none;
	vertical-align:bottom;
	width:auto;
	max-width:100%;
}

p {
    display:block;
	width:90%;
	max-width:800px;
	margin:0 auto;
	font-size:14px;
    line-height:140%;
    text-align:left;
}
p.center {
    text-align:center;
}


ul li {
    display:inline-block;
    list-style:none;
    padding-right: 10px;
}

.wrapper {
    z-index:600;
    position:relative
}

.pattern {
    background-image:url(../images/pattern.png);
    background-repeat: repeat;
    background-attachment:scroll;
    width:100%;
    height:100%;
    position:absolute;
    top:0;
    left:0
}

.clear {
	clear:both;
}

.logo {
    display:block;
    width:320px;
    height:320px;
    margin:0 auto;
}


#colorize {
    color:#f1c40f;
    font-family:'Lato',sans-serif;
    font-size:40px
}



/* BIG VIDEO BACKGROUND
================================================== */
.big-background {
    z-index:550;
    text-align:center;
    height:100%;
    min-height:100%;
    position:relative;
    overflow:hidden;
}

.big-background .big-background-container {
    width:830px;
    max-width:100%;
    display:inline-block;
    position:absolute;
    top:50%;
    left:50%;
    -webkit-transform:translate(-50%,-50%);
    -moz-transform:translate(-50%,-50%);
    -ms-transform:translate(-50%,-50%);
    -o-transform:translate(-50%,-50%);
    transform:translate(-50%,-50%)
}

.big-background-title {
    font-family:'Raleway',sans-serif;
    font-size:78px;
	line-height:90px;
    color:#fff;
    font-weight:300;
    text-transform:uppercase;
    text-align:center;
    margin-bottom:22px;
    padding-top:20px;
    display:inline-block;
    background-attachment:scroll;
    background-repeat:repeat-x;
    background-position:top center;
	filter:alpha(opacity=50);
    -moz-opacity: 0.5;
    opacity: 0.5;
}

a.big-background-btn {
    font-family:'Lato',sans-serif;
    font-size:13px;
    text-transform:uppercase;
    text-decoration:none;
    color:#fff;
    background:transparent;
    border:2px solid #fff;
    padding:10px 14px;
    cursor:pointer;
    letter-spacing:2px;
    text-align:center;
    display:inline-block;
    -webkit-transition:.4s background ease;
    -moz-transition:.4s background ease;
    -o-transition:.4s background ease;
    transition:.4s background ease;
}

.big-background-btn:hover {
    color:#fff;
    background:rgba(255,255,255,0.20)
}

.big-background-default-image {
    background:url(../images/bg-top.jpg);
    background-repeat:no-repeat;
    background-position:center center;
    background-size:cover;
    width:100%;
    height:100%;
    z-index:0;
    backface-visibility:hidden
}


/* menu ------------------*/

#header {
	background:#f3f3f3;
	position:fixed;
	width:100%;
	z-index:9999;
}


.logo-head {
	display:block;
  width: auto;
	float:left;
}

.lang {
	display:block;
	float:right;
	font-size:12px;
	line-height:12px;
	clear:right;
}
.lang a {
	display:inline-block;
	padding:7px;
	color:#000;
	text-decoration:none;
	margin-right:20px;
}
.lang a:hover, .lang a.current {
	color:#FFF;
	background:#000;
}

#toggle{ 
 display: none;
}

#menu{
  display: block;
  width: auto;
  margin: 0;
  float:right;
  clear:right;
}
#menu li{
  float: left;
  width:auto;
  margin: 18px 0;
  padding: 0;
  border-left:solid 1px #000;
}
#menu li:nth-child(1){
  border-left:none;
}
#menu li a{
  font-weight: 700;
  display: block;
  padding:2px 20px 2px;
  color:#000;
  font-family: Montserrat, sans-serif;
  font-size:15px;
  text-decoration:none;
  line-height:15px;
  overflow:hidden;
}
#menu li a:hover, #menu li a.current{
  color:#162C68;
}
#menu li.icon a {
  padding:14px 7px 14px;
  line-height:22px;
	float:left;
}





/* ABOUT SECTION
================================================== */
.about-section {
    font-family:"メイリオ", Meiryo, 'Lato',sans-serif;
    color:#000;
    background:#F3F3F3;
    padding:60px 20px 7px;
}


.about-section-container {
    text-align:center;
    padding-bottom:50px
}

.about-section-title {
    font-family:"メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    font-size:30px;
	font-weight:400;
    color:#000;
    padding:0 35px;
    margin-bottom:22px;
    text-transform:uppercase
}
.ai {
    color:#FFF;
}
.about-section-title span {
	display:block;
	font-size:12px;
	line-height:16px;
	margin-top:10px;
}



a.about-section-btn {
    font-family:'Lato',sans-serif;
    font-size:13px;
    text-transform:uppercase;
    text-decoration:none;
    color:#34495e;
    background:transparent;
    border:2px solid #34495e;
    padding:10px 14px;
    cursor:pointer;
    letter-spacing:2px;
    text-align:center;
    display:inline-block;
    -webkit-transition:.4s background ease;
    -moz-transition:.4s background ease;
    -o-transition:.4s background ease;
    transition:.4s background ease;
}

.about-section-btn:hover {
    color:#fff;
    background: #34495e;
}


#introduction {
	padding-top:50px;
	text-align:center;
}


/* INTRODUCTION SECTION
================================================== */
.intro-section {
    font-family:"メイリオ", Meiryo, 'Lato',sans-serif;
    color:#FFF;
    background:#000;
    padding:0 0 50px;
}

.sl-l {
	width:60%;
	float:left;
	margin-bottom:60px;
	clear:left;
}
.txt-r {
	width:36%;
	padding:40px 2%;
	float:right;
	clear:right;
	
}
.txt-l {
	width:36%;
	padding:40px 2%;
	float:left;
	clear:left;
	
}
.sl-r {
	width:60%;
	float:right;
	margin-bottom:60px;
	clear:left;
}
.tit-intro {
	font-size:24px;
	font-weight:400;
	text-align:center;
	margin-bottom:24px;
}



/* SMALL VIDEO BACKGROUND 
================================================== */
.small-background-section {
    font-family:'Raleway',sans-serif;
    padding:100px 0;
    position:relative;
    width:100%;
    overflow:hidden;
	background:url(../images/usa01.jpg) no-repeat;
	-moz-background-size:cover;
background-size:cover;
}

.small-background-container {
    position:relative;
    text-align:center
}

.small-background-title {
    font-size:40px;
	line-height:1.5em;
    color:#f1c40f;
    font-weight:300;
    z-index:10;
    display:inline-block;
    text-transform:uppercase;
    margin-bottom:20px;
    margin-top: 20px;
    position:relative;
    background-attachment:scroll;
    background-repeat:repeat-x;
    background-position:top center
}



/* SOCIALS
================================================== */
.socials a {
    color:#fff
}

.socials a:hover {
    color:#bdc3c7
}

.section-access {
	width:90%;
	margin:0 auto;
	padding:20px;
	color:#000;
}
.section-access img.p-left {
	width:48%;
	margin-right:5%;
	float:left;
}
.p-right {
	width:47%;
	float:left;
	text-align:left;
}
.b18 {
	font-family:Arial, Helvetica, sans-serif;
	font-size:22px;
	font-weight:800;
	margin-bottom:15px;
	color:#000;
}

a.tellink {
	font-size:18px;
	color:#000;
	text-decoration:none;
	font-weight:bold;
}
.instagram-placeholder {
	float: left;
}

.fa-ameba-square {
	background:url(../images/ico-ameba.png) no-repeat left bottom;
	width:40px;
	height:64px;
	padding-top:20px;
	margin-bottom:-4px;
}
.fa-ameba-square:hover {
    filter:alpha(opacity=70);
    -moz-opacity: 0.7;
    opacity: 0.7;
	
}

#btPlay {
	cursor: pointer;
	width: 90px;
	margin:0 auto 50px;
}

.about-sectionai {
    font-family:"メイリオ", Meiryo, 'Lato',sans-serif;
    color:#FFF;
    background:#0D2F44;
    padding:60px 20px 7px;
}


/* MEDIA QUERIES
================================================== */

@media screen and (max-width: 768px) {
	
.lang a {
	margin-right:0;
}	
	
.about-section-title {
    line-height:1
}

/* menu ------------------*/

.logo-head {
	display:none;
}

.spview {
	display:block;
}

.logo {
    background-image:url(../images/logo.png);
	-moz-background-size:contain;
background-size:contain;
    display:block;
    width:240px;
    height:180px;
    margin:0 auto;
}

#menu{
    display: none;
    width: 100%;
  }

#menu li{
    width: 100%;
	float:none;
    list-style-type: none;
	text-align:center;
  }
#menu li a{
    display: block;
    width: 100%;
  padding:11px 10px 10px;
  color:#000;
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  font-size:14px;
  text-decoration:none;
  line-height:16px;
  overflow:hidden;
}

#menu li.icon a {
  padding:7px 5px 8px;
  line-height:22px;
	float:left;
}
a.fb {
	margin-left:30px;
}
/*
#menu li a img {
	-webkit-filter: invert(100%);
    -moz-filter: invert(100%);
    -o-filter: invert(100%);
    -ms-filter: invert(100%);
    filter: invert(100%);
}
*/

#menu li.icon a:hover {
	background:none;
}
/*
#menu li a:hover img {
	-webkit-filter: invert(0%);
    -moz-filter: invert(0%);
    -o-filter: invert(0%);
    -ms-filter: invert(0%);
    filter: invert(0%);
}
*/
#toggle{
  display: block;
  position: relative;
  width: 30px;
  background: transparent;
  text-align: left;
  padding:5px auto 5px 0;
}
#toggle a{
  display: block;
  position: relative;
  margin: 0;
  height:30px;
 width:30px;
  padding: 12px auto 13px 0;
  color: #000;
  text-align: left;
  text-decoration: none;
}
#toggle:before{
    display: block;
    content: "";
    position: absolute;
    top: 50%;
    left: 10px;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    background: #000;
  }
#toggle a:before, #toggle a:after{
    display: block;
    content: "";
    position: absolute;
    top: 50%;
    left: 10px;
    width: 20px;
    height: 4px;
    background: #FFF;
  }
#toggle a:before{
    margin-top: -6px;
  }
#toggle a:after{
    margin-top: 2px;
  }
  
  
/* ABOUT SECTION
================================================== */
.about-section {
    font-family:'Lato',sans-serif;
    color:#7f8c8d;
    background:#fff;
    padding:20px 20px
}

.about-section-container {
    text-align:center;
    padding-bottom:50px
}

.about-section-title {
    font-family:'Raleway',sans-serif;
    font-size:22px;
    color:#FFF;
    padding:0 35px;
    margin-bottom:22px;
    background-attachment:scroll;
    background-repeat:repeat-x;
    background-position:center center;
    text-transform:uppercase;
}





a.about-section-btn {
    font-family:'Lato',sans-serif;
    font-size:13px;
    text-transform:uppercase;
    text-decoration:none;
    color:#34495e;
    background:transparent;
    border:2px solid #34495e;
    padding:10px 14px;
    cursor:pointer;
    letter-spacing:2px;
    text-align:center;
    display:block;
	width:80%;
	margin:0 auto 10px;
    -webkit-transition:.4s background ease;
    -moz-transition:.4s background ease;
    -o-transition:.4s background ease;
    transition:.4s background ease;
}

.about-section-btn:hover {
    color:#fff;
    background: #34495e;
}

.section-access img.p-left {
	width:100%;
	margin-right:0;
	margin-bottom:30px;
	float:none;
}
.p-right {
	width:100%;
	float:none;
	text-align:left;
}




.sl-l {
	width:100%;
	float:none;
	margin-bottom:30px;
	clear:left;
}
.txt-r {
	width:96%;
	padding:0 2% 40px;
	float:none;
	clear:right;
	
}
.txt-l {
	width:96%;
	padding:0 2% 40px;
	float:none;
	clear:left;
	
}
.sl-r {
	width:100%;
	float:none;
	margin-bottom:30px;
	clear:left;
}







.instagram {
	overflow: hidden;
	width: 600px;
	margin: 30px auto 50px;
	position:relative;
}
.instagram a img {
	width:200px;
	height:200px;
	overflow:hidden;
}

}

@media screen and (max-width: 480px) {


.big-background-title {
    font-size:58px
}

.small-background-title {
    line-height:1
}

.pattern {
    background-image:none;
    background-repeat: repeat;
    background-attachment:scroll;
    width:100%;
    height:100%;
    position:absolute;
    top:0;
    left:0
}


.instagram {
	overflow: hidden;
	width: 300px;
	margin: 30px auto 50px;
	position:relative;
}
.instagram a img {
	width:150px;
	height:150px;
	overflow:hidden;
}
/*.instagram a:nth-child(4n) img{
	margin-right:0 0 30px 0;
}*/




/*.player{ display: none;}  -> If you want to remove the video bg on a specific viewport w/o plugin*/
}

@media screen and (max-width: 360px) {
.big-background-title,#colorize {
    line-height:1
}
}

@media screen and (max-width: 320px) {
.small-background-title {
    font-size:30px
}
}

@media only screen and (min-width: 900px) {
	.instagram {
	overflow: hidden;
	width: 900px;
	margin: 30px auto 50px;
	position:relative;
}
.instagram a img {
	width:150px;
	height:150px;
	overflow:hidden;
}
}


@media only screen and (min-width: 1200px) {
	.instagram {
	overflow: hidden;
	width: 1200px;
	margin: 30px auto 50px;
	position:relative;
}
.instagram a img {
	width:200px;
	height:200px;
	overflow:hidden;
}
}
