/* 
Theme Name: riasark1.0
Theme URL: 
Description: Wordpress theme
Author: riasark
version: 1.0
License:
License URI:
*/

html{
	max-width:1680px;
	margin:0 auto;
	background:#FAFAFA;
	position:relative;
	}

body{
	margin: 0 auto;
	padding: 0 ;
	overflow-x:hidden;
	position:relative;
	min-width:1000px;
	font-size:0.9em;
	line-height:160%;
	font-family:"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	color:#2F2F2F;
}

.clear{
	clear:both;
}

.container{
	max-width:1200px;
	min-width:960px;
	margin:0px auto;
	padding:0px;
}

header{
	min-width:960px;
	max-width:1200px;
	height:160px;
	margin:0 auto;
	position:relative;
	padding:0px;
	}
	
.top-logo{
	width:450px;
	height:140px;
	float:left;
	margin-left:20px;
}

.access{
	width:300px;
	height:140px;
	margin-right:20px;
	padding:10px;
	font-size:0.8em;
	line-height:160%;
	background:#FFFFFF;
	box-shadow:0.5px 0.5px 1px rgba(0,0,0,0.30);
	float:right;
	border-radius:0px 0px 5px 5px;
}

.access-sub{
	width:520px;
	height:86px;
	margin-right:20px;
	padding:10px;
	font-size:0.8em;
	line-height:160%;
	background:#FFFFFF;
	box-shadow:0.5px 0.5px 1px rgba(0,0,0,0.30);
	float:right;
	border-radius:0px 0px 5px 5px;
}

.access_text{
	margin:0px 0px 0px 10px;
	width:250px;
	float:left;
	}

.top{
	margin-top:10px;
	padding-top:180px;
	padding-bottom:200px;
	background-image:url(http://riasark.com/wp-content/uploads/2015/03/top1.jpg);
	background-size:cover;
	}

	
.img{
	margin:10px 20px;
	padding:0;
	float:left;
}




.navigation{
	width:970px;
	height:50px;
	margin:0px auto;
	padding:0;
	z-index:9999;
	
}

.pagination{
    text-align: center;
}
a.page-numbers,
.pagination .current{
    background: #fff;
    border: solid 1px #ccc;
    padding:5px 8px;
    margin:0 2px;
    text-decoration: none;
}
.pagination .current{
    background: #00acd1;
    border: solid 1px #000;
    color: #fff;
}

#main-nav{
	list-style-type: none;
	 width: 100%;
 	height:50px;
	 margin: 0 -500% 6px;
 	padding: 0px 500%;
	background: #00acd1;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px;
    float: left;

}

#main-nav li{
  position: relative;
  width: 24.8%;
  height:50px;
  float: left;
  margin: 0px;
  padding:0px;
  text-align: center;
  border-left:2px solid #A1DCEF;
}

#main-nav li:first-child{
	border:none;
}


#main-nav li a{
  display: block;
  margin: 0 auto;
  padding:13px;
  color: #fff;
  font-size: 1.6em;
  font-weight: normal;
  line-height: 1;
  text-decoration: none;
}

#main-nav li ul{
	width:100%;
 	list-style: none;
 	position: absolute;
 	top: 100%;
	left: 0;
	margin: 0;
	padding: 0;
	border-radius: 0 0 5px 5px;
}

#main-nav li ul li{
  overflow: hidden;
  width: 100%;
  opacity:1;
  height: 0;
  color: #fff;
  -moz-transition: .2s;
  -webkit-transition: .2s;
  -o-transition: .2s;
  -ms-transition: .2s;
  transition: .2s;
    border-style:none;
}
#main-nav li ul li a{
  padding: 13px 15px;
   color:#13519c;
  background-color:RGBa(182,218,229,0.8);
  text-align: left;
  font-size: 0.9em;
  font-weight: normal;

}
#main-nav li:hover > a{
	color: #fff;
	background:#102A75;
}


