html{
    height: -webkit-fill-available;
}
body{
    min-height: 100vh;
    min-height: -webkit-fill-available;
    margin: 0px;
    padding: 0px;
    position: relative;/*←相対位置*/
    padding-bottom: 75px;/*←footerの高さ*/
    box-sizing: border-box;/*←全て含めてmin-height:100vhに*/
}
a {
    text-decoration: none;
}

.day_firest_time_cell {
    border-left: 3px double !important;
    border-left-color: val(--gray-dark) !important;
}
:root {
    --fc-non-business-color : rgba(0,0,0,.05);
}
/*過去日にべた塗される背景*/
.coustom_oldtime_bg {
    background-color: rgba(0,0,0,.15);
    height: 100%;
    width: 100%;
    position: absolute;
    top : 0;
}

/*ツールチップ画像*/
.tippy-content {
    text-align: center;
}
.tippy-content img{
    max-width: 600px;
}
.tippy-content p{
    text-align: left;
    max-width: 600px;
}
.popover-header {
    margin-top: 0 !important;
}
/*select2 書き換え*/
.select2-container .select2-selection--multiple {
  overflow-y: auto; 
}
/*ヘッダー部*/

header {
    border-bottom: 2px solid #e3e3e3;
}
header a{
    color: #333;
}
header a:hover{
    text-decoration: none;
}
header .infomation {
    background-color: #8da0b6;
    min-height: 2em;
    width: 100%;
    padding: 2px 60px;
    overflow: hidden;
}
header .infomation .text {
    color: #FCFCFC;
    font-size: 1.5em;
    font-weight: bold;
    text-shadow :3px 3px 3px #0b0b33;
    /*text-align: center;*/
}
header .infomation .text {
    margin:0; padding-left:100vw;
    display:inline-block;
    white-space:nowrap;
    animation-name:marquee;
    animation-timing-function:linear;
    animation-duration:15s;
    animation-iteration-count:infinite;
}
@keyframes marquee {
    from   { transform: translate(0%);} 
    100%,to { transform: translate(-100%);}
}
header .pan {
    padding-left: 60px;
}
header .pan li {
    display: inline-block;
    margin-right: 30px;
    font-size: 0.8em;
    color: #707070;
}
header .user_icon {
    padding-top: 5px;
    font-size: 0.8em;
    color: #707070;
    padding-right: 15px;
}
header .user_icon .dropdown-toggle {
    border: none;
    padding: 0;
    font-size: 1em;
}
header .user_icon .dropdown-toggle:hover {
    border: none;
    border-color: #343940;
    color: #343940;
    background-color: unset;
}
.show>.btn-outline-dark.dropdown-toggle {
    border: none;
    color: #343940;
    background-color: unset;
    box-shadow: none;
}
.show>.btn-outline-dark.dropdown-toggle:focus {
    box-shadow: none;
}
#sub_btn_area {
    margin-bottom: 20px;
}
header .notice_count {
    display: inline-block;
    border-radius: 3px;
    width: 20px;
    margin-right: 5px;
}
header #status_change_header button:hover {
    opacity: .8;
}
/*基本部*/
header {
    padding-left: 60px;
}

#main {
    margin-top: 20px;
    margin-right: 20px;
    margin-bottom: 20px;
}

#main .section_title, #page_title {
    border-left: 3px solid #333;
    padding: 0 15px;
}

#main .section_title .section_name{
    font-size: 1.8em;
}
#main .section_title .section_disc{
    color: #707070;
}
#main .section_select{
    width: 300px
}

#main .day {
    font-size: 1.5em;
}
#main .day .year {
    font-size: 0.75em;
}
#main .day .year:after {
    content:" ";
}

#map_area {
    overflow-y: auto;
    overflow-x: auto;
}

#list_out,
.list_out {
    max-width: 1500px;
}
.list_table_out {
    padding: 10px 0 10px 0;
}
.list_table_out_left {
    padding-right: 7.5px;
}
.list_table_out_right {
    padding-left: 7.5px;
}
.list_table .blank {
    height: 57.333px;
    background-color: #CCC;
}
table tr th {
    text-align: center;
    background-color: #f1f1f1;
    font-weight: normal;
}
table {
    width: 100%;
}
table tr td, table tr th {
    border: 1px solid #CCC;
}
table tr th {
    padding: 2px 10px;
    font-size: .85em;
    color: #6b6b6b;
}
table tr th:last-child {
    border-right: 1px solid #CCC;
}
table tr td {
    padding: 5px 10px;
}
.table_top .left, .table_top .right{
    margin: 10px 0;
}
.table_top .left{
    min-width: 300px;
}
.right_contol {
    padding-top: 7px;
}
.right_contol button, .right_contol select {
    margin-left: 5px;
}

