@charset "utf-8";

/*
 --------------------------------------------------------------------
 4Uweb／CMS 表取り込み・表編集用スタイルシート。

 更新日：2010-08-02
 --------------------------------------------------------------------
 【編集履歴】
 ・2009-05-25 新規作成
 ・2010-08-02 背景色用のスタイルを追加。
 
 -------------------------------------------------------------------- */

/**
 * 背景色を設定
 */
table th.table-color, 
td.table-color {
}

/**
 * フォントを設定
 */
table th.table-font, 
td.table-font {
}

/**
 * 上詰め
 */
table th.top, td.top {
	vertical-align: top !important;
}

/**
 * 下詰め
 */
table th.bottom, td.bottom {
	vertical-align: bottom !important;
}

/**
 * 左詰め
 */
table th.left, td.left {
	text-align: left !important;
	
}

/**
 * 右詰め
 */
table th.right, td.right {
	text-align: right !important;
}

/**
 * 中央揃え
 */
table th.center, td.center {
	text-align: center !important;
}

/**
 * WYSIWYG用の背景色-赤
 */
table th.tbl-bgcolor-red, td.tbl-bgcolor-red {
	background-color: #FFCCFF !important;
	
}

/**
 * WYSIWYG用の背景色-黄
 */
table th.tbl-bgcolor-yellow, td.tbl-bgcolor-yellow {
	background-color: #FFFFCC !important;
	
}

/**
 * WYSIWYG用の背景色-緑
 */
table th.tbl-bgcolor-green, td.tbl-bgcolor-green {
	background-color: #CCFFCC !important;
	
}

/**
 * WYSIWYG用の背景色-青
 */
table th.tbl-bgcolor-blue, td.tbl-bgcolor-blue {
	background-color: #CCFFFF !important;
	
}

/**
 * WYSIWYG用の背景色-灰
 */
table th.tbl-bgcolor-gray, td.tbl-bgcolor-gray {
	background-color: #CCCCCC !important;
	
}
/* ------------------------------テーブルのスタイル設定----------------------------- */
/* テーブルタグに設定されているクラス */
/* table_data wisiwyg */
table {
	margin: 0.2em 0 0.58em 0;
	padding: 0;
	border-collapse: collapse;
	line-height: 1.5;
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
}
table caption {
  margin: 0 0 0 0;
  padding: 15px 0px 10px 0;
  font-weight: bold;
  text-align: left;
  line-height: 1;
}
table caption:empty {
    padding: 0;
}
table td {
  padding: 5px;
  border: 1px #C6C6C6 solid;
}

table td {
  background-color: #ffffff;
}

caption {
  color: #222222;
}

table p {
  margin: 0;
  padding: 0;
  font-size: 100%;
}
table th {
    margin: 0;
    padding: 4px;
    border: 1px solid #C6C6C6;
    background-color: #FFD17B;
}
/* table内にルビを付けるとセルがずれる */
table rb {
    line-height: 3;
}
