@charset "utf-8";

/* ==========================================
 * 1. ボディ・基本レイアウト
 * ========================================== */
* { box-sizing: border-box; }
body {
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS P Gothic", sans-serif;
    margin: 0;
    padding: 0;
    min-width: 780px;
    background: #fff;  
}

.body {
    background-color: #fff;
}

/* 修正画面用色 */
.body_update {
    background-color: #ffebdc;
}

/* 削除画面用色 */
.body_delete {
    background-color: #ffc9ba;
}

.container1 {
    width: 70%;
    max-width: 1260px;
    min-width: 780px;
    margin: 0 auto; 
}

.container2 {
    margin: 0px;
    padding-top: 10px;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
}

/* ==========================================
 * 2. ヘッダー・フッター・コンテンツ枠
 * ========================================== */
header {
    padding: 20px;
    font-family: 'メイリオ', meiryo, sans-serif;
    color: #000;
    font-size: 100%;
    width: 100%;
    background-color: #5c9372;
    vertical-align: middle;
}

header a {
    text-decoration: none;
    color: white;
    font-size: 200%;
    font-weight: bold;
}

.head3 {
    text-align: right;
    font-size: xx-small;
    color: white;
    vertical-align: bottom; 
    position: absolute;
    top: 0px;
    right: 0px;
}

.contents {
    display: table;
    table-layout: fixed;
    width: 100%;
}

.contentleft, 
.contentright {
    display: table-cell;
    width: 50%;
}

.contentmenu {
    margin: 0px;
    padding: 0px;
    display: table-cell;
    width: 370px;
    vertical-align: top;
}

.contentmain {
    margin: 10px;
    padding: 10px;
    display: table-cell;
}

footer {
text-align: center;
    padding: 30px 0;
    color: #888888;
    font-size: 0.85rem;
    border-top: 1px solid #dddddd; /* 上の境界線だけを入れる */
    margin-top: 50px;             /* 上のコンテンツとの間に広めの余白を作る */
}

address {
    text-align: right;
    width: auto;
    padding: 10px;
}

/* ==========================================
 * 3. ナビゲーションメニュー・サイドバー
 * ========================================== */
nav, 
nav * {
    white-space: nowrap;
    margin: 0;
    padding: 0;
}

nav {
    padding: 0px;
}

nav table {
    margin: 0 0 15px 0;
    background: #CCECFF;
    border-spacing: 1px;
    width: 100%;
    border: 2px solid #5c9372;
}

nav table tr:not(:last-child) td {
    border-bottom: 1px solid #5c9372;
}

nav a {
    font-size: normal;
    padding: 2px;
    display: block;
    background-color: #f5f7fa;
    color: black;
    text-decoration: none;
    line-height: 1.2;
}

nav a.now {
    background-color: #5c9372;
    color: white;
}

nav a:hover {
    background-color: #e2e8f0;
    color: black;
}

aside {
    margin: 0;
    padding: 0;
}

aside table {
    border-spacing: 0px;
    width: 100%;
}

aside a {
    font-size: normal;
    padding: 5px;
    display: block;
    background-color: #f5f7fa;
    color: black;
    text-decoration: none;
}

aside a.now {
    background-color: #0044bb;
    color: black;
}

aside a:hover {
    background-color: #e2e8f0;
    color: black;
}

/* ==========================================
 * 4. 掲示板一覧表示 (List)
 * ========================================== */
table#ichiran_midashi {
    width: 100%;
    margin-top: 10px;
    border-bottom: 2px solid #666666;
}

td#ichiran_midashiL {
    text-align: left;
    vertical-align: bottom;
    padding-left: 15px;
}

td#ichiran_midashiR {
    text-align: right;
    vertical-align: bottom;
    padding-right: 15px;
}

table#ichiran_midashi h2 {
    display: inline;
    margin: 0px 5px 0px 0px;
    font-size: 105%;
}

table#ichiran_midashi form { 
    margin: 4px; 
}

table#ichiran_midashi select { 
    margin-right: 15px; 
}

input.search { 
    background-color: #b2c1f0; 
}

table#ichiran {
    width: 100%;
    margin: 15px auto;
}

