@charset "utf-8";
/*

Theme Name: ton_cms_26
Theme URI: http://www.total-office-net.com
Description: トータルオフィスネット
Author: TotalOfficeNet
*/

/*/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
　共通設定
　およびスマートフォン向けレイアウト
/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/*/

/*=====================================================
 タグ
=====================================================*/
div#contents p {
	margin: 0 3px 0.5em 3px;
	line-height: 1.4em;
}
div#contents p span {
	line-height: 1.4em;
}
div#contents blockquote p {
	margin-bottom: 0;
}
a {
	color: #e50012;
	text-decoration: none;
}
a:hover {
	color: #32540a;
	text-decoration: underline;
}
#contents h2 a {
	color: black;
}
#contents h2 a:hover {
	color: #99851F;
}
#sidebar h2 a:hover {
	color: yellow;
}
.nav-single a {
	color: white;
}
blockquote a {
	color: #e50012;
}
blockquote a:hover {
	color: yellow;
}
.entry-content img,
.comment-content img,
.widget img,
embed,
iframe,
object,
video {
	max-width: 100%; /* Fluid images for posts, comments, and widgets */
}
img[class*="align"],
img[class*="wp-image-"],
img[class*="attachment-"],
.entry-content img {
	height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
}
img.size-full,
img.size-large,
img.header-image,
img.wp-post-image,
#sidebar img {
	max-width: 100%;
	height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
}
a.opacity:hover img {
 opacity: 0.8;
   filter: alpha(opacity=80);
  -ms-filter: "alpha(opacity=80)";
    -khtml-opacity: 0.8;
    -moz-opacity: 0.8;
	zoom:1;
}
a.menu-link {
	width: 20%;
	margin: 2px;
	padding: 10px 4px;
	background-color: #e50012;
	color: white;
	text-align: center;
	display: block;
	float: left;
}
a:hover.menu-link {
	color: yellow;
	font-weight: bold;
}
ul, ol {
	margin: 1em;
	padding-left: 1.5em;
}
ul {
	list-style: circle;
}
#latest-blog ul  {
	margin: 3px;
	padding-left: 0;
	list-style: none;
}
table.about-me ul {
	margin: 0;
}
ol {
	list-style: decimal;
}
li {
	line-height: 1.5em;
}
th, td {
	line-height: 1.3em;
}
table.about-shop, table.about-me {
	border-collapse: collapse;
	width: 100%;
	margin-bottom: 10px;
	font-size: 15px;
}
table.about-shop th, table.about-shop td, table.about-me th, table.about-me td {
	padding: 3px;
	border: 1px solid #a0a0a0;
}
table.about-shop th, table.about-me th {
	width: 20%;
	background-color: #32540a;
	font-weight: normal;
	font-size: small;
	color: white;
}
table.tablepress {
	width: 95%;
	margin: 0 auto;
}
table#tablepress-1, table#tablepress-2, table#tablepress-3, table#tablepress-4 {
	border: 2px solid #a0a0a0;
}
table#tablepress-5 td.column-1 {
	padding: 0;
	width: 95px;
	background-color: #313131;
}
table#tablepress-5 tbody tr td {
	border-top: 2px solid #32540a;
}
table#tablepress-5 tbody tr {
	border-left: 2px solid #32540a;
	border-right: 2px solid #32540a;
}
table#tablepress-5 tbody tr:last-child td {
	border-bottom: 2px solid #32540a;
}
blockquote {
	padding: 1em;
	margin-bottom: 1em;
	border: 2px solid #e50012;
	background-color: #313131;
	color: #FFF;
}
#sidebar form {
	margin: 5px;
	text-align: center;
}
input, textarea {
	width: 100%;
}
input.wpcf7-captchar {
	width: 150px;
}
input.wpcf7-submit {
	width: 100px;
}
#sidebar input#search-box {
	width: 70%;
}
#sidebar input#search-button {
	width: 20%;
}
small {
	font-size: 0.8em;
}
#sidebar section {
	margin: 0 0 5px;
	overflow: hidden;
}
/*=====================================================
 id,class
=====================================================*/
.cboth {
	clear: both;
}
.alignleft {
	float: left;
}
.alignright {
	float: right;
}
.aligncenter {
	margin: 0 auto;
	display: block;
}
.nav-single {
	margin: 5px 0;
	overflow: hidden;
}
.entry-info {
	padding: 3px 0;
	line-height: 1.2em;
	font-size: 12px;
	text-align: right;
}
.sm-center-pc-right {
	display: block;
	margin: 0 auto;
}
.pref {
	width: 50px;
	padding: 5px;
	background-color: #e50012;
	color: yellow;
	text-align: center;
}
#qr-rss {
	text-align: center;
}
#rss {
	padding-left: 15px;
	background: url(images/rss.png) 0 50% no-repeat;
}
#latest-blog {
	overflow: hidden;
	padding: 5px 0;
}
#top-service {
	overflow: hidden;
	padding: 0 0 5px;
}
.g-recaptcha {
	padding: 0 3px;
}

