@charset "UTF-8";


/* ========================================================== */
/*  ブラウザスタイルの初期化                                  */
/* ---------------------------------------------------------- */


body,form,fieldset{
	margin: 0px;
	padding: 0px;
}

a img { 
	border: none;
}

.clearfloat {
	clear:both;
	height:0;
	font-size: 1px;
	line-height: 0px;
}

/*-- float対策clear --------*/
.clearfix {
zoom: 100%;/*ie用*/
}
.clearfix:after {
content: " "; 
clear: both; 
height: 0; 
display: block; 
visibility: hidden;
}
a:hover { opacity:0.6; filter:alpha(opacity=60); -ms-filter: "alpha( opacity=60 )"; background:none!important; -webkit-transition: 0.3s ease-in-out;  
       -moz-transition: 0.3s ease-in-out;  
         -o-transition: 0.3s ease-in-out;  
            transition: 0.3s ease-in-out; } 
* html .clearfix             { zoom: 1; } /* IE6 */
*:first-child+html .clearfix { zoom: 1; } /* IE7 */
/*-- float対策clear --------*/


a img { background:none!important; }


/* ========================================================== */
a:link {
    color: #0033FF;
    text-decoration: underline;
}
a:visited {
    color: #0033FF;
    text-decoration: underline;
}
a:hover, a:active, a:focus {
    text-decoration: none;
    color: #EB0000;
    text-shadow: 0px 0px 0px;
}
/* ========================================================== */





header {
    display: block;
    padding: 0px;
    width: 100%;
    margin: 0px;
    background-color: #050062;
    border-bottom: 6px solid #00F3FF;
}
.headimg {
    width: 80%;
    margin-top: 0px;
    margin-bottom: 0px;
    margin-left: auto;
    margin-right: auto;
    background-image: url(../images/head.png);
    background-attachment: scroll;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    height: 150px;
    padding-top: 50px;
    padding-left: 20px;
    font-size: 40px;
    line-height: 120%;
    display: block;
    font-weight: bold;
}
.headimg a:link {
    color: #FCFFAF;
    text-decoration: none;
    text-shadow: 2px 2px 4px #000000;
}
.headimg a:visited {
    color: #FCFFAF;
    text-decoration: none;
    text-shadow: 2px 2px 4px #000000;
}
.headimg a:hover {
    text-decoration: none;
    color: #FCFFAF;
    text-shadow: 2px 2px 4px #000000;
}

#content #mainContent h1 {
    /* Styling for main headings */
    color: #000000;
    font-weight: bold;
    font-size: 28px;
    line-height: 120%;
    margin-top: 30px;
}
#content #mainContent h2 {
    font-style: normal;
    font-weight: bold;
    color: #FFFFFF;
    background-color: #3731D5;
    margin-top: 60px;
    font-size: 24px;
    line-height: 140%;
    border-radius: 4px;
    padding-top: 14px;
    padding-right: 8px;
    padding-left: 10px;
    padding-bottom: 12px;
}
#content #mainContent h3 {
    /* Styling for main headings */
    color: #3731D5;
    font-size: 22px;
    line-height: 140%;
    border-bottom: 4px solid #3731D5;
    padding: 0px;
    margin-top: 40px;
}
#content #sidebar h4 {
    text-align: center;
    font-size: 20px;
    color: #000000;
    margin-top: 15px;
    margin-right: 0px;
    margin-left: 0px;
    margin-bottom: 0px;
    padding: 0px;
    line-height: 120%;
}
#content #mainContent .pancuzu {
    font-size: 12px;
    color: #575757;
    line-height: 18px;
    padding-top: 6px;
    padding-bottom: 8px;
}

#content #mainContent {
    font-size: 12pt;
    line-height: 200%;
}

#content #mainContent p {
    /* All paragraphs under maincontent */
    color: #333333;
    font-size: 12pt;
    line-height: 200%;
    padding-bottom: 3pt;
    padding-top: 3pt;
    	
}

#mainContent ul li {
    font-size: 12pt;
    line-height: 180%;
    padding-bottom: 14px;
}

#content #mainContent #authorInfo {
    border-radius: 4px;
    /* Author info section */
    background-color: #F6F6F6;
    border: 1px solid #CCCCCC;
    margin-bottom: 20px;
}

#content #mainContent #authorInfo h2 {
    color: rgba(255,255,255,1.00);
    padding-left: 2%;
    padding-top: 11px;
    margin-top: 0px;
}
#content #mainContent #authorInfo p {
    color: rgba(0,0,0,1.00);
    padding-left: 2%;
    padding-top: 0px;
    padding-bottom: 11px;
    padding-right: 2%;
}
footer article {
    /* Footer articles */
    width: 45%;
    padding-left: 2%;
    padding-right: 2%;
    color: #3B3B3B;
    font-size: 10pt;
    border: 1px solid #CCCCCC;
    display: inline-block;
    vertical-align: top;
    margin-top: 10px;
}
footer article h3 {
	/* Footer article titles */
	text-align: center;
}

