﻿.blocker {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    z-index: 1200;
    padding: 20px;
    box-sizing: border-box;
    background-color: #000;
    background-color: #fff;
    text-align: center
}

    .blocker:before {
        content: "";
        display: inline-block;
        height: 100%;
        vertical-align: middle;
        margin-right: -0.05em
    }

    .blocker.behind {
        background-color: transparent
    }
@media screen and (min-width: 630px) {
    #videodiv.modal {
        box-sizing: border-box;
        font-family: "museo-slab", "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif !important;
        font-style: normal;
        font-weight: 500;
        color: #262626;
        background: #d8e7f4;
        max-width: 1120px;
        margin: 0 auto;
        position: relative;
        border-radius: 1.5em;
        padding: 3em 10%;
        max-width: none;
        max-height: none;
        width:600px;
        height:420px;
    }

    #ex2.modal,#chatpop.modal {
        box-sizing: border-box;
        font-family: "museo-slab", "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif !important;
        font-style: normal;
        font-weight: 500;
        color: #262626;
        background: #d8e7f4;
        max-width: 1120px;
        margin: 0 auto;
        position: relative;
        border-radius: 1.5em;
        padding: 3em 10%;
        max-width: none;
        max-height: 100%;
    }
    #ex2-japan.modal {
        font-family: "museo-slab", "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif !important;
        font-style: normal;
        font-weight: 500;
        color: #262626;
        background: #d8e7f4;
        max-width: 1120px;
        margin: 0 auto;
        position: relative;
        padding: 3em 10%;
        max-width: none;
        max-height: 100%;
        box-shadow: none;
        width:auto;
        
    }
    .modal {
        display: none;
        vertical-align: middle;
        position: relative;
        z-index: 2;
        max-width: 600px;
        max-height: 530px;
        box-sizing: border-box;
        width: 90%;
        background: #fff;
        padding: 15px 30px;
        -webkit-border-radius: 8px;
        -moz-border-radius: 8px;
        -o-border-radius: 8px;
        -ms-border-radius: 8px;
        border-radius: 8px;
        -webkit-box-shadow: 0 0 10px #000;
        -moz-box-shadow: 0 0 10px #000;
        -o-box-shadow: 0 0 10px #000;
        -ms-box-shadow: 0 0 10px #000;
        box-shadow: 0 0 10px #000;
        text-align: left;
        background: #203864 /*#0e6aad;*/
    }

        .modal a.close-modal {
            position: absolute;
            top: -12.5px;
            right: -12.5px;
            display: block;
            width: 75px;
            height: 75px;
            text-indent: -9999px;
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center center;
            /*background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAAXNSR0IArs4c6QAAA3hJREFUaAXlm8+K00Acx7MiCIJH/yw+gA9g25O49SL4AO3Bp1jw5NvktC+wF88qevK4BU97EmzxUBCEolK/n5gp3W6TTJPfpNPNF37MNsl85/vN/DaTmU6PknC4K+pniqeKJ3k8UnkvDxXJzzy+q/yaxxeVHxW/FNHjgRSeKt4rFoplzaAuHHDBGR2eS9G54reirsmienDCTRt7xwsp+KAoEmt9nLaGitZxrBbPFNaGfPloGw2t4JVamSt8xYW6Dg1oCYo3Yv+rCGViV160oMkcd8SYKnYV1Nb1aEOjCe6L5ZOiLfF120EjWhuBu3YIZt1NQmujnk5F4MgOpURzLfAwOBSTmzp3fpDxuI/pabxpqOoz2r2HLAb0GMbZKlNV5/Hg9XJypguryA7lPF5KMdTZQzHjqxNPhWhzIuAruOl1eNqKEx1tSh5rfbxdw7mOxCq4qS68ZTjKS1YVvilu559vWvFHhh4rZrdyZ69Vmpgdj8fJbDZLJpNJ0uv1cnr/gjrUhQMuI+ANjyuwftQ0bbL6Erp0mM/ny8Fg4M3LtdRxgMtKl3jwmIHVxYXChFy94/Rmpa/pTbNUhstKV+4Rr8lLQ9KlUvJKLyG8yvQ2s9SBy1Jb7jV5a0yapfF6apaZLjLLcWtd4sNrmJUMHyM+1xibTjH82Zh01TNlhsrOhdKTe00uAzZQmN6+KW+sDa/JD2PSVQ873m29yf+1Q9VDzfEYlHi1G5LKBBWZbtEsHbFwb1oYDwr1ZiF/2bnCSg1OBE/pfr9/bWx26UxJL3ONPISOLKUvQza0LZUxSKyjpdTGa/vDEr25rddbMM0Q3O6Lx3rqFvU+x6UrRKQY7tyrZecmD9FODy8uLizTmilwNj0kraNcAJhOp5aGVwsAGD5VmJBrWWbJSgWT9zrzWepQF47RaGSiKfeGx6Szi3gzmX/HHbihwBser4B9UJYpFBNX4R6vTn3VQnez0SymnrHQMsRYGTr1dSk34ljRqS/EMd2pLQ8YBp3a1PLfcqCpo8gtHkZFHKkTX6fs3MY0blKnth66rKCnU0VRGu37ONrQaA4eZDFtWAu2fXj9zjFkxTBOo8F7t926gTp/83Kyzzcy2kZD6xiqxTYnHLRFm3vHiRSwNSjkz3hoIzo8lCKWUlg/YtGs7tObunDAZfpDLbfEI15zsEIY3U/x/gHHc/G1zltnAgAAAABJRU5ErkJggg==')
        */
            background-image: url(whitecirclecross.png)
        }

    #videodiv.modal a.close-modal, #ex2-japan.modal a.close-modal, #ex2.modal a.close-modal, #chatpop.modal a.close-modal {
        position: absolute;
        top: 10px;
        right: 10px;
        display: inline-block;
        background: #FFF;
        width: 50px;
        height: 50px;
        border-radius: 25em;
        padding: 0em;
        box-shadow: 0 0 20px #b1c1cf;
    }

        #videodiv.modal .close-modal::before, .modal .close-modal::after,
        #ex2-japan.modal #ex2.modal .close-modal::before, #chatpop.modal .close-modal::before, .modal .close-modal::after {
            content: "";
            position: absolute;
            top: 50%;
            left: 50%;
            width: 4px; /* 棒の幅（太さ） */
            height: 30px; /* 棒の高さ */
            background: #333;
        }

    #videodiv.modal .close-modal::before,
    #ex2.modal .close-modal::before,
    #chatpop.modal .close-modal::before {
        transform: translate(-50%, -50%) rotate(45deg);
    }

    #videodiv.modal .close-modal::after,
    #ex2.modal .close-modal::after,
    #chatpop.modal .close-modal::after {
        transform: translate(-50%, -50%) rotate(-45deg);
    }
    #videowrapper {
        top: 20px;
        left: 2px;
    }
}


