@charset "utf-8";

/*
 --------------------------------------------------------------------
 4Uweb／CMS 表取り込み・表編集用スタイルシート。

 更新日：2016-03-30
 --------------------------------------------------------------------
 【編集履歴】
 ・2009-05-25 新規作成
 ・2010-08-02 背景色用のスタイルを追加。
 ・2016-03-30 書式の色、均等割り付けのスタイルを追加。
 
 -------------------------------------------------------------------- */

/**
 * 背景色を設定
 */
table th.table-color, td.table-color {
	background-color: #EEF9FF !important;
	
}

/**
 * フォントを設定
 */
table th.table-font, td.table-font {
	color: #FF0000 !important;

}

/**
 * 書式の色を設定
 */
table th.format-color, td.format-color {
	color: #FF0000 !important;

}

/**
 * 中央詰め
 */

table th,
table td {
    vertical-align: middle;
}

/**
 * 上詰め
 */

table th.top,
table td.top {
    vertical-align: top !important;
}

/**
 * 下詰め
 */

table th.bottom,
table td.bottom {
    vertical-align: bottom !important;
}

/**
 * 左詰め
 */

table th.left,
table td.left {
    text-align: left !important;
}

/**
 * 右詰め
 */

table th.right,
table td.right {
    text-align: right !important;
}

/**
 * 中央揃え
 */

table th.center,
table td.center {
    text-align: center !important;
}
/**
 * 均等割り付け
 */
table th.justify, td.justify {
	text-align: justify !important;
	text-justify: inter-ideograph;
}

/**
 * WYSIWYG用の背景色-赤
 */

table th.tbl-bgcolor-red,
table td.tbl-bgcolor-red {
    background-color: #FFCCFF !important;
}

/**
 * WYSIWYG用の背景色-黄
 */

table th.tbl-bgcolor-yellow,
table td.tbl-bgcolor-yellow {
    background-color: #FFFFCC !important;
}

/**
 * WYSIWYG用の背景色-緑
 */

table th.tbl-bgcolor-green,
table td.tbl-bgcolor-green {
    background-color: #CCFFCC !important;
}

/**
 * WYSIWYG用の背景色-青
 */

table th.tbl-bgcolor-blue,
table td.tbl-bgcolor-blue {
    background-color: #CCFFFF !important;
}

/**
 * WYSIWYG用の背景色-灰
 */

table th.tbl-bgcolor-gray,
table td.tbl-bgcolor-gray {
    background-color: #CCCCCC !important;
}

/* ------------------------------テーブルのスタイル設定----------------------------- */
/* テーブルタグに設定されているクラス */
/* table_data wisiwyg */
table {
	padding: 0;
	border-collapse: collapse;
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
    background-color: #FFF;
}
table caption {
  padding: 15px 0px 5px 0;
  font-weight: bold;
  text-align: left;
  line-height: 1.3;
}
table caption:empty {
    padding: 0;
}
table td {
  padding: 6px 4px;
  border: 1px solid #CCCCCC;
  background-color: #fff;
}
table p {
  margin: 0;
  padding: 0;
}

table th {
    padding: 6px 4px;
    border: 1px solid #CCCCCC;
    background-color: #e9f3fc;
    text-align: left;
}
table th a {
}

table[align="center"] {
    margin-left: auto;
    margin-right: auto;
}

/* [chrome]table内にルビを付けるとセルがずれる */
@media screen and (-webkit-min-device-pixel-ratio:0) {
	table rb {
	    line-height: 6;
	}
}