tr.ichiran_odd { 
    background-color: #ffffff; 
}

tr.ichiran_even { 
    background-color: #eeeeee; 
}

th.ichiran {
    text-align: center;
    padding: 2px;
    border: 1px solid #cccccc;
    background-color: #dddddd;
    white-space: nowrap;
}

td.ichiran {
    text-align: center;
    margin: 2px;
    padding: 2px 6px;
    border: 1px solid #dddddd;
    white-space: nowrap;
}

.b_td {
    border-top: 1px solid #dddddd;
    border-bottom: 1px solid #dddddd; 
    border-left: none; 
    border-right: none; 
    margin: 0;
    padding: 0;
    white-space: nowrap;
}

.b_td_right { 
    border-right: 1px solid #dddddd; 
}

.b_td_left { 
    border-left: 1px solid #dddddd; 
}

td.ichiran_hyoudai {
    text-align: left;
    margin: 2px;
    padding: 2px 6px;
    border: 1px solid #dddddd;
}

table.ichiran_idou {
    width: 100%;
    margin: 5px 10px 20px 10px;
    padding: 0px;
}

table.ichiran_idou td {
    width: 50%;
    margin: 0px;
    padding: 0px 5px;
}

table.ichiran_idou form {
    margin: 0px;
    padding: 0px;
}

.tag{
    color:white;
    border-radius:3px;
    text-decoration:none;
}

/* ==========================================
 * 5. 掲示板詳細表示 (Detail)
 * ========================================== */
h2#detail_midashi {
    text-align: left;
    margin: 0px;
    padding: 8px 15px 0px 15px;
}

table#detail_midashi {
    width: 100%;
    margin-top: 10px;
    padding: 0px;
    border-bottom: 2px solid #666666;
}

td#detail_midashiL {
    text-align: left;
    vertical-align: bottom;
    padding: 0px 5px 0px 15px;
}

td#detail_midashiR {
    text-align: right;
    vertical-align: bottom;
    padding: 0px 15px 0px 5px;
    font-size: smaller;
}

div#detail {
    margin: 20px 15px 15px 45px;
    line-height: 1.2;
}

div#detail li { 
    margin: 4px 0px; 
}

/* ==========================================
 * 6. データ登録画面 (Entry)
 * ========================================== */
table#entry {
    width: 100%;
    margin: 0px auto;
}

th.entry {
    width: 15%;
    text-align: center;
    padding: 2px;
    border: 1px solid #cccccc;
    background-color: #dddddd;
    white-space: nowrap;
}

td.entry {
    text-align: left;
    padding: 2px 4px;
    border: 1px solid #cccccc;
    background-color: #eeeeee;
}

td.entry textarea { 
    width: 100%; 
}

td.entry ul {
    margin: 5px 5px 5px 25px;
    padding: 0px;
    list-style-position: outside;
}

td.entry ul li { 
    margin-bottom: 2px; 
}

td.entry ul input { 
    margin-left: 5px; 
}

/* ==========================================
 * 7. 共通パーツ・汎用ユーティリティクラス
 * ========================================== */
.fltrt {  
    float: right;
    margin-left: 8px;
}

.fltlft { 
    float: left;
    margin-right: 8px;
}

.clearfloat { 
    clear: both;
    height: 0;
    font-size: 1px;
    line-height: 0px;
}

.left { text-align: left; }
.center { text-align: center; }
.right { text-align: right; }
.smaller { font-size: smaller; }
.sz65 { font-size: 65%; }
.uchikeshi { text-decoration: line-through; }
.none { text-decoration: none; }
.red { color: red; }

.hidden {
    visibility: hidden;
    display: none;
}

.comment {
    font-size: smaller;
    color: #444444;
}

.caution {
    font-size: larger;
    font-weight: bold;
    color: red;
}

.bunrui1 {
    text-decoration: underline;
}

/*
.bunrui200 {
    background-color: #5c9372;
}
*/

.aside1 {
    background-color: #5c9372;
    margin-bottom: 10px;
}
.priority {
        background: #bf0000;
        padding-right: 5px;
        padding-left:  5px;
        margin-right: 5px;
}

