/*
Theme Name: Sample Theme
Theme URI: http://www.www.www/
Description: This is my sample theme.
*/

/*---------------------------------
add css standard start
--------------------------------*/

@charset "utf-8";

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size: 100%;
    vertical-align:baseline;
    background:transparent; /*背景色を透明にする初期設定 */
}

body {
  width: 100%;
  font-family: "ヒラギノ明朝 ProN W3", "HiraMinProN-W3", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝", serif;
   background-color:#fff;
  color: #000;
}

.wrap {
  overflow: hidden; /*スマホサイトの右に空白が出るので全体を wrapして解決*/
}

img {
  max-width: 100%;
  margin: 0;
  padding: 0;
  vertical-align: bottom;
}

a img  {
  border: none;
}

a:hover img {
  opacity: 0.6; /* マウスオーバー時透過 */
  filter: alpha(opacity=60);
}

a  {text-decoration: none;
  color: #000;
    vertical-align:baseline;
    background:transparent;
}


/* clearfix */
.cf { zoom: 1; }
.cf:before, .cf:after { content: ""; display: table; }
.cf:after { clear: both; }

.both {
  clear: both;
}

.inline_block {  
  display: inline-block;  
  *display: inline;  
  *zoom: 1;  
}



/*---------------------------------
add css standard end
add css layout start
--------------------------------*/

/* /_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_
 共通設定およびスマートフォン向けのスタイル
/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_*/

header {
  text-align: center;
  padding-left: 6%;
}

header h1 {
  font-size: 2.3em;
  padding: 20px 0;
  margin: 0;
  color: #fff;
}

header h1 a:hover img {
  opacity: 1.0; /* マウスオーバー時透過 しない*/
}

#kimochi {
  width:100%;
  text-align:center;
  color:#fff;
  font-size:120%;
  letter-spacing: 2px;
  line-height: 200%;
  background-image:url(https://network-tsuruga.com/wp-content/uploads/top01.jpg);
  background-size: cover;
  padding:200px 0;
  text-shadow:2px 2px 2px #000; /* 文字影*/
  }

nav {
  margin: 0;
  background-color: #990066;
}

nav a {
  color:#fff;
  }

nav ul {
  margin: 0;
  padding: 0;
}

nav ul li {
  display: block;
  float:left;
  width: 50%;
  margin: 0 ;
  text-align: center;
  line-height: 3.0em;
  color:#fff;
  border-bottom: 1px solid #fff;
}

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

#aisatsu {
  width:100%;
  text-align:center;
  line-height: 150%;
  background-image:url(https://network-tsuruga.com/wp-content/uploads/aisatsu_bg.jpg);
  padding:0;
  background-attachment: fixed;
background-position: center;
background-repeat: no-repeat;
  background-size: cover;
  }

.white_box {
background-image:url(https://network-tsuruga.com/wp-content/uploads/white80.png);
  width:80%;
  margin:0 auto;
  padding:20px;
  text-align:left;
}

.white_box h2 {
  font-size:1.2em;
  letter-spacing: 10px;
  }

.inner_box {
  width:100%;
  margin:0 auto;
  padding:30px 0 0 0;
  line-height:200%;
  }

#block_h2 {
  width: 100%;
  margin: 0;
  padding: 20px 0;
  background-color: #990066;
  text-align: center;
  color:#fff;
  font-size:1.2em;
  letter-spacing: 10px;
}

#company {
  width:100%;
  text-align:center;
  line-height: 150%;
  background-image:url(https://network-tsuruga.com/wp-content/uploads/company_bg.jpg);
  padding:0;
  background-attachment: fixed;
background-position: center;
background-repeat: no-repeat;
  background-size: cover;
  }

table.company {
  margin-top:30px;
  width:100%;
  }

table.company th {
  width:100px;
  padding:0 20px 20px 0;
  }

table.company td {
  padding-bottom:20px;
  }

#works {
  width:100%;
  text-align:center;
  line-height: 150%;
  background-image:url(https://network-tsuruga.com/wp-content/uploads/works_bg.jpg);
  padding:0;
  background-attachment: fixed;
background-position: center;
background-repeat: no-repeat;
  background-size: cover;
  }

#dtp {
  width:100%;
  text-align:center;
  line-height: 150%;
  background-image:url(https://network-tsuruga.com/wp-content/uploads/dtp_bg.jpg);
  padding:0;
  background-attachment: fixed;
background-position: center;
background-repeat: no-repeat;
  background-size: cover;
  }

.dtp_photo {
  text-align:center;
  margin:30px auto 0 auto;
  }

.dtp_photo img {
  width:170px;
  margin:2px 0;
  border: 1px #000080 solid;
  }

#web {
  width:100%;
  text-align:center;
  line-height: 150%;
  background-image:url(https://network-tsuruga.com/wp-content/uploads/web_bg.jpg);
  padding:0;
  background-attachment: fixed;
background-position: center;
background-repeat: no-repeat;
  background-size: cover;
  }

.web_photo {
  width:100%;
  text-align:center;
  margin-top:30px;
  }

.web_photo img {
  width:170px;
  margin:4px 2px;
  border: 1px #000080 solid;
  }

#access {
  width:100%;
  text-align:center;
  }

