﻿@charset="UTF-8"
/*
Theme name: My theme
Author: KF
*/
body {
  font-family: 'メイリオ','HIRAGINO Kaku',sans-serif;
}

.header {
  max-width:  1200px;
  overflow:   hidden;
}

.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  background-color: #ffffff;
}

.main1 {
  max-width: 1200px;
  padding:10px;
  margin-left: auto;
  margin-right: auto;
}
.main2 {
  max-width: 900px;
  padding:10px;
  margin-left: auto;
  margin-right: auto;
}

.footer {
  clear: both;
  font-size: 0.75em;
  color: #666666; 
  text-align: center;
  padding-top: 5px;
  border-top-width: 1px;
  border-top-style: solid;
  border-top-color: #666666;
  margin-top: 5px;
}

#flatnav {
  margin: auto 0;
  padding:10px;
}

#flatnav ul,
#flatnav ul li,
#flatnav ul li a {
  margin: 0;
  padding:0;
}

#flatnav ul {
  list-style:none;
}

#flatnav ul li{
  float: left;
  margin-left: 10px;
  margin-bottom:  10px;
  background-color: #cccc99;
}

#flatnav ul li a {
  display: block;
  padding: 0.5em 0;
  width:140px;
  height: 18px;
  border:1px solid #2c4762;
  text-align:center;
}

#flatnav ul li a:hover {
  background-color: #ccff99;
}

#sidenav {
  margin:auto 0;
  padding:10px;
}

#sidenav ul,
#sidenav ul li,
#sidenav ul li a {
  margin: 0;
  padding:0;
}

#sidenav ul {
  list-style:none;
}

#sidenav ul li{
  margin-left: 2px;
}

#sidenav ul li a {
  display: block;
  padding: 0.8em 0;
  margin-top: 2px;
  margin-bottom: 2px;
  width:150px;
  height: 18px;
  border:1px solid #2c4762;
  text-align:center;
}

#sidenav ul li a:hover {
  background-color: #ccff99;
}

.slideshow {
   position: relative;
   width:  300px; /* 画像の横幅に合わせて記述 */
   height: 250px; /* 画像の高さに合わせて記述 */
}

.slideshow img {
   position: absolute;
   top: 0;
   left:0;
   z-index: 8;
   opacity: 0.0;
}

.slideshow img.active {
   z-index: 10;
   opacity: 1.0;
}

.slideshow img.last-active {
   z-index: 9;
}

.image-center {
  width:      100%;
  text-align: center;
}

.clearfix {
  clear: both;
}

.clearfix:before,
.clearfix:after {
  display:table;
  content:"";
  line-height:0;
}

.clearfix:after{
  clear:both;
}




a.box {
  display: block;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 10px;
  padding-right: 10px;
  width: 216px;
  height: 44px;
  background-image: url(../img/orangebox.gif);
  color: #4169e1;
  text-decoration: underline;
  font-weight: bold;
  font-size: 15px;
  line-height: 1;
}

a.box:hover {
   background-image: url(../img/greenbox.gif);
}

a.botan {
  background: url(../img/navibotan1.png) no-repeat;
  font-size: small;
  font-weight: bold;
  color:#ffffff;
}

a.botan:hover {
  background: url(../img/navibotan2.png) no-repeat;
  font-size: small;
  font-weight: bold;
  color: #cc3333;
}

thead {
  background-color:#ffffff;
}

tbody {
  width: 800px;
  background-color: #fffff;
}

tfoot {
  background-color: #fffff;
}

table.right
{
  float: right;
}

table.left
{
  float: left;
}

.s {
  font-size: small;
  line-height: 1.5;
}

.m {
  font-size: midium;
  line-height: 1.5;
}

.l {
  font-size: large;
  line-height: 1.5;
}

.sb {
  font-size: small;
  font-weight: bold;
}

.mb {
  font-size: midium;
  font-weight: bold;
}

.lb {
  font-size: large;
  font-weight: bold;
}

.mred {
  font-size: midium;
  font-weight: bold;
  color: #cc0033;
}

.lred {
  font-size: large;
  font-weight: bold;
  color: #cc0033;
  text-decoration: blink;
}
.sb-center {
  font-size: small;
  font-weight: bold;
  text-align: center;
}

.sb-block {
  font-size: small;
  line-height: 1.5;
}

.mb-block {
  font-size: midium;
  line-height: 1.5;
}

H1 {
  text-align: center;

}


H2 {
  text-align: center;

}
H3 {

  border-bottom:ridge 5px #66ff99;
  padding: 5px;
  line-height: 1em;
  margin-left: auto;
  margin-right: auto;
}

.mawarikomi-kaijyo {
  clear: both;
  line-height: 1.4;
}

.tbl-nittei {
  font-size: large;
  line-height: 1.5;
  width: 100px;
}

.tbl-naiyou {
  font-size: large;
  line-height: 1.5;
  width: 100px;
}

.tbl-sanka {
  font-size: large;
  line-height: 1.5;
  width: 250px;
}

.tbl2-koumoku {
  font-size: midium;
  line-height: 1.5;
  width: 80px;
}

.tbl2-naiyou {
  font-size: midium;
  line-height: 1.5;
  width: 600px;
}

.img_left {
  float: left;
  margin: 10px;
}

.img_right {
  float: right;
  margin: 10px;
}
.img_other {
  margin: 10px;
}

.cyuuou {
  max-width:  580px;
  margin: auto;
}

.map {
  float left;
  margin: 1px;
  border: 1px #ffffff;
}

@media (min-width: 768px) {
.container {
  max-width: 1200px;
  margin-left: 40px;
  margin-right: 40px;
  overflow: hidden;
}

.main2 {
  width: 65%;
  float: left;
}

.main3 {
  width: 25%;
  float: right;
}


}
  
