@charset "UTF-8";
/**
 * Project Name    : 新潟交通 デジタル掲示板システム
 * File Name       : style.scss
 * Encoding        : UTF-8
 * Creation Date   : 2026/09/24
 *
 * Copyright © 2026 haingraf INC.
 *
 * This source code or any portion thereof must not be
 * reproduced or used in any manner whatsoever.
 */
/**
 * Project Name    : 新潟交通 デジタル掲示板システム
 * File Name       : _common.scss
 * Encoding        : UTF-8
 * Creation Date   : 2026/09/24
 *
 * Copyright © 2026 haingraf INC.
 *
 * This source code or any portion thereof must not be
 * reproduced or used in any manner whatsoever.
 */
/*==========================================================================
  Break point
============================================================================*/
/*==========================================================================
  Font
============================================================================*/
/*Solid/900*/
/*Brand/400*/
/*==========================================================================
  color
============================================================================*/
/*==========================================================================
  mixin
============================================================================*/
/*==========================================================================
  gradient
============================================================================*/
/*==========================================================================
  trianle
============================================================================*/
/**
 * Project Name    : 新潟交通 デジタル掲示板システム
 * File Name       : style.scss
 * Encoding        : UTF-8
 * Creation Date   : 2026/09/24
 *
 * Copyright © 2026 haingraf INC.
 *
 * This source code or any portion thereof must not be
 * reproduced or used in any manner whatsoever.
 */
/**
 * Project Name    : 新潟交通 デジタル掲示板システム
 * File Name       : _common.scss
 * Encoding        : UTF-8
 * Creation Date   : 2026/09/24
 *
 * Copyright © 2026 haingraf INC.
 *
 * This source code or any portion thereof must not be
 * reproduced or used in any manner whatsoever.
 */
/*==========================================================================
 reset
============================================================================*/
html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
}

