@charset "utf-8";

/* bodyのCSS
------------------------------------------------------------*/

/* ヘッダーのCSS
------------------------------------------------------------*/

header{
	 
margin : 0px auto;
width : 100%;
  display : block;
  height : 265px;
  padding-left : 1%;
  padding-right : 1%;
}

#logo{
  font-weight : bold;
  background-repeat : no-repeat;
  background-position : 0px 0px;
  width : 100%;
  height : 80px;
  text-indent : -5000px;
  margin-top : 0px;
  margin-bottom : 0px;
  margin-left : auto;
  margin-right : auto;
}


h1{
  font-size : 8pt;
  color : gray;
  text-align : left;
  font-weight : normal;
  margin-bottom : 5px;
  margin-top : 10px;
}

/* 検索ＢＯＸ
------------------------------------------------------------*/
#search{
  width : 230px;
  margin-bottom : 0px;
  margin-top : 15px;
  margin-left : 0px;
  margin-right : 0px;
  padding-bottom : 0px;
}

#searchform{
    width : 197px;
    padding : 0px;
    background : none 0% 0% / auto auto repeat scroll padding-box border-box #eeeeee;
    border : 1px none #dddddd;
    border-radius: 5px;
  margin-right : 15px;
  font-size : 9pt;
  margin-top : -10px;
}

#s{
    width : 125px;
    height: 30px;
    line-height: 30px;
    padding: 0 10px;
    vertical-align: bottom;
    border: 1px solid #ccc;
    border-radius: 5px 0 0 5px;
    outline: none;
    box-sizing: content-box;
    -webkit-appearance: textfield;
    color: #999;
    background: #eee;
    box-shadow: 0 1px 0 #fff,
        0 -1px 0 #fff,
        -1px 0 0 #fff,
        1px 0 0 #fff,
        0 0 3px #ddd inset;
}
#s:focus{
    color: #333;
}
#searchsubmit{
    width : 50px;
    height: 32px;
    vertical-align: bottom;
    border: 1px solid #ccc;
    border-radius: 0 5px 5px 0;
    margin-left: -5px;
    color: #666;
    background : -moz-linear-gradient(top, #fff, #eee) 0% 0% / auto auto repeat scroll padding-box border-box transparent;
    background: linear-gradient(top, #fff, #eee);
    cursor: pointer;
    box-shadow: 0 1px 0 #fff,
        0 -1px 0 #fff,
        -1px 0 0 #fff,
        1px 0 0 #fff;
}
#searchsubmit:hover{
    background: -webkit-linear-gradient(top, #eee, #fff);
    background: -moz-linear-gradient(top, #eee, #fff);
    background: linear-gradient(top, #eee, #fff);
}
#searchsubmit:active{
    border: 1px solid #aaa;
    border-right-color: #fff;
    border-bottom-color: #fff;
    box-shadow: 0 1px 0 #ddd,
        0 -1px 0 #fff,
        -1px 0 0 #fff,
        1px 0 0 #ddd;
}

#search h2{
  font-size : 9pt;
  color : gray;
  font-weight : normal;
}

/* コンテンツ
------------------------------------------------------------*/
#contents{
  width : 100%;  
  background-color : white;
}

/* メイン
------------------------------------------------------------*/
#main{
  margin : 0px 0px;
  padding : 1%;
  width : 98%;
}

/* フッターのCSS
------------------------------------------------------------*/

footer{
  width : 100%;  
  margin-top : 20px;
  border-top-width : 1px;
  border-top-style : solid;
  background-color : #f2f2f2;
  padding-top : 15px;
  padding-bottom : 15px;
  padding-left : 1%;
  padding-right : 1%;
}

#copyright{
  margin : 0px 0px;
  font-size : 9pt;
  text-align : right;
}

/*画像を横100%に（通常）
------------------------------------------------------------*/

img{
  width:100%;
  height:auto;
  margin-top : 10px;
  margin-bottom : 10px;
}

/*画像を横50%に
------------------------------------------------------------*/

.img_half img{
  width:50%;
  height:auto;
  margin-top : 10px;
  margin-bottom : 10px;
}

/*お知らせ
------------------------------------------------------------*/
.news{
  background-color : white
;
  font-size : 10.5pt;
  font-weight : normal;
  text-align : left;
  line-height : 1.5em;
border-width : 1px;border-style : solid;border-color : silver gray gray;
  padding-top : 5px;
  padding-left : 5px;
  padding-right : 5px;
  padding-bottom : 5px;
  margin-top : 5px;
}

