@charset "utf-8";
/************************************************************************************************************************************
	WordPressビジュアルエディタに対応させる為に、リセットスタイルシートを解除する(デフォルトスタイルシートを再定義する)
************************************************************************************************************************************/
#main .wp-visual-editor {
	line-height: 1.5;
}
#main .wp-visual-editor * {
	line-height: 1.5;
}

/** h1～h6,p *****************************************************************/
#main .wp-visual-editor h1 {
	page-break-after: avoid;
	font-size: 2em;
	font-weight: bold;
	margin: 0.67em 0;
}
#main .wp-visual-editor h2 {
	page-break-after: avoid;
	font-size: 1.5em;
	font-weight: bold;
	margin: 0.83em 0;
}
#main .wp-visual-editor h3 {
	page-break-after: avoid;
	font-size: 1.17em;
	font-weight: bold;
	margin: 1em 0;
}
#main .wp-visual-editor h4 {
	page-break-after: avoid;
	font-size: 1em;
	font-weight: bold;
	margin: 1.33em 0;
}
#main .wp-visual-editor h5 {
	page-break-after: avoid;
	font-size: 0.83em;
	font-weight: bold;
	margin: 1.67em 0;
}
#main .wp-visual-editor h6 {
	page-break-after: avoid;
	font-size: 0.67em;
	font-weight: bold;
	margin: 2.33em 0;
}
#main .wp-visual-editor p {
	font-size: 14px;
	letter-spacing: 1px;
	line-height: 2;
	margin: 1em 0;
}

/** ul,ol,menu *****************************************************************/
#main .wp-visual-editor ul {
	list-style-image: none;
	list-style-position: outside;
	list-style-type: disc;
	padding-left: 30pt;
	margin: 1em 0;
}
#main .wp-visual-editor ol {
	list-style-image: none;
	list-style-position: outside;
	list-style-type: decimal;
	padding-left: 30pt;
	margin: 1em 0;
}
#main .wp-visual-editor li {
	display: list-item;
}
#main .wp-visual-editor menu {
	display: block;
	list-style-image: none;
	list-style-position: outside;
	list-style-type: disc;
	padding: 0 0 0 30pt;
	margin: 1em 0;
}

/** dl *****************************************************************/
#main .wp-visual-editor dl {
	display:block;
	margin: 1em 0;
}
#main .wp-visual-editor dt {
	display: block;
}
#main .wp-visual-editor dd {
	display:block;
	margin-left: 40px;
}

/** table *****************************************************************/
#main .wp-visual-editor table {
	zoom: 1;
	box-sizing: border-box;
	display: table;
	border-spacing: 2px 2px;
	border-color: #F0F0F0;
}
#main .wp-visual-editor tbody {
	box-sizing: border-box;
	display: table-row-group;
	vertical-align: middle;
}
#main .wp-visual-editor thead {
	box-sizing: border-box;
	display: table-header-group;
	vertical-align: middle;
}
#main .wp-visual-editor tfoot {
	box-sizing: border-box;
	display: table-footer-group;
	vertical-align: middle;
}
#main .wp-visual-editor tr {
	zoom: 1;
	box-sizing: border-box;
	display: table-row;
	vertical-align: middle;
}
#main .wp-visual-editor th {
	zoom: 1;
	display: table-cell;
	font-weight: bold;
	text-align: center;
	vertical-align: middle;
	padding: 1px;
}
#main .wp-visual-editor td {
	zoom: 1;
	display: table-cell;
	vertical-align: middle;
	padding: 1px;
}

/** form *****************************************************************/
#main .wp-visual-editor form {
	display: block;
}
#main .wp-visual-editor fieldset {
	zoom: 1;
	display: block;
	padding: 0 2px 3px;
	margin: 0 2px;
	border-style: groove;
	border-width: 2px;
}
#main .wp-visual-editor legend {
	zoom: 1;
	padding: 0 2px;
}
#main .wp-visual-editor select {
	zoom: 1;
	box-sizing: border-box;
	overflow: hidden;
	font-size: 10pt;
	border-width: 1px;
	background-color: #FFF;
}
#main .wp-visual-editor optgroup {
	font-size: 10pt;
	font-style: italic;
	font-weight: bold;
}
#main .wp-visual-editor option {
	font-size: 10pt;
	font-style: italic;
	font-weight: bold;
}
#main .wp-visual-editor input {
	zoom: 1;
	overflow: hidden;
	font-size: 10pt;
	padding: 1px;
	border-width: 2px;
	background-color: #FFF;
}
#main .wp-visual-editor textarea {
	background-color: #FFF;
	border-width: 1px;
	font-family: monospace;
	font-size: 10pt;
	overflow-x: hidden;
	overflow-y: scroll;
	padding: 2px;
	white-space: pre-wrap;
	zoom: 1;
}
#main .wp-visual-editor button {
	zoom: 1;
	overflow: hidden;
	box-sizing: border-box;
	font-size: 10pt;
	text-align: center;
	padding: 1px 8px;
	border-width: 3px;
	background-color: #F0F0F0;
}

