@charset "UTF-8";

/*-------------------------------------------------------------------------------------------------------------------
    modal.css / kanekalon
---------------------------------------------------------------------------------------------------------------------
*/

.modal-wrapper {
    z-index: 11000;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 2px 10px;
    text-align: center;
    /*background-color: rgba(255, 0, 0, 0.2);*/
}

.modal-wrapper:not(:target) {
    opacity: 0;
    visibility: hidden;
    /*transition: opacity .3s, visibility .3s;*/
}

.modal-wrapper:target {
    opacity: 1;
    visibility: visible;
    /*transition: opacity .4s, visibility .4s;*/
}

.modal-wrapper::after {
    display: inline-block;
    height: 100%;
    margin-left: -.05em;
    vertical-align: middle;
    content: "";
}

.modal-wrapper .modal-window {
    box-sizing: border-box;
    display: inline-block;
    z-index: 20;
    position: relative;
    width: 60%;
    max-width: 600px;
    min-height: 200px;
    padding: 0;
    border-radius: 2px;
    background-color: #ffffff;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
    vertical-align: middle;
}

.modal-wrapper .modal-window .modal-content {
    max-height: 90vh;
    min-height: 200px;
    height: auto;
    overflow-y: auto;
    /*background-color: rgba(0, 0, 255, 0.2);*/
}

.modal-wrapper .modal-window .modal-content img {
    width: 100%;
}

.modal-overlay {
    z-index: 10;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    /*background: rgba(0, 0, 0, 0.2);*/
}

.modal-wrapper .modal-close {
    z-index: 20;
    position: absolute;
    top: 12px;
    right: 20px;
    /*width: 48px;*/
    color: #000000;
    font-size: 48px;
    /*font-weight: 300;*/
    line-height: 36px;
    text-align: center;
    text-decoration: none;
    text-indent: 0;
    /*background: rgba(255, 0, 0, 0.2);*/
}

.modal-wrapper .modal-close:hover {
    color: #2b2e38;
}

.modal-wrapper .modal-next {
    z-index: 20;
    position: absolute;
    bottom: 24px;
    right: 26px;
    color: #000000;
    font-size: 14px;
    line-height: 24px;
    text-align: center;
    text-decoration: none;
    text-indent: 0;
    /*background: rgba(255, 0, 0, 0.2);*/
}

.modal-wrapper .modal-next:hover {
    color: #2b2e38;
}

.modal-wrapper .modal-prev {
    z-index: 20;
    position: absolute;
    bottom: 24px;
    left: 26px;
    color: #000000;
    font-size: 14px;
    line-height: 24px;
    text-align: center;
    text-decoration: none;
    text-indent: 0;
    /*background: rgba(255, 0, 0, 0.2);*/
}

.modal-wrapper .modal-prev:hover {
    color: #2b2e38;
}

.modal-wrapper .modal-navi {
    display: none;
}

.modal-wrapper .modal-navi-next {
    display: none;
}

.modal-wrapper .modal-navi-prev {
    display: none;
}

/*-------------------------------------------------------------------------------------------------------------------
*/

.article_modal {
    width: 75%;
    margin: 16px auto;
    padding: 16px 16px 16px 16px;
    height: auto;
    /*background-color: rgba(0, 255, 0, 0.2);*/
}

.modal_title_en {
    width: 100%;
    margin: 10px 0 0 0;
    padding: 2px 4px;
    font-size: 18px;
    line-height: 1.2em;
    letter-spacing: 0.065em;
    font-weight: 500;
    text-align: left;
    color: #000000;
    /*background-color: rgba(255, 0, 0, 0.2);*/
}

.modal_title_jp {
    width: 100%;
    margin: 4px 0;
    padding: 2px 4px 2px 3px;
    font-size: 22px;
    line-height: 1.2em;
    letter-spacing: 0.015em;
    font-weight: 300;
    text-align: left;
    color: #000000;
    /*background-color: rgba(0, 255, 0, 0.2);*/
}

.modal_image {
    width: 77%;
    margin: 46px auto 8px auto;
}

.modal_image img {
    width: 100%;
}

.modal_text {
    width: 100%;
    margin: 25px 0;
    padding: 0 0 0 4px;
    font-size: 14px;
    line-height: 1.82em;
    letter-spacing: 0.062em;
    font-weight: normal;
    text-align: left;
    color: #000000;
    /*background-color: rgba(255, 0, 0, 0.2);*/
}

.modal_icons {
    display: block;
    width: 78%;
    margin: 0 auto;
    padding: 0 ;
    font-size: 0;
    vertical-align: top;
    /*background-color: rgba(255, 0, 0, 0.2);*/
}

.modal_icon {
    display: inline-block;
    width: calc(50% - 2px);
    margin: 1px;
    padding: 11px 38px;
    vertical-align: top;
    /*background-color: rgba(0, 0, 255, 0.2);*/
}

.modal_icon img {
    width: 100%;
}

.modal_link {
    width: 100%;
    margin: 28px 0 22px 0;
    padding: 0;
    text-align: center;
    /*background-color: rgba(0, 0, 255, 0.2);*/
}

