/*
Theme Name: Flusk
Theme URI: http://themewagon.com/demo/Flusk/
Author: ThemeWagon
Author URI: http://themewagon.com/
Description: Slick One page HTML 5 template powered by Bootstrap 3.
Version: 1.14.11
License: GNU General Public License v3
License URI: http://www.gnu.org/licenses/gpl-3.0.txt
Tags: blur, white, one page, parallax, responsive-layout, full-width-template
Text Domain: flusk
*/

/**
* 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;*/
	font-family: "kozuka-gothic-pr6n", sans-serif;
	line-height:1.8;
}

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';*/
	font-family: "kozuka-gothic-pr6n", sans-serif;
	font-weight: bold;
}

.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;
}


@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;
	padding-top: 15px;
	padding-bottom: 15px;
}

#header .top h1 {
	margin-bottom: 0;
}

#header .top.solid .toggleDrawer i {
	padding-top: 8px;
}

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

#header .slogan {
	font-weight: bold;
	font-size: 6em;
	margin-bottom: 30px;
	line-height: 1em;
	/*font-family: 'Nixie One';*/
	color: rgb(46, 46, 46);
	/*text-shadow: 2px 2px #2c2c2c;*/
}

#header .secondary-slogan {
	font-size: 2em;
	color: rgb(53, 53, 53);
	line-height: 1em;
	/*font-family: 'Alegreya SC';*/
	/*text-shadow: 1.2px 1.2px #2c2c2c;*/
}


#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;
	width: 300px;
	padding: 20px;
	z-index: 999;
}

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

#drawer-right a {
	font-size: 20px;
	border-radius: 0;
	display: block;
	margin: 5px;
	padding: 5px;
}

#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: 20px;
}

#services {
	/*background-image: url(../images/traffic.jpg);*/
	color: white;
}

#parallax {
	background-image: url(../images/Cloth_wall_2.jpg);
	color: white;
}


#contact {
	background-image: url(../images/newsletter-bg.png);
	color: white;
	background-color: #405162;
}

#parallax h1 {
	font-size: 3em;
	margin-bottom: 60px;
	color: white;
}

#parallax p {
	font-size: 1.5em;
	color: white;
}





/*////////////////////////////////////////////////////////////////////////
//  05 - Recent works
///////////////////////////////////////////////////////////////////////*/
#portfolio h1,
#portfolio h2 {
	font-size: 3em;
}

#portfolio p {
	font-size: 1.5em;
}

.row {
	margin-top: 30px;
	margin-bottom: 30px;
}


.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;
	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;
}


#lightgallery {
	display: flex;
	flex-wrap: wrap;
	max-width: 1200px;
	/*最大の幅*/
	margin: 0 auto;
}

#lightgallery a {
	text-decoration: none;
	flex: 1 1 300px;
	/*１つの記事の大きさ*/
	margin: 0;
	padding: 0;
}

#lightgallery img {
	width: 100%;
}



/*////////////////////////////////////////////////////////////////////////
//  06 - Services
///////////////////////////////////////////////////////////////////////*/
section#service_all {
	width: 100%;
	height: 60vh;
	position: relative;
	overflow: hidden;
}

video#service_all {
	position: absolute;
	top: 0;
	left: 0;
	width: auto;
	height: auto;
	min-width: 100%;
	min-height: 60vh;
	background: url('assets/images/Ph-©-Marco-Menghi---woodskin-3.jpg') no-repeat;
	background-size: cover;
	z-index: -1;
}

/*動画よりも画面が縦に長くなるとき用*/
@media (max-aspect-ratio: 16/9) {
	video {
		height: 100%;
		left: 50%;
		transform: translateX(-50%);
	}
}


#services {
	background: rgba(0, 0, 0, 0.35);
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	margin: auto;
}

#services h1,
#services h2 {
	font-size: 3em;
	color: white;
	margin-bottom: 50px;
}

#services p {
	font-size: 1.5em;
	color: white;
}

.service i {
	font-size: 60px;
}

/*.service {
	padding: 0 25px;
}*/

.txt_history {
	width: 65vw;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translateY(-50%) translateX(-50%);
	-webkit- transform: translateY(-50%) translateX(-50%);
}

.datetime_memo{	font-size: 0.5em;}



/*////////////////////////////////////////////////////////////////////////
//  07 - openhouse
///////////////////////////////////////////////////////////////////////*/


#openhouse h1,
#openhouse h2 {
	font-size: 3em;
	margin-bottom: 30px;
	font-weight: bold;
}

#openhouse p {
	font-size: 1.5em;
}

.openhouse i {
	font-size: 60px;
}

.openhouse {
	padding: 0 25px;
}

.datetime {
	font-size: 1.3em;
	font-weight: bold;
}

