@charset "UTF-8";
@import url(/css/w3.css);
@import url(https://fonts.googleapis.com/earlyaccess/mplus1p.css);

/* Public Style */
.w3-main { padding: 10px; }
@media (min-width:993px) { .w3-main { padding: 30px } }

body { font-size: 0.9em; font-family: "メイリオ", "Meiryo",Verdana,Arial,"Trebuchet MS"; }
body .btn-file { position: relative; overflow: hidden; }
body .btn-file input[type=file] { position: absolute; top: 0; right: 0; min-width: 100%; min-height: 100%; font-size: 999px; text-align: right; filter: alpha(opacity=0); opacity: 0; background: red; cursor: inherit; display: block; }

/* Auth Style */
.auth-panel form { margin: 20px 0 30px 0; }
.error { font-size: 0.875em; padding: 5px; color: red; }
.flash_alert { position: fixed; top: 0; right: 10px; z-index: 1000; width: 320px; margin-bottom: 0; }
.limited{ white-space: nowrap; width: 100%; overflow: hidden; text-overflow: ellipsis; }

/* Sidemenu Style */
.main-logo { font-family: "Mplus 1p"; }
.menu-links ul { list-style-type: none; padding: 0; }
.menu-links ul li a { font-weight: bold; padding: 10px 15px; }
.menu-links ul li a.active { background-color: #ccc; }
.menu-links ul ul li a { font-weight: normal; padding: 5px 5px 5px 35px; }
.menu-links ul ul li a::before { content: "・ "; }

/* Page Header */
.page-header { border-bottom: 1px solid #ddd; margin-top: 0; }


/* Sort */
.sortable-list { margin: 0; padding:0; }
.sortable-list li { padding:4px 8px; color:#505050; cursor:move; list-style:none; background:#ffffdd; margin:10px 0; border:1px solid #d7d7d7; }
.sortable-list li strong { width: 300px; display: inline-block; }

.sortable-list_base { margin: 0; padding:0; }
.sortable-list_base li { padding:4px 8px; color:#505050; list-style:none; background:#efefef; margin:10px 0; border:1px solid #d7d7d7; }
.sortable-list_base li strong { width: 300px; display: inline-block; }


/* 印鑑 */
.tantou-sign { position: relative; display: inline; }
.tantou-sign .sign { position: absolute; top: -10px; right: -40px; font-weight: bold; }
.tantou-sign .sign .stamp { font-size:10px; border:3px double #f00; border-radius:50%; color:#f00; width:64px; height:64px; position:relative; margin:auto; }
.tantou-sign .sign .stamp span { display:inline-block; width:100%; text-align:center; }
.tantou-sign .sign .stamp span:first-child::before { position:absolute; top:5px; left:0; right:0; margin:auto; width:80%; border-bottom:1px solid #f00; line-height:1; padding-bottom:3px; }
.tantou-sign .sign .stamp span:first-child { line-height:56px; }
.tantou-sign .sign .stamp span:last-child { position:absolute; top:38px; left:0; right:0; margin:auto; width:80%; border-top:1px solid #f00; padding-top:2px; line-height:1; }
.stamp-approve span:first-child::before {
  content:"承認";
}

.fix-gutters [class^="col-"],
.fix-gutters [class*=" col-"] {
  padding-right: 10px;
  padding-left: 10px;
}
