@charset "utf-8";
/* CSS Document */

body {
	background: #040506;
	-webkit-text-size-adjust: 100%;
}

/* Container */

#container {
	position: relative;
}

/* Menu Button */

.menu-btn{
    width: 25px;
	color: #eeeaea;
	text-align: center;
	cursor: pointer;
    top: 35px;
    left: 30px;
	position: fixed;
	z-index: 99999;
}
.menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #eeeaea;
    font-size: 0px;
    -moz-user-select: none;
	-webkit-transform: background-color 0.3s ease 0s;
	-moz-transform: background-color 0.3s ease 0s;
	-o-transform: background-color 0.3s ease 0s;
	-ms-transform: background-color 0.3s ease 0s;
    transition: background-color 0.3s ease 0s;
}
.menu-btn span:before, .menu-btn span:after {
    position: absolute;
    left: 0px;
    width: 100%;
    height: 100%;
    background: #eeeaea;
    content: "";
	-webkit-transform: transform 0.3s ease 0s;
	-moz-transform: transform 0.3s ease 0s;
	-o-transform: transform 0.3s ease 0s;
	-ms-transform: transform 0.3s ease 0s;
    transition: transform 0.3s ease 0s;
}
.menu-btn span:before {
	-webkit-transform: translateY(-350%);
	-moz-transform: translateY(-350%);
	-o-transform: translateY(-350%);
	-ms-transform: translateY(-350%);
    transform: translateY(-350%);
}
.menu-btn span:after {
	-webkit-transform: translateY(370%);
	-moz-transform: translateY(370%);
	-o-transform: translateY(370%);
	-ms-transform: translateY(370%);
    transform: translateY(370%);
}
.menu-btn.active span {
    background-color: transparent;
	z-index: 9999;
}
.menu-btn.active span:before {
	-webkit-transform: translateY(0px) rotate(45deg);
	-moz-transform: translateY(0px) rotate(45deg);
	-o-transform: translateY(0px) rotate(45deg);
	-ms-transform: translateY(0px) rotate(45deg);
    transform: translateY(0px) rotate(45deg);
}
.menu-btn.active span:after {
	-webkit-transform: translateY(0px) rotate(-45deg);
	-moz-transform: translateY(0px) rotate(-45deg);
	-o-transform: translateY(0px) rotate(-45deg);
	-ms-transform: translateY(0px) rotate(-45deg);
    transform: translateY(0px) rotate(-45deg);
}

ul.pager {
	position: fixed;
	top: 50%;
	right: 20px;
	margin: -29px 0 0 0;
	z-index: 99999;
}
ul.pager li {
	width: 8px;
	height: 8px;
	padding: 0 0 17px 0;
	float: none;
	clear: both;
}
ul.pager li a {
	width: 8px;
	height: 8px;
	display: block;
	text-indent: -9999px;
	background: #e5e0e0;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
	opacity: 0.3;
}
ul.pager li a.current {
	opacity: 1;
}

/* conts1 */

#conts1 {
	width: 100%;
	height: 100vh;
	background: url(../img/bg_01.jpg) top center no-repeat;
	-moz-background-size:cover;
	background-size:cover;
	position: relative;
}
#conts1 .contents_inner {
	width: 480px;
	height: 210px;
	margin: 0 auto;
	color: #fff;
	text-align: center;
	position: absolute;
	left: 50%;
	top: 40%;
	transform: translateX(-50%) translateY(-50%);
}
h1 {
	font-family: 'GFS Didot', serif;
	font-size: 72px;
	margin: 0 auto;
	padding: 40px 0 0 0;
	display: none;
	letter-spacing: 4px;
	color: #e8e3e3;
}
h2 {
	font-size: 16px;
	color: #e8e3e3;
	padding: 40px 0 0 0;
	display: none;
}
svg#lines {
	width: 480px;
	height: 210px;
	position: absolute;
	left: 0;
	top: 0;
}
#conts1 .contents_inner > a {
	width: 100%;
	height: 100%;
	display: block;
	font-size: 0;
	text-indent: -99999em;
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
}
#conts1 p.copy {
	width: 100%;
	height: auto;
	text-align: center;
	font-size: 11px;
	color: #e8e3e3;
	display: none;
	position: absolute;
	left: 0;
	bottom: 20px;
}

/* conts2 */