.list_table .phone_no {
    margin: 0;
    font-size: 0.7em;
    text-align: center;
}
.btn_list {
    margin: -3px;
}
.btn_list button ,.btn_list input, .btn_list select {
    margin: 3px;
}
.btn_list button {
    width: 120px;
}

.left_ico {
    width: 40px;
    height: 40px;
    position: absolute;
    right: 10px;
    top: 10px;
}

/*ブロックメニュー*/
.block_menu {
    max-width: 1500px;
    margin-top: 20px;
    margin-bottom: 50px;
    padding: 20px;
    background-color: #efefef;
}
.block_menu .col-sm-3 {
    border: 1px solid #CCC;
}
.block_menu_btn {
    border-radius: 0;
    background-color: #004292;
    border-color: #004292;
    text-align: left;
    padding: .375rem 1.5rem .375rem .75rem;
}
.block_menu i {
    position: absolute;
    right:10px;
    top: 10px;
    color: #CCC;
}
.admin_block_menu {
    max-width: 1500px;
    margin-bottom: 50px;
    padding: 0 20px;
}
.admin_block_menu .admin_menu_btn {
    text-align: left;
}
.single_line_view {
    display: none;
}
#mobile_new_event_btn {
    display: none;
    position: fixed;
    z-index: 10;
    bottom: 50px;
    right: 20px;
    width: 3rem;
    height:3rem;
    font-size: 1.5em;
    border: 2px solid #cce3ff;
}
/*フッター部*/
footer {
    border-top: 1px solid #EEE;
    width: 100%;
    position: fixed;/*←絶対位置*/
    bottom: 0; /*下に固定*/
    background-color: #FFF;
    z-index: 100;
}
footer .pan {
    display: block;
    margin: 0;
    padding: 15px 0;
    padding-left: 20px;
}
footer .pan li {
    display: inline-block;
    padding: 0 18px 0 20px;
    font-size: 0.8em;
    color: #707070;
    border-left: 1px solid #333;
}
footer .pan li:first-of-type {
    padding-left: 0;
    border-left: none;
}
footer .pan li a {
    color: #333;
}
footer .pan li a:hover {
    text-decoration: none;
}
footer .copy{
    display: block;
    background: #f1f1f1;
    padding: 4px;
    padding-left: 20px;
}

/* 色
****************************************************/
body {
    color: #333;
}
.admin_menu_btn {
    background-color: #920000;
    border-color: #920000;
}

/* modal 共通
****************************************************/
.modal-header, .modal-footer {
    border: none;
}
.modal-header .close{
    font-size: 30px;
    vertical-align: top;
}
.modal-header .right {
    padding: 1rem 1rem;
    margin: -1rem -1rem -1rem auto;
    font-size: 30px;
    vertical-align: top;
}
.modal-header-btn{
    margin-top: -1rem;
}
.modal-header h5 {
    border-left: 3px solid #333;
    padding: 0 15px;
}
.modal-footer{
    justify-content : center;
}
.modal-footer .btn-primary {
    width: 200px;
}
.modal-lg .modal-footer .btn-primary {
    width: 300px;
}
.modal-footer .btn-danger {
    padding-left: 50px;
    padding-right: 50px;
}
.modal-lg .modal-footer .btn-danger {
    width: 200px;
}
.modal-footer .btn-harf {
    padding-left: 50px;
    padding-right: 50px;
}
.modal-footer .btn-outline-secondary {
    border: 1px solid transparent;
}
.modal-body div.label, .modal-body label.label{
    background-color: #bed5f1;
    padding-top: 5px;
    padding-bottom: 5px;
    border-bottom-left-radius: .2rem;
    border-top-left-radius: .2rem;
}
.modal-body .col-sm-12 {
    border-bottom-right-radius: .2rem;
    border-top-right-radius: .2rem;
}
.modal-body .col-sm-1,
.modal-body .col-sm-2,
.modal-body .col-sm-3,
.modal-body .col-sm-4,
.modal-body .col-sm-5,
.modal-body .col-sm-6,
.modal-body .col-sm-7,
.modal-body .col-sm-8,
.modal-body .col-sm-9,
.modal-body .col-sm-10,
.modal-body .col-sm-11,
.modal-body .col-sm-12 {
    margin-top: 20px;
}
.d-none-sub {
    display: none;
}
.input_wrap.d-none + .d-none-sub {
    display: unset;
}
.tooltip .tooltip-inner {
  background-color: #920000;
  border: 2px solid #920000;
  color: #FFF;
}