body {
  line-height: 1;
  transition: all 1s;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  line-height: 1.7333333333;
  letter-spacing: 0.025em;
  font-weight: 400;
  color: #1D2088;
  min-height: 100vh;
  position: relative;
}
body .modal {
  position: absolute;
  background: #000;
  height: 100%;
  width: 100%;
  top: 0;
  opacity: 0.5;
  z-index: 1;
}
body .waiting {
  position: absolute;
  background: #fff;
  height: 100%;
  width: 100%;
  top: 0;
  opacity: 0.5;
  z-index: 9999;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

nav ul,
ul,
ul li {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

a {
  margin: 0;
  padding: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
  text-decoration: none;
  transition: 0.3s ease-out;
}

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

p {
  margin: 0;
}

input[type=email],
input[type=number],
input[type=password],
input[type=search],
input[type=tel],
input[type=text],
input[type=url],
input[type=color],
input[type=date],
input[type=month],
input[type=week],
input[type=datetime],
input[type=datetime-local],
input:not([type]),
textarea,
select {
  height: 2.8rem;
  background-color: #fff;
}

fieldset,
input,
select,
textarea {
  margin-bottom: 1rem;
  background-color: #fff;
}

input[type=radio] {
  width: 20px;
  height: 20px;
}

option {
  font-size: 1rem;
}

button,
input[type=button],
input[type=reset],
input[type=submit] {
  height: 2.5rem;
  line-height: 2.5rem;
  background-color: #fff;
  border: 0.1rem solid #1D2088;
  border-radius: 3px;
  color: #fff;
  font-size: 0.9rem;
  padding: 0 30px;
  font-weight: 200;
}

button:focus,
button:hover,
a.btn:focus,
a.btn:hover,
input[type=button]:focus,
input[type=button]:hover,
input[type=reset]:focus,
input[type=reset]:hover,
input[type=submit]:focus,
input[type=submit]:hover {
  background-color: #1D2088;
  border-color: #1D2088;
  color: #fff;
  outline: 0;
  transition: 0.3s;
}

input[type=checkbox] {
  margin-bottom: 0;
  width: 20px;
  height: 20px;
}

input[readonly],
select[readonly],
select[disabled] {
  background-color: #dcdcdc;
  cursor: not-allowed;
}

.clear {
  clear: both;
}

.inner {
  padding: 0;
  margin: 0 auto;
  max-width: 1024px;
}

.error-message {
  color: #dc143c;
  font-weight: 600;
  font-size: 0.8rem;
}

/* フラッシュメッセージ（画面上部やCSVダウンロード行下などに表示する通知）。
   .form-errors・.lock-messageと同じ「左ボーダー＋薄い背景色」の見た目に統一する。
   cake.css側の既定スタイル（.message）を上書きするため、style.cssの読み込み順
   （cake.css → style.css）を利用してこちらを優先させている */
.message {
  position: relative;
  border: none;
  border-left: 3px solid #8b91a1;
  background: #f7f8fb;
  color: #1D2088;
  padding: 10px 14px;
  border-radius: 4px;
  margin-bottom: 16px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}
.message.hidden {
  display: none;
}
.message.success {
  border-left-color: #1f9d55;
  background: #eafaf0;
  color: #1f9d55;
}
.message.warning {
  border-left-color: #c25e12;
  background: #fff8f1;
  color: #c25e12;
}
.message.error {
  border-left-color: #b02a1f;
  background: #fdf2f1;
  color: #b02a1f;
}

/* 標準ボタン設定 */
.btn {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  white-space: normal;
  background-color: #fff;
  border: 0;
  border-radius: 0;
  margin: 0px;
  height: 2.5rem;
  line-height: 1;
  text-align: left;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}
.btn::after {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  font-family: "Font Awesome 5 Free";
  font-weight: 600;
}

/* ログイン／ログアウトのボタン設定 */
.btn01 {
  background-color: #F39800;
  border-radius: 20px;
  padding: 5px 40px;
}

/* メニューのボタン設定 */
.btn02 {
  font-size: 1rem;
  color: #1D2088;
  border: 2px solid #1D2088;
  border-radius: 40px;
  padding: 10px 40px;
  height: 3rem;
}
.btn02::after {
  content: "\f138";
}

/* 操作ボタンの設定 */
.btn03 {
  color: #1D2088;
  border: 2px solid #1D2088;
  height: auto;
  padding: 10px 25px;
}
.btn03::after {
  content: "\f054";
}

/* ファイル指定ボタンの設定 */
.btn04 {
  color: #696969;
  background-color: #a9a9a9;
  border: 2px solid #808080;
  padding: 5px 40px;
  font-weight: 400;
}

/* 検索ボタンの設定 */
.btn05 {
  color: #1D2088;
  border: 2px solid #1D2088;
  padding: 5px 40px;
}
.btn05::after {
  content: "\f002";
}

/* リンク風ボタンの設定 */
.btn06 {
  color: #1D2088;
  width: auto;
  height: auto;
  padding: 10px 5px;
}

/* テーブル内の操作ボタン設定 */
table tbody .op .btn {
  border-radius: 3px;
  padding: 5px 10px;
  width: 90px;
  font-weight: 400;
}
table tbody .op .btn07 {
  background-color: #E83828;
}
table tbody .op .btn08 {
  background-color: #D70051;
}
table tbody .op .btn09 {
  background-color: #2EA7E0;
}
table tbody .op .btn10 {
  background-color: #9FA0A0;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2rem;
  color: #fff;
  background-color: #1D2088;
  padding: 0 20px;
  height: 60px;
}
@media screen and (max-width: 768px) {
  .header {
    height: 60px;
  }
}
.header .left {
  display: flex;
}
.header .left div {
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  font-size: 1.2rem;
}
.header .left div .logo {
  height: 35px;
  margin: 0 30px 0 0;
  vertical-align: middle;
}
.header .left div a {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  color: #fff;
  margin-bottom: 0;
  background: transparent;
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
}
.header .left div a .header-title {
  color: #fff;
  line-height: 35px;
}
@media screen and (max-width: 768px) {
  .header .left div {
    font-size: 4vw;
  }
  .header .left div .logo {
    display: none;
  }
}
.header .right {
  display: flex;
}
.header .right .nav-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}
.header .right .nav-wrap .login-name {
  font-size: 1rem;
  margin-right: 20px;
}
.header .right .nav-wrap .logout a {
  font-weight: 600;
}
.header .right .nav-wrap .logout a:hover {
  background-color: #fff;
  border-color: white;
  color: #1D2088;
}
.header .right .nav-wrap.open {
  display: flex;
  flex-direction: column;
}
.header .right .nav-wrap.close {
  display: none;
}
.header .right .nav-wrap .sp-logo {
  display: none;
}
@media screen and (max-width: 1080px) {
  .header .right .nav-wrap {
    position: fixed;
    left: 0;
    top: 0;
    display: none;
    z-index: 12;
    background-color: rgba(29, 32, 136, 0.96);
    width: 100%;
    height: 100%;
    padding: 10%;
    overflow-y: auto; /* モーダルのスクロール */
  }
  .header .right .nav-wrap .sp-logo {
    display: block;
    width: 50%;
    margin: 0 auto;
  }
  .header .right .nav-wrap .login-name {
    margin-top: 40px;
  }
  .header .right .nav-wrap .logout {
    margin-top: 40px;
  }
}
.header .right .nav-button {
  display: none;
}
@media screen and (max-width: 1080px) {
  .header .right .nav-button {
    display: block;
    cursor: pointer;
    position: fixed;
    z-index: 20;
    position: absolute;
    width: 34px;
    height: 26px;
    top: 20px;
    right: 20px;
  }
  .header .right .nav-button span {
    display: inline-block;
    transition: all 0.4s;
    box-sizing: border-box;
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #fff;
    border-radius: 4px;
  }
  .header .right .nav-button span:nth-of-type(1) {
    top: 0;
  }
  .header .right .nav-button span:nth-of-type(2) {
    top: 12px;
  }
  .header .right .nav-button span:nth-of-type(3) {
    bottom: 0;
  }
  .header .right .nav-button.active span:nth-of-type(1) {
    -webkit-transform: translateY(12px) rotate(-45deg);
    transform: translateY(12px) rotate(-45deg);
    background: #fff;
  }
  .header .right .nav-button.active span:nth-of-type(2) {
    opacity: 0;
  }
  .header .right .nav-button.active span:nth-of-type(3) {
    -webkit-transform: translateY(-12px) rotate(45deg);
    transform: translateY(-12px) rotate(45deg);
    background: #fff;
  }
}

.footer {
  height: 40px;
  background-color: #1D2088;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media screen and (max-width: 520px) {
  .footer {
    font-size: 2.5vw;
  }
}

.main {
  display: flex;
  justify-content: center;
  padding: 40px 2vw;
}
.main.login-layer {
  min-height: calc(100vh - 100px - 20px);
  align-items: flex-start;
}
.main.logout-layer {
  min-height: 100vh;
  align-items: center;
}

.container {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0;
}
.container .navi {
  display: flex;
  justify-content: center;
  align-items: center;
}
.container .navi button {
  margin-right: 10px;
  margin-bottom: 10px;
}
.container .navi button:last-child {
  margin-right: 0px;
}
@media screen and (max-width: 520px) {
  .container .navi {
    flex-direction: column;
  }
  .container .navi button {
    width: 100% !important;
    margin-right: 0px;
  }
}

/* ページング
 *********************************************/
.paginator ul {
  display: flex;
  flex-direction: row;
  margin-top: 20px;
  justify-content: flex-end;
}
.paginator ul li {
  padding-right: 5px;
}
.paginator ul li a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 30px;
  padding: 5px;
  border: 1px solid #1D2088;
  color: #1D2088;
}
.paginator ul .active a {
  background-color: #1D2088;
  color: #fff;
}

