@charset "utf-8";

/** body */
body {
  width: 100%;
  background-color: #F0F0F8;
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  color: #000000;
}

a {
  color: #000000;
  text-decoration:none;
}

a:hover {
  color: #666666;
  text-decoration:underline;
}

.red {
  color: #FF0000;
}

/** ヘッダー */
header {
  text-align: center;
}

header h1 {
  margin: 0 auto;
  padding: 15px 5px 7px 5px;
  width: 90%;
  font-size:1.8em;
}

header h1 img {
  width: 100%;
  max-width: 265px;
}

header {
  position: relative;
  overflow: hidden;
}

header p {
  width: 100%;
}

header p img {
  width: 100%;
  height: auto;
  max-width: 960px;
}

/* PC向けおよび大型タブレット向けのレイアウトの指定 */
@media only screen and (min-width: 769px) {
  header {
    text-align: center;
    position: static;
    overflow: visible;
  }

  header h1 {
    margin: 0 auto;
    text-align: left;
    padding: 15px 5px 7px 5px;
    float: left;
  }
}

/* PC向けレイアウトの指定 */
@media only screen and (min-width: 961px) {
  header {
    text-align: center;
    position: static;
    overflow: visible;
    width: 960px;
    margin-left: auto;
    margin-right: auto;
  }
}

/** グローバルナビゲーション */
nav ul {
  margin-bottom: 15px;
}

nav ul li {
  text-align: center;
  float: left;
  width: 50%;
  border-bottom: 2px solid #000000;
}

nav ul li:nth-child(odd) {
  width: 49%;
  border-right: 1px dotted #000000;
}

nav ul li a{
  display: block;
  width: 100%;
  padding-top: 5px;
  padding-bottom: 5px;
}

.active {
  background-color: #000000;
}

/* PC向けおよび大型タブレット向けのレイアウトの指定 */
@media only screen and (min-width: 769px) {
  nav ul li {
    text-align: center;
    float: left;
    width: 24%;
    border-bottom: none;
    border-right: 1px dotted #000000;
  }
  
  nav ul li:nth-child(odd) {
    border-right: 1px dotted #000000;
    width: 25%;
    border-bottom: none;
  }
  
  nav {
    text-align: center;
    border-bottom: 3px double #000000;
    margin: 10px auto 15px auto;
  }
  
  nav ul li.home {
    border-left: none;
    margin-left: 1px;
  }
  
  nav ul li.last {
    border-right: none;
  }
}

/* PC向けレイアウトの指定 */
@media only screen and (min-width: 961px) {
  nav ul {
    margin-bottom: 15px;
    margin-left: auto;
    margin-right: auto;
  }
  
  nav {
    text-align: center;
    border-bottom: 3px double #000000;
    margin: 10px auto 15px auto;
    max-width: 960px;
  }
  
  nav ul li.home {
    margin-left: 1px;
    border-left: 1px dotted #000000;
  }
  
  nav ul li.last {
    border-right: 1px dotted #000000;
  }
}

/** コンテンツエリア */
div#contents {
  padding-bottom: 60px;
}

/* PC向けレイアウトの指定 */
@media only screen and (min-width: 961px) {
  div#contents {
    padding-bottom: 60px;
    max-width: 960px;
    margin: 0 auto;
  }
}

/** CONTACT */
div#contents section#contact h2 {
  margin: 20px 0 20px 5px;
}

div#contents section#contact p {
  margin: 0 0 15px 5px;
  line-height: 1.5em;
}

div#contents section#contact ol {
  list-style-type: decimal;
  line-height: 1.5em;
  margin: 0 5px 20px 20px;
}

.tbl-layout {  
  width: 100%;
  margin: 0 auto;
  border-bottom: none;
  background-color: #ffffff;
}

.tbl-layout dt,
.tbl-layout dd {
  padding: 10px 20px;
}

.tbl-layout dt {
  font-weight: bold;
  font-size: 14px;
  color: #ffffff;
  background-color: #673AB7;
  border-top: 1px solid #ffffff;
  border-left: 1px solid #ffffff;
}

.tbl-layout dd {
  font-size: 10px;
  padding-top: 10px;
  padding-bottom: 20px;
  font-size: 14px;
  border-bottom: 1px solid #cccccc;
}

.tbl-layout dd textarea {
  width: 100%;
}

.tbl-layout dd select {
  padding: 10px;
}

.tbl-layout .w300{
  font-size: 12px;
  width: 100%;	
  height: 24px;
}

.tbl-layout .w70{
  font-size: 12px;
  width: 55px;	
  height: 24px;
}

.tbl-layout .bdchange{
  border-bottom: none;	
}

.buttonarea {
  text-align: center;
  padding: 30px 0;
}

.button_contact {
	display: inline-block;
	text-align: center;
	text-decoration: none;
	padding: 5px;
	background: -moz-linear-gradient(top,#673AB7 0%,#673AB7);
	background: -webkit-gradient(linear, left top, left bottom, from(#673AB7), to(#673AB7));
  filter: progid:DXImageTransform.Microsoft.gradient(startcolorstr=#FFEEEEEE, endcolorstr=#FFEEEEEE, gradienttype=0);
  border: 1px solid #673AB7;
	border-radius: 15px;
	text-transform: uppercase;
	font-weight: normal;
	color: #FFFFFF;
	padding: 10px 10px;
  font-size: 12pt;
  min-width: 180px;
}

/* PC向けおよび大型タブレット向けのレイアウトの指定 */
@media only screen and (min-width: 769px) {
  
  .tbl-layout {
    width: 100%;
    margin: 0 auto;
    border-bottom: none;
    background: #ffffff url(../images/table_bg.png) repeat-y -39px 0;
  }

  .tbl-layout dt,
  .tbl-layout dd {
    padding: 20px;
  }

  .tbl-layout dt {
    font-weight: bold;
    color: #ffffff;
    background-color: #673AB7;
    border-left: 1px solid #ffffff;
    font-size: 14px;
    clear: both;
    float: left;
    width: 150px;
    border-top: 1px solid #FFFFFF;
  }

  .tbl-layout dd {
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: 12px;
    padding-left: 210px;
    border-top: 1px solid #FFFFFF;
    border-bottom: 1px solid #cccccc;
    border-left: 1px solid #FFFFFF;
  }
  
  .tbl-layout .w300{
    font-size: 12px;
    width: 300px;	
    height: 24px;
  }

  .tbl-layout .w70{
    font-size: 12px;
    width: 70px;	
    height: 24px;
  }

  .tbl-layout .bdchange{
    border-bottom: 1px solid #cccccc;
  }
}

/** ページトップへボタン */
a#pagetopBtn img {
  position: fixed;
  bottom: 10px;
  right: 0;
}

/** フッター */
footer {
  border-top: 10px solid #000000;
}

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;
}

/* PC向けレイアウトの指定 */
@media only screen and (min-width: 961px) {
  footer {
    text-align: center;
  }
}