#main-nav > li:hover > a{
  border-radius: 3px;
}
#main-nav li:hover ul li{
	overflow: visible;
	height: 100%;
}
#main-nav li:hover ul li:first-child{
  border-top: 0;
}
#main-nav li:hover ul li:last-child{
  border-bottom: 0;
}
#main-nav li:hover ul li:last-child a{
  border-radius: 0 0 3px 3px;
  border-style:none;
}

.text{
	margin:0 auto;
	padding:30px;
}

.news{
	width:960px;
	margin:	20px auto;
	padding:0px;
	background-color:#FFFFFF;
	box-shadow:0px 0px 2px rgba(84,84,84,0.30) ;
	border-radius:5px;
}

.date{
	margin:0 0 25px 0;
}

p.right {
	text-align: right; 
	margin:0;
	padding:0;
}

.new{
	background:#DF6B6A;
	color:#ffffff;
	margin:0 10px;
	padding:3px 10px;
	border-radius:3px;
}

.newtitle{
	font-weight:bold;
	font-size:1.2em;
}

.info{
	width:960px;
	margin:20px auto;
	padding:0;
	box-shadow:0px 0px 2px rgba(84,84,84,0.30);
	border-radius:5px;
	background-color:#ffffff;
}

.main_img{
	min-width:960px;
	max-width:1800px;
	height:120px;
	margin:0px auto;
	background-color:#9C9C9C;
	}
	


footer{
	max-width:1200px;
	min-width:960px;
	margin:0px auto;
	padding:0px;
	height:160px;
	position:relative;
}

.footer{
	background-color:#B6DAE5;
	width:100%;
	height:220px;
	margin: 0 -500%;
 	padding: 0px 500%;
}

.footer-menu{
	width:640px;
	position:absolute;
	left:330px;
}

.copy{
	margin: 0px -500%  0;
 	padding: 20px 500% ;
	color:#FFFFFF;
	background-color:#00acd1;
	text-align:center;
	width:100%;
}

table{
	margin: 28px 0;
	padding: 0;
	float:right;
}

td{
	width:300px;
}

tr{
	widows:100px;
	text-align:left;
}

th{
	width:100px;
}

.contents{
	max-width:1200px;
	min-width:960px;
	margin:0px auto;
	padding:20px 40px;
}

.sub-header{
	max-width:1200px;
	min-width:960px;
	margin:0 auto;
	margin-bottom:10px;
}


/*文字指定*/
h1{
	font-size:xx-large;
	font-family:"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	margin:0px 0px 20px 0px;
	padding:0 0 15px 0;
	border-width:0px 0px 2px 0px;
	border-style:solid;
	color:#00acd1;
	font-weight:normal;
}

h2{
	margin:5px 0px;
	font-size:1.6em;
	font-family:"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	color:#13519C;
}

h3{
	background-color:#00acd1;
	margin:0;
	padding:3px;
	text-align:center;
	color:#ffffff;
	font-weight:normal;
	border-radius:3px;
}

h4{
	margin:0;
	padding:15px 0;
	font-size:2.3em;
	color:#333333;
}

h5{
	background: #2989d8; /* Old browsers */
background: -moz-linear-gradient(left,  #B6DAE5 0%, #FAFAFA 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, right top, color-stop(0%,#B6DAE5), color-stop(100%,#FAFAFA)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(left,  #B6DAE5 0%,#FAFAFA 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(left,  #B6DAE5 0%,#FAFAFA 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(left,  #B6DAE5 0%,#FAFAFA 100%); /* IE10+ */
background: linear-gradient(to right,  #B6DAE5 0%,#FAFAFA 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#B6DAE5', endColorstr='#FAFAFA',GradientType=1 ); /* IE6-9 */

	background-color:#B6DAE5;
	margin:0;
	padding:15px 10px;
	font-size:2.2em;
	color:#444444;
	border-radius:3px;
}
.sub-header h4{
	float:left;
}

/*リスト*/

li{
	list-style-type:none;
}

a{
	text-decoration:none;
	-webkit-transition: 0.25s;
    -moz-transition: 0.25s;
    -o-transition: 0.25s;
    -ms-transition: 0.25s;
    transition: 0.25s;
	color:#13519C;
}

a:hover{
	color:#DF6B6A;
	}

/*sub_fixed*/
.fixed {
    position: fixed;
    top: 0;
    left: 0;
	right:0;
	bottom:0;
}

/*page-top*/

#page-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    font-size: 100%;
	z-index:999;
}
#page-top a {
    background:rgba(79,79,79,0.80);
    text-decoration: none;
    color: #fff;
    width: 100px;
    padding:30px 0;
    text-align: center;
    display: block;
    border-radius: 5px;
}
#page-top a:hover {
    text-decoration: none;
    background:rgba(110,110,110,0.80);
}