.text {
  width:100%;
  text-align:left;
  margin:30px 0;
  }

.bnr_box {
  width:100%;
  margin:0;
  text-align:center;
}

.bnr_box img {
  padding:15px;
  }

.sns_btn {
  width:340px;
  margin:0 auto 50px auto;
  text-align:center;
  padding:10px;
  }

footer {
  width: 100%;
  text-align: center;
  background-color: #DCDCDC;
  padding: 10px;
  font-size:0.8em;
}

#content {
  width: 90%;
  margin: 30px auto;
  line-height:200%;
}

#content h1{
  font-weight: bold;
}

/* 記事 */

div.post  {
  margin-bottom: 30px;
  overflow: hidden;
}

div.post h2  {
  font-size: 1.0em;
  padding: 10px 18px;
  margin: 0 auto 20px auto;
	background-color: #DCDCDC;
color:#000;
border-radius: 0px;
}

div.post h2 a  {color: #000;
}

div.post a  {
  text-decoration: underline;
}

div.post p  {font-size: 0.95em;
  line-height: 1.6;
padding:0 10px;
}

div.post p.postinfo  {
  color: #999999;
  text-align: right;
  margin: 0}

/* pagenation */
p.pagenation  {
  font-size: 1.0em;
  color:#543A00;
  padding-top:100px;
  overflow: hidden}

span.oldpage  {
  font-size: 0.9em;
  color:#543A00;
  width:300px;
  height:40px;
  display: block;
float:left;}

span.newpage  {
  font-size: 0.9em;
  color:#543A00;
  width:300px;
  height:40px;
  display: block;
float:left;
}

span.oldpage a {text-decoration: underline;
}

span.newpage a {text-decoration: underline;
}


/* contents　コンテンツ */
#contents {
  width: 95%;
  margin:20px auto;
  float:center;
  padding:0 10px;
}

/* sidebar　サイドバー */
#sidebar {
  width:95%;
  margin:0 auto 20px auto;
  float:center;
}

div#sidebar ul  {
  margin: 0;
  padding: 0 10px;
  list-style-type: none;
}

div#sidebar .widget  {
  margin-bottom: 20px;
}

div#sidebar h2  {
  font-size: 0.9em;
  font-weight:normal;
  border:none;
  background-color: #DCDCDC;
  border-radius: 3px;
  padding: 4px 10px;
  margin: 0;
  width: 95%;
}

div#sidebar li li  {
  font-size: 0.85em;
  border-bottom: dotted 1px #aaaaaa;
  margin: 0;
}

div#sidebar li li a  {
  color: #666;
  display: block;
  padding: 5px 10px;
}


/* /_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_
  Media Queries による切り替え
/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_*/

/* タブレット向けのスタイル：645px ～ 768px */
@media only screen and (min-width: 645px) {
  
 nav {
   margin: 0;
   padding: 0 0 0 5%;
 }

 nav ul {
	 width:1000px;
	 margin:0 auto;
   padding: 0;
 }

 nav ul li {
  float:left;
  width: 100px;
  margin: 0;
  text-align: center;
  line-height: 3.0em;
  border: none;
 }

nav ul li:nth-child(odd) {
  width:100px;
  border: none;
  }
	
	/* contents　コンテンツ */
#contents {
  width: 95%;
}

/* pagenation */
span.newpage  {
float:right;
text-align:right;
}

	/* sidebar　サイドバー */

#sidebar {
  width:98%;
}

div#sidebar h2  {
  margin: 0 auto;
  width: 95%;
}

}

/*  PC向けのスタイル：769px～960px */
@media only screen and (min-width: 769px) {
  
  #aisatsu {
    padding:150px 0;
  }
  
  #company {
  padding:150px 0;
  }

#works {
  padding:150px 0;
  }

#dtp {
  padding:150px 0;
  }

.dtp_photo {
  text-align:left;
  margin:30px auto 0 auto;
  }

#web {
  padding:150px 0;
  }

.web_photo {
  width:100%;
  text-align:left;
  margin-top:30px;
  }

table.company {
  margin-top:30px;
  width:90%;
  }

table.company th {
  width:100px;
  padding:0 20px 20px 0;
  }

table.company td {
  padding-bottom:20px;
  }

.white_box {
background-image:url(https://network-tsuruga.com/wp-content/uploads/white80.png);
  width:800px;
  margin:0 auto;
  padding:40px;
  text-align:left;
}

/* 固定ページ */

#page_wrap {
 width:960px; 
  margin:0 auto;
  padding:20px 0;
  }

/* sidebar　サイドバー */
#sidebar {
  width: 300px;
  margin:0 0 50px 0;
  padding:0;
  float: right;
}

div#sidebar ul  {
  padding: 0;
}

div#sidebar h2  {
  width: 280px;
}


div#sidebar li li a:hover  {
  background-color: #F5F5F5;
}

/* contents　コンテンツ */
#contents {
  width: 630px;
  margin:0 0 30px 0;  
  padding:0 30px 0 0;
  float: left;
}

/* 個別ベージcontents　コンテンツ */
#contents_page {
  width: 960px;
  margin:0 0 30px 0;  
  padding:0;
  float: left;
}
	
#content {
  width: 960px;
  margin:30px auto;  
}	
	
	
	

  }