/* ダイアログ
 *********************************************/
.ui-dialog {
  padding: 0;
}
.ui-dialog .ui-dialog-titlebar-close {
  right: 0.6em;
}
.ui-dialog .ui-widget-header {
  background: #4682b4;
  color: #fff;
}
.ui-dialog .note {
  display: flex;
  align-items: center;
  margin: 20px 20px;
}
.ui-dialog .note i {
  margin-right: 10px;
}
.ui-dialog .note .fa-circle-exclamation {
  font-size: 2.6rem;
  color: blue;
}
.ui-dialog .note .fa-triangle-exclamation {
  font-size: 2.6rem;
  color: red;
}
.ui-dialog .note .fa-circle-question {
  font-size: 2.6rem;
  color: orange;
}
.ui-dialog .note .fa-ban {
  font-size: 2.6rem;
  color: red;
}

/**
 * Project Name    : 新潟交通 デジタル掲示板システム
 * File Name       : style.scss
 * Encoding        : UTF-8
 * Creation Date   : 2026/09/24
 *
 * Copyright © 2026 haingraf INC.
 *
 * This source code or any portion thereof must not be
 * reproduced or used in any manner whatsoever.
 */
/**
 * Project Name    : 新潟交通 デジタル掲示板システム
 * File Name       : _page.scss
 * Encoding        : UTF-8
 * Creation Date   : 2026/09/24
 *
 * Copyright © 2026 haingraf INC.
 *
 * This source code or any portion thereof must not be
 * reproduced or used in any manner whatsoever.
 */
/*
 * カテゴリーカラー
 *
 ********************************************/
/*
 * ログイン画面
 *
 ********************************************/
.signin {
  width: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.signin .signin-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}
.signin .signin-logo img {
  height: 40px;
}
.signin .sys-ttl {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.6rem;
  margin-bottom: 36px;
  color: #1D2088;
  font-weight: 600;
}
@media screen and (max-width: 520px) {
  .signin .sys-ttl {
    font-size: 4vw;
  }
}
.signin .item {
  display: flex;
  flex-direction: row;
}
.signin .item .item-name {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 120px;
  margin-bottom: 16px;
}
.signin .item .item-input {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 380px;
}
@media screen and (max-width: 520px) {
  .signin .item {
    flex-direction: column;
  }
  .signin .item .item-name {
    justify-content: flex-start;
    width: 100%;
  }
  .signin .item .item-input {
    justify-content: flex-start;
    width: 100%;
  }
}
.signin .signin-submit {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}
.signin .sys-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 80px;
}
.signin .sys-logo img {
  height: 40px;
}

/*
 * メニュー画面
 *
 ********************************************/
