/**
* Table of Contents:
*
* 01.0 - Global
* 02.0 - Header
* 03.0 - Drawer with menu
* 04.0 - Parallax styles
* 05.0 - Recent works
* 06.0 - Services
* 07.0 - Blog
* 08.0 - Testimonials
* 09.0 - Contact
* 10.0 - Footer
* 11.0 - Responsive styles
* -----------------------------------------------------------------------------
*/


/* ///////////////////////////////////////////////////////////////////// 
//  01 - Global 
/////////////////////////////////////////////////////////////////////*/

* {outline: none !important;}

::selection {
	background-color: #475B6F;
	color: #fff;
}

html {
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	-webkit-text-size-adjust: none;
	-ms-text-size-adjust: none;
	overflow-y: scroll;
}

body {
	color: #6a6a6a;	
	background: #f1f0f0;
}

p {margin: 0 0 20px 0;	}

img {max-width: 100%;}

a {
	text-decoration: none;
	outline: none;
}

a{	
	color: #4da7ca;
	-o-transition: all .4s;
	-ms-transition: all .4s;
	-moz-transition: all .4s;
	-webkit-transition: all .4s;
	transition: all .4s;
}

a:hover {
	color: #4290ae;	
}


h1, h2, h3, h4, h5, h6{		
	margin: 0 0 15px 0;	
	color: #3A4F52;
	font-family: 'Alegreya Sans';
}

.btn{border-radius: 0;}
.btn-o {
    border: 1px solid #3A4F52;
    color: #3A4F52;
}
.btn-o:hover {
    background: #3A4F52;
    color: white;
}
.btn.btn-o-white {
    border: 1px solid white;
    color: white;
    background: transparent;
}
.btn.btn-o-white:hover {
    background: white;
    color: #6a6a6a;
}


/*////////////////////////////////////////////////////////////////////////
//  02 - Header
///////////////////////////////////////////////////////////////////////*/

#header {	
	position: relative;
	padding: 0 !important;
}

#header.header-wrapper {
	background: url(../images/header-bg.jpg) no-repeat center center;
	background-size: cover;
	display: table;
	height: 100vh;
	width: 100%;
	position: relative;
	z-index: 1;
	overflow-x: hidden; 
}
/* t2 */
#header.header-wrapper::before {
	content: '';
	position: absolute;
	top:0;
	right:0;
	bottom:0;
	left:0;
	background-color: rgba(32, 32, 0, 0.3);
}
#header.header-wrapper.notice::before {
		content: '';
	position: absolute;
	top:0;
	right:0;
	bottom:0;
	left:0;
	background-color: rgba(32, 32, 0, 0.7);
}
#header.header-wrapper.portfolio_01 {	background: url(../images/01.jpg) no-repeat center center;	}
#header.header-wrapper.portfolio_07 {	background: url(../images/07.jpg) no-repeat center center;	}
#header.header-wrapper.portfolio_02 {	background: url(../images/02.jpg) no-repeat center center;	background-size: cover;	}
#header.header-wrapper.portfolio_08 {	background: url(../images/08.jpg) no-repeat center center;	}
#header.header-wrapper.portfolio_09 {	background: url(../images/09.jpg) no-repeat center center;	background-size: cover;	}
#header.header-wrapper.portfolio_10 {	background: url(../images/10.jpg) no-repeat center center;	}
#header.header-wrapper.portfolio::before {	background-color: rgba(0, 70, 70, 0.6);	}
#header.header-wrapper.portfolio_01::before {	background-color: rgba(0, 70, 10, 0.3);	}
#header.header-wrapper.portfolio_07::before {	background-color: rgba(86, 5, 17, 0.5);	}
#header.header-wrapper.portfolio_02::before {	background-color: rgba(45, 15, 60, 0.5);	}
#header.header-wrapper.portfolio_08::before {	background-color: rgba(128, 70, 16, 0.5);	}
#header.header-wrapper.portfolio_09::before {	background-color: rgba(40, 38, 42, 0.5);	}
#header.header-wrapper.portfolio_10::before {	background-color: rgba(214, 7, 128, 0.5);	}
.fade {
	opacity : 0;
	transition: opacity 3s;
}
.fade.view {
	opacity: 1;
}
.shadow {
	text-shadow: 1px 2px 3px #333333;
	text-shadow: 1px 2px 3px #333333;
}
/* //t2 */

@media screen and (max-width: 767px) and (orientation: landscape) {
    #header.header-wrapper {
		height: auto;
		min-height: 100vh;
		padding: 0px; 
	} 
}