article.post{
	width: 960px;
	margin:50px auto;
}
img.wp-image-119{
	float:left;
	margin:0 30px 50px 0;
}

/*netable*/
table.netable{
	border-collapse: collapse;
	margin:0 auto 40px auto;
	padding:40px;
	width:850px;
	float:left;
}
table.netable tr{
	height:50px;
}
table.netable tr th{
	text-align:center;
	background-color:#ff9f00;
}
table.netable tr td{
	padding:0 10px;
	background-color:#fff;
}
table.netable td:first-child{
	width:500px;
}
table.netable td:nth-child(2){
	width:200px;
}
table.netable td:nth-child(3){
	width:150px;
}

/*kikakutable*/
table.kikakutable{
	border-collapse: collapse;
	margin:0 0 10px 60px;
	width:850px;
	float:none;
}
table.kikakutable caption{
	font-weight:bold;
	margin-bottom:10px;
}
table.kikakutable tr td{
	padding:0 10px;
	background-color:#fff;
}
table.kikakutable tr{
	height:50px;
}
table.kikakutable td:first-child{
	width:500px;
}
table.kikakutable td:nth-child(2){
	width:200px;
}
table.kikakutable td:nth-child(3){
	width:150px;
}


/*hyoujyuntable*/
table.hyoujyuntable{
	border-collapse: collapse;
	margin:0 0 10px 60px;
	width:850px;
	float:none;
}
table.hyoujyuntable caption{
	font-weight:bold;
	margin-bottom:10px;
}
table.hyoujyuntable tr td{
	padding:0 10px;
	background-color:#fff;
}
table.hyoujyuntable tr{
	height:50px;
}
table.hyoujyuntable td:first-child{
	width:10px;
}
table.hyoujyuntable td:nth-child(2){
	width:10px;
}
table.hyoujyuntable td:nth-child(3){
	width:10px;
}
table.hyoujyuntable td:nth-child(4){
	width:10px;
}

/*　英語対応　*/
.language {
    float: left;
    margin-left: 15px;
	margin-top: 13px;
}
.language.top_header {
    margin-top: 37px;
    margin-left: 70px;
}
.access.en_access {
    height: 240px;
}
a .text-small {
    font-size: 18px;
    position: absolute;
    left: 0;
    top: 7px;
}
h1 {
    line-height: 1em;
}
h5{
	line-height: 1em;
}
.layout img {
    width: 100%;
    height: 100%;
}
.box {
    width: 620px;
    margin: auto;
}
.col-4 {
    width: 35%;
    float: left;
    padding: 0 10px;
}
.col-6 {
    width: 58%;
    float: left;
    padding: 0 10px;
}
.col-5 {
    width: 48%;
    float: left;
    padding: 10px;
}
.layout {
    margin: 15px auto;
}
.layout:after {
    content: "";
    display: table;
    clear: both;
}
.border-box {
    border: 1px solid #000;
    padding: 30px;
	margin-bottom: 20px;
}
.indent {
    text-indent: 2em;
}
a .text-small:hover {
    background: #102a75;
}
ul#qtranslate-chooser {
    background: #00acd1;
    color: #fff;
    font-weight: bold;
    font-size: 19px;
	padding: 0;
}
ul#qtranslate-chooser li {
    display: inline-block;
    padding: 12px 0;
    width: 110px;
    text-align: center;
}
ul#qtranslate-chooser li a {
    color: #fff;
}
ul#qtranslate-chooser li:hover,
ul#qtranslate-chooser li.active{
    background: #13519C;
}