﻿@charset "UTF-8";

/* ============================== header, footer */

/* display: block; */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary {
	display: block;
}

/* body */
body {
	margin: 0;
	padding: 0;
}

header,
footer {
    font-family: "ＭＳ Ｐゴシック","メイリオ","ヒラギノ角ゴ Pro W3",sans-serif;
    font-size: 83%;
    line-height: 1.3;
	background-color: #FFF;
	color:#4B4B4B;
}

/* a, a:link, a:visited, a:hover, a:active */
header a,
footer a {
	color: #4C3212;
	text-decoration: none;
}
header a:link,
footer a:link {
	color: #003366;
}
header a:visited,
footer a:visited {
	color: #4d3380;
}
header a:hover,
footer a:hover {
	color: #7f99b2;
}
header a:active,
footer a:active {
	color: #4d3380;
}

div.footerBacktop p a {
	color:#036;
	text-decoration: none;
}
div.footerBacktop p a:hover {
    color:#036;
    text-decoration: underline;
}
div.footerBacktop p a:visited {
	color:#613290;
	text-decoration: none;
}
div.footerBacktop p a:visited:hover {
	color:#613290;
	text-decoration: underline;
}


/* h1, h2 */
header h1 {
	width: ;
	margin: 0;
	padding: 0;
	font-size: 100%;
	font-weight: normal;
}

header h1 img {
	max-width: 100%;
}

/* skiplink */
#pagetop{
	display:block;
    width:1px;
    height:1px;
    margin:0 0 -1px 0;
    padding:0;
}

div.skipLink{
    position:absolute;
    top:0;
    left:0;
    display:block;
    width:1px;
    height:1px;
    margin:0;
    padding:0;
    overflow:hidden;
}


/* wrapper */
#wrapper {
	max-width: 970px;
	margin: 0 auto 0;
}

/* header */
header { 
	overflow: hidden;
	zoom: 1;
	margin: 15px 0 8px;
}

header a:link {
	color: #003366;
}
header a:visited{
	color: #003366;
}
header a:hover {
	color: #7f99b2;
}
header a:active {
	color: #4d3380;
}
header .leftBox {
	width: 556px;
	float: left;
}
header .leftBox h1 {
	margin: 4px 40px 0 20px;
	float: left;
}

.msie6 header .leftBox h1 {
	margin: 4px 40px 0 10px;
}

header .leftBox h1 a img {
	border: none;	
}
header .leftBox p.siteName,
header .leftBox p.siteNameFull{
	float: left;
	margin: 4px 0 0 0;
}
header .leftBox p.siteName {
	padding-top: 6px;
}

header .leftBox p.twoLine {
	padding-top: 3px;
}
header .rightBox {
	width: auto;
	float: right;
	overflow: hidden;
	zoom: 1;
	text-align: right;
}
header .rightBox .langBox {
	overflow: hidden;
	zoom: 1;
}
header .rightBox .langBox .configUnit {
	overflow: hidden;
	zoom: 1;	
}
header .rightBox .langBox ul {
	margin: 9px 9px 0 0;
	padding: 0 0 2px 0;
	line-height: 1.3;
}
header .rightBox .langBox ul.lang {
	margin: 0 12px 0 0;
	padding: 0 10px 0 0;
	border-right: 1px solid #CCC;
}

header .rightBox .langBox ul.lang li {
	display: inline;
	margin: 0 0 0 0;
	padding: 0 5px 0 13px;
	background:url(/common/unchangeable/img/img_iconA01.png) no-repeat left center;
	vertical-align: middle;
}

header .rightBox .langBox ul.lang li:last-of-type {
	padding-right: 0;
}
header .rightBox .langBox ul.lang li.current {
	background-image: none;
	padding-left: 0;
	zoom: 1;
}

