/*

    Base

*/

/*  font  */
body {
	font-family: 'Hiragino Kaku Gothic Pro', sans-serif;
	color: #333333;
}
#c_content {
	font-size: 1.3rem;
}
h1 { font-size: 2.1rem;}
h2 { font-size: 1.7rem;}
h3 { font-size: 1.5rem;}
a {
	color: #333333;
	-webkit-tap-highlight-color: rgba(255,255,255,0.4);
}

/*  common  */
.global ul,
.global li,
.global p {
	margin: 0;
	list-style: none;
}

/*  image width  */
body img,
body iframe {
	max-width: 100%;
}

/*  webkit  */
body {
	text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
}
* {
	-webkit-user-select: none;
}
img {
	-webkit-touch-callout: none;
}

/*  form  */
input[type=radio],
input[type=chexkbox] {
	-webkit-transform: scale(1.5);
	transform: scale(1.5);
}
input[type=text], input[type=password], button, textarea, [contenteditable] {
	max-width: 100%;
	font-size: 1.6rem;
	-webkit-user-select: auto;
	-webkit-appearance: none;
	border-radius: 0;
}
input[type=submit] {
	-webkit-appearance: none;
}





/*

    Header

*/

/*  layout  */
body {
	padding-top: 50px;
}
header.global {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 40px;
	padding: 5px 0;
	background-color: #ffffff;
	overflow: hidden;
	z-index: 9999;
}

/*  sitetop  */
header.global a.sitetop {
	float: left;
}
header.global a.sitetop img {
	display: block;
	height: 40px;
}

/*  menu button  */
header.global div.menubutton {
	position: absolute;
	top: 5px;
	right: 5px;
}
header.global div.menubutton a,
header.global div.menubutton a span {
	display: inline-block;
	transition: all 0.5s;
	box-sizing: border-box;
}
header.global div.menubutton a {
	position: relative;
	width: 40px;
	height: 40px;
	background-color: #9ec3bc;
	cursor: pointer;
}
header.global div.menubutton a:hover {
	opacity: 1;
}
header.global div.menubutton a span {
	position: absolute;
	left: 10px;
	width: 20px;
	height: 2px;
	background-color: #ffffff;
	border-radius: 2px;
}
header.global div.menubutton a span:nth-of-type(1) { top: 10px;}
header.global div.menubutton a span:nth-of-type(2) { top: 19px;}
header.global div.menubutton a span:nth-of-type(3) { bottom: 10px;}
header.global div.menubutton a.open span:nth-of-type(1) {
	-webkit-transform: translateY(9px) rotate(-45deg);
	transform: translateY(9px) rotate(-45deg);
}
header.global div.menubutton a.open span:nth-of-type(2) {
	opacity: 0;
}
header.global div.menubutton a.open span:nth-of-type(3) {
	-webkit-transform: translateY(-9px) rotate(45deg);
	transform: translateY(-9px) rotate(45deg);
}

/*  navigation  */
header.global nav.global {
	display: none;
	position: fixed;
	top: 50px;
	left: 0;
	width: 100%;
	height: calc(100% - 45px);
	background-color: #9ec3bc;
	z-index: 9999;
}
header.global nav.global ul {
	margin: 0 3em;
}
header.global nav.global ul.main {
	margin-top: 3em;
}
header.global nav.global ul li {
	margin: 1em 0;
}
header.global nav.global ul li a {
	display: block;
	padding: 0.5em 0;
	border: 1px #ffffff solid;
	text-align: center;
	color: #ffffff;
}

/*  search  */
header.global nav.global ul li.search {
	display: none;
}
header.global nav.global form.search {
	height: 30px;
	margin: 2em 3em;
	padding-right: 30px;
	background-color: #aa998a;
	background-image: url('images/search-w.png');
	background-size: 30px auto;
	background-position: right top;
	overflow: hidden;
	border-radius: 99px;
	cursor: pointer;
}
header.global nav.global form.search input {
	height: 30px;
	width: 100%;
	text-indent: 0.75em;
	font-size: 1.5rem;
	line-height: 30px;
	border: none;
	background-color: #f2f2f2;
	outline: none;
}



/*

    Footer

*/


/*  layout  */
footer.global {
	margin-top: 30px;
	padding: 30px 0;
	background-color: #9EC3BC;
	text-align: center;
}

/*  sitemap  */
footer.global nav.sitemap {
	display: inline-block;
	margin: 0 auto;
	padding-left: 150px;
	background-image: url('images/logo_footer.png');
	background-position: 0 20px;
	background-size: 100px auto;
	overflow: hidden;
}
footer.global nav.sitemap ul {
	margin: 0;
}
footer.global nav.sitemap ul li {
	margin: 0.5em 0;
	text-align: left;
}
footer.global nav.sitemap ul li a {
	color: #ffffff;
	text-decoration: none;
}
footer.global nav.sitemap ul li a:before {
	content: '- ';
}

/*  small  */
footer.global small {
	display: block;
	margin-top: 2em;
	color: #ffffff;
	font-family: 'Asap', sans-serif;
	text-align: center;
}
