#ml-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#ml-loader-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

/* サークル */
#ml-loader-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 160px;
    height: 160px;
}

#ml-loader-ring circle {
    fill: none;
    stroke: rgba(201, 168, 76, 0.12);
    stroke-width: 0.5;
}

#ml-loader-ring .ml-prog {
    stroke: rgba(201, 168, 76, 0.6);
    stroke-width: 0.5;
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
    transition: stroke-dashoffset 2.5s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
}

#ml-loader-ring .ml-prog.show {
    stroke-dashoffset: 0;
}

/* カウンター */
#ml-loader-num {
    font-size: 56px;
    color: #c9a84c;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 200;
    letter-spacing: -0.02em;
    opacity: 0;
    transition: opacity 0.4s ease 0.2s;
    position: relative;
    z-index: 1;
    line-height: 1;
}

#ml-loader-num.show {
    opacity: 1;
}

/* ロゴ */
#ml-loader-logo {
    font-size: 11px;
    letter-spacing: 0.5em;
    color: rgba(255, 255, 255, 0);
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 300;
    margin-top: 12px;
    position: relative;
    z-index: 1;
    transition: color 0.6s ease 0.4s;
}

#ml-loader-logo.show {
    color: #fff;
}

#ml-loader-overlay {
    position: absolute;
    inset: 0;
    background: #000;
    z-index: 1;
    pointer-events: none;
}

#ml-loader-overlay.hide {
    transform: translateY(-100%);
    transition: transform 0.8s cubic-bezier(0.76, 0, 0.24, 1);
}
