* {font-family: "Montserrat","游ゴシック",YuGothic,"ヒラギノ角ゴ ProN W3","Hiragino Kaku Gothic ProN","メイリオ",Meiryo,sans-serif;}
body{-webkit-text-size-adjust: 100%;}

/* # =========================================
   # 01 Main img
   # ========================================= */
h1 img{
	width:200px;
	height:95px;
	float:left;
}
#mainImg {
	width: 100%;
	height: 0;
	padding-bottom: 60%;
	background:url(../images/maimImage.jpg);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
}
@keyframes tipsy {
  0 {  transform: translateX(-50%) translateY(-50%) rotate(0deg);}
  100% {transform: translateX(-50%) translateY(-50%) rotate(360deg);}
}
h2 {
	color:#fff;
	text-shadow:0 5px 15px rgba(46, 46, 49, 1);
	font-size: 80px;
	text-decoration: none;
	letter-spacing: 6px;
	margin: 0;
	position: absolute;
	top: 52%;
	left: 30%;
	transform: translateX(-50%) translateY(-90%);
}
h2 span{color:#003466; text-shadow:none;}

h2:before,
h2:after {
  content: "";
  padding:60px 10px;
  position: absolute;
  width: 120px;
  top: 49%;
  display: block;
  transform: translateX(-50%) translateY(-50%) rotate(0deg);
  animation: 40s infinite alternate ease-in-out tipsy;
}

h2:before {
	z-index: -1;
}

h2:after {
  border-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) #ff9c00 #ff9c00;
  box-shadow: 0 5px 35px rgba(46, 46, 49, 0.2);
}

#mainImg p {
	padding:0 0 0 5%;
	font-size:28px;
	color:#fff;
	text-shadow: 0 0 16px #000;
}

/* # =========================================
   # 02 profile
   # ========================================= */
#profile {
	max-width: 1200px;
	width:90%;
	margin:-7% auto 120px auto;
	padding:60px 5% 0 5%;
	background:#fff;
	z-index:200;
	border-radius: 6px;
}
h3 {
	padding:0 0 60px 0;
	font-weight:normal;
	text-align:center;
	font-size:36px;
	letter-spacing:0.3em;
}
h3:before {
	content: '';
	position: absolute;
	margin:70px 0 0 0;
	left: 50%;
	display: inline-block;
	width: 100px;
	height: 3px;
	-webkit-transform: translateX(-50%);
	transform: translateX(-50%);/*位置調整*/
	background-color: #ffcc00;
}
.company_info dt {
	padding: 40px 20px;
	width: 25%;
	float: left;
	font-weight:bold;
}
.company_info dd {
	padding: 40px 20px;
	border-bottom:1px solid #ccc;
}

/* # =========================================
   # 03 service
   # ========================================= */
#service {
	max-width: 1200px;
	background:url(../images/serviceImage.jpg) right top no-repeat;
	width:90%;
	margin:0 auto 120px auto;
	padding:0 5%;
}
#service p {
	margin-bottom:20px;
	line-height:2em;
	text-shadow: 0 0 10px #fff;
}
#service #serviceText {
	width:60%;
}

/* # =========================================
   # 04 contact
   # ========================================= */
#contact {
	width: 100%;
	height: auto;
	padding:80px 0 ;
	background:url(../images/contactBg.jpg);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
}
#contact #mailBox {
	max-width: 1000px;
	width:70%;
	margin:0 auto;
	padding:60px 5% 0 5%;
	text-align:center;
	background:#fff;
	border-radius: 6px;
}
/* btn */
.btn {
	letter-spacing:0.1em;
	width:50%;
	margin:30px 0 60px 0;
	padding:15px 0;
	color:#ff9c00;
	border:2px solid #ff9c00;
	display: inline-block;
	vertical-align: middle;
	-webkit-transform: translateZ(0);
	transform: translateZ(0);
	box-shadow: 0 0 1px rgba(0, 0, 0, 0);
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	-moz-osx-font-smoothing: grayscale;
	position: relative;
	-webkit-transition-property: color;
	transition-property: color;
	-webkit-transition-duration: 0.3s;
	transition-duration: 0.3s;
	border-radius: 6px;
}
.btn:before {
	content: "";
	position: absolute;
	z-index: -1;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: #ff9c00;
	-webkit-transform: scaleX(0);
	transform: scaleX(0);
	-webkit-transform-origin: 0 50%;
	transform-origin: 0 50%;
	-webkit-transition-property: transform;
	transition-property: transform;
	-webkit-transition-duration: 0.3s;
	transition-duration: 0.3s;
	-webkit-transition-timing-function: ease-out;
	transition-timing-function: ease-out;
}
.btn:hover, .btn:focus, .btn:active {
	color: white;
}
.btn:hover:before, .btn:focus:before, .btn:active:before {
	-webkit-transform: scaleX(1); transform: scaleX(1);
}

