@charset "utf-8";

/* =======================================
	CommonElements
======================================= */

/* html,body
--------------------------- */
html{
	height:100%;
	scroll-behavior: smooth;
	scroll-padding-top:100px
}
body{
	font-family:serif;
	height:100%
}
a{
	text-decoration:none;
	color: #9bd7ff
}
article img{
	width:100%;
	border:none
}
h1,h2,h3,h4,p,div{
	word-break: break-all
}

/* header
--------------------------- */
header{
	width:100%;
	text-align:center
}
header h1{
	margin:180px 0
}
header ul#main_ul{
	width:60%;
	height:38px;
	margin:0 auto;
	display:flex;
	justify-content:space-around
}
header ul li{
	text-align:center
}
header ul li#menu{
	display:none
}
header ul li a{
	display:block;
	height:38px;
	line-height:38px;
	padding:0 10px;
	color:#7f7f7f;
	font-size:18px;
	letter-spacing:2px;
	transition:.7s;
	position:relative
}
header ul li a:hover{
	color:#000
}
header ul li a img{
	height:20px;
	vertical-align:top;
	position:absolute;
	top:8px;
	left:-20px;
	transition:.7s
}


/* header.fixed
--------------------------- */
header.fixedMenu{
	scroll-behavior: smooth;
	display:none;
	height:38px;
	background:rgba(255, 255, 255, 0.8);
	position:fixed;
	top:0;
	left:0;
	z-index:1
}
header.fixedMenu h1{
	height:38px;
	font-size:14px;
	line-height:38px;
	margin:5px;
	position:absolute;
	left:5%;
	top:0
}
header.fixedMenu h1 img{
	width:130px
}
header.fixedMenu ul{
	width:60%
}
header.fixedMenu ul li a:hover{
	color:#000
}
header.fixedMenu ul li a img:nth-child(3){
	opacity:1
}
header.fixedMenu ul li a:hover img:nth-child(4){
	opacity:1
}


/* article
--------------------------- */
article{
	width:100%;
	overflow:hidden;
	margin:50px 0 0
}
article h1{
	padding:0;
	margin:0
}
article h2{
	padding:0;
	margin:0
} 
section{
	width:80%;
	margin:200px auto;
	border:solid 1px #efefef 
}
.flex{
	width:100%;
	display:flex;
	flex-wrap:nowrap;
	justify-content:space-around;
	align-items: center
}
body article *{
	color:#a6a6a6;
	scrollbar-base-color:#a6a6a6;
	scrollbar-arrow-color:#b5b5b5;
	scrollbar-highlight-color:#c0b47f;
	scrollbar-face-color:#cccccc
}
body article *::-webkit-scrollbar{
	width:8px;
	height:8px
}
body article *::-webkit-scrollbar-track {
  border-radius: 6px;
  background:#cccccc
}
body article *::-webkit-scrollbar-thumb {
  background: #a6a6a6;
  border-radius: 6px
}
p#gototop{
	width:80%;
	margin:0 auto;
	text-align:right
}
p#gototop a{
	color:#a6a6a6;
	transition:.7s
}
p#gototop a:hover{
	color:#000;
}

hgroup.all_width{
	width:110%;
	height:200px;
	margin:100px 0 100px -5%; 
	background:#e8e5e5;
	transform:rotate(-3deg)
}
hgroup.all_width h1,
hgroup.all_width h2{
	text-align:center;
	transform:rotate(3deg)
}
hgroup.all_width h1{
	color:#555555;
	font-size:24px;
	letter-spacing:5px;
	padding-top:60px;
	margin:0
}
hgroup.all_width h2{
	color:#555555;
	font-size:14px;
	letter-spacing:3px;
	padding-top:20px;
	margin:0
}
.flex div{
	width:48%
}
.flex div img{
	
}
.flex div.text h1{
	color:#6f6f6f;
	font-size:16px;
	letter-spacing:2px;
	border-bottom: double 3px #c5c5c5
}
.flex div.text h2{
	color:#999999;
	font-size:12px;
	letter-spacing:2px;
	margin-bottom:30px;
	text-align: center
}
.flex div.text p{
	color:#b0b0b0;
	font-size:14px;
	letter-spacing:1px;
	line-height:2em
}




