/* 
html5doctor.com Reset Stylesheet
v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com 
Twitter: @rich_clark
*/

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
margin:0;
padding:0;
border:0;
outline:0;
font-size:100%;
vertical-align:baseline;
background:transparent;
}

body {
line-height:1;
	}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section { 
display:block;
}

nav ul {
list-style:none;
}

blockquote, q {
quotes:none;
}

blockquote:before, blockquote:after,
q:before, q:after {
content:'';
content:none;
}

a {
margin:0;
padding:0;
font-size:100%;
vertical-align:baseline;
background:transparent;
}

del {
text-decoration: line-through;
}

abbr[title], dfn[title] {
border-bottom:1px dotted;
cursor:help;
}

table {
border-collapse:collapse;
border-spacing:0;
}

/* change border colour to suit your needs 
*/
hr {
display:block;
height:1px;
border:0; 
border-top:1px solid #cccccc;
margin:1em 0;
padding:0;
}

input, select {
vertical-align:middle;
}



* {
	margin: 0;
	padding: 0;
}

html,body {
	text-align: center;
}

body {
	-webkit-text-size-adjust: 100%;
	background-color: #FFFFFF;
	background-size: cover;
	background-position: center;
	background-repeat:no-repeat;
}

a,a:link,a:visited {
	overflow: hidden;
}

a:hover,a:active,a:focus {
	overflow: hidden;
}

a img,:link img,:visited img {
    border: none;
}

a:link{
	text-decoration:none;
	color:#000000;
}

a:visited {
	text-decoration:none;
	color:#000000;
}

a:hover{
	text-decoration: underline;
	color: #666666;
	transition: color 0.3s ease 0s;
}

a:active {
	text-decoration:none;
	color:#000000;
}

p,div,th,td {
	background-image: url(img/dummy.png);
}

img { 
    max-width: 100%; 
    height:auto;
	-ms-interpolation-mode: bicubic;
	-webkit-backface-visibility: hidden;
}	

.fixed {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10000;
}

.pc {
	display: block;	
}

@media screen and (max-width: 680px) {
.pc {
	display: none;
}
}

.sp {
	display: none;
}

@media screen and (max-width: 680px) {
.sp {
	display: block;
}
}

#top-head {
	top:0;
	position:relative;
	width: 100%;
	margin: 0 auto;
	padding:10px 0;
	height: 36px;
	background-color: #F5F5F5;
	}

#top-head h2 {
	text-align: left;
}
@media screen and (max-width: 680px) {
    #top-head {
       top: 0;
        position: relative;
        margin-top: 0;
    	height: 56px;
    }
    /* Fixed reset */
    #top-head.fixed {
        padding-top: 0;
        background: transparent;
    }
	#top-head h2 {
		padding-left: 10px;
	}
}

/*-----------------------------------------------
	header
-----------------------------------------------*/

/* **************#menu************* */

.inner {
	margin: 0 auto;
	max-width: 1140px;
	}
@media screen and (max-width: 1140px) {
.inner {
	margin: 0 auto;
	width: 90%;
	}
}
@media screen and (max-width: 991px) {
.inner {
	margin: 0 auto;
	width: 90%;
	}
}
/*
.inner {
    width: 90%;
    margin: 0 auto;
}

@media screen and (max-width: 640px) {
.inner {
    width: 100%;
    margin: 0 auto;
}
}*/

.inner:after {
    content: "";
    clear: both;
    display: block;
}

/* #cont-head */
#cont-head {
    top: 36px;
    position: absolute;
    width: 100%;
    margin: 0 auto;
    padding: 15px 0;
	line-height: 1;
    z-index: 999;
	background: rgba(255,255,255,1.0);
}
#cont-head a,
#cont-head {
    color: #fff;
    text-decoration: none;
}
#cont-head .inner {
    position: relative;
}
#cont-head .logo {
    float: left;
    font-size: 100%;
	padding:0;

}

#cont-head h1 {
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	font-size: 100%;
	line-height: 1.6em;
	text-align:left;
	padding:0;
}
 
