.f_yumin {
    font-family: 'Yu Mincho';
}

.content_section {
    /* border: solid 2px; */
    padding: 16px;
}

.content_section h2 {
    font-size: 30px;
}

.mt_15 {
    margin-top: 30px;
}

.number_order_list {
    list-style: decimal;
}

.main-content .link-button.custom_btn {
    width: fit-content;
    min-width: 190px;
}

.utily_login_btns_group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.footer-nav div a {
    color: #007dd1;
    font-size: 20px;
    font-weight: bold;
    padding-left: 10px;
}

.footer-nav div {
    font-weight: bold;
    font-size: 20px;
}

.header-nav {
    padding-left: 0 !important;
}

.header-nav .icon {
    padding-left: 20px;
}

.personal_tab,
.group_tab,
.power,
.non_power {
    display: none;
}

.personal_tab.active,
.group_tab.active,
.power.active,
.non_power.active {
    display: block;
}

#registform dd button {
    margin-top: 20px;
    padding: 5px 10px;

}

.required_span {
    margin-left: auto;
    display: inline-block;
    white-space: nowrap;
    background-color: #ea5c70;
    color: #ffffff;
    padding: 5px 12px;
    border-radius: 5px;
    line-height: 1.2;
    font-size: 0.65rem;
}

.sorry_text {
    max-width: 800px;
    margin: auto;
    margin-bottom: 20px;
    margin-top: -30px;
}

/* Toggle button */
.switch {
    position: relative;
    display: inline-block;
    width: 90px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider::after {
    position: absolute;
    content: "無し";
    right: 12px;
    bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    color: rgb(65, 65, 65);
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.slider {
    background-color: #ff9900;
}

input:checked+.slider::after {
    position: absolute;
    content: "有り";
    left: 12px;
    bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    -webkit-transition: .4s;
    transition: .4s;
}

input:focus+.slider {
    box-shadow: 0 0 1px #ff9900;
}

input:checked+.slider:before {
    -webkit-transform: translateX(56px);
    -ms-transform: translateX(56px);
    transform: translateX(56px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

#yoyaku_table_length {
    float: right;
    margin-bottom: 20px;
}

#yoyaku_table_length select {
    width: fit-content;
    min-width: 60px;
    outline: none !important;
}

#yoyaku_table_filter {
    float: left;
}

#yoyaku_table_filter input {
    display: inherit;
    outline: none !important;
}

.kanri-content .right-main {
    float: right;
    width: calc(100% - 220px);
}

#yoyaku_table {
    font-size: 13px;
}

.action_td {
    display: flex;
    align-items: center;
    gap: 20px;
}

.action_td .action_btns {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    /* padding: 5px; */
    border-radius: 2px;
}

.action_td .action_btns a {
    color: rgb(44, 44, 44);
}

.action_td .action_btns button {
    color: #ff2441dc;
    border: none;
    background: transparent;
    cursor: pointer;
    width: 25px;
    height: 0;
}

#yoyaku_table tr td {
    border-right: 1px solid #ccc;
}

#yoyaku_table tr td:first-of-type {
    border-left: 1px solid #ccc;
}

#yoyaku_table th {
    background: #3772c5;
    border-right: 1px solid white;
    border-bottom: 1px solid white;
    color: white;
    font-weight: normal;
}

#yoyaku_table th:last-of-type {
    border-right: 1px solid #3772c5;
}