.bs-tooltip-auto[x-placement^=bottom] .arrow::before, .bs-tooltip-top .tooltip-arrow::before {
  border-top-color: #920000;
}
.bs-tooltip-auto[x-placement^=bottom] .arrow::before, .bs-tooltip-bottom .arrow::before {
  border-bottom-color: #920000;
}
.bs-tooltip-auto[x-placement^=bottom] .arrow::before, .bs-tooltip-left .arrow::before {
  border-left-color: #920000;
}
.bs-tooltip-auto[x-placement^=bottom] .arrow::before, .bs-tooltip-right .arrow::before {
  border-right-color: #920000;
}

/* 以下 style_add_miura
****************************************************/

/* 汎用（style.css他上書き） */

#logo-box {
    overflow: hidden;
}
h1#logo {
    max-width: 500px;
}
h1#logo.admin_logo {
    float: left;
}
h1#logo:hover {
    opacity: .7;
}
h1#logo img {
    height: 40px;
}
header .infomation + ul.pan,
header .hidden_box + ul.pan {
    margin-bottom: 0;
}
/* .admin_page_logo {
display: inline-block;
padding: 3px 13px;
position: absolute;
margin-top: 15px;
margin-left: 20px;
background-color: #920000;
} */
.admin_page_logo {
    display: inline-block;
    padding: 3px 13px;
    float: left;
    margin-top: 15px;
    margin-left: 20px;
    background-color: #920000;
}
.admin_page_logo:hover {
    opacity: .7;
}
.admin_page_logo a {
    color: #FFF;
}

h3 {
    margin-top: 1em;
    font-size: 1.5rem;
}
h4 {
    margin-top: 1em;
    font-size: 1.3rem;
    color: #014292;
}
.btn.delete_btn:hover {
    opacity: .7;
    color: #fff;
}
.btn-primary:hover:not(:disabled) {
    background-color:#0069d9;
    border-color:#0062cc;
}

.note_cont {
    display: inline-block;
    background-color: #ed566b;
    width: 18px;
    height: 18px;
    border-radius: 50%;/*角丸*/
    margin: 0 .5rem ;
    padding: 0 .25rem;
    color: #fff;
    text-align: center;
}

/* modal.sass上書き */

.modal-header {
    padding: 2rem 2rem 0.5rem 2rem;
}
.modal-body {
    padding: 0 2rem;
}
.modal-footer {
    padding: 2rem;
}

/* ボタン */
.btn-gray {
    background: #6b6b6b;
    color: #fff;
}
.btn-gray:hover {
    background: #3b3b3b;
    color: #fff;
}
.btn_wide{
    width: 100px;
}
.txt_on {
    font-weight: bold;
    color: #920000;
}
.txt_off {
    font-weight: bold;
    color: #bdbcbc;
}
.bg_Sat td {
    background: #e2efff;
}
table tr.bg_Sat td {
    border-right: 1px solid #f5f5f5;
}
table tr.bg_Sat td:last-child {
    border-right: 1px solid #EEE;
}
.bg_Sun td {
    background: #ffe2eb;
}
.icon_name {
    display: inline-block;
    background: #bed5f1;
    margin-right: 6px;
    padding: 2px 6px;
    font-size: .8em;
}
.sorTable tr:hover {
    background: #bed5f1;
    cursor: move;
}
.sorTable tr > td:first-child:before {
    display: inline-block;
    font-family: FontAwesome,'Font Awesome 5 Free','Font Awesome 5 Regular';
    content: "\f7a5";
    padding: 0 .75em 0 0;
    font-weight: 900;
    color: #f1f1f1;
}
.sorTable tr:hover > td:first-child:before {
    color: #fff;
}

/* form */