#conts2 {
	position: relative;
	overflow: hidden;
	margin: 0 0 0 -10%;
	padding: 0;
}
#conts2:before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 120%;
	height: 100%;
	margin: 0;
	background: #040506;
	-webkit-transform-origin: left center;
	-ms-transform-origin: left center;
	transform-origin: left center;
	-webkit-transform: rotate(-10deg);
	-ms-transform: rotate(-10deg);
	transform: rotate(-10deg);
	z-index: 0;
}
#conts2 img.gradation {
	width: 120%;
	height: 250px;
	position: absolute;
	z-index: 4;
	left: 0;
	top: 0;
}
@keyframes move-twink-back {
    from {background-position:0 0;}
    to {background-position:-10000px 5000px;}
}
@-webkit-keyframes move-twink-back {
    from {background-position:0 0;}
    to {background-position:-10000px 5000px;}
}
@-moz-keyframes move-twink-back {
    from {background-position:0 0;}
    to {background-position:-10000px 5000px;}
}
@-ms-keyframes move-twink-back {
    from {background-position:0 0;}
    to {background-position:-10000px 5000px;}
}

@keyframes move-clouds-back {
    from {background-position:0 0;}
    to {background-position:10000px 0;}
}
@-webkit-keyframes move-clouds-back {
    from {background-position:0 0;}
    to {background-position:10000px 0;}
}
@-moz-keyframes move-clouds-back {
    from {background-position:0 0;}
    to {background-position:10000px 0;}
}
@-ms-keyframes move-clouds-back {
    from {background-position: 0;}
    to {background-position:10000px 0;}
}
.stars, .twinkling, .clouds {
	position:absolute;
	top:0;
	left:0;
	right:0;
	bottom:0;
	width:120%;
	height:100%;
	display:block;
	-webkit-transform-origin: left center;
	-ms-transform-origin: left center;
	transform-origin: left center;
	-webkit-transform: rotate(-10deg);
	-ms-transform: rotate(-10deg);
	transform: rotate(-10deg);
}
.stars {
  background: #000 url(../img/stars.png) repeat top center;
  z-index:0;
  background-size: 50%;
}
.twinkling{
  background:transparent url(../img/twinkling.png) repeat top center;
  z-index:1;

  -moz-animation:move-twink-back 200s linear infinite;
  -ms-animation:move-twink-back 200s linear infinite;
  -o-animation:move-twink-back 200s linear infinite;
  -webkit-animation:move-twink-back 200s linear infinite;
  animation:move-twink-back 200s linear infinite;
}
.clouds{
    background:transparent url(../img/clouds.png) repeat top center;
    z-index:3;

  -moz-animation:move-clouds-back 200s linear infinite;
  -ms-animation:move-clouds-back 200s linear infinite;
  -o-animation:move-clouds-back 200s linear infinite;
  -webkit-animation:move-clouds-back 200s linear infinite;
  animation:move-clouds-back 200s linear infinite;
}
#conts2 .contents_inner {
	width: 1000px;
	height: auto;
	min-height: 750px;
	margin: 0 auto;
	padding: 0 0 0 10%;
	color: #fff;
	z-index: 5;
	position: relative;
	left: 0;
	top: 0;
}
#conts2 h3 {
	margin: 80px 0 0 0;
	font-size: 16px;
}
.grid {
	width: 1000px;
	height: 400px;
	padding: 60px 0 0 0;
}
.box {
	width: 300px;
	height: 400px;
	position: relative;
	display: inline-block;
	margin: 0 50px 0 0;
	cursor: pointer;
	text-align: center;
	float: left;
	overflow: hidden;
}
.box a {
	width: 294px;
	height: 34px;
	padding: 360px 0 0 0;
	display: block;
	position: absolute;
	text-align: left;
	font-size: 13px;
	text-indent: -50em;
	color: #FFF;
	left: 3px;
	top: 3px;
	z-index: 7;
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
	opacity: 0;
}
.box.map {
	background: url(../img/about_link01.png) center center no-repeat;
}
.box.map a {
	background: url(../img/about_link01_ov.png) center center no-repeat;
}
.box.works {
	background: url(../img/about_link02.png) center center no-repeat;
}
.box.works a {
	background: url(../img/about_link02_ov.png) center center no-repeat;
}
.box.blog {
	background: url(../img/about_link03.png) center center no-repeat;
	margin: 0;
}
.box.blog a {
	background: url(../img/about_link03_ov.png) center center no-repeat;
}

.box:hover a {
	opacity: 1;
	text-indent: 1.5em;
}

