@charset "Shift-JIS";

/* /_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_
 全デバイス共通のスタイルとスマートフォンおよび小型タブレット向けレイアウトの指定
/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_*/

/*==========================================
 body
===========================================*/
body {
  width: 100%;
  background-color:#FFF;
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  color:#000;
}
a {
  color:#000;
  text-decoration:none;
}
a:hover {
  color:#333;
  text-decoration:underline;
}
.searchFrame{
  position: relative;
  display: inline-block;
}

.inputBox{
  padding-right: 20px;
  width:120px;
}

.searchFrame .clearButton{
  width: 17px;
  height: 17px;
  position: absolute;
  right: 4px;
  top: 4px;
  background: url(../images/clear.png) no-repeat left center;
  cursor: pointer;	
}
/*==========================================
 ヘッダーのスタイル
===========================================*/
header {
  text-align:center;
}
header h1 {
  margin:0 0 20px 0;
  padding:15px;
	background-color: #3366ff;
	color: #ffffff;
  font-size: 120%;
  text-align:center;

}
header h2 {
  margin:10px;
  padding:15px 5px 7px 5px;
  font-size: 120%;
}
header {
  position:relative;
  overflow:hidden;
}
header ul#s_nav {
  margin-bottom:15px;
  position:relative;
  left:50%;
  float:left;
}
header ul#s_nav li {
  float:left;
  position:relative;
  left: -50%;
}
header ul#s_nav li a {
  display:block;
  font-size:0.8em;
  margin-right:20px;
  padding-left:20px;
}
header ul#s_nav li.contact a {
  background:url(../images/icn_contact.jpg) no-repeat left center;
}
header ul#s_nav li.news a {
  background:url(../images/icn_news.jpg) no-repeat left center;
}
header ul#s_nav li.sitemap a {
  background:url(../images/icn_sitemap.jpg) no-repeat left center;	
}
header p {
  width:100%;
}
header p img {
  width:100%;
  height:auto;
  max-width:960px;
}

/*==========================================
 コンテンツエリア全体のスタイル
===========================================*/
iv#contents {
  background:url(../images/bg_footer.jpg) no-repeat bottom;
  padding-bottom:90px;
}
/*==========================================
 コンテンツエリア -> CONTACTのスタイル
===========================================*/
div#contents section#contact h2 {
  margin:20px 5px 20px 5px;
  color: #ff0000;
  line-height: 140%;
}
div#contents section#contact p {
  margin:0 0 15px 5px;
  line-height: 140%;
}
.tbl-layout {  
  width: 100%;
  margin: 0 auto;
  border-bottom: none;
  background-color: #fff;
}
.tbl-layout dt,
.tbl-layout dd {
  padding: 10px 20px;
}
.tbl-layout dt {
  font-weight: bold;
  font-size:14px;
  color:#fff;
  background-color: #3366ff;
  border-top:1px solid #fff;
  border-left: 1px solid #fff;
  line-height: 140%;
}
.tbl-layout dd {
  font-size:13px;
  padding-top:10px;
  padding-bottom:20px;
  border-bottom: 1px solid #ccc;
  line-height: 180%;
}
.tbl-layout dd textarea {
  width:100%;
}
.tbl-layout .w300{
  font-size:12px;
  width:100%;	
  height:24px;
}
.tbl-layout .w150{
  font-size:12px;
  width:180px;	
  height:24px;
}
.tbl-layout .w70{
  font-size:12px;
  width:55px;	
  height:24px;
}
.tbl-layout .bdchange{
  border-bottom:none;	
}
p.btn {
  text-align: center;
  padding: 25px 0;
}
p.btn input {
  width:198px;
}
div#contents section#contact .photo {
  width:100%;
  height:auto;
  max-width:300px;
  font-size:0.7em;
    text-align:center;
	margin-left: auto;
	margin-right: auto;
}
div#contents section#contact img {
  width:100%;
  height:auto;
  max-width:300px;
}
div#contents section#contact .bred {
	font-weight: bold;
	color: #ff0000;
}

/*==========================================
 ページトップへボタンのスタイル
===========================================*/
a#pagetopBtn img {
  position:fixed;
  bottom:10px;
  right:1px;
}
/*==========================================
 フッターのスタイル
===========================================*/
footer {
  border-top:10px solid #000;
}
footer div {
  margin:20px 0 0 20px;
}
footer div p {
  font-size:0.7em;
  line-height:2.0em;
}
footer div small {
	font-size:0.6em;
}
#mac {
	margin: 10px 0;
	line-height: 150%;
 }

/* PC向けおよび大型タブレット向けのレイアウトの指定：769px〜960px */
@media only screen and (min-width: 769px) {
  header {
    position:static;
    overflow:visible;
  }
  header h1 img {
    width:100%;
  }
  header ul#s_nav {
    float:right;
    margin-top:20px;
    position:static;
  }
  header ul#s_nav li {
    float:left;
    position:static;
  }
  nav {
    text-align:center;
    border-bottom:3px double #000;
    margin:10px auto 15px auto;
  }
  nav ul li {
    text-align:center;
    float:left;
    width:16%;
    border-bottom:none;
    border-right:1px dotted #000;
  }
  nav ul li:nth-child(odd) {
    width:17%;
    border-bottom:none;
  }
  nav ul li.home {
    border-left:none;
    margin-left:1px;
  }
  nav ul li.contact {
    border-right:none;
  }
  nav ul li a{
    display:block;
  }
  .tbl-layout {  
    width: 100%;
    margin: 0 auto;
    border-bottom: none;
	background: #fff url(../images/table_bg.jpg) repeat-y -39px 0;
  }
  .tbl-layout dt,
  .tbl-layout dd {
    padding: 15px 10px;
  }
  .tbl-layout dt {
    font-size:90%;
    clear: both;
    float: left;
    width: 150px;
    border-top: 1px solid #FFFFFF;
  }
  .tbl-layout dd {
    font-size:90%;
    padding-left: 210px;
    min-height: 60px;
    border-top: 1px solid #FFFFFF;
    border-bottom: 1px solid #ccc;
    border-left: 1px solid #FFFFFF;
  }
  .tbl-layout .w300{
    width:300px;	
    height:24px;
  }
  .tbl-layout .w70{
    width:70px;	
    height:24px;
  }
  .tbl-layout .bdchange{
    border-bottom:1px solid #ccc;
  }

div#contents section#contact .photo {
    max-width:960px;
  }
div#contents section#contact img {

  height:auto;
  max-width:300px;
 }

}

/* PC向けレイアウトの指定：961px以上では固定レイアウト */
@media only screen and (min-width: 961px) {
  header {
    width:960px;
    margin-left:auto;
    margin-right:auto;
  }
  nav {
    max-width: 960px;
  }
  nav ul{
    margin-left:auto;
    margin-right:auto;
  }
  nav ul li:nth-child(odd) {
    border-bottom:none;
  }
  nav ul li.home {
    border-left:1px dotted #000;
  }
  nav ul li.contact {
    border-right:1px dotted #000;
  }
  div#contents {
    max-width:960px;
    margin:0 auto;
  }
  footer {
    text-align:center;
  }
div#contents section#contact .photo {
    max-width:960px;
  }
div#contents section#contact img {
  height:auto;
  max-width:300px;
 }
#mac {
	margin: 10px 0;
	text-align: center;
	line-height: 200%;
 }
#mac .big {
	font-size: 170%;
 }

}