header .rightBox .langBox ul.lang li.current,
header .rightBox .langBox ul.lang li.current a {
	color: #999999;
	font-weight: bold;
}
header .rightBox .langBox p.communicationMessage {
	margin: 0;
	float: right;
	line-height: 1.0;
	font-size: 0;
	width: 189px;
}
header .rightBox .langBox p.communicationMessage img {
	width: 100%;
	max-width: 100%;
}
header .rightBox .searchBox {
	float: right;
	overflow: hidden;
	zoom: 1;
    line-height: 1.1;
}
header .rightBox .searchBox ul {
    margin: 0px;
    padding: 9px 0px 1px;
	list-style-type: none;
	float: left;
    height: 20px;
}

header .rightBox .searchBox ul li {
    display: inline;
    margin: 0px;
    padding: 2px 2px 3px 13px;
	background:url(/common/unchangeable/img/img_iconA01.png) no-repeat left center;
	vertical-align: middle;
}

header .rightBox .searchBox ul li:last-of-type {
	padding-right: 0;	
}
header .rightBox .searchBox ul li.current {
	background-image: none;
	padding-left: 3px;
	zoom: 1;
}

header .rightBox .searchBox ul li.current:last-of-type {
	padding-right: 0;
}
header .rightBox .searchBox ul li.current,
header .rightBox .searchBox ul li.current a {
	color: #999999;
	font-weight: bold;
}
header .rightBox .searchBox ul li.global {
	background:url(/common/unchangeable/img/header_icon01.png) no-repeat 0 center;
	padding-left: 21px;
	padding-right: 3px;
	zoom: 1;
}

header .rightBox .searchBox p {
	border-left: 1px solid #CCC;	
}
header .rightBox .searchBox form {
	margin: 7px 0 0 0px;
	padding: 0 0 0 6px;
	line-height: 1.0;
	overflow: hidden;
	zoom: 1;
	float: left;
	border-left: none;
    font-family: "ＭＳ Ｐゴシック","メイリオ","ヒラギノ角ゴ Pro W3",sans-serif;
}

header .rightBox .searchBox form label {
	display:none;	
}
header .rightBox .searchBox form input {
	float: left;	
}
header .rightBox .searchBox form input#search {
	vertical-align: top;
	width: 158px;
	margin: 0;
	padding: 0 2px;
	margin-right: 2px;
	color: #666;
}

header .rightBox .searchBox p {
	margin: 2px 0 0;	
}
header .rightBox .searchBox p,
header .rightBox .searchBox p img {
	line-height: 1.0;
	font-size: 0;
}
header .rightBox .searchBox dl {
	overflow: hidden;
	zoom: 1;
	margin: 0;
	padding: 0;
}
header .rightBox .searchBox dl dt,
header .rightBox .searchBox dl dd {
	float: left;
	margin: 0;
	padding: 0;
}


/* pageTop */
p.pageTop {
	margin: 25px 0 10px;
	text-align: right;
}
p.pageTop a {
	background:url(/common/unchangeable/img/bg_pagetop01.png) no-repeat left center;
	padding: 0 3px 0 10px;
	color: #003366;
	text-decoration: none;
}

div.footerBacktop p {
    clear: both;
    margin: 30px 0px 0px;
    text-align: right;
    font-family: Arial,Helvetica,sans-serif;
    font-size: 12px;
}

div.footerBacktop p a {
    background: url(/component/c_common/img/bg_backtop.gif) no-repeat scroll left 5px transparent;
    padding: 0px 0px 0px 10px;
}


