@charset "utf-8";
/* CSS INFORMATION -====================================================
File name : modal.css
Description :
===================================================================== */

/* =====================================================================
*    layouts
* =================================================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* z-index: 100; */
    z-index: 99999;
}

.modal p {
    margin: 15px 0;
    color: #4E4E4E;
}

.modal a, .modal img {
    display: inline;
    width: auto;
}

.modal .modal-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal .modal-content {
    width: 100%;
    height: 100%;
}

.modal .modal-inner {
    position: relative;
    width: 92%;
    /* max-width: 763px; */
    max-width: 850px;
    max-height: 90%;
    margin: 5% auto 0;
    /* padding: 4.67%; */
    padding: 20px;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    background: #FFF url("../images/bg_modal.jpg");
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}

.modal .modal-close {
    -moz-appearance: none;
    -webkit-appearance: none;
    display: inline-block;
    /* position: absolute; */
    position: relative;
    /* right: 5px; */
    /* bottom: 5px; */
    width: 28px;
    height: 28px;
    min-height: 28px;
    min-width: 28px;
    border: none;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: auto;
    background-color: #B4B2B3;
    flex-grow: 0;
    flex-shrink: 0;
    font-size: 0;
    outline: 0;
    vertical-align: top;
    margin-top: -15px;
    margin-right: -15px;
}

.modal .modal-close:hover {
    background: #B01415;
    opacity: 1;
}

.modal .modal-close::before, .modal-close::after {
    content: "";
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    background-color: #FFF;
    -webkit-transform: translateX(-50%) translateY(-50%) rotate(45deg);
    transform: translateX(-50%) translateY(-50%) rotate(45deg);
    -webkit-transform-origin: center center;
    transform-origin: center center;
}

.modal .modal-close::before {
    width: 50%;
    height: 2px;
}

.modal .modal-close::after {
    width: 2px;
    height: 50%;
}

.modal .modal-close-box,
.modal .modal-close-box p.modal-close-link {
    height: 0;
}

.modal .modal-close-box p.modal-close-link {
    margin: 0;
    text-align: right;
}

.modal .modal-card-body {
    margin-top: 20px;
}

/* =====================================================================
*    .sns_share_links
* =================================================================== */
.modal-content .sns_share_links {
    margin: 20px 0;
}

.modal-content .sns_share_links > li {
    display: inline-block;
    margin-left: 3px;
    width: 32.66%;
    max-width: 126px;
}

.modal-content .sns_share_links > li:first-child {
    margin-left: 0;
}

.modal-content .sns_share_links > li a,
.modal-content .sns_share_links > li img {
    display: block; /* For Android */
    width: 100%;
}

/* =====================================================================
*    .company_info
* =================================================================== */
.modal-content dl.company_info {
}

.modal-content dl.company_info > dt {
}

.modal-content dl.company_info > dd {
}

.modal-content .company_head {
    margin-top: 0;
}

.modal-content .company_name,
.modal-content .oa_date {
    display: block;
    font-weight: bold;
}

.modal-content .company_name {
    font-size: 18px;
    letter-spacing: 1px;
}

.modal-content .oa_date {
    font-size: 10px;
    -webkit-transform: scale(1, 1.2);
    -ms-transform: scale(1, 1.2);
    transform: scale(1, 1.2);
    -webkit-transform-origin: bottom right;
    -ms-transform-origin: bottom right;
    transform-origin: bottom right;
}

.modal-content .company_detail {
    font-size: 14px;
}

/* =====================================================================
*    For SP Only
* =================================================================== */
@media screen and (max-width:767px) {
    .modal-content .sns_share_links {
        text-align: center;
    }
}

/* =====================================================================
*    For SP And TABLET
* =================================================================== */
@media screen and (max-width: 1099px){

}

/* =====================================================================
*    For TABLET Only
* =================================================================== */
@media screen and (min-width:768px) and (max-width: 1099px){

}

/* =====================================================================
*    For TABLET And PC
* =================================================================== */
@media screen and (min-width:768px){
    .modal .modal-background {
    }

    .modal .modal-content {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        width: 100%;
        height: 100%;
    }

    .modal .modal-inner {
        width: 86.5%;
        height: auto;
        /* max-width: 1024px; */
        max-height: 86%;
        margin: auto;
        /* padding: 4.55% 9.09% 2.73%; */
        padding: 40px;
        /* overflow-y: auto; */
        -ms-flex-item-align: start;
        align-self: flex-start;
    }

    .modal .modal-close {
        /* right: 17px; */
        /* bottom: 15px; */
        margin-top: 0;
        margin-right: -25px;
    }

    .modal-content dl.company_info > dt {
        float: left;
        width: 40%;
        margin-right: 5%;
    }

    .modal-content dl.company_info > dd {
        float: right;
        width: 55%;
    }

    .modal-content .oa_date {
        margin-top: 0;
        font-size: 16px;
    }

    .modal-content .company_name {
        margin-top: 20px;
        font-size: 26px;
        letter-spacing: 2px;
    }

    .modal-content .company_detail {
        margin-top: 0;
        font-size: 21px;
        letter-spacing: 1px;
    }

}
/* =====================================================================
*    For PC Only
* =================================================================== */
@media screen and (min-width: 1100px) {

}

/* =====================================================================
*    For Custom Size
* =================================================================== */
@media screen and (max-width: 437px) {

}

/* =====================================================================
*    For IE 11 (CSS Hack)
* =================================================================== */
@media all and (-ms-high-contrast:none) {

}

/* =====================================================================
*    For Microsoft Edge (CSS Hack)
* =================================================================== */
@supports (-ms-ime-align:auto) {

}
