/* Page */
html, body {
	margin: 0;
	padding: 0;
    height: 100%;
    width: 100%;
    background-color: #f2f2ef;
	font-family: "メイリオ", sans-serif;
}

.contents {
    /*position: relative;*/
    min-height: 100%;
    /*padding-bottom: 50px;*/
}

/* Header */
.nav {
    border-bottom: solid 2px #e1c468;
    background-color: #ecd99d;
    margin: 0 auto 0 auto;
    font-size: 14px;
    height: 50px;
}

.nav h1 {
    text-align: left;
    float: left;
    padding: 9px 0 0 20px;
    margin: 0;
}

.nav ul {
    text-align: right;
    padding: 15px 50px 0 0;
    margin: 0;
}

.nav-items {
    padding: 0;
    list-style: none;
}

.nav-item {
    display: inline-block;
    margin-right: 25px;
}

.nav-item:last-child {
    margin-right: 0;
}

.submenu-label {
    display: block;
    position: relative;
    font-size: 14px;
    letter-spacing: 1px;
    text-decoration: none;
    outline: none;
}

.nav-link,
.nav-link:link, 
.nav-link:visited, 
.nav-link:active,
.submenu-link,
.submenu-link:link, 
.submenu-link:visited, 
.submenu-link:active {
    display: block;
    position: relative;
    font-size: 14px;
    letter-spacing: 1px;
    cursor: pointer;
    text-decoration: none;
    outline: none;
}

.nav-link,
.nav-link:link, 
.nav-link:visited, 
.nav-link:active {
    color: #000;
}