#header.header-wrapper .header-wrapper-inner {
    display: table-cell;
    text-align: center;
    vertical-align: middle; 
}

#header .top {
	position:fixed;
	top:0;
	width: 100%;
	padding: 30px;
	height: auto;
	z-index: 500;
	-o-transition: all .5s;
	-ms-transition: all .5s;
	-moz-transition: all .5s;
	-webkit-transition: all .5s;	
	transition: all .5s;		
}

#header .top.solid {
    /*	background: #475B6F;	*/
	/* t2 */
    background: #002053;
	/* //t2 */
    padding-top: 15px;
    padding-bottom: 15px;
	z-index:1000;
}

#header .top h1{
	margin-bottom: 0;
}
#header .top.solid .toggleDrawer i {
    padding-top: 8px;
}

#header .logo, #header .toggleDrawer{
	font-family: 'Alegreya SC';
	color: white;
}
/* t2 */
.toggleDrawer {
	cursor: pointer;
}
/* //t2 */

/* t2 */
#header .center {
	position:relative;
	top:auto;
	right:auto;
	z-index: 500;
	-o-transition: all .5s;
	-ms-transition: all .5s;
	-moz-transition: all .5s;
	-webkit-transition: all .5s;	
	transition: all .5s;
}
/* //t2 */

#header .slogan {
	font-size: 4em;
	margin-bottom: 15px;
	line-height: 1em;
	font-family: 'Nixie One';
	color: white;
}

#header .secondary-slogan{
	font-size: 1.6em;
	color: rgba(255,255,255,0.8);
	line-height: 1.5em;
	font-family: 'Alegreya SC';
	margin-left: 1em;
	margin-right: 1em;
}

#header .bottom {
    bottom: 10%;
	display: block;
	position: absolute;
	width: 100%;
	z-index: 3;
}
#header .bottom a img {
    width: 50px;
}
#header .bottom a {
    opacity: 0.7;
}
#header .bottom a:hover {
    opacity: 1;
}


/*////////////////////////////////////////////////////////////////////////
//  03 - Drawer with menu
///////////////////////////////////////////////////////////////////////*/

#drawer-right {
    position: fixed;
    right: 0;
    top: 0;
    bottom: 0;
    margin-right: -300px;
    /* background: #2B3E51; */
	/* t2 */
    background: #000c2b;
	/* //t2 */
    width: 300px;
    padding: 20px;
    z-index: 999;
}

#drawer-right h1, #drawer-right h2{color: white;}

#drawer-right .nav-pills>li>a {
	font-size: 18px;
	border-radius: 0;
}

#drawer-right .social{margin-top: 30px}
#drawer-right .social ul {
    list-style: none;
    padding-left: 20px;
}
#drawer-right .social ul > li {
    display: inline-block;
}
#drawer-right .social ul > li > a:hover{
	color: white;
}



/*////////////////////////////////////////////////////////////////////////
//  04 - Parallax styles
///////////////////////////////////////////////////////////////////////*/

.content-block{
	background:transparent no-repeat center center fixed;
	-webkit-background-size:100%;
	-moz-background-size:100%;
	-o-background-size:100%;
	background-size:100%;
	background-size:cover;
	-webkit-background-size:cover;
	-moz-background-size:cover;
	-o-background-size:cover;
	overflow:hidden;
	padding: 60px 0;
}
.parallax{
	padding: 80px 0;
}

.block-body {
	margin-top: 60px;
}

#services {
	background-image: url(../images/services_min.jpg);
	color: white;
	position: relative;
}
/* t2 */
#services::before {
	content: '';
	position: absolute;
	top:0;
	right:0;
	bottom:0;
	left:0;
	background-color: rgba(0, 4, 16, 0.8);
}
#services .container {
	position:relative;
}
#services .block-heading {
	position: absolute;
	top:0;
	left:0;
	right:0;
}
#services .block-body {
	margin-top: 190px;
}
/* //t2 */

#parallax {
	background-image: url(../images/blue_mac2.jpg);
	color: white;
}
#contact {
	/* background-image: url(../images/newsletter-bg.png); */
	/* t2 */
	background-image: url(../images/contactus_min.jpg);
	/* //t2 */
	color: white;
	background-color: #405162;
	position: relative;
}
/* t2 */
#contact::before {
	content: '';
	position: absolute;
	top:0;
	right:0;
	bottom:0;
	left:0;
	background-color: rgba(0, 4, 16, 0.1);
}
/* //t2 */

#parallax h1{
	margin-bottom: 60px;
	color: white;
}




