﻿:root {
    --mvtk-red-color: rgba(231, 20, 16);
    --mvtk-grey-color: rgba(102, 102, 102);
    --mvtk-blue-color: rgba(0, 91, 171);
    --mvtk-black-color: rgba(51, 48, 0);
}

.text-mvtk-red {
    color: var(--mvtk-red-color);
}

.bg-mvtk-red {
    background-color: var(--mvtk-red-color);
    border-color: var(--mvtk-red-color);
}

.col-form-label span.tag-danger {
    display: inline-block;
    color: #fff;
    background-color: var(--mvtk-red-color);
    padding: 0.25em 0.4em;
    margin-left: 2px;
    font-size: 75%;
    font-weight: bold;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
}

.text-notice {
    font-size: 0.9rem !important;
    font-weight: bold;
    color: var(--mvtk-grey-color) !important;
}

.terms-box {
    height: 350px;
    overflow-y: auto;
}

.table-footer {
    border-top-width: 2px !important;
    border-color: #dee2e6;
}

/* 
    共通画面スタイル
*/
.complete-icon {
    font-size: 4rem;
    color: #198754;
}

.warning-icon {
    font-size: 4rem;
    color: #ffc107;
}

.error-icon {
    font-size: 4rem;
    color: var(--mvtk-red-color);
}

.mvtk-box {
    max-width: 600px;
    margin: 100px auto;
    padding: 40px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    text-align: center;
}

.mvtk-title {
    font-size: 1.75rem;
    font-weight: bold;
    margin-top: 20px;
}

.mvtk-message {
    font-size: 1.1rem;
    margin-top: 10px;
    color: rgba(220, 53, 69, 1);
}

.mvtk-hint {
    color: #6c757d;
    font-size: 0.95rem;
    margin-top: 8px;
}

/* Title styles
-------------------------------------------------- */
.mw-title {
    position: relative;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e5e5e5;
    font-size: 1.8rem;
}

/* Section styles
-------------------------------------------------- */
.mw-section {
    background-color: #f5f5f5;
    position: relative;
    padding-top: 1rem;
    padding-bottom: 1rem;
    margin-bottom: .9rem;
    /*border-bottom: 2px solid #e5e5e5;*/
    font-size: 1.2rem;
    font-weight: bold;
}

/* Step styles
-------------------------------------------------- */
.step-box {
    /*border: 2px solid #e5e5e5;*/
}

.step {
    position: relative;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

    .step li {
        position: relative;
        list-style-type: none;
        text-align: center;
        text-transform: uppercase;
        width: 33.333%;
        color: #999999;
        font-weight: bold;
        counter-increment: steps;
    }

        .step li:before {
            display: block;
            width: 40px;
            height: 40px;
            margin: 7px auto 10px auto;
            content: '';
            line-height: 40px;
            font-size: 1rem;
            text-align: center;
            border-radius: 50%;
            background-color: #F5F5F5;
            content: counter(steps);
        }

        .step li:after {
            position: absolute;
            z-index: -1;
            top: 28px;
            left: -50%;
            width: 100%;
            height: 2px;
            content: '';
            background-color: #F5F5F5;
        }

        .step li:first-child:after {
            content: none;
        }

        .step li.active,
        .step li.complete {
            color: var(--mvtk-black-color);
        }

            .step li.active:before,
            .step li.complete:before {
                background-color: var(--mvtk-black-color);
                color: #FFF;
            }

            .step li.active:after,
            .step li.complete:after {
                background-color: var(--mvtk-black-color);
            }

/* Tag styles
-------------------------------------------------- */
.tag-required {
    position: relative;
}

    .tag-required::after {
        content: "必須";
        display: inline-block;
        color: #fff;
        background-color: var(--mvtk-red-color);
        padding: 0.25em 0.4em;
        margin-left: 2px;
        font-size: 75%;
        font-weight: bold;
        line-height: 1;
        color: #fff;
        text-align: center;
        white-space: nowrap;
        vertical-align: baseline;
        border-radius: 0.25rem;
    }

/* Notice styles
-------------------------------------------------- */
.notice {
    font-size: 0.8rem !important;
    font-weight: bold;
    color: var(--mvtk-grey-color) !important;
}

    .notice::before {
        content: "※";
        font-weight: bold;
    }

/* Border styles
-------------------------------------------------- */
.hr-bold {
    border-top: 2px solid #e5e5e5;
    opacity: unset;
}