/* # =========================================
   # 0x footer
   # ========================================= */
#footerLogo {
	width:30%;
	padding:40px 0 0 5%;
	background:#fff;
	float:left;
}
#footerLogo img{
	width:125px;
	height:59px;
}
#footerLogo p {
	margin:20px 0 20px 0;
	font-size:14px;
}

#footerNav {
	width:70%;
	padding-right:5%;
	background:#fff;
	float:left;
}
#footerNav ul {
	float:right;
}
#footerNav li {
	float:left;
	color:#fff;
}
#footerNav a {
	padding:80px 30px;
	color: #000;
	display: block;
	-moz-transition: background-color .3s linear;
	-webkit-transition: background-color .3s linear;
	transition: background-color .3s linear;
}
#footerNav a:hover {
	color: #fff;
	background: rgba(255,156,0,.3);
}

/* # =========================================
   # 00 Hamburger
   # ========================================= */
#global-head {
	position: fixed;
	padding-top: 25px;
	padding-left:5%;
	z-index: 301;
}
#sidebar {
	width: 100%;
	padding: 40px 0;
	font-size: 18px;
	color: #fff;
	position: fixed;
	z-index:300;
	transition: background-color 0.2s;
}
#global-nav ul {
	float:right;
	padding:0 5% 0 0;
}
#global-nav ul li {
	float:left;
}
#global-nav a {
	padding:15px 30px;
	color: #000;
	display: block;
	-moz-transition: background-color .3s linear;
	-webkit-transition: background-color .3s linear;
	transition: background-color .3s linear;
}
#global-nav a:hover {
	color: #fff;
	background: rgba(255,156,0,.6);
}

/* nav-toggle */
#nav-toggle {
	display: none;
	position: fixed;
	top: 45px;
	right: 5%;
	height: 32px;
	background: rgba(255,255,255,.9);
	padding:15px 10px 40px 10px;
}
#nav-toggle > div {
	position: relative;
	width: 32px;
}
#nav-toggle span {
	width: 100%;
	height: 2px;
	left: 0;
	display: block;
	background: #999;
	position: absolute;
	-webkit-transition: .35s ease-in-out;
	-moz-transition: .35s ease-in-out;
	transition: .35s ease-in-out;
}

#nav-toggle span:nth-child(1) {	top: 0;}
#nav-toggle span:nth-child(2) {	top: 11px;}
#nav-toggle span:nth-child(3) {	top: 22px;}
#overlay {
	display: none;
	position: fixed;
	background: rgba(255,255,255,.9);
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}

/* # =========================================
   # btn toppage
   # ========================================= */

#page-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
	font-size:30px;
}
#page-top a {
    text-decoration: none;
    color: #000;
    padding: 10px 20px ;
    text-align: center;
    display: block;
	-webkit-transition: .35s ease-in-out;
	-moz-transition: .35s ease-in-out;
	transition: .35s ease-in-out;
}
#page-top a:hover {
    color: #fff;
    text-decoration: none;
	background: rgba(0,0,0,.1);
}

@media screen and (max-width: 1000px) {
/* # =========================================
   # 01 Main img
   # ========================================= */
h2 {
	font-size:420%;
	top:62%;
	-webkit-transition: .35s ease-in-out;
	-moz-transition: .35s ease-in-out;
	transition: .35s ease-in-out;}
#mainImg p {
	font-size:150%;
}

/* # =========================================
   # 02 profile
   # ========================================= */
