/*==========================================
 コンテンツエリア -> GIFTのスタイル
===========================================*/

span.text{
	font-size: 0.8em;
	line-height: 130%;
	float: left;
	width: 98%;
	margin-right: 20px;
	margin-bottom:10px;
	margin-left: 10px;
    }
	
span.subcatch{
	color: #900;
	font-weight:bold;
	padding-bottom: 10px;
	}

h4 {
	font-size: 0.9em;
	line-height: 130%;
	float: left;
	width: 98%;
	margin-right: 20px;
	margin-bottom:10px;
	margin-left: 10px;
}

h2 {
	margin:10px 10px 15px 5px;
}

div#contents article#work section {
	text-align:left;
	width:49%;
	min-width:120px;
	float:left;
	margin-bottom:30px;
	margin-left: 1%;
}
#stage #contents #work h2 img {
  width:100%;
  height:auto;
  max-width:184px;
}

div#contents article#work section img {
  width:100%;
  height:auto;
  max-width:184px;
}
div#contents article#work section h3 {
	font-size:0.9em;
	font-weight:bold;
	line-height: 130%;
}

div#contents article#work section p {
	text-align:left;
	font-size:0.9em;
	line-height:1.2em;
	padding-top: 10px;
	padding-right: 15px;
	padding-bottom: 10px;
	padding-left: 15px;
}

div#contents article#work section p .list {
	text-align:left;
	font-size:0.9em;
	line-height:1.2em;
	margin-top: 10px;
	margin-bottom: 10px;
}
div#contents article#work section p .comment {
	text-align:left;
	font-size:0.8em;
	line-height:0.9em;
	margin-top: 10px;
	margin-bottom: 10px;
}

/*BODY最後のコメントリスト（注意書き）用テキスト*/

#stage #contents #work .commentlist {
	font-size: 0.7em;
	line-height: 130%;
	margin-left: 20px;
	list-style-image: url(../images/common/icn_arrow.jpg);
	margin-bottom: 30px;
	margin-right: 15px;
	width: 95%;
}

/* 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 article#work section {
	width:32%;
  }
#stage #contents #work h4 {
    padding-left:10px;
	line-height: 150%;
}
#stage #contents #work h2 img {
    max-width:100%;
	width /***/:auto;　/*IE8のみ適用*/
}
  div#contents article#work section img {
    max-width:250px;
	width /***/:auto;　/*IE8のみ適用*/
  }
  div#contents article#work section h3 {
    line-height:2.0em;
  }

  div#contents article#work section p {
    line-height:1.3em;
  }
}

/* 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 article#work section {
	width:100%;
  }
#stage #contents #work h4 {
	text-align:left;
}
  div#contents article#work section img {
    float:left;
    max-width:305px;
    margin-right:20px;
	width /***/:auto;　/*IE8のみ適用*/
  }
  div#contents article#work section h3 {
	border-left-width: 4px;
	border-left-style: solid;
	border-left-color: #999;
    margin-bottom:10px;
    padding-left:10px;
    text-align:left;
    float:left;
    font-size:1.2em;
  }

  div#contents article#work section p {
    border:1px solid #CCC;
    float:left;
    width:60%;
  }
  footer {
    text-align:center;
  }
}