/* footer
--------------------------- */
footer{
	width:100%;
	height:30px;
	background:#857373;
	margin-top:20px
}
footer p{
	line-height:30px;
	text-align:center
}
footer p small{
	font-family: 'Muli', sans-serif;
	font-weight: 300;
	font-size:11px;
	line-height:100%;
	text-align:center;
	color:#fff
}

/* curtain
--------------------------- */
div#curtain{
	position:fixed;
	top:0;
	left:0;
	width:100%;
	height:100%;
	background:rgba(0,0,0,.5);
	display:none;
	z-index:2
}

/* form
--------------------------- */
section#contact{
	margin-bottom: 100px;
	font-family:serif;
}
form p#required{
	text-align:right;
	color:#ff6f6f;
	font-size:10px;
	font-family:serif;
	padding-right:40px
}
section form{
	width:50%;
	padding:20px 20px 50px;
	min-width:765px;
	background:#e8e5e5;
	border-radius:8px;
	margin:50px auto
}
form label{
	display:block;
	width:100%;
	margin:30px 0 0
}
form label p{
	font-size:12px;
	color: #303030;
	display:inline-block;
	width:30%;
	text-align:center
}
form label p span{
	display:inline-block;
	vertical-align:text-top;
	font-size:10px;
	color:#ff6f6f
}
form input[type="text"]:placeholder-shown,
:-ms-input-placeholder{
	color:#bfbfbf;
	font-size:10px
}
form input[type="text"]{
	color:#000;
	font-family:serif;
	font-size:14px;
	width:50%;
	height:30px;
	border:none
}
form input[type="text"]:focus{
	background:#fff
}
form #select{
	display:inline-block;
	width:200px;
	position:relative;
	height:28px;
	z-index:0;
	background:#fff;
	margin:0
}
form #select:before{
	position:absolute;
	top:6px;
	right:5px;
	content:"▼";
	color:#a0a0a0;
	font-size:14px;
	z-index:-1
}
form #select p{
	background:red
}
form select{
	color:#000;
	font-family:serif;
	font-size: 14px;
	width:190px;
	height:28px;
	background:#efefef;
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
	border-radius: 0;
	border: 0;
	margin: 0;
	padding-left:10px;
	background: none transparent;
	vertical-align: middle;
	box-sizing: content-box
}
form select::-ms-expand{
	display:none
}
form textarea{
	color:#000;
	font-size:14px;
	font-family:serif;
	border:none;
	vertical-align: text-top;
	width:68%;
	height:200px
}
form label#checkbox{
	width:260px;
	margin:40px auto;
	cursor:pointer
}
form label#checkbox p{
	width:220px
}
form label#checkbox label{
	vertical-align: text-top;
	display:inline-block;
	border:solid 2px #5c5c5c;
	width: 20px;
	height:20px;
	border-radius:4px;
	position:relative;
	margin:0;
	cursor:pointer
}
form label#checkbox input{
	display:none
}
form label#checkbox img{
	position:absolute;
	top:0;
	left:0;
	visibility:hidden
}
form label#checkbox input:checked~img{
	visibility:visible
}
form p#confirm{
	text-align:center;
	margin:50px 0 0
}
form p#confirm input[type="submit"]{
	padding:0 8px;
	display:inline-block;
	width:150px;
	height:30px;
	background:#747474;
	border:none;
	border-radius:3px;
	color:#d6d6d6;
	font-size:13px;
	font-weight:600;
	letter-spacing:5px;
	text-align:center;
	cursor:pointer;
	transition:.7s
}
form p#confirm input[type="submit"]:hover{
	color:#fff;
	background:#857373
}