/*////////////////////////////////////////////////////////////////////////
//  05 - Recent works
///////////////////////////////////////////////////////////////////////*/

.recent-work {
    width: 100%;
    padding-bottom: 27%;
    background: #C3C9CC;
    display: table;
    text-align: center;
    vertical-align: middle;
    padding-top: 27%;
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    margin-bottom: 30px;
}

.recent-work span{
	margin-top: -18px;
	opacity: 0;
	position: relative;
	/* t2, スマホの時にTOHOバー上にくるので背面へ
	*	z-index: 1;
	*/
}
.recent-work:before {
    background: rgba(2, 56, 58, 0.7);
    height: 100%;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    content: '';
    opacity: 0;
    -o-transition: all .2s;
	-ms-transition: all .2s;
	-moz-transition: all .2s;
	-webkit-transition: all .2s;
	transition: all .2s;
}
.recent-work:hover {
    background-size: 200%;
    background-position: center;
}
.recent-work:hover:before, .recent-work:hover span {
    opacity: 1;
}





/*////////////////////////////////////////////////////////////////////////
//  06 - Services
///////////////////////////////////////////////////////////////////////*/

#services h1, #services h2{
	color: white;
}
.service i {
    font-size: 60px;
}
.service {
    padding: 0 25px;
}




/*////////////////////////////////////////////////////////////////////////
//  07 - Blog
///////////////////////////////////////////////////////////////////////*/


#blog .blog-post img {
    margin-bottom: 20px;
}
#blog .date {
    margin-bottom: 15px;
    font-style: italic;
}
/* t2 */
#blog img {
	/*
	width: 360px;
	height: 216px;
	*/
	width: 100%;
	height: 300px;
	object-fit: cover;
}



/*////////////////////////////////////////////////////////////////////////
//  08 - Testimonials
///////////////////////////////////////////////////////////////////////*/


#testimonials{
	text-align: center;
}
#testimonials .testimonial > img {
    border-radius: 100%;
    margin-bottom: 15px;
}
#testimonials .testimonial {
	padding: 25px;
}


/*////////////////////////////////////////////////////////////////////////
//  09 - Contact
///////////////////////////////////////////////////////////////////////*/


#contact{
	color: white;
}
#contact h1{color: white}

.form-control-white {
    background: transparent;
    color: white;
}

.form-control-white::-webkit-input-placeholder { /* WebKit browsers */
    color:    white;
}
.form-control-white:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color:    white;
    opacity:  1;
}
.form-control-white::-moz-placeholder { /* Mozilla Firefox 19+ */
    color:    white;
    opacity:  1;
}
.form-control-white:-ms-input-placeholder { /* Internet Explorer 10+ */
    color:    white;
}


/*////////////////////////////////////////////////////////////////////////
//  10 - Footer
///////////////////////////////////////////////////////////////////////*/


#footer{
	/* background: #2B3E51; */
	/* t2 */
    background: #000c2b;
	/* //t2 */

	color: white;
}



/*////////////////////////////////////////////////////////////////////////
//  11 - Responsive styles
///////////////////////////////////////////////////////////////////////*/


@media (max-width: 767px){
	#header .slogan {
		font-size: 2.8em; 
	} 

	#header .secondary-slogan {
		font-size: 1.2em;
	}

	#header .bottom {
		bottom: 13%;
	}

	.blog-post {
		margin-bottom: 40px;
	}

	.recent-work {
		background-position: center;
	}

	.recent-work:before {
		opacity: 1;
	}

	.recent-work span {
		opacity: 1;
	}
}

@media (max-width: 480px) {
	#drawer-right {
		padding: 10px 20px;
	}

	#drawer-right .nav-pills>li>a {
		font-size: 17px;
	}

	.nav-stacked>li+li {
		margin-top: 0;
	}

	.nav>li>a {
		padding: 8px 15px;
	}

	#drawer-right .social {
		margin-top: 5px;
	}

	#header {
		background-size: cover;
	}
}



/* t2 */
/* --Other-- */
.none {
	display: none;
}
.center {
	text-align: center;
}

/* --Go Page Top-- */
#page-top {
    position: fixed;
    right: 90px;
    bottom: 20px;
    font-size: 2rem;
    line-height: 1rem;
    background: #fff;
    color: #737373;
    padding: 8px 12px 14px 12px;
    border: solid 1px;
    border-radius: 50%;
    box-shadow: 0 2px 10px -6px rgba(0,0,0,.5), 0 3px 10px -4px rgba(0,0,0,.2);
	opacity: 0.6;
}

  /* //t2 */