.nav-link::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 2px;
    background: #c1a448;
    opacity: 0;
    -webkit-transform: translate(0, 10px);
    transform: translate(0, 10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-link:hover::before,
.nav-link:hover::before {
    opacity: 1;
    -webkit-transform: translate(0, 5px);
    transform: translate(0, 5px);
}

.dropdown {
    position: relative;
}

.dropdown .nav-link {
    padding-right: 15px;
    height: 17px;
    line-height: 17px;
}

.dropdown .nav-link::after {
    content: "";
    position: absolute;
    top: 6px;
    right: 0;
    border: 5px solid transparent;
    border-top-color: #000;
}

.submenu {
    position: absolute;
    top: 100%;
    left: 50%;
    z-index: 100;
    width: 200px;
    margin-left: -100px;
    background: #fff;
    border-radius: 3px;
    line-height: 1.46667;
    margin-top: -5px;
    box-shadow: 0 0 8px rgba(0,0,0,.3);
    opacity: 0;
    -webkit-transform: translate(0, 0) scale(.85);
    transform: translate(0, 0)scale(.85);
    transition: transform 0.1s ease-out, opacity 0.1s ease-out;
    pointer-events: none;
}

.submenu::after, 
.submenu::before {
    content: ""; 
    position: absolute;
    bottom: 100%;
    left: 50%;
    margin-left: -10px;
    border: 10px solid transparent;
    height: 0;
}

.submenu::after {
    border-bottom-color: #fff;
}

.submenu::before {
    margin-left: -13px;
    border: 13px solid transparent;
    border-bottom-color: rgba(0,0,0,.1);
    -webkit-filter: blur(1px);
    filter: blur(1px);
}

.submenu-items {
    list-style: none;
    padding: 10px 0;
}

.submenu-item {
    display: block;
    text-align: left;
}

.submenu-label,
.submenu-link,
.submenu-link:link, 
.submenu-link:visited, 
.submenu-link:active {
    color: #000;
    padding: 10px 20px;
}

.submenu-link:hover {
    text-decoration: underline;
}

.submenu-seperator {
    height: 0;
    margin: 12px 10px;
    border-top: 1px solid #eee;
}

.show-submenu .submenu {
    opacity: 1;
    -webkit-transform: translate(0, 25px) scale(1);
    transform: translate(0, 25px) scale(1);
    pointer-events: auto;
}

/* Contents */
.main-contents {
    margin:  9px 20px 9px 20px;
    padding: 0 20px;
}

.screen-name {
    margin:  0;
    padding: 0 20px;
    font-size: 20px;
    border-bottom: solid 1px #bbb;
}

.table td,
        th {
    height: 50px;
    border: solid 1px rgba(153,153,153);
    -webkit-appearance: none;
    border-radius: 0;
    border: 1px solid #ccc;
    color: #3c3c3c;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-size: 13px;
    line-height: 2.0;
    margin-bottom: 10px;
    vertical-align: middle;
}

.table th {
    background-color: #29594a;
    color: #fff;
}

.select {
    border: 1px solid #e2e0de;
    color: #222;
    padding: 0;
    margin: 0;
    height: 30px;
    padding-left: 10px;
    box-sizing: border-box;
    border-radius: 0;
    padding-right: 38px;
    font-size: 13px;
    line-height: 3.3;
    background-size: 15px 5px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.select:hover {
    border: 1px solid #29594a;
}

.select::-ms-expand {
	display: none;
}

.input_readonly {
    width: 98%;
    border: none;
}

.input_text {
    height: 30px;
    margin: 2px 0;
    padding: 0 5px;
    border: 1px solid #fff;
    /*background-color: #ffefb5;*/
}

.input_text:hover {
    border: 1px solid #29594a;
}

/*.contents input[type="text"],
        input[type="password"],
        input[type="tel"] {
    height: 30px;
    margin: 2px 0;
    padding: 0 5px;
    border: 1px solid #fff;
}

.contents input[type="text"]:hover,
        input[type="password"]:hover,
        input[type="tel"]:hover {
    border: 1px solid #29594a;
}*/

.button {
    position: relative;
    width: 75px;
    box-sizing: content-box;
    -webkit-appearance: none;
    cursor: pointer;
    padding: 10px 30px;
    margin: 5px 5px;
    font-size: 14px;
    font-weight: bold;
    background-color: #3c3c3c;
    color: #fff;
    box-shadow: none;
    border: none;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    -o-border-radius: 3px;
    border-radius: 3px;
}

.button:hover {
	top: -2px;
	box-shadow: 0 2px 0 #222;
}

.button:active {
	top: 1px;
	box-shadow: none;
}

.input-num {
    padding: 0 10px;
    text-indent: 0;
    text-align: center;
}

.input-num input {
    text-align: right;
    width: 100%;
    box-sizing: border-box;
}

.input-text {
    padding: 0 10px;
}

.input-text input {
    text-align: left;
    width: 100%;
    box-sizing: border-box;
}

.input-text-center input {
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.label-num {
    text-align: right;
    padding: 0 5px;
}

.label-num input {
    text-align: right;
    width: 100%;
    box-sizing: border-box;
}

.label-text {
    text-align: left;
    padding: 0 5px;
}

.label-text input {
    text-align: left;
    width: 100%;
    box-sizing: border-box;
}

.label-center {
    text-align: center;
    padding: 0 5px;
}

.pager {
    overflow: hidden;
}

.pager ul {
    list-style: none;
    position: relative;
    float: left;
    left: 50%;
    padding: 0;
}

.pager ul li {
    margin: 0 1px;
    position: relative;
    left: -50%;
    float: left;
}

.pager ul li a,
 .pager ul li span {
    display: block;
    font-size: 16px;
    padding: 0.6em 1em;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    -o-border-radius: 3px;
    border-radius: 3px;
}

.pager ul li span {
    background: #ccc;    
}

.pager ul li a {
    background: #EEE;
    color: #222;
    text-decoration: none;
}

.pager ul li a:hover {
    background: #ccc;
    transition: 0.2s;
}

.error-message {
    font-size: 15px;
    font-weight: normal;
    color: #FF4040;
    /*display: block;*/
    margin: 0;
}

/* Footer */
.footer {
    /*position: absolute;*/
    position: relative;
    bottom: 0;
    height: 50px;
    width: 100%;
    border-top: solid 2px #142e27;
    background-color: #29594a;
}

.footer span {
    position: absolute;
    right: 30px;
    bottom: 9px;
    color: #fff;
    font-size: 14px;
}

/*.footer-img {
    height: 100%;
    background-image: url("../images/footer.png");
    opacity: 0.4;
}*/