.addnew_btn_container {
    /* float: right; */
    margin-bottom: 30px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.addnew_btn_container a {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.lovely_kanri .form_container {
    width: calc(100% - 100px);
    padding-bottom: 60px;
}

.lovely_kanri select,
.lovely_kanri textarea,
.lovely_kanri input {
    display: inherit;
    outline: none;
    width: 100%;
    background-color: #f2f2f2;
    padding: 1rem;
    line-height: 1.4;
    border-radius: 10px;
    box-sizing: border-box;
    border: none;
}

input[type="date"],
input[type="datetime-local"] {
    display: flex;
    flex-flow: row-reverse;
    gap: 17px;
}

.form_group label {
    display: block;
    font-size: 15px;
    margin-bottom: 15px;
    font-weight: 600;
    margin-top: 25px;
}

form .form_group:first-of-type label {
    margin-top: 0;
}

.invalid-feedback {
    color: rgb(255, 59, 59);
    margin-top: 10px;
    display: block;
}

.mt_30 {
    margin-top: 30px;
}

.mb_30 {
    margin-bottom: 30px;
}


form .form_group label>span {
    margin-left: 25px;
    display: inline-block;
    white-space: nowrap;
    background-color: #ea5c70;
    color: #ffffff;
    padding: 5px 12px;
    border-radius: 5px;
    line-height: 1.2;
    font-size: 0.65rem;
}


/* Custom Toast */
.toast {
    display: flex;
    align-items: center;
    position: absolute;
    top: 10px;
    left: 50px;
    background-color: #fbefcb;
    border-radius: 12px;
    padding: 0.5rem 1rem;
    border: 2px solid #f6b905;
    opacity: 0%;
    transition: all 0.25s ease-out;
}

.show-toast {
    background-color: rgb(214, 214, 214);
    color: white;
    border-radius: 8px;
    padding: 8px;
    cursor: pointer;
}

.toast-active {
    right: 50px;
    opacity: 100%;
}

.icon {
    height: 2rem;
    width: 2rem;
    margin-right: 1rem;
    color: #3772c5;
}

.toast .notice {
    color: #3772c5;
    font-size: 15px;
    font-weight: bold;
}

/* End Custom Toast */

.datatable_container {
    padding-bottom: 50px;
    overflow-x: scroll;
}

.datatable_container>.dataTables_wrapper {
    min-width: 1600px;
    width: 100%;
}

.flex_center {
    display: flex;
    align-items: center;
}

.group_detail_part {
    display: none;
}

.group_detail_part.active {
    display: block;
}

#div_editor1 {
    min-height: 70vh;
}

.textarea_action_btns button {
    float: right;
    margin-top: 30px;
    margin-left: 25px;
}

.textarea_action_btns button.cancel {
    background: rgb(126, 125, 125);
}

.preview_img {
    max-height: 100px;
    height: auto;
}

.preview_img_container {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

#prev_img_container,
.prev_item {
    position: relative;
}

#prev_img_container span {
    display: none;
    transform: rotate(45deg);
    position: absolute;
    right: -9px;
    top: -9px;
    z-index: 1;
    cursor: pointer;
    color: black;
    font-weight: 600;
    font-size: 28px;
    width: 15px;
    height: 15px;
    align-items: center;
    justify-content: center;
    border: solid 1px rgb(155, 155, 155);
    border-radius: 50%;
    padding: 1px;
    background: #fff;
}

.remove_file {
    display: flex;
    transform: rotate(45deg);
    position: absolute;
    right: -9px;
    top: -9px;
    z-index: 1;
    cursor: pointer;
    color: black;
    font-weight: 600;
    font-size: 28px;
    width: 15px;
    height: 15px;
    align-items: center;
    justify-content: center;
    border: solid 1px rgb(155, 155, 155);
    border-radius: 50%;
    padding: 1px;
    background: #fff;
}

.preview_img_container #prev_img_container.active span {
    display: flex;
}



.preview_img_container div.active,
.prev_item {
    margin-top: 25px;
    border: solid 1px #ccc;
    border-radius: 3px;
    padding: 3px;
}

.news_thumb {
    max-width: 90px;
}

.page_button_groups {
    display: flex;
    align-items: center;
}

.page_action {
    border-radius: 10px;
    width: fit-content;
    height: fit-content;
    padding: 10px 20px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: unset;
    margin-right: 20px;
}

.page_button_groups a.active {
    background-color: #76c8de;
    color: white;
}

.period_option_container {
    display: flex;
    align-items: center;
    margin: 30px 0;
}

.period_option_container select,
.period_option_container input {
    width: fit-content;
    font-size: 16px;
}

.period_option_container label {
    font-size: 20px;
    font-weight: 600;
    margin-left: 40px;
    margin-right: 15px;
}

.period_option_container span {
    font-size: 26px;
    font-weight: 600;
    margin: 0 15px;
}

.period_option_container button {
    margin-left: 20px;
}

#yoyaku_table.log_table th,
#yoyaku_table.log_table td {
    text-align: center;
}

.log_table {
    margin-top: 50px !important;
}

#yoyaku_table.log_table tbody tr:last-of-type td,
#yoyaku_table.log_table tbody tr:last-of-type {
    border-bottom: solid 1px #ccc !important;
}

input.errors {
    border: solid 1px #ea5c70;
}

.danger {
    color: red;
}

.c_submit.lovely_btn [type=submit] {
    width: fit-content;
    padding: 2px 15px;
}

.twocol.center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.twocol .c_roundblc.mx_520 {
    max-width: 520px;
}

.inputblc>label {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: rgb(151, 149, 149);
    padding-left: 40px;
}


#snackbar {
    visibility: hidden;
    min-width: 250px;
    margin-left: -125px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    padding: 16px;
    position: fixed;
    z-index: 1;
    right: 50%;
    transform: translateX(50%);
    bottom: 200px;
    font-size: 17px;
}

#snackbar.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

.disabledContent {
    cursor: not-allowed;
    background-color: rgb(229, 229, 229) !important;
    pointer-events: none;
}

.kokainisho_deactive {
    display: none;
}

#yoyaku.dark {
    background-color: #db8e00;
}

.btn.not-allowed {
    background: #ddd;
    cursor: not-allowed;
}

@-webkit-keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 200px;
        opacity: 1;
    }
}

@keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 200px;
        opacity: 1;
    }
}

@-webkit-keyframes fadeout {
    from {
        bottom: 200px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

@keyframes fadeout {
    from {
        bottom: 200px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

@media(max-width: 764px) {
    .utily_login_btns_group {
        flex-direction: column;
        gap: 0;
    }

    .main-content .link-button.custom_btn {
        width: calc(100% - 40px);
    }

    .content_section h2 {
        font-size: 24px;
    }

    .yoyaku_form dt span {
        margin-right: 20px;
    }
}