/* footer */
footer {
	background:url(/common/unchangeable/img/bg_dotted_line01.png) repeat-x left top;
	margin: 5px 0 30px;
	padding-top: 10px;
}
footer article {
	overflow: hidden;
	zoom: 1;
}
footer article ul {
	margin: 0;
	padding-left: 0;
}
footer article .leftNav {
	float: left;
	margin-left: 2px;
}
footer article .rightNav {
	margin: 0 2px 0 40px;
	float: right;
	overflow: hidden;
	text-align: right;
}
footer article ul li {
	display: inline;
	background:url(/common/unchangeable/img/img_iconA02.png) no-repeat left center;
	padding:0 8px 0 10px;
	text-align: right;
}
footer article ul li:last-of-type {
	padding-right: 0;
}
footer article ul li a {
	/*padding-right: 10px;*/
	color: #003366;
}
footer article ul li a:last-of-type {
	padding-right: 0;
}
footer article ul li.caption {
	background: none;
	color: #4B4B4B;
	padding-left: 0;
}
footer p.copyright {
	margin: 7px 0 0 0;
	padding: 5px 0 0 1px;
	border-top: 2px solid #cccccc;
	color:#000;
}
footer p.copyright small {
	font-size: 100%;
	color: #4B4B4B;
}

footer article ul.leftNav.pcTop {
	display: none;
}


/* ==============================
    Media Queries
   ============================== */

/* device-width: 600px ～ 969px  for Tablet */

body.tablet #wrapper {
	width: 100%;
}

body.tablet header .leftBox {
	width: auto;
	margin-left: 1.8%;
}

body.tablet header .rightBox {
	width: auto;
	margin-right: 1.8%;
}

body.tablet header .leftBox h1 {
	min-width: 236px;
	margin: 4px 40px 0px 0;
}

body.tablet header .leftBox p.siteName,
body.tablet header .leftBox p.siteNameFull {
	margin-left: 0;
    width: auto;
	float: left;
}

body.tablet div.footerBacktop p {
    margin-right: 2.06%;
}

body.tablet footer article {
	padding-left: 1.0%;
	padding-right: 1.0%;
}

body.tablet footer article .rightNav {
    margin-left: 8px;
    margin-right: 0;
}

body.tablet footer article ul li {
    padding: 0px 8px 0px 8px;
}

body.tablet footer p.copyright {
	padding-left: 1.0%;
}

body.tablet footer article ul.leftNav.pcTop {
	display: none;
}



/* device-width: 0px ～ 599px  for Smartphone */

body.smartphone #wrapper {
	width: 100%;
}

body.smartphone header {
	margin-top: 5px;
}

body.smartphone header .leftBox {
	width: auto;
	margin-left: 2.06%;
}
/*
body.smartphone header .rightBox {
	width: auto;
	margin-right: 2.06%;
}
*/
body.smartphone header .rightBox {
	position:absolute;
	right:2.06%;
}
body.smartphone header .leftBox h1 {
	margin: 4px 0px 0px 0;
	width: 168px;
}

body.smartphone header .leftBox p.siteName,
body.smartphone header .leftBox p.siteNameFull {
	margin-left: 0;
    width: auto;
	clear: left;
}

body.smartphone header .rightBox .langBox {
    margin-top: 14px;
}

body.smartphone header .rightBox .langBox p.communicationMessage {
    width: 114px;
}


body.smartphone header .rightBox .searchBox {
    display: none;
}

body.smartphone div.footerBacktop p {
    margin-right: 2.06%;
}

body.smartphone footer {
	background: none;
	background-color: #e7e7e7;
	margin-bottom: 0;
}

body.smartphone footer ul.rightNav {
	display: none;
}

body.smartphone footer article ul.leftNav {
	width: 100%;
	margin: 0;
	padding-left: 10px;
	padding-right: 10px;	
}

body.smartphone footer article ul.leftNav.pcTop {
	display: block;
	clear: both;
}

body.smartphone footer article ul.leftNav li {
	background:url(/common/unchangeable/img/icon_pc.png) no-repeat left center;
	display: inline-block;
	padding: 0.4em 0.5em 0.4em 16px;
}

body.smartphone footer p.copyright {
	border-top: none;
	margin-top: 0;
	padding: 5px 10px 10px;
}



@media only screen and (min-width: 600px) and (max-width: 630px) { /* device-width: 600px ～ 630px */
	
header .rightBox {
	position:absolute;
	right: 0%;
}

}

@media only screen and (max-width: 315px) { /* device-width: 0px ～ 315px */
header .rightBox {
	top: 20px;
}
}