.menu {
  width: 100%;
}
.menu .page-ttl {
  font-size: 1.6rem;
  font-weight: 600;
  color: #1D2088;
  border-bottom: 2px solid #1D2088;
  margin-bottom: 80px;
}
.menu .menu-list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.menu .menu-list .menu-item {
  height: 60px;
}
.menu .menu-list .menu-item button {
  min-width: 400px;
}
@media screen and (max-width: 520px) {
  .menu .menu-list .menu-item button {
    min-width: 320px;
  }
}

/*
 * ページ共通(ログイン、メニューは除く)
 *
 ********************************************/
.page-common {
  width: 100%;
}
.page-common .page-ttl {
  text-align: center;
  font-size: 1.2rem;
  color: #1D2088;
  font-weight: 600;
  margin-bottom: 40px;
}
.page-common .page-ttl p {
  display: inline;
  background: linear-gradient(transparent 70%, rgba(29, 32, 136, 0.3) 70%);
}
.page-common .category-ttl {
  position: relative;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
  height: 40px;
}
.page-common .category-ttl p[data-catid="1"] {
  color: #1D2088;
}
.page-common .category-ttl p[data-catid="2"] {
  color: #13AE67;
}
.page-common .category-ttl p[data-catid="3"] {
  color: #EA5514;
}
.page-common .category-ttl p[data-catid="4"] {
  color: #F8B62D;
}
@media screen and (max-width: 960px) {
  .page-common .category-ttl p {
    margin-bottom: 20px;
  }
}
.page-common .op-wrap {
  position: relative;
  text-align: left;
  margin-bottom: 10px;
  height: 40px;
  display: flex;
  align-items: center;
  font-weight: 600;
}
.page-common .op-wrap .op {
  position: absolute;
  top: 0;
  right: 0;
}
@media screen and (max-width: 960px) {
  .page-common .op-wrap p {
    margin-bottom: 20px;
  }
  .page-common .op-wrap .op {
    position: static;
  }
}
.page-common .category-name > div {
  width: 120px;
  padding: 5px 5px;
  margin: 10px;
}
.page-common .category-name > div.cat-rosen {
  background-color: #1D2088;
  color: #fff;
}
.page-common .category-name > div.cat-kennai {
  background-color: #13AE67;
  color: #fff;
}
.page-common .category-name > div.cat-kengai {
  background-color: #EA5514;
  color: #fff;
}
.page-common .category-name > div.cat-pdf {
  background-color: #F8B62D;
  color: #fff;
}

/*
 * テーブル共通設定
 *
 ********************************************/
.table-style table thead th {
  display: table-cell;
  text-align: center;
  vertical-align: middle;
  background-color: #1D2088;
  color: #fff;
  border-right: 2px solid #BBBCDB;
  height: 60px;
}
.table-style table thead th:last-child {
  border-right: 0;
}
@media screen and (max-width: 768px) {
  .table-style table thead {
    display: none;
  }
}
.table-style table tbody tr:hover {
  background: #dcdcdc;
}
.table-style table tbody tr td {
  display: table-cell;
  text-align: center;
  vertical-align: middle;
  color: #1D2088;
  border-bottom: 2px solid #BBBCDB;
  border-right: 2px solid #BBBCDB;
  height: 100px;
}
.table-style table tbody tr td:last-child {
  border-right: 0;
}
.table-style table tbody tr td.op div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 0px;
}
.table-style table tbody tr td.op div button {
  margin: 5px;
}
@media screen and (max-width: 768px) {
  .table-style table tbody tr td {
    height: auto;
    display: flex;
    justify-content: flex-start;
    align-items: center;
  }
}
@media screen and (max-width: 768px) {
  .table-style table tbody {
    width: 100%;
  }
  .table-style table tbody tr {
    display: grid;
    width: 100%;
    border: 2px solid #1D2088;
    border-radius: 5px;
    padding: 20px;
    margin: 10px 0 0 0;
  }
}

/*
 * ユーザー管理
 *
 ********************************************/
