@charset "shift_jis";

/*----------------------------------------------------------------
   CSSデザインサンプ [ URL ] http://www.css-designsample.com
------------------------------------------------------------------ */

body {
  margin: 0px ;
  padding: 0px ;
  text-align: center;
}

#main {
  width: 900px;
  font-family:  Meiryo,sans-serif,"メイリオ","游ゴシック","ＭＳ Ｐゴシック","ＭＳ Ｐ明朝", Osaka ; 
/*  font-family:  Meiryo,sans-serif,"メイリオ","游ゴシック"; */
  margin: 0 auto;
  text-align: left;
}

/* -----------------------------------------------------------------*/

hr.header{
  height: 4px;
  background-color: #f3c14b;
  border: none;
}

/*----------- コンテンツ部とメニュー部のレイアウト設定 ------------*/

/*--------------- トップ画面メニュー ------------*/

#topmenu{
  position: relative;
  height: 80px;
/*    top: 63px;
    left: 29px; */
}

/* 横配列メニュー　ul,li使用 */

ul.menu {
/*  margin: 0px auto; */
  position: absolute;
  top: -7px;
  left: 29px;
  padding: 5px auto; 
  list-style-type: none;
  font-size:10px;
  text-align: center;
}

ul.menu li { 
/*
*/
width: 187px;
height: 60px;
font-size: 18px;
margin: 0px auto; 
padding: 0px auto; 
float: left;
border:1px solid white;
  border-top-right-radius: 10px;
}

ul.menu li a { 
width: 187px;
height: 60px;
border: 1px solid #666;
background-color: #ddd;
padding: 5px auto;
color: #0058b0;
margin: 2px auto;
text-align: center;
font-size: 18px;
  font-weight: bold;
text-decoration: none;
display: block; 
display: table-cell;
	vertical-align: middle;
  border-top-right-radius: 10px;
}

ul.menu li a:hover{
width: 187px;
height: 60px;
text-decoration: none;
background-color: #bbb;
color: #004080;
display: table-cell;
	vertical-align: middle;
  border-top-right-radius: 10px;
}

/* -----------------------------------------------------------------*/

#topmenu2{
  position: absolute;
    top: 57px;
    left: 29px;
}

ul.menu2 li { 
/*
*/
width: 187px;
height: 60px;
font-size: 18px;
margin: 0px auto; 
padding: 0px auto; 
float: left;
border:1px solid white;
list-style-type: none;
  border-top-right-radius: 10px;
}

ul.menu2 li a { 
width: 187px;
height: 60px;
border: 1px solid #666;
background-color: #ddd;
padding: 5px auto;
color: #0058b0;
margin: 2px auto;
text-align: center;
font-size: 18px;
  font-weight: bold;
text-decoration: none;
display: block; 
display: table-cell;
	vertical-align: middle;
  border-top-right-radius: 10px;
}

/*-
ul.menu2 li a:hover{
width: 187px;
height: 60px;
text-decoration: none;
background-color: #ddd;
color: #004080;
display: table-cell;
	vertical-align: middle;
  border-top-right-radius: 10px;
}

*/

/*--------------- トップ画面メニュー終了 ----------------*/

/*----------- コンテンツ部 ---------------*/

#contents {
  position: relative;
  background-color: #fff;
  width: 866px;
  padding: 15px;
  border: 1px solid #222;

  max-height:auto ; 
/*   height:auto !important; 

/*  height:635px; */
}


.side-jimu {
  margin: 0;
  padding: 0px 2px 3px 3px;  
  text-align: left;
  font-size: 13px;
}

/*----------- コンテンツ部とメニュー部のレイアウト設定 ------------*/

/*---------------- フッター部分 --------------*/
#footer0{
  margin-top: -2px;
  height: 27px;
  background-color: #ccc;
  border: none;
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
}

#footer{
  margin-top: -40px;
  text-align: center;
  color: #0058b0;
  font-size: 14px;
  font-weight: bold;
}


/* ---------------------------------------------------------------------*/
/*     コンテンツブロック内に関する指定  */

/* 見出し */
#main h1 {
  font-size: 28px;
  padding: 4px;
  margin-top: 0.5em;
  margin-bottom: 0.25em;
  font-weight: bold;
  color: #0080ff;
  background-color: #ddd;
  text-align: center;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

#contents h2 {
  font-size: 20px;
  padding: 4px;
  margin-top: 0px;
  font-weight: bold;
  color: #0000a0;
  background-color: #eee;
  text-align: center;
}

#contents h3 {
  font-size: 16px;
  padding: 3px;
  font-weight: bold;
  color: #0000a0;
  background-color: #eee;
  text-align: left;
  text-indent: 0.5em;
  border-left: 7px solid #0000a0;
}

