
/* アイコン */
.icon-logout {
    display: inline-block;
    height: 24px;
    width: 24px;
    vertical-align: baseline;
    background: url("/webroot/img/icon-logout.svg") no-repeat right center /contain;
}
.icon-setting {
    display: inline-block;
    height: 0.9em;
    width: 0.9em;
    margin-left: 0.5em;
    vertical-align: middle;
    transform: translateY(-2px);
    background: url("/webroot/img/icon-setting.svg") no-repeat right center /contain;
    transition: opacity .3s;
}

/* 共通項目 */
.crumb_wrapper {
    margin-bottom: 30px;
}
.crumb_wrapper li {
    display: inline;
}
.crumb_wrapper a {
    color: #f48622;
}
.page_tit {
    font-size: 2.6rem;
    font-weight: bold;
    color: #512d10;
    margin-bottom: 0.8em;
}
.container {
    padding: 100px 0;
}
.container_inner {
    display: block;
    width: 100%;
    max-width: 1400px;
    padding: 0 25px;
    margin: 0 auto;
}

/* フォーム */
.input {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}
.input label {
    display: inline-block;
    min-width: 8.4em;
    padding-right: 1em;
    font-weight: bold;
}
.input_txt {
    font-weight: normal;
    font-size: 1.8rem;
}
.input_area {
    display: flex;
    width: 100%;
}
.input_tilde {
    display: inline-block;
    text-align: center;
    width: 2em;
    font-size: 2.8rem;
    padding: 0.2em 0.5em 0em;
}
.input_area {
    max-width: 500px;
}
.category {
    max-width: 100%;
}
.category .radio {
    margin: 0;
    display: block;
}
.category .radio label {
    display: inline-block;
    min-width: 8.3em;
    padding: 0.8em 0.8em 0.7em;
    margin: 0 10px 10px 0;
    border-radius: 8px;
    border: 2px solid #ccc;
    cursor: pointer;
    transition: border-color .3s;
}
.category .radio label:hover,
.category .radio label:focus {
    border-color: #f48622;
}
.category .radio label input {
    display: inline-block;
    width: auto;
    margin-right: 10px;
    cursor: pointer;
}
.category .radio > label:first-of-type {
    display: none;
}
.input.textarea {
    align-items: baseline;
}
.text_area {
    line-height: 1.5;
    min-height: 13em;
}
.contents_area {
    margin-top: 30px;
}
.edit_area {
    width: 100%;
    background-color: #fff;
    padding: 40px 3%;
    margin: 20px 0;
    border: none;
    border-radius: 10px;
}

/* ボタン */
.btn_area {
    display: flex;
    justify-content: flex-end;
    align-items: baseline;
    padding: 0;
    margin-top: 30px;
    width: 100%;
}
.btn_area button,
.btn {
    display: inline-block;
    width: auto;
    min-width: 280px;
    padding: 1em;
    text-align: center;
    border: none;
    border-radius: 8px;
    background-color: #f48622;
    color: #fff;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: opacity .3s;
}
.btn_area .btn:nth-of-type(n+2) {
    margin-left: 20px;
}
.btn.cancel {
    background-color: #bbb;
}
.btn.update {
    background-color: #64cc7f;
}
.btn.danger {
    background-color: #d06666;
}
.btn.line {
    background-color: #fff;
    color: #f48622;
    border: 2px solid #f48622;
    padding: calc(1em - 2px);
}
.btn:hover {
    opacity: 0.7;
}

/* 一覧 */
.lists {
    border-radius: 8px;
    overflow: hidden;
}
.list.no-data {
    text-align: center;
    padding: 1.6em 3%;
    display: block;
    background-color: #fff;
}
.list:last-of-type .list_link {
    border-bottom: none;
}
.list_link {
    display: flex;
    align-items: center;
    padding: 1em 3%;
    background-color: #fff;
    border-bottom: 1px solid #bbb;
    position: relative;
    transition: background-color .3s;
    cursor: pointer;
}
.list_link::after {
    content: "";
    display: block;
    height: 0.6em;
    width: 0.6em;
    border-top: 1px solid #512d10;
    border-right: 1px solid #512d10;
    position: absolute;
    top: 50%;
    right: 2.8%;
    transform: rotate(45deg) translate(-50%,-25%);
    transition: border-color .3s, right .3s;
}
.list_link:hover,
.list_link:focus {
    background-color: #f6f6f6;
}
.list_link:hover::after,
.list_link:focus::after {
    border-top-color: #f48622;
    border-right-color: #f48622;
    right: 2%;
}
.list_data {
    padding-right: 1em;
}
.list_sub-tit {
    margin-bottom: 0.5em;
}
.list_tit {
    display: inline-block;
    font-size: 1.8rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}