.form-serch {
    margin: 2rem 0 0;
}
.form-serch .btn {
    background: #004292;
    margin: 0 .5rem;
    padding-right: 2rem;
    padding-left: 2rem;
}
.page_contol_box {
    margin-bottom: 1rem;
}
.page_contol_box button,
.page_contol_box input,
.page_contol_box select {
    margin-left: .5rem;
}
.page_contol_box .form-control {
    height: calc(1.5em + .5rem + 2px);
}
.form-inline .input-group select, .form-inline .input-group input {
    border-radius: .2rem !important;
    border-bottom-left-radius: .2rem !important;
    border-top-left-radius: .2rem !important;
    border-top-right-radius: .2rem !important;
    border-bottom-right-radius: .2rem !important;
    margin-left: 3px !important;
    margin-right: 3px !important;
}

@media print, screen and (max-width: 1200px) {
    .table_warp { /*レスポンシブ対応*/
        width: 100%;
        overflow: hidden;
    }
    .table_warp table{ /*レスポンシブ対応*/
        table-layout: fixed;
        word-break: break-all;
        word-wrap: break-all;
    }
    .scroll {
        overflow-x: scroll;
        /* margin-bottom: 20px; */
    }
    .table_warp table {
        margin-bottom: 10px;
    }
}

/* edit_member_modal.php */

.input_wrap {
    position: relative;
    padding-right: 0;
}
.input_wrap input[type="text"] {
    width:100%;
    box-sizing:border-box;
    padding: .25rem .5rem;
}
.modal-body label.radio {
    padding-right: 2rem;
}

/* 編集画面 */

.edit_info_box {
    border: 1px solid #efefef;
    border-radius: 3px;
    margin-bottom: 24px;
    padding: 0 2rem 1.25rem;
}
.edit_info_box .foot_delete {
    margin-top: 1rem;
}

#table_destination {
    max-width: 500px;
}
#client_top_menu{
    display: none;
}
/*メインメニュー　臨時*/
#main_menu_title{
    text-align:center;
    font-weight: 700;
    font-size: 30px;
    color: #004292;
}
/* ハンバーガーメニュー */
#hamburger_left_menu {
    z-index: 2000;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
}
.hamburger {
    width: 49px;
    height: 47px;
    position: fixed;
    top: 0;
    left: 0;
    background: #cc00cc;
    border-bottom-right-radius: 10px;
    padding: 10px 10px 22px 7px;
    transition: .2s;
}
.hamburger span {
    position: absolute;
    height: 5px;
    width: 32px;
    border-radius: 1.2px;
    background-color: #EEE;
    transition: .2s;
}
.hamburger span:first-of-type {
    /* ハンバーガーメニューの1番目の線 */
    top: 22%;
}
.hamburger span:nth-of-type(2) {
    /* ハンバーガーメニューの2番目の線 */
    top: 45%;
}
.hamburger span:last-of-type {
    /* ハンバーガーメニューの3番目の線 */
    top: 68%;
}
.hamburger.active {
    transform: translateX(260px);
}
.hamburger.active span:first-of-type {
    /* ハンバーガーメニューの1番目の線 */
    top: 45%;
    transform: rotate(45deg);
}
.hamburger.active span:nth-of-type(2) {
    /* ハンバーガーメニューの2番目の線 */
    opacity: 0;
    /* 透明にする */
}
.hamburger.active span:last-of-type {
    /* ハンバーガーメニューの3番目の線 */
    top: 45%;
    transform: rotate(-45deg);
}
.slide_menu {
    width: 260px;
    background: #7d7d86;
    position: absolute;
    top: 0;
    left: 0;
    transform: translateX(-100%);
    transition: .2s;
    padding: 10px;
    height: 100%;
    max-height: 100dvh;
    overflow-y: auto;
    list-style-type: none;
    color: white;
}
.slide_menu li {
    color: #fff;
    line-height: 400%;
    text-align: center;
}
.slide_menu.active {
    transform: translateX(0);
}

