* {
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
}

:root {
    font-size: 6px;
}

:root{
    --gzm-view_fill: #fff4ea;
    --gzm-view_color: #3b2433;
    --gzm-header_fill: #2b1a17;
    --gzm-header_rail: #e8492a;
}

header{
    background: var(--gzm-header_fill);
    border-bottom: solid 3px var(--gzm-header_rail);
}

main {
    min-height: calc(100vh - 22rem);
    position: relative;
}

.gzm-frame {
    width: 100%;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.gzm-leave {
    min-height: calc(100vh - 35rem);
    position: relative;
}

.gzm-masthead-strip-law {
    padding-bottom: 3rem;
}

.gzm-law-main-part {
    padding: 2rem 2rem;
}

.gzm-law-sect {
    padding-bottom: 2rem;
}

.gzm-law-sect:last-child {
    border-bottom: none;
    margin-bottom: 2rem;
}

.gzm-law-sect-title {
    font-size: 2.8rem;
    font-weight: 900;
    color: #e8492a;
    margin-bottom: 2rem;
    text-align: left;
}

.gzm-law-sect-txt {
    font-size: 2.2rem;
    line-height: 1.6;
    color: #6b4e55;
    font-weight: 400;
    text-align: left;
}

.gzm-law-sect-txt strong {
    color: #e8492a;
}

.gzm-law-brand {
    font-weight: 900;
    color: #e8492a;
}

.gzm-cats-box {
    padding: 2rem 0;
}

a {
    color: #e8492a;
    font-weight: 700;
}


ol[type="i"] {
    list-style-type: decimal !important;
}

.gzm-rules-view .gzm-cats {
    padding-bottom: 10rem;
    min-height: 80vh;
}

.gzm-rules-view .gzm-card-hold {
    padding: 2rem;
}

.gzm-rules-view .gzm-card-hold h2 {
    font-size: 3rem;
    font-weight: 900;
    color: #e8492a;
    margin: 4rem 0 2rem 0;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e8492a;
}

.gzm-rules-view .gzm-card-hold h2:first-child {
    margin-top: 2rem;
}



.gzm-rules-view .gzm-card-hold p {
    font-size: 2.2rem;
    line-height: 1.7;
    color: #6b4e55;
    margin-bottom: 2.5rem;
}


.gzm-rules-view .gzm-card-hold ul,
.gzm-rules-view .gzm-card-hold ol {
    margin: 2rem 0;
    padding-left: 4rem;
}

.gzm-rules-view .gzm-card-hold li {
    font-size: 2.2rem;
    line-height: 1.6;
    color: #6b4e55;
    margin-bottom: 1.5rem;
    text-align: left;
}

.gzm-rules-view .gzm-card-hold a {
    color: #e8492a;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.gzm-rules-view .gzm-card-hold a:hover {
    color: #b83a1d;
    text-decoration: underline;
}

.gzm-rules-view .gzm-card-hold strong {
    font-weight: 900;
    color: #e8492a;
}


.gzm-rules-view .gzm-card-hold ul {
    list-style-type: disc;
}

.gzm-rules-view .gzm-card-hold ol {
    list-style-type: decimal;
}

.gzm-rules-view .gzm-card-hold ol[type="i"] {
    list-style-type: lower-roman;
}


.gzm-rules-view .gzm-card-hold li p {
    margin: 1rem 0;
}


.gzm-rules-view .gzm-card-hold>p:first-of-type {
    font-weight: 600;
    color: #3b2433;
    background: #ffe4d6;
    padding: 2rem;
    border-radius: 1rem;
    border-left: 4px solid #e8492a;
}

.gzm-dedicated {
    font-weight: 600;
    color: #3b2433;
    background: #ffe4d6;
    padding: 2rem;
    border-radius: 1rem;
    border-left: 4px solid #e8492a;
    margin-bottom: 1rem;
}

.gzm-own-items dt {
    font-weight: bold;
    margin-bottom: 4px;
    font-size: 2.4rem;
    line-height: 1.7;
    color: #e8492a;
}

.gzm-own-items dd {
    margin-left: 0;
    margin-bottom: 20px;
    color: #6b4e55;
    font-size: 2rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.gzm-rules-view .gzm-card-hold .gzm-dedicated p {
    margin-bottom: 0rem;
}


.gzm-leave-form {
    max-width: 50rem;
    margin: 4rem auto;
    padding: 0 2rem;
}

.gzm-leave-form-hold {
    background: white;
    padding: 3rem;
    border-radius: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.gzm-leave-form-set {
    margin-bottom: 3rem;
}

.gzm-leave-form-caption {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #3b2433;
    margin-bottom: 1rem;
}

.gzm-leave-form-field {
    width: 100%;
    padding: 1.5rem 2rem;
    font-size: 1.8rem;
    border: 2px solid #ead6cc;
    border-radius: 1rem;
    background: white;
    transition: border-color 0.3s ease;
}

.gzm-leave-form-field:focus {
    outline: none;
    border-color: #e8492a;
}

.gzm-leave-form-field.gzm-fail {
    border-color: #d93636;
}

.gzm-leave-form-fail {
    color: #d93636;
    font-size: 1.4rem;
    margin-top: 0.5rem;
    min-height: 1.6rem;
}

.gzm-leave-form-tick-caption {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 1.6rem;
    color: #3b2433;
    line-height: 1.4;
}

.gzm-leave-form-tick-caption input {
    display: none;
}

.gzm-leave-form-tick-own {
    width: 2rem;
    height: 2rem;
    border: 2px solid #ead6cc;
    border-radius: 0.3rem;
    margin-right: 1rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
    position: relative;
    transition: all 0.3s ease;
}

.gzm-leave-form-tick-own::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 1rem;
    height: 1rem;
    background: #e8492a;
    border-radius: 0.1rem;
    transition: transform 0.3s ease;
}

.gzm-leave-form-tick-caption input:checked+.gzm-leave-form-tick-own {
    border-color: #e8492a;
}

.gzm-leave-form-tick-caption input:checked+.gzm-leave-form-tick-own::after {
    transform: translate(-50%, -50%) scale(1);
}

.gzm-leave-form-tick-txt {
    flex: 1;
}

.gzm-leave-submit {
    width: 100%;
    padding: 2rem;
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(180deg, #e8492a, #f5862f);
    box-shadow: 0 5px 0 #b9361a;
    color: white;
    border: none;
    border-radius: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gzm-leave-submit:hover {
    background: linear-gradient(180deg, #ff7448, #ffa04d);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(232, 73, 42, 0.3);
}

.gzm-leave-form-note-msg {
    display: none;
}

.gzm-leave-form-ok {
    background: white;
    padding: 4rem 3rem;
    border-radius: 2rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.gzm-leave-form-ok h3 {
    font-size: 2.4rem;
    font-weight: 700;
    color: #3b2433;
    margin-bottom: 1.5rem;
}

.gzm-leave-form-ok p {
    font-size: 1.8rem;
    color: #6b4e55;
    line-height: 1.5;
}

@media (max-width: 480px) {
    .gzm-leave-form {
        margin: 3rem auto;
        padding: 0 1rem;
    }

    .gzm-leave-form-hold {
        padding: 2rem;
    }

    .gzm-leave-form-ok {
        padding: 3rem 2rem;
    }

    .gzm-leave-form-ok h3 {
        font-size: 2rem;
    }

    .gzm-leave-form-ok p {
        font-size: 1.6rem;
    }
}


@media (max-width: 480px) {
    .gzm-rules-view .gzm-card-hold {
        padding: 1rem;
    }

    .gzm-rules-view .gzm-card-hold h2 {
        font-size: 2.6rem;
    }

    .gzm-rules-view .gzm-card-hold p,
    .gzm-rules-view .gzm-card-hold li {
        font-size: 2rem;
    }

    .gzm-rules-view .gzm-card-hold ul,
    .gzm-rules-view .gzm-card-hold ol {
        padding-left: 3rem;
    }
}


@media (max-width: 350px) {
    .gzm-rules-view .gzm-card-hold h2 {
        font-size: 2.4rem;
    }

    .gzm-rules-view .gzm-card-hold p,
    .gzm-rules-view .gzm-card-hold li {
        font-size: 1.8rem;
    }
}


@media (max-width: 300px) {
    :root {
        font-size: 1.5vw;
    }
}

@media (min-width: 350px) {
    :root {
        font-size: 6px;
    }
}

@media (min-width: 400px) {
    :root {
        font-size: 7px;
    }
}

@media (min-width: 500px) {
    :root {
        font-size: 8px;
    }
}

@media (min-width: 550px) {
    :root {
        font-size: 8px;
    }
}

@media (min-width: 640px) {
    :root {
        font-size: 8px;
    }
}


.gzm-leave-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gzm-leave-modal.hidden {
    display: none;
}

.gzm-leave-modal-veil {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.gzm-leave-modal-main-part {
    position: relative;
    background: white;
    padding: 4rem 3rem;
    border-radius: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 40rem;
    width: 90%;
    animation: modalAppear 0.4s ease-out;
}

@keyframes modalAppear {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.gzm-leave-modal-close {
    margin-top: 2rem;
    padding: 2rem 5rem;
    background: linear-gradient(180deg, #e8492a, #f5862f);
    box-shadow: 0 5px 0 #b9361a;
    color: white;
    border: none;
    border-radius: 1rem;
    font-size: 1.6rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gzm-leave-modal-close:hover {
    background: #b83a1d;
    transform: translateY(-2px);
}


.gzm-leave-modal-main-part .gzm-ok-icon {
    width: 6rem;
    height: 6rem;
    background: #4AAB54;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: bold;
    margin: 0 auto 2rem;
    animation: bounce 0.6s ease-in-out;
}

.gzm-leave-modal-main-part .gzm-fail-icon{
    width: 6rem;
    height: 6rem;
    background: #ab514a;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: bold;
    margin: 0 auto 2rem;
    animation: bounce 0.6s ease-in-out;  
}

.gzm-leave-modal-main-part h3 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #3b2433;
    margin-bottom: 1.5rem;
}

.gzm-leave-modal-main-part p {
    font-size: 2rem;
    color: #6b4e55;
    line-height: 1.5;
}

.gzm-leave-form-hold.hidden {
    opacity: 0;
    pointer-events: none;
    position: relative;
}

.gzm-law-buttons {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem;
    max-width: 50rem;
    margin: 0 auto;
}

.gzm-law-btn {
    display: block;
    padding: 3rem 2rem;
    font-size: 2.2rem;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    color: white;
    background: linear-gradient(135deg, #e8492a, #b83a1d);
    border-radius: 1.5rem;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(232, 73, 42, 0.3);
    position: relative;
    overflow: hidden;
}

.gzm-law-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.gzm-law-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(232, 73, 42, 0.5);
    background: linear-gradient(135deg, #b83a1d, #8f2a12);
    border-color: white;
}

.gzm-law-btn:hover::before {
    left: 100%;
}

.gzm-law-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(232, 73, 42, 0.4);
}

@media (max-width: 768px) {
    .gzm-law-buttons {
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .gzm-law-btn {
        padding: 2.5rem 1.5rem;
        font-size: 2rem;
    }
}

.gzm-field-txt {
    direction: rtl;
    text-align: right;
    padding: 2rem;
}

.gzm-field-txt a {
    color: #e8492a;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.gzm-field-txt h2 {
    font-size: 3rem;
    font-weight: 900;
    color: #e8492a;
    margin: 4rem 0 2rem 0;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e8492a;
}

.gzm-field-txt ol {
    margin-left: 0;
    padding-right: 0;
    padding-left: 0;
}

.gzm-field-txt ol li {
    position: relative;
    counter-increment: step-counter;
    line-height: 25px;
    padding-left: 20px;
    font-style: italic;
    font-size: 16px;
}

.gzm-field-txt p {
    margin-bottom: 0.11in;
    line-height: 108%;
    font-size: 2.2rem;
    color: #6b4e55;
}

.gzm-law-main-part ol {
    margin: 1.5rem 0 1.5rem 2rem;
    padding-left: 2rem;
    list-style-type: decimal;
}

.gzm-law-main-part ol li {
    font-size: 2.2rem;
    line-height: 1.6;
    color: #6b4e55;
    margin-bottom: 1rem;
    font-weight: 400;
    text-align: left;
}

.gzm-law-main-part ul {
    margin: 1.5rem 0 1.5rem 2rem;
    padding-left: 2rem;
    list-style-type: disc;
}

.gzm-law-main-part ul li {
    font-size: 2.2rem;
    line-height: 1.6;
    color: #6b4e55;
    margin-bottom: 1rem;
    font-weight: 400;
    text-align: left;
}

@media (max-width: 400px) {
    .gzm-base-logo {
        width: 14rem;
    }
}

.gzm-masthead-navi-btn .gzm-masthead-navi-bar {
    background-color: #ffffff;
}

.gzm-cats-box {
    padding: 2rem 0;
}

.gzm-cats-title {
    font-size: 4rem;
    text-align: center;
    font-weight: 300;
    margin-bottom: 1rem;
}

.gzm-cats-brand {
    font-weight: 900;
    color: #e8492a;
}

h1, h2, h3 {
    margin: 0;
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0;
    margin-inline-end: 0;
}