#conts2 .box h3 {
	width: 80%;
	height: auto;
	margin: 150px auto 50px auto;
	padding: 10px 0;
	display: block;
	color: #FFF;
	font-family: 'GFS Didot', serif;
	font-size: 21px;
	text-align: center;
	letter-spacing: 3px;
	border-top: #FFF solid 1px;
	border-bottom: #FFF solid 3px;
	position: relative;
	left: 0;
	-webkit-transition: left 0.5s;
	-moz-transition: left 0.5s;
	-o-transition: left 0.5s;
	transition: left 0.5s;
}
#conts2 .box:hover h3 {
	left: 100%;
}
.box span {
	font-size: 13px;
	padding: 0;
	left: 0;
	-webkit-transition: left 0.5s;
	-moz-transition: left 0.5s;
	-o-transition: left 0.5s;
	transition: left 0.5s;
	position: relative;
}
.box:hover span {
	left: 100%;
}

.box svg {
	position: absolute;
	top: 0;
	left: 0;
}
.box svg line {
	stroke-width: 3;
	stroke: #ecf0f1;
	fill: none;
	-webkit-transition: all .8s ease-in-out;
	transition: all .8s ease-in-out;
	opacity: 0.3;
}
.box:hover svg line {
	-webkit-transition-delay: 0.1s;
	transition-delay: 0.1s;
	opacity: 1;
}
.box svg line.top,
.box svg line.bottom {
	stroke-dasharray: 330 240; 
}
.box svg line.left,
.box svg line.right {
	stroke-dasharray: 490 400;
}

.box:hover svg line.top {
	-webkit-transform: translateX(-600px);
	transform: translateX(-600px);
}
.box:hover svg line.bottom {
	-webkit-transform: translateX(600px);
	transform: translateX(600px);
}
.box:hover svg line.left {
	-webkit-transform: translateY(920px);
	transform: translateY(920px);
}
.box:hover svg line.right {
	-webkit-transform: translateY(-920px);
	transform: translateY(-920px);
}

/* conts3 */

#conts3 {
	width: 100%;
	height: auto;
	margin: -19% 0 0 0;
	background: url(../img/bg_02.jpg) bottom center no-repeat;
	-moz-background-size:cover;
	background-size:cover;
	z-index: -1;
	overflow: hidden;
	text-align: center;
}
#conts3 .contents_inner {
	width: 100%;
	height: auto;
	margin: 0;
	padding: 0;
}
#conts3 h3 {
	width: 1000px;
	height: auto;
	text-align: right;
	margin: 10% auto 60px auto;
	padding: 20px 0 0 0;
	font-size: 16px;
	color: #e8e3e3;
}
#conts3 iframe {
	width: 100%;
	height: 900px;
	margin: 0 auto;
	position: relative;
	z-index: 9;
}

/* mail */

table.formTable {
	width: 700px;
	height: auto;
	margin: 0 auto;
	padding: 0;
	border: 3px solid #FFF;
	font-size: 9px;
	color: #e8e3e3;
	position: relative;
	z-index: 8;
}
table.formTable td {
	height: auto;
	padding: 10px 2%;
	border-bottom: 1px solid #FFF;
}
table.formTable td span {
	display: block;
}
table.formTable td.name {
	width: 50%;
	border-right: 1px solid #FFF;
}
table.formTable td.Message {
	border-bottom: none;
	position: relative;
	padding: 12px 2% 10px 2%;
}
table.formTable td.Message:after {
	border-top: 1px solid #FFF;
	width: 100%;
	top: 2px;
	left: 0;
	content: "";
	position: absolute;
}

table.formTable td.sbtn {
	height: 75px;
	padding: 0 1%;
	position: relative;
	text-align: right;
	overflow: hidden;
}
table.formTable td.sbtn:before {
	width: 300px;
	height: 150px;
	background: #FFF;
	position: absolute;
	top: 80px;
	right: -150px;
	display: block;
	content: "";
	-webkit-transform-origin: left top;
	-ms-transform-origin: left top;
	transform-origin: left top;
	-webkit-transform: rotate(-25deg);
	-ms-transform: rotate(-25deg);
	transform: rotate(-25deg);
	z-index: 6;
}

table.formTable input  {
	background: none;
	border: none;
	font-size: 12px;
	color: #e8e3e3;
	margin: 0;
	padding: 5px 0;
	cursor: text;
	font-family: 'Noto Sans Japanese', serif;
	letter-spacing: 0.15em;
	outline: none;
}
table.formTable input.address  {
	font-family: 'Noto Sans Japanese','Roboto', sans-serif;
	letter-spacing: 0.1em;
}
table.formTable input.submit  {
	border: none;
	font-size: 12px;
	color: #4c6c7b;
	margin: 50px 0 0 0;
	padding: 0;
	cursor: text;
	font-family: 'Roboto', sans-serif;
	position: relative;
	letter-spacing: 0.1em;
	z-index: 7;
	cursor: pointer;
}
table.formTable textarea  {
	width: 100%;
	height: 20em;
	background: none;
	border: none;
	font-size: 12px;
	color: #e8e3e3;
	margin: 0;
	padding: 5px 0;
	font-family: 'Noto Sans Japanese', serif;
	overflow: hidden;
	letter-spacing: 0.15em;
	outline: none;
	resize: none;
}

