/*
Theme Name: Twenty Twelve
Description: Used to style the TinyMCE editor.
*/

body {
	font-size: 15px;
	line-height:1.6;
	color: #4A0E05;
	font-family: "メイリオ", Meiryo, "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "ＭＳ Ｐゴシック", sans-serif
}

/*clear*/
.clear{
	clear:both;
}

p{
	margin-bottom:.8em;
}
h2 a,h3 a,h4 a,.h5 a,h6 a{
	display:block;
	background: url(images/title-icon2.png) no-repeat right 2px;
	padding-right:16px;
}

.linkBG a{
	background: url(images/link_bg.png) no-repeat right 2px;
	padding-right:20px;
}
h4 .btn.btn-default.btn-xs ,
h5 .btn.btn-default.btn-xs,
h6 .btn.btn-default.btn-xs{
	float:right;
	padding-right:4px;
	display:block;
	border:1px solid #ccc;
	background: #FFDA42;
	color:#333;
}
#tinymce h2,
#content h2,
#tinymce h3,
#content h3,
#tinymce h4,
#content h4{
	margin: 0px 0 1em 0;
}
#tinymce h5,
#content h5,
#tinymce h6,
#content h6 {
	font-weight:bold;
	margin: 0px 0 .8em 0;
}

#tinymce h1,
#content h1 {
	margin-bottom:.8em;
	font-size: 2em;
	line-height:1.6;
	padding-bottom:.3em;
}
#tinymce h1 span,
#content h1 span{
	font-size:12px;
	display:block;
	text-align:right;
}
#tinymce h2,
#content h2 {
	clear:both;
	color:#8B6F2C;
	font-size: 1.3em;
	margin-top:1.5em;
	margin-bottom:1em;
	line-height: 1.3;
	border-bottom:4px double #8B6F2C;
	background:url(images/title-icon.png) no-repeat 0 4px;
	padding-left:24px;
}
#tinymce h2:first-child,
#content h2:first-child{
	margin-top:0;
}
#news h2,
#tinymce blockquote h2,
#content blockquote h2{	margin-top:.5em;}

#tinymce h2 span,
#content h2 span{
	font-size:12px;
	color:#B9A5A1;
	font-weight:normal !important;
	margin-left:1em;
}
#tinymce h3,
#content h3 {
	clear:both;
	color:#8C6F2C;
	padding:.2em .3em .1em .4em;
	margin-top:1em;
	font-size: 1.2em;
	line-height: 1.5;
	border:1px solid #B9A5A1;
	border-left:6px solid #802E41;
}
#tinymce h4,
#content h4 {
	font-size: 1.1em;
	margin-top:1.5em;
	line-height: 1.3;
	margin-bottom:.8em;
	padding-left:8px;
	border-left:8px solid #802E41;
}

#tinymce h5,
#content h5 {
	margin-top:1.5em;
	margin-bottom:.8em;
	padding-bottom:.3em;
	color:#802E41;
	font-size: 1em;
	border-bottom:1px dotted #8C6F2C;
}
#tinymce h6,
#content h6 {
	margin-top:1.5em;
	color:#8C6F2C;
	font-size: 1em;
}

#tinymce p,
.entry-content p,
.entry-summary p,
.comment-content p,
.mu_register p {
	margin: 0 0 1em;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin: 24px;
	margin-bottom: 1.714285714rem;
}



/* blockquote */
blockquote:after {
	margin-bottom: 0px;
	clear: both;
	height: 0;
	visibility: hidden;
	display: block;
	content: ".";
}
blockquote {
	clear:both;
	margin:0 0 1em 0;
	padding:.8em 1em;
	border:1px solid #C4B0AC;
	display: block;
	zoom: 1;
}
blockquote p{
	font-size:1em;
}


/* =Text elements
-------------------------------------------------------------- */