.button_modal_link {
    display: inline-block;
    -webkit-appearance: none;
    appearance: none;
    padding: 8px 20px 4px 20px;
    font-size: 15px;
    font-weight: normal;
    line-height: 22px;
    letter-spacing: 0.02em;
    width: auto;
    height: 36px;
    margin: 0;
    text-align: center;
    vertical-align: middle;
    border: none;
    border-radius: 0;
    color: #000000;
    background-color: #f0f0f0;
    cursor: pointer;
    z-index: 200;
}

.button_modal_link:hover {
    background-color: #c0c0c0;
}

/*-------------------------------------------------------------------------------------------------------------------
    PC wide
---------------------------------------------------------------------------------------------------------------------
*/

@media screen and (min-width: 1400px) {
}

/*-------------------------------------------------------------------------------------------------------------------
    PC narrow
---------------------------------------------------------------------------------------------------------------------
*/

@media screen and (max-width: 1000px) {
}

/*-------------------------------------------------------------------------------------------------------------------
    Smartphone portrait
---------------------------------------------------------------------------------------------------------------------
*/

@media screen and (max-width: 520px) and (orientation: portrait) and (hover: none) and (pointer: coarse) {
    .modal-wrapper .modal-window {
        box-sizing: border-box;
        display: inline-block;
        z-index: 20;
        position: relative;
        width: 95%;
        max-width: 600px;
        min-height: 200px;
        padding: 0;
        border-radius: 3px;
        background-color: #ffffff;
        box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
        vertical-align: middle;
    }

    .modal-wrapper .modal-window .modal-content {
        max-height: 70vh;
        min-height: 200px;
        height: auto;
        overflow-y: auto;
        /*background-color: rgba(0, 0, 255, 0.2);*/
    }

    .modal-wrapper .modal-navi {
        display: block;
        width: 100%;
        height: 48px;
        padding: 0 24px;
        margin-top: -48px;
        /*background-color: rgba(255, 0, 0, 0.2);*/
    }

    .modal-wrapper .modal-navi .modal-navi-next {
        float: right;
        display: block;
        position: relative;
        color: #000000;
        font-size: 14px;
        line-height: 24px;
        text-align: center;
        text-decoration: none;
        text-indent: 0;
        z-index: 20;
        /*background: rgba(0, 255, 0, 0.2);*/
    }

    .modal-wrapper .modal-navi .modal-navi-next:hover {
        color: #2b2e38;
    }

    .modal-wrapper .modal-navi .modal-navi-prev {
        float: left;
        display: block;
        position: relative;
        color: #000000;
        font-size: 14px;
        line-height: 24px;
        text-align: center;
        text-decoration: none;
        text-indent: 0;
        z-index: 20;
        /*background: rgba(255, 0, 0, 0.2);*/
    }

    .modal-wrapper .modal-navi .modal-navi-prev:hover {
        color: #2b2e38;
    }

    /*-------------------------------------------------------------------------------------------------------------------
    */

    .article_modal {
        width: 90%;
        margin: 16px auto;
        padding: 16px 16px 16px 16px;
        height: 100%;
        /*background-color: rgba(0, 255, 0, 0.2);*/
    }

    .modal_title_en {
        width: 100%;
        margin: 10px 0 0 0;
        padding: 2px 4px;
        font-size: 16px;
        line-height: 1.2em;
        letter-spacing: 0.065em;
        font-weight: bold;
        text-align: left;
        color: #000000;
        /*background-color: rgba(255, 0, 0, 0.2);*/
    }

    .modal_title_jp {
        width: 100%;
        margin: 4px 0;
        padding: 2px 4px 2px 3px;
        font-size: 22px;
        line-height: 1.2em;
        letter-spacing: 0.015em;
        font-weight: normal;
        text-align: left;
        color: #000000;
        /*background-color: rgba(0, 255, 0, 0.2);*/
    }

    .modal_image {
        width: 100%;
        margin: 46px auto 8px auto;
    }

    .modal_image img {
        width: 100%;
    }

    .modal_text {
        width: 100%;
        margin: 25px 0;
        padding: 0 0 0 4px;
        font-size: 14px;
        line-height: 1.82em;
        letter-spacing: 0.062em;
        font-weight: normal;
        text-align: left;
        color: #000000;
        /*background-color: rgba(255, 0, 0, 0.2);*/
    }

    .modal_icons {
        display: block;
        width: 100%;
        margin: 0 auto;
        padding: 0 ;
        font-size: 0;
        vertical-align: top;
        /*background-color: rgba(255, 0, 0, 0.2);*/
    }

    .modal_icon {
        display: inline-block;
        width: calc(50% - 2px);
        margin: 1px;
        padding: 11px 24px;
        vertical-align: top;
        /*background-color: rgba(0, 0, 255, 0.2);*/
    }

    .modal_icon img {
        width: 100%;
    }

    .modal_link {
        width: 100%;
        margin: 28px 0 22px 0;
        padding: 0;
        text-align: center;
        /*background-color: rgba(0, 0, 255, 0.2);*/
    }

    .button_modal_link {
        -webkit-appearance: none;
        appearance: none;
        padding: 4px 10px;
        font-size: 12px;
        font-weight: normal;
        line-height: 22px;
        letter-spacing: 0.00em;
        /*width: 200px;*/
        height: 28px;
        margin: 0;
        text-align: center;
        vertical-align: middle;
        border: none;
        border-radius: 0;
        color: #000000;
        background-color: #f0f0f0;
        cursor: pointer;
        z-index: 200;
    }

    .button_modal_link:hover {
        background-color: #c0c0c0;
    }
}

