@charset "utf-8";

@import url(https://fonts.googleapis.com/css?family=Lato:400,700);
@import url(https://fonts.googleapis.com/earlyaccess/notosansjp.css);
@import url(https://fonts.googleapis.com/css?family=Raleway&display=swap);

body {
    font-family: Lato, "Noto Sans JP", "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    font-size: 14px;
    line-height: 1.1;
    -webkit-text-size-adjust: 100%;
    color: #000;
    background-color: #E5E5E5;
}

a {
    text-decoration: underline;
    color: #000;
    outline: none;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

a:hover {
    text-decoration: none;
}

* {
    box-sizing: border-box;
}

button,
label {
    cursor: pointer;
}

img {
    max-width: 100%;
    height: auto;
}

input {
    font-family: inherit;
}

/* HEADER
---------------------------------------------------------------------------- */
.header {
    display: table;
    width: 100%;
    background-color: #fff;
    height: 100px;
    color: #fff;
}

.header-logo,
.header-nav,
.header-logout {
    display: table-cell;
    vertical-align: middle;
}

/* home */
.header-logo {
    width: 145px;
    padding: 0 20px;
}

/* main menu */
.header-nav {
    padding: 0 105px 0 10px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    height: 100%;
}

.header-nav ul {
    float: left;
}

.header-nav-user {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #000;
    text-align: end;
    height: 100px;
    line-height: 150%;
    margin-right: 10px;
    max-width: 320px;
}

.header-nav p {
    font-size: 16px;
    color: #000;
    float: right;
    text-align: center;
    height: 100px;
    line-height: 100px;
    margin-right: 10px;
}

@media screen and (max-width: 1100px) {
    .header-nav {
        justify-content: flex-end;
    }
    .header-nav ul {
        display: none;
    }
}

.header-nav ul li {
    display: inline-block;
    text-align: center;
}

.header-nav ul li a {
    font-size: 14px;
    font-weight: bold;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-decoration: none;
    width: 145px;
    height: 100px;
    line-height: 35px;
    letter-spacing: 1px;
    border-right: 2px solid #E5E5E5;
}

.header-nav ul li a:hover {
    background-color: #333;
    color: #fff;
}

.header-nav ul li a:hover img {
    filter: invert(100%);
}

.header-nav ul li a img {
    height: 25px;
    width: 25px;
    vertical-align: middle;
    display: block;
    margin: 0 auto;
}

.is_current a,
.is_current a span {
    background-color: #333;
    color: #fff;
}

.header-nav ul li.is-current a i,
.header-nav ul li a:hover i {
    color: #ed2e64;
}


/* menu */

.header-menu {
    position: fixed;
    right: -205px;
    top: 0;
    width: 200px;
    height: 100vh;
    z-index: 99999;
    box-shadow: -3px 0px 4px -1px rgba(0, 0, 0, 0.3);
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    background-color: #fff;
}

.header-menu.is-open {
    right: 0;
}

.header-menu-btn {
    position: absolute;
    width: 100px;
    height: 100px;
    left: -100px;
    top: 0;
    background-color: #333;
    color: #fff;
    border: none;
    box-shadow: 0px 1px 3px 1px rgba(0, 0, 0, 0.3);
}

.header-menu-list {}

.header-menu-list ul {
    padding-left: 0;
}

.header-menu-list li {
    list-style: none;
    border-bottom: 1px solid #555;
}

.header-menu-list li a {
    color: #000;
    text-decoration: none;
    display: block;
    padding: 15px;
    /*border-bottom:1px solid #555;*/
    text-align: center;
}

.header-menu-list ul li a:hover {
    background-color: #333;
    color: #fff;
}

.header-menu-list-top {
    color: #000;
    text-decoration: none;
    display: block;
    padding: 15px;
    border-bottom: 1px solid #555;
    text-align: center;
}

.header-menu-list li button {
    padding: 15px;
    border: none;
    font-size: inherit;
    font-family: inherit;
    border-bottom: 1px solid #555;
    width: 100%;
    background-color: transparent;
    color: #000;
    text-align: left;
    font-weight: bold;
    letter-spacing: 2px;
}

.header-menu-list li button img {
    width: 45px;
    height: auto;
    vertical-align: middle;
    margin-right: 15px;
}



/* ログアウトボタン */
.header-menu-logout {
    width: 100%;
    display: block;
    text-align: center;
    border: none;
    font-size: inherit;
    font-family: inherit;
    padding: 10px;
    background-color: #ed2e64;
    color: #fff;
}

.header-menu-logout:hover {
    background-color: #333;
}



/* PAGE TITLE
---------------------------------------------------------------------------- */
.top {
    display: table;
    width: 100%;
    height: 80px;
    /*background-image:url("/common/images/bg_dot.gif");*/
    background-repeat: repeat;
    background-position: center center;
    /*box-shadow: 0 1.5px 3px -1.5px rgba(0,0,0,0.3);*/
    position: absolute;
    /*top:65px;*/
    left: 0;
    /* ★.top.is-fixedから移動 */
    z-index: 9999;
}

.top-ttl,
.top-btn {
    display: table-cell;
    vertical-align: middle;
}

/* ページタイトル */
.top-ttl {
    font-size: 20px;
    font-weight: bold;
    padding: 0 20px;
    letter-spacing: 2px;
}

/* ページタイトルセレクト&インプットボックス */
.top-ttl select,
.top-ttl input {
    border-radius: 10px;
    height: 40px;
}

/* キーワード検索 */
.keyword-search-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.keyword-search {
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.filter-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* 検索条件表示エリア */
.top-ttl-filter {
    font-size: 13px;
    padding-left: 15px;
    color: #888;
    vertical-align: middle;
    font-weight: normal;
    letter-spacing: 1px;
}

.top-ttl-filter i {
    color: #444;
}

/* ボタン */
.top-btn {
    text-align: right;
    padding: 0 5px;
}

/* 追従時 */
.top.is-fixed {
    position: fixed;
    top: auto;
    left: 0;
    bottom: 0;
    /* ★.topへ記述を移動 */
    /* z-index:9999; */
    box-shadow: 1.5px 0 3px 1.5px rgba(0, 0, 0, 0.1);
}

.top.is-fixed .top-ttl {
    display: none;
}

.top.is-fixed .top-btn {
    text-align: center;
    width: 100%;
}

/* SEARCH
---------------------------------------------------------------------------- */
.search {
    margin-bottom: -25px;
    background-color: #F8F8f8;
    position: relative;
    padding-top: 50px;
    /* ★追記 */
    z-index: 9998;
}

/* form */
.search-form {
    padding: 15px;
    display: none;
}

.search-form dl {
    width: 100%;
    margin-bottom: 10px;
}

.search-form dl dt,
.search-form dl dd {
    display: table-cell;
    vertical-align: middle;
}

.search-form dl dt {
    min-width: 150px;
    font-weight: bold;
    padding-right: 10px;
}

.search-form dl dt i {
    vertical-align: middle;
    margin-right: 5px;
    color: #777;
}

.search-form dl dd {
    width: 100%;
    padding-right: 20px;
}

/* button */
.search-btn {
    text-align: center;
}

.search-btn i {
    vertical-align: middle;
    margin-right: 5px;
}

/* 検索開閉 */
.search-open {
    position: absolute;
    right: 0;
    bottom: -40px;
}

.search-open button {
    width: 40px;
    height: 40px;
    background-color: #F8F8f8;
    border: none;
    border-bottom: 2px solid #e2e2e2;
}

/* SEARCH 検索条件とバーコード欄を共存
---------------------------------------------------------------------------- */
.search2 {
    margin-bottom: -25px;
    padding-top: 25px;
}

/* MAIN
---------------------------------------------------------------------------- */
.main {
    padding: 85px 10px;
}

/* 分類：インプット系
----------------------------------------------------------------------------- */
input[type="text"],
input[type="date"],
input[type="email"],
input[type="time"],
input[type="password"],
input[type="number"],
select,
textarea {
    font-family: inherit;
    font-size: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    -webkit-appearance: none;
    min-height: 28px;
}

#pagetop .event_total select,
input[type="text"] {
    font-size: 14px;
}

#pagetop .event_total select,
textarea {
    font-size: 13px;
}

select {
    cursor: pointer;
    padding-right: 30px !important;
    background-image: url("/common/images/icn_select.png");
    background-repeat: no-repeat;
    background-size: 10px 5px;
    background-position: right 10px center;
}

input[type="text"] {
    width: 100%;
}

input[type="date"] {
    width: 100%;
}

input[type="number"] {
    width: 100%;
    text-align: right;
}

input[type="tel"] {
    width: 100%;
}

input[type="email"] {
    width: 100%;
}

input[type="password"] {
    width: 100%;
}

textarea {
    width: 100%;
    min-height: 80px;
    resize: vertical;
}

input[name="freeWord"] {
    width: 100%;
    max-width: 359px;
}

/* エディタ内調整 */
.trumbowyg-editor b {
    font-size: 18px;
    font-weight: bold;
    padding: 0 15px 15px;
    margin: 0 auto 30px;
    border-bottom: 1px solid #d7d3d0;
    display: block;
}

@media screen and (max-width:1024px) {

    input[type="text"],
    input[type="date"],
    input[type="time"],
    input[type="password"],
    input[type="number"],
    select,
    textarea {
        padding: 2.5px 5px;
        /*min-height:45px;*/
        margin-bottom: 5px;
    }

    input[type="date"] {
        max-width: 135px;
    }
}


/* 分類：リンク
----------------------------------------------------------------------------- */
/* ボタン共通 */
.btn-normal,
.btn-submit,
.btn-cancel,
.btn-ttl,
.btn-ttl-submit,
.btn-add,
.btn-del {
    display: inline-block;
    margin: 0 2.5px;
    border: none;
    text-decoration: none;
    color: #fff;
    background-color: #ed2e64;
    font-family: inherit;
    font-size: 15px;
    height: 40px;
    line-height: 40px;
    vertical-align: middle;
    padding: 0 20px;
    border-radius: 5px;
    font-weight: bold;
}
.btn-normal:hover,
.btn-submit:hover,
.btn-cancel:hover,
.btn-ttl:hover,
.btn-ttl-submit:hover,
.btn-add:hover,
.btn-del:hover {
    opacity: 0.7;
}

/* 確定系ボタン（.btn-submit） */
.btn-submit {
    background-color: #ed2e64;
}

/* キャンセル系ボタン（.btn-cancel） */
.btn-cancel,
.btn-del {
    color: #000;
    background-color: #ddd;
}

/* 追加・削除ボタン */
.btn-add,
.btn-del {
    padding: 0 5px;
    margin: 0 auto;
    font-size: 15px;
    height: 35px;
    line-height: 35px;
    vertical-align: middle;
}

.btn-del {
    height: 30px;
    line-height: 30px;
    padding: 0 10px;
}

.btn-week-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 2.5px;
    border: none;
    text-decoration: none;
    color: #fff;
    background-color: #ed2e64;
    font-family: inherit;
    font-size: 12px;
    width: 150px;
    height: 30px;
    line-height: 40px;
    vertical-align: middle;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
}
.btn-week {
    text-align: center !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin: 0 0px;
    border: none;
    text-decoration: none;
    color: #fff;
    background-color: #ed2e64;
    font-family: inherit;
    font-size: 12px;
    width: 150px;
    height: 40px;
    line-height: 40px;
    vertical-align: middle;
    border-radius: 5px;
    font-weight: bold;
    padding-block: 0px !important;
    padding-inline: 0px !important;
    cursor: pointer;
}
.btn-week-nav:hover,
.btn-week:hover {
    opacity: 0.7;
}


/* タイトル部分用ボタン（.btn-ttl） */
.btn-ttl,
.btn-ttl-submit {
    width: 65px;
    height: 65px;
    background-color: #fff;
    padding: 0;
    border-radius: 10px;
}

.btn-ttl span,
.btn-ttl-submit span {
    font-size: 13px;
    font-weight: bold;
    color: #000;
    display: block;
    text-decoration: none;
    text-align: center;
}

/* タイトル部分登録ボタン（.btn-ttl-submit） */
.btn-ttl-submit {
    background-color: #ed2e64;
    color: #fff;
    padding: 0;
}

.btn-ttl-submit span {
    color: #fff;
}

/* アイコン調整 */
.btn-normal i,
.btn-submit i,
.btn-cancel i {
    vertical-align: middle;
    font-size: 20px;
    margin-right: 10px;
}

.btn-ttl img,
.btn-ttl-submit img {
    height: auto;
    width: 30px;
    vertical-align: middle;
    display: block;
    margin: 10px auto -10px;
}

.file-button::file-selector-button {
  font-weight: bold;
  color: #fff;
  background-color: #ed2e64;
  font-size: 14px;
  border: 0;
  border-radius: 10em;
  padding: 8px 16px;
  text-align: center;
  cursor: pointer;
}
.file-button::file-selector-button:hover {
  opacity: 0.7;
}

/* 分類：ラベル
----------------------------------------------------------------------------- */
.lbl {
    display: inline-block;
    margin: 0 2.5px 5px;
    border: none;
    text-decoration: none;
    color: #333;
    background-color: #ddd;
    font-family: inherit;
    vertical-align: middle;
    border-radius: 5px;
    min-width: 60px;
    font-size: 13px;
    padding: 0 5px;
    height: 40px;
    line-height: 40px;
}

input:checked+.lbl {
    color: #fff;
    background-color: #50505b;
}

/* 分類：テーブル
----------------------------------------------------------------------------- */
/* 一覧・詳細共通 */

.tbl-list,
.tbl-detail,
.tbl-total,
.tbl-total-media {
    width: 100%;
    margin: 0 auto 30px;
    background-color: #fff;
    border-collapse: separate;
    /*border-radius: 20px;*/
    /*border:2px solid #333;*/
    border: 0.5px solid #333;
    overflow: hidden;
}

.tbl-detail th,
.tbl-detail td {
    border-right: 0.5px solid #ddd;
    border-bottom: 0.5px solid #ddd;
}

.tbl-total thead {
    width: 100%;
}

.tbl-list th,
.tbl-list td,
.tbl-total th,
.tbl-total td,
.tbl-total-media th,
.tbl-total-media td {
    border-right: 1px solid #8a8a8a;
    border-bottom: 1px solid #8a8a8a;
}

.tbl-list th:last-child,
.tbl-list td:last-child,
.tbl-total-media th:last-child,
.tbl-total-media td:last-child {
    border-right: none;
}


@media screen and (max-width: 1100px) {

    .tbl-list th,
    .tbl-list td,
    .tbl-detail th,
    .tbl-detail td,
    .tbl-total-media th,
    .tbl-total-media td {
        display: table;
        width: 100% !important;
        border-bottom: 1px solid #ccc;
        border-right: none;
        line-height: 2;
    }

    #pagetop .event_total select,
    input[type="text"] {
        font-size: 14px;
    }

    #pagetop .event_total select,
    textarea {
        font-size: 14px;
    }

    .tbl-list thead,
    .tbl-total-media thead {
        display: none;
    }

    .tbl-list-goal {
        font-size: 50% !important;
    }

    .tbl-list-goal td {
        text-align: center !important;
    }

    .tbl-total td {
        min-width: 100px;
    }

    .tbl-total {
        overflow: auto;
        /* 横スクロールバーを表示 */
        white-space: nowrap;
        /* セル内にあるテキストの折り返しを禁止 */
    }

    .tbl-list tbody td:nth-last-child(1) {
        border-bottom: 1px solid #333;
    }

    .tbl-edit input,
    .tbl-edit select {
        margin-top: 5px;
    }

    .tbl-edit button {
        margin: 5px;
    }
}

.tbl-list thead th,
.tbl-detail thead th,
.tbl-total thead th,
.tbl-total-media thead th {
    background-color: #333;
    font-weight: bold;
    color: #fff;
    padding: 5px;
    vertical-align: middle;
    white-space: nowrap;
}

.tbl-list thead th button {
    background-color: transparent;
    font-weight: bold;
    color: #fff;
    font-family: inherit;
    font-size: inherit;
    border: none;
    display: block;
    width: 100%;
    outline: none;
}

.tbl-list tbody th,
.tbl-detail tbody th,
.tbl-total tbody th,
.tbl-total-media tbody th {
    /*background-color:#F8F8f8;*/
    background-color: #ccc;
    font-weight: bold;
    vertical-align: middle;
    padding: 3px 5px;
    white-space: nowrap;
}

.tbl-list tbody td,
.tbl-total tbody td,
.tbl-total-media tbody td {
    vertical-align: middle;
    padding: 10px;
    /*padding: 1px;*/
}

.tbl-list tbody a {
    text-align: center;
}

.tbl-detail tbody td {
    vertical-align: middle;
    padding: 5px;
}


/* 一覧 */
.tbl-list {}

/* 一覧用ボタン調整 */
.tbl-list .btn-normal,
.tbl-list .btn-submit,
.tbl-list .btn-cancel {
    min-width: 40px;
    font-size: 12px;
    padding: 0 6px;
    height: 26px;
    line-height: 26px;
}

/* 一覧内アイコン */
.tbl-list td i {
    margin: 0 0 5px;
    font-size: 17px;
}

/* 新規追加行 */
.tbl-list tr.is-new th,
.tbl-list tr.is-new td {
    background-color: #e2f7ff;
}

/* タイトル・強調パーツ */
.tbl-list td strong {
    font-weight: bold;
    font-size: 16px;
}

/* 編集テーブル線 */
.tbl-edit th {
    color: #fff;
    background-color: #333;
    min-width: 150px;
    /*border-top: 1px solid #fff;*/
    /*border-right: 1px solid #fff;*/
    border-bottom: 1px solid #fff;
    vertical-align: middle;
}

.tbl-edit th,
.tbl-edit td {
    border: 1px solid #aaa;
    border-collapse: collapse;
}

/* 詳細 */
.tbl-detail {}

/* 編集テーブル内リスト */
.tbl-detail ul li {
    padding-bottom: 5px;
}

.tbl-detail ul li:last-child {
    padding-bottom: 0;
}

/* 詳細内ラベル */
.tbl-detail label {
    display: inline-block;
    padding: 5px 10px 5px 5px;
}

/* テーブル内アイコン調整 */
.tbl-list i,
.tbl-detail i {
    vertical-align: middle;
    margin-right: 5px;
}

/* テーブルボーダー削除 */
.tbl-border-cancel-b td {
    border-bottom: none;
}

/* ダッシュボード　メニュー */
.menu-list {
    text-align: center;
    margin-bottom: 30px;
}

.menu-list li {
    display: inline-block;
    text-align: center;
    width: 18%;
    margin-right: 50px;
}

.menu-list li a {
    display: block;
    color: #fff;
    font-size: 16px;
    letter-spacing: 2px;
    text-decoration: none;
    width: 100%;
    height: 60px;
    line-height: 60px;
    border-radius: 5px;
    background-color: #333;
    box-shadow: 0px 2px 0px 1px #aaa;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    background-image: url("/common/images/icn_menu.png");
    background-repeat: no-repeat;
    background-position: right 10px bottom 10px;
}

.menu-list li a:hover {
    background-color: #ed2e64;
    box-shadow: 0px 2px 0px 1px #287F7B;
}

.download-list {
    text-align: center;
    margin-bottom: 30px;
}

.download-list li {
    display: inline-block;
    text-align: center;
    width: 18%;
    margin-right: 50px;
}

.download-list li button {
    display: block;
    color: #fff;
    font-size: 16px;
    letter-spacing: 2px;
    text-decoration: none;
    width: 100%;
    height: 60px;
    line-height: 60px;
    border-radius: 5px;
    background-color: #23232d;
    box-shadow: 0px 2px 0px 1px #aaa;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    background-image: url("/common/images/icn_menu.png");
    background-repeat: no-repeat;
    background-position: right 10px bottom 10px;
}

.download-list li button:hover {
    background-color: #ed2e64;
    box-shadow: 0px 2px 0px 1px #287F7B;
}

/* チェックテーブル */
.tbl-check {}

.tbl-check input {
    position: absolute;
    z-index: -1;
    opacity: 0;
}

/* 商品情報の文字装飾 */
.txt-item,
.txt-lot,
.txt-price {
    display: block;
}

/* 商品情報の文字装飾：商品名称 */
.txt-item {
    font-weight: bold;
    margin-bottom: 5px;
}

/* 商品情報の文字装飾：ロット番号 */
.txt-lot {
    color: #888;
}

/* 商品情報の文字装飾：価格 */
.txt-price {
    text-align: right;
    color: #888;
}


/* 分類：カレンダー
----------------------------------------------------------------------------- */
.calendar-nav-container {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.medical-facility {
    display: flex;
    align-items: center;
    gap: 10px;
}

.medical-facility p {
    font-weight: bold;
}

.week-nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tbl-calendar-button {
    display: block;
    width: 100%;
    background-color: #fff;
    padding: 10px;
    font-size: 15px;
    color: #333;
    text-decoration: none;
    border: 1px solid #333;
    border-radius: 4px;
    transition: background-color 0.2s ease;
    /* 背景色変更のトランジション */
}

.tbl-calendar-button:hover {
    background-color: #ccc;
    /* ホバー時の背景色 */
}

.tbl-calendar-link {
    font-size: 16px;
    color: #fff;
    font-weight: bold;
}

.tbl-calendar {
    width: 100%;
    margin: 0 auto 30px;
    border: 3px solid #ddd;
    table-layout: fixed;
}

/* チェックボックス風ボタンの基本スタイル */
.btn-select-all {
    width: 20px;
    height: 20px;
    border: 1px solid #ccc;
    border-radius: 3px;
    background-color: #fff;
    vertical-align: middle;
    cursor: pointer;
    padding: 0;
    margin-left: 5px;
    /* 日付テキストとの間隔調整 */
}

/* 選択状態の場合 */
.btn-select-all.selected {
    background-color: #5cb85c;
    border-color: #5cb85c;
}

/* 選択状態のときにチェックマーク風の表示 */
.btn-select-all.selected:after {
    content: "";
    display: block;
    width: 6px;
    height: 12px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    position: relative;
    top: 1px;
    left: 6px;
}

.calendar-button {
    display: block;
    width: 100%;
    padding: 10px 5px;
    margin: 0;
    background-color: #fff;
    color: #333;
    border: 1px solid #ccc;
    font-size: 14px;
    cursor: pointer;
    text-align: center;
}

table.tbl-list {
    border-collapse: collapse;
    width: 100%;
}

/* ラベル全体をセルいっぱいにする */
.cell-label,
.row-label {
    display: block;
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
    cursor: pointer;
}

.column-label {
    display: flex;
    justify-content: center;
    align-items: center;
}


.all-checkbox,
.frame-checkbox,
.row-checkbox,
.column-checkbox {
    height: 20px;
    width: 30px;
    text-align: center;
}

.all-checkbox-container {
    display: flex;
}

.all-checkbox-container label {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.row-label,
.cell-label {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 未選択（空） */
.tbl-reserve-link {
    width: 100%;
    display: block;
    padding: 10px;
    background-color: #fff;
    color: #333;
    text-decoration: none;
    border: 1px solid #333;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.tbl-reserve-link:hover {
    background-color: #ccc;
}

/* 選択中（予約済み） */
.tbl-reserve-link-selected {
    width: 100%;
    background-color: #ee7800;
    display: block;
    font-size: 15px;
    padding: 10px;
    color: #fff;
    text-decoration: none;
    border: 1px solid #333;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.tbl-reserve-link-selected:hover {
    background-color: #c46201;
}

/* 予約済み */
.tbl-calendar-reserved {
    color: #fff;
    font-size: 15px;
    text-align: center;
    padding: 5px;
    background-color: #ee7800;
    color: #fff;
}

/* 選択不可 */
.tbl-calendar-txt {
    font-size: 15px;
    text-align: center;
}

.tbl-calendar th,
.tbl-calendar td {
    border: 1px solid #ddd;
}

.tbl-calendar thead th {
    background-color: #333;
    font-weight: bold;
    color: #fff;
    vertical-align: middle;
    white-space: nowrap;
    padding: 15px;
    font-size: 16px;
    letter-spacing: 2px;
}

.tbl-calendar thead th a {
    display: inline-block;
    text-decoration: none;
    background-color: #fff;
    width: 30px;
    height: 30px;
    margin: 0 10px;
    border-radius: 5px;
    vertical-align: middle;
    line-height: 30px;
    text-align: center;
}

.tbl-calendar thead td {
    text-align: center;
    font-weight: bold;
    background-color: #f4f4f4;
    padding: 10px;
    vertical-align: middle;
    white-space: nowrap;
}

.tbl-calendar thead tr td:nth-child(7),
.tbl-calendar tbody tr td:nth-child(7) span {
    color: #578cab;
}

.tbl-calendar thead tr td:nth-child(1),
.tbl-calendar tbody tr td:nth-child(1) span {
    color: #287F7B;
}

.tbl-calendar tbody td {
    padding: 5px 5px 10px;
    vertical-align: top;
}

.tbl-calendar tbody td span {
    display: block;
    margin: 0 auto 10px;
    text-align: center;
}

.tbl-calendar tbody td span.is-today {
    font-weight: bold;
}

.tbl-calendar tbody td ul {
    min-height: 70px;
}

.tbl-calendar tbody td ul li {
    margin-bottom: 5px;
}

.tbl-calendar tbody td ul li a,
.tbl-calendar tbody td ul li button {
    text-decoration: none;
    border: none;
    font-family: inherit;
    font-size: 12px;
    padding: 3px 5px;
    text-align: left;
    background-color: #e6eff5;
    border-radius: 15px;
}


/* 分類：見出し
----------------------------------------------------------------------------- */
/* 大見出し */
.ttl-L {
    font-size: 18px;
    font-weight: bold;
    margin: 0 auto 15px;
}

.ttl-L::before {
    content: "";
    display: inline-block;
    vertical-align: middle;
    width: 20px;
    height: 4px;
    background-color: #ed2e64;
    margin-top: -2px;
    margin-right: 15px;
}

/* 中見出し */
.ttl-M {
    font-size: 16px;
    font-weight: bold;
    margin: 0 auto 10px;
}

.ttl-M::before {
    content: "\f0da";
    font-family: "Font Awesome 5 Free";
    display: inline-block;
    margin-right: 10px;
    color: #ed2e64;
    font-size: 20px;
}

/* 分類：ボックス
----------------------------------------------------------------------------- */
/* 注意等 */
.box-notice {
    background-color: #f2f2f2;
    padding: 5px;
}

.box-notice i {
    color: #84b9cb;
    font-size: 20px;
    margin-right: 5px;
    vertical-align: middle;
    margin-top: -2px;
}

/* エラー */
.box-error {
    color: #a22041;
    background-color: #fef4f4;
    padding: 10px;
}

.box-error i {
    color: #ba2636;
    font-size: 20px;
    margin-right: 5px;
    vertical-align: middle;
    margin-top: -2px;
}

/* 画像サムネイル */
.box-img {
    width: 50px;
    height: 50px;
    overflow: hidden;
    position: relative;
    display: inline-block;
}

.box-img img {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: auto;
    max-width: 99999px;
    height: 100%;
}

/* バーコード検索ボックス */
.box-barcode {
    background-color: #F8F8f8;
    padding: 5px;
    text-align: center;
}

.box-barcode-ttl {
    display: inline-block;
    margin-right: 10px;
}

.box-barcode-ttl i {
    font-size: 36px;
    vertical-align: middle;
}

.box-barcode input[type="text"] {
    width: 30%;
    vertical-align: middle;
    padding: 7px 10px !important;
}

.box-barcode button {
    height: 35px;
    line-height: 35px;
    margin-top: -1px;
}

.box-barcode button i {
    margin-top: -2px;
}

/* モーダル
----------------------------------------------------------------------------- */
/* 全画面モーダル */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 999999;
}

.modal .modal-window {
    background-color: #fff;
    box-shadow: 0px 0px 9px 0px rgba(120, 120, 120, 0.57);
    border: 2px solid #333;
    width: 85%;
    height: 80vh;
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    border-radius: 20px;
}

.modal .modal-window-main {
    padding: 20px;
    height: calc(80vh - 50px);
    overflow: auto;
}

.modal .modal-window-btn {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-image: url(/common/images/bg_dot.gif);
    background-repeat: repeat;
    background-position: center center;
    box-shadow: 0 -1.5px 3px -1.5px rgba(0, 0, 0, 0.3);
    text-align: center;
    padding: 5px 0;
}

/* モーダルローディング */
.modal-window-loading {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5);
    text-align: center;
    padding-top: 27%;
}

@media screen and (max-width:768px) {
    .modal .modal-window {
        width: calc(100% - 20px) !important;
    }

    /* ヘッダー */
    .header-logo {
        padding: 0 10px;
    }

    .header-nav {
        padding: 0 100px 0 0;
    }

    .header-nav p {
        font-size: 12px;
        margin-right: 0;
    }

    /* タイトルボタン周り */
    .top-ttl {
        width: 40%;
        font-size: 15px;
        padding: 0 0 0 20px;
    }

    .top-btn {
        width: 60%;
    }

    .main {
        padding: 115px 10px;
    }

    /* ダッシュボード */
    .menu-list li {
        display: flex;
        width: 70%;
        margin: 30px auto;
    }

    /* 編集ダイアログ */
    .tbl-edit tbody tr th,
    .tbl-edit tbody tr td {
        display: block;
    }

    .addAd input[type="number"] {
        width: 50%;
    }

    .btn_add_del {
        border-bottom: 1px solid #333;
    }
}

/* フルサイズモーダル（大） */
.modal .modal-window.is-L {
    height: 90vh !important;
    width: 60% !important;
}

.modal .modal-window.is-L .modal-window-main {
    height: calc(90vh - 50px) !important;
}

/* フルサイズモーダル（中） */
.modal .modal-window.is-M {
    height: 50vh !important;
}

.modal .modal-window.is-M .modal-window-main {
    height: calc(50vh - 50px) !important;
}

/* フルサイズモーダル（小） */
.modal .modal-window.is-S {
    height: 30vh !important;
}

.modal .modal-window.is-S.is-width-S {
    width: 50% !important;
}

.modal .modal-window.is-S .modal-window-main {
    height: calc(30vh - 50px) !important;
}

/* 共通クローズボタン */
.modal-window-close {
    position: absolute;
    right: 0;
    top: 0;
    width: 45px;
    height: 45px;
    color: #fff;
    background-color: #ed2e64;
    border: none;
}

.modal-window-close i {
    vertical-align: middle;
}


/* ダイアログ
----------------------------------------------------------------------------- */
.dialog {
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.2);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999999;
}

.dialog-box {
    position: absolute;
    top: 35vh;
    left: 0;
    right: 0;
    margin: auto;
    width: 320px;
    box-shadow: 0px 0px 5px -2px rgba(0, 0, 0, 0.4);
    padding: 20px;
    background-color: #fff;
}

.dialog-box-ttl {
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.dialog-box-ttl i {
    vertical-align: middle;
    margin-right: 5px;
    color: #ed2e64;
}

/* text */
.dialog-box-txt {
    margin-bottom: 15px;
}

/* button */
.dialog-box-btn {
    text-align: center;
}

.dialog-box-btn button {
    width: 100%;
    border: none;
    padding: 15px;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 2px;
    color: #fff;
    background-color: #50505b;
    font-family: inherit;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.dialog-box-btn button:hover {
    transform: translateY(-5px);
}

/*
 ログイン前画面
----------------------------------------------------------------------------- */
.before-login {
    position: relative;
    height: 100vh;
}

/* box */
.before-login-box {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 320px;
    height: 340px;
    box-shadow: 0px 0px 5px -2px rgba(0, 0, 0, 0.4);
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.7);
}

/* title */
.before-login-box-ttl {
    text-align: center;
    font-size: 25px;
    padding: 10px;
    margin-bottom: 20px;
    font-weight: bold;
    letter-spacing: 2px;
}

.before-login-box-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 50px;
}

.before-login-box-btn a {
    width:100%;
    text-decoration: none;
    border:none;
    padding:15px;
    font-size:16px;
    text-align: center;
    font-weight:bold;
    color: #fff;
    background-color: #50505b;
    font-family: inherit;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all  0.3s ease;
}
.before-login-box-btn a:hover{
    transform:translateY(-5px);
}

/*
 ログイン
----------------------------------------------------------------------------- */
.login {
    position: relative;
    height: 100vh;
}

/* box */
.login-box {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 320px;
    height: 400px;
    box-shadow: 0px 0px 5px -2px rgba(0, 0, 0, 0.4);
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.7);
}

/* title */
.login-box-ttl {
    text-align: center;
    font-size: 25px;
    padding: 10px;
    margin-bottom: 20px;
    font-weight: bold;
    letter-spacing: 2px;
}

/* input */
.login-box input {
    border: none;
    border-bottom: 1px solid #ddd;
    width: 100%;
    background-color: #fff;
    margin-bottom: 10px;
}

/* name */
.login-box-name {
    margin-bottom: 5px;
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 1px;
    color: #333;
}

.login-box-name i {
    margin-right: 5px;
    color: #777;
}

/* button */
.login-btn-box {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.login-box-btn{
    position:absolute;
    left:0;
    bottom:0;
    width:100%;
    padding:20px;
}
.login-box-btn button{
    width:100%;
    border:none;
    padding:15px;
    font-size:16px;
    font-weight:bold;
    letter-spacing:2px;
    color: #fff;
    background-color: #50505b;
    font-family: inherit;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all  0.3s ease;
}
.login-box-btn button:hover{
    transform:translateY(-5px);
}

.login-box .box-error {
    font-size: 14px !important;
}

/* bg effect */
.login .bg {
    animation: slide 8s ease-in-out infinite alternate;
    background-image: linear-gradient(-60deg, #50505b 50%, #ed2e64 50%);
    bottom: 0;
    left: -50%;
    opacity: .5;
    position: fixed;
    right: -50%;
    top: 0;
    z-index: -1;
}

.login .bg2 {
    animation-direction: alternate-reverse;
    animation-duration: 9s;
}

.login .bg3 {
    animation-duration: 11s;
}

@keyframes slide {
    0% {
        transform: translateX(-25%);
    }

    100% {
        transform: translateX(25%);
    }
}

/* 配信停止
----------------------------------------------------------------------------- */
.unsubscribe {
    position: relative;
    height: 100vh;
}

.unsubscribe-box {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 640px;
    height: 320px;
    box-shadow: 0px 0px 5px -2px rgba(0, 0, 0, 0.4);
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.7);
}

.unsubscribe-box-ttl {
    text-align: center;
    font-size: 25px;
    padding: 10px;
    margin-bottom: 20px;
    font-weight: bold;
    letter-spacing: 2px;
}

.unsubscribe-box-txt {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.5;
    text-align: center;
    margin-bottom: 32px;
}

/* ボタン */
.unsubscribe-box-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.unsubscribe-box-btn button {
    width: 100%;
    border: none;
    padding: 15px;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 2px;
    color: #fff;
    background-color: #50505b;
    font-family: inherit;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.unsubscribe-box-btn button:hover {
    transform: translateY(-5px);
}

/* 画像アップローダー
----------------------------------------------------------------------------- */
.upload {
    display: inline-block;
    position: relative;
    width: 100%;
    padding: 0 10%;
    margin: 0 10px 10px 0;
}

/* プレビューエリア */
.upload-preview {
    display: block;
    border: 5px solid #eee;
    width: 100%;
    height: 400px;
    background-image: url("/common/images/noimage.jpg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 125px 125px;
    cursor: pointer;
    overflow: hidden;
    position: relative;
}

.upload-preview img {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: auto;
    max-width: 99999px;
    height: 100%;
}

.upload-input {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    text-align: center;
    padding: 10px;
}

.upload-input button {
    display: inline-block;
    margin: 0 5px 5px;
    border-radius: 3px;
    padding: 5px 10px;
    font-size: 14px;
    box-shadow: 0px 1px 0px 1px #bbb;
    border: none;
    font-family: inherit;
}

.upload-input-file {
    width: 0;
}

.upload-input-file-btn {
    background-color: #333;
    color: #fff;
}

.upload-clear {
    background-color: #ccc;
    color: #444;
}

/* タブ
----------------------------------------------------------------------------- */

/* タブセレクト */
.tab-select ul {
    margin: 0 0 10px;
    text-align: center;
    border-bottom: 1px solid #c8c6ce;
}

.tab-select ul li {
    display: inline-block;
    margin: 0 10px;
    position: relative;
}

.tab-select ul li button,
.tab-select ul li a {
    display: block;
    color: #333;
    text-decoration: none;
    font-family: inherit;
    border: none;
    background-color: transparent;
    padding: 10px;
    position: relative;
    outline: none;
}

.tab-select ul li.is-active button:after,
.tab-select ul li.is-active a:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 4px;
    left: 0;
    bottom: -2px;
    background-color: #ed2e64;
}

/* ※タブレット向けスタイル調整
----------------------------------------------------------------------------- */
@media screen and (max-width:1024px) {

    /* 帳票印刷、CSV出力ボタンの非表示 */
    button[name="btnCsv"],
    button[name="print"] {
        display: none;
    }

}

/* スクロールバー
----------------------------------------------------------------------------- */

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background-color: #BCBCBC;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 5px;
}