@media screen and (max-width: 630px) {
    .modal {
        display: inline-block;
        vertical-align: middle;
        position: relative;
        z-index: -10;
        /*max-width: 600px;
        max-height: 480px;*/
        box-sizing: border-box;
        width: 90%;
        height: auto;
        background: #fff;
        padding: 15px 30px;
        -webkit-border-radius: 8px;
        -moz-border-radius: 8px;
        -o-border-radius: 8px;
        -ms-border-radius: 8px;
        border-radius: 8px;
        -webkit-box-shadow: 0 0 10px #000;
        -moz-box-shadow: 0 0 10px #000;
        -o-box-shadow: 0 0 10px #000;
        -ms-box-shadow: 0 0 10px #000;
        box-shadow: 0 0 10px #000;
        text-align: left;
        width: calc(100% - 0px);
        flex-direction: column-reverse;
        background-attachment: scroll;
        padding: 0px;
        background: #203864;
        max-height: 100%;
    }
    #videowrapper {
        top: 2px;
        left: 2px;
    }
    #player {
        width: 100%;
        
    }
    #videodiv.modal {
    
        height: 340px;
        width: 95%;
    }
    #ex2-japan.modal {
        
        font-family: "museo-slab", "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif !important;
        font-style: normal;
        font-weight: 500;
        color: #262626;
        background: #d8e7f4;
        max-width: 1120px;
        margin: 0 auto;
        position: relative;
     
        padding: 1%;
        background-image: none;
        max-height: 100%;
    }

    #videodiv.modal, #ex2.modal, #chatpop.modal {
        box-sizing: border-box;
        font-family: "museo-slab", "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif !important;
        font-style: normal;
        font-weight: 500;
        color: #262626;
        background: #d8e7f4;
        max-width: 1120px;
        margin: 0 auto;
        position: relative;
        border-radius: 1.5em;
        padding: 3em 10%;
        background-image: none;
        max-height: 100%;
    }
        #videodiv.modal .close-modal, #ex2-japan.modal .close-modal, #ex2.modal .close-modal #chatpop.modal .close-modal {
            height: 5px;
            width: 5px;
        }
            #videodiv.modal .close-modal, #ex2-japan.modal .close-modal, #ex2.modal .close-modal, #chatpop.modal .close-modal {
                padding: 1.2rem;
            }

                #videodiv.modal .close-modal, #ex2-japan.modal .close-modal, #ex2.modal .close-modal, #chatpop.modal .close-modal {
                    position: absolute;
                    top: 1.5%;
                    right: 2%;
                    display: inline-block;
                    background: #FFF;
                    border-radius: 2em;
                    padding: 1.7em;
                    box-shadow: 0 0 20px #b1c1cf;
                }
                    #videodiv.modal .close-modal::before, .modal .close-modal::after,
                    #ex2-japan.modal .close-modal::before, ex2.modal .close-modal::before, #chatpop.modal .close-modal::before, .modal .close-modal::after {
                        content: "";
                        position: absolute;
                        top: 50%;
                        left: 50%;
                        width: 4px;
                        height: 30px;
                        background: #333;
                    }
                    #videodiv.modal .close-modal::after,
                    #ex2.modal .close-modal::after,
                    #chatpop.modal .close-modal::after,
                    #ex2-japan.modal .close-modal::after, {
                        transform: translate(-50%, -50%) rotate(-45deg);
                    }
                    #videodiv.modal .close-modal::before,
                    #ex2.modal .close-modal::before,
                    #chatpop.modal .close-modal::before,
                    #ex2-japan.modal .close-modal::before, {
                        transform: translate(-50%, -50%) rotate(45deg);
                    }
                    #videodiv.modal .close-modal::before,
                    #videodiv .close-modal::after
                    #ex2.modal .close-modal::before,
                    #ex2-japan.modal .close-modal::before,
                    #chatpop.modal .close-modal::before,
                    .modal .close-modal::after {
                        height: 30px;
                    }

                    #ex2.modal .flowArea ul li, #ex2-japan.modal .flowArea ul li {
                        padding: 1.5em 2em;
                    }

        #ex2-japan.modal .flowArea ul li .ttl, #ex2.modal .flowArea ul li .ttl {
            display: block;
            text-align: center;
        }

        #ex2-japan.modal .flowArea ul li .ttl p ,#ex2.modal .flowArea ul li .ttl p {
            margin-left: 0;
        }
     
        .modal a.close-modal {
            position: absolute;
            top: -12.5px;
            right: -12.5px;
            display: block;
            width: 15px;
            height: 20px;
            text-indent: -9999px;
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center center;
            /*background-image: url('data:image/png;base64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Bp3a1PLfcqCpo8gtHkZFHKkTX6fs3MY0blKnth66rKCnU0VRGu37ONrQaA4eZDFtWAu2fXj9zjFkxTBOo8F7t926gTp/83Kyzzcy2kZD6xiqxTYnHLRFm3vHiRSwNSjkz3hoIzo8lCKWUlg/YtGs7tObunDAZfpDLbfEI15zsEIY3U/x/gHHc/G1zltnAgAAAABJRU5ErkJggg==')
        */
            background-image: url(whitecirclecross1.png)
        }
    }

    .modal-spinner {
        display: none;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translateY(-50%) translateX(-50%);
        padding: 12px 16px;
        border-radius: 5px;
        background-color: #111;
        height: 20px
    }

        .modal-spinner > div {
            border-radius: 100px;
            background-color: #fff;
            height: 20px;
            width: 2px;
            margin: 0 1px;
            display: inline-block;
            -webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;
            animation: sk-stretchdelay 1.2s infinite ease-in-out
        }

        .modal-spinner .rect2 {
            -webkit-animation-delay: -1.1s;
            animation-delay: -1.1s
        }

        .modal-spinner .rect3 {
            -webkit-animation-delay: -1.0s;
            animation-delay: -1.0s
        }

        .modal-spinner .rect4 {
            -webkit-animation-delay: -0.9s;
            animation-delay: -0.9s
        }

    @-webkit-keyframes sk-stretchdelay {
        0%,40%,100% {
            -webkit-transform: scaleY(0.5)
        }

        20% {
            -webkit-transform: scaleY(1.0)
        }
    }

    @keyframes sk-stretchdelay {
        0%,40%,100% {
            transform: scaleY(0.5);
            -webkit-transform: scaleY(0.5)
        }

        20% {
            transform: scaleY(1.0);
            -webkit-transform: scaleY(1.0)
        }
    }