/** 文章・文字に意味を定義する系 *****************************************************************/
#main .wp-visual-editor col {
	box-sizing: border-box;
	display: table-column;
}
#main .wp-visual-editor colgroup {
	box-sizing: border-box;
	display: table-column-group;
}
#main .wp-visual-editor blockquote {
	display: block;
	margin: 1em 40px;
}
#main .wp-visual-editor pre {
	display: block;
	font-family: monospace;
	font-size: 10pt;
	white-space: pre;
	margin: 1em 0;
}
#main .wp-visual-editor small {
	font-size: 0.83em;
}
#main .wp-visual-editor strong {
	font-weight: bold;
}
#main .wp-visual-editor em {
	font-style: italic;
}
#main .wp-visual-editor dfn {
	font-style: italic;
}
#main .wp-visual-editor ins {
	text-decoration: underline;
}
#main .wp-visual-editor del {
	text-decoration: line-through;
}
#main .wp-visual-editor samp {
	font-size: 10pt;
	font-family: monospace;
}
#main .wp-visual-editor var {
	font-style: italic;
}
#main .wp-visual-editor code {
	font-size: 10pt;
	font-family: monospace;
}
#main .wp-visual-editor cite {
	font-style: italic;
}
#main .wp-visual-editor kbd {
	font-size: 10pt;
	font-family: monospace;
}
#main .wp-visual-editor ruby {
	display: ruby;
}
#main .wp-visual-editor rp {
	font-size: 6pt;
}
#main .wp-visual-editor rt {
	display: ruby-text;
	font-size: 6pt;
}
#main .wp-visual-editor sub {
	font-size: 0.83em;
}
#main .wp-visual-editor sup {
	font-size: 0.83em;
}
#main .wp-visual-editor i {
	font-style: italic;
}
#main .wp-visual-editor b {
	font-weight: bold;
}
#main .wp-visual-editor a {
	color: #122a88;
	text-decoration: underline;
}

/** その他 *****************************************************************/
#main .wp-visual-editor hr {
	zoom: 1;
	overflow: hidden;
	display: block;
	margin-top: 0.5em;
	margin-bottom: 0.5em;
	text-align: center;
	border-style: inset;
	border-width: 1px;
}
#main .wp-visual-editor embed {
	zoom: 1;
}
#main .wp-visual-editor object {
	zoom: 1;
}
#main .wp-visual-editor img {
	max-width: 100%;
	height: auto;
}


/** ブラウザ独自のデフォルトスタイルシート *****************************************************************/
/* GoogleChorome , Opera (Operaのにでの記述はシェア率的に無視) */
@media all and (-webkit-min-device-pixel-ratio:0) and (min-resolution: .001dpcm) {
}
/* FireFox */
@-moz-document url-prefix() {
}
/* Safari */
@media screen and (-webkit-min-device-pixel-ratio:0) {
}
/* IE11以降 */
@media all and (-ms-high-contrast:none){
	#main .wp-visual-editor img {
		zoom: 1;
	}
}




/************************************************************************************************************************************
	WordPressビジュアルエディタ　レスポンシブに対応できるように調整
************************************************************************************************************************************/
/** table *****************************************************************/
#main .wp-visual-editor table:not(.css_crack) {
	width: 100% !important;
}
#main .wp-visual-editor th:not(.css_crack) {
	padding: 1em !important;
}
#main .wp-visual-editor td:not(.css_crack) {
	padding: 1em !important;
}
#main .wp-visual-editor th:not(.css_crack):first-child {
	padding: 1em 1em 1em 0 !important;
}
#main .wp-visual-editor th:not(.css_crack):last-child {
	padding: 1em 0 1em 1em !important;
}
#main .wp-visual-editor td:not(.css_crack):first-child {
	padding: 1em 1em 1em 0 !important;
}
#main .wp-visual-editor td:not(.css_crack):last-child {
	padding: 1em 0 1em 1em !important;
}


@media screen and (max-width: 767px) {
	#main .wp-visual-editor table {
		display: block !important;
		height: auto !important;
	}
	#main .wp-visual-editor tbody {
		display: block !important;
	}
	#main .wp-visual-editor thead {
		display: block !important;
	}
	#main .wp-visual-editor tfoot {
		display: block !important;
	}
	#main .wp-visual-editor tr {
		display: block !important;
	}
	#main .wp-visual-editor th {
		display: block !important;
		box-sizing: border-box;
		width: 100% !important;
		height: auto !important;
		padding: 1px !important;
	}
	#main .wp-visual-editor td {
		display: block !important;
		width: 100% !important;
		height: auto !important;
		padding: 1px !important;
	}
	#main .wp-visual-editor th:not(.css_crack):first-child {
		padding: 1px !important;
	}
	#main .wp-visual-editor th:not(.css_crack):last-child {
		padding: 1px !important;
	}
	#main .wp-visual-editor td:not(.css_crack):first-child {
		padding: 1px !important;
	}
	#main .wp-visual-editor td:not(.css_crack):last-child {
		padding: 1px !important;
	}
}




/************************************************************************************************************************************
	WordPress管理画面ログイン時のwp_head,wpfooterのレイアウトが崩れるのを防ぐ
	　主にpositionを使っている部分に現れている様に感じる
************************************************************************************************************************************/
#wpadminbar {
	z-index: 9999999 !important;
}