.user-list .navi {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}
.user-list .navi > div {
  margin: 0 5px;
}
.user-list .navi > div button {
  width: 200px;
}
.user-list .upload-wrap {
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
}
.user-list .upload-wrap .fileupload {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.user-list .upload-wrap .fileupload input {
  margin-bottom: 0;
}
.user-list .upload-wrap .upload-errors {
  width: 100%;
  border: 1px solid #dc143c;
  margin-top: 40px;
  color: #dc143c;
}
.user-list .upload-wrap .upload-errors ul {
  display: flex;
  flex-direction: column;
  padding: 20px;
  max-height: 200px;
  overflow-y: scroll;
}
.user-list .upload-wrap .upload-errors ul li {
  display: flex;
  flex-direction: row;
}
.user-list .upload-wrap .upload-errors ul li .account {
  width: 200px;
  min-width: 200px;
}
.user-list .user-result table .account {
  width: 200px;
  max-width: 200px;
  min-width: 200px;
}
.user-list .user-result table .name {
  width: 100%;
}
.user-list .user-result table .role_name {
  width: 150px;
  max-width: 150px;
  min-width: 150px;
}
.user-list .user-result table .last-login-date {
  width: 150px;
  max-width: 150px;
  min-width: 150px;
}
.user-list .user-result table .op {
  width: 100px;
  max-width: 100px;
  min-width: 100px;
  margin-bottom: 0;
}
@media screen and (max-width: 768px) {
  .user-list .user-result table tbody {
    width: 100%;
  }
  .user-list .user-result table tbody tr {
    grid-template-columns: 1fr;
    grid-template-rows: 50px 50px 50px 50px;
  }
  .user-list .user-result table tbody tr td {
    border: 0px;
  }
  .user-list .user-result table tbody tr .account {
    grid-row: 2/2;
    grid-column: 1/1;
    border-bottom: 1px solid;
    min-width: 100%;
    padding-left: 20px;
  }
  .user-list .user-result table tbody tr .name {
    grid-row: 3/3;
    grid-column: 1/1;
    border-bottom: 1px solid;
    padding-left: 20px;
  }
  .user-list .user-result table tbody tr .last-login-date {
    grid-row: 4/4;
    grid-column: 1/1;
    border-bottom: 1px solid;
    min-width: 100%;
    padding-left: 20px;
  }
  .user-list .user-result table tbody tr .op {
    grid-row: 1/1;
    grid-column: 1/1;
    min-width: fit-content;
    margin-bottom: 20px;
  }
}

/*
 * ユーザーの新規／編集画面
 *
 ********************************************/
.user-modify {
  max-width: 700px;
}
.user-modify .input-items {
  margin-bottom: 40px;
}
.user-modify .input-items .item {
  display: flex;
  flex-direction: row;
  padding-top: 16px;
}
.user-modify .input-items .item .item-name {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 200px;
  color: #1D2088;
  padding-left: 20px;
  padding-bottom: 16px;
  font-weight: 600;
}
.user-modify .input-items .item .item-wrap {
  width: 100%;
  padding-right: 20px;
}
@media screen and (max-width: 768px) {
  .user-modify .input-items .item {
    flex-direction: column;
    padding-top: 0px;
  }
  .user-modify .input-items .item .item-name {
    padding-left: 5px;
  }
}
.user-modify .navi {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}
.user-modify .navi > div {
  margin: 0 5px;
}
.user-modify .navi > div button {
  width: 200px;
}

/*
 * エラーページ
 *
 ********************************************/
.error-layer {
  min-height: calc(100vh - 100px);
}
.error-layer .inner {
  width: 1024px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.error-layer .inner > div {
  width: 100%;
}
.error-layer .inner .detail textarea {
  font-size: 1.2rem;
  min-height: calc(12em + 20px);
  line-height: 1.5;
}
.error-layer .inner .btn-layer {
  width: 300px;
}

/**
 * Project Name    : 新潟交通 デジタル掲示板システム
 * File Name       : style.scss
 * Encoding        : UTF-8
 * Creation Date   : 2026/09/24
 *
 * Copyright © 2026 haingraf INC.
 *
 * This source code or any portion thereof must not be
 * reproduced or used in any manner whatsoever.
 */
/**
 * Project Name    : 新潟交通 デジタル掲示板システム
 * File Name       : _panel.scss
 * Encoding        : UTF-8
 * Creation Date   : 2026/09/24
 *
 * Copyright © 2026 haingraf INC.
 *
 * デジタル掲示板 Web管理コントロールパネル 追加スタイル（設計書 付録A）
 * 旧 webroot/css/panel.css を移設・統合したもの。
 */
.page-common .navi {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.page-header-stack {
  margin-bottom: 20px;
}

.page-header-row {
  display: flex;
  align-items: center;
  padding: 12px 0;
}
.page-header-row .page-ttl {
  margin: 0;
}
.page-header-row-right {
  justify-content: flex-end;
}
.page-header-row-center {
  justify-content: center;
}

.page-header-divider {
  border-bottom: 1px solid #e5e8ee;
}

.page-header-btn {
  flex-shrink: 0;
}

.filter-row {
  display: flex;
  align-items: center;
  margin-bottom: 14px;
  position: relative;
}
.filter-row-split {
  display: flex;
  flex-wrap: wrap;
  column-gap: 40px;
  row-gap: 10px;
}
.filter-row-between {
  justify-content: space-between;
}
@media screen and (max-width: 768px) {
  .filter-row {
    flex-wrap: wrap;
    row-gap: 10px;
  }
}

.filter-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.filter-item select,
.filter-item input {
  margin: 0;
}
@media screen and (max-width: 768px) {
  .filter-item {
    display: flex;
    width: 100%;
  }
  .filter-item select,
  .filter-item input {
    flex: 1;
    min-width: 0;
  }
}

.filter-actions {
  display: flex;
  gap: 10px;
}
@media screen and (max-width: 768px) {
  .filter-actions {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    margin: 20px 0 10px;
  }
}

.filter-note {
  margin: 0;
  color: #8b91a1;
  font-size: 13px;
}

.table-style table {
  width: 100%;
  table-layout: auto;
  border-collapse: collapse;
}
.table-style th,
.table-style td {
  border-bottom: 1px solid #ddd;
  padding: 8px 10px;
  text-align: left;
}
.table-style .handle {
  width: 24px;
  cursor: move;
  text-align: center;
  color: #999;
}
.table-style .check {
  width: 50px;
}
.table-style .no {
  width: 56px;
}
.table-style .title {
  width: auto;
  white-space: wrap;
  font-feature-settings: "palt";
}
.table-style table tbody tr td.title {
  text-align: left;
}
.table-style .offices {
  width: 120px;
}
.table-style .period,
.table-style .state {
  white-space: nowrap;
  width: 1%;
}
.table-style .state {
  width: 100px;
}
.table-style .period {
  min-width: 200px;
}
.table-style .op {
  white-space: nowrap;
  width: 100px;
}

#postings-sortable[data-sortable-disabled="1"] .handle {
  cursor: not-allowed;
  color: #ccc;
}

.office-name-line {
  white-space: nowrap;
}

.period-range-display {
  display: grid;
  grid-template-columns: max-content max-content max-content;
  align-items: center;
}
.period-range-display .period-date {
  font-variant-numeric: tabular-nums;
}

.content-type-badge {
  display: inline-block;
  margin-right: 6px;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: bold;
  white-space: nowrap;
}
.content-type-badge-image {
  background: #e3f2fd;
  color: #1565c0;
}
.content-type-badge-movie {
  background: #fce4ec;
  color: #ad1457;
}

.convert-badge {
  display: inline-block;
  margin-top: 4px;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: bold;
}
.convert-badge-failed {
  background: #fdecea;
  color: #b02a1f;
  white-space: normal;
}

.state-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: bold;
  white-space: nowrap;
}
.state-badge-private {
  background: #eceff1;
  color: #546e7a;
}
.state-badge-open {
  background: #fdecea;
  color: #b02a1f;
}
.state-badge-scheduled {
  background: #e8f5e9;
  color: #2e7d32;
}
.state-badge-converting {
  background: #e3f2fd;
  color: #1565c0;
}
.state-badge-failed {
  background: #b02a1f;
  color: #fff;
}

.icon-btn {
  border: 0;
  padding: 0;
  font-size: inherit;
  line-height: normal;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 4px;
  color: #565d70;
  background: var(--field, #f7f8fb);
  margin-bottom: 0px;
  margin-right: 0px;
  cursor: pointer;
}
.icon-btn:hover {
  background: #e5e8ee;
}
.icon-btn-delete {
  color: #b02a1f;
}
.icon-btn-verify {
  color: #184a94;
}
.icon-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: var(--field, #f7f8fb);
}

tr.ui-sortable-helper {
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

tr.sortable-placeholder {
  background: transparent;
  border: none;
  visibility: visible !important;
}
tr.sortable-placeholder td {
  padding: 0;
  border: none;
  border-top: 3px solid #b02a1f;
}

.locked {
  color: #b02a1f;
}

#posting-form .form-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 10px 24px;
  padding: 18px 0;
  border-bottom: 1px solid #e5e8ee;
}
#posting-form .form-row:last-of-type {
  border-bottom: none;
}
#posting-form .form-row > label:first-child {
  font-weight: bold;
  padding-top: 8px;
}
#posting-form .form-row-nested {
  grid-template-columns: 140px 1fr;
  padding: 12px 0 0;
  border-bottom: none;
}
@media screen and (max-width: 768px) {
  #posting-form .form-row-nested {
    grid-template-columns: 1fr;
  }
}
#posting-form .form-row-content {
  align-items: start;
}
@media screen and (max-width: 768px) {
  #posting-form .form-row {
    grid-template-columns: 1fr;
    gap: 6px 0;
  }
  #posting-form .form-row > label:first-child {
    padding-top: 0;
  }
}

