#nece-alert {
    width: 100%;
    background-color: var(--front_color1);
    color: var(--second_font_color);
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    text-align: center;
}

.nece-badge {
    z-index: 9;
    transform: translate(-50%, -50%);
    padding: 4px;
    color: #fff;
    border-radius: 50%;
    height: 24px;
    width: 24px;
    font-size: 12px;
    text-align: center;
    vertical-align: middle;
}

.nav-link:not(.active) .icon i {
    color: var(--admin_color3) !important;
}

.preview-image-wrap {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    justify-content: space-between;
    align-items: center;
}

.preview-image-wrap .default-area,
.preview-image-wrap .preview-area:not(span) {
    width: 45%;
}

@media (max-width:768px) {
    .preview-image-wrap {
        display: block;
    }

    .preview-image-wrap .default-area,
    .preview-image-wrap .preview-area:not(span) {
        display: block;
        width: 100%;
    }

    .preview-image-wrap span.preview-area {
        text-align: center;
        display: block;
        transform: rotate(90deg);
    }
}

/* プログレスバーのスタイル */
#progress-container {
    width: 100%;
    background-color: #f3f3f3;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 20px;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1030;
}

#progress-bar {
    width: 0%;
    height: 20px;
    background-color: #4caf50;
    text-align: center;
    color: white;
    line-height: 20px;
    font-size: 12px;
}

.nece-pc {
    display: block;
}

.nece-sp {
    display: none;
}

form label.required:after {
    content: "*";
    display: inline-block;
    color: var(--admin_color5);
    margin-left: 5px;
}


@media (max-width:768px) {
    .nece-pc {
        display: none;
    }

    .nece-sp {
        display: block;
    }
}

/* .nece-btn {
    color: #fff;
    padding: 5px 10px;
    border-radius: 6px;
    border: none;
} */

/* .nece-not-btn {
    border: none;
    background: transparent;
    color: var(--bs-dropdown-link-color);
} */

/* ページネーション */
.container-fluid nav[aria-label="Pagination Navigation"]>div:first-child {
    display: flex;
    width: 100%;
}

.container-fluid nav[aria-label="Pagination Navigation"]>div:nth-child(2)>:nth-child(2)>span {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    box-shadow: none !important;
}

.container-fluid nav[aria-label="Pagination Navigation"]>div:nth-child(2)>:nth-child(2)>span>a[aria-label="&laquo; Previous"],
.container-fluid nav[aria-label="Pagination Navigation"]>div:nth-child(2)>:nth-child(2)>span>a[aria-label="Next &raquo;"]> {
    width: 100%;
}

.container-fluid nav[aria-label="Pagination Navigation"]>div:nth-child(2)>:nth-child(2)>span>a[aria-label="&laquo; Previous"]>svg,
.container-fluid nav[aria-label="Pagination Navigation"]>div:nth-child(2)>:nth-child(2)>span>a[aria-label="Next &raquo;"]>svg {
    display: none;
}

.container-fluid nav[aria-label="Pagination Navigation"]>div:nth-child(2)>:nth-child(2)>span>a[aria-label="&laquo; Previous"]::after {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\3c";
}

.container-fluid nav[aria-label="Pagination Navigation"]>div:nth-child(2)>:nth-child(2)>span>a[aria-label="Next &raquo;"]::after {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\3e";
}

.container-fluid nav[aria-label="Pagination Navigation"]>div:nth-child(2)>:nth-child(2)>span>span:not([aria-label="&laquo; Previous"]):not([aria-label="Next &raquo;"])>span {
    color: #fff;
    background: #8392AB !important;
}

/* bootstrap上書き */
.table td,
.table th {
    border-top: 0;
}

/* .nece-color {
    color: var(--admin_color3) !important;
} */


/* ログイン画面 */
.page-login .page-header {
    display: block;
}

/* ログイン画面の波打つアニメーション */
.wave-container {
    position: relative;
    width: 100%;
    height: 250px;
    /* 高さを調整 */
    perspective: 800px;
    /* 3Dの視点を設定 */
    overflow: hidden;
}

.waves {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
}

.parallax>use {
    animation: move-forever 25s cubic-bezier(.55, .5, .45, .5) infinite;
}

/* 各波レイヤーのアニメーション遅延と速度を調整 */
.parallax>use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 7s;
}

.parallax>use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 10s;
}

.parallax>use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 13s;
}

.parallax>use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 20s;
}

/* 新しく追加する波レイヤー */
.parallax>use:nth-child(5) {
    animation-delay: -6s;
    animation-duration: 22s;
}

.parallax>use:nth-child(6) {
    animation-delay: -7s;
    animation-duration: 25s;
}

.parallax>use:nth-child(7) {
    animation-delay: -8s;
    animation-duration: 28s;
}

.parallax>use:nth-child(8) {
    animation-delay: -9s;
    animation-duration: 30s;
}

@keyframes move-forever {
    0% {
        transform: translate3d(-90px, 0, 0) scaleY(1);
    }

    50% {
        transform: translate3d(0, 0, 20px) scaleY(1.05);
        /* 中間で少し拡大とZ軸移動 */
    }

    100% {
        transform: translate3d(85px, 0, 0) scaleY(1);
    }
}

.waves path {
    transition: fill 0.3s ease;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .wave-container {
        height: 90px;
    }

    .waves {
        transform: rotateX(10deg);
    }
}