/*=====================================================
 hタグ
=====================================================*/
#contents h1 {
	position: relative;
	padding-left: 45px;
	margin-bottom: 10px;
	padding-bottom: 5px;
	color: #333;
	font-size: 23px;
	line-height; 30px;
	border-bottom: 5px solid #99851f;
}
#contents h1:before {
	position:  absolute;
	top: 12px;
	left: 12px;
	width: 14px;
	height: 14px;
	border: 4px solid #32540a;
	content: "";
}

#contents h1:after {
	position:  absolute;
	top: 2px;
	left: 2px;
	width: 17px;
	height: 17px;
	border: 4px solid #e50012;
	content: "";
}
#contents h2 {
	clear: both;
	margin: 0 0 5px 0;
	padding: 5px 10px;
	background-color: #E3D071;
	border-left: 10px solid #99851F;
	border-right: 10px solid #99851F;
	color: #000;
	line-height: 1.5em;
	font-size: 16px;
}
#contents h2.entry-title {
	background-color: #313131;
	border: 2px solid #e50012;
}
#contents h2.entry-title a {
	color: white;
}
#contents h2.entry-title a:hover {
	color: yellow;
}
#contents h3 {
	margin: 5px 0;
	padding: 5px 10px;
	line-height: 1.3em;
	background-color:#E3D071;
}
#contents h4 {
	margin: 5px 0;
	padding: 5px 5px 5px 10px;
	line-height: 1.5em;
	border-bottom: 1px solid #99851F;
	font-size: 14px;
}
#sidebar h2 {
	margin: 0 0 0.5em 0;
	padding: 3px 5px;
	border: 2px solid #e50012;
	font-weight: normal;
	background-color: #313131;
	line-height: 1.5em;
	font-size: 15px;
}
#sidebar h2 a {
	color: white;
}

/*=====================================================
 body
=====================================================*/
body {
	width: 100%;
	font-family: "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "Meiryo", "メイリオ", "Osaka", "MS PGothic", "ＭＳ Ｐゴシック", "Arial", sans-serif, Georgia, "Bitstream Charter", serif;
	font-size: 14px;
}

/*=====================================================
 header
=====================================================*/
header {
	padding-top: 2px;
	text-align: center;
}
#logo-contact {
	position: relative;
}
#logo-contact img, #main-image-top img, #main-image-sub img {
	max-width: 100%;
	height: auto;
}
#logo {
	position: relative;
	max-width: 380px;
}
#logo p {
	position: absolute;
	top: 0;
	left: 60px;
}
#main-image-top, #main-image-sub {
	padding: 5px 0;
}
#contents #latest-blog article, #sidebar #latest-blog article {
	float: left;
	width: 31%;
	margin: 3px;
	text-align: center;
	border: 1px solid #E3D071;
} 
#contents #latest-blog article:nth-child(4n+1), #sidebar #latest-blog article:nth-child(4n+1) {
	clear: both;
}
#contents #latest-blog article p, #sidear #latest-blog article p {
	margin: 0;
}