strong {
	font-weight: bold;
}
cite,
em,
i {
	font-style: italic;
}
cite {
	border: none;
}
big {
	font-size: 128.571429%;
}
.mceContentBody blockquote {
	font-style: italic !important;
	font-weight: normal;
	margin: 0;
	padding: 24px;
	padding: 1.714285714rem;
}
pre {
	border: 1px solid #ededed;
	color: #666;
	font-size: 12px;
	font-size: 0.857142857rem;
	line-height: 1.714285714;
	margin: 24px 0;
	margin: 1.714285714rem 0;
	overflow: auto;
	padding: 24px;
	padding: 1.714285714rem;
}
code,
kbd,
samp,
var {
	font-size: 12px;
	font-size: 0.857142857rem;
	line-height: 2;
}
abbr,
acronym,
dfn {
	border-bottom: 1px dotted #666;
	cursor: help;
}
address {
	display: block;
	line-height: 1.714285714;
	margin: 0 0 24px;
	margin: 0 0 1.714285714rem;
}
del {
	color: #333;
}
ins {
	background: #fff9c0;
	border: none;
	color: #333;
	text-decoration: none;
}
sup,
sub {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}
sup {
	top: -0.5em;
}
sub {
	bottom: -0.25em;
}
input[type="text"] {
	border: 1px solid #ccc;
	border-radius: 3px;
	font-family: inherit;
	padding: 6px;
	padding: 0.428571429rem;
}
textarea {
	border: 1px solid #d5d2ca;
	border-radius: 3px;
	font-family: inherit;
	font-size: 12px;
	font-size: 0.857142857rem;
	line-height: 1.714285714;
	padding: 10px;
	padding: 0.714285714rem;
	width: 96%;
}


/* =Links
-------------------------------------------------------------- */

a,
a em,
a strong {
	color: #4A0E05;
	outline: none;
}
a:focus,
a:active,
a:hover {
	color: #0f3647;
}


/* =Alignment
-------------------------------------------------------------- */

.alignleft {
	display: inline;
	float: left;
	margin: 0px 24px 12px 0;
}
.alignright {
	display: inline;
	float: right;
	margin: 0px 0 12px 24px;
}
a.aligncenter,
p.aligncenter,
img.aligncenter {
	clear: both;
	display: block;
	margin-top: 12px;
	margin-top: 0.857142857rem;
	margin-bottom: 12px;
	margin-bottom: 0.857142857rem;
}
table.aligncenter {
	clear: both;
	margin-top: 12px;
	margin-top: 0.857142857rem;
	margin-bottom: 12px;
	margin-bottom: 0.857142857rem;
}


/* =Tables
-------------------------------------------------------------- */
.mce-item-table th,
.mce-item-table td {
	font-size: 14px;
	margin: 8px;
	padding-left:.5em !important;
	padding-right:.5em !important;
}
th,
td {
	font-size: 14px;
	margin: 8px;
	padding-left:.5em !important;
	padding-right:.5em !important;
}


/* =Images
-------------------------------------------------------------- */

img,
.editor-attachment {
	border: 0;
	/*box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);*/
	max-width: 100%;
}
.ie img.size-full {
	width: auto; /* Prevent stretching of full-size images in IE8 */
}
img[class*="wp-image-"] {
	height: auto;
	max-width: 100%;
}
img[class*="align"],
img[class*="wp-image-"],
img[class*="attachment-"] {
	height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
}
img.mce-wp-nextpage {
	border-radius: 0;
	box-shadow: none;
}
img.wp-smiley {
	border: 0;
	border-radius: 0;
	box-shadow: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}
