@charset "utf-8";

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

/*==========================================
ソーシャルメディア部分
===========================================*/

.sns-wrap{
	overflow: hidden;
	list-style: none;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 25px;
}
.sns-wrap li{
	float: left;
	margin:0 6px 0 0;
	overflow: hidden;
}
.sns-wrap li.twitter{
	width:90px;
}
.sns-wrap li.gplus{
	margin:0 0 0 2px;
	width: 75px;
}
.sns-wrap li.fb{
	line-height: 1;
}

/*==========================================
 ヘッダーのスタイル
===========================================*/
header a {
  color:#666666;
  text-decoration:none;
}
header a:hover {
  color:#666666;
  text-decoration:underline;
}



header h1 {
  margin:0 auto;
  padding:15px 5px 7px 5px;
  width:90%;
}
header h1 img {
	width: 100%;
	display: block;
	max-width: 210px;
	margin-right: auto;
	margin-left: auto;
}

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;
	padding-top: 5px;
}
#contents h1 {
	font-family: "ＭＳ Ｐ明朝", "MS PMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", serif;
	font-size: 26px;
	padding-top: 10px;
}
#contents .inoftime {
	font-size: 10px;
	padding-bottom: 22px;
	color: #999;
}




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

 .hyaku img {
	width: 100%;
}

 .nanaju img {
	width: 80%;
	max-width: 520px;
	margin-top: 15px;
	margin-right: auto;
	margin-bottom: 15px;
	margin-left: auto;
	display: block;
}


#contents {
	width: 88%;
	margin: 1em auto 1em;
	line-height: 1.6em;
}


/*==========================================
 フッターのスタイル
===========================================*/
footer {
	width: 100%;
	text-align: center;
	border-top-width: 4px;
	border-top-style: solid;
	border-top-color: #000;
	margin-top: 120px;
	margin-bottom: 20px;
}
footer div {
	margin-right: 0;
	margin-bottom: 0;
	margin-top: 15px;
	margin-left: 15px;
}
footer div p {
	font-size: 0.7em;
	line-height: 2em;
}
footer div small {
  font-size: 0.6em;
}

#contents h2 {
	border-bottom-width: 5px;
	border-bottom-style: double;
	border-bottom-color: #090;
	text-align: center;
	width: 80%;
	margin-right: auto;
	margin-left: auto;
}
#contents #yuki .nanaju {
	display: block;
}




/*==========================================
 ページトップへボタンのスタイル
===========================================*/
/* TOPへ戻る表示 */

#page-top {
	position: fixed;
	top: 350px;
	right: 20px;
	font-size: 120%;
}
#page-top a {
	background: #666;
	text-decoration: none;
	color: #fff;
	width: 60px;
	padding: 20px 0;
	text-align: center;
	display: block;
	border-radius: 5px;
	font-weight: 900;
}
#page-top a:hover {
	text-decoration: none;
	background: #999;
}





/* PC向けおよび大型タブレット向けのレイアウトの指定：769px～960px */
@media only screen and (min-width: 961px) {
  header {
    width:960px;

  }
  header h1 {
    text-align:left;
    padding:15px 5px 7px 5px;
    width:350px;
    float:left;
  }
header h1 img {
	width: 100%;
	max-width: 210px;
}
  header ul#s_nav {
    float:right;
    margin-top:30px;
    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 h3 {
    line-height: 2.0em;
  }
  div#contents section#work article p {
    font-size: 0.8em;
    line-height: 2.0em;
  }
  














}