.datetime_r {
	font-size: 1.3em;
	font-weight: bold;
	color: rgb(255, 83, 83);
}

table {
	width: 100%;
	font-size: 1.5em;
	font-weight: bold;
	border-collapse: collapse;
	border: none;
	letter-spacing: 1px;
}

caption {
	caption-side: bottom;
	padding: 10px;
	font-weight: bold;
}

thead,
tfoot {
	background-color: rgb(228 240 245);
}

th,
td {

	border: none;
	padding: 8px 4px;
	border-top: 0.5px solid #CCCCCC;

}

tr:first-child td,
tr:first-child th {
	border-top: none;
}


td:last-of-type {
	text-align: left;
}


tfoot th {
	text-align: right;
}

tfoot td {
	font-weight: bold;
}

iframe {
	transition: all 0.7s ease;
	width: 40vw;
	height: 40vh;
}

/*////////////////////////////////////////////////////////////////////////
//  08 - Variation
///////////////////////////////////////////////////////////////////////*/


#Variation {
	text-align: left;
}

#Variation .testimonial>img {
	border-radius: 100%;
	margin-bottom: 15px;
}

#Variation .testimonial {
	padding: 25px;
}

#Variation h1 {
	font-size: 3em;
	margin-bottom: 30px;
}

#Variation h2 {
	text-align: left;
	font-size: 3em;
	font-weight: bold;
	margin-bottom: 30px;
}

#Variation p {
	text-align: left;
	font-size: 1.5em;
}

.img_fold {
	width: 20vw;
	float: left;
	margin: 0 50px 50px 0;
}

.img_mesh {
	width: 20vw;
	float: left;
	margin: 0 50px 50px 0;
}


.img_tailor {
	width: 20vw;
	float: left;
	margin: 0 50px 50px 0;
}

.img_acostic {
	width: 20vw;
	float: left;
	margin: 0 50px 50px 0;
}


.left_clear {
	clear: both;
}

.lineup_content {
	margin-top: 40px;
}

.greeting {
	margin-top: 60px;
	width: 30vw;
}

/*////////////////////////////////////////////////////////////////////////
//  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;
	color: white;
}

/*////////////////////////////////////////////////////////////////////////
//  10 - ローディング
///////////////////////////////////////////////////////////////////////*/

#loading {
	transition: all 3s;
	/*ローディングにかかる時間*/
	background-color: #FFF;
	z-index: 999;
	position: fixed;
	inset: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}

.loading-text {
	font-weight: bold;
	text-align: center;
}

.spin {
	width: 64px;
	height: auto;
}

.loaded {
	opacity: 0;
	visibility: hidden;
}



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


@media (min-width: 768px) {
	.br-pc {
		display: none;
	}
}

@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;
	}

	p {
		font-size: 1em;
	}

	h1 {
		font-size: 2em;
	}


	#openhouse h1 {
		font-size: 2em;

	}

	#openhouse p {
		font-size: 1em;
	}

	table {
		width: 100%;
		font-size: 1em;
		font-weight: bold;
		border-collapse: collapse;
		border: none;
		letter-spacing: 1px;
	}

	iframe {
		width: 70vw;
		height: 30vh;
	}

	#services p {
		font-size: 1em;
	}

	#services h1 {
		font-size: 2em;
	}

	.txt_history {
		width: 80vw;
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translateY(-50%) translateX(-50%);
		-webkit- transform: translateY(-50%) translateX(-50%);
	}

	#portfolio h1 {
		font-size: 2em;
	}

	#portfolio p {
		font-size: 1em;
	}

	.col-sm-4 {
		margin-bottom: 30px;
	}
	.row {
		margin-top: 0;
		margin-bottom: 0;
	}

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

	#parallax h1 {
		font-size: 2em;
		margin-bottom: 60px;
		color: white;
	}

	#parallax p {
		font-size: 1em;
		color: white;
	}

	#Variation h1 {
		font-size: 2em;
		margin-bottom: 20px;
	}

	#Variation h2 {
		font-size: 1.5em;
		margin-bottom: 10px;
	}

	#Variation p {
		font-size: 0.8em;
	}

	.lineup_content {
		margin-top: 20px
	}

	.img_fold {
		width: 40vw;
		float: left;
		margin: 0 10px 10px 0;
	}

	.img_mesh {
		width: 40vw;
		float: left;
		margin: 0 10px 10px 0;
	}

	.img_tailor {
		width: 40vw;
		float: left;
		margin: 0 10px 10px 0;
	}

	.img_acostic {
		width: 40vw;
		float: left;
		margin: 0 10px 10px 0;
	}



	.greeting {
		width: 60vw
	}

}

@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;
	}


}