/* mailform */

body#mail {
	background: none;
	font-family:  'Roboto','Noto Sans Japanese', serif;
}
body#mail table {
	height: 500px;
}
body#mail table td.err {
	vertical-align: middle;
	height: 106px;
}
body#mail table td.thk {
	height: auto;
	text-align: center;
	vertical-align: middle;
	border-bottom: none;
}
body#mail p {
	font-family:  'Noto Sans Japanese', serif;
	color: #e8e3e3;
	font-size: 12px;
}
body#mail p.error_messe {
	font-size: 12px;
	padding: 5px 0 0 0;
}
body#mail a {
	width: 45px;
	margin: 50px 1em 0 0;
	display: block;
	color: #4C6C7B;
	font-size: 12px;
	letter-spacing: 0.1em;
	float: right;
	position: relative;
	z-index: 9;
}

/* modal */

.md-content iframe {
	width: 100%;
	height: 100px;
}
a.md-close {
	width: 25px;
	height: 25px;
	display: block;
	color: #EEEAEA;
	text-align: center;
	cursor: pointer;
	position: relative;
	top: -15px;
	left: 0;
	float: right;
}
a.md-close:before, a.md-close:after {
    position: absolute;
	top: 12.5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #EEEAEA;
    content: "";
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	transform: rotate(45deg);
	-webkit-transition: transform .3s ease 0s;
	-moz-transition: transform .3s ease 0s;
    transition: transform .3s ease 0s;
}
a.md-close:after {
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

a.md-close:hover:before {
	-webkit-transform: rotate(-135deg);
	-moz-transform: rotate(-135deg);
	transform: rotate(-135deg);
}
a.md-close:hover:after {
	-webkit-transform: rotate(135deg);
	-moz-transform: rotate(135deg);
	transform: rotate(135deg);
}

/* googlemap */

#modal-2 {
    position: fixed;
    top: 0;
    left: 0;
	width: 100%;
    height: auto;
    margin: 0;
	padding: 0;
    z-index: 0;
    visibility: hidden;
    backface-visibility: hidden;
}
#modal-2.md-show {
	visibility: visible;
    z-index: 200000;
}
#modal-2 a.md-close {
	color: #000;
	top: 20px;
	left: 0;
    z-index: 200001;
	margin: 0 20px 0 0;
}
#modal-2 a.md-close:before, #modal-2 a.md-close:after {
	background: #000;
}
#map{
    width: 100%;
    height: 100%;
	overflow: visible !important;
}
#map img {
	max-width: none;
}


@media screen and (max-width: 800px) {
	
	/* conts2 */
	
	#conts2 .contents_inner {
		width: 100%;
		height: auto;
	}
	#conts2 h3 {
		margin: 80px 0 0 25px;
	}
	.grid {
		width: 95%;
		margin: 0 0 0 25px;
		padding: 40px 0 0 0;
	}
	.box {
		width: 85%;
		height: 200px;
		margin: 0 2% 20px 0;
		border: #333 solid 1px;
		text-align: left;
	}
	.box.blog {
		margin: 0 2% 20px 0;
	}
	.box a {
		width: 100%;
		padding: 265px 0 0 0;
		text-indent: 1em;
		opacity: 0.7;
	}
	.box.map, .box.works, .box.blog {
		background: none;
	}
	.box.map a, .box.works a, .box.blog a {
		background-position: right bottom;
		background-size: 45% auto;
		left: 0;
		top: 0;
	}
	
	.box:hover a {
		text-indent: 1em;
	}
	
	#conts2 .box h3 {
		width: 45%;
		margin: 45px 0 25px 5%;
		border-top: none;
	}
	
	#conts2 .box:hover h3, .box:hover span {
		left: 0;
	}
	.box span {
		width: 45%;
		margin: 0 0 0 5%;
		display: block;
		text-align: center;
	}
	
	.box svg, .box span br {
		display: none;
	}
	#conts2:before, .stars, .twinkling, .clouds {
		top: 15px;
		left:-100px;
	}
	
	/* conts3 */
	
	#conts3 h3 {
		width: 94%;
		margin: 10% 6% 60px 0;
	}
	
	/* mail */
	
	table.formTable {
		width: 90%;
		height: auto;
		margin: 0 0 0 25px;
	}
	table.formTable textarea {
		height: 30em;
	}	
}

