/* CSS Document */

/*
スマホ: 320px - 480px 
タブレット: 480 - 768px
PC: 768px以上
*/
 
/* 共通の設定 */

body {
  font-family: '-apple-system', 'BlinkMacSystemFont','Hiragino Sans','Hiragino Kaku Gothic ProN',
		"segoe ui",'游ゴシック  Medium','メイリオ', Meiryo,'ＭＳ Ｐゴシック','MS PGothic',sans-serif;
  font-size: small;
  color: #444;
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  padding: 0;
  background: url(../images/body_bg.jpg);
   -webkit-text-size-adjust: 100%;
}

p{
  margin: 0.5em 0;
}

img {
  max-width: 100%;
  border: none;
}

a:link { color: #36c; }

a:visited { color: #669; }

a:hover,a:active { color: #000; }

th,td {
  padding: 0.2em 0.5em;
}

dd {
  position: relative;
  top: -1.6em;
  margin-left: 10em;
}

#container {
  max-width: 100%;
}

/*---------- navigation ----------*/

#globalnavi {
  margin: 1em 0;
}

#globalnavi li {
  float: right;
  padding-left: 2em;
}

#globalnavi a {
  color: #c9ae64;
  text-decoration: none;
  text-shadow: #000 2px 2px 2px;
}

#globalnavi a:hover {
  color: #eacb75;
}

#top_menu {
  margin-bottom: 20px;
}


#header h1 span {
  font-family: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
  font-size: 100%;
  color: #fff;
  text-shadow: #000 2px 2px 2px;
  padding-top: 15px;
  display: block;
}

#header h1 img {
  float: left;
  margin-right: 30px;
}

#contents {
  background: #fff;
  padding: 1em;
}

#contents h2 {
  font-family: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
  font-size: 200%;
  font-weight: bold;
  color: #000;
  text-shadow: #ccc 2px 2px 3px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 5px;
  margin: 20px 0;
}

#contents h3 {
  font-size: 140%;
  font-weight: bold;
  text-align: center;
  color: #900;
  text-shadow: #fff 2px 2px 2px;
  background: url(../images/h3_bg.jpg) no-repeat bottom center;
  padding-bottom: 5px;
  margin: 20px 0;
}

#contents h4 {
	border-bottom: 3px double #600;
	padding-left: 1em;
}

#contents h5 {
    font-weight: bold;
    color: #1418D0;
}

#bottom_navi {
  text-align: center;
  margin-top: 2em;
  clear: both;
}

#footer {
  line-height: 1.2em;
  color: #ccc;
  text-align: center;
}

/*------------ トップページ -----------*/

#toppage_banner {
  text-align: center;
}

#toppage_banner img {
  display: block;
  margin: 10px auto;
}

/*========== スマホのスタイル ==========*/

.togmenu {
  display: none;
}

.menubtn {
  height: 44px;
  padding: 10px;
  text-align: center;
  color: #c9ae64;
}

.menu li {
  float: none;
  width: 100%;
}

.menu li a {
  display: block;
  width: 100%;
  height: 100%;
  color: #c9ae64;
  text-shadow: #000 2px 2px 2px;
  text-decoration: none;
  font-size: 120%;
  padding: 12px;
}

.menu li a:hover {
  color: #eacb75;
  background-color: rgba(0,0,0,0.5);
}

.sub li {
  padding-left: 1em;
}

.banner_box {
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = '#ffffff', endColorstr = '#bbbbbb');
/*INNER ELEMENTS MUST NOT BREAK THIS ELEMENTS BOUNDARIES*/
/*Element must have a height (not auto)*/
/*All filters must be placed together*/
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr = '#ffffff', endColorstr = '#bbbbbb')";
/*Element must have a height (not auto)*/
/*All filters must be placed together*/
background-image: -moz-linear-gradient(top, #ffffff, #bbbbbb);
background-image: -ms-linear-gradient(top, #ffffff, #bbbbbb);
background-image: -o-linear-gradient(top, #ffffff, #bbbbbb);
background-image: -webkit-gradient(linear, center top, center bottom, from(#ffffff), to(#bbbbbb));
background-image: -webkit-linear-gradient(top, #ffffff, #bbbbbb);
background-image: linear-gradient(top, #ffffff, #bbbbbb);
/*--IE9 DOES NOT SUPPORT CSS3 GRADIENT BACKGROUNDS--*/

  margin-bottom: 20px;
}

.banner_box img {
    width: 100%;
}

.banner_box li {
    float: left;
    width: 50%;
}

.banner_box li a {
    height: 44px;
    color: #333;
    text-decoration: none;
}

.corner_box {
    text-align: center;
}

.corner_box > img {
    width: 100%;
}

.corner_box .item {
    float: left;
    margin: 10px 2px;
}

/*========== タブレットのスタイル ==========*/
@media all and (min-width: 480px) {

#header h1 span {
  font-size: 150%;
}

.menubtn {
  display: none;
}

.togmenu {
  display: block;
}

.menu li {
  height: 48px;
  width: 20%;
  float: left;
}

.menu li a {
  display: block;
  width: 100%;
  height: 100%;
  color: #c9ae64;
  text-shadow: #000 2px 2px 2px;
  text-decoration: none;
  font-size: 100%;
  padding: 12px;
}

.menu li a:hover {
  color: #eacb75;
  background-color: rgba(0,0,0,0.5);
}


.menu {
  zoom: 1;
}

.sub li {
  width: 100%;
  display: block;
  position: relative;
  float: none;
  background-color: rgba(0,0,0,0.7);
  padding-left: 0;
}

.floatright {
	float: right;
	padding-left: 1em;
}

.floatleft {
	float: left;
	padding-right: 1em;
}

.banner_box img {
    float: left;
    width: 33%;
}

.banner_box ul {
    float: left;
    width: 66%;
    padding: 5px;
}

.banner_box li {
    float: left;
    width: 33%;
}
  
  #toppage_banner img {
    width: auto;
    display: inline;
    width: 240px;
  }

  #toppage_banner {
    display: none;
  }


}

/*========== PCのスタイル ==========*/
@media all and (min-width: 768px) {

#header h1 span {
  font-size: 200%;
}

.banner_box img {
    width: 25%;
}

.banner_box ul {
    width: 75%;
    padding: 10px;
}

.banner_box li {
    width: 25%;
}
  

}