#hamburger_menu_pages li {
    height: 49px;
    padding: 0;
}
.hamburger_menu_links .btn,
#hamburger_menu_pages .btn {
    padding: 12px 12px 12px 5px;
    text-align: left;
    border-bottom: 1px solid #CCC;
    border-radius: 0;
}
.hamburger_menu_links li {
    height: 49px;
    padding: 0;
}
.slide_menu_backdrop {
    top: 0;
    left: 0;
    width: 100vw;
    height: 100dvh;
    background-color: rgba(0, 0, 0, 0.5);
    position: fixed;
    display: none;
}
.slide_menu_backdrop.menu_open {
    display: block;
}
/*メディアクエリ*/
@media screen and (max-width:576px) {
    body {
        padding-bottom: 34px;
    }
    .admin_page_logo {
        display: block;
        float: none;
        margin: 10px auto;
        width: 160px;
    }
    header .infomation {
        font-size: .85em;
    }
    header .pan {
        display: none;
    }
    #main {
        margin: 1px;
    }
    header h1 {
        margin-left: 15px;
    }
    #main .section_title {
        padding: 0 10px;
    }
    #main .section_title .section_name {
        font-size: 1.5em;
    }
    #main .section_title .section_disc {
        font-size: .85em;
    }
    #main .day {
        font-size: 1.2em;
    }
    table tr th {
        padding: 2px 5px;
        font-size: .75em;
    }
    table tr td {
        padding: 5px;
        font-size: .85em;
    }
    .btn-group-sm>.btn {
        font-size: .85em;
    }
    .block_menu {
        margin-top: 15px;
        padding: 15px;
    }
    .single_line_view{
        display: block;
    }
    .double_line_view{
        display: none;
    }
    .modal-footer form{
        width: 100%;
    }
    .modal-footer .btn{
        width: 49%;
    }
    .list_table .blank {
        height: 51.333px;
    }
    #page_title{
        display: none;
    }
    h1#logo {
        width: 180px;
/*        margin-top: -30px;*/
        margin-bottom: 5px;
    }
    h1#logo img {
        width: 180px;
        height: unset;
    }
    h1#logo.admin_logo {
        float: none;
    }

    /*メインメニュー*/
    #main_menu{
        padding: 0 .7em;
        /*width: 450px;*/
        margin-left: auto;
        margin-right: auto;
        height: calc(100vh - 207px);
        overflow-y: scroll;
        scrollbar-width: none;
        color: #FFF;
    }
    #main_menu ul{
        padding: 0;
    }
    #main_menu li{
        background: #7d7d86;
        list-style: none;
        margin: 15px 0;
        clear: both;
        /*width: 90vw;*/
    }
    #main_menu a{
        text-align: left;
        font-size: 20px;
    }
    #main_menu  li a i{
        float: right;
        padding-top: .25em;
        padding-left: .5em;
    }

    /*左メニュー、トップメニュー*/
    #top_menu{
        background: #7d7d86;
        margin-left: 0;
        padding: 3px;
        height: 55px;
        width: 100%;
        overflow-x: scroll;
        scrollbar-width: none;
        color: #FFF;
        flex-wrap: nowrap;
        display: flex;
        white-space: nowrap;
    }
    #top_menu::-webkit-scrollbar{
        display:none;
    }
    #top_menu ul{
        padding: 0;
        margin: 0;
    }
    #top_menu li {
        list-style: none;
        clear: both;
        width: 90px;
        margin: 0;
        display: inline-block;
    }
    #top_menu a {
        text-align: center;
        padding: 6px;
    }
    #top_menu li a i{
        display: block;
        font-size: 1.3em;
    }
    #top_menu li a span{
        display: block;
        font-size: 0.5em;
        padding-top: 0.2em;
    }
    .admin_block_menu ,.admin_menu_btn i {
        float: right;
        padding-top: .25em;
        padding-left: .5em;
    }
    #client_top_menu{
        display: block;
    }
    #client_left_menu{
        display: none;
    }
    footer .pan {
        padding: 5px 15px;
    }
    footer .copy{
        display: none;
    }
    #calendar h2{
        font-size: 20px;
    }
    .fc-header-toolbar.fc-toolbar {
        display: block !important;
        margin: 7px 15px 10px 15px !important;
    }
    .fc-header-toolbar.fc-toolbar > .fc-toolbar-chunk{
        width: 100%;
        display: block !important;
    }
    .fc-header-toolbar button.btn {
        margin-top: 5px;
        font-size: .85em !important;
    }
    .fc-header-toolbar .fc-prev-button,.fc-header-toolbar .fc-next-button{
        display: none;
    }
    #mobile_new_event_btn {
        display: block;
    }
    .tippy-content img.resource_img{
        max-width: 200px;
    }
    .modal-header {
        padding: 1rem;
    }
    .modal-body {
        padding: 0 1rem;
    }
    .modal-footer {
        padding: 0 1rem 1rem 1rem;
    }
    .modal-footer .btn-primary {
        padding-right: 30px;
        padding-left: 30px;
    }
}

/* select2 bootstrap5 CSS修正
****************************************************/
.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__rendered .select2-selection__choice {
    padding: .2em .2em;
}    
/* 汎用構文
****************************************************/
.unuse {
    display: none;
}