/*==========================================
 グローバルナビゲーションのスタイル
===========================================*/
nav#side-nav {
	display: none;
}
nav#header-nav {
	margin: 5px 0;
	overflow: hidden;
}
nav#header-nav ul {
	margin: 0;
	padding: 0;
}
nav#header-nav ul li {
	float: left;
	width: 50%;
	background-color: #e50012;
	border-bottom: 2px solid black;
	line-height: 3em;
	text-align: center;
}
nav#header-nav ul li#menu-item-13, nav#header-nav ul li#menu-item-14 {
	background-color: #32540a;
}
nav#header-nav ul li#menu-item-11, nav#header-nav ul li#menu-item-15 {
	background-color: #99851F;
}
nav#header-nav ul li:hover {
	background-color: #313131;
	border-bottom: 2px solid yellow;
}
nav#header-nav ul li a {
	color: white;
}
nav#header-nav ul li a:hover {
	color: white;
	font-weight: bold;
	text-decoration: none;
}
nav#header-nav ul li:nth-child(even) {
	width: 49%;
	margin-left: 1px;
	border-right: 1px dotted #000;
}
nav#header-nav ul li#menu-item-77 {
	width: 100%;
	border-right: none;
}
nav#header-nav ul li a{
  display: block;
  width: 100%;
}

/* ++++++ breadcrumb ++++++ */
.breadcrumb {
	margin: 0 10px 10px 10px;
}
.breadcrumb a {
	text-decoration: none;
}

/* ++++++ navi_link ++++++ */
.nav-previous, .nav-next {
	margin: 3px;
	padding: 5px;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
}
.nav-previous, .nav-next {
	background-color: crimson;
}
.nav-previous a:hover, .nav-next a:hover {
	color: yellow;
}
.navi_link {
	margin: 10px 0;
	line-height: 2em;
	border-top: 1px solid #CCCCCC;
}

/* ++++++ ページトップへ ++++++ */
a#pagetopBtn {
	width: 50px;
	height: 22px;
	padding: 3px;
	position: fixed;
	color: white;
	font-size: 0.8em;
	text-align: center;
	background-color: #32540a;
	border: 1px solid yellow;
	bottom: 13px;
	right: 73px;
/*	z-index: 1;*/
	text-decoration: none;
	text-align: center;
}
a:hover#pagetopBtn {
	text-decoration: none;
	background-color: #e50012;
	border: 1px solid yellow;
	color: yellow;
}

/* ++++++ footer ++++++ */
footer {
	clear: both;
	padding: 5px;
	background-color: #e50012;
	color: white;
}
footer a {
	color: white;
}
#footer-contact {
	padding: 5px;
	line-height: 1.4em;
}
.copy-right {
	clear: both;
}
#powered_by {
	font-style: normal;
	font-size: 0.8em;
}

@media only screen and (min-width: 600px) {
#contents #latest-blog article, #sidebar #latest-blog article {
	width: 15%;
	margin: 3px;
}
#contents #latest-blog article:nth-child(4n+1), #sidebar #latest-blog article:nth-child(4n+1) {
	clear: none;
}
}

@media only screen and (min-width: 800px) {
nav#header-nav {
	display: none;
}
nav#side-nav {
	display: inline;
}
nav#side-nav ul {
	margin: 0;
	padding: 0;
}
#sidebar #latest-blog article {
	clear: both;
	float: none;
	width: 97%;
	margin: 3px 0;
	padding: 2px;
	overflow: hidden;
	display: table;
}
#sidebar #latest-blog article img {
	display: table-cell;
	vertical-align: middle;
}
#sidebar #latest-blog article p {
	display: table-cell;
	width: 65%;
	vertical-align: middle;
}
div#contents {
	width: 70%;
	float: right;
}
div#sidebar {
	width: 29%;
	float: left;
}
table#tablepress-5 {
	width: 60%;
	float: left;
	margin-right: 5px;
}
#area-1, #area-2 {
	width: 49%
}
#area-1 {
	float: left;
}
#area-2 {
	float: right;
}

/* ++++++ コンタクトフォーム ++++++ */
form.wpcf7-form {
	padding: 10px 0 10px 10px;
}
.wpcf7 input, .wpcf7 textarea {
	width: 380px;
}
input.wpcf7-submit {
	width: 100px;
}
}

@media only screen and (min-width: 830px) {
#contact {
	position: absolute;
	top: 3px;
	right: 0;
}
}

@media only screen and (min-width: 1000px) {
div#stage {
	width: 1000px;
	margin: 0 auto;
}
header {
	width: 1000px;
	margin-left: auto;
	margin-right: auto;
}
#main-image-top {
	height: 300px;
	text-align: center;
	background: url(./images/top-image-long.jpg) center no-repeat;
}
#main-image-sub {
	height: 132px;
	text-align: center;
	background: url(./images/sub-image-long.jpg) center no-repeat;
}
}