﻿@charset "utf-8";
/*
Theme Name: M&W parent
Theme URI: 
Author: DigitalCube co. Ltd.
Author URI: 
Description: based on toolbox theme.
Version: 1.2.0
License: GNU General Public License
License URI: license.txt
Tags: custom-menu, sticky-post, microformats, rtl-language-support, translation-ready, full-width-template, post-formats

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/


/* http://yuilibrary.com/yui/docs/cssfonts/

For pixels (px) 	Declare this percent (%)
10 	77
11 	85
12 	93
13 	100
14 	108
15 	116
16 	123.1
17 	131
18 	138.5
19 	146.5
20 	153.9
21 	161.6
22 	167
23 	174
24 	182
25 	189
26 	197 

-------------------------------------------------------------- */

@import url(library/styles/cssreset.css);
@import url(library/styles/cssfonts.css);
@import url(library/styles/cssbase.css);

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}

/* fonts
-------------------------------------------------------------- */

body {
	font-family: 'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'ＭＳ Ｐゴシック',sans-serif;
	font:0.813em/1.231 arial,helvetica,clean,sans-serif;;
}

p {
	font-size: 100%;
	line-height: 1.7em;
}


/* =Structure
-------------------------------------------------------------- */

body {
	margin: 0;
}

#page {
	display: block;
}

#colophon {
	clear: both;
	display: block;
	/*width: 100%;*/
}

/* Increase the size of the content area for templates without sidebars */
.full-width #content,
.image-attachment #content,
.error404 #content {
	margin: 0;
}

/* Text meant only for screen readers */
.screen-reader-text,
.assistive-text {
	position: absolute !important;
	clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
	clip: rect(1px, 1px, 1px, 1px);
}

/* Alignment */
.alignleft {
	display: inline;
	float: left;
}
.alignright {
	display: inline;
	float: right;
}
.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}


/* =Header
-------------------------------------------------------------- */

#site-title {
	font-size: 2em;
	font-weight: bold;
	margin: .67em 0;
}
#site-description {
	font-size: 1em;
	font-weight: normal;
	margin: 0 0 1em;
}


/* =Menu
-------------------------------------------------------------- */

#access {
	background: #eee;
	display: block;
	float: left;
	margin: 0 auto 1em;
	width: 100%;
}
#access ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
}
#access li {
	float: left;
	position: relative;
}
#access a {
	display: block;
	line-height: 2em;
	padding: 0 1em;
	text-decoration: none;
}
#access ul ul {
	box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	-moz-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	-webkit-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	display: none;
	float: left;
	position: absolute;
	top: 2em;
	left: 0;
	z-index: 99999;
}
#access ul ul ul {
	left: 100%;
	top: 0;
}
#access ul ul a {
	background: #dedede;
	line-height: 1.4em;
	padding: 15px 10px;
	width: 10em;
	height: auto;
}
#access li:hover > a,
#access ul ul :hover > a {
	background: #dedede;
}
#access ul ul a:hover {
	background: #cecece;
}
#access ul li:hover > ul {
	display: block;
}


/* =Content
-------------------------------------------------------------- */

.sticky {
}
.entry-meta {
	clear: both;
	display: block;
}
.single-author .entry-meta .byline {
	display: none;
}
#content nav {
	display: block;
	overflow: hidden;
}
#content nav .nav-previous {
	float: left;
	width: 50%;
}
#content nav .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}
#content #nav-above {
	display: none;
}
.paged #content #nav-above,
.single #content #nav-above {
	display: block;
}
#nav-below {
	margin: 1em 0 0;
}
.page-link {
	clear: both;
	margin: 0 0 1em;
}
.page .edit-link {
	clear: both;
	display: block;
}

/* 404 page */
.error404 .widget {
	float: left;
	width: 33%;
}
.error404 .widget .widgettitle,
.error404 .widget ul {
	margin-right: 1em;
}
.error404 .widget_tag_cloud {
	clear: both;
	float: none;
	width: 100%;
}

/* Notices */
.post .notice,
.error404 #searchform {
	background: #eee;
	display: block;
	padding: 1em;
}

/* Image Attachments */
.image-attachment div.entry-meta {
	float: left;
}
.image-attachment nav {
	float: right;
	margin: 0 0 1em 0;
}
.image-attachment .entry-content {
	clear: both;
}
.image-attachment .entry-content .entry-attachment {
	background: #eee;
	margin: 0 0 1em;
	padding: 1em;
	text-align: center;
}
.image-attachment .entry-content .attachment {
	display: block;
	margin: 0 auto;
	text-align: center;
}

/* Aside Posts */
.format-aside .entry-header {
	display: none;
}
.single .format-aside .entry-header {
	display: block;
}
.format-aside .entry-content,
.format-aside .entry-summary {
	padding-top: 1em;
}
.single .format-aside .entry-content,
.single .format-aside .entry-summary {
	padding-top: 0;
}

/* Gallery Posts */
.format-gallery .gallery-thumb {
	float: left;
	margin: 0 1em 0 0;
}