.office-checkboxes {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 10px 20px;
  width: fit-content;
}
@media screen and (max-width: 768px) {
  .office-checkboxes {
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
  }
}
@media screen and (max-width: 520px) {
  .office-checkboxes {
    grid-template-columns: 1fr;
  }
}

.office-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.radio-group-vertical {
  flex-direction: column;
  gap: 10px;
}
.radio-group > label:not(.radio-with-input) {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 2.8rem;
}
.radio-group > label:not(.radio-with-input) input[type=radio] {
  margin: 0;
}

.inline-input {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.radio-with-input {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 2.8rem;
}
.radio-with-input input {
  margin: 0;
}
.radio-with-input input[type=radio] {
  flex-shrink: 0;
}
@media screen and (max-width: 520px) {
  .radio-with-input {
    flex-wrap: wrap;
  }
}

.radio-with-input input[type=number],
input[name=display_seconds] {
  width: 110px;
}

.period-range {
  display: flex;
  align-items: center;
  gap: 8px;
}
.period-range input[type=date] {
  width: 160px;
  box-sizing: border-box;
  flex-shrink: 0;
}
@media screen and (max-width: 520px) {
  .period-range {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }
  .period-range input[type=date] {
    width: 100%;
  }
}

.content-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 14px;
  border-bottom: 2px solid #e5e8ee;
}