h3 {
	font-size:40px;
}
.company_info dl {
	display: block;
	font-size: 150%;
}
.company_info dt {
	padding: 40px 0 20px 20px;
	width: 100%;
	border-bottom:none;
}
.company_info dd {
	padding: 0 0 40px 20px;
	width: 100%;
	border-bottom:1px solid #ccc;
}

/* # =========================================
   # 03 service
   # ========================================= */
#service {
	padding-bottom:450px;
	background:url(../images/serviceImage.jpg) center bottom no-repeat;
}
#service #serviceText {
	width:100%;
	font-size: 150%;
}
#service p {
	margin-bottom:35px;
}

#mailBox p {
	font-size: 150%;
}
.btn {
	font-size:150%;
}

/* # =========================================
   # 0x footer
   # ========================================= */
#footerLogo {
	width:100%;
	margin:0 auto;
	padding:70px 0 30px 5%;
	text-align:center;
	float:none;
}
#footerLogo img {
	width:auto;
	height:110px;
}
#footerLogo p {
	margin:40px 0;
	font-size:110%;
}

#footerNav {
	width:100%;
	padding-right:0;
	font-size: 26px;
}
#footerNav ul ,
#footerNav li {
	float:none;
}
#footerNav a {
	text-align:center;
	padding:40px 30px;
}

/* # =========================================
   # Hamburger
   # ========================================= */
#main-in {
	padding-left: 0;
}
#sidebar {
	position: fixed;
	padding-top: 80px;
	right: -300px;
	top: 0;
	height: 100%;
	width: 300px;
	color: #333;
	-webkit-transition: .35s ease-in-out;
	transition: .35s ease-in-out;
}
#nav-toggle {display: block;}
#global-nav a {
	padding:15px 50px;
	top: 25px;
	font-size: 250%;
}
#global-nav ul {
	padding:0;
}
.open {	overflow: hidden;}
.open #overlay {display: block;	}
.open #sidebar  {
	-webkit-transform: translate3d(-300px,0,0);
	transform: translate3d(-300px,0,0);
}
/* #nav-toggle close */
.open #nav-toggle span:nth-child(1) {
	top: 11px;
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	transform: rotate(45deg);
}
.open #nav-toggle span:nth-child(2) {
	width: 0;
	left: 50%;
}
.open #nav-toggle span:nth-child(3) {
	top: 11px;
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	transform: rotate(-45deg);
}
#overlay {	 z-index: 200;}
#sidebar {	 z-index: 300;}
#nav-toggle {z-index: 400;}

/* # =========================================
   # btn toppage
   # ========================================= */
#page-top a { display: none;}

}

@media screen and (max-width: 690px) {
/* # =========================================
   # 01 Main img
   # ========================================= */
h1 img{
	width:125px;
	height:59px;
}
h2 {
	font-size:50px;}
#mainImg p {
	font-size:16px;
}

/* # =========================================
   # 04 contact
   # ========================================= */
#contact {
	height:580px;
}
#contact #mailBox { width:90%; }
.btn { width:80%;
	font-size:120%;
}

}


/* # =========================================
   # animation
   # ========================================= */
.slow.fade-in {
	z-index:-1;
	-webkit-animation-fill-mode: both;
	-ms-animation-fill-mode: both;
	animation-fill-mode: both;
	-webkit-animation-duration: 1.5s;
	-ms-animation-duration: 1.5s;
	animation-duration: 1.5s;
	-webkit-animation-name: fid;
	animation-name: fid;
	visibility: visible !important;
}
@-webkit-keyframes fid {
  0% {
    opacity: 0;
    -webkit-transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
  }
}
@keyframes fid {
  0% {
    opacity: 0;
    -webkit-transform: translateY(-20px);
    -ms-transform: translateY(-20px);
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
  }
}



.grayAnime {
	width:600px;
	animation: img-opacity 1s cubic-bezier(.4, 0, .2, 1);
	overflow: hidden;
	position: relative;
}

.grayAnime:before {
	animation: grayAnime 1s cubic-bezier(.6, 0, .3, 1) forwards;
	background: #ececec;
	bottom: 0;
	content: '';
	left: 0;
	pointer-events: none;
	position: absolute;
	right: 0;
	top: 0;
	z-index: -1;
}

@keyframes img-opacity {
	0% { opacity: 0; }
}

@keyframes grayAnime {
	100% { transform: translateX(100%); }
}
