@charset "utf-8";


/*==========================================
 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: #F0F;
	text-decoration: underline;
	font-weight: bold;
}
/*==========================================
 ヘッダーのスタイル
===========================================*/
header {
  text-align:center;
}
header h1 {
  margin:0 auto;
  padding:15px 5px 7px 5px;
  width:90%;
}
header h1 img {
  width:100%;
  max-width:313px;
}
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;
}

/*==========================================
 グローバルナビゲーションのスタイル
===========================================*/
nav ul {
  margin-bottom:15px;
}
nav ul li {
  text-align:center;
  float:left;
  width:50%;
  border-bottom:2px solid #000;
}
nav ul li:nth-child(odd) {
  width:49%;
  border-right:1px dotted #000;
}
nav ul li a{
  display:block;
  width:100%;
}
/* カレント表示用クラス */
.active {
  background-color:#000000;
}

/*==========================================
 コンテンツエリア全体のスタイル
===========================================*/
div#contents {
	background: url(../images/bg_footer.jpg) no-repeat bottom;
	padding-bottom: 90px;
	padding-top: 20px;
}



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

div#contents section#work intro {
	min-width: 120px;
	text-align: center;
	 width:100%;
}
div#contents section#work intro p {
	text-align: left;
	font-size: 0.9em;
	line-height: 2.0em;
	margin-bottom: 30px;
	padding-right: 10%;
	padding-left: 10%;	
}
div#contents section#work intro p img {
	width: 80%;
	height: auto;
	padding-bottom: 50px;
	
}
div#contents section#work article {
  text-align:center;
  width:50%;
  min-width:120px;
  float:left;
  margin-bottom:30px;
}
div#contents section#work article img {
  width:100%;
  height:auto;
  max-width:184px;
}
div#contents section#work article h3 {
  font-size:0.9em;
  font-weight:bold;
}
div#contents section#work article p {
  text-align:left;
  font-size:0.7em;
  line-height:2.0em;
  padding:0 15px;
  display:none;
}
div#contents section#work info {
  text-align:center;
  width:100%;
  max-width:700px;
  min-width: 120px;
  float:left;
  margin-bottom:30px;
  clear: both;
}
div#contents section#work info p {
  text-align:left;
  font-size:1em;
  line-height:2.0em;
  padding:0 15px;
 }
div#contents section#work info img {
  width:100%;
  height:auto;
  max-width:500px;
}
div#contents section#work original {
  text-align:center;
  width:100%;
 
  min-width: 100px;
  float:left;
  margin-bottom:30px;
  clear: both;
}
div#contents section#work original p {
  text-align:left;
  font-size:1em;
  line-height:2.0em;
  padding:0 15px;
 }
div#contents section#work original img {
  width:auto;
  height:auto;
   padding:0 15px;
}

.text01 {
	color: #000000;
	font-size:1.2em;
  line-height:2.0em;
	font-weight: bold;
	text-align: left;
	clear: both;
	margin-top: 10px;
	margin-bottom: 10px;
	padding-top: 10px;
	padding-bottom: 10px;
	background-color: #9CC;
	
}
.text02 {
	color: #000000;
	font-size: 1.5em;
	line-height: 2em;
	font-weight: bold;
	text-align: left;
	clear: both;
	margin-top: 10px;
	margin-bottom: 10px;
	padding-top: 10px;
	padding-bottom: 10px;
	background-color: #F99;
	letter-spacing: 0.5em;
}
.text03 {
	color: #000000;
	line-height: 2em;
	font-weight: normal;
	text-align: left;
	clear: both;
	background-color: #FC0;
}
/*==========================================
 ページトップへボタンのスタイル
===========================================*/
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;
}

/* 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;
  }
  div#contents section#work article {
    width:33%;
  }
  div#contents section#work article img {
    max-width:250px;
  }
  div#contents section#work article h3 {
    line-height:2.0em;
  }
  div#contents section#work article p {
    font-size:0.8em;
    line-height:2.0em;
    display:block;
  }
}

/* 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;
  }
  div#contents section#work article {
    width:100%;
  }
  div#contents section#work article img {
    float:left;
    max-width:305px;
    margin-right:20px;
  }
  div#contents section#work article h3 {
    border-left:5px solid #D7092F;
    margin-bottom:10px;
    padding-left:10px;
    text-align:left;
    float:left;
    font-size:1.2em;
  }
  div#contents section#work article p {
	line-height: 3.0em;
	float: left;
	width: 60%;
	background-color: #F3F2F4;
  }
  footer {
    text-align:center;
  }
}