.wp-caption {
	background: #fff;
	border:1px solid #ccc;
	margin-bottom: 1.625em;
	max-width: 96%;
	padding: 9px;
}
.wp-caption img {
	display: block;
	margin: 0 auto;
	max-width: 100%;
}
.wp-caption .wp-caption-text, .gallery-caption {
}
.wp-caption .wp-caption-text {
	margin-bottom: 0;
	padding: 10px 0 5px 0px;
	position: relative;
	font-size: 13px;
}
/*.wp-caption .wp-caption-text:before {
	color: #333;
	content: '\2014';
	font-size: 14px;
	font-style: normal;
	margin-right: 5px;
	position: absolute;
	left: 10px;
	top: 7px;
}*/


/* module */

hr {
	clear:both !important;
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin: 1em 0;
}


/*カラム指定*/
/* 50% */
.unit-l {
	clear:both;
	float: left;
	width: 49%;
}
.unit-r {
	float: left;
	width: 49%;
	margin-left:1.5%;
}
.unit-l img,.unit-r img{
	margin:auto;
}


/* Image posts */
article.format-image footer h1 {
	font-size: 13px;
	font-size: 0.928571429rem;
	line-height: 1.846153846;
	font-weight: normal;
}
article.format-image footer h2 {
	border-bottom:1px dotted #ddd;
}
article.format-image footer a h2 {
	font-weight: normal;
}

/* Link posts */
article.format-link header {
	padding: 0 10px;
	padding: 0 0.714285714rem;
	float: right;
	font-size: 11px;
	font-size: 0.785714286rem;
	line-height: 2.181818182;
	font-weight: bold;
	font-style: italic;
	/*text-transform: uppercase;
	color: #848484;*/
	background-color: #ebebeb;
	border-radius: 3px;
}
article.format-link .entry-content {
	max-width: 80%;
	float: left;
}
article.format-link .entry-content a {
	font-size: 22px;
	font-size: 1.571428571rem;
	line-height: 1.090909091;
	text-decoration: none;
}

/* Quote posts */
article.format-quote .entry-content p {
	margin: 0;
	padding-bottom: 24px;
	padding-bottom: 1.714285714rem;
}
article.format-quote .entry-content blockquote {
	display: block;
	padding: 24px 24px 0;
	padding: 1.714285714rem 1.714285714rem 0;
	font-size: 15px;
	font-size: 1.071428571rem;
	line-height: 1.6;
	font-style: normal;
	/*color: #6a6a6a;*/
	background: #efefef;
}

/* Status posts */
.format-status .entry-header {
	margin-bottom: 24px;
	margin-bottom: 1.714285714rem;
}
.format-status .entry-header header {
	display: inline-block;
}
.format-status .entry-header h1 {
	font-size: 15px;
	font-size: 1.071428571rem;
	font-weight: normal;
	line-height: 1.6;
	margin: 0;
}
.format-status .entry-header h2 {
	font-size: 12px;
	font-size: 0.857142857rem;
	font-weight: normal;
	line-height: 2;
	margin: 0;
}
.format-status .entry-header header a {
	/*color: #757575;*/
}
.format-status .entry-header header a:hover {
	/*color: #21759b;*/
}
.format-status .entry-header img {
	float: left;
	margin-right: 21px;
	margin-right: 1.5rem;
}


/* mimiyori */
.post-type-mimiyori h2{
	color:#FFF !important;
	font-size:1.4em;
	padding:.3em .8em .2em .8em !important;
	background:#87AC5B !important;
	border:none !important;
}
.post-type-mimiyori h3 {
	clear:none !important;
	color:#86AA61 !important;
	border: none !important;
	padding-left:0 !important;
	margin-bottom:.3em;
}

.post-type-mimiyori h4 {
	font-size:1em;
	border-left-width: 6px;
	padding:0 auto 0 16px !important;
}

.post-type-mimiyori h4,
.post-type-mimiyori h5,
.post-type-mimiyori h6 {
	color:#86AA61 !important;
	border-color: #86AA61 !important;
}
.post-type-mimiyori th{
	background:#86AA61;
}
.post-type-mimiyori blockquote{
	border-color:#86AA61;
	border-width:2px;
	background:#fff;
}