#mainwrapper img {
    max-width: 100%;
    height: auto;
}
#mainContent {
    width: 71%;
    float: left;
    padding-right: 2%;
    padding-top: 20px;
    margin-left: 2%;
}
#mainwrapper #content #sidebar {
    width: 20%;
    padding-left: 2%;
    padding-right: 2%;
    float: left;
    background-color: #F6F6F6;
    margin-top: 75px;
    padding-top: 10px;
    border-radius: 4px;
    border: 1px solid #CCCCCC;
    -webkit-box-shadow: 0px 0px 4px #D7D7D7;
    box-shadow: 0px 0px 4px #D7D7D7;
}
#mainwrapper {
    /* Container of all content */
    width: 82%;
    margin-left: auto;
    max-width: 1200px;
    margin-right: auto;
}

nav ul li {
	list-style-type: none;
	padding-top: 8px;
	padding-bottom: 8px;
}
nav ul {
	padding-left: 0%;
}
nav ul li a {
}
#footerbar {
    height: 50px;
    background-color: #1A1F6C;
    width: 96%;
    text-align: center;
    font-size: 12px;
    line-height: 120%;
    color: #FFFFFF;
    padding-top: 50px;
    margin-top: 50px;
    clear: both;
    border-top: 6px solid #4455D8;
    padding-left: 2%;
    padding-right: 2%;
}

#footerbar a:link {
    color: #FFFFFF;
    text-decoration: none;
}
#footerbar a:visited {
    color: #FFFFFF;
    text-decoration: none;
}
#footerbar a:hover {
    color: #FFFFFF;
    text-decoration: none;
}


footer {
	width: 71%;
	padding-left: 2%;
	padding-right: 2%;
}
.textred {
    color: #FF0000;
}
.orange {
    background-color: #FFED00;
}
#mainContent .grayBox {
    background-color: #eeeeee;
    border-radius: 8px;
    padding: 12px;
    border: 1px solid #CCCCCC;
}
#mainContent .yellowBox {
    background-color: #FFFCC5;
    border-radius: 8px;
    padding-top: 24px;
    padding-right: 14px;
    padding-left: 14px;
    padding-bottom: 24px;
    border: 1px solid #FFC964;
}
#mainContent .pinkBox {
    background-color: #FFE2E2;
    padding: 14px;
}
#mainContent .blueBox {
    background-color: #F0FFFE;
    padding: 14px;
    -webkit-box-shadow: 0px 0px 4px #B8B8B8;
    box-shadow: 0px 0px 4px #B8B8B8;
}
table.naiyo {
    width: 100%;
    font-size: 13px;
    border-top: 1px solid #999999;
    border-left: 1px solid #999999;
    line-height: 140%;
}
.naiyo tr td {
    padding: 6px;
    border-right: 1px solid #999999;
    border-bottom: 1px solid #999999;
}












/* Tablet view */
@media screen and (max-width:769px) {


    
.headimg {
    width: 90%;
    height: 180px;
    padding-top: 40px;
    padding-left: 20px;
    font-size: 34px;
    line-height: 120%;
    display: block;
}
#mainwrapper {
    width: 92%;
    margin-left: 4%;
    margin-right: 4%;
}
#content #mainContent h1 {
    font-size: 26px;
    line-height: 120%;
    margin-top: 30px;
}
#content #mainContent h2 {
    font-size: 22px;
}
#content #mainContent h3 {
    font-size: 20px;
}
    
#mainContent {
    padding-top: 14px;
	float: none;
	width: 96%;
}

#mainwrapper #content #sidebar {
	/* Sidebar*/
	float: none;
	width: 92%;
	padding-top: 13px;
	overflow: auto;
	margin-top: 3px;
	margin-left: 2%;
 	margin-bottom: 10px;
}

#content #sidebar nav {
	padding-left: 4%;
}
#sidebar nav ul {
	margin-top: 0px;
}
footer {
	/* Footer region */
	width: 96%;
	padding-left: 2%;
	padding-right: 2%;
}
#content footer article {
    /*Each footer article */
    width: 44.5%;
}
#mainwrapper header {
	/* Header */
	width: 100%;
}
}








/* Mobile view */
@media screen and (max-width:480px) {

.headimg {
    width: 92%;
    height: 200px;
    padding-top: 40px;
    padding-left: 4%;
    font-size: 30px;
    line-height: 120%;
    display: block;
    padding-right: 4%;
}
#content #mainContent ul {
    padding-left: 18px;
}
    
#content #sidebar nav {
    /* Navigation bar for links in sidebar */
    width: 100%;
    padding-top: 8px;
    padding-left: 0%;
    text-align: center;
    font-size: medium;
}
#sidebar nav ul li {
    display: inline-block;
    vertical-align: top;
    width: 32%;
    text-align: center;
}
#mainwrapper #content #sidebar {
	/* sidebar */
	padding-bottom: 0px;
}

#content #mainContent h1 {
    font-size: 26px;
    line-height: 120%;
    margin-top: 30px;
}
#content #mainContent h2 {
    font-size: 20px;
}
#content #mainContent h3 {
    font-size: 20px;
}

#content footer article {
	/* Each foter article */
	width: 96%;
}
}
