html{
    font-size: 62.5%;
}
body{
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue","游ゴシック Medium","Yu Gothic",YuGothic,YuGothicMedium,"Hiragino Kaku Gothic ProN",Meiryo,sans-serif;
    /* font-family:  "Hiragino Sans W3", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3","Yu Gothic","游ゴシック Medium","メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;  */
    font-size: 1.4rem;
    font-weight: 500;
    /* line-height: 1.7; */
    padding-top: 105px;
}
/* kenbun start 2025/9/5 ドラッグ動作を行う時に一時的にクラスを付与して選択状態を防ぐ */
body.dragging,
body.dragging * {
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}
/* kenbun end 2025/9/5 */

/*
.btn{
    padding: 0.5rem;
}*/

.btn-lg{
    padding: 1rem ;
}

header{
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1050;
}

.footer-bg{
    background-color: #e9ecef !important;
}
footer a{
   color:#0099ff;
   font-size: 1.1rem;
}
.copy-right{
    font-size: 1.1rem;
}

.nonfield.errorlist {
    color:red;
}

.errorlist {
    color:red;
}


.table {
    font-size: 1.2rem;
}


.form-control{
  font-size: 1.2rem;
}

/* リードオンリーのselectを選択できないようにする */
/*
.disable-select{
    pointer-events: none;
}
*/
input[readonly]{
    background-color: #E9ECEF80;
}
select[readonly]{
    pointer-events: none;
}
/* チェック自体にしか効かない*/
input[type="checkbox"][readonly]{
    pointer-events: none;
}
input[type="checkbox"][readonly] ~ label{
    pointer-events: none;
}
/** IE11ではfieldset disabledが効かないため */
fieldset[disabled]{
    pointer-events: none;
}

.navbar{
    display: flex;
    font-family: "Meiryo";
    margin-bottom: 1px;
}
.navbar-brand{
    font-size: 20px;
}
.navbar-nav{
    font-size: 15px;
}
.navbar .megamenu{
    padding: 1rem 2rem 1rem;
    background-color: white;
    border-color: #7dcea7;
    color: #7dcea7;
    font-size: 15px;
}
.navbar .megamenu li{
    margin-left: 24px;
    list-style: circle;
    color: #3399FF;
}
.navbar .megamenu a{
    color: #3399FF;
}
.navbar .col-megamenu{
    padding-bottom: 20px;
}
nav.navbar {
    background-color: #bbbbbb !important;
}
a.nav-link.header-menu {
    color: rgba(255, 255, 255, 1.0) !important;
}
a.nav-link.header-menu:hover {
    color: rgba(255, 255, 255, 0.5) !important;
}