/*-------------------------------------------------------------------------------------------------------------------
    Smartphone landscape
---------------------------------------------------------------------------------------------------------------------
*/

@media screen and (max-width: 896px) and (orientation: landscape) and (hover: none) and (pointer: coarse) {
    .modal-wrapper .modal-window {
        box-sizing: border-box;
        display: inline-block;
        z-index: 20;
        position: relative;
        width: 95%;
        max-width: 600px;
        min-height: 200px;
        padding: 0;
        border-radius: 3px;
        background-color: #ffffff;
        box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
        vertical-align: middle;
    }

    .modal-wrapper .modal-window .modal-content {
        max-height: 70vh;
        min-height: 200px;
        height: auto;
        overflow-y: auto;
        /*background-color: rgba(0, 0, 255, 0.2);*/
    }

    .modal-wrapper .modal-navi {
        display: block;
        width: 100%;
        height: 48px;
        padding: 0 24px;
        margin-top: -48px;
        /*background-color: rgba(255, 0, 0, 0.2);*/
    }

    .modal-wrapper .modal-navi .modal-navi-next {
        float: right;
        display: block;
        position: relative;
        color: #000000;
        font-size: 14px;
        line-height: 24px;
        text-align: center;
        text-decoration: none;
        text-indent: 0;
        z-index: 20;
        /*background: rgba(0, 255, 0, 0.2);*/
    }

    .modal-wrapper .modal-navi .modal-navi-next:hover {
        color: #2b2e38;
    }

    .modal-wrapper .modal-navi .modal-navi-prev {
        float: left;
        display: block;
        position: relative;
        color: #000000;
        font-size: 14px;
        line-height: 24px;
        text-align: center;
        text-decoration: none;
        text-indent: 0;
        z-index: 20;
        /*background: rgba(255, 0, 0, 0.2);*/
    }

    .modal-wrapper .modal-navi .modal-navi-prev:hover {
        color: #2b2e38;
    }

    /*-------------------------------------------------------------------------------------------------------------------
    */

    .article_modal {
        width: 90%;
        margin: 16px auto;
        padding: 16px 16px 16px 16px;
        height: 100%;
        /*background-color: rgba(0, 255, 0, 0.2);*/
    }

    .modal_title_en {
        width: 100%;
        margin: 10px 0 0 0;
        padding: 2px 4px;
        font-size: 16px;
        line-height: 1.2em;
        letter-spacing: 0.065em;
        font-weight: bold;
        text-align: left;
        color: #000000;
        /*background-color: rgba(255, 0, 0, 0.2);*/
    }

    .modal_title_jp {
        width: 100%;
        margin: 4px 0;
        padding: 2px 4px 2px 3px;
        font-size: 22px;
        line-height: 1.2em;
        letter-spacing: 0.015em;
        font-weight: normal;
        text-align: left;
        color: #000000;
        /*background-color: rgba(0, 255, 0, 0.2);*/
    }

    .modal_image {
        width: 100%;
        margin: 46px auto 8px auto;
    }

    .modal_image img {
        width: 100%;
    }

    .modal_text {
        width: 100%;
        margin: 25px 0;
        padding: 0 0 0 4px;
        font-size: 14px;
        line-height: 1.82em;
        letter-spacing: 0.062em;
        font-weight: normal;
        text-align: left;
        color: #000000;
        /*background-color: rgba(255, 0, 0, 0.2);*/
    }

    .modal_icons {
        display: block;
        width: 100%;
        margin: 0 auto;
        padding: 0 ;
        font-size: 0;
        vertical-align: top;
        /*background-color: rgba(255, 0, 0, 0.2);*/
    }

    .modal_icon {
        display: inline-block;
        width: calc(50% - 2px);
        margin: 1px;
        padding: 11px 24px;
        vertical-align: top;
        /*background-color: rgba(0, 0, 255, 0.2);*/
    }

    .modal_icon img {
        width: 100%;
    }

    .modal_link {
        width: 100%;
        margin: 28px 0 22px 0;
        padding: 0;
        text-align: center;
        /*background-color: rgba(0, 0, 255, 0.2);*/
    }

    .button_modal_link {
        -webkit-appearance: none;
        appearance: none;
        padding: 4px 10px;
        font-size: 12px;
        font-weight: normal;
        line-height: 22px;
        letter-spacing: 0.00em;
        /*width: 200px;*/
        height: 28px;
        margin: 0;
        text-align: center;
        vertical-align: middle;
        border: none;
        border-radius: 0;
        color: #000000;
        background-color: #f0f0f0;
        cursor: pointer;
        z-index: 200;
    }

    .button_modal_link:hover {
        background-color: #c0c0c0;
    }
}
