﻿#agreement-modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .5);
    overflow: hidden;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 32px;
    box-sizing: border-box;
}

.agreement-panel {
    width: 90%;
    max-width: 1016px;
    margin: 0;
    background: #fff;
    text-align: center;
    border-radius: 4px;
    transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1);
    color: rgba(0, 0, 0, 0.87);
    background-color: rgb(255, 255, 255);
    background-image: var(--Paper-overlay);
    box-shadow: var(--Paper-shadow);
    overflow-y: auto;
    position: relative;
    max-height: 100%;
    box-sizing: border-box;
    flex-direction: column;
    display: flex;
    outline: 0px;
    --Paper-shadow: 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12);
    opacity: 1;
    transition: opacity 225ms cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
}

    .agreement-panel h1 {
        margin: 0 0;
        text-align: center;
    }

    .agreement-panel h2 {
        font-size: 20px;
        text-align: center;
    }

    .agreement-panel p {
        margin: 0;
        line-height: 1.6;
        text-align: left;
    }

.agreement-main {
    flex: 1 1 auto;
    display: flex;
    min-height: 0;
    padding: 20px 24px;
}

.agreement-main-content {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    margin: 0px;
    font-size: 1rem;
    line-height: 1;
    font-family: Meiryo, "Hiragino Kaku Gothic ProN", sans-serif;
    font-weight: 400;
    color: rgb(32, 33, 36);
}

.agreement-main-content-row {
    margin: 0px;
    font-size: 1rem;
    line-height: 1;
    font-family: Meiryo, "Hiragino Kaku Gothic ProN", sans-serif;
    font-weight: 400;
    color: #363636;
}

.agreement-main-content-row--bottom {
    padding-bottom: 16px;
}

.agreement-panel .agreement-warning {
    color: #ff0000;
}

.agreement-panel .agreement-button {
    text-align: center;
}

.agreement-terms {
    width: 100%;
    height: 360px;
    border: 1px solid #ccc;
}

.agreement-title {
    color: rgb(95, 99, 104);
    text-align: center;
    font-weight: 600;
    padding: 16px 24px;
    flex: 0 0 auto;
    font-family: Meiryo, "Hiragino Kaku Gothic ProN", sans-serif;
    font-size: 1.25rem;
    line-height: 1.6;
    margin: 0px;
}

.agreement-button {
    padding: 16px 24px;
    text-align: center;
    display: block;
}

.agreement-button-ok {
    width: 92px;
    height: 40px;
    padding: 0 14px;
    color: #fff;
    background-color: #0078c8;
    border: 0;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .25);
    cursor: pointer;
    border-radius: 4px;
    display: inline-flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    position: relative;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    outline: 0px;
    margin: 0px;
    cursor: pointer;
    user-select: none;
    vertical-align: middle;
    appearance: none;
    text-decoration: none;
    font-family: Meiryo, "Hiragino Kaku Gothic ProN", sans-serif;
    font-weight: 500;
    font-size: 0.875rem;
    line-height: 1.75;
    text-transform: uppercase;
    min-width: 64px;
    border-width: 0px;
    border-style: none;
    border-color: currentcolor;
    border-image: none;
    color: var(--variant-containedColor);
    background-color: var(--variant-containedBg);
    box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 1px -2px, rgba(0, 0, 0, 0.14) 0px 2px 2px 0px, rgba(0, 0, 0, 0.12) 0px 1px 5px 0px;
    --variant-textColor: #0074c2;
    --variant-outlinedColor: #0074c2;
    --variant-outlinedBorder: rgba(0, 116, 194, 0.5);
    --variant-containedColor: #fff;
    --variant-containedBg: #0074c2;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1), border-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
    text-transform: none;
}

    .agreement-button-ok:hover {
        background-color: #0455a0;
    }

    .agreement-button-ok:disabled {
        color: #C0C0C0;
        background-color: #E0E0E0;
        cursor: default;
        box-shadow: none;
    }

.agreement-check {
    display: inherit;
    margin-right: 8px;
    margin-left: -4px;
}

.agreement-check-icon {
    user-select: none;
    width: 1em;
    height: 1em;
    display: inline-block;
    flex-shrink: 0;
    transition: fill 200ms cubic-bezier(0.4, 0, 0.2, 1);
    fill: currentcolor;
    font-size: 1.5rem;
    width: 1.5rem;
    height: 1.5rem;
}

    .agreement-check-icon > :nth-of-type(1) {
        font-size: 20px;
    }

.txt-nowrap {
    white-space: nowrap;
}