#contents h4 {
  margin-left:0.5em;
  font-size: 15px;
  padding: 2px;
  color: #ff8000;
  background-color: #eee;
  text-align: left;
  text-indent: 0.5em;
  border-bottom: 1px solid #444;
}

#contents h5 {
  margin:0em;
  margin-top:0.5em;
  font-size: 15px;
  padding: 2px;
  font-weight: bold;
  color: darkred;
  text-align: left;
  text-indent: 1em;
}

/* 文字 */
#contents p {
  font-size: 15px;
  line-height: 1.5em;
  margin-top: 0em;
  margin-bottom: 0em;
  text-indent: 1em;
  background-color: #fff;
}

/* 箇条書き文字 */
#contents p.kajotop {
  margin-top:0.5em;
  margin-right:1.0em;
  margin-left:3em;
  text-indent:-1em;
}

#contents p.kajomiddle {
  margin-right:1.0em;
  margin-left:3em;
  text-indent:-1em;
}

#contents p.kajobottom {
  margin-right:1.0em;
  margin-left:3em;
  margin-bottom:0.5em;
  text-indent:-1em;
}


#hiddenbox {
  position: relative;
  width: 660px;
  height:120px; 
  border: 1px solid #fff;
}

#hiddenbox a{
  display: block;
  position: absolute;
  width: 100%;
  height: 100%; 
}

/*  写真配置情報       */

#imgleft {
  margin-left:10px;
  height:210px;
}

#imgcenter {
  margin-left:295px;
  margin-top:-210px;
  height:210px;
}

#imgright {
  margin-left:580px;
  margin-top:-210px;
  height:210px;
}



/* ========Table CONTENTS CUSTOMIZE======== */

table {
  margin-top: 1em;
  margin-bottom: 1em;
  margin-left: auto;
  margin-right: auto;
border-collapse:collapse;
}

table.sample{
caption-side: top;
  margin-left: auto;
  margin-right: auto;
    border-spacing:0px;
    background-color:#ffffff;
    empty-cells:show;
}
.sample caption{
    border-bottom:1px solid #000;
    font-weight: bold;
    color:#ff8000;
    background-color:#ddd;
    background-position:left top;
    padding-top: 4px;
    text-align:center;
}
.sample th{
  font-size: 16px;
    border:1px solid #000;
    border-bottom:3px double #000;
    background-color:#ddd;
    background-position:left top;
    padding: 3px;
    text-align:center;
}
.sample td{
  font-size: 15px;
    border:1px solid ;
    padding-top: 4px;
    padding-left: 0.75em;
    vertical-align: middle;
}

/* ========Table2a CONTENTS CUSTOMIZE======== */
table {
  margin-left: auto;
  margin-right: auto;
border-collapse:collapse;
}

table.sample2a{
  margin-left: auto;
  margin-right: auto;
    border-top:1px solid ;
    border-left:1px solid ;
    border-collapse:collapse;
    border-spacing:0;
    background-color:#ffffff;
    empty-cells:show;
}
.sample2a caption{
    border-bottom:1px solid #000;
    font-weight: bold;
    color:#ff8000;
    background-color:#ddd;
    background-position:left top;
    padding-top: 4px;
    text-align:center;
}
.sample2a th{
    border-right:3px  double;
    border-bottom:1px solid ;
    color:#222;
    background-color:#dddddd;
    background-position:left top;
    padding:0.2em 0.5em;
    text-align:right;
}
.sample2a td{
    border-right:1px solid ;
    border-bottom:1px solid ;
    padding:0.3em 0.5em;
    text-align:left;
}


/* ========Table2b CONTENTS CUSTOMIZE======== */
table {
  margin-left: auto;
  margin-right: auto;
}

table.sample2b{
  margin-left: auto;
  margin-right: auto;
    border-top:1px solid ;
    border-left:1px solid ;
    border-collapse:collapse;
    border-spacing:0;
    background-color:#ffffff;
    empty-cells:show;
}
.sample2b caption{
    border-bottom:0px;
    font-weight: bold;
    background-position:left top;
    padding-top: 4px;
    text-align:left;
}
.sample2b th{
    border-bottom:3px  double;
    border-right:1px solid ;
    color:#222;
    background-color:#dddddd;
    background-position:left top;
    padding:0.2em 0.5em;
    text-align:center;
}
.sample2b td{
    border-right:1px solid ;
    border-bottom:1px solid ;
    padding:0.2em 0.75em;
    text-align:left;
}

/* ---------------------------------------------------------------------*/

