
@charset "utf-8";
html {
	font-size: 62.5%;
}

body {
	font-family: 'Sawarabi Mincho', serif;
	font-size: 1rem;
	color: #666;
}

.clearfix::after {
	content: "";
	display: block;
	clear: both;
}


/* ヘッダー */

#menu {
	width: 100%;
	height: 74px;
	z-index: 2;
	background-color: rgba(245,245,220,0.9);
	position: fixed;
}

h1 {
	float: left;
	margin-top: 20px;
	margin-left: 25px;
}

nav {
	float: right;
}

nav ul {
	width: 400px;
	display: flex;
}

nav ul li {
	border-right: 2px solid #999;
	margin-top: 30px;
	padding-right: 20px;
	padding-left: 20px;
}

nav ul li:last-child {
	margin-right: 0;
	padding-right: 0;
	border: none;
}

nav ul li a {
	font-size: 1.6rem;
	font-weight: bold;
	color: #666;
	text-decoration: none;
	text-align: center;
}


/***** メイン *****/

#container {
	margin: 0 auto;
}

.works article h2 {
	padding-top: 120px;
}

.works article img {
	border-radius: 20px;
}

.white {
	margin: 5px;
	background-color: #fff;
}

/* △works page△ */

/* ▼contact page▼ */

#mailImg {
	width: 150px;
	margin-bottom: 50px;
}

input,
textarea {
	font-family: inherit;
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder,
input::-moz-placeholder,
textarea::-moz-placeholder,
input::placeholder,
textarea::placeholder,
input::-ms-placeholder,
textarea::-ms-placeholder{
	color: #666;
}

input:focus::-webkit-input-placeholder,
textarea:focus::-webkit-input-placeholder,
input:focus::-moz-placeholder,
textarea:focus::-moz-placeholder,
input:focus::placeholder,
textarea::focus:placeholder,
input:focus::-ms-placeholder,
textarea:focus::-ms-placeholder{
	color: #333;
}

/* on hover placeholder */

input:hover::-webkit-input-placeholder,
textarea:hover::-webkit-input-placeholder,
input:hover::-moz-placeholder,
textarea:hover::-moz-placeholder,
input:hover::placeholder,
textarea:hover::placeholder,
input:hover::placeholder,
textarea:hover::placeholder {
	color: #666;
}

input:hover:focus::-webkit-input-placeholder,
textarea:hover:focus::-webkit-input-placeholder,
input:hover:focus::-moz-placeholder,
textarea:hover:focus::-moz-placeholder,
input:hover:focus::placeholder,
textarea:hover:focus::placeholder,
input:hover:focus::-ms-placeholder,
textarea:hover::focus:-ms-placeholder {
	color: #333;
}

input {
	font-size: 1.4rem;
	width: 470px;
	height: 50px;
	padding: 0px 15px;
	background: transparent;
	outline: none;
	color: #999;
	border: solid 1px #999;
	border-radius: 5px;
	margin-bottom: 10px;
	transition: all 0.3s ease-in-out;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
}

input:hover {
	background-color: beige;
	color: #666;
}

textarea {
	width: 470px;
	max-width: 470px;
	height: 110px;
	max-height: 110px;
	padding: 15px;
	background: transparent;
	outline: none;
	color: #999;
	font-size: 1.4rem;
	border: solid 1px #999;
	border-radius: 5px;
	transition: all 0.3s ease-in-out;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
}

textarea:hover {
	background-color: beige;
	color: #666;
}

#submit {
	width: 502px;
	font-size: 1.8rem;
	color: #999;
	outline:none;
	cursor: pointer;
	border: solid 1px #999;
	margin-top: 10px;
}

#submit:hover {
	color: #666;
}

/* △contact page△ */

/* フッター */

footer ul li a {
	text-decoration: none;
	color: #666;
}

footer p {
	display: block;
	height: 10px;
	padding: 3px 0 5px;
	background-color: orange;
	text-align: center;
}


/* レイアウト */

#header:before{
	height: 100%;
	width: 100%;
	content: '';
	position: fixed;
	top: 0;
	left: 0;
	z-index: -1;
  /*背景画像設定*/
	background: url("../../images/bg3.jpeg");
  	background-size: auto;
	background-position: center;
}

#container{
	position: relative;
	z-index: 1;
	text-align: center;
}


/*　ハンバーガーボタン　*/
.hamburger {
	display : block;
	position: fixed;
	z-index : 3;
	right : 13px;
	top   : 12px;
	width : 42px;
	height: 42px;
	cursor: pointer;
	text-align: center;
	-webkit-transition: 0.5s all;
	-moz-transition   : 0.5s all;
	transition        : 0.5s all;
}

.hamburger span {
	display : block;
	position: absolute;
	width   : 30px;
	height  : 2px ;
	left    : 6px;
	background : #555;
}

.hamburger span:nth-child(1) {
	top: 10px;
}

.hamburger span:nth-child(2) {
	top: 20px;
}

.hamburger span:nth-child(3) {
	top: 30px;
}

