@charset "utf-8";

/* CSS INFORMATION -====================================================
File name : corner.css
Description : コーナー紹介ページCSS
===================================================================== */

.corner_list {
    width: 87.5%;
    background-color: #e1e1e1;
    border-left: 2px solid #fafafa;
    border-right: 2px solid #fafafa;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
}

.corner_list li {
    background: url(../images/common/bg_right_bottom_triangle.jpg) no-repeat right bottom #FFF;
    background-size: 25px 25px;
    overflow: hidden;
    border-top: 2px solid #fafafa;
    border-bottom: 2px solid #fafafa;
}

.corner_list li:not(:last-child) {
    margin-bottom: 0.7247%;
}

.corner_list li>a {
    width: 100%;
    height: 100%;
    display: block;
    color: #414141;
    text-decoration: none;
    box-sizing: border-box;
    overflow: hidden;
    padding: 2.8986%;
}

.corner_list li .img_logo {
    width: 37.0371%;
    float: left;
}

.corner_list li .title {
    line-height: 1.4;
    padding-left: 4.6297%;
    padding-right: 4.6297%;
    margin-left: 37.0371%;
}

.corner_list li .detail {
    display: none;
}

@media screen and (min-width:700px) {
    .corner_list {
        width: 100%;
        max-width: 1100px;
        display: -webkit-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -ms-flex-wrap: wrap;
        -webkit-flex-wrap: wrap;
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        background-color: transparent;
        border-left: none;
        border-right: none;
    }
    .corner_list li {
        width: 210px;
        background: none;
        box-sizing: border-box;
        border: none;
        margin-top: 40px;
        margin-left: 20px;
        margin-right: 20px;
        margin-bottom: 0px !important;
    }
    .corner_list li>a {
        position: relative;
        background: url(../images/common/bg_right_bottom_triangle.jpg) no-repeat right bottom #FFF;
        background-size: 50px auto;
        padding: 20px 3px 30px;
    }
    .corner_list li>a::after {
        content: "";
        width: 100%;
        height: 100%;
        display: block;
        border: 3px solid #fafafa;
        box-sizing: border-box;
        position: absolute;
        top: 0;
        left: 0;
    }
    .corner_list li>a:hover::after {
        border: 5px solid #e61905;
    }
    .corner_list li .img_logo {
        width: 160px;
        float: none;
        margin-left: auto;
        margin-right: auto;
    }
    .corner_list li .title {
        width: 170px;
        text-align: left;
        padding-left: 0;
        padding-right: 0;
        margin-top: 15px;
        margin-left: auto;
        margin-right: auto;
    }
}


/* =====================================================================
*    .cn_popup
* =================================================================== */

.cn_wrapper {
    width: 100%;
    height: 100%;
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000000;
    display: none;
    cursor: pointer;
}

.cn_wrapper .return_box {
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

.cn_wrapper .cn_inner {
    width: 87.5%;
    max-width: 900px;
    height: auto;
    background-color: #FFF;
    border-style: solid;
    border-width: 9px;
    -moz-border-image: url(../images/corner/bg_popup.jpg) 18 round;
    -webkit-border-image: url(../images/corner/bg_popup.jpg) 18 round;
    -o-border-image: url(../images/corner/bg_popup.jpg) 18 round;
    border-image: url(../images/corner/bg_popup.jpg) 18 round;
    box-sizing: border-box;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    margin: auto;
    transform: translateY(-50%);
    padding: 20px;
    cursor: default;
}

.cn_wrapper .cn_inner .cn_img_logo {
    width: 60%;
    margin-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
}

.cn_wrapper .cn_inner .cn_title {
    margin-bottom: 10px;
    font-size: 120%;
    line-height: 1.4;
}

.cn_wrapper .cn_inner .cn_title strong {
    font-weight: bold;
}

.cn_wrapper .cn_inner .cn_detail {
    line-height: 1.4;
}

.cn_wrapper .btn_close {
    width: 52px;
    height: 52px;
    display: block;
    background-color: #ffcd05;
    border-radius: 100px;
    box-shadow: rgba(10, 5, 5, 0.25) 2px 2px 1px;
    position: absolute;
    top: -35px;
    right: -22px;
    cursor: pointer;
}

.cn_wrapper .btn_close::before {
    content: "";
    width: 100%;
    height: 100%;
    display: block;
    border: 2px solid #e1b90a;
    border-radius: 100px;
    box-sizing: border-box;
    position: absolute;
    top: 0;
    left: 0;
}

@media screen and (min-width:700px) {
    .cn_wrapper .cn_inner {
        width: 81.8182%;
        border-width: 18px;
        padding: 40px 40px 60px;
    }
    .cn_wrapper .cn_inner .cn_img_logo {
        width: 200px;
        margin-bottom: 20px;
    }
    .cn_wrapper .btn_close {
        width: 104px;
        height: 104px;
        box-shadow: rgba(10, 5, 5, 0.25) 4px 4px 2px;
        top: -70px;
        right: -60px;
    }
    .cn_wrapper .btn_close::before {
        border: 3px solid #e1b90a;
    }
    .cn_wrapper .btn_close::after {
        content: "";
        width: 100%;
        height: 100%;
        display: block;
        background: url(../images/corner/btn_popup_close_on.png) no-repeat center top #e61905;
        background-size: 100% auto;
        border: 3px solid #cd1905;
        border-radius: 100px;
        box-sizing: border-box;
        position: absolute;
        top: 0;
        left: 0;
        opacity: 0;
    }
    .cn_wrapper .btn_close:hover::after {
        opacity: 1;
    }
}