#global-nav ul {
    list-style: none;
    position: absolute;
	top:4px;
    right: 0;
    bottom: 0;
}
#global-nav ul li {
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	font-size:82%;
	line-height: 1.6em;
	letter-spacing:0;
    float: left;
	background-image:url(image);
	max-height: 100%;
	border-right: 1px solid #CCCCCC;
}
#global-nav ul li:nth-child(8) {
	border-right:none;
}
#global-nav ul li:nth-child(9) {
	border-right:none;
}
#global-nav ul li:nth-child(10) {
	border-right:none;
}
#global-nav ul li:last-child {
	border-right:none;
}
#global-nav ul li a {
	color:#000000;
	padding: 15px 6px;
}
#global-nav ul li:nth-child(8) a {
	margin-left: 0;
	padding: 15px 5px;
}
#global-nav ul li:nth-child(9) a {
	margin-left: 0;
	padding: 15px 1px 15px 5px;
}
#global-nav ul li:nth-child(10) a {
	margin-right: 0;
	padding: 15px 5px;
}

#global-nav ul li a:hover {
	color:#FFFFFF;
	background-color: #2094C8;
}

#global-nav ul li img {
	vertical-align: middle;
}


#global-nav ul li .register {
	color: #FFFFFF;
	background-color: #EE8822;
}

/* Fixed */
#cont-head.fixed {
    margin-top: 0;
    top: 0;
    position: fixed;
    padding: 15px 0;
   /* height: 48px;*/
    background: #fff;
	background: rgba(255,255,255,1.0);
   /* transition: top 0.65s ease-in;
    -webkit-transition: top 0.65s ease-in;
    -moz-transition: top 0.65s ease-in;*/
	display:block;
}
#cont-head.fixed .logo {
    font-size: 100%;
	padding:0;
}

#cont-head.fixed #global-nav ul {
	top:4px;	
}

#cont-head.fixed #global-nav ul li a {
	color:#000000;
	padding: 15px 6px;
}
#cont-head.fixed #global-nav ul li:nth-child(8) a {
	margin-left: 0;
	padding: 15px 5px;
}
#cont-head.fixed #global-nav ul li:nth-child(9) a {
	margin-left: 0;
	padding: 15px 1px 15px 5px;
}
#cont-head.fixed #global-nav ul li:nth-child(10) a {
	margin-right: 0;
	padding: 15px 5px;
}

#cont-head.fixed #global-nav ul li a:hover {
	color:#FFFFFF;
	background-color: #2094C8;
}

#cont-head.fixed #global-nav ul li .register {
	color: #FFFFFF;
	background-color: #EE8822;
}

/* Toggle Button */
#nav-toggle {
    display: none;
    position: absolute;
    right: 12px;
    top: 14px;
    width: 34px;
    height: 36px;
    cursor: pointer;
    z-index: 101;
}
#nav-toggle div {
    position: relative;
}
#nav-toggle span {
    display: block;
    position: absolute;
    height: 4px;
    width: 100%;
    background: #2094C8;
    left: 0;
    -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;
}

