/* =================================

   reset

==================================== */

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%;
	color: rgba(102,102,102,1);
    vertical-align: bottom;
    background:transparent;
	font-weight: normal;
}

body {
    line-height:1.6;
	font-family:'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'ＭＳ Ｐゴシック',sans-serif;
	font-size: 0.95em;
}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section { 
	display:block;
}
ul,
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: bottom;
    background:transparent;
}


/* 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;
}


a,
a img {
	-webkit-transition: all  0.5s ease!important;
	transition: all  0.5s ease!important;
}
a:hover,
a::hover img {
	-webkit-transition: all  0.5s ease!important;
	transition: all  0.5s ease!important;
}

/*----- links color -----*/
a:link {
	color: rgba(0,153,255,1) ;
	text-decoration:none;
}
a:visited {
	color: rgba(0,153,255,1) ;
	text-decoration:none;
}
a:hover {
	color: rgba(0,153,255,1) ;
	text-decoration: underline;
}

.side a:link,
.side a:visited,
.side a:hover {
	color: #333;
	text-decoration: none;
}

a:hover img {
	filter: alpha(opacity=50);
	-moz-opacity:0.5;
	opacity:0.5;
}
a[target="_blank"] {
	background:url(img/ico_linkOut.gif) no-repeat right 5px;
	padding-right: 20px;
	margin-right: 3px;
}
a[href$=".pdf"] {
	background:url(img/ico_linkPdf.gif) no-repeat right top;
	padding-right: 32px;
	margin-right: 3px;
}
a.noIcon{
	background:none;
	padding:0;
	margin: 0;
}
a.notarget {
	background: none !important;
	padding-right: 0px !important;
	margin-right: 0px !important;
}

.clear {
	clear: both;
}

/* Clearfix */  
.clearfix:after {  
    content: ".";   
    display: block;   
    height: 0;   
    clear: both;   
    visibility: hidden;  
}  
.clearfix {  
    display: inline-block;  
    min-height: 1%;  
}  
img{
	max-width: 100%;
	height: auto;
	vertical-align: bottom;
}
.spOnly{
	display: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}




/***************************
共通
****************************/
body {
	background:url(img/bg_sea.jpg);
	background-position: top center;
	background-attachment:fixed;
}

.header {
	width: 100%;
}
.h1Area {
	background: #0c4eba;
}
.h1Area h1 {
	width: 1024px;
	margin: auto;
	color: #FFF;
	font-size: 90%;
	padding: 2px 0;
}

.inner {
	width: 1024px;
	margin: 0 auto;
}

nav {
	overflow: hidden;
	height: 60px;
	background: #0c4eba;
	width: 100%;
	z-index: 999;
	margin-bottom: 12px;
}
nav .inner {
	position: relative;
}
nav ul {
	width: 1024px;
	margin: auto;
	position: relative;
	font-size: 100%;
}

nav li {
	float: left;
	line-height: 62px;
	position: relative;
}
nav a {
	display: block;
	width: 146px;
	height: 60px;
	text-align: center;
	color: #FFF !important;
}

nav a:hover {
	background: #2a74ed;
	text-decoration: none;
}

nav li a:after{
	content: "";
	display: block;
	width: 0;
	height: 22px;
	border-right: 1px solid #FFF;
	position: absolute;
	right: 0;
	top: 22px;
}
nav li:first-child a:before{
	content: "";
	display: block;
	width: 0;
	height: 22px;
	border-left: 1px solid #FFF;
	position: absolute;
	left: 0;
	top: 22px;
}



.link {
	width: 100%;
	background: #e8f1ff;
	padding: 40px 0;
}
.harfColumn {
	float: left;
	width: 50%;
	text-align: center;
}

.sitemap {
	width: 100%;
	background: #FFF;
	padding: 40px 0;
}
.sitemap ul {
	float: left;
	width: 23%;
	margin-left: 2%;
}


.footer {
	clear: both;
	height: 54px;
	background: #0c4eba;
}
.footer .inner {
	line-height: 0;
	font-size: 0;
}
#page-top {
	position: fixed;
	bottom: 140px;
	right: 50px;
	margin: 0;
	padding:0;
}


/***************************
トップページ
****************************/
.mainImg {
	margin_bottom: 20px;
	height: 353px;
	background:url(img/mainImg.jpg);
	background-position: 50%;
	background-size:cover;
}
.mainImg .inner {
	position: relative;
}
.mainImg .inner .logo {
	position: absolute;
	top: 12px;
}
.mainImg .inner .challenge {
	position: absolute;
	top: 12px;
	right:0;
}
.mainImg .inner .af_logo {
	position: absolute;
	top: 125px;
	right: 0px;
}



/***************************
HSKについて
****************************/
#page .mainImg {
	margin_bottom: 20px;
	height: 178px !important;
	background:url(img/mainImg.jpg);
	background-position: 50%;
	background-size:cover;
}