.content-tab {
  padding: 8px 20px;
  cursor: pointer;
  border: 1px solid transparent;
  border-bottom: none;
  border-radius: 6px 6px 0 0;
  color: #565d70;
  margin-bottom: -2px;
}
.content-tab input[type=radio] {
  display: none;
}
.content-tab.is-active {
  color: #184a94;
  font-weight: bold;
  background: #f2f6fc;
  border-color: #e5e8ee;
  border-bottom: 2px solid #f2f6fc;
}

.content-panel {
  display: none;
}

.dropzone {
  border: 2px dashed #999;
  border-radius: 6px;
  padding: 24px;
  text-align: center;
}
.dropzone.dragover {
  border-color: #184a94;
  background: #f2f6fc;
}

.content-file-widget.is-disabled {
  opacity: 0.45;
  pointer-events: none;
  background: var(--field, #f7f8fb);
}

.media-preview {
  margin: 12px 0;
}
.media-preview-frame {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 6px;
  overflow: hidden;
}
.media-preview-frame img,
.media-preview-frame video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.media-preview-info {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  margin-top: 8px;
}
.media-preview-filename {
  margin: 0;
  font-size: 13px;
  color: #8b91a1;
  word-break: break-all;
}
.media-preview-error {
  margin: 8px 0 0;
  font-size: 13px;
  color: #b02a1f;
}
.media-preview-info .icon-btn {
  flex-shrink: 0;
}

.media-url-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.media-url-input-row .icon-btn {
  flex-shrink: 0;
}
.media-url-input-row input[type=text] {
  flex: 1;
  box-sizing: border-box;
}

.media-kind-row {
  margin-bottom: 20px;
}
.media-kind-row:last-child {
  margin-bottom: 0;
}
.media-kind-row > label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.media-kind-row > label input[type=radio] {
  margin: 0;
}

.media-url-row input[type=text] {
  width: 100%;
  box-sizing: border-box;
}
.media-url-row.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.field-note {
  font-size: 12px;
  color: #8b91a1;
  margin: 6px 0 0;
}

.field-note-caution {
  margin: 12px 0 0;
}
.field-note-caution p {
  margin: 2px 0 0;
}
.field-note-caution .field-note-title {
  margin: 0;
  font-weight: bold;
}

.form-errors {
  border-left: 3px solid #b02a1f;
  background: #fdf2f1;
  padding: 10px 14px;
  margin-bottom: 16px;
}

.form-actions {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}
.form-actions-center {
  justify-content: center;
}

.lock-message {
  border-left: 3px solid #c25e12;
  background: #fff8f1;
  padding: 14px 18px;
}

.upload-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.upload-overlay progress {
  width: 100%;
  height: 16px;
  margin: 14px 0 6px;
}
.upload-overlay-box {
  background: #fff;
  border-radius: 8px;
  padding: 30px 40px;
  min-width: 320px;
  text-align: center;
}
@media screen and (max-width: 520px) {
  .upload-overlay-box {
    min-width: 0;
    width: 90%;
    padding: 20px;
  }
}

.upload-caution {
  color: #b02a1f;
  font-size: 13px;
}

.upload-actions {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  justify-content: center;
}

.confirmation-matrix {
  max-width: 1024px;
}

.confirmation-table {
  width: fit-content;
  max-width: 100%;
}

.confirmation-header-wrap {
  position: sticky;
  top: 0;
  z-index: 3;
  overflow-x: hidden;
  border-bottom: 1px solid #ddd;
}

.confirmation-body-scroll {
  overflow-x: auto;
  display: flex;
  flex-direction: column;
  gap: 1px;
  background-color: #ddd;
}

.confirmation-row {
  display: flex;
  gap: 1px;
  background-color: #ddd;
  width: var(--table-width);
}

.confirmation-cell {
  flex: 0 0 150px;
  box-sizing: border-box;
  background-color: #fff;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.confirmation-row-header .confirmation-cell {
  background-color: #1D2088;
  color: #fff;
  font-weight: bold;
}

.confirmation-cell.posting-title {
  white-space: normal;
}

.posting-title-inner {
  word-break: break-word;
}

.confirmation-cell.employee-info {
  position: sticky;
  left: 0;
  z-index: 2;
  flex: 0 0 320px;
  padding: 0;
}

.employee-info-inner {
  display: flex;
  width: 100%;
  height: 100%;
  border-right: 1px solid #ddd;
}
.employee-info-inner span {
  display: flex;
  align-items: center;
  width: 100px;
  padding: 6px 10px;
}

.confirmation-row-header .employee-info-inner span {
  justify-content: center;
}

.confirmation-row:not(.confirmation-row-header) .employee-info-inner .employee-no,
.confirmation-row:not(.confirmation-row-header) .employee-info-inner .full-name {
  justify-content: flex-start;
}
.confirmation-row:not(.confirmation-row-header) .employee-info-inner .department {
  justify-content: center;
}

.confirmation-row:not(.confirmation-row-header):hover .confirmation-cell {
  background-color: #f0f0f0;
}

@media screen and (max-width: 960px) {
  .confirmation-row {
    width: var(--table-width-sp);
  }
  .confirmation-cell.employee-info {
    flex: 0 0 140px;
  }
  .employee-info-inner {
    flex-direction: column;
    align-items: stretch;
  }
  .employee-info-inner span {
    width: 100%;
    white-space: normal;
    word-break: break-word;
    border-right: none;
  }
  .confirmation-row-header .employee-info-inner span {
    justify-content: flex-start;
    text-align: left;
    padding: 0px 10px;
  }
  .confirmation-row:not(.confirmation-row-header) .employee-info-inner .employee-no,
  .confirmation-row:not(.confirmation-row-header) .employee-info-inner .full-name,
  .confirmation-row:not(.confirmation-row-header) .employee-info-inner .department {
    justify-content: flex-start;
    text-align: left;
    padding: 0px 10px;
  }
  .confirmation-row:not(.confirmation-row-header) .employee-info-inner .employee-no,
  .confirmation-row:not(.confirmation-row-header) .employee-info-inner .department {
    font-size: 14px;
  }
  .confirmation-row:not(.confirmation-row-header) .employee-info-inner .full-name {
    font-weight: 600;
  }
}
.confirmation-status-actions-row {
  justify-content: flex-end;
}

@media screen and (max-width: 960px) {
  .posting-result table {
    display: block;
    width: 100%;
    table-layout: auto;
  }
  .posting-result thead {
    display: none;
  }
  .posting-result tbody {
    display: block;
    width: 100%;
  }
  .posting-result table tbody tr {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
    border: 2px solid #1D2088;
    border-radius: 5px;
    padding: 10px 16px;
    margin: 10px 0 0 0;
  }
  .posting-result table tbody tr td {
    display: flex;
    align-items: center;
    min-height: 50px;
    height: auto;
    border: none;
    padding: 4px 6px;
    text-align: left;
    flex: 1 1 100%;
    width: auto;
  }
  .posting-result table tbody tr td.no {
    order: 1;
    font-weight: bold;
    white-space: nowrap;
  }
  .posting-result table tbody tr td.title {
    order: 2;
    font-weight: 600;
    font-size: 18px;
    font-feature-settings: "palt";
  }
  .posting-result table tbody tr td.check {
    justify-content: flex-start;
  }
  .posting-result table tbody tr td.offices {
    order: 3;
    flex-wrap: wrap;
  }
  .posting-result table tbody tr td.period {
    order: 4;
  }
  .posting-result table tbody tr td.state {
    order: 5;
    flex-wrap: nowrap;
    gap: 8px;
  }
  .posting-result table tbody tr td.state br {
    display: none;
  }
  .posting-result table tbody tr td.handle {
    order: 6;
    flex: 0 0 auto;
    align-items: center;
    width: auto;
    min-height: auto;
    margin-left: auto;
  }
  .posting-result table tbody tr td.handle .handle-icon {
    display: none;
  }
  .posting-result table tbody tr td.handle .reorder-buttons {
    display: flex;
    align-items: center;
    gap: 4px;
  }
  .posting-result table tbody tr td.op {
    order: 7;
    flex: 0 0 auto;
    align-items: center;
    min-height: auto;
    width: unset;
  }
}

@media screen and (max-width: 960px) {
  .posting-result .office-name-line + .office-name-line::before {
    content: "／";
    margin: 0 2px;
  }
}

.reorder-buttons {
  display: none;
}

.device-result .fingerprint {
  font-family: Consolas, monospace;
  font-size: 11px;
  word-break: break-all;
}
.device-result details summary {
  cursor: pointer;
  font-size: 12px;
  margin-top: 4px;
}
.device-result .public-key {
  width: 100%;
  font-family: Consolas, monospace;
  font-size: 11px;
}
.device-result .device-name {
  font-size: 12px;
  color: #565d70;
}
.device-result td.empty {
  text-align: center;
}
@media screen and (max-width: 960px) {
  .device-result {
    overflow-x: auto;
  }
}
