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

/*はてなアイコン*/
#itemDetail-cont .option_comment {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
#itemDetail-cont a.popup-trigger img {
    display: block;
    width: 18px;
}
#depth02 {
    position: relative;
    top: 10%;
}
/*ポップアップ*/
.popup-bg {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
}
.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: 1001;
    max-width: 600px;
    box-sizing: border-box;
    width: 100%;
}
.popup.active {
    display: block;
    width: 52%;
}
.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;
}