@charset "utf-8";

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

/*==========================================
 コンテンツエリア -> CONTACTのスタイル
===========================================*/
div#contents article#contact h2 {
  margin:0 0 15px 5px;
}
div#contents article#contact p {
  margin:0 0 15px 5px;
}
div#contents article#contact {
  margin:0 0 15px 0px;
}

.tbl-layout {
	width: 100%;
	border-bottom: none;
	background-color: #fff;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
}
.tbl-layout dt,
.tbl-layout dd {
  padding: 10px 20px;
}
.tbl-layout dt {
	font-weight: bold;
	font-size:14px;
	color:#666;
	background-color: #FFFFCC;
	border-top:1px solid #fff;
	border-left: 1px solid #fff;
}
.tbl-layout dd {
  font-size:12px;
  padding-top:10px;
  padding-bottom:20px;
  border-bottom: 1px solid #ccc;
}

.map{
    width:100%;
    margin:0 auto;
}
.map iframe{
    height:300px;
 }
 
.maptext{
    width:100%;
    margin:10 auto;
}

div#contents article#contact p {
  text-align:left;
  line-height:2.0em;
  padding:5px 0px 0px 0px;
}


/* PC向けおよび大型タブレット向けのレイアウトの指定：769px～960px */
@media only screen and (min-width: 769px) {
  header {
    position:static;
    overflow:visible;
  }
  header h1 {
    text-align:left;
    padding:15px 5px 7px 5px;
    width:280px;
    float:left;
  }
  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: 97%;
	border-bottom: none;
	background: #fff url(../images/contact/table_bg.gif) repeat-y -39px 0;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
  }
  .tbl-layout dt,
  .tbl-layout dd {
    padding: 20px;
  }
  .tbl-layout dt {
    font-size:14px;
    clear: both;
    float: left;
    width: 150px;
    border-top: 1px solid #FFFFFF;
  }
  .tbl-layout dd {
    font-size:12px;
    padding-left: 210px;
    border-top: 1px solid #FFFFFF;
    border-bottom: 1px solid #ccc;
    border-left: 1px solid #FFFFFF;
  }

}

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