﻿@charset "utf-8";

.width_kokyaku{
    width: 30.7rem;
}

img {
    display: block;
}

.title{ width: auto; height: 3rem;}

.disp-flex .disp-flex{
    -webkit-box-align:center;
    -moz-box-align:center;
    -ms-flex-align:center;
    -webkit-align-items:center;
    -moz-align-items:center;
    align-items:center;
}

header > .disp-flex{
    display:-webkit-box;
    display:-moz-box;
    display:-ms-flexbox;
    display:-webkit-flex;
    display:-moz-flex;
    display:flex;
    -webkit-box-pack:end;
    -moz-box-pack:end;
    -webkit-flex-pack:end;
    -moz-flex-pack:end;
    -ms-flex-pack:end;
    -webkit-justify-content:flex-end;
    -moz-justify-content:flex-end;
    justify-content:flex-end;
    -webkit-box-align:center;
    -moz-box-align:center;
    -ms-flex-align:center;
    -webkit-align-items:center;
    -moz-align-items:center;
    align-items:center;
}
header > .disp-flex >.flex-item:first-child {
    margin-right:auto;  /* directionがrowの場合 */
}

header > .disp-flex >.flex-item+.flex-item {
    margin-left: 1em;
}

footer{
    padding: .25rem;
    border-top: #ddd 1px solid;
}
/* ------------------------------------------------------------------
main
------------------------------------------------------------------ */
main{
    min-height: 100vh;
    display: flex;
}

/* aside */
main > aside{
    width: 12em;
    border-right: #ddd 1px solid;
    margin-right: 2rem;
}

aside > ul{
    margin-top: 2.5rem;
}

aside > ul > li > ul > li{
    margin-left: 1.5rem;
    background:rgba(255,255,255,.5);
}

aside > ul > li > div.selected{
    background:#dbf7f7;
    font-weight: bold !important;
}

aside li{
    background: #e2e2e2;
}

aside li.selected{
    background:#fff;
    font-weight: bold !important;
}

aside > ul > li{
    border-top: #ddd 1px solid;
    border-bottom: #ddd 1px solid;
}

aside > ul > li+li{
    margin-top: 1rem;
}

aside .nav_padding
{
    padding: .5rem 1rem;
}

aside li > a{
    display: block;
}

aside li > ul > li:not(.selected):hover{
    background: #dbf7f7;
}

aside li > ul > li:not(.selected):hover a{
    color: #000 !important;
}

/* article */
main > article{
    padding: .5rem;
    flex: 1;
}

main > aside+article{
    padding-top: 3rem;
}

/* ------------------------------------------------------------------
main
------------------------------------------------------------------ */
.btn:not(:disabled):hover,
.btn_table:not(:disabled):hover{
    background:#000 !important;
    color: #fff;
    cursor: pointer;
}

/* btn */
*+.btn_area{
    margin-top:2rem;
}
.btn_area{
    display: flex;
    flex-direction: column;
}

.btn_area > li+li{
    margin-top:1em;
}

.btn{
    border: 1px solid #e2e2e2;
    min-width: 11em;
    padding: .5rem;
    background: #fff;
    color: #000;
}

.btn.btn_link{
    background: #ff8000;
    color: #fff;
}


.btn.btn_reset,
.btn.btn_add{
    background: #7092be;
    color: #fff;
}

.btn.btn_edit{
    background: #13ad40;
    color: #fff;
}

.btn.btn_select{
    background: #13ad40;
    color: #fff;
    min-width: 4em;
}

.btn:disabled,
.btn_table:disabled{
    background: #999 !important;
    color: #000;
}

/* btn_input_area */
.btn_input_area{
    display:-webkit-box;
    display:-moz-box;
    display:-ms-flexbox;
    display:-webkit-flex;
    display:-moz-flex;
    display:flex;
}

.btn_input{
    position: relative;
    display: block;
}
.btn_input,
.btn_input:before{
    width: 2.2rem;
    height: 2.2rem;
}

.btn_input:before{
    margin: auto 0;
    display: block;
    position: absolute;
    content: '';
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-repeat:no-repeat;
    background-position: center;
}

.btn_input.btn_search{
    border: #7092be 1px solid;
    background: #7092be;
}

.btn_input:not(:disabled):hover{
    cursor: pointer;
}
    
.btn_input.btn_search:before{
    background-image: url("./images/icooon_search.png");
    -moz-background-size: auto 60%;
    background-size: auto 60%;
}

.btn_input.btn_reload{
    background: #e2e2e2;
}
.btn_input.btn_reload:before{
    background-image: url("./images/icooon_reload.png");
    -moz-background-size: auto 80%;
    background-size: auto 80%;
}