.list .btn_area {
    margin: 0;
}
.list .btn_area .btn {
    min-width: 100%;
    min-width: inherit;
    padding: 0.8em 1.5em;
}
.Pager .pagination li {
    display: block;
    float: left;
    margin: 10px;
}
.paginator {
    padding: 0;
    text-align: center;
    margin: 30px 0;
}
.pagination {
    display: inline-block;
    margin-top: 10px;
}
.pagination li {
    font-size: 1.8rem;
}
.pagination li:not(.active) a {
    color: #f48622;
}

/* メッセージ */
.message {
    background: #fff;
    font-weight: 1.8rem;
    font-weight: bold;
    padding: 1em;
    margin-bottom: 20px;
    border-left: 10px solid currentColor;
    border-radius: 10px;
}
.message.error {
    color: #ce2929;
}
.message.success {
    color: #22a745;
}

/* ヘッダー */
.header {
    width: 100%;
    background-color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    box-shadow: 0 0 3px #bbb;
    z-index: 100;
}
.header_inner {
    width: 100%;
    padding: 0 25px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header_logo {
    display: block;
    height: 60px;
    width: 150px;
    background: url("/webroot/img/top-logo.svg") no-repeat left center /contain;
}
.header_user {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-left: 40px;
    max-width: calc(100% - 150px);
}
.header_user-name {
    max-width: calc(100% - 44px);
}
.header_user-name,
.header_logout {
    display: inline-block;
}
.header_logout {
    height: 24px;
    width: 24px;
    margin-left: 20px;
    flex-shrink: 0;
}
.header_company,
.header_device {
    display: block;
    font-size: 1.7rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.header_company:hover,
.header_company:focus,
.header_device:hover,
.header_device:focus {
    text-decoration: underline;
}
.header_company:hover .icon-setting,
.header_company:focus .icon-setting,
.header_device:hover .icon-setting,
.header_device:focus .icon-setting {
    animation: rotate 4s linear infinite backwards;
}
.header_device {
    margin-top: 6px;
}

/* ログイン */
.auth-area {
    margin-top: 10vh;
}
.auth-area_inner {
    display: block;
    width: 100%;
    max-width: 1000px;
    padding: 60px 6% 60px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 10px;
}
.auth-area .page_tit {
    margin-bottom: 1.2em;
}
.auth-area .btn_area {
    justify-content: flex-end;
}

/* 端末一覧 */
.devices .lists {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    overflow: visible;
}
.devices .list {
    width: calc((100% - 50px) / 3);
    margin: 0 25px 20px 0;
    align-items: stretch;
}
.devices .list:nth-of-type(3n) {
    margin: 0;
}
.devices .list:last-of-type .list_link {
    border: 3px solid #eee;
}
.devices .list_link {
    padding: 1.2em 7% 1em 5%;
    border: none;
    border-radius: 8px;
    border: 3px solid #eee;
    transition: border-color .3s;
}
.devices .list_link::after {
    right: 4%;
    top: auto;
    bottom: 1em;
}
.devices .list_link:hover::after, .devices .list_link:focus::after {
    right: 3%;
}
.devices .list .list_link:hover {
    border-color: #f48622;
    background-color: #fff;
}
.devices .list_setting {
    display: inline-block;
    position: absolute;
    top: 14px;
    right: 3%;
    font-size: 0;
}
.devices .icon-setting {
    height: 1.9rem;
    width: 1.9rem;
}
.devices .list_setting:hover,
.devices .list_setting:focus {
    animation: rotate 4s linear infinite backwards;
}
.devices .list_data {
    display: block;
    padding: 0;
}
.devices .icon-setting {
    margin: 0;
}
.devices .list_tit {
    line-height: 1.3;
    margin-bottom: 0.5em;
}
.devices .list_sub-tit {
    line-height: 1.3;
    color: rgba(81,45,16,0.9);
    margin-bottom: 0.2em;
}
.devices .list_sub-tit:last-of-type {
    margin-bottom: 0;
}

/* メモ一覧 */
.voices .edit_area .btn.cancel {
    margin-right: 20px;
    min-width: 200px;
}
.voices .lists {
    margin-top: 15px;
}
.voices .list_data {
    width: 200px;
    flex-shrink: 0;
}
.voices .list .btn_area {
    width: auto;
}
.voices .list .btn,
.voices .list_sub-tit  {
    word-break: keep-all;
}
.voices .list_txt {
    flex-grow: 2;
    padding: 0 30px 0 0;
    white-space: nowrap;
   overflow: hidden;
   text-overflow: ellipsis;
}

/* メモ更新 */
.voices-edit .input.textarea {
    margin-top: 15px;
}
.voices-edit .btn_area:nth-last-of-type(2) {
    justify-content: space-between;
}
.voices-edit .btn_area:last-of-type {
    justify-content: center;
}

/* 端末情報更新 */
.companies fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

/* エラー画面 */
.error-container .btn_area {
    justify-content: center;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