@media screen and (max-width: 550px) {
	
	.box.map a, .box.works a, .box.blog a {
		background-position: 110% bottom;
		background-size: auto 100%;
	}
	
	.md-content iframe {
		width: 100%;
		height: auto;
	}
}

@media screen and (max-width: 420px) {
	
	/* conts1 */
	
	#conts1 .contents_inner {
		width: 100%;
	}
	h1 {
		width: 65%;
		margin: 0 10%;
		padding: 25px 5% 20px 5%;
		font-size: 38px;
		border-left: #E5E0DF solid 3px;
		border-top: #E5E0DF solid 3px;
		border-right: #E5E0DF solid 3px;
	}
	h2 {
		width: 71%;
		margin: 0 10%;
		font-size: 10px;
		color: #e8e3e3;
		padding: 20px 2%;
		display: none;
		border-left: #E5E0DF solid 3px;
		border-top: #E5E0DF solid 1px;
		border-right: #E5E0DF solid 3px;
		border-bottom: #E5E0DF solid 3px;
	}
	svg#lines {
		display: none;
	}
	ul.gnavi {
		display: none !important;
	}
	#conts1 p.copy {
		padding: 150px 0 0 0;
		font-size: 9px;
	}
	
	/* conts2 */
	
	#conts2 h3 {
		width: 85%;
		margin: 25px 5% 0 0;
		text-align: right;
		font-size: 14px;
	}
	.grid {
		width: 85%;
		margin: 0 0 0 25px;
		padding: 30px 0 0 0;
	}
	.box {
		width: 85%;
		height: 110px;
		margin: 0 0 20px 0;
		border: #333 solid 1px;
		text-align: left;
	}
	.box.blog {
		margin: 0 0 20px 0;
	}
	.box a {
		width: 100%;
		height: 160px;
		padding: 0;
		text-indent: 1em;
		opacity: 0 !important;
	}
	.box.map, .box.map a, .box.works, .box.works a, .box.blog, .box.blog a {
		background: none;
	}
	
	.box:hover a {
		text-indent: 1em;
	}
	
	#conts2 .box h3 {
		width: 80%;
		margin: 15px auto 10px auto;
		padding: 10px 0;
		border-top: none;
	}
	.box span {
		width: 90%;
		margin: 0 0 0 5%;
		font-size: 9px;
	}
	.stars {
	  background-size: 100%;
	}
	
	/* conts3 */
	
	#conts3 h3 {
		width: 95%;
		margin: 5px 5% 30px 0;
		text-align: right;
		font-size: 14px;
	}
	
	/* mail */
	
	table.formTable {
		width: 80%;
		height: auto !important;
		overflow: hidden;
		margin: 0 0 0 30px;
	}
	table.formTable td {
		width: 100%;
		height: auto;
		padding: 10px 0;
		display: list-item;
		list-style: none;
	}
	table.formTable td.Message {
		padding: 12px 0 10px 0;
	}

	table.formTable td span {
		display: block;
		padding: 0 8px;
	}
	table.formTable td.name {
		width: 100%;
		border-right: none;
	}
	table.formTable input  {
		width: 100% !important;
	}
	
	table.formTable td.sbtn {
		height: auto;
		padding: 0;
	}
	table.formTable td.sbtn:before {
		width: 130px;
		height: 100px;
		right: -20px;
	}

	table.formTable input.submit {
		font-size: 10px;
		margin: 55px 0 0 0;
		padding: 0 3px 0 0;
		text-align: right;
	}
	table.formTable textarea  {
		width: 100%;
		height: 10em;
	}
	
	.md-content iframe {
		width: 100%;
		height: 110px;
	}
	
}

@media screen and (max-width: 320px) {
	
	ul.pager {
		right: 12px;
	}
	
	/* conts1 */
	
	#conts1 p.copy {
		padding: 230px 0 0 0;
		font-size: 9px;
	}
	
	/* conts2 */
	
	.box {
		height: 100px;
		margin: 0 0 10px 0;
	}
	.box a {
		height: 100px;
	}
	#conts2 .box h3 {
		font-size: 18px;
		margin: 10px auto;
	}
	
	/* mail */
	
	table.formTable textarea  {
		height: 6em;
	}
	
}

