@charset "utf-8";
/* header */

#header{
	height: 100%;
	position: relative;
} 

#header:before{
  /*背景画像設定*/
	background-size:cover;
}

/***** main *****/

/* ▼works page▼ */
.works article {
	padding-top: 80px;
}

.works article:first-child {
	padding-top: 130px;
}

.works article:last-child {
	padding-bottom: 50px;
}

.works article h2 {
	font-size: 3rem;
	padding-bottom: 5px;
}

.works article p {
	font-size: 1.8rem;
	padding-bottom: 40px;
}

.works article img {
	width: 60%;
}

.white1,
.white2,
.white3,
.white4 {
	display: block;
	margin: 0 auto;
	width: 60%;
	border-radius: 20px;
	padding: 5px 0;
	margin-bottom: 30px;
	background-color: #fff; 
}

.white1 img,
.white2 img,
.white3 img,
.white4 img {
	border-radius: 0 !important;
	margin: 25px 25px -5px;
}

.white3 img {
	width: 180px !important;
}

.white4 img {
	margin: 25px 5px 0;
}


/* △works page△ */

/* ▼contact page▼ */

#contact {
	width: 60%;
	background-color: rgba(255,255,255,0.8);
	margin: 0 auto;
	padding: 100px 0 100px;
}

#contact h2 {
	font-size: 2.6rem;
	margin-bottom: 30px; 
}

#contact p {
	font-size: 1.4rem;
}


#form {
  width: 400px;
  margin: 50px auto 200px auto;
}

input {
  width: 370px;
  height: 50px;
}

textarea {
  width: 370px;
  max-width: 370px;
  height: 110px;
  max-height: 110px;
  padding: 15px;
}

#submit {
  width: 402px;
}
/* △contact page△ */


/* footer */

footer ul {
	display: flex;
	background-color: rgb(245,245,220);
}
	
footer ul li {
	display: block;
	width: calc(100%/3);
	height: 20px;
	border-left: 1px solid #fff;
	text-align: center;
	font-size: 1.4rem;
	float: left;
	padding: 20px 0 10px;}

footer ul li:first-child {
	border: none;
}

footer ul a {
	display: block;
	text-decoration: none;
}

/* ハンバーガーメニューのナビ開いてる時のボタン */
.hamburger.active{
  -webkit-transform: rotate(360deg);
  transform: rotate(360deg);
}
.hamburger.active span:nth-child(1) {
  top : 16px;
  left: 6px;
  background : #fff;
  -webkit-transform: rotate(-45deg);
  -moz-transform   : rotate(-45deg);
  transform        : rotate(-45deg);
}
.hamburger.active span:nth-child(2) {
  top: 16px;
  background : #fff;
  -webkit-transform: rotate(45deg);
  -moz-transform   : rotate(45deg);
  transform        : rotate(45deg);
}
.hamburger.active span:nth-child(3) {
  opacity: 0;
}

nav.globalMenuSp {
  position: fixed;
  z-index : 3;
  top  : 0;
  left : 0;
  color: #fff;
  background: rgba(255,130,80,0.8);
  text-align: center;
  width: 100%;
  opacity: 0;
  transition: opacity .6s ease, visibility .6s ease;
}

nav.globalMenuSp ul {
  margin: 0 auto;
  padding: 0;
  width: 100%;
}

nav.globalMenuSp ul li {
  list-style-type: none;
  padding: 0;
  width: 100%;
  transition: .4s all;
}
nav.globalMenuSp ul li:last-child {
  padding-bottom: 0;
}
nav.globalMenuSp ul li:hover{
	background : beige;
}

nav.globalMenuSp ul li a {
  display: block;
  color: #fff;
  padding: 1em 0;
  text-decoration :none;
}

nav.globalMenuSp ul li a:hover {
	color: rgb(255,130,80);
}

/* このクラスを、jQueryで付与・削除する */
nav.globalMenuSp.active {
  opacity: 100;
}
}
