@charset "utf-8";
/* CSS Document */

/*はてなアイコン*/
table.remark .td_lineheight {
    display: flex;
    align-items: center;
}
table.remark a.popup-trigger img {
    display: block;
    width: 20px;
    margin-left: 5px;
}

/*ポップアップ*/
.popup-bg {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 100000000;
}
.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    z-index: 100000001;
    min-width: 300px;
    box-sizing: border-box;
    width: 80%;
}
.popup.active {
    display: block;
}
.popup-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    background-color: #333;
    color: #fff;
    text-align: center;
    line-height: 37px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 25px;
    transition: .5s
}
.popup-close:hover {
    background-color: #555;
    transition: .5s
}

.popup-contents {
    width: 100%;
    height: 100%;
    max-height: 85vh;
    padding: 7% 7% 5%;
    overflow-y: auto;
    box-sizing: border-box;
}
.popup-contents p {
    color: #333;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    box-sizing: border-box;
    padding: 15px 0;
    margin-bottom: 10px;
}
.popup-contents img {
    display: block;
    width: 100%;
    margin: 0 auto;
}

@media (max-width: 480px) {
/*ポップアップ*/
.popup-contents {
    padding: 10% 7% 7%;
}    
.popup-contents p {
    font-size: 18px;
    padding: 10px 0;
}   
}