/* Image Posts */
.format-image .entry-header {
	display: none;
}
.single .format-image .entry-header {
	display: block;
}
.format-image .entry-content,
.format-image .entry-summary {
	padding-top: 1em;
}
.single .format-image .entry-content,
.single .format-image .entry-summary {
	padding-top: 0;
}


/* =Images
-------------------------------------------------------------- */

a img {
	border: none;
}
p img {
	margin-bottom: 0.5em; /* a small bottom margin prevents content floating under images */
}
/*
Resize images to fit the main content area.
- Applies only to images uploaded via WordPress by targeting size-* classes.
- Other images will be left alone. Use "size-auto" class to apply to other images.
*/
img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img,
.widget-area img,
.wp-caption {
	max-width: 100%;  /* When images are too wide for containing element, force them to fit. */
	height: auto; /* Override height to match resized width for correct aspect ratio. */
}
img.alignleft {
	margin-right: 1em;
}
img.alignright {
	margin-left: 1em;
}
.wp-caption {
	padding: .5em;
	text-align: center;
}
.wp-caption img {
	margin: .25em;
}
.wp-caption .wp-caption-text {
	margin: .5em;
}
.gallery-caption {
}
.wp-smiley {
	margin: 0;
}


/* =Forms
-------------------------------------------------------------- */

#searchform label {
	display: none;
}
#searchform input#s {
	width: 60%;
}
input[type=text],
input#s {
	margin: 0 1em 0 0;
	width: 60%;
	height: 25px !important;
}
textarea {
	width: 80%;
}

/* Class for labelling required form items */
.required {
	color: #cc0033;
}


/* =Comments
-------------------------------------------------------------- */

article.comment {
	display: block;
}
#respond input[type=text] {
	display: block;
	width: 60%;
}
#respond textarea {
	display: block;
	margin: 0 0 1em;
	width: 80%;
}
#respond .form-allowed-tags {
	clear: both;
	width: 80%;
}
#respond .form-allowed-tags code {
	display: block;
}


/* =Widgets
-------------------------------------------------------------- */

.widget {
	display: block;
}
.widget-area .widget_search {
	overflow: hidden;
}
.widget-area .widget_search input {
	/*float: left;*/
}


/* =Footer
-------------------------------------------------------------- */

#colophon {
	padding: 1em 0 0;
}

/* misc
-------------------------------------------------------------- */

/*#page {
    background: none repeat scroll 0 0 #ffffff;
    display: block;
}*/

#main-image-box {
	position: relative;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
	clear: both;
} 

blockquote p {
	margin: 1em;
}

blockquote {
	background-color: #f4f4f4;
	margin: 10px 0;
	padding: 10px;
}

#search-form-in-sidebar {
	padding: 10px;
	line-height: 2em;
}

.search-switch {
	padding-left: 5px;
	padding-right: 10px;
}

/* カレンダーウィジェット基本CSS
-------------------------------------------------------------- */

#isp-calendar-inner td {
	border: none;
}

#isp-business-calendar th,
#isp-business-calendar td {
	border: solid 1px #ccc;
}

/* カレンダー
-------------------------------------------------------------- */

#calendar_wrap table {
	width: 100%;
}

#calendar_wrap th,
#calendar_wrap td {
	/*ボーダー色*/
	border: solid 1px #d5d5d5;
	text-align: center;
	padding: 0;
	height: 30px;
}

#calendar_wrap tbody td a {
	/*投稿記事がある日の背景色*/
	background-color: #e0f7ed;
	display: block;
    line-height: 30px;
}

#calendar_wrap thead th {
	/*曜日の背景色*/
	background-color: #f4f4f4;
}

#calendar_wrap tfoot td {
	border: none;
}

#calendar_wrap #prev {
	text-align: left;
}

#calendar_wrap #next {
	text-align: right;
}

#calendar_wrap {
	padding: 5px;
}

.cat-with-date-list li .date {
	display: inline-block;
	width: 130px;
}

#top-page-widget {
	word-wrap: break-word;
	overflow: auto;
}

/* table border default none
-------------------------------------------------------------- */

.entry-content th,
.entry-content td {
	border: none;
}

/* text over main image
-------------------------------------------------------------- */

#print-text-over-main-image {
    width: 820px;
    word-wrap: break-word;
}

/* search-no-results
-------------------------------------------------------------- */

.search-no-results .entry-header {
	margin-left: 20px;
}

/* fix line height of br and br in a table
-------------------------------------------------------------- */

.entry-content th,
.entry-content td {
    line-height: 1.7;
}

/* disable max-width for only webkit
-------------------------------------------------------------- */

@media screen and (-webkit-min-device-pixel-ratio:0) {
	img.size-auto,
	img.size-full,
	img.size-large,
	img.size-medium,
	.attachment img,
	.widget-area img,
	.wp-caption {
		max-width: none;  /* When images are too wide for containing element, force them to fit. */
		height: auto; /* Override height to match resized width for correct aspect ratio. */
	}
}

/* revise input and textarea width for Contact Form 7
-------------------------------------------------------------- */

.wpcf7-form-control-wrap textarea,
.wpcf7-form-control-wrap input[type="text"] {
	width: auto;
	height: 25px !important;
}

/* fix the issue showed in Theme check  
-------------------------------------------------------------- */
.bypostauthor {
	
}