/* btn_table */
.btn_table_area{
    display:-webkit-box;
    display:-moz-box;
    display:-ms-flexbox;
    display:-webkit-flex;
    display:-moz-flex;
    display:flex;
    
    -webkit-flex-pack:distribute;
    -moz-flex-pack:distribute;
    -ms-flex-pack:distribute;
    -webkit-justify-content:space-around;
    -moz-justify-content:space-around;
    justify-content:space-around;
}

.btn_table,
.btn_table:before{
    width: 2rem;
    height: 2rem;
}

.btn_table{
    position: relative;
    display: block;
    border: 0;
}
.btn_table:before{
    margin: auto 0;
    display: block;
    position: absolute;
    content: '';
    top: 0;
    bottom: 0;
    right: 0;
    background-repeat:no-repeat;
    background-position: center;
}

.btn_table.btn_del{background: #e14a50;}
.btn_table.btn_del:before{
    left: 0;
    background-image: url("./images/icooon_dustbox.png");
    -moz-background-size: auto 65%;
    background-size: auto 65%;
}
.btn_table.btn_edit{background: #13ad40;}
.btn_table.btn_edit:before{
    left: 2px;
    background-image: url("./images/icooon_edit.png");
    -moz-background-size: auto 70%;
    background-size: auto 70%;
}
.btn_table.btn_copy{background: #7092be;}
.btn_table.btn_copy:before{
    left: 0;
    background-image: url("./images/icooon_copy.png");
    -moz-background-size: auto 70%;
    background-size: auto 70%;
}

ul.btn_table_area > li+li{
    margin-left: .5em;
}

/* ------------------------------------------------------------------
パンくずリスト
------------------------------------------------------------------ */
.breadcrumbs > li+li{
    margin-left: .25rem;
}

/* ------------------------------------------------------------------
table
------------------------------------------------------------------ */
table{
    margin: 1em auto;
    background: #e2e2e2;
}
table th,
table td{
    vertical-align: middle !important;
}

tbody > tr > td{
    border: #f4f4f4 1px solid;
    background: #fff;
    padding: .25rem;
}

table > thead,
table > tfoot{
    font-size: .9em;
    background: #e2e2e2;
}

thead > tr > th{
    letter-spacing: .2rem;
    padding: .25rem 0;
}

tfoot > tr > td{
    padding: .25rem;
    text-align: right;
}

/* ------------------------------------------------------------------
form
------------------------------------------------------------------ */
.area_input+.area_input{
    margin-top:1em;
}
.area_input+.btn_area{
    margin-top:2em;
}

.area_input .disp-ib > li{
    margin-top: .5rem;
    margin-bottom: .5rem;
    margin-right: 1rem;
}

.area_input > dl > dt{
    min-width: 10em;
}

.area_input .req:after{
    display: inline-block;
    content: "*";
    color: rgb(204, 43, 55);
    margin-left: .25rem;
    font-size: .8rem;
}

.area_input .disp-flex{
    -webkit-box-pack:start;
    -moz-box-pack:start;
    -webkit-flex-pack:start;
    -moz-flex-pack:start;
    -ms-flex-pack:start;
    -webkit-justify-content:flex-start;
    -moz-justify-content:flex-start;
    justify-content:flex-start;
}

.area_error{
    color: red;
}


/* 1001 */
.disp-none_category,
.disp-none_keyword{ display: none; }

/* 2002 */
.row_base{ display: none; }


/* タブレット2以下 */
@media screen and (max-width: 799px){
    /*
    .area_input ul li{ margin: 0; }
    .area_input dl > * { padding: 0; }
*/
    .area_input dl dt:before{ content :'▼'; }
    .area_input dl dt{ font-weight: bold; }
}

/* タブレット2以上 */
@media screen and (min-width: 800px){
    .area_input{
        display: table;
        width: 100%;
    }
    .area_input dl{ display: table-row; }
    .area_input dl > *{
        display: table-cell;
        vertical-align: middle;
        padding: .5rem 0;
    }
    .area_input dl > dt{
        width: 12em;
    }
    
    .area_input .disp-flex{
        -webkit-box-align:center;
        -moz-box-align:center;
        -ms-flex-align:center;
        -webkit-align-items:center;
        -moz-align-items:center;
        align-items:center;
    }
}

/* ipad */
@media screen and (min-width: 800px) and (max-width: 1023px){
}

/* ipad以下 */
@media screen and (max-width: 1023px){
}

/* PC */
@media screen and (min-width: 1024px){
}