/* ローディング用の全画面オーバーレイ */
#loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    visibility: hidden;
}

/* スピナー（例：CSSだけで作る単純な回転アイコン） */
#loading .spinner {
    width: 50px; height: 50px;
    border: 6px solid #ccc;
    border-top-color: #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.toast {
    width: 100% !important;
}

.toast-top-right {
    left: 12px;
}

body#academic_application .go_home {
    width: fit-content;
    margin: 100px auto 0;
    padding: 0.6em 1.8em;
    border: 1px solid #f29f05;
    border-radius: 6px;
    font-size: 24px;
    text-align: center;
}

body#admin_site .go_home {
    width: fit-content;
    margin: 100px auto 0;
    padding: 0.6em 1.8em;
    border: 1px solid #f29f05;
    border-radius: 6px;
    font-size: 24px;
    text-align: center;
}

.no_decoration_link {
    text-decoration: none;
    color: #f29f05;
}

.d-none {
    display: none;
}

.inactive {
    pointer-events: none;
    filter: grayscale(1);
    opacity: 0.6;
}

.input_error {
    display: block;
    margin-top: 0.5em;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4em;
    color: #f26241
}

.bg_error {
    background-color: #f26241;
    color: #fff;
}

.has_error {
    margin-bottom: 20px;
    font-size: 26px;
    font-weight: 500;
    color: #f26241;
}

.text_red {
    color: #f26241;
}

.text-black {
  color: #000 !important;
}

.btn_disabled {
    pointer-events: none;
    filter: saturate(0%);
    opacity: 0.6;
    color: #f29f05;
    border: #f29f05;
    background-color: #fff;
}

.btn-back {
    color: #f29f05;
    border: 2px solid #f29f05;
    background-color: #fff;
    padding: 0.5em 3em;
    font-size: 24px;
    font-weight: 700;
    border-radius: 6px;
    text-decoration: none;
    text-align: center;
    position: relative;
}

.icon_left {
    position: absolute;
    left: 0.5em;
    top: 50%;
    transform: translateY(-50%);
}

.d-flex {
    display: flex;
}

.justify-content-between {
    justify-content: space-between;
}

.text-bold {
    font-weight: bold;
}

tr.bg-red {
    background-color: #f26241 !important;
}