@media screen and (max-width: 991px) {
    #cont-head,
    .inner {
        width: 100%;
        padding: 0;
    }
    #cont-head {
    top: 36px;
    position: absolute;
    width: 100%;
	height:56px;
    margin: 0;
    padding:0 ;
	line-height: 1;
    z-index: 999;
	background: rgba(255,255,255,1.0);
    }
    /* Fixed reset */
    #cont-head.fixed {
        padding-top: 0;
        background: transparent;
    }
    #mobile-head {
       	background: rgba(255,255,255,1.0);
        width: 100%;
        height: 56px;
        z-index: 999;
        position: relative;
    }
	
    #cont-head.fixed .logo,
    #cont-head .logo {
        position: absolute;
        left: 10px;
        top: 12px;
        color: #333;
        font-size: 26px;
		padding:0;
    }

    #cont-head.fixed .logo img,
    #cont-head .logo img {
		width:100%;
    }

   	#cont-head #global-nav ul li a,
    #cont-head.fixed #global-nav ul li a {
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	font-size: 88%;
	line-height: 1.6em;
        width: 100%;
        display: block;
        color: #FFFFFF;
        padding: 10px 0;
		border-bottom: 1px solid #F5F5F5;
    }
	#global-nav ul li:nth-child(7) a {
	margin-left: 0;
	padding: 10px 0;
	}
	#global-nav ul li:nth-child(8) a {
	margin-left: 0;
	padding: 10px 0;
	}
	#global-nav ul li:nth-child(9) a {
	margin-right: 0;
	padding: 10px 0;
	}
	#cont-head.fixed #global-nav ul li:nth-child(7) a {
	margin-left: 0;
	padding: 10px 0;
	}
	#cont-head.fixed #global-nav ul li:nth-child(8) a {
	margin-left: 0;
	padding: 10px 0;
	}
	#cont-head.fixed #global-nav ul li:nth-child(9) a {
	margin-right: 0;
	padding: 10px 0;
	}
	#cont-head #global-nav ul li a:hover {
		color: #FFFFFF;
		background: #2094C8;
	}
    /* Fixed reset */
    #global-nav {
        position: absolute;
        /* 開いてないときは画面外に配置 */
        top: -500px;
        background: rgba(0,0,0,0.5);
        width: 100%;
        text-align: center;
        padding: 10px 0;
        -webkit-transition: .5s ease-in-out;
        -moz-transition: .5s ease-in-out;
        transition: .5s ease-in-out;
    }
    #global-nav ul {
        list-style: none;
        position: static;
        right: 0;
        bottom: 0;
    }
    #global-nav ul li {
        float: none;
        position: static;
    }
    #nav-toggle {
        display: block;
    }
    /* #nav-toggle 切り替えアニメーション */
    .open #nav-toggle span:nth-child(1) {
        top: 11px;
        -webkit-transform: rotate(315deg);
        -moz-transform: rotate(315deg);
        transform: rotate(315deg);
    }
    .open #nav-toggle span:nth-child(2) {
        width: 0;
        left: 50%;
    }
    .open #nav-toggle span:nth-child(3) {
        top: 11px;
        -webkit-transform: rotate(-315deg);
        -moz-transform: rotate(-315deg);
        transform: rotate(-315deg);
    }
    /* #global-nav スライドアニメーション */
    .open #global-nav {
        /* #global-nav top + #mobile-head height */
        -moz-transform: translateY(556px);
        -webkit-transform: translateY(556px);
        transform: translateY(556px);
	}
}

/* **************wrapper************* */

#wrapper {
	margin: 0 auto;
	width: 100%;
	overflow: hidden;
}

#wrapper .contarea {
	margin: 0 auto;
	max-width: 1140px;
	display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	}
@media screen and (max-width: 1140px) {
#wrapper .contarea {
	margin: 0 auto;
	width: 90%;
	}
}
@media screen and (max-width: 991px) {
#wrapper .contarea {
	margin: 0 auto;
	width: 100%;
	flex-flow: column wrap;
	}
}



/* **************#copy************* */

#copy {
	padding: 10px 0;
	margin: 0 auto;
	width: 100%;
	clear: both;
	background-color:#CCCCCC;
	}

@media screen and (max-width: 680px) {
#copy {
	padding: 2% 0;
}
}

#copy a:link{
	text-decoration:none;
	color:#666666;
}

#copy a:visited {
	text-decoration:none;
	color:#666666;
}

#copy a:hover {
	text-decoration:underline;
	color:#666666;
}

#copy a:active {
	text-decoration:none;
	color:#666666;
}

#copy h2 {
	font-family: Arial, Helvetica, "sans-serif";
	font-weight: normal;
	font-size: 88%;
	line-height:1.6em;
	background-image:url(image);
	max-height: 100%;
	letter-spacing:2px;
	text-align:center;
	color:#666666;
}

@media screen and (max-width: 680px) {
#copy h2 {
	font-size: 85%;
	letter-spacing:0;
}
}

/* **************#pagetop************* */

.pagetop {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
	text-align:center;
}

.pagetop a:link {
	font-family:  'Roboto', sans-serif;
	font-weight: 400;
	font-size: 100% ;
	line-height:1.6em;
	background-image:url(image);
	max-height: 100%;
	text-align:center;
	text-decoration: none;
	z-index:1;
}
 
.pagetop a:hover {
	display: block;
	text-align: center;
	color: #333333;
	text-decoration: none;
}