.news h2{
  font-weight : normal;
  margin-top : 0px;
  color : white;
  font-size : 12pt;
  background-color : #000000;
  padding-top : 3px;
  padding-left : 5px;
  padding-bottom : 5px;
}

.news_box{
  width : 100%;
  overflow : scroll;
  overflow-x:hidden;
  height :250px;
}

.news_box h3{
  font-weight : bold;


  text-align : left;
  font-size : 11.5pt;
  margin-top : 7px;
  margin-bottom : 5px;
}

.news_box h3 a{
  font-size : 11pt;
  color : #3a3a3a;
  margin-top : 5px;
}

.news h3 a:hover{
  color : #cc0000;
}

.p_news_time{
  font-size : 9pt;
  font-weight : normal;
  color : gray;
  text-align : left;
  margin-top : 15px;
  margin-left : 0px;
  margin-right : 0px;
  margin-bottom : 0px;
  padding-top : 5px;
  border-bottom-width : 1px;
  border-bottom-style : dotted;
  border-bottom-color : silver;
}



/* ＰＣ
------------------------------------------------------------*/
@media all and (min-width: 1020px) {


/* ヘッダーのCSS
------------------------------------------------------------*/
header{
  height : 215px;
  
    border-bottom-width : 1px;
    border-bottom-style : solid;
    border-bottom-color : gray;
  
  }


h1{
  font-size : 8pt;
  color : gray;
  text-align : left;
  font-weight : normal;
  margin-bottom : 5px;
    }#main{
    margin-top : 25px;
  
    background-image : none;
  
    margin-left : auto;
    margin-right : auto;
  }

#search{
  font-size : 10.5pt;
  font-weight : normal;
  margin-top : 15px;
  width : 270px;
  float : right;
  position : relative;
    padding-bottom : 0px;
  }

/* 検索ＢＯＸ
------------------------------------------------------------*/
#searchform{
    width : 257px;
    padding : 0px;
    background : none 0% 0% / auto auto repeat scroll padding-box border-box #eeeeee;
    border : 1px none #dddddd;
    border-radius: 5px;
  margin-right : 15px;
}
#s{
    width : 175px;
    height: 30px;
    line-height: 30px;
    padding: 0 10px;
    vertical-align: bottom;
    border: 1px solid #ccc;
    border-radius: 5px 0 0 5px;
    outline: none;
    box-sizing: content-box;
    -webkit-appearance: textfield;
    color: #999;
    background: #eee;
    box-shadow: 0 1px 0 #fff,
        0 -1px 0 #fff,
        -1px 0 0 #fff,
        1px 0 0 #fff,
        0 0 3px #ddd inset;
}
#s:focus{
    color: #333;
}
#searchsubmit{
    width: 60px;
    height: 32px;
    vertical-align: bottom;
    border: 1px solid #ccc;
    border-radius: 0 5px 5px 0;
    margin-left: -5px;
    color: #666;
    background: -webkit-linear-gradient(top, #fff, #eee);
    background: -moz-linear-gradient(top, #fff, #eee);
    background: linear-gradient(top, #fff, #eee);
    cursor: pointer;
    box-shadow: 0 1px 0 #fff,
        0 -1px 0 #fff,
        -1px 0 0 #fff,
        1px 0 0 #fff;
}
#searchsubmit:hover{
    background: -webkit-linear-gradient(top, #eee, #fff);
    background: -moz-linear-gradient(top, #eee, #fff);
    background: linear-gradient(top, #eee, #fff);
}
#searchsubmit:active{
    border: 1px solid #aaa;
    border-right-color: #fff;
    border-bottom-color: #fff;
    box-shadow: 0 1px 0 #ddd,
        0 -1px 0 #fff,
        -1px 0 0 #fff,
        1px 0 0 #ddd;
}
#search h2{
  font-size : 9pt;
  color : gray;
  font-weight : normal;
}

/* コンテンツ
------------------------------------------------------------*/
#contents{
      display: table; 
      border-spacing: 0em 0px ;
      margin : 0px auto;
      width : 1020px;
}

/* メイン
------------------------------------------------------------*/
#main{
 display: bloc; 
 width : 65%;
 padding : 1%;
    float : left;
    position : relative;
  }

#main2{
 display: bloc; 
 width : 65%;
 padding : 1%;
    float : left;
    position : relative;
  }

/* サブ
------------------------------------------------------------*/
#sub{
 display: bloc; 
 width : 25%;
 padding :1%;
    float : right;
    position : relative;
  }

  }