.dropdown-menu{
    background-color: #7dcea7;
    color: #fff;
}
.dropdown-item{
    color: #fff;
}
/* kenbun start 2025/7/1 学校向けメニュー */
.school-menu {
    position: relative;
    display: grid;
    width: 100%;
    overflow: hidden;
    touch-action: pan-y;
}
.scroll-content {
    width: 100%;
    display: flex;
    transition: transform 0.2s ease;
    gap: 25px;
}
@media(min-width: 767px){
    .school-menu {
        width: auto;
    }
}
.scroll-button {
    display: none;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.3);
    color: #fff;
    border: none;
    padding: 0px;
    width: 15px;
    height: 100%;
    z-index: 1;
    border-radius: 5px;
}
.scroll-button.left {
    left: 0;
}
.scroll-button.right {
    right: 0;
}
.scroll-button:hover {
    background-color: rgba(0, 0, 0, 0.5);
}
.icon-menu {
    text-wrap: nowrap;
    white-space: nowrap;
    font-size: 13px;
    color: #fff;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    padding-top: 4px;
}
.icon-menu:hover {
    color: #fff;
    text-decoration: none;
    background-color: #aaaaaa;
}
.icon-badge {
    top: 4px;
    right: 0px;
    color: white;
}
.four-letter-space {
    letter-spacing: 3px;
}
.six-letter-space {
    letter-spacing: -1px;
}
.message-box {
    display: flex;
    flex-direction: column-reverse;
    position: fixed;
    bottom: 20px;
    left: 20px;
    height: calc(100vh - 40px);
    width: 300px;
    pointer-events: none; /* 背後のボタンなどが反応するように */
}
.message-box div {
    position: relative;
    margin-top: 15px;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.slide-left {
    transform: translateX(-100%);
    opacity: 0;
    transition: all 1s ease;
}
/* flatpickr 土日祝の色(日曜はじまり) 2025/8/27 add */
.flatpickr-weekday:nth-child(1) {
    color: rgba(255, 0, 0, 0.6);
}
.flatpickr-weekday:nth-child(7) {
    color: rgba(0, 0, 255, 0.6);
}
.flatpickr-day.saturday:not(.selected) {
    color: rgb(0, 0, 255);
}
.flatpickr-day.prevMonthDay.saturday:not(.selected),
.flatpickr-day.nextMonthDay.saturday:not(.selected) {
    color: rgba(0, 0, 255, 0.2);
}
.flatpickr-day.sunday:not(.selected),
.flatpickr-day.jp-holiday:not(.selected) {
    color: rgb(255, 0, 0);
}
.flatpickr-day.prevMonthDay.sunday:not(.selected),
.flatpickr-day.nextMonthDay.sunday:not(.selected),
.flatpickr-day.prevMonthDay.jp-holiday:not(.selected),
.flatpickr-day.nextMonthDay.jp-holiday:not(.selected) {
    color: rgba(255, 0, 0, 0.2);
}
/* kenbun end 2025/7/1 */

.modal-content{
    border-width: 0px !important;  
}
.modal-header{
    align-items: center;
    background-color: #59c18f !important;
    color: #fff !important;
    padding: 12px 16px 12px;
    font-size: 1.6rem;
}
.modal-body{
    padding: 8px 5px 0px !important;
}
.close{
    color: #fff !important;
    text-shadow: none !important;
    font-size: 2.8rem;
    font-weight: 400;
}

.notice{
    overflow:auto !important;
    font-family: "Meiryo";
    font-weight: 400;
}
.notice tr{
    color: #093145 !important;
}
.notice tr td:nth-of-type(1){
    width: 150px;
}
.notice tr td a{
    color: #107896 !important;
}
.notice table{
    width: 100% !important;
    border-style: none none solid;
    border-color: #d0d0d0 !important;
    border-width: 1px;
}
.notice table footer{
    border-style: none !important;
}
.notice thead{
    display: none;
}

.badge-parent >.badge-notify{
    background:#dc3545;
    color: rgba(255, 255, 255, 0.8);
    position:relative;
    top: 7px;
    left: -12px;
    margin-right: -20px;
    height: 18px;
    width: 18px;
    border-radius: 9px;
    text-align: center;
}
.badge-new{
    margin-left: 10px !important;
    font-family: "Meiryo";
}

.table-striped tbody tr:nth-of-type(odd){
    background: none !important;
}
.table-striped tbody tr:nth-of-type(even){
    background: #f5f5f5 !important;
}
.table-hover tbody tr:hover td{
    background:#e6e6fa !important;
}
.table-bordered tbody tr td{
    border-style: none !important;
}

.breadcrumb{
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    /* padding: 1rem 1rem 0.4rem; */
    margin-bottom: 1rem;
    /* margin-top: -20px; */
    list-style: none;
    background-color: #e0e0e0;
    font-size: 15px;
}

.nav-container{
    margin-bottom: 10px;
}

div.col{
    position: static;
}

div.alert{
    position: static;
}

div.card{
    position: static;
}

::placeholder {
    color: #bbbbbb !important;
}

@media all and (min-width: 992px){
    .notice-dialog{
        max-width: 80% !important;
        /* margin-right: 5% !important; */
    }
}
@media(max-width: 991px){
    .notice-dialog{
        max-width: 98% !important;
        align-items: center !important;
    }
}
@media(min-width: 767px){
    .navbar .has-megamenu{
        position: static!important;
    }
    .navbar .megamenu{
        left: 0;
        right: 0;
        width: 100%;
        margin-top: 0;
    }
}
@media screen and (max-width: 767px){
.dataTables_wrapper .dataTables_info, .dataTables_wrapper .dataTables_paginate{
        float: none;